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 |
|---|---|---|---|---|---|---|---|---|
[
31,
22,
93,
11
] | 51 | [
"31+22=53",
"93+11=104",
"104-53=51"
] | Current State: 51:[31, 22, 93, 11], Operations: []
Exploring Operation: 31+22=53, Resulting Numbers: [93, 11, 53]
Generated Node #2: [93, 11, 53] from Operation: 31+22=53
Current State: 51:[93, 11, 53], Operations: ['31+22=53']
Exploring Operation: 93+11=104, Resulting Numbers: [53, 104]
Generated Node #3: [53, 104] from Operation: 93+11=104
Current State: 51:[53, 104], Operations: ['31+22=53', '93+11=104']
Exploring Operation: 104-53=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[31, 22, 93, 11], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [22, 11, 3]
Generated Node #0,0: 51:[22, 11, 3] Operation: 93/31=3
Moving to Node #0,0
Current State: 51:[22, 11, 3], Operations: ['93/31=3']
Exploring Operation: 22/11=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 51:[3, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[3, 2], Operations: ['93/31=3', '22/11=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,51 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 |
[
2,
89,
65,
51
] | 26 | [
"89+65=154",
"154/2=77",
"77-51=26"
] | Current State: 26:[2, 89, 65, 51], Operations: []
Exploring Operation: 89+65=154, Resulting Numbers: [2, 51, 154]
Generated Node #2: [2, 51, 154] from Operation: 89+65=154
Current State: 26:[2, 51, 154], Operations: ['89+65=154']
Exploring Operation: 154/2=77, Resulting Numbers: [51, 77]
Generated Node #3: [51, 77] from Operation: 154/2=77
Current State: 26:[51, 77], Operations: ['89+65=154', '154/2=77']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[2, 89, 65, 51], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [2, 65, 38]
Generated Node #0,0: 26:[2, 65, 38] Operation: 89-51=38
Exploring Operation: 65-2=63, Resulting Numbers: [89, 51, 63]
Generated Node #0,1: 26:[89, 51, 63] Operation: 65-2=63
Exploring Operation: 65-51=14, Resulting Numbers: [2, 89, 14]
Generated Node #0,2: 26:[2, 89, 14] Operation: 65-51=14
Exploring Operation: 89-65=24, Resulting Numbers: [2, 51, 24]
Generated Node #0,3: 26:[2, 51, 24] Operation: 89-65=24
Exploring Operation: 89-2=87, Resulting Numbers: [65, 51, 87]
Generated Node #0,4: 26:[65, 51, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[2, 51, 24], Operations: ['89-65=24']
Exploring Operation: 51-24=27, Resulting Numbers: [2, 27]
Generated Node #0,3,0: 26:[2, 27] Operation: 51-24=27
Exploring Operation: 2+24=26, Resulting Numbers: [51, 26]
Generated Node #0,3,1: 26:[51, 26] Operation: 2+24=26
Exploring Operation: 24/2=12, Resulting Numbers: [51, 12]
Generated Node #0,3,2: 26:[51, 12] Operation: 24/2=12
Exploring Operation: 2+51=53, Resulting Numbers: [24, 53]
Generated Node #0,3,3: 26:[24, 53] Operation: 2+51=53
Exploring Operation: 51-2=49, Resulting Numbers: [24, 49]
Generated Node #0,3,4: 26:[24, 49] Operation: 51-2=49
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[2, 27], Operations: ['89-65=24', '51-24=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,26 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: 26:[51, 26], Operations: ['89-65=24', '2+24=26']
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,26 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,26 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,4
Current State: 26:[24, 49], Operations: ['89-65=24', '51-2=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,26 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,26 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: 26:[51, 12], Operations: ['89-65=24', '24/2=12']
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,26 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,26 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: 26:[24, 53], Operations: ['89-65=24', '2+51=53']
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,26 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,26 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: 26:[2, 65, 38], Operations: ['89-51=38']
Exploring Operation: 2+65=67, Resulting Numbers: [38, 67]
Generated Node #0,0,0: 26:[38, 67] Operation: 2+65=67
Exploring Operation: 65-2=63, Resulting Numbers: [38, 63]
Generated Node #0,0,1: 26:[38, 63] Operation: 65-2=63
Exploring Operation: 38-2=36, Resulting Numbers: [65, 36]
Generated Node #0,0,2: 26:[65, 36] Operation: 38-2=36
Exploring Operation: 65-38=27, Resulting Numbers: [2, 27]
Generated Node #0,0,3: 26:[2, 27] Operation: 65-38=27
Exploring Operation: 38/2=19, Resulting Numbers: [65, 19]
Generated Node #0,0,4: 26:[65, 19] Operation: 38/2=19
Moving to Node #0,0,3
Current State: 26:[2, 27], Operations: ['89-51=38', '65-38=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[65, 19], Operations: ['89-51=38', '38/2=19']
Exploring Operation: 65*19=1235, Resulting Numbers: [1235]
1235,26 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[38, 63], Operations: ['89-51=38', '65-2=63']
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,26 unequal: No Solution
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[65, 36], Operations: ['89-51=38', '38-2=36']
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,26 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[38, 67], Operations: ['89-51=38', '2+65=67']
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,26 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: 26:[2, 89, 14], Operations: ['65-51=14']
Exploring Operation: 2*14=28, Resulting Numbers: [89, 28]
Generated Node #0,2,0: 26:[89, 28] Operation: 2*14=28
Exploring Operation: 89-14=75, Resulting Numbers: [2, 75]
Generated Node #0,2,1: 26:[2, 75] Operation: 89-14=75
Exploring Operation: 89-2=87, Resulting Numbers: [14, 87]
Generated Node #0,2,2: 26:[14, 87] Operation: 89-2=87
Exploring Operation: 14-2=12, Resulting Numbers: [89, 12]
Generated Node #0,2,3: 26:[89, 12] Operation: 14-2=12
Exploring Operation: 2+89=91, Resulting Numbers: [14, 91]
Generated Node #0,2,4: 26:[14, 91] Operation: 2+89=91
Moving to Node #0,2,1
Current State: 26:[2, 75], Operations: ['65-51=14', '89-14=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,26 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[14, 87], Operations: ['65-51=14', '89-2=87']
Exploring Operation: 14*87=1218, Resulting Numbers: [1218]
1218,26 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[89, 12], Operations: ['65-51=14', '14-2=12']
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,26 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[89, 28], Operations: ['65-51=14', '2*14=28']
Exploring Operation: 89+28=117, Resulting Numbers: [117]
117,26 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 89*28=2492, Resulting Numbers: [2492]
2492,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[14, 91], Operations: ['65-51=14', '2+89=91']
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 14+91=105, Resulting Numbers: [105]
105,26 unequal: No Solution
Exploring Operation: 14*91=1274, Resulting Numbers: [1274]
1274,26 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: 26:[89, 51, 63], Operations: ['65-2=63']
Exploring Operation: 89-51=38, Resulting Numbers: [63, 38]
Generated Node #0,1,0: 26:[63, 38] Operation: 89-51=38
Exploring Operation: 89+63=152, Resulting Numbers: [51, 152]
Generated Node #0,1,1: 26:[51, 152] Operation: 89+63=152
Exploring Operation: 89-63=26, Resulting Numbers: [51, 26]
Generated Node #0,1,2: 26:[51, 26] Operation: 89-63=26
Exploring Operation: 89+51=140, Resulting Numbers: [63, 140]
Generated Node #0,1,3: 26:[63, 140] Operation: 89+51=140
Exploring Operation: 63-51=12, Resulting Numbers: [89, 12]
Generated Node #0,1,4: 26:[89, 12] Operation: 63-51=12
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[51, 26], Operations: ['65-2=63', '89-63=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,26 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,26 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: 26:[63, 38], Operations: ['65-2=63', '89-51=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,26 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: 26:[89, 12], Operations: ['65-2=63', '63-51=12']
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,26 unequal: No Solution
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,26 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: 26:[51, 152], Operations: ['65-2=63', '89+63=152']
Exploring Operation: 152-51=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 51*152=7752, Resulting Numbers: [7752]
7752,26 unequal: No Solution
Exploring Operation: 51+152=203, Resulting Numbers: [203]
203,26 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: 26:[63, 140], Operations: ['65-2=63', '89+51=140']
Exploring Operation: 140-63=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 63*140=8820, Resulting Numbers: [8820]
8820,26 unequal: No Solution
Exploring Operation: 63+140=203, Resulting Numbers: [203]
203,26 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,4
Current State: 26:[65, 51, 87], Operations: ['89-2=87']
Exploring Operation: 65+51=116, Resulting Numbers: [87, 116]
Generated Node #0,4,0: 26:[87, 116] Operation: 65+51=116
Exploring Operation: 87-51=36, Resulting Numbers: [65, 36]
Generated Node #0,4,1: 26:[65, 36] Operation: 87-51=36
Exploring Operation: 87-65=22, Resulting Numbers: [51, 22]
Generated Node #0,4,2: 26:[51, 22] Operation: 87-65=22
Exploring Operation: 65-51=14, Resulting Numbers: [87, 14]
Generated Node #0,4,3: 26:[87, 14] Operation: 65-51=14
Exploring Operation: 65+87=152, Resulting Numbers: [51, 152]
Generated Node #0,4,4: 26:[51, 152] Operation: 65+87=152
Moving to Node #0,4,2
Current State: 26:[51, 22], Operations: ['89-2=87', '87-65=22']
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,26 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Moving to Node #0,4,1
Current State: 26:[65, 36], Operations: ['89-2=87', '87-51=36']
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,26 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[87, 14], Operations: ['89-2=87', '65-51=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,26 unequal: No Solution
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,26 unequal: No Solution
Moving to Node #0,4,0
Current State: 26:[87, 116], Operations: ['89-2=87', '65+51=116']
Exploring Operation: 116-87=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 87*116=10092, Resulting Numbers: [10092]
10092,26 unequal: No Solution
Exploring Operation: 87+116=203, Resulting Numbers: [203]
203,26 unequal: No Solution
Moving to Node #0,4,4
Current State: 26:[51, 152], Operations: ['89-2=87', '65+87=152']
Exploring Operation: 51*152=7752, Resulting Numbers: [7752]
7752,26 unequal: No Solution
Exploring Operation: 51+152=203, Resulting Numbers: [203]
203,26 unequal: No Solution
Exploring Operation: 152-51=101, Resulting Numbers: [101]
101,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
95,
92,
31,
2
] | 29 | [
"95+31=126",
"126/2=63",
"92-63=29"
] | Current State: 29:[95, 92, 31, 2], Operations: []
Exploring Operation: 95+31=126, Resulting Numbers: [92, 2, 126]
Generated Node #2: [92, 2, 126] from Operation: 95+31=126
Current State: 29:[92, 2, 126], Operations: ['95+31=126']
Exploring Operation: 126/2=63, Resulting Numbers: [92, 63]
Generated Node #3: [92, 63] from Operation: 126/2=63
Current State: 29:[92, 63], Operations: ['95+31=126', '126/2=63']
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[95, 92, 31, 2], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [31, 2, 3]
Generated Node #0,0: 29:[31, 2, 3] Operation: 95-92=3
Exploring Operation: 92/2=46, Resulting Numbers: [95, 31, 46]
Generated Node #0,1: 29:[95, 31, 46] Operation: 92/2=46
Exploring Operation: 95-31=64, Resulting Numbers: [92, 2, 64]
Generated Node #0,2: 29:[92, 2, 64] Operation: 95-31=64
Moving to Node #0,0
Current State: 29:[31, 2, 3], Operations: ['95-92=3']
Exploring Operation: 2+3=5, Resulting Numbers: [31, 5]
Generated Node #0,0,0: 29:[31, 5] Operation: 2+3=5
Exploring Operation: 2*3=6, Resulting Numbers: [31, 6]
Generated Node #0,0,1: 29:[31, 6] Operation: 2*3=6
Exploring Operation: 31-2=29, Resulting Numbers: [3, 29]
Generated Node #0,0,2: 29:[3, 29] Operation: 31-2=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[31, 6], Operations: ['95-92=3', '2*3=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,29 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,29 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: 29:[31, 5], Operations: ['95-92=3', '2+3=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,29 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: 29:[3, 29], Operations: ['95-92=3', '31-2=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,29 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,29 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: 29:[95, 31, 46], Operations: ['92/2=46']
Exploring Operation: 95-46=49, Resulting Numbers: [31, 49]
Generated Node #0,1,0: 29:[31, 49] Operation: 95-46=49
Exploring Operation: 46-31=15, Resulting Numbers: [95, 15]
Generated Node #0,1,1: 29:[95, 15] Operation: 46-31=15
Exploring Operation: 95-31=64, Resulting Numbers: [46, 64]
Generated Node #0,1,2: 29:[46, 64] Operation: 95-31=64
Moving to Node #0,2
Current State: 29:[92, 2, 64], Operations: ['95-31=64']
Exploring Operation: 92-64=28, Resulting Numbers: [2, 28]
Generated Node #0,2,0: 29:[2, 28] Operation: 92-64=28
Exploring Operation: 92/2=46, Resulting Numbers: [64, 46]
Generated Node #0,2,1: 29:[64, 46] Operation: 92/2=46
Exploring Operation: 64/2=32, Resulting Numbers: [92, 32]
Generated Node #0,2,2: 29:[92, 32] Operation: 64/2=32
Moving to Node #0,1,0
Current State: 29:[31, 49], Operations: ['92/2=46', '95-46=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,29 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[2, 28], Operations: ['95-31=64', '92-64=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[64, 46], Operations: ['95-31=64', '92/2=46']
Exploring Operation: 64*46=2944, Resulting Numbers: [2944]
2944,29 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[46, 64], Operations: ['92/2=46', '95-31=64']
Exploring Operation: 46*64=2944, Resulting Numbers: [2944]
2944,29 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 46+64=110, Resulting Numbers: [110]
110,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[92, 32], Operations: ['95-31=64', '64/2=32']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,29 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[95, 15], Operations: ['92/2=46', '46-31=15']
Exploring Operation: 95*15=1425, Resulting Numbers: [1425]
1425,29 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
93,
71,
54,
50
] | 18 | [
"93-71=22",
"54-50=4",
"22-4=18"
] | Current State: 18:[93, 71, 54, 50], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [54, 50, 22]
Generated Node #2: [54, 50, 22] from Operation: 93-71=22
Current State: 18:[54, 50, 22], Operations: ['93-71=22']
Exploring Operation: 54-50=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 54-50=4
Current State: 18:[22, 4], Operations: ['93-71=22', '54-50=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[93, 71, 54, 50], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [54, 50, 22]
Generated Node #0,0: 18:[54, 50, 22] Operation: 93-71=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[54, 50, 22], Operations: ['93-71=22']
Exploring Operation: 54-50=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 18:[22, 4] Operation: 54-50=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[22, 4], Operations: ['93-71=22', '54-50=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[93, 71, 54, 50], Operations: []
Exploring Operation: 93-71=22, Resulting Numbers: [54, 50, 22]
Generated Node #0,0: 18:[54, 50, 22] Operation: 93-71=22
Moving to Node #0,0
Current State: 18:[54, 50, 22], Operations: ['93-71=22']
Exploring Operation: 54-50=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 18:[22, 4] Operation: 54-50=4
Moving to Node #0,0,0
Current State: 18:[22, 4], Operations: ['93-71=22', '54-50=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
25,
22,
16,
7
] | 25 | [
"22-16=6",
"7-6=1",
"25*1=25"
] | Current State: 25:[25, 22, 16, 7], Operations: []
Exploring Operation: 22-16=6, Resulting Numbers: [25, 7, 6]
Generated Node #2: [25, 7, 6] from Operation: 22-16=6
Current State: 25:[25, 7, 6], Operations: ['22-16=6']
Exploring Operation: 7-6=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 7-6=1
Current State: 25:[25, 1], Operations: ['22-16=6', '7-6=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 22, 16, 7], Operations: []
Exploring Operation: 22-16=6, Resulting Numbers: [25, 7, 6]
Generated Node #0,0: 25:[25, 7, 6] Operation: 22-16=6
Exploring Operation: 16+7=23, Resulting Numbers: [25, 22, 23]
Generated Node #0,1: 25:[25, 22, 23] Operation: 16+7=23
Exploring Operation: 25-16=9, Resulting Numbers: [22, 7, 9]
Generated Node #0,2: 25:[22, 7, 9] Operation: 25-16=9
Exploring Operation: 16-7=9, Resulting Numbers: [25, 22, 9]
Generated Node #0,3: 25:[25, 22, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[25, 7, 6], Operations: ['22-16=6']
Exploring Operation: 25-7=18, Resulting Numbers: [6, 18]
Generated Node #0,0,0: 25:[6, 18] Operation: 25-7=18
Exploring Operation: 7-6=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 7-6=1
Exploring Operation: 25+7=32, Resulting Numbers: [6, 32]
Generated Node #0,0,2: 25:[6, 32] Operation: 25+7=32
Exploring Operation: 25+6=31, Resulting Numbers: [7, 31]
Generated Node #0,0,3: 25:[7, 31] Operation: 25+6=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['22-16=6', '7-6=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[25, 22, 16, 7], Operations: []
Exploring Operation: 22-16=6, Resulting Numbers: [25, 7, 6]
Generated Node #0,0: 25:[25, 7, 6] Operation: 22-16=6
Moving to Node #0,0
Current State: 25:[25, 7, 6], Operations: ['22-16=6']
Exploring Operation: 7-6=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 7-6=1
Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['22-16=6', '7-6=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
12,
96,
5,
72
] | 10 | [
"96-72=24",
"24/12=2",
"5*2=10"
] | Current State: 10:[12, 96, 5, 72], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [12, 5, 24]
Generated Node #2: [12, 5, 24] from Operation: 96-72=24
Current State: 10:[12, 5, 24], Operations: ['96-72=24']
Exploring Operation: 24/12=2, Resulting Numbers: [5, 2]
Generated Node #3: [5, 2] from Operation: 24/12=2
Current State: 10:[5, 2], Operations: ['96-72=24', '24/12=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[12, 96, 5, 72], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [5, 72, 8]
Generated Node #0,0: 10:[5, 72, 8] Operation: 96/12=8
Exploring Operation: 96-72=24, Resulting Numbers: [12, 5, 24]
Generated Node #0,1: 10:[12, 5, 24] Operation: 96-72=24
Exploring Operation: 72/12=6, Resulting Numbers: [96, 5, 6]
Generated Node #0,2: 10:[96, 5, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[12, 5, 24], Operations: ['96-72=24']
Exploring Operation: 24-12=12, Resulting Numbers: [5, 12]
Generated Node #0,1,0: 10:[5, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 10:[5, 2] Operation: 24/12=2
Exploring Operation: 24-5=19, Resulting Numbers: [12, 19]
Generated Node #0,1,2: 10:[12, 19] Operation: 24-5=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[5, 2], Operations: ['96-72=24', '24/12=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[12, 96, 5, 72], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [12, 5, 24]
Generated Node #0,1: 10:[12, 5, 24] Operation: 96-72=24
Moving to Node #0,1
Current State: 10:[12, 5, 24], Operations: ['96-72=24']
Exploring Operation: 24/12=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 10:[5, 2] Operation: 24/12=2
Moving to Node #0,1,1
Current State: 10:[5, 2], Operations: ['96-72=24', '24/12=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
44,
53,
80,
42
] | 84 | [
"53-42=11",
"44/11=4",
"80+4=84"
] | Current State: 84:[44, 53, 80, 42], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [44, 80, 11]
Generated Node #2: [44, 80, 11] from Operation: 53-42=11
Current State: 84:[44, 80, 11], Operations: ['53-42=11']
Exploring Operation: 44/11=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 44/11=4
Current State: 84:[80, 4], Operations: ['53-42=11', '44/11=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[44, 53, 80, 42], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [53, 80, 2]
Generated Node #0,0: 84:[53, 80, 2] Operation: 44-42=2
Exploring Operation: 53-42=11, Resulting Numbers: [44, 80, 11]
Generated Node #0,1: 84:[44, 80, 11] Operation: 53-42=11
Exploring Operation: 53-44=9, Resulting Numbers: [80, 42, 9]
Generated Node #0,2: 84:[80, 42, 9] Operation: 53-44=9
Exploring Operation: 80-53=27, Resulting Numbers: [44, 42, 27]
Generated Node #0,3: 84:[44, 42, 27] Operation: 80-53=27
Moving to Node #0,3
Current State: 84:[44, 42, 27], Operations: ['80-53=27']
Exploring Operation: 44+42=86, Resulting Numbers: [27, 86]
Generated Node #0,3,0: 84:[27, 86] Operation: 44+42=86
Exploring Operation: 44-42=2, Resulting Numbers: [27, 2]
Generated Node #0,3,1: 84:[27, 2] Operation: 44-42=2
Exploring Operation: 42-27=15, Resulting Numbers: [44, 15]
Generated Node #0,3,2: 84:[44, 15] Operation: 42-27=15
Exploring Operation: 44-27=17, Resulting Numbers: [42, 17]
Generated Node #0,3,3: 84:[42, 17] Operation: 44-27=17
Moving to Node #0,2
Current State: 84:[80, 42, 9], Operations: ['53-44=9']
Exploring Operation: 80+9=89, Resulting Numbers: [42, 89]
Generated Node #0,2,0: 84:[42, 89] Operation: 80+9=89
Exploring Operation: 80-9=71, Resulting Numbers: [42, 71]
Generated Node #0,2,1: 84:[42, 71] Operation: 80-9=71
Exploring Operation: 80-42=38, Resulting Numbers: [9, 38]
Generated Node #0,2,2: 84:[9, 38] Operation: 80-42=38
Exploring Operation: 42-9=33, Resulting Numbers: [80, 33]
Generated Node #0,2,3: 84:[80, 33] Operation: 42-9=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[42, 89], Operations: ['53-44=9', '80+9=89']
Exploring Operation: 42*89=3738, Resulting Numbers: [3738]
3738,84 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 42+89=131, Resulting Numbers: [131]
131,84 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: 84:[9, 38], Operations: ['53-44=9', '80-42=38']
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,84 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,84 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: 84:[80, 33], Operations: ['53-44=9', '42-9=33']
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,84 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,84 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: 84:[42, 71], Operations: ['53-44=9', '80-9=71']
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,84 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,84 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,84 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: 84:[44, 80, 11], Operations: ['53-42=11']
Exploring Operation: 44/11=4, Resulting Numbers: [80, 4]
Generated Node #0,1,0: 84:[80, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [80, 33]
Generated Node #0,1,1: 84:[80, 33] Operation: 44-11=33
Exploring Operation: 80-44=36, Resulting Numbers: [11, 36]
Generated Node #0,1,2: 84:[11, 36] Operation: 80-44=36
Exploring Operation: 80+11=91, Resulting Numbers: [44, 91]
Generated Node #0,1,3: 84:[44, 91] Operation: 80+11=91
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[80, 4], Operations: ['53-42=11', '44/11=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[44, 53, 80, 42], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [44, 80, 11]
Generated Node #0,1: 84:[44, 80, 11] Operation: 53-42=11
Moving to Node #0,1
Current State: 84:[44, 80, 11], Operations: ['53-42=11']
Exploring Operation: 44/11=4, Resulting Numbers: [80, 4]
Generated Node #0,1,0: 84:[80, 4] Operation: 44/11=4
Moving to Node #0,1,0
Current State: 84:[80, 4], Operations: ['53-42=11', '44/11=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
58,
99,
82,
96
] | 27 | [
"99-58=41",
"96-82=14",
"41-14=27"
] | Current State: 27:[58, 99, 82, 96], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [82, 96, 41]
Generated Node #2: [82, 96, 41] from Operation: 99-58=41
Current State: 27:[82, 96, 41], Operations: ['99-58=41']
Exploring Operation: 96-82=14, Resulting Numbers: [41, 14]
Generated Node #3: [41, 14] from Operation: 96-82=14
Current State: 27:[41, 14], Operations: ['99-58=41', '96-82=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[58, 99, 82, 96], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [99, 82, 38]
Generated Node #0,0: 27:[99, 82, 38] Operation: 96-58=38
Exploring Operation: 99-82=17, Resulting Numbers: [58, 96, 17]
Generated Node #0,1: 27:[58, 96, 17] Operation: 99-82=17
Exploring Operation: 96-82=14, Resulting Numbers: [58, 99, 14]
Generated Node #0,2: 27:[58, 99, 14] Operation: 96-82=14
Exploring Operation: 99-96=3, Resulting Numbers: [58, 82, 3]
Generated Node #0,3: 27:[58, 82, 3] Operation: 99-96=3
Exploring Operation: 99-58=41, Resulting Numbers: [82, 96, 41]
Generated Node #0,4: 27:[82, 96, 41] Operation: 99-58=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[58, 82, 3], Operations: ['99-96=3']
Exploring Operation: 58+3=61, Resulting Numbers: [82, 61]
Generated Node #0,3,0: 27:[82, 61] Operation: 58+3=61
Exploring Operation: 82-3=79, Resulting Numbers: [58, 79]
Generated Node #0,3,1: 27:[58, 79] Operation: 82-3=79
Exploring Operation: 58-3=55, Resulting Numbers: [82, 55]
Generated Node #0,3,2: 27:[82, 55] Operation: 58-3=55
Exploring Operation: 82+3=85, Resulting Numbers: [58, 85]
Generated Node #0,3,3: 27:[58, 85] Operation: 82+3=85
Exploring Operation: 82-58=24, Resulting Numbers: [3, 24]
Generated Node #0,3,4: 27:[3, 24] Operation: 82-58=24
Moving to Node #0,3,4
Current State: 27:[3, 24], Operations: ['99-96=3', '82-58=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[58, 99, 82, 96], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [58, 82, 3]
Generated Node #0,3: 27:[58, 82, 3] Operation: 99-96=3
Moving to Node #0,3
Current State: 27:[58, 82, 3], Operations: ['99-96=3']
Exploring Operation: 82-58=24, Resulting Numbers: [3, 24]
Generated Node #0,3,4: 27:[3, 24] Operation: 82-58=24
Moving to Node #0,3,4
Current State: 27:[3, 24], Operations: ['99-96=3', '82-58=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
30,
69,
14,
26
] | 27 | [
"69-30=39",
"26-14=12",
"39-12=27"
] | Current State: 27:[30, 69, 14, 26], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [14, 26, 39]
Generated Node #2: [14, 26, 39] from Operation: 69-30=39
Current State: 27:[14, 26, 39], Operations: ['69-30=39']
Exploring Operation: 26-14=12, Resulting Numbers: [39, 12]
Generated Node #3: [39, 12] from Operation: 26-14=12
Current State: 27:[39, 12], Operations: ['69-30=39', '26-14=12']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[30, 69, 14, 26], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [30, 14, 43]
Generated Node #0,0: 27:[30, 14, 43] Operation: 69-26=43
Exploring Operation: 69-30=39, Resulting Numbers: [14, 26, 39]
Generated Node #0,1: 27:[14, 26, 39] Operation: 69-30=39
Moving to Node #0,1
Current State: 27:[14, 26, 39], Operations: ['69-30=39']
Exploring Operation: 39-26=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 27:[14, 13] Operation: 39-26=13
Exploring Operation: 39-14=25, Resulting Numbers: [26, 25]
Generated Node #0,1,1: 27:[26, 25] Operation: 39-14=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[26, 25], Operations: ['69-30=39', '39-14=25']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,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:[14, 13], Operations: ['69-30=39', '39-26=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[30, 69, 14, 26], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [14, 26, 39]
Generated Node #0,1: 27:[14, 26, 39] Operation: 69-30=39
Moving to Node #0,1
Current State: 27:[14, 26, 39], Operations: ['69-30=39']
Exploring Operation: 39-26=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 27:[14, 13] Operation: 39-26=13
Moving to Node #0,1,0
Current State: 27:[14, 13], Operations: ['69-30=39', '39-26=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
25,
50,
32,
8
] | 100 | [
"50-25=25",
"32/8=4",
"25*4=100"
] | Current State: 100:[25, 50, 32, 8], Operations: []
Exploring Operation: 50-25=25, Resulting Numbers: [32, 8, 25]
Generated Node #2: [32, 8, 25] from Operation: 50-25=25
Current State: 100:[32, 8, 25], Operations: ['50-25=25']
Exploring Operation: 32/8=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 32/8=4
Current State: 100:[25, 4], Operations: ['50-25=25', '32/8=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[25, 50, 32, 8], Operations: []
Exploring Operation: 32-8=24, Resulting Numbers: [25, 50, 24]
Generated Node #0,0: 100:[25, 50, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [25, 50, 4]
Generated Node #0,1: 100:[25, 50, 4] Operation: 32/8=4
Exploring Operation: 32-25=7, Resulting Numbers: [50, 8, 7]
Generated Node #0,2: 100:[50, 8, 7] Operation: 32-25=7
Moving to Node #0,1
Current State: 100:[25, 50, 4], Operations: ['32/8=4']
Exploring Operation: 50-25=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 100:[4, 25] Operation: 50-25=25
Exploring Operation: 25*4=100, Resulting Numbers: [50, 100]
Generated Node #0,1,1: 100:[50, 100] Operation: 25*4=100
Exploring Operation: 50/25=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 100:[4, 2] Operation: 50/25=2
Moving to Node #0,0
Current State: 100:[25, 50, 24], Operations: ['32-8=24']
Exploring Operation: 50-25=25, Resulting Numbers: [24, 25]
Generated Node #0,0,0: 100:[24, 25] Operation: 50-25=25
Exploring Operation: 25+24=49, Resulting Numbers: [50, 49]
Generated Node #0,0,1: 100:[50, 49] Operation: 25+24=49
Exploring Operation: 50/25=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 100:[24, 2] Operation: 50/25=2
Moving to Node #0,2
Current State: 100:[50, 8, 7], Operations: ['32-25=7']
Exploring Operation: 8+7=15, Resulting Numbers: [50, 15]
Generated Node #0,2,0: 100:[50, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [50, 1]
Generated Node #0,2,1: 100:[50, 1] Operation: 8-7=1
Exploring Operation: 8*7=56, Resulting Numbers: [50, 56]
Generated Node #0,2,2: 100:[50, 56] Operation: 8*7=56
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[50, 1], Operations: ['32-25=7', '8-7=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,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,2,0
Current State: 100:[50, 15], Operations: ['32-25=7', '8+7=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,100 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,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,2,2
Current State: 100:[50, 56], Operations: ['32-25=7', '8*7=56']
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,100 unequal: No Solution
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,100 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: 100:[4, 25], Operations: ['32/8=4', '50-25=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[25, 50, 32, 8], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [25, 50, 4]
Generated Node #0,1: 100:[25, 50, 4] Operation: 32/8=4
Moving to Node #0,1
Current State: 100:[25, 50, 4], Operations: ['32/8=4']
Exploring Operation: 50-25=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 100:[4, 25] Operation: 50-25=25
Moving to Node #0,1,0
Current State: 100:[4, 25], Operations: ['32/8=4', '50-25=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
54,
50,
44,
82
] | 93 | [
"54-50=4",
"44/4=11",
"82+11=93"
] | Current State: 93:[54, 50, 44, 82], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [44, 82, 4]
Generated Node #2: [44, 82, 4] from Operation: 54-50=4
Current State: 93:[44, 82, 4], Operations: ['54-50=4']
Exploring Operation: 44/4=11, Resulting Numbers: [82, 11]
Generated Node #3: [82, 11] from Operation: 44/4=11
Current State: 93:[82, 11], Operations: ['54-50=4', '44/4=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[54, 50, 44, 82], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [44, 82, 4]
Generated Node #0,0: 93:[44, 82, 4] Operation: 54-50=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[44, 82, 4], Operations: ['54-50=4']
Exploring Operation: 82-44=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 93:[4, 38] Operation: 82-44=38
Moving to Node #0,0,0
Current State: 93:[4, 38], Operations: ['54-50=4', '82-44=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,93 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 |
[
60,
90,
90,
80
] | 30 | [
"90*80=7200",
"7200/60=120",
"120-90=30"
] | Current State: 30:[60, 90, 90, 80], Operations: []
Exploring Operation: 90*80=7200, Resulting Numbers: [60, 7200]
Generated Node #2: [60, 7200] from Operation: 90*80=7200
Current State: 30:[60, 7200], Operations: ['90*80=7200']
Exploring Operation: 7200/60=120, Resulting Numbers: [120]
120,30 equal: Goal Reached
Exploring Operation: 120-90=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[60, 90, 90, 80], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [60, 80, 1]
Generated Node #0,0: 30:[60, 80, 1] Operation: 90/90=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[60, 80, 1], Operations: ['90/90=1']
Exploring Operation: 80-60=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 30:[1, 20] Operation: 80-60=20
Moving to Node #0,0,0
Current State: 30:[1, 20], Operations: ['90/90=1', '80-60=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,30 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 |
[
73,
91,
55,
2
] | 100 | [
"73-55=18",
"18/2=9",
"91+9=100"
] | Current State: 100:[73, 91, 55, 2], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [91, 2, 18]
Generated Node #2: [91, 2, 18] from Operation: 73-55=18
Current State: 100:[91, 2, 18], Operations: ['73-55=18']
Exploring Operation: 18/2=9, Resulting Numbers: [91, 9]
Generated Node #3: [91, 9] from Operation: 18/2=9
Current State: 100:[91, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[73, 91, 55, 2], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [55, 2, 18]
Generated Node #0,0: 100:[55, 2, 18] Operation: 91-73=18
Exploring Operation: 73-55=18, Resulting Numbers: [91, 2, 18]
Generated Node #0,1: 100:[91, 2, 18] Operation: 73-55=18
Exploring Operation: 73-2=71, Resulting Numbers: [91, 55, 71]
Generated Node #0,2: 100:[91, 55, 71] Operation: 73-2=71
Exploring Operation: 91-55=36, Resulting Numbers: [73, 2, 36]
Generated Node #0,3: 100:[73, 2, 36] Operation: 91-55=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[55, 2, 18], Operations: ['91-73=18']
Exploring Operation: 55+2=57, Resulting Numbers: [18, 57]
Generated Node #0,0,0: 100:[18, 57] Operation: 55+2=57
Exploring Operation: 55-2=53, Resulting Numbers: [18, 53]
Generated Node #0,0,1: 100:[18, 53] Operation: 55-2=53
Exploring Operation: 2+18=20, Resulting Numbers: [55, 20]
Generated Node #0,0,2: 100:[55, 20] Operation: 2+18=20
Exploring Operation: 18/2=9, Resulting Numbers: [55, 9]
Generated Node #0,0,3: 100:[55, 9] Operation: 18/2=9
Moving to Node #0,0,1
Current State: 100:[18, 53], Operations: ['91-73=18', '55-2=53']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,100 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[55, 20], Operations: ['91-73=18', '2+18=20']
Exploring Operation: 55*20=1100, Resulting Numbers: [1100]
1100,100 unequal: No Solution
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[55, 9], Operations: ['91-73=18', '18/2=9']
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,100 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[18, 57], Operations: ['91-73=18', '55+2=57']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,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,1
Current State: 100:[91, 2, 18], Operations: ['73-55=18']
Exploring Operation: 2+18=20, Resulting Numbers: [91, 20]
Generated Node #0,1,0: 100:[91, 20] Operation: 2+18=20
Exploring Operation: 18/2=9, Resulting Numbers: [91, 9]
Generated Node #0,1,1: 100:[91, 9] Operation: 18/2=9
Exploring Operation: 91+18=109, Resulting Numbers: [2, 109]
Generated Node #0,1,2: 100:[2, 109] Operation: 91+18=109
Exploring Operation: 91+2=93, Resulting Numbers: [18, 93]
Generated Node #0,1,3: 100:[18, 93] Operation: 91+2=93
Moving to Node #0,1,0
Current State: 100:[91, 20], Operations: ['73-55=18', '2+18=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,100 unequal: No Solution
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[18, 93], Operations: ['73-55=18', '91+2=93']
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,100 unequal: No Solution
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[2, 109], Operations: ['73-55=18', '91+18=109']
Exploring Operation: 2+109=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Exploring Operation: 2*109=218, Resulting Numbers: [218]
218,100 unequal: No Solution
Exploring Operation: 109-2=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[91, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,100 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[73, 91, 55, 2], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [91, 2, 18]
Generated Node #0,1: 100:[91, 2, 18] Operation: 73-55=18
Moving to Node #0,1
Current State: 100:[91, 2, 18], Operations: ['73-55=18']
Exploring Operation: 18/2=9, Resulting Numbers: [91, 9]
Generated Node #0,1,1: 100:[91, 9] Operation: 18/2=9
Moving to Node #0,1,1
Current State: 100:[91, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
47,
94,
26,
72
] | 49 | [
"94/47=2",
"26+72=98",
"98/2=49"
] | Current State: 49:[47, 94, 26, 72], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [26, 72, 2]
Generated Node #2: [26, 72, 2] from Operation: 94/47=2
Current State: 49:[26, 72, 2], Operations: ['94/47=2']
Exploring Operation: 26+72=98, Resulting Numbers: [2, 98]
Generated Node #3: [2, 98] from Operation: 26+72=98
Current State: 49:[2, 98], Operations: ['94/47=2', '26+72=98']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[47, 94, 26, 72], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [47, 26, 22]
Generated Node #0,0: 49:[47, 26, 22] Operation: 94-72=22
Exploring Operation: 94-47=47, Resulting Numbers: [26, 72, 47]
Generated Node #0,1: 49:[26, 72, 47] Operation: 94-47=47
Exploring Operation: 94-26=68, Resulting Numbers: [47, 72, 68]
Generated Node #0,2: 49:[47, 72, 68] Operation: 94-26=68
Exploring Operation: 94/47=2, Resulting Numbers: [26, 72, 2]
Generated Node #0,3: 49:[26, 72, 2] Operation: 94/47=2
Moving to Node #0,0
Current State: 49:[47, 26, 22], Operations: ['94-72=22']
Exploring Operation: 26-22=4, Resulting Numbers: [47, 4]
Generated Node #0,0,0: 49:[47, 4] Operation: 26-22=4
Exploring Operation: 26+22=48, Resulting Numbers: [47, 48]
Generated Node #0,0,1: 49:[47, 48] Operation: 26+22=48
Exploring Operation: 47-22=25, Resulting Numbers: [26, 25]
Generated Node #0,0,2: 49:[26, 25] Operation: 47-22=25
Exploring Operation: 47-26=21, Resulting Numbers: [22, 21]
Generated Node #0,0,3: 49:[22, 21] Operation: 47-26=21
Moving to Node #0,2
Current State: 49:[47, 72, 68], Operations: ['94-26=68']
Exploring Operation: 72-47=25, Resulting Numbers: [68, 25]
Generated Node #0,2,0: 49:[68, 25] Operation: 72-47=25
Exploring Operation: 68-47=21, Resulting Numbers: [72, 21]
Generated Node #0,2,1: 49:[72, 21] Operation: 68-47=21
Exploring Operation: 47+72=119, Resulting Numbers: [68, 119]
Generated Node #0,2,2: 49:[68, 119] Operation: 47+72=119
Exploring Operation: 72-68=4, Resulting Numbers: [47, 4]
Generated Node #0,2,3: 49:[47, 4] Operation: 72-68=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[47, 4], Operations: ['94-26=68', '72-68=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,49 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: 49:[68, 25], Operations: ['94-26=68', '72-47=25']
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,49 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: 49:[72, 21], Operations: ['94-26=68', '68-47=21']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,49 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: 49:[68, 119], Operations: ['94-26=68', '47+72=119']
Exploring Operation: 68*119=8092, Resulting Numbers: [8092]
8092,49 unequal: No Solution
Exploring Operation: 119-68=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 68+119=187, Resulting Numbers: [187]
187,49 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: 49:[26, 72, 47], Operations: ['94-47=47']
Exploring Operation: 72-47=25, Resulting Numbers: [26, 25]
Generated Node #0,1,0: 49:[26, 25] Operation: 72-47=25
Exploring Operation: 47-26=21, Resulting Numbers: [72, 21]
Generated Node #0,1,1: 49:[72, 21] Operation: 47-26=21
Exploring Operation: 72-26=46, Resulting Numbers: [47, 46]
Generated Node #0,1,2: 49:[47, 46] Operation: 72-26=46
Exploring Operation: 26+47=73, Resulting Numbers: [72, 73]
Generated Node #0,1,3: 49:[72, 73] Operation: 26+47=73
Moving to Node #0,3
Current State: 49:[26, 72, 2], Operations: ['94/47=2']
Exploring Operation: 72-26=46, Resulting Numbers: [2, 46]
Generated Node #0,3,0: 49:[2, 46] Operation: 72-26=46
Exploring Operation: 26*2=52, Resulting Numbers: [72, 52]
Generated Node #0,3,1: 49:[72, 52] Operation: 26*2=52
Exploring Operation: 72/2=36, Resulting Numbers: [26, 36]
Generated Node #0,3,2: 49:[26, 36] Operation: 72/2=36
Exploring Operation: 26/2=13, Resulting Numbers: [72, 13]
Generated Node #0,3,3: 49:[72, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[2, 46], Operations: ['94/47=2', '72-26=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,49 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: 49:[72, 52], Operations: ['94/47=2', '26*2=52']
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,49 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,49 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: 49:[72, 13], Operations: ['94/47=2', '26/2=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,49 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,49 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: 49:[26, 36], Operations: ['94/47=2', '72/2=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,49 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,49 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: 49:[47, 48], Operations: ['94-72=22', '26+22=48']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[47, 4], Operations: ['94-72=22', '26-22=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[47, 46], Operations: ['94-47=47', '72-26=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[22, 21], Operations: ['94-72=22', '47-26=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[26, 25], Operations: ['94-47=47', '72-47=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,49 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[26, 25], Operations: ['94-72=22', '47-22=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[72, 21], Operations: ['94-47=47', '47-26=21']
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,49 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[72, 73], Operations: ['94-47=47', '26+47=73']
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,49 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,49 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
11,
28,
7
] | 91 | [
"28-11=17",
"7*17=119",
"119-28=91"
] | Current State: 91:[28, 11, 28, 7], Operations: []
Exploring Operation: 28-11=17, Resulting Numbers: [7, 17]
Generated Node #2: [7, 17] from Operation: 28-11=17
Current State: 91:[7, 17], Operations: ['28-11=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,91 equal: Goal Reached
Exploring Operation: 119-28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[28, 11, 28, 7], Operations: []
Exploring Operation: 28/28=1, Resulting Numbers: [11, 7, 1]
Generated Node #0,0: 91:[11, 7, 1] Operation: 28/28=1
Exploring Operation: 28-28=0, Resulting Numbers: [11, 7, 0]
Generated Node #0,1: 91:[11, 7, 0] Operation: 28-28=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[11, 7, 1], Operations: ['28/28=1']
Exploring Operation: 11*1=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 91:[7, 11] Operation: 11*1=11
Exploring Operation: 11+1=12, Resulting Numbers: [7, 12]
Generated Node #0,0,1: 91:[7, 12] Operation: 11+1=12
Moving to Node #0,0,1
Current State: 91:[7, 12], Operations: ['28/28=1', '11+1=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[7, 11], Operations: ['28/28=1', '11*1=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,91 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: 91:[11, 7, 0], Operations: ['28-28=0']
Exploring Operation: 11+0=11, Resulting Numbers: [7, 11]
Generated Node #0,1,0: 91:[7, 11] Operation: 11+0=11
Exploring Operation: 11-0=11, Resulting Numbers: [7, 11]
Generated Node #0,1,1: 91:[7, 11] Operation: 11-0=11
Moving to Node #0,1,0
Current State: 91:[7, 11], Operations: ['28-28=0', '11+0=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[7, 11], Operations: ['28-28=0', '11-0=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
11,
84,
50
] | 88 | [
"57-11=46",
"84+50=134",
"134-46=88"
] | Current State: 88:[57, 11, 84, 50], Operations: []
Exploring Operation: 57-11=46, Resulting Numbers: [84, 50, 46]
Generated Node #2: [84, 50, 46] from Operation: 57-11=46
Current State: 88:[84, 50, 46], Operations: ['57-11=46']
Exploring Operation: 84+50=134, Resulting Numbers: [46, 134]
Generated Node #3: [46, 134] from Operation: 84+50=134
Current State: 88:[46, 134], Operations: ['57-11=46', '84+50=134']
Exploring Operation: 134-46=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[57, 11, 84, 50], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [11, 84, 7]
Generated Node #0,0: 88:[11, 84, 7] Operation: 57-50=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[11, 84, 7], Operations: ['57-50=7']
Exploring Operation: 84/7=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 88:[11, 12] Operation: 84/7=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[11, 12], Operations: ['57-50=7', '84/7=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,88 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 |
[
15,
66,
80,
75
] | 70 | [
"75/15=5",
"80-66=14",
"5*14=70"
] | Current State: 70:[15, 66, 80, 75], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [66, 80, 5]
Generated Node #2: [66, 80, 5] from Operation: 75/15=5
Current State: 70:[66, 80, 5], Operations: ['75/15=5']
Exploring Operation: 80-66=14, Resulting Numbers: [5, 14]
Generated Node #3: [5, 14] from Operation: 80-66=14
Current State: 70:[5, 14], Operations: ['75/15=5', '80-66=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[15, 66, 80, 75], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [15, 66, 5]
Generated Node #0,0: 70:[15, 66, 5] Operation: 80-75=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[15, 66, 5], Operations: ['80-75=5']
Exploring Operation: 66+5=71, Resulting Numbers: [15, 71]
Generated Node #0,0,0: 70:[15, 71] Operation: 66+5=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[15, 71], Operations: ['80-75=5', '66+5=71']
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,70 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 |
[
25,
62,
9,
89
] | 14 | [
"62-25=37",
"89+37=126",
"126/9=14"
] | Current State: 14:[25, 62, 9, 89], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [9, 89, 37]
Generated Node #2: [9, 89, 37] from Operation: 62-25=37
Current State: 14:[9, 89, 37], Operations: ['62-25=37']
Exploring Operation: 89+37=126, Resulting Numbers: [9, 126]
Generated Node #3: [9, 126] from Operation: 89+37=126
Current State: 14:[9, 126], Operations: ['62-25=37', '89+37=126']
Exploring Operation: 126/9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[25, 62, 9, 89], Operations: []
Exploring Operation: 89-62=27, Resulting Numbers: [25, 9, 27]
Generated Node #0,0: 14:[25, 9, 27] Operation: 89-62=27
Moving to Node #0,0
Current State: 14:[25, 9, 27], Operations: ['89-62=27']
Exploring Operation: 27-25=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 14:[9, 2] Operation: 27-25=2
Moving to Node #0,0,0
Current State: 14:[9, 2], Operations: ['89-62=27', '27-25=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
2,
22,
43
] | 99 | [
"36-2=34",
"22+43=65",
"34+65=99"
] | Current State: 99:[36, 2, 22, 43], Operations: []
Exploring Operation: 36-2=34, Resulting Numbers: [22, 43, 34]
Generated Node #2: [22, 43, 34] from Operation: 36-2=34
Current State: 99:[22, 43, 34], Operations: ['36-2=34']
Exploring Operation: 22+43=65, Resulting Numbers: [34, 65]
Generated Node #3: [34, 65] from Operation: 22+43=65
Current State: 99:[34, 65], Operations: ['36-2=34', '22+43=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[36, 2, 22, 43], Operations: []
Exploring Operation: 22/2=11, Resulting Numbers: [36, 43, 11]
Generated Node #0,0: 99:[36, 43, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[36, 43, 11], Operations: ['22/2=11']
Exploring Operation: 43-36=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 99:[11, 7] Operation: 43-36=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[11, 7], Operations: ['22/2=11', '43-36=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,99 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 |
[
59,
12,
16,
11
] | 36 | [
"59-11=48",
"12*48=576",
"576/16=36"
] | Current State: 36:[59, 12, 16, 11], Operations: []
Exploring Operation: 59-11=48, Resulting Numbers: [12, 16, 48]
Generated Node #2: [12, 16, 48] from Operation: 59-11=48
Current State: 36:[12, 16, 48], Operations: ['59-11=48']
Exploring Operation: 12*48=576, Resulting Numbers: [16, 576]
Generated Node #3: [16, 576] from Operation: 12*48=576
Current State: 36:[16, 576], Operations: ['59-11=48', '12*48=576']
Exploring Operation: 576/16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[59, 12, 16, 11], Operations: []
Exploring Operation: 59-12=47, Resulting Numbers: [16, 11, 47]
Generated Node #0,0: 36:[16, 11, 47] Operation: 59-12=47
Exploring Operation: 59-11=48, Resulting Numbers: [12, 16, 48]
Generated Node #0,1: 36:[12, 16, 48] Operation: 59-11=48
Exploring Operation: 59-16=43, Resulting Numbers: [12, 11, 43]
Generated Node #0,2: 36:[12, 11, 43] Operation: 59-16=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[12, 11, 43], Operations: ['59-16=43']
Exploring Operation: 43-12=31, Resulting Numbers: [11, 31]
Generated Node #0,2,0: 36:[11, 31] Operation: 43-12=31
Exploring Operation: 12-11=1, Resulting Numbers: [43, 1]
Generated Node #0,2,1: 36:[43, 1] Operation: 12-11=1
Exploring Operation: 43-11=32, Resulting Numbers: [12, 32]
Generated Node #0,2,2: 36:[12, 32] Operation: 43-11=32
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[12, 32], Operations: ['59-16=43', '43-11=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,36 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,36 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: 36:[11, 31], Operations: ['59-16=43', '43-12=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,36 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,36 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: 36:[43, 1], Operations: ['59-16=43', '12-11=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,36 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: 36:[16, 11, 47], Operations: ['59-12=47']
Exploring Operation: 47-16=31, Resulting Numbers: [11, 31]
Generated Node #0,0,0: 36:[11, 31] Operation: 47-16=31
Exploring Operation: 47-11=36, Resulting Numbers: [16, 36]
Generated Node #0,0,1: 36:[16, 36] Operation: 47-11=36
Exploring Operation: 16-11=5, Resulting Numbers: [47, 5]
Generated Node #0,0,2: 36:[47, 5] Operation: 16-11=5
Moving to Node #0,0,1
Current State: 36:[16, 36], Operations: ['59-12=47', '47-11=36']
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,36 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[11, 31], Operations: ['59-12=47', '47-16=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,36 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[47, 5], Operations: ['59-12=47', '16-11=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,36 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,36 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: 36:[12, 16, 48], Operations: ['59-11=48']
Exploring Operation: 48/16=3, Resulting Numbers: [12, 3]
Generated Node #0,1,0: 36:[12, 3] Operation: 48/16=3
Exploring Operation: 48-12=36, Resulting Numbers: [16, 36]
Generated Node #0,1,1: 36:[16, 36] Operation: 48-12=36
Exploring Operation: 48/12=4, Resulting Numbers: [16, 4]
Generated Node #0,1,2: 36:[16, 4] Operation: 48/12=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[12, 3], Operations: ['59-11=48', '48/16=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[59, 12, 16, 11], Operations: []
Exploring Operation: 59-11=48, Resulting Numbers: [12, 16, 48]
Generated Node #0,1: 36:[12, 16, 48] Operation: 59-11=48
Moving to Node #0,1
Current State: 36:[12, 16, 48], Operations: ['59-11=48']
Exploring Operation: 48/16=3, Resulting Numbers: [12, 3]
Generated Node #0,1,0: 36:[12, 3] Operation: 48/16=3
Moving to Node #0,1,0
Current State: 36:[12, 3], Operations: ['59-11=48', '48/16=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
91,
42,
63,
35
] | 60 | [
"91+35=126",
"126/42=3",
"63-3=60"
] | Current State: 60:[91, 42, 63, 35], Operations: []
Exploring Operation: 91+35=126, Resulting Numbers: [42, 63, 126]
Generated Node #2: [42, 63, 126] from Operation: 91+35=126
Current State: 60:[42, 63, 126], Operations: ['91+35=126']
Exploring Operation: 126/42=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 126/42=3
Current State: 60:[63, 3], Operations: ['91+35=126', '126/42=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[91, 42, 63, 35], Operations: []
Exploring Operation: 91-63=28, Resulting Numbers: [42, 35, 28]
Generated Node #0,0: 60:[42, 35, 28] Operation: 91-63=28
Exploring Operation: 91-35=56, Resulting Numbers: [42, 63, 56]
Generated Node #0,1: 60:[42, 63, 56] Operation: 91-35=56
Exploring Operation: 91-42=49, Resulting Numbers: [63, 35, 49]
Generated Node #0,2: 60:[63, 35, 49] Operation: 91-42=49
Moving to Node #0,0
Current State: 60:[42, 35, 28], Operations: ['91-63=28']
Exploring Operation: 42-35=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 60:[28, 7] Operation: 42-35=7
Exploring Operation: 42-28=14, Resulting Numbers: [35, 14]
Generated Node #0,0,1: 60:[35, 14] Operation: 42-28=14
Exploring Operation: 35-28=7, Resulting Numbers: [42, 7]
Generated Node #0,0,2: 60:[42, 7] Operation: 35-28=7
Moving to Node #0,1
Current State: 60:[42, 63, 56], Operations: ['91-35=56']
Exploring Operation: 56-42=14, Resulting Numbers: [63, 14]
Generated Node #0,1,0: 60:[63, 14] Operation: 56-42=14
Exploring Operation: 63-56=7, Resulting Numbers: [42, 7]
Generated Node #0,1,1: 60:[42, 7] Operation: 63-56=7
Exploring Operation: 63-42=21, Resulting Numbers: [56, 21]
Generated Node #0,1,2: 60:[56, 21] Operation: 63-42=21
Moving to Node #0,2
Current State: 60:[63, 35, 49], Operations: ['91-42=49']
Exploring Operation: 63-35=28, Resulting Numbers: [49, 28]
Generated Node #0,2,0: 60:[49, 28] Operation: 63-35=28
Exploring Operation: 49-35=14, Resulting Numbers: [63, 14]
Generated Node #0,2,1: 60:[63, 14] Operation: 49-35=14
Exploring Operation: 63-49=14, Resulting Numbers: [35, 14]
Generated Node #0,2,2: 60:[35, 14] Operation: 63-49=14
Moving to Node #0,0,0
Current State: 60:[28, 7], Operations: ['91-63=28', '42-35=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[63, 14], Operations: ['91-42=49', '49-35=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,60 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[63, 14], Operations: ['91-35=56', '56-42=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[56, 21], Operations: ['91-35=56', '63-42=21']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[35, 14], Operations: ['91-42=49', '63-49=14']
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[35, 14], Operations: ['91-63=28', '42-28=14']
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,60 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[42, 7], Operations: ['91-63=28', '35-28=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[42, 7], Operations: ['91-35=56', '63-56=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[49, 28], Operations: ['91-42=49', '63-35=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,60 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
18,
54,
17,
22
] | 83 | [
"54/18=3",
"22*3=66",
"17+66=83"
] | Current State: 83:[18, 54, 17, 22], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [17, 22, 3]
Generated Node #2: [17, 22, 3] from Operation: 54/18=3
Current State: 83:[17, 22, 3], Operations: ['54/18=3']
Exploring Operation: 22*3=66, Resulting Numbers: [17, 66]
Generated Node #3: [17, 66] from Operation: 22*3=66
Current State: 83:[17, 66], Operations: ['54/18=3', '22*3=66']
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[18, 54, 17, 22], Operations: []
Exploring Operation: 18+22=40, Resulting Numbers: [54, 17, 40]
Generated Node #0,0: 83:[54, 17, 40] Operation: 18+22=40
Exploring Operation: 54+17=71, Resulting Numbers: [18, 22, 71]
Generated Node #0,1: 83:[18, 22, 71] Operation: 54+17=71
Exploring Operation: 18+17=35, Resulting Numbers: [54, 22, 35]
Generated Node #0,2: 83:[54, 22, 35] Operation: 18+17=35
Exploring Operation: 18+54=72, Resulting Numbers: [17, 22, 72]
Generated Node #0,3: 83:[17, 22, 72] Operation: 18+54=72
Exploring Operation: 54+22=76, Resulting Numbers: [18, 17, 76]
Generated Node #0,4: 83:[18, 17, 76] Operation: 54+22=76
Moving to Node #0,0
Current State: 83:[54, 17, 40], Operations: ['18+22=40']
Exploring Operation: 54+40=94, Resulting Numbers: [17, 94]
Generated Node #0,0,0: 83:[17, 94] Operation: 54+40=94
Exploring Operation: 54-17=37, Resulting Numbers: [40, 37]
Generated Node #0,0,1: 83:[40, 37] Operation: 54-17=37
Exploring Operation: 17+40=57, Resulting Numbers: [54, 57]
Generated Node #0,0,2: 83:[54, 57] Operation: 17+40=57
Exploring Operation: 54+17=71, Resulting Numbers: [40, 71]
Generated Node #0,0,3: 83:[40, 71] Operation: 54+17=71
Exploring Operation: 40-17=23, Resulting Numbers: [54, 23]
Generated Node #0,0,4: 83:[54, 23] Operation: 40-17=23
Moving to Node #0,2
Current State: 83:[54, 22, 35], Operations: ['18+17=35']
Exploring Operation: 22+35=57, Resulting Numbers: [54, 57]
Generated Node #0,2,0: 83:[54, 57] Operation: 22+35=57
Exploring Operation: 54+22=76, Resulting Numbers: [35, 76]
Generated Node #0,2,1: 83:[35, 76] Operation: 54+22=76
Exploring Operation: 54+35=89, Resulting Numbers: [22, 89]
Generated Node #0,2,2: 83:[22, 89] Operation: 54+35=89
Exploring Operation: 54-22=32, Resulting Numbers: [35, 32]
Generated Node #0,2,3: 83:[35, 32] Operation: 54-22=32
Exploring Operation: 35-22=13, Resulting Numbers: [54, 13]
Generated Node #0,2,4: 83:[54, 13] Operation: 35-22=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[54, 57], Operations: ['18+17=35', '22+35=57']
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,83 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,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,2,1
Current State: 83:[35, 76], Operations: ['18+17=35', '54+22=76']
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,83 unequal: No Solution
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,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,2,2
Current State: 83:[22, 89], Operations: ['18+17=35', '54+35=89']
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,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,2,3
Current State: 83:[35, 32], Operations: ['18+17=35', '54-22=32']
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,83 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,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,2,4
Current State: 83:[54, 13], Operations: ['18+17=35', '35-22=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,83 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: 83:[18, 17, 76], Operations: ['54+22=76']
Exploring Operation: 76-17=59, Resulting Numbers: [18, 59]
Generated Node #0,4,0: 83:[18, 59] Operation: 76-17=59
Exploring Operation: 17+76=93, Resulting Numbers: [18, 93]
Generated Node #0,4,1: 83:[18, 93] Operation: 17+76=93
Exploring Operation: 18+76=94, Resulting Numbers: [17, 94]
Generated Node #0,4,2: 83:[17, 94] Operation: 18+76=94
Exploring Operation: 18+17=35, Resulting Numbers: [76, 35]
Generated Node #0,4,3: 83:[76, 35] Operation: 18+17=35
Exploring Operation: 18-17=1, Resulting Numbers: [76, 1]
Generated Node #0,4,4: 83:[76, 1] Operation: 18-17=1
Moving to Node #0,1
Current State: 83:[18, 22, 71], Operations: ['54+17=71']
Exploring Operation: 22-18=4, Resulting Numbers: [71, 4]
Generated Node #0,1,0: 83:[71, 4] Operation: 22-18=4
Exploring Operation: 71-18=53, Resulting Numbers: [22, 53]
Generated Node #0,1,1: 83:[22, 53] Operation: 71-18=53
Exploring Operation: 22+71=93, Resulting Numbers: [18, 93]
Generated Node #0,1,2: 83:[18, 93] Operation: 22+71=93
Exploring Operation: 18+22=40, Resulting Numbers: [71, 40]
Generated Node #0,1,3: 83:[71, 40] Operation: 18+22=40
Exploring Operation: 18+71=89, Resulting Numbers: [22, 89]
Generated Node #0,1,4: 83:[22, 89] Operation: 18+71=89
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[71, 40], Operations: ['54+17=71', '18+22=40']
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,83 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,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,1,4
Current State: 83:[22, 89], Operations: ['54+17=71', '18+71=89']
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,83 unequal: No Solution
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,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,1,2
Current State: 83:[18, 93], Operations: ['54+17=71', '22+71=93']
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,83 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,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,1,0
Current State: 83:[71, 4], Operations: ['54+17=71', '22-18=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,83 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,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,1,1
Current State: 83:[22, 53], Operations: ['54+17=71', '71-18=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,83 unequal: No Solution
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,83 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,83 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: 83:[17, 22, 72], Operations: ['18+54=72']
Exploring Operation: 22-17=5, Resulting Numbers: [72, 5]
Generated Node #0,3,0: 83:[72, 5] Operation: 22-17=5
Exploring Operation: 22+72=94, Resulting Numbers: [17, 94]
Generated Node #0,3,1: 83:[17, 94] Operation: 22+72=94
Exploring Operation: 17+22=39, Resulting Numbers: [72, 39]
Generated Node #0,3,2: 83:[72, 39] Operation: 17+22=39
Exploring Operation: 72-17=55, Resulting Numbers: [22, 55]
Generated Node #0,3,3: 83:[22, 55] Operation: 72-17=55
Exploring Operation: 17+72=89, Resulting Numbers: [22, 89]
Generated Node #0,3,4: 83:[22, 89] Operation: 17+72=89
Moving to Node #0,0,2
Current State: 83:[54, 57], Operations: ['18+22=40', '17+40=57']
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,83 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[76, 35], Operations: ['54+22=76', '18+17=35']
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,83 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[40, 71], Operations: ['18+22=40', '54+17=71']
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,83 unequal: No Solution
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[72, 39], Operations: ['18+54=72', '17+22=39']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,83 unequal: No Solution
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[22, 89], Operations: ['18+54=72', '17+72=89']
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[18, 93], Operations: ['54+22=76', '17+76=93']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,83 unequal: No Solution
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,83 unequal: No Solution
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[17, 94], Operations: ['18+22=40', '54+40=94']
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,83 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[17, 94], Operations: ['18+54=72', '22+72=94']
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,83 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[17, 94], Operations: ['54+22=76', '18+76=94']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 17*94=1598, Resulting Numbers: [1598]
1598,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[72, 5], Operations: ['18+54=72', '22-17=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,83 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[76, 1], Operations: ['54+22=76', '18-17=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,83 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[22, 55], Operations: ['18+54=72', '72-17=55']
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,83 unequal: No Solution
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[40, 37], Operations: ['18+22=40', '54-17=37']
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[54, 23], Operations: ['18+22=40', '40-17=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[18, 59], Operations: ['54+22=76', '76-17=59']
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,83 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
44,
36,
51
] | 13 | [
"51-44=7",
"7*7=49",
"49-36=13"
] | Current State: 13:[7, 44, 36, 51], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [7, 36, 7]
Generated Node #2: [7, 36, 7] from Operation: 51-44=7
Current State: 13:[7, 36, 7], Operations: ['51-44=7']
Exploring Operation: 7*7=49, Resulting Numbers: [36, 49]
Generated Node #3: [36, 49] from Operation: 7*7=49
Current State: 13:[36, 49], Operations: ['51-44=7', '7*7=49']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[7, 44, 36, 51], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [7, 44, 15]
Generated Node #0,0: 13:[7, 44, 15] Operation: 51-36=15
Exploring Operation: 51-44=7, Resulting Numbers: [7, 36, 7]
Generated Node #0,1: 13:[7, 36, 7] Operation: 51-44=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[7, 36, 7], Operations: ['51-44=7']
Exploring Operation: 36-7=29, Resulting Numbers: [7, 29]
Generated Node #0,1,0: 13:[7, 29] Operation: 36-7=29
Exploring Operation: 36-7=29, Resulting Numbers: [7, 29]
Generated Node #0,1,1: 13:[7, 29] Operation: 36-7=29
Moving to Node #0,1,0
Current State: 13:[7, 29], Operations: ['51-44=7', '36-7=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[7, 29], Operations: ['51-44=7', '36-7=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,13 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: 13:[7, 44, 15], Operations: ['51-36=15']
Exploring Operation: 44-7=37, Resulting Numbers: [15, 37]
Generated Node #0,0,0: 13:[15, 37] Operation: 44-7=37
Exploring Operation: 44-15=29, Resulting Numbers: [7, 29]
Generated Node #0,0,1: 13:[7, 29] Operation: 44-15=29
Moving to Node #0,0,1
Current State: 13:[7, 29], Operations: ['51-36=15', '44-15=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[15, 37], Operations: ['51-36=15', '44-7=37']
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
16,
4,
54
] | 12 | [
"54-51=3",
"16/4=4",
"3*4=12"
] | Current State: 12:[51, 16, 4, 54], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [16, 4, 3]
Generated Node #2: [16, 4, 3] from Operation: 54-51=3
Current State: 12:[16, 4, 3], Operations: ['54-51=3']
Exploring Operation: 16/4=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 16/4=4
Current State: 12:[3, 4], Operations: ['54-51=3', '16/4=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[51, 16, 4, 54], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [16, 4, 3]
Generated Node #0,0: 12:[16, 4, 3] Operation: 54-51=3
Exploring Operation: 54-16=38, Resulting Numbers: [51, 4, 38]
Generated Node #0,1: 12:[51, 4, 38] Operation: 54-16=38
Exploring Operation: 51-16=35, Resulting Numbers: [4, 54, 35]
Generated Node #0,2: 12:[4, 54, 35] Operation: 51-16=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[16, 4, 3], Operations: ['54-51=3']
Exploring Operation: 16-3=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 12:[4, 13] Operation: 16-3=13
Exploring Operation: 16-4=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 12:[3, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 12:[3, 4] Operation: 16/4=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[3, 12], Operations: ['54-51=3', '16-4=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,12 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: 12:[3, 4], Operations: ['54-51=3', '16/4=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[51, 16, 4, 54], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [16, 4, 3]
Generated Node #0,0: 12:[16, 4, 3] Operation: 54-51=3
Moving to Node #0,0
Current State: 12:[16, 4, 3], Operations: ['54-51=3']
Exploring Operation: 16/4=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 12:[3, 4] Operation: 16/4=4
Moving to Node #0,0,2
Current State: 12:[3, 4], Operations: ['54-51=3', '16/4=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
99,
40,
74,
35
] | 50 | [
"99-40=59",
"74+35=109",
"109-59=50"
] | Current State: 50:[99, 40, 74, 35], Operations: []
Exploring Operation: 99-40=59, Resulting Numbers: [74, 35, 59]
Generated Node #2: [74, 35, 59] from Operation: 99-40=59
Current State: 50:[74, 35, 59], Operations: ['99-40=59']
Exploring Operation: 74+35=109, Resulting Numbers: [59, 109]
Generated Node #3: [59, 109] from Operation: 74+35=109
Current State: 50:[59, 109], Operations: ['99-40=59', '74+35=109']
Exploring Operation: 109-59=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[99, 40, 74, 35], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [99, 40, 39]
Generated Node #0,0: 50:[99, 40, 39] Operation: 74-35=39
Exploring Operation: 74-40=34, Resulting Numbers: [99, 35, 34]
Generated Node #0,1: 50:[99, 35, 34] Operation: 74-40=34
Exploring Operation: 99-40=59, Resulting Numbers: [74, 35, 59]
Generated Node #0,2: 50:[74, 35, 59] Operation: 99-40=59
Exploring Operation: 99-35=64, Resulting Numbers: [40, 74, 64]
Generated Node #0,3: 50:[40, 74, 64] Operation: 99-35=64
Exploring Operation: 99-74=25, Resulting Numbers: [40, 35, 25]
Generated Node #0,4: 50:[40, 35, 25] Operation: 99-74=25
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[40, 35, 25], Operations: ['99-74=25']
Exploring Operation: 40+35=75, Resulting Numbers: [25, 75]
Generated Node #0,4,0: 50:[25, 75] Operation: 40+35=75
Exploring Operation: 35-25=10, Resulting Numbers: [40, 10]
Generated Node #0,4,1: 50:[40, 10] Operation: 35-25=10
Exploring Operation: 40-35=5, Resulting Numbers: [25, 5]
Generated Node #0,4,2: 50:[25, 5] Operation: 40-35=5
Exploring Operation: 40-25=15, Resulting Numbers: [35, 15]
Generated Node #0,4,3: 50:[35, 15] Operation: 40-25=15
Exploring Operation: 35+25=60, Resulting Numbers: [40, 60]
Generated Node #0,4,4: 50:[40, 60] Operation: 35+25=60
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 50:[25, 5], Operations: ['99-74=25', '40-35=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,50 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,50 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,1
Current State: 50:[40, 10], Operations: ['99-74=25', '35-25=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,50 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[99, 40, 74, 35], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [40, 35, 25]
Generated Node #0,4: 50:[40, 35, 25] Operation: 99-74=25
Moving to Node #0,4
Current State: 50:[40, 35, 25], Operations: ['99-74=25']
Exploring Operation: 35-25=10, Resulting Numbers: [40, 10]
Generated Node #0,4,1: 50:[40, 10] Operation: 35-25=10
Moving to Node #0,4,1
Current State: 50:[40, 10], Operations: ['99-74=25', '35-25=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
82,
86,
38,
40
] | 39 | [
"40-38=2",
"86/2=43",
"82-43=39"
] | Current State: 39:[82, 86, 38, 40], Operations: []
Exploring Operation: 40-38=2, Resulting Numbers: [82, 86, 2]
Generated Node #2: [82, 86, 2] from Operation: 40-38=2
Current State: 39:[82, 86, 2], Operations: ['40-38=2']
Exploring Operation: 86/2=43, Resulting Numbers: [82, 43]
Generated Node #3: [82, 43] from Operation: 86/2=43
Current State: 39:[82, 43], Operations: ['40-38=2', '86/2=43']
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[82, 86, 38, 40], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [38, 40, 4]
Generated Node #0,0: 39:[38, 40, 4] Operation: 86-82=4
Exploring Operation: 82-40=42, Resulting Numbers: [86, 38, 42]
Generated Node #0,1: 39:[86, 38, 42] Operation: 82-40=42
Exploring Operation: 82-38=44, Resulting Numbers: [86, 40, 44]
Generated Node #0,2: 39:[86, 40, 44] Operation: 82-38=44
Exploring Operation: 86-40=46, Resulting Numbers: [82, 38, 46]
Generated Node #0,3: 39:[82, 38, 46] Operation: 86-40=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[38, 40, 4], Operations: ['86-82=4']
Exploring Operation: 38+4=42, Resulting Numbers: [40, 42]
Generated Node #0,0,0: 39:[40, 42] Operation: 38+4=42
Exploring Operation: 40/4=10, Resulting Numbers: [38, 10]
Generated Node #0,0,1: 39:[38, 10] Operation: 40/4=10
Exploring Operation: 40-38=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 39:[4, 2] Operation: 40-38=2
Exploring Operation: 40-4=36, Resulting Numbers: [38, 36]
Generated Node #0,0,3: 39:[38, 36] Operation: 40-4=36
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[4, 2], Operations: ['86-82=4', '40-38=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,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:[40, 42], Operations: ['86-82=4', '38+4=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,39 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,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:[38, 10], Operations: ['86-82=4', '40/4=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,39 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,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:[38, 36], Operations: ['86-82=4', '40-4=36']
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,39 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,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,1
Current State: 39:[86, 38, 42], Operations: ['82-40=42']
Exploring Operation: 86-38=48, Resulting Numbers: [42, 48]
Generated Node #0,1,0: 39:[42, 48] Operation: 86-38=48
Exploring Operation: 42-38=4, Resulting Numbers: [86, 4]
Generated Node #0,1,1: 39:[86, 4] Operation: 42-38=4
Exploring Operation: 86-42=44, Resulting Numbers: [38, 44]
Generated Node #0,1,2: 39:[38, 44] Operation: 86-42=44
Exploring Operation: 86+38=124, Resulting Numbers: [42, 124]
Generated Node #0,1,3: 39:[42, 124] Operation: 86+38=124
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[38, 44], Operations: ['82-40=42', '86-42=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,39 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,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:[42, 48], Operations: ['82-40=42', '86-38=48']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,39 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,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,1
Current State: 39:[86, 4], Operations: ['82-40=42', '42-38=4']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,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:[42, 124], Operations: ['82-40=42', '86+38=124']
Exploring Operation: 124-42=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 42+124=166, Resulting Numbers: [166]
166,39 unequal: No Solution
Exploring Operation: 42*124=5208, Resulting Numbers: [5208]
5208,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:[82, 38, 46], Operations: ['86-40=46']
Exploring Operation: 46-38=8, Resulting Numbers: [82, 8]
Generated Node #0,3,0: 39:[82, 8] Operation: 46-38=8
Exploring Operation: 82-46=36, Resulting Numbers: [38, 36]
Generated Node #0,3,1: 39:[38, 36] Operation: 82-46=36
Exploring Operation: 82-38=44, Resulting Numbers: [46, 44]
Generated Node #0,3,2: 39:[46, 44] Operation: 82-38=44
Exploring Operation: 82+38=120, Resulting Numbers: [46, 120]
Generated Node #0,3,3: 39:[46, 120] Operation: 82+38=120
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[38, 36], Operations: ['86-40=46', '82-46=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,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,3,2
Current State: 39:[46, 44], Operations: ['86-40=46', '82-38=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,39 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,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,3,0
Current State: 39:[82, 8], Operations: ['86-40=46', '46-38=8']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,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,3,3
Current State: 39:[46, 120], Operations: ['86-40=46', '82+38=120']
Exploring Operation: 120-46=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 46*120=5520, Resulting Numbers: [5520]
5520,39 unequal: No Solution
Exploring Operation: 46+120=166, Resulting Numbers: [166]
166,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,2
Current State: 39:[86, 40, 44], Operations: ['82-38=44']
Exploring Operation: 44-40=4, Resulting Numbers: [86, 4]
Generated Node #0,2,0: 39:[86, 4] Operation: 44-40=4
Exploring Operation: 86-44=42, Resulting Numbers: [40, 42]
Generated Node #0,2,1: 39:[40, 42] Operation: 86-44=42
Exploring Operation: 86+40=126, Resulting Numbers: [44, 126]
Generated Node #0,2,2: 39:[44, 126] Operation: 86+40=126
Exploring Operation: 86-40=46, Resulting Numbers: [44, 46]
Generated Node #0,2,3: 39:[44, 46] Operation: 86-40=46
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[40, 42], Operations: ['82-38=44', '86-44=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,39 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,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,2,3
Current State: 39:[44, 46], Operations: ['82-38=44', '86-40=46']
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,39 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,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,2,0
Current State: 39:[86, 4], Operations: ['82-38=44', '44-40=4']
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,39 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,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,2,2
Current State: 39:[44, 126], Operations: ['82-38=44', '86+40=126']
Exploring Operation: 44*126=5544, Resulting Numbers: [5544]
5544,39 unequal: No Solution
Exploring Operation: 126-44=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 44+126=170, Resulting Numbers: [170]
170,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
23,
27,
66,
30
] | 28 | [
"23*30=690",
"66+690=756",
"756/27=28"
] | Current State: 28:[23, 27, 66, 30], Operations: []
Exploring Operation: 23*30=690, Resulting Numbers: [27, 66, 690]
Generated Node #2: [27, 66, 690] from Operation: 23*30=690
Current State: 28:[27, 66, 690], Operations: ['23*30=690']
Exploring Operation: 66+690=756, Resulting Numbers: [27, 756]
Generated Node #3: [27, 756] from Operation: 66+690=756
Current State: 28:[27, 756], Operations: ['23*30=690', '66+690=756']
Exploring Operation: 756/27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[23, 27, 66, 30], Operations: []
Exploring Operation: 66-23=43, Resulting Numbers: [27, 30, 43]
Generated Node #0,0: 28:[27, 30, 43] Operation: 66-23=43
Exploring Operation: 66-30=36, Resulting Numbers: [23, 27, 36]
Generated Node #0,1: 28:[23, 27, 36] Operation: 66-30=36
Exploring Operation: 66-27=39, Resulting Numbers: [23, 30, 39]
Generated Node #0,2: 28:[23, 30, 39] Operation: 66-27=39
Moving to Node #0,1
Current State: 28:[23, 27, 36], Operations: ['66-30=36']
Exploring Operation: 36-23=13, Resulting Numbers: [27, 13]
Generated Node #0,1,0: 28:[27, 13] Operation: 36-23=13
Exploring Operation: 27-23=4, Resulting Numbers: [36, 4]
Generated Node #0,1,1: 28:[36, 4] Operation: 27-23=4
Exploring Operation: 36-27=9, Resulting Numbers: [23, 9]
Generated Node #0,1,2: 28:[23, 9] Operation: 36-27=9
Moving to Node #0,0
Current State: 28:[27, 30, 43], Operations: ['66-23=43']
Exploring Operation: 30-27=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 28:[43, 3] Operation: 30-27=3
Exploring Operation: 43-30=13, Resulting Numbers: [27, 13]
Generated Node #0,0,1: 28:[27, 13] Operation: 43-30=13
Exploring Operation: 43-27=16, Resulting Numbers: [30, 16]
Generated Node #0,0,2: 28:[30, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[27, 13], Operations: ['66-23=43', '43-30=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,28 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,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,0,2
Current State: 28:[30, 16], Operations: ['66-23=43', '43-27=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,28 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,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,0,0
Current State: 28:[43, 3], Operations: ['66-23=43', '30-27=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,28 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: 28:[23, 30, 39], Operations: ['66-27=39']
Exploring Operation: 39-30=9, Resulting Numbers: [23, 9]
Generated Node #0,2,0: 28:[23, 9] Operation: 39-30=9
Exploring Operation: 30-23=7, Resulting Numbers: [39, 7]
Generated Node #0,2,1: 28:[39, 7] Operation: 30-23=7
Exploring Operation: 39-23=16, Resulting Numbers: [30, 16]
Generated Node #0,2,2: 28:[30, 16] Operation: 39-23=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[30, 16], Operations: ['66-27=39', '39-23=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,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,2,0
Current State: 28:[23, 9], Operations: ['66-27=39', '39-30=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,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,2,1
Current State: 28:[39, 7], Operations: ['66-27=39', '30-23=7']
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,28 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,28 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: 28:[27, 13], Operations: ['66-30=36', '36-23=13']
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[23, 9], Operations: ['66-30=36', '36-27=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,28 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[36, 4], Operations: ['66-30=36', '27-23=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
43,
33,
5,
78
] | 44 | [
"43+78=121",
"33*5=165",
"165-121=44"
] | Current State: 44:[43, 33, 5, 78], Operations: []
Exploring Operation: 43+78=121, Resulting Numbers: [33, 5, 121]
Generated Node #2: [33, 5, 121] from Operation: 43+78=121
Current State: 44:[33, 5, 121], Operations: ['43+78=121']
Exploring Operation: 33*5=165, Resulting Numbers: [121, 165]
Generated Node #3: [121, 165] from Operation: 33*5=165
Current State: 44:[121, 165], Operations: ['43+78=121', '33*5=165']
Exploring Operation: 165-121=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[43, 33, 5, 78], Operations: []
Exploring Operation: 78-43=35, Resulting Numbers: [33, 5, 35]
Generated Node #0,0: 44:[33, 5, 35] Operation: 78-43=35
Exploring Operation: 78-33=45, Resulting Numbers: [43, 5, 45]
Generated Node #0,1: 44:[43, 5, 45] Operation: 78-33=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[43, 5, 45], Operations: ['78-33=45']
Exploring Operation: 45-43=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 44:[5, 2] Operation: 45-43=2
Exploring Operation: 45/5=9, Resulting Numbers: [43, 9]
Generated Node #0,1,1: 44:[43, 9] Operation: 45/5=9
Moving to Node #0,1,0
Current State: 44:[5, 2], Operations: ['78-33=45', '45-43=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[43, 9], Operations: ['78-33=45', '45/5=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,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
Current State: 44:[33, 5, 35], Operations: ['78-43=35']
Exploring Operation: 35/5=7, Resulting Numbers: [33, 7]
Generated Node #0,0,0: 44:[33, 7] Operation: 35/5=7
Exploring Operation: 35-33=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 44:[5, 2] Operation: 35-33=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[5, 2], Operations: ['78-43=35', '35-33=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,44 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: 44:[33, 7], Operations: ['78-43=35', '35/5=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,44 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 | sum_heuristic |
[
54,
69,
4,
76
] | 18 | [
"69+4=73",
"76-73=3",
"54/3=18"
] | Current State: 18:[54, 69, 4, 76], Operations: []
Exploring Operation: 69+4=73, Resulting Numbers: [54, 76, 73]
Generated Node #2: [54, 76, 73] from Operation: 69+4=73
Current State: 18:[54, 76, 73], Operations: ['69+4=73']
Exploring Operation: 76-73=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 76-73=3
Current State: 18:[54, 3], Operations: ['69+4=73', '76-73=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[54, 69, 4, 76], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [54, 4, 7]
Generated Node #0,0: 18:[54, 4, 7] Operation: 76-69=7
Exploring Operation: 69-54=15, Resulting Numbers: [4, 76, 15]
Generated Node #0,1: 18:[4, 76, 15] Operation: 69-54=15
Exploring Operation: 76/4=19, Resulting Numbers: [54, 69, 19]
Generated Node #0,2: 18:[54, 69, 19] Operation: 76/4=19
Exploring Operation: 76-54=22, Resulting Numbers: [69, 4, 22]
Generated Node #0,3: 18:[69, 4, 22] Operation: 76-54=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[54, 4, 7], Operations: ['76-69=7']
Exploring Operation: 54-4=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 18:[7, 50] Operation: 54-4=50
Exploring Operation: 7-4=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 18:[54, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [54, 11]
Generated Node #0,0,2: 18:[54, 11] Operation: 4+7=11
Exploring Operation: 54-7=47, Resulting Numbers: [4, 47]
Generated Node #0,0,3: 18:[4, 47] Operation: 54-7=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 18:[4, 47], Operations: ['76-69=7', '54-7=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,18 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: 18:[7, 50], Operations: ['76-69=7', '54-4=50']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,18 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: 18:[54, 3], Operations: ['76-69=7', '7-4=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,18 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[54, 69, 4, 76], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [54, 4, 7]
Generated Node #0,0: 18:[54, 4, 7] Operation: 76-69=7
Moving to Node #0,0
Current State: 18:[54, 4, 7], Operations: ['76-69=7']
Exploring Operation: 7-4=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 18:[54, 3] Operation: 7-4=3
Moving to Node #0,0,1
Current State: 18:[54, 3], Operations: ['76-69=7', '7-4=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
3,
78,
15,
63
] | 75 | [
"15/3=5",
"78-63=15",
"5*15=75"
] | Current State: 75:[3, 78, 15, 63], Operations: []
Exploring Operation: 15/3=5, Resulting Numbers: [78, 63, 5]
Generated Node #2: [78, 63, 5] from Operation: 15/3=5
Current State: 75:[78, 63, 5], Operations: ['15/3=5']
Exploring Operation: 78-63=15, Resulting Numbers: [5, 15]
Generated Node #3: [5, 15] from Operation: 78-63=15
Current State: 75:[5, 15], Operations: ['15/3=5', '78-63=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[3, 78, 15, 63], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [3, 15, 15]
Generated Node #0,0: 75:[3, 15, 15] Operation: 78-63=15
Exploring Operation: 63/3=21, Resulting Numbers: [78, 15, 21]
Generated Node #0,1: 75:[78, 15, 21] Operation: 63/3=21
Exploring Operation: 15+63=78, Resulting Numbers: [3, 78, 78]
Generated Node #0,2: 75:[3, 78, 78] Operation: 15+63=78
Exploring Operation: 3+63=66, Resulting Numbers: [78, 15, 66]
Generated Node #0,3: 75:[78, 15, 66] Operation: 3+63=66
Exploring Operation: 78-3=75, Resulting Numbers: [15, 63, 75]
Generated Node #0,4: 75:[15, 63, 75] Operation: 78-3=75
Moving to Node #0,0
Current State: 75:[3, 15, 15], Operations: ['78-63=15']
Exploring Operation: 15/3=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 15/3=5
Exploring Operation: 15/15=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 75:[3, 1] Operation: 15/15=1
Exploring Operation: 15-3=12, Resulting Numbers: [15, 12]
Generated Node #0,0,2: 75:[15, 12] Operation: 15-3=12
Exploring Operation: 3+15=18, Resulting Numbers: [15, 18]
Generated Node #0,0,3: 75:[15, 18] Operation: 3+15=18
Exploring Operation: 15/3=5, Resulting Numbers: [15, 5]
Generated Node #0,0,4: 75:[15, 5] Operation: 15/3=5
Moving to Node #0,2
Current State: 75:[3, 78, 78], Operations: ['15+63=78']
Exploring Operation: 78-3=75, Resulting Numbers: [78, 75]
Generated Node #0,2,0: 75:[78, 75] Operation: 78-3=75
Exploring Operation: 78-3=75, Resulting Numbers: [78, 75]
Generated Node #0,2,1: 75:[78, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [78, 26]
Generated Node #0,2,2: 75:[78, 26] Operation: 78/3=26
Exploring Operation: 78/78=1, Resulting Numbers: [3, 1]
Generated Node #0,2,3: 75:[3, 1] Operation: 78/78=1
Exploring Operation: 78-78=0, Resulting Numbers: [3, 0]
Generated Node #0,2,4: 75:[3, 0] Operation: 78-78=0
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 75:[3, 1], Operations: ['15+63=78', '78/78=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,75 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: 75:[78, 75], Operations: ['15+63=78', '78-3=75']
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,75 unequal: No Solution
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,75 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,75 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: 75:[78, 75], Operations: ['15+63=78', '78-3=75']
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,75 unequal: No Solution
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,75 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,75 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: 75:[3, 0], Operations: ['15+63=78', '78-78=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,75 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: 75:[78, 26], Operations: ['15+63=78', '78/3=26']
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,75 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,75 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: 75:[78, 15, 21], Operations: ['63/3=21']
Exploring Operation: 78+15=93, Resulting Numbers: [21, 93]
Generated Node #0,1,0: 75:[21, 93] Operation: 78+15=93
Exploring Operation: 78-15=63, Resulting Numbers: [21, 63]
Generated Node #0,1,1: 75:[21, 63] Operation: 78-15=63
Exploring Operation: 21-15=6, Resulting Numbers: [78, 6]
Generated Node #0,1,2: 75:[78, 6] Operation: 21-15=6
Exploring Operation: 78-21=57, Resulting Numbers: [15, 57]
Generated Node #0,1,3: 75:[15, 57] Operation: 78-21=57
Exploring Operation: 15+21=36, Resulting Numbers: [78, 36]
Generated Node #0,1,4: 75:[78, 36] Operation: 15+21=36
Moving to Node #0,3
Current State: 75:[78, 15, 66], Operations: ['3+63=66']
Exploring Operation: 15+66=81, Resulting Numbers: [78, 81]
Generated Node #0,3,0: 75:[78, 81] Operation: 15+66=81
Exploring Operation: 78-15=63, Resulting Numbers: [66, 63]
Generated Node #0,3,1: 75:[66, 63] Operation: 78-15=63
Exploring Operation: 78+15=93, Resulting Numbers: [66, 93]
Generated Node #0,3,2: 75:[66, 93] Operation: 78+15=93
Exploring Operation: 78-66=12, Resulting Numbers: [15, 12]
Generated Node #0,3,3: 75:[15, 12] Operation: 78-66=12
Exploring Operation: 66-15=51, Resulting Numbers: [78, 51]
Generated Node #0,3,4: 75:[78, 51] Operation: 66-15=51
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[15, 12], Operations: ['3+63=66', '78-66=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,75 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: 75:[78, 81], Operations: ['3+63=66', '15+66=81']
Exploring Operation: 78*81=6318, Resulting Numbers: [6318]
6318,75 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 78+81=159, Resulting Numbers: [159]
159,75 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: 75:[66, 63], Operations: ['3+63=66', '78-15=63']
Exploring Operation: 66*63=4158, Resulting Numbers: [4158]
4158,75 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,75 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: 75:[66, 93], Operations: ['3+63=66', '78+15=93']
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,75 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,75 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: 75:[78, 51], Operations: ['3+63=66', '66-15=51']
Exploring Operation: 78*51=3978, Resulting Numbers: [3978]
3978,75 unequal: No Solution
Exploring Operation: 78+51=129, Resulting Numbers: [129]
129,75 unequal: No Solution
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,75 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: 75:[15, 63, 75], Operations: ['78-3=75']
Exploring Operation: 63-15=48, Resulting Numbers: [75, 48]
Generated Node #0,4,0: 75:[75, 48] Operation: 63-15=48
Exploring Operation: 75/15=5, Resulting Numbers: [63, 5]
Generated Node #0,4,1: 75:[63, 5] Operation: 75/15=5
Exploring Operation: 15+63=78, Resulting Numbers: [75, 78]
Generated Node #0,4,2: 75:[75, 78] Operation: 15+63=78
Exploring Operation: 75-63=12, Resulting Numbers: [15, 12]
Generated Node #0,4,3: 75:[15, 12] Operation: 75-63=12
Exploring Operation: 15+75=90, Resulting Numbers: [63, 90]
Generated Node #0,4,4: 75:[63, 90] Operation: 15+75=90
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['78-63=15', '15/3=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[3, 78, 15, 63], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [3, 15, 15]
Generated Node #0,0: 75:[3, 15, 15] Operation: 78-63=15
Moving to Node #0,0
Current State: 75:[3, 15, 15], Operations: ['78-63=15']
Exploring Operation: 15/3=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 75:[15, 5] Operation: 15/3=5
Moving to Node #0,0,0
Current State: 75:[15, 5], Operations: ['78-63=15', '15/3=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
3,
27,
31,
61
] | 16 | [
"3+61=64",
"31-27=4",
"64/4=16"
] | Current State: 16:[3, 27, 31, 61], Operations: []
Exploring Operation: 3+61=64, Resulting Numbers: [27, 31, 64]
Generated Node #2: [27, 31, 64] from Operation: 3+61=64
Current State: 16:[27, 31, 64], Operations: ['3+61=64']
Exploring Operation: 31-27=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 31-27=4
Current State: 16:[64, 4], Operations: ['3+61=64', '31-27=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[3, 27, 31, 61], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [3, 27, 30]
Generated Node #0,0: 16:[3, 27, 30] Operation: 61-31=30
Moving to Node #0,0
Current State: 16:[3, 27, 30], Operations: ['61-31=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 16:[3, 3] Operation: 30-27=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[3, 3], Operations: ['61-31=30', '30-27=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,16 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 |
[
22,
79,
80,
73
] | 64 | [
"79-22=57",
"80-73=7",
"57+7=64"
] | Current State: 64:[22, 79, 80, 73], Operations: []
Exploring Operation: 79-22=57, Resulting Numbers: [80, 73, 57]
Generated Node #2: [80, 73, 57] from Operation: 79-22=57
Current State: 64:[80, 73, 57], Operations: ['79-22=57']
Exploring Operation: 80-73=7, Resulting Numbers: [57, 7]
Generated Node #3: [57, 7] from Operation: 80-73=7
Current State: 64:[57, 7], Operations: ['79-22=57', '80-73=7']
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[22, 79, 80, 73], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [22, 79, 7]
Generated Node #0,0: 64:[22, 79, 7] Operation: 80-73=7
Exploring Operation: 79-22=57, Resulting Numbers: [80, 73, 57]
Generated Node #0,1: 64:[80, 73, 57] Operation: 79-22=57
Exploring Operation: 79-73=6, Resulting Numbers: [22, 80, 6]
Generated Node #0,2: 64:[22, 80, 6] Operation: 79-73=6
Exploring Operation: 80-22=58, Resulting Numbers: [79, 73, 58]
Generated Node #0,3: 64:[79, 73, 58] Operation: 80-22=58
Exploring Operation: 80-79=1, Resulting Numbers: [22, 73, 1]
Generated Node #0,4: 64:[22, 73, 1] Operation: 80-79=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[22, 73, 1], Operations: ['80-79=1']
Exploring Operation: 73-22=51, Resulting Numbers: [1, 51]
Generated Node #0,4,0: 64:[1, 51] Operation: 73-22=51
Exploring Operation: 22/1=22, Resulting Numbers: [73, 22]
Generated Node #0,4,1: 64:[73, 22] Operation: 22/1=22
Exploring Operation: 73-1=72, Resulting Numbers: [22, 72]
Generated Node #0,4,2: 64:[22, 72] Operation: 73-1=72
Exploring Operation: 22-1=21, Resulting Numbers: [73, 21]
Generated Node #0,4,3: 64:[73, 21] Operation: 22-1=21
Exploring Operation: 22*1=22, Resulting Numbers: [73, 22]
Generated Node #0,4,4: 64:[73, 22] Operation: 22*1=22
Moving to Node #0,4,0
Current State: 64:[1, 51], Operations: ['80-79=1', '73-22=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[73, 21], Operations: ['80-79=1', '22-1=21']
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,64 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[22, 72], Operations: ['80-79=1', '73-1=72']
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,64 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,64 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[73, 22], Operations: ['80-79=1', '22/1=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,64 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[73, 22], Operations: ['80-79=1', '22*1=22']
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,64 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,64 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,64 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: 64:[22, 79, 7], Operations: ['80-73=7']
Exploring Operation: 79-22=57, Resulting Numbers: [7, 57]
Generated Node #0,0,0: 64:[7, 57] Operation: 79-22=57
Exploring Operation: 22+7=29, Resulting Numbers: [79, 29]
Generated Node #0,0,1: 64:[79, 29] Operation: 22+7=29
Exploring Operation: 79+7=86, Resulting Numbers: [22, 86]
Generated Node #0,0,2: 64:[22, 86] Operation: 79+7=86
Exploring Operation: 22-7=15, Resulting Numbers: [79, 15]
Generated Node #0,0,3: 64:[79, 15] Operation: 22-7=15
Exploring Operation: 79-7=72, Resulting Numbers: [22, 72]
Generated Node #0,0,4: 64:[22, 72] Operation: 79-7=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[7, 57], Operations: ['80-73=7', '79-22=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[22, 79, 80, 73], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [22, 79, 7]
Generated Node #0,0: 64:[22, 79, 7] Operation: 80-73=7
Moving to Node #0,0
Current State: 64:[22, 79, 7], Operations: ['80-73=7']
Exploring Operation: 79-22=57, Resulting Numbers: [7, 57]
Generated Node #0,0,0: 64:[7, 57] Operation: 79-22=57
Moving to Node #0,0,0
Current State: 64:[7, 57], Operations: ['80-73=7', '79-22=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
3,
49,
21,
62
] | 93 | [
"3+49=52",
"62-21=41",
"52+41=93"
] | Current State: 93:[3, 49, 21, 62], Operations: []
Exploring Operation: 3+49=52, Resulting Numbers: [21, 62, 52]
Generated Node #2: [21, 62, 52] from Operation: 3+49=52
Current State: 93:[21, 62, 52], Operations: ['3+49=52']
Exploring Operation: 62-21=41, Resulting Numbers: [52, 41]
Generated Node #3: [52, 41] from Operation: 62-21=41
Current State: 93:[52, 41], Operations: ['3+49=52', '62-21=41']
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[3, 49, 21, 62], Operations: []
Exploring Operation: 21+62=83, Resulting Numbers: [3, 49, 83]
Generated Node #0,0: 93:[3, 49, 83] Operation: 21+62=83
Exploring Operation: 49+62=111, Resulting Numbers: [3, 21, 111]
Generated Node #0,1: 93:[3, 21, 111] Operation: 49+62=111
Exploring Operation: 62-49=13, Resulting Numbers: [3, 21, 13]
Generated Node #0,2: 93:[3, 21, 13] Operation: 62-49=13
Moving to Node #0,2
Current State: 93:[3, 21, 13], Operations: ['62-49=13']
Exploring Operation: 21/3=7, Resulting Numbers: [13, 7]
Generated Node #0,2,0: 93:[13, 7] Operation: 21/3=7
Exploring Operation: 21-13=8, Resulting Numbers: [3, 8]
Generated Node #0,2,1: 93:[3, 8] Operation: 21-13=8
Exploring Operation: 21+13=34, Resulting Numbers: [3, 34]
Generated Node #0,2,2: 93:[3, 34] Operation: 21+13=34
Moving to Node #0,0
Current State: 93:[3, 49, 83], Operations: ['21+62=83']
Exploring Operation: 49-3=46, Resulting Numbers: [83, 46]
Generated Node #0,0,0: 93:[83, 46] Operation: 49-3=46
Exploring Operation: 83-49=34, Resulting Numbers: [3, 34]
Generated Node #0,0,1: 93:[3, 34] Operation: 83-49=34
Exploring Operation: 3+83=86, Resulting Numbers: [49, 86]
Generated Node #0,0,2: 93:[49, 86] Operation: 3+83=86
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[3, 34], Operations: ['21+62=83', '83-49=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,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,0,0
Current State: 93:[83, 46], Operations: ['21+62=83', '49-3=46']
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,93 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,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,0,2
Current State: 93:[49, 86], Operations: ['21+62=83', '3+83=86']
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,93 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,93 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: 93:[3, 21, 111], Operations: ['49+62=111']
Exploring Operation: 111-21=90, Resulting Numbers: [3, 90]
Generated Node #0,1,0: 93:[3, 90] Operation: 111-21=90
Exploring Operation: 21/3=7, Resulting Numbers: [111, 7]
Generated Node #0,1,1: 93:[111, 7] Operation: 21/3=7
Exploring Operation: 111/3=37, Resulting Numbers: [21, 37]
Generated Node #0,1,2: 93:[21, 37] Operation: 111/3=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[3, 90], Operations: ['49+62=111', '111-21=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[3, 49, 21, 62], Operations: []
Exploring Operation: 49+62=111, Resulting Numbers: [3, 21, 111]
Generated Node #0,1: 93:[3, 21, 111] Operation: 49+62=111
Moving to Node #0,1
Current State: 93:[3, 21, 111], Operations: ['49+62=111']
Exploring Operation: 111-21=90, Resulting Numbers: [3, 90]
Generated Node #0,1,0: 93:[3, 90] Operation: 111-21=90
Moving to Node #0,1,0
Current State: 93:[3, 90], Operations: ['49+62=111', '111-21=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
30,
90,
26,
29
] | 94 | [
"30*90=2700",
"26+2700=2726",
"2726/29=94"
] | Current State: 94:[30, 90, 26, 29], Operations: []
Exploring Operation: 30*90=2700, Resulting Numbers: [26, 29, 2700]
Generated Node #2: [26, 29, 2700] from Operation: 30*90=2700
Current State: 94:[26, 29, 2700], Operations: ['30*90=2700']
Exploring Operation: 26+2700=2726, Resulting Numbers: [29, 2726]
Generated Node #3: [29, 2726] from Operation: 26+2700=2726
Current State: 94:[29, 2726], Operations: ['30*90=2700', '26+2700=2726']
Exploring Operation: 2726/29=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[30, 90, 26, 29], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [30, 90, 3]
Generated Node #0,0: 94:[30, 90, 3] Operation: 29-26=3
Exploring Operation: 30-29=1, Resulting Numbers: [90, 26, 1]
Generated Node #0,1: 94:[90, 26, 1] Operation: 30-29=1
Exploring Operation: 26+29=55, Resulting Numbers: [30, 90, 55]
Generated Node #0,2: 94:[30, 90, 55] Operation: 26+29=55
Exploring Operation: 30+26=56, Resulting Numbers: [90, 29, 56]
Generated Node #0,3: 94:[90, 29, 56] Operation: 30+26=56
Exploring Operation: 30-26=4, Resulting Numbers: [90, 29, 4]
Generated Node #0,4: 94:[90, 29, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[30, 90, 3], Operations: ['29-26=3']
Exploring Operation: 90/30=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 94:[3, 3] Operation: 90/30=3
Exploring Operation: 30+3=33, Resulting Numbers: [90, 33]
Generated Node #0,0,1: 94:[90, 33] Operation: 30+3=33
Exploring Operation: 90-30=60, Resulting Numbers: [3, 60]
Generated Node #0,0,2: 94:[3, 60] Operation: 90-30=60
Exploring Operation: 30*3=90, Resulting Numbers: [90, 90]
Generated Node #0,0,3: 94:[90, 90] Operation: 30*3=90
Exploring Operation: 30/3=10, Resulting Numbers: [90, 10]
Generated Node #0,0,4: 94:[90, 10] Operation: 30/3=10
Moving to Node #0,0,0
Current State: 94:[3, 3], Operations: ['29-26=3', '90/30=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[90, 90], Operations: ['29-26=3', '30*3=90']
Exploring Operation: 90+90=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Exploring Operation: 90*90=8100, Resulting Numbers: [8100]
8100,94 unequal: No Solution
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 90-90=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[90, 10], Operations: ['29-26=3', '30/3=10']
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,94 unequal: No Solution
Exploring Operation: 90*10=900, Resulting Numbers: [900]
900,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[3, 60], Operations: ['29-26=3', '90-30=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[90, 33], Operations: ['29-26=3', '30+3=33']
Exploring Operation: 90*33=2970, Resulting Numbers: [2970]
2970,94 unequal: No Solution
Exploring Operation: 90+33=123, Resulting Numbers: [123]
123,94 unequal: No Solution
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,94 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: 94:[90, 29, 4], Operations: ['30-26=4']
Exploring Operation: 90-29=61, Resulting Numbers: [4, 61]
Generated Node #0,4,0: 94:[4, 61] Operation: 90-29=61
Exploring Operation: 29+4=33, Resulting Numbers: [90, 33]
Generated Node #0,4,1: 94:[90, 33] Operation: 29+4=33
Exploring Operation: 29*4=116, Resulting Numbers: [90, 116]
Generated Node #0,4,2: 94:[90, 116] Operation: 29*4=116
Exploring Operation: 90-4=86, Resulting Numbers: [29, 86]
Generated Node #0,4,3: 94:[29, 86] Operation: 90-4=86
Exploring Operation: 90+4=94, Resulting Numbers: [29, 94]
Generated Node #0,4,4: 94:[29, 94] Operation: 90+4=94
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 94:[4, 61], Operations: ['30-26=4', '90-29=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,94 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,1
Current State: 94:[90, 33], Operations: ['30-26=4', '29+4=33']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 90*33=2970, Resulting Numbers: [2970]
2970,94 unequal: No Solution
Exploring Operation: 90+33=123, Resulting Numbers: [123]
123,94 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: 94:[29, 94], Operations: ['30-26=4', '90+4=94']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,94 unequal: No Solution
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,94 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: 94:[90, 116], Operations: ['30-26=4', '29*4=116']
Exploring Operation: 90*116=10440, Resulting Numbers: [10440]
10440,94 unequal: No Solution
Exploring Operation: 90+116=206, Resulting Numbers: [206]
206,94 unequal: No Solution
Exploring Operation: 116-90=26, Resulting Numbers: [26]
26,94 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: 94:[29, 86], Operations: ['30-26=4', '90-4=86']
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 29+86=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 29*86=2494, Resulting Numbers: [2494]
2494,94 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: 94:[90, 26, 1], Operations: ['30-29=1']
Exploring Operation: 90+1=91, Resulting Numbers: [26, 91]
Generated Node #0,1,0: 94:[26, 91] Operation: 90+1=91
Exploring Operation: 90+26=116, Resulting Numbers: [1, 116]
Generated Node #0,1,1: 94:[1, 116] Operation: 90+26=116
Exploring Operation: 90*1=90, Resulting Numbers: [26, 90]
Generated Node #0,1,2: 94:[26, 90] Operation: 90*1=90
Exploring Operation: 90-26=64, Resulting Numbers: [1, 64]
Generated Node #0,1,3: 94:[1, 64] Operation: 90-26=64
Exploring Operation: 26+1=27, Resulting Numbers: [90, 27]
Generated Node #0,1,4: 94:[90, 27] Operation: 26+1=27
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[1, 64], Operations: ['30-29=1', '90-26=64']
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,94 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: 94:[1, 116], Operations: ['30-29=1', '90+26=116']
Exploring Operation: 1+116=117, Resulting Numbers: [117]
117,94 unequal: No Solution
Exploring Operation: 116/1=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 1*116=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 116-1=115, Resulting Numbers: [115]
115,94 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: 94:[26, 91], Operations: ['30-29=1', '90+1=91']
Exploring Operation: 26+91=117, Resulting Numbers: [117]
117,94 unequal: No Solution
Exploring Operation: 26*91=2366, Resulting Numbers: [2366]
2366,94 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,94 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: 94:[90, 27], Operations: ['30-29=1', '26+1=27']
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,94 unequal: No Solution
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,94 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,94 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: 94:[26, 90], Operations: ['30-29=1', '90*1=90']
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,94 unequal: No Solution
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,94 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: 94:[30, 90, 55], Operations: ['26+29=55']
Exploring Operation: 90-30=60, Resulting Numbers: [55, 60]
Generated Node #0,2,0: 94:[55, 60] Operation: 90-30=60
Exploring Operation: 90/30=3, Resulting Numbers: [55, 3]
Generated Node #0,2,1: 94:[55, 3] Operation: 90/30=3
Exploring Operation: 90-55=35, Resulting Numbers: [30, 35]
Generated Node #0,2,2: 94:[30, 35] Operation: 90-55=35
Exploring Operation: 55-30=25, Resulting Numbers: [90, 25]
Generated Node #0,2,3: 94:[90, 25] Operation: 55-30=25
Exploring Operation: 30+55=85, Resulting Numbers: [90, 85]
Generated Node #0,2,4: 94:[90, 85] Operation: 30+55=85
Moving to Node #0,2,1
Current State: 94:[55, 3], Operations: ['26+29=55', '90/30=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[90, 85], Operations: ['26+29=55', '30+55=85']
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 90*85=7650, Resulting Numbers: [7650]
7650,94 unequal: No Solution
Exploring Operation: 90+85=175, Resulting Numbers: [175]
175,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[55, 60], Operations: ['26+29=55', '90-30=60']
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 55+60=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 55*60=3300, Resulting Numbers: [3300]
3300,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[90, 25], Operations: ['26+29=55', '55-30=25']
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,94 unequal: No Solution
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[30, 35], Operations: ['26+29=55', '90-55=35']
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,94 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,94 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: 94:[90, 29, 56], Operations: ['30+26=56']
Exploring Operation: 90+29=119, Resulting Numbers: [56, 119]
Generated Node #0,3,0: 94:[56, 119] Operation: 90+29=119
Exploring Operation: 90-56=34, Resulting Numbers: [29, 34]
Generated Node #0,3,1: 94:[29, 34] Operation: 90-56=34
Exploring Operation: 29+56=85, Resulting Numbers: [90, 85]
Generated Node #0,3,2: 94:[90, 85] Operation: 29+56=85
Exploring Operation: 90-29=61, Resulting Numbers: [56, 61]
Generated Node #0,3,3: 94:[56, 61] Operation: 90-29=61
Exploring Operation: 56-29=27, Resulting Numbers: [90, 27]
Generated Node #0,3,4: 94:[90, 27] Operation: 56-29=27
Moving to Node #0,3,2
Current State: 94:[90, 85], Operations: ['30+26=56', '29+56=85']
Exploring Operation: 90+85=175, Resulting Numbers: [175]
175,94 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 90*85=7650, Resulting Numbers: [7650]
7650,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[56, 61], Operations: ['30+26=56', '90-29=61']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,94 unequal: No Solution
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[90, 27], Operations: ['30+26=56', '56-29=27']
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,94 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[29, 34], Operations: ['30+26=56', '90-56=34']
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[56, 119], Operations: ['30+26=56', '90+29=119']
Exploring Operation: 119-56=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 56*119=6664, Resulting Numbers: [6664]
6664,94 unequal: No Solution
Exploring Operation: 56+119=175, Resulting Numbers: [175]
175,94 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,
2,
39,
83
] | 74 | [
"39-21=18",
"18/2=9",
"83-9=74"
] | Current State: 74:[21, 2, 39, 83], Operations: []
Exploring Operation: 39-21=18, Resulting Numbers: [2, 83, 18]
Generated Node #2: [2, 83, 18] from Operation: 39-21=18
Current State: 74:[2, 83, 18], Operations: ['39-21=18']
Exploring Operation: 18/2=9, Resulting Numbers: [83, 9]
Generated Node #3: [83, 9] from Operation: 18/2=9
Current State: 74:[83, 9], Operations: ['39-21=18', '18/2=9']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[21, 2, 39, 83], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [2, 39, 62]
Generated Node #0,0: 74:[2, 39, 62] Operation: 83-21=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[2, 39, 62], Operations: ['83-21=62']
Exploring Operation: 62/2=31, Resulting Numbers: [39, 31]
Generated Node #0,0,0: 74:[39, 31] Operation: 62/2=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[39, 31], Operations: ['83-21=62', '62/2=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,74 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 |
[
60,
93,
46,
51
] | 15 | [
"93-46=47",
"51-47=4",
"60/4=15"
] | Current State: 15:[60, 93, 46, 51], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [60, 51, 47]
Generated Node #2: [60, 51, 47] from Operation: 93-46=47
Current State: 15:[60, 51, 47], Operations: ['93-46=47']
Exploring Operation: 51-47=4, Resulting Numbers: [60, 4]
Generated Node #3: [60, 4] from Operation: 51-47=4
Current State: 15:[60, 4], Operations: ['93-46=47', '51-47=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[60, 93, 46, 51], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [46, 51, 33]
Generated Node #0,0: 15:[46, 51, 33] Operation: 93-60=33
Exploring Operation: 93-51=42, Resulting Numbers: [60, 46, 42]
Generated Node #0,1: 15:[60, 46, 42] Operation: 93-51=42
Exploring Operation: 60-51=9, Resulting Numbers: [93, 46, 9]
Generated Node #0,2: 15:[93, 46, 9] Operation: 60-51=9
Exploring Operation: 60-46=14, Resulting Numbers: [93, 51, 14]
Generated Node #0,3: 15:[93, 51, 14] Operation: 60-46=14
Exploring Operation: 93-46=47, Resulting Numbers: [60, 51, 47]
Generated Node #0,4: 15:[60, 51, 47] Operation: 93-46=47
Moving to Node #0,0
Current State: 15:[46, 51, 33], Operations: ['93-60=33']
Exploring Operation: 46+33=79, Resulting Numbers: [51, 79]
Generated Node #0,0,0: 15:[51, 79] Operation: 46+33=79
Exploring Operation: 46-33=13, Resulting Numbers: [51, 13]
Generated Node #0,0,1: 15:[51, 13] Operation: 46-33=13
Exploring Operation: 46+51=97, Resulting Numbers: [33, 97]
Generated Node #0,0,2: 15:[33, 97] Operation: 46+51=97
Exploring Operation: 51-46=5, Resulting Numbers: [33, 5]
Generated Node #0,0,3: 15:[33, 5] Operation: 51-46=5
Exploring Operation: 51-33=18, Resulting Numbers: [46, 18]
Generated Node #0,0,4: 15:[46, 18] Operation: 51-33=18
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[33, 5], Operations: ['93-60=33', '51-46=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,15 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,15 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,4
Current State: 15:[46, 18], Operations: ['93-60=33', '51-33=18']
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,15 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,15 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: 15:[51, 13], Operations: ['93-60=33', '46-33=13']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,15 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: 15:[51, 79], Operations: ['93-60=33', '46+33=79']
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 51*79=4029, Resulting Numbers: [4029]
4029,15 unequal: No Solution
Exploring Operation: 51+79=130, Resulting Numbers: [130]
130,15 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: 15:[33, 97], Operations: ['93-60=33', '46+51=97']
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,15 unequal: No Solution
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,15 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: 15:[60, 46, 42], Operations: ['93-51=42']
Exploring Operation: 60+46=106, Resulting Numbers: [42, 106]
Generated Node #0,1,0: 15:[42, 106] Operation: 60+46=106
Exploring Operation: 60-46=14, Resulting Numbers: [42, 14]
Generated Node #0,1,1: 15:[42, 14] Operation: 60-46=14
Exploring Operation: 60-42=18, Resulting Numbers: [46, 18]
Generated Node #0,1,2: 15:[46, 18] Operation: 60-42=18
Exploring Operation: 60+42=102, Resulting Numbers: [46, 102]
Generated Node #0,1,3: 15:[46, 102] Operation: 60+42=102
Exploring Operation: 46-42=4, Resulting Numbers: [60, 4]
Generated Node #0,1,4: 15:[60, 4] Operation: 46-42=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[42, 14], Operations: ['93-51=42', '60-46=14']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,15 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,15 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: 15:[46, 18], Operations: ['93-51=42', '60-42=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,15 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: 15:[60, 4], Operations: ['93-51=42', '46-42=4']
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,15 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[60, 93, 46, 51], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [60, 46, 42]
Generated Node #0,1: 15:[60, 46, 42] Operation: 93-51=42
Moving to Node #0,1
Current State: 15:[60, 46, 42], Operations: ['93-51=42']
Exploring Operation: 46-42=4, Resulting Numbers: [60, 4]
Generated Node #0,1,4: 15:[60, 4] Operation: 46-42=4
Moving to Node #0,1,4
Current State: 15:[60, 4], Operations: ['93-51=42', '46-42=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | sum_heuristic |
[
2,
41,
8,
41
] | 72 | [
"41-2=39",
"41-8=33",
"39+33=72"
] | Current State: 72:[2, 41, 8, 41], Operations: []
Exploring Operation: 41-2=39, Resulting Numbers: [8, 39]
Generated Node #2: [8, 39] from Operation: 41-2=39
Current State: 72:[8, 39], Operations: ['41-2=39']
Exploring Operation: 41-8=33, Resulting Numbers: [39, 33]
Generated Node #3: [39, 33] from Operation: 41-8=33
Current State: 72:[39, 33], Operations: ['41-2=39', '41-8=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[2, 41, 8, 41], Operations: []
Exploring Operation: 41-2=39, Resulting Numbers: [41, 8, 39]
Generated Node #0,0: 72:[41, 8, 39] Operation: 41-2=39
Exploring Operation: 41/41=1, Resulting Numbers: [2, 8, 1]
Generated Node #0,1: 72:[2, 8, 1] Operation: 41/41=1
Exploring Operation: 41-41=0, Resulting Numbers: [2, 8, 0]
Generated Node #0,2: 72:[2, 8, 0] Operation: 41-41=0
Exploring Operation: 41-2=39, Resulting Numbers: [8, 41, 39]
Generated Node #0,3: 72:[8, 41, 39] Operation: 41-2=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[2, 8, 1], Operations: ['41/41=1']
Exploring Operation: 2/1=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 72:[8, 2] Operation: 2/1=2
Exploring Operation: 8+1=9, Resulting Numbers: [2, 9]
Generated Node #0,1,1: 72:[2, 9] Operation: 8+1=9
Exploring Operation: 2+1=3, Resulting Numbers: [8, 3]
Generated Node #0,1,2: 72:[8, 3] Operation: 2+1=3
Exploring Operation: 2*1=2, Resulting Numbers: [8, 2]
Generated Node #0,1,3: 72:[8, 2] Operation: 2*1=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[8, 2], Operations: ['41/41=1', '2/1=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 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: 72:[2, 9], Operations: ['41/41=1', '8+1=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,72 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: 72:[8, 3], Operations: ['41/41=1', '2+1=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,72 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: 72:[8, 2], Operations: ['41/41=1', '2*1=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,72 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: 72:[2, 8, 0], Operations: ['41-41=0']
Exploring Operation: 8-0=8, Resulting Numbers: [2, 8]
Generated Node #0,2,0: 72:[2, 8] Operation: 8-0=8
Exploring Operation: 8+0=8, Resulting Numbers: [2, 8]
Generated Node #0,2,1: 72:[2, 8] Operation: 8+0=8
Exploring Operation: 2-0=2, Resulting Numbers: [8, 2]
Generated Node #0,2,2: 72:[8, 2] Operation: 2-0=2
Exploring Operation: 2+0=2, Resulting Numbers: [8, 2]
Generated Node #0,2,3: 72:[8, 2] Operation: 2+0=2
Moving to Node #0,2,0
Current State: 72:[2, 8], Operations: ['41-41=0', '8-0=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[8, 2], Operations: ['41-41=0', '2-0=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[2, 8], Operations: ['41-41=0', '8+0=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[8, 2], Operations: ['41-41=0', '2+0=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,72 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: 72:[41, 8, 39], Operations: ['41-2=39']
Exploring Operation: 41-8=33, Resulting Numbers: [39, 33]
Generated Node #0,0,0: 72:[39, 33] Operation: 41-8=33
Exploring Operation: 41-39=2, Resulting Numbers: [8, 2]
Generated Node #0,0,1: 72:[8, 2] Operation: 41-39=2
Exploring Operation: 39-8=31, Resulting Numbers: [41, 31]
Generated Node #0,0,2: 72:[41, 31] Operation: 39-8=31
Exploring Operation: 41+39=80, Resulting Numbers: [8, 80]
Generated Node #0,0,3: 72:[8, 80] Operation: 41+39=80
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[8, 2], Operations: ['41-2=39', '41-39=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,72 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: 72:[39, 33], Operations: ['41-2=39', '41-8=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[2, 41, 8, 41], Operations: []
Exploring Operation: 41-2=39, Resulting Numbers: [41, 8, 39]
Generated Node #0,0: 72:[41, 8, 39] Operation: 41-2=39
Moving to Node #0,0
Current State: 72:[41, 8, 39], Operations: ['41-2=39']
Exploring Operation: 41-8=33, Resulting Numbers: [39, 33]
Generated Node #0,0,0: 72:[39, 33] Operation: 41-8=33
Moving to Node #0,0,0
Current State: 72:[39, 33], Operations: ['41-2=39', '41-8=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.952257 | hs_4 | mult_heuristic |
[
25,
83,
82,
10
] | 19 | [
"25+83=108",
"82+108=190",
"190/10=19"
] | Current State: 19:[25, 83, 82, 10], Operations: []
Exploring Operation: 25+83=108, Resulting Numbers: [82, 10, 108]
Generated Node #2: [82, 10, 108] from Operation: 25+83=108
Current State: 19:[82, 10, 108], Operations: ['25+83=108']
Exploring Operation: 82+108=190, Resulting Numbers: [10, 190]
Generated Node #3: [10, 190] from Operation: 82+108=190
Current State: 19:[10, 190], Operations: ['25+83=108', '82+108=190']
Exploring Operation: 190/10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[25, 83, 82, 10], Operations: []
Exploring Operation: 83-10=73, Resulting Numbers: [25, 82, 73]
Generated Node #0,0: 19:[25, 82, 73] Operation: 83-10=73
Exploring Operation: 82-25=57, Resulting Numbers: [83, 10, 57]
Generated Node #0,1: 19:[83, 10, 57] Operation: 82-25=57
Exploring Operation: 82-10=72, Resulting Numbers: [25, 83, 72]
Generated Node #0,2: 19:[25, 83, 72] Operation: 82-10=72
Exploring Operation: 83-25=58, Resulting Numbers: [82, 10, 58]
Generated Node #0,3: 19:[82, 10, 58] Operation: 83-25=58
Exploring Operation: 83-82=1, Resulting Numbers: [25, 10, 1]
Generated Node #0,4: 19:[25, 10, 1] Operation: 83-82=1
Moving to Node #0,4
Current State: 19:[25, 10, 1], Operations: ['83-82=1']
Exploring Operation: 25-1=24, Resulting Numbers: [10, 24]
Generated Node #0,4,0: 19:[10, 24] Operation: 25-1=24
Exploring Operation: 25*1=25, Resulting Numbers: [10, 25]
Generated Node #0,4,1: 19:[10, 25] Operation: 25*1=25
Exploring Operation: 10*1=10, Resulting Numbers: [25, 10]
Generated Node #0,4,2: 19:[25, 10] Operation: 10*1=10
Exploring Operation: 10+1=11, Resulting Numbers: [25, 11]
Generated Node #0,4,3: 19:[25, 11] Operation: 10+1=11
Exploring Operation: 25/1=25, Resulting Numbers: [10, 25]
Generated Node #0,4,4: 19:[10, 25] Operation: 25/1=25
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 19:[10, 24], Operations: ['83-82=1', '25-1=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,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,4,3
Current State: 19:[25, 11], Operations: ['83-82=1', '10+1=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,19 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,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,4,1
Current State: 19:[10, 25], Operations: ['83-82=1', '25*1=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,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,4,2
Current State: 19:[25, 10], Operations: ['83-82=1', '10*1=10']
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,19 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,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,4,4
Current State: 19:[10, 25], Operations: ['83-82=1', '25/1=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,19 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: 19:[82, 10, 58], Operations: ['83-25=58']
Exploring Operation: 82-10=72, Resulting Numbers: [58, 72]
Generated Node #0,3,0: 19:[58, 72] Operation: 82-10=72
Exploring Operation: 82+10=92, Resulting Numbers: [58, 92]
Generated Node #0,3,1: 19:[58, 92] Operation: 82+10=92
Exploring Operation: 10+58=68, Resulting Numbers: [82, 68]
Generated Node #0,3,2: 19:[82, 68] Operation: 10+58=68
Exploring Operation: 58-10=48, Resulting Numbers: [82, 48]
Generated Node #0,3,3: 19:[82, 48] Operation: 58-10=48
Exploring Operation: 82-58=24, Resulting Numbers: [10, 24]
Generated Node #0,3,4: 19:[10, 24] Operation: 82-58=24
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[10, 24], Operations: ['83-25=58', '82-58=24']
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,19 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,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,3,0
Current State: 19:[58, 72], Operations: ['83-25=58', '82-10=72']
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 58*72=4176, Resulting Numbers: [4176]
4176,19 unequal: No Solution
Exploring Operation: 58+72=130, Resulting Numbers: [130]
130,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,3,3
Current State: 19:[82, 48], Operations: ['83-25=58', '58-10=48']
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,19 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,19 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,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,3,1
Current State: 19:[58, 92], Operations: ['83-25=58', '82+10=92']
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 58+92=150, Resulting Numbers: [150]
150,19 unequal: No Solution
Exploring Operation: 58*92=5336, Resulting Numbers: [5336]
5336,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,3,2
Current State: 19:[82, 68], Operations: ['83-25=58', '10+58=68']
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,19 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,19 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: 19:[83, 10, 57], Operations: ['82-25=57']
Exploring Operation: 10+57=67, Resulting Numbers: [83, 67]
Generated Node #0,1,0: 19:[83, 67] Operation: 10+57=67
Exploring Operation: 83-57=26, Resulting Numbers: [10, 26]
Generated Node #0,1,1: 19:[10, 26] Operation: 83-57=26
Exploring Operation: 83-10=73, Resulting Numbers: [57, 73]
Generated Node #0,1,2: 19:[57, 73] Operation: 83-10=73
Exploring Operation: 83+10=93, Resulting Numbers: [57, 93]
Generated Node #0,1,3: 19:[57, 93] Operation: 83+10=93
Exploring Operation: 57-10=47, Resulting Numbers: [83, 47]
Generated Node #0,1,4: 19:[83, 47] Operation: 57-10=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[10, 26], Operations: ['82-25=57', '83-57=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,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,1,2
Current State: 19:[57, 73], Operations: ['82-25=57', '83-10=73']
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,19 unequal: No Solution
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,19 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,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,1,4
Current State: 19:[83, 47], Operations: ['82-25=57', '57-10=47']
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,19 unequal: No Solution
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,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,1,0
Current State: 19:[83, 67], Operations: ['82-25=57', '10+57=67']
Exploring Operation: 83*67=5561, Resulting Numbers: [5561]
5561,19 unequal: No Solution
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 83+67=150, Resulting Numbers: [150]
150,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,1,3
Current State: 19:[57, 93], Operations: ['82-25=57', '83+10=93']
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,19 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,19 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: 19:[25, 82, 73], Operations: ['83-10=73']
Exploring Operation: 82-25=57, Resulting Numbers: [73, 57]
Generated Node #0,0,0: 19:[73, 57] Operation: 82-25=57
Exploring Operation: 82-73=9, Resulting Numbers: [25, 9]
Generated Node #0,0,1: 19:[25, 9] Operation: 82-73=9
Exploring Operation: 25+82=107, Resulting Numbers: [73, 107]
Generated Node #0,0,2: 19:[73, 107] Operation: 25+82=107
Exploring Operation: 73-25=48, Resulting Numbers: [82, 48]
Generated Node #0,0,3: 19:[82, 48] Operation: 73-25=48
Exploring Operation: 25+73=98, Resulting Numbers: [82, 98]
Generated Node #0,0,4: 19:[82, 98] Operation: 25+73=98
Moving to Node #0,2
Current State: 19:[25, 83, 72], Operations: ['82-10=72']
Exploring Operation: 25+72=97, Resulting Numbers: [83, 97]
Generated Node #0,2,0: 19:[83, 97] Operation: 25+72=97
Exploring Operation: 72-25=47, Resulting Numbers: [83, 47]
Generated Node #0,2,1: 19:[83, 47] Operation: 72-25=47
Exploring Operation: 83-25=58, Resulting Numbers: [72, 58]
Generated Node #0,2,2: 19:[72, 58] Operation: 83-25=58
Exploring Operation: 25+83=108, Resulting Numbers: [72, 108]
Generated Node #0,2,3: 19:[72, 108] Operation: 25+83=108
Exploring Operation: 83-72=11, Resulting Numbers: [25, 11]
Generated Node #0,2,4: 19:[25, 11] Operation: 83-72=11
Moving to Node #0,2,4
Current State: 19:[25, 11], Operations: ['82-10=72', '83-72=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[25, 9], Operations: ['83-10=73', '82-73=9']
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,19 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[83, 47], Operations: ['82-10=72', '72-25=47']
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,19 unequal: No Solution
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,19 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[82, 48], Operations: ['83-10=73', '73-25=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,19 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[73, 57], Operations: ['83-10=73', '82-25=57']
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,19 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[72, 58], Operations: ['82-10=72', '83-25=58']
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,19 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[72, 108], Operations: ['82-10=72', '25+83=108']
Exploring Operation: 72*108=7776, Resulting Numbers: [7776]
7776,19 unequal: No Solution
Exploring Operation: 108-72=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 72+108=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[83, 97], Operations: ['82-10=72', '25+72=97']
Exploring Operation: 83+97=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Exploring Operation: 97-83=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 83*97=8051, Resulting Numbers: [8051]
8051,19 unequal: No Solution
Moving to Node #0,0,4
Current State: 19:[82, 98], Operations: ['83-10=73', '25+73=98']
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[73, 107], Operations: ['83-10=73', '25+82=107']
Exploring Operation: 73+107=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Exploring Operation: 73*107=7811, Resulting Numbers: [7811]
7811,19 unequal: No Solution
Exploring Operation: 107-73=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
81,
71,
45
] | 80 | [
"54-45=9",
"81/9=9",
"71+9=80"
] | Current State: 80:[54, 81, 71, 45], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [81, 71, 9]
Generated Node #2: [81, 71, 9] from Operation: 54-45=9
Current State: 80:[81, 71, 9], Operations: ['54-45=9']
Exploring Operation: 81/9=9, Resulting Numbers: [71, 9]
Generated Node #3: [71, 9] from Operation: 81/9=9
Current State: 80:[71, 9], Operations: ['54-45=9', '81/9=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[54, 81, 71, 45], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [54, 45, 10]
Generated Node #0,0: 80:[54, 45, 10] Operation: 81-71=10
Exploring Operation: 71-54=17, Resulting Numbers: [81, 45, 17]
Generated Node #0,1: 80:[81, 45, 17] Operation: 71-54=17
Exploring Operation: 81-54=27, Resulting Numbers: [71, 45, 27]
Generated Node #0,2: 80:[71, 45, 27] Operation: 81-54=27
Exploring Operation: 54-45=9, Resulting Numbers: [81, 71, 9]
Generated Node #0,3: 80:[81, 71, 9] Operation: 54-45=9
Exploring Operation: 71-45=26, Resulting Numbers: [54, 81, 26]
Generated Node #0,4: 80:[54, 81, 26] Operation: 71-45=26
Moving to Node #0,1
Current State: 80:[81, 45, 17], Operations: ['71-54=17']
Exploring Operation: 81-45=36, Resulting Numbers: [17, 36]
Generated Node #0,1,0: 80:[17, 36] Operation: 81-45=36
Exploring Operation: 81+17=98, Resulting Numbers: [45, 98]
Generated Node #0,1,1: 80:[45, 98] Operation: 81+17=98
Exploring Operation: 45+17=62, Resulting Numbers: [81, 62]
Generated Node #0,1,2: 80:[81, 62] Operation: 45+17=62
Exploring Operation: 81-17=64, Resulting Numbers: [45, 64]
Generated Node #0,1,3: 80:[45, 64] Operation: 81-17=64
Exploring Operation: 45-17=28, Resulting Numbers: [81, 28]
Generated Node #0,1,4: 80:[81, 28] Operation: 45-17=28
Moving to Node #0,3
Current State: 80:[81, 71, 9], Operations: ['54-45=9']
Exploring Operation: 81/9=9, Resulting Numbers: [71, 9]
Generated Node #0,3,0: 80:[71, 9] Operation: 81/9=9
Exploring Operation: 71+9=80, Resulting Numbers: [81, 80]
Generated Node #0,3,1: 80:[81, 80] Operation: 71+9=80
Exploring Operation: 81-71=10, Resulting Numbers: [9, 10]
Generated Node #0,3,2: 80:[9, 10] Operation: 81-71=10
Exploring Operation: 81-9=72, Resulting Numbers: [71, 72]
Generated Node #0,3,3: 80:[71, 72] Operation: 81-9=72
Exploring Operation: 81+9=90, Resulting Numbers: [71, 90]
Generated Node #0,3,4: 80:[71, 90] Operation: 81+9=90
Moving to Node #0,0
Current State: 80:[54, 45, 10], Operations: ['81-71=10']
Exploring Operation: 54+45=99, Resulting Numbers: [10, 99]
Generated Node #0,0,0: 80:[10, 99] Operation: 54+45=99
Exploring Operation: 54+10=64, Resulting Numbers: [45, 64]
Generated Node #0,0,1: 80:[45, 64] Operation: 54+10=64
Exploring Operation: 45-10=35, Resulting Numbers: [54, 35]
Generated Node #0,0,2: 80:[54, 35] Operation: 45-10=35
Exploring Operation: 54-10=44, Resulting Numbers: [45, 44]
Generated Node #0,0,3: 80:[45, 44] Operation: 54-10=44
Exploring Operation: 54-45=9, Resulting Numbers: [10, 9]
Generated Node #0,0,4: 80:[10, 9] Operation: 54-45=9
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[10, 9], Operations: ['81-71=10', '54-45=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,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,0,3
Current State: 80:[45, 44], Operations: ['81-71=10', '54-10=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,80 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,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,0,0
Current State: 80:[10, 99], Operations: ['81-71=10', '54+45=99']
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,80 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,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,0,2
Current State: 80:[54, 35], Operations: ['81-71=10', '45-10=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,80 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,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,0,1
Current State: 80:[45, 64], Operations: ['81-71=10', '54+10=64']
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,80 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,80 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: 80:[71, 45, 27], Operations: ['81-54=27']
Exploring Operation: 71-45=26, Resulting Numbers: [27, 26]
Generated Node #0,2,0: 80:[27, 26] Operation: 71-45=26
Exploring Operation: 45-27=18, Resulting Numbers: [71, 18]
Generated Node #0,2,1: 80:[71, 18] Operation: 45-27=18
Exploring Operation: 71-27=44, Resulting Numbers: [45, 44]
Generated Node #0,2,2: 80:[45, 44] Operation: 71-27=44
Exploring Operation: 45+27=72, Resulting Numbers: [71, 72]
Generated Node #0,2,3: 80:[71, 72] Operation: 45+27=72
Exploring Operation: 71+27=98, Resulting Numbers: [45, 98]
Generated Node #0,2,4: 80:[45, 98] Operation: 71+27=98
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[45, 44], Operations: ['81-54=27', '71-27=44']
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,80 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,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,2,1
Current State: 80:[71, 18], Operations: ['81-54=27', '45-27=18']
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,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,2,0
Current State: 80:[27, 26], Operations: ['81-54=27', '71-45=26']
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,80 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,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,2,3
Current State: 80:[71, 72], Operations: ['81-54=27', '45+27=72']
Exploring Operation: 71*72=5112, Resulting Numbers: [5112]
5112,80 unequal: No Solution
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,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,2,4
Current State: 80:[45, 98], Operations: ['81-54=27', '71+27=98']
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,80 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: 80:[54, 81, 26], Operations: ['71-45=26']
Exploring Operation: 54-26=28, Resulting Numbers: [81, 28]
Generated Node #0,4,0: 80:[81, 28] Operation: 54-26=28
Exploring Operation: 81-26=55, Resulting Numbers: [54, 55]
Generated Node #0,4,1: 80:[54, 55] Operation: 81-26=55
Exploring Operation: 81-54=27, Resulting Numbers: [26, 27]
Generated Node #0,4,2: 80:[26, 27] Operation: 81-54=27
Exploring Operation: 81+26=107, Resulting Numbers: [54, 107]
Generated Node #0,4,3: 80:[54, 107] Operation: 81+26=107
Exploring Operation: 54+26=80, Resulting Numbers: [81, 80]
Generated Node #0,4,4: 80:[81, 80] Operation: 54+26=80
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[81, 80], Operations: ['71-45=26', '54+26=80']
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,80 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,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,4,0
Current State: 80:[81, 28], Operations: ['71-45=26', '54-26=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,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,4,2
Current State: 80:[26, 27], Operations: ['71-45=26', '81-54=27']
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,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,4,1
Current State: 80:[54, 55], Operations: ['71-45=26', '81-26=55']
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,80 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,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,4,3
Current State: 80:[54, 107], Operations: ['71-45=26', '81+26=107']
Exploring Operation: 107-54=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 54*107=5778, Resulting Numbers: [5778]
5778,80 unequal: No Solution
Exploring Operation: 54+107=161, Resulting Numbers: [161]
161,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 80:[81, 80], Operations: ['54-45=9', '71+9=80']
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,80 unequal: No Solution
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[9, 10], Operations: ['54-45=9', '81-71=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,80 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[17, 36], Operations: ['71-54=17', '81-45=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,80 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[81, 28], Operations: ['71-54=17', '45-17=28']
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[71, 9], Operations: ['54-45=9', '81/9=9']
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,80 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[54, 81, 71, 45], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [81, 71, 9]
Generated Node #0,3: 80:[81, 71, 9] Operation: 54-45=9
Moving to Node #0,3
Current State: 80:[81, 71, 9], Operations: ['54-45=9']
Exploring Operation: 81/9=9, Resulting Numbers: [71, 9]
Generated Node #0,3,0: 80:[71, 9] Operation: 81/9=9
Moving to Node #0,3,0
Current State: 80:[71, 9], Operations: ['54-45=9', '81/9=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.918403 | hs_5 | sum_heuristic |
[
33,
70,
13,
67
] | 91 | [
"70-33=37",
"67-13=54",
"37+54=91"
] | Current State: 91:[33, 70, 13, 67], Operations: []
Exploring Operation: 70-33=37, Resulting Numbers: [13, 67, 37]
Generated Node #2: [13, 67, 37] from Operation: 70-33=37
Current State: 91:[13, 67, 37], Operations: ['70-33=37']
Exploring Operation: 67-13=54, Resulting Numbers: [37, 54]
Generated Node #3: [37, 54] from Operation: 67-13=54
Current State: 91:[37, 54], Operations: ['70-33=37', '67-13=54']
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[33, 70, 13, 67], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [33, 13, 3]
Generated Node #0,0: 91:[33, 13, 3] Operation: 70-67=3
Exploring Operation: 33+67=100, Resulting Numbers: [70, 13, 100]
Generated Node #0,1: 91:[70, 13, 100] Operation: 33+67=100
Exploring Operation: 67-33=34, Resulting Numbers: [70, 13, 34]
Generated Node #0,2: 91:[70, 13, 34] Operation: 67-33=34
Exploring Operation: 33+70=103, Resulting Numbers: [13, 67, 103]
Generated Node #0,3: 91:[13, 67, 103] Operation: 33+70=103
Exploring Operation: 70-33=37, Resulting Numbers: [13, 67, 37]
Generated Node #0,4: 91:[13, 67, 37] Operation: 70-33=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[33, 13, 3], Operations: ['70-67=3']
Exploring Operation: 33+3=36, Resulting Numbers: [13, 36]
Generated Node #0,0,0: 91:[13, 36] Operation: 33+3=36
Exploring Operation: 33*3=99, Resulting Numbers: [13, 99]
Generated Node #0,0,1: 91:[13, 99] Operation: 33*3=99
Exploring Operation: 33-3=30, Resulting Numbers: [13, 30]
Generated Node #0,0,2: 91:[13, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [13, 11]
Generated Node #0,0,3: 91:[13, 11] Operation: 33/3=11
Exploring Operation: 33-13=20, Resulting Numbers: [3, 20]
Generated Node #0,0,4: 91:[3, 20] Operation: 33-13=20
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[13, 11], Operations: ['70-67=3', '33/3=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,91 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: 91:[13, 99], Operations: ['70-67=3', '33*3=99']
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,91 unequal: No Solution
Exploring Operation: 13+99=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 13*99=1287, Resulting Numbers: [1287]
1287,91 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: 91:[3, 20], Operations: ['70-67=3', '33-13=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,91 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: 91:[13, 30], Operations: ['70-67=3', '33-3=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,91 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,91 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: 91:[13, 36], Operations: ['70-67=3', '33+3=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,91 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,91 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: 91:[70, 13, 100], Operations: ['33+67=100']
Exploring Operation: 100-70=30, Resulting Numbers: [13, 30]
Generated Node #0,1,0: 91:[13, 30] Operation: 100-70=30
Exploring Operation: 13+100=113, Resulting Numbers: [70, 113]
Generated Node #0,1,1: 91:[70, 113] Operation: 13+100=113
Exploring Operation: 70+13=83, Resulting Numbers: [100, 83]
Generated Node #0,1,2: 91:[100, 83] Operation: 70+13=83
Exploring Operation: 70-13=57, Resulting Numbers: [100, 57]
Generated Node #0,1,3: 91:[100, 57] Operation: 70-13=57
Exploring Operation: 100-13=87, Resulting Numbers: [70, 87]
Generated Node #0,1,4: 91:[70, 87] Operation: 100-13=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[13, 30], Operations: ['33+67=100', '100-70=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,91 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,91 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: 91:[100, 83], Operations: ['33+67=100', '70+13=83']
Exploring Operation: 100*83=8300, Resulting Numbers: [8300]
8300,91 unequal: No Solution
Exploring Operation: 100+83=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,91 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: 91:[70, 87], Operations: ['33+67=100', '100-13=87']
Exploring Operation: 70*87=6090, Resulting Numbers: [6090]
6090,91 unequal: No Solution
Exploring Operation: 70+87=157, Resulting Numbers: [157]
157,91 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,91 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: 91:[70, 113], Operations: ['33+67=100', '13+100=113']
Exploring Operation: 70*113=7910, Resulting Numbers: [7910]
7910,91 unequal: No Solution
Exploring Operation: 70+113=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 113-70=43, Resulting Numbers: [43]
43,91 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: 91:[100, 57], Operations: ['33+67=100', '70-13=57']
Exploring Operation: 100*57=5700, Resulting Numbers: [5700]
5700,91 unequal: No Solution
Exploring Operation: 100+57=157, Resulting Numbers: [157]
157,91 unequal: No Solution
Exploring Operation: 100-57=43, Resulting Numbers: [43]
43,91 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: 91:[13, 67, 103], Operations: ['33+70=103']
Exploring Operation: 103-67=36, Resulting Numbers: [13, 36]
Generated Node #0,3,0: 91:[13, 36] Operation: 103-67=36
Exploring Operation: 103-13=90, Resulting Numbers: [67, 90]
Generated Node #0,3,1: 91:[67, 90] Operation: 103-13=90
Exploring Operation: 13+103=116, Resulting Numbers: [67, 116]
Generated Node #0,3,2: 91:[67, 116] Operation: 13+103=116
Exploring Operation: 67-13=54, Resulting Numbers: [103, 54]
Generated Node #0,3,3: 91:[103, 54] Operation: 67-13=54
Exploring Operation: 13+67=80, Resulting Numbers: [103, 80]
Generated Node #0,3,4: 91:[103, 80] Operation: 13+67=80
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 91:[13, 36], Operations: ['33+70=103', '103-67=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,91 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,4
Current State: 91:[103, 80], Operations: ['33+70=103', '13+67=80']
Exploring Operation: 103*80=8240, Resulting Numbers: [8240]
8240,91 unequal: No Solution
Exploring Operation: 103+80=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 103-80=23, Resulting Numbers: [23]
23,91 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: 91:[67, 90], Operations: ['33+70=103', '103-13=90']
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,91 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,91 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: 91:[67, 116], Operations: ['33+70=103', '13+103=116']
Exploring Operation: 67+116=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 116-67=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 67*116=7772, Resulting Numbers: [7772]
7772,91 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: 91:[103, 54], Operations: ['33+70=103', '67-13=54']
Exploring Operation: 103+54=157, Resulting Numbers: [157]
157,91 unequal: No Solution
Exploring Operation: 103-54=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 103*54=5562, Resulting Numbers: [5562]
5562,91 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: 91:[70, 13, 34], Operations: ['67-33=34']
Exploring Operation: 70-13=57, Resulting Numbers: [34, 57]
Generated Node #0,2,0: 91:[34, 57] Operation: 70-13=57
Exploring Operation: 70+34=104, Resulting Numbers: [13, 104]
Generated Node #0,2,1: 91:[13, 104] Operation: 70+34=104
Exploring Operation: 34-13=21, Resulting Numbers: [70, 21]
Generated Node #0,2,2: 91:[70, 21] Operation: 34-13=21
Exploring Operation: 70-34=36, Resulting Numbers: [13, 36]
Generated Node #0,2,3: 91:[13, 36] Operation: 70-34=36
Exploring Operation: 70+13=83, Resulting Numbers: [34, 83]
Generated Node #0,2,4: 91:[34, 83] Operation: 70+13=83
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[13, 104], Operations: ['67-33=34', '70+34=104']
Exploring Operation: 13+104=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 104-13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[33, 70, 13, 67], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [70, 13, 34]
Generated Node #0,2: 91:[70, 13, 34] Operation: 67-33=34
Moving to Node #0,2
Current State: 91:[70, 13, 34], Operations: ['67-33=34']
Exploring Operation: 70+34=104, Resulting Numbers: [13, 104]
Generated Node #0,2,1: 91:[13, 104] Operation: 70+34=104
Moving to Node #0,2,1
Current State: 91:[13, 104], Operations: ['67-33=34', '70+34=104']
Exploring Operation: 104-13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.934028 | hs_5 | sum_heuristic |
[
17,
10,
30,
43
] | 100 | [
"17+10=27",
"30+43=73",
"27+73=100"
] | Current State: 100:[17, 10, 30, 43], Operations: []
Exploring Operation: 17+10=27, Resulting Numbers: [30, 43, 27]
Generated Node #2: [30, 43, 27] from Operation: 17+10=27
Current State: 100:[30, 43, 27], Operations: ['17+10=27']
Exploring Operation: 30+43=73, Resulting Numbers: [27, 73]
Generated Node #3: [27, 73] from Operation: 30+43=73
Current State: 100:[27, 73], Operations: ['17+10=27', '30+43=73']
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[17, 10, 30, 43], Operations: []
Exploring Operation: 17+30=47, Resulting Numbers: [10, 43, 47]
Generated Node #0,0: 100:[10, 43, 47] Operation: 17+30=47
Exploring Operation: 43-17=26, Resulting Numbers: [10, 30, 26]
Generated Node #0,1: 100:[10, 30, 26] Operation: 43-17=26
Exploring Operation: 43-30=13, Resulting Numbers: [17, 10, 13]
Generated Node #0,2: 100:[17, 10, 13] Operation: 43-30=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[10, 30, 26], Operations: ['43-17=26']
Exploring Operation: 30-26=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 100:[10, 4] Operation: 30-26=4
Exploring Operation: 30/10=3, Resulting Numbers: [26, 3]
Generated Node #0,1,1: 100:[26, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [26, 20]
Generated Node #0,1,2: 100:[26, 20] Operation: 30-10=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[10, 4], Operations: ['43-17=26', '30-26=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,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,1,2
Current State: 100:[26, 20], Operations: ['43-17=26', '30-10=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,100 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,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,1,1
Current State: 100:[26, 3], Operations: ['43-17=26', '30/10=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,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,2
Current State: 100:[17, 10, 13], Operations: ['43-30=13']
Exploring Operation: 13-10=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 100:[17, 3] Operation: 13-10=3
Exploring Operation: 17-13=4, Resulting Numbers: [10, 4]
Generated Node #0,2,1: 100:[10, 4] Operation: 17-13=4
Exploring Operation: 17+10=27, Resulting Numbers: [13, 27]
Generated Node #0,2,2: 100:[13, 27] Operation: 17+10=27
Moving to Node #0,2,1
Current State: 100:[10, 4], Operations: ['43-30=13', '17-13=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[17, 3], Operations: ['43-30=13', '13-10=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[13, 27], Operations: ['43-30=13', '17+10=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,100 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,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
Current State: 100:[10, 43, 47], Operations: ['17+30=47']
Exploring Operation: 47-43=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 100:[10, 4] Operation: 47-43=4
Exploring Operation: 43+47=90, Resulting Numbers: [10, 90]
Generated Node #0,0,1: 100:[10, 90] Operation: 43+47=90
Exploring Operation: 10+43=53, Resulting Numbers: [47, 53]
Generated Node #0,0,2: 100:[47, 53] Operation: 10+43=53
Moving to Node #0,0,0
Current State: 100:[10, 4], Operations: ['17+30=47', '47-43=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[47, 53], Operations: ['17+30=47', '10+43=53']
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[17, 10, 30, 43], Operations: []
Exploring Operation: 17+30=47, Resulting Numbers: [10, 43, 47]
Generated Node #0,0: 100:[10, 43, 47] Operation: 17+30=47
Moving to Node #0,0
Current State: 100:[10, 43, 47], Operations: ['17+30=47']
Exploring Operation: 10+43=53, Resulting Numbers: [47, 53]
Generated Node #0,0,2: 100:[47, 53] Operation: 10+43=53
Moving to Node #0,0,2
Current State: 100:[47, 53], Operations: ['17+30=47', '10+43=53']
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_3 | mult_heuristic |
[
59,
16,
94,
90
] | 39 | [
"59-16=43",
"94-90=4",
"43-4=39"
] | Current State: 39:[59, 16, 94, 90], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [94, 90, 43]
Generated Node #2: [94, 90, 43] from Operation: 59-16=43
Current State: 39:[94, 90, 43], Operations: ['59-16=43']
Exploring Operation: 94-90=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 94-90=4
Current State: 39:[43, 4], Operations: ['59-16=43', '94-90=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[59, 16, 94, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [59, 16, 4]
Generated Node #0,0: 39:[59, 16, 4] Operation: 94-90=4
Moving to Node #0,0
Current State: 39:[59, 16, 4], Operations: ['94-90=4']
Exploring Operation: 59-16=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 39:[4, 43] Operation: 59-16=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[4, 43], Operations: ['94-90=4', '59-16=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[59, 16, 94, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [59, 16, 4]
Generated Node #0,0: 39:[59, 16, 4] Operation: 94-90=4
Moving to Node #0,0
Current State: 39:[59, 16, 4], Operations: ['94-90=4']
Exploring Operation: 59-16=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 39:[4, 43] Operation: 59-16=43
Moving to Node #0,0,0
Current State: 39:[4, 43], Operations: ['94-90=4', '59-16=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
44,
59,
36,
96
] | 75 | [
"59-44=15",
"96-36=60",
"15+60=75"
] | Current State: 75:[44, 59, 36, 96], Operations: []
Exploring Operation: 59-44=15, Resulting Numbers: [36, 96, 15]
Generated Node #2: [36, 96, 15] from Operation: 59-44=15
Current State: 75:[36, 96, 15], Operations: ['59-44=15']
Exploring Operation: 96-36=60, Resulting Numbers: [15, 60]
Generated Node #3: [15, 60] from Operation: 96-36=60
Current State: 75:[15, 60], Operations: ['59-44=15', '96-36=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[44, 59, 36, 96], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [44, 96, 23]
Generated Node #0,0: 75:[44, 96, 23] Operation: 59-36=23
Exploring Operation: 96-59=37, Resulting Numbers: [44, 36, 37]
Generated Node #0,1: 75:[44, 36, 37] Operation: 96-59=37
Exploring Operation: 44-36=8, Resulting Numbers: [59, 96, 8]
Generated Node #0,2: 75:[59, 96, 8] Operation: 44-36=8
Exploring Operation: 59-44=15, Resulting Numbers: [36, 96, 15]
Generated Node #0,3: 75:[36, 96, 15] Operation: 59-44=15
Exploring Operation: 44+36=80, Resulting Numbers: [59, 96, 80]
Generated Node #0,4: 75:[59, 96, 80] Operation: 44+36=80
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[36, 96, 15], Operations: ['59-44=15']
Exploring Operation: 96+15=111, Resulting Numbers: [36, 111]
Generated Node #0,3,0: 75:[36, 111] Operation: 96+15=111
Exploring Operation: 36-15=21, Resulting Numbers: [96, 21]
Generated Node #0,3,1: 75:[96, 21] Operation: 36-15=21
Exploring Operation: 36+15=51, Resulting Numbers: [96, 51]
Generated Node #0,3,2: 75:[96, 51] Operation: 36+15=51
Exploring Operation: 96-36=60, Resulting Numbers: [15, 60]
Generated Node #0,3,3: 75:[15, 60] Operation: 96-36=60
Exploring Operation: 96-15=81, Resulting Numbers: [36, 81]
Generated Node #0,3,4: 75:[36, 81] Operation: 96-15=81
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[15, 60], Operations: ['59-44=15', '96-36=60']
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,75 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[44, 59, 36, 96], Operations: []
Exploring Operation: 59-44=15, Resulting Numbers: [36, 96, 15]
Generated Node #0,3: 75:[36, 96, 15] Operation: 59-44=15
Moving to Node #0,3
Current State: 75:[36, 96, 15], Operations: ['59-44=15']
Exploring Operation: 96-36=60, Resulting Numbers: [15, 60]
Generated Node #0,3,3: 75:[15, 60] Operation: 96-36=60
Moving to Node #0,3,3
Current State: 75:[15, 60], Operations: ['59-44=15', '96-36=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
11,
33,
83,
64
] | 49 | [
"33/11=3",
"83+64=147",
"147/3=49"
] | Current State: 49:[11, 33, 83, 64], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [83, 64, 3]
Generated Node #2: [83, 64, 3] from Operation: 33/11=3
Current State: 49:[83, 64, 3], Operations: ['33/11=3']
Exploring Operation: 83+64=147, Resulting Numbers: [3, 147]
Generated Node #3: [3, 147] from Operation: 83+64=147
Current State: 49:[3, 147], Operations: ['33/11=3', '83+64=147']
Exploring Operation: 147/3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[11, 33, 83, 64], Operations: []
Exploring Operation: 83-33=50, Resulting Numbers: [11, 64, 50]
Generated Node #0,0: 49:[11, 64, 50] Operation: 83-33=50
Moving to Node #0,0
Current State: 49:[11, 64, 50], Operations: ['83-33=50']
Exploring Operation: 64-11=53, Resulting Numbers: [50, 53]
Generated Node #0,0,0: 49:[50, 53] Operation: 64-11=53
Moving to Node #0,0,0
Current State: 49:[50, 53], Operations: ['83-33=50', '64-11=53']
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
71,
49,
95
] | 92 | [
"67+71=138",
"95-49=46",
"138-46=92"
] | Current State: 92:[67, 71, 49, 95], Operations: []
Exploring Operation: 67+71=138, Resulting Numbers: [49, 95, 138]
Generated Node #2: [49, 95, 138] from Operation: 67+71=138
Current State: 92:[49, 95, 138], Operations: ['67+71=138']
Exploring Operation: 95-49=46, Resulting Numbers: [138, 46]
Generated Node #3: [138, 46] from Operation: 95-49=46
Current State: 92:[138, 46], Operations: ['67+71=138', '95-49=46']
Exploring Operation: 138-46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[67, 71, 49, 95], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [49, 95, 4]
Generated Node #0,0: 92:[49, 95, 4] Operation: 71-67=4
Exploring Operation: 67-49=18, Resulting Numbers: [71, 95, 18]
Generated Node #0,1: 92:[71, 95, 18] Operation: 67-49=18
Exploring Operation: 95-71=24, Resulting Numbers: [67, 49, 24]
Generated Node #0,2: 92:[67, 49, 24] Operation: 95-71=24
Exploring Operation: 71-49=22, Resulting Numbers: [67, 95, 22]
Generated Node #0,3: 92:[67, 95, 22] Operation: 71-49=22
Moving to Node #0,0
Current State: 92:[49, 95, 4], Operations: ['71-67=4']
Exploring Operation: 49+4=53, Resulting Numbers: [95, 53]
Generated Node #0,0,0: 92:[95, 53] Operation: 49+4=53
Exploring Operation: 95-4=91, Resulting Numbers: [49, 91]
Generated Node #0,0,1: 92:[49, 91] Operation: 95-4=91
Exploring Operation: 95-49=46, Resulting Numbers: [4, 46]
Generated Node #0,0,2: 92:[4, 46] Operation: 95-49=46
Exploring Operation: 49-4=45, Resulting Numbers: [95, 45]
Generated Node #0,0,3: 92:[95, 45] Operation: 49-4=45
Moving to Node #0,3
Current State: 92:[67, 95, 22], Operations: ['71-49=22']
Exploring Operation: 95-67=28, Resulting Numbers: [22, 28]
Generated Node #0,3,0: 92:[22, 28] Operation: 95-67=28
Exploring Operation: 95-22=73, Resulting Numbers: [67, 73]
Generated Node #0,3,1: 92:[67, 73] Operation: 95-22=73
Exploring Operation: 67+22=89, Resulting Numbers: [95, 89]
Generated Node #0,3,2: 92:[95, 89] Operation: 67+22=89
Exploring Operation: 67-22=45, Resulting Numbers: [95, 45]
Generated Node #0,3,3: 92:[95, 45] Operation: 67-22=45
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[95, 45], Operations: ['71-49=22', '67-22=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,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,3,0
Current State: 92:[22, 28], Operations: ['71-49=22', '95-67=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,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,3,2
Current State: 92:[95, 89], Operations: ['71-49=22', '67+22=89']
Exploring Operation: 95*89=8455, Resulting Numbers: [8455]
8455,92 unequal: No Solution
Exploring Operation: 95-89=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 95+89=184, Resulting Numbers: [184]
184,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,3,1
Current State: 92:[67, 73], Operations: ['71-49=22', '95-22=73']
Exploring Operation: 73-67=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 67+73=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 67*73=4891, Resulting Numbers: [4891]
4891,92 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: 92:[67, 49, 24], Operations: ['95-71=24']
Exploring Operation: 67-49=18, Resulting Numbers: [24, 18]
Generated Node #0,2,0: 92:[24, 18] Operation: 67-49=18
Exploring Operation: 67+24=91, Resulting Numbers: [49, 91]
Generated Node #0,2,1: 92:[49, 91] Operation: 67+24=91
Exploring Operation: 49-24=25, Resulting Numbers: [67, 25]
Generated Node #0,2,2: 92:[67, 25] Operation: 49-24=25
Exploring Operation: 67-24=43, Resulting Numbers: [49, 43]
Generated Node #0,2,3: 92:[49, 43] Operation: 67-24=43
Moving to Node #0,1
Current State: 92:[71, 95, 18], Operations: ['67-49=18']
Exploring Operation: 71+18=89, Resulting Numbers: [95, 89]
Generated Node #0,1,0: 92:[95, 89] Operation: 71+18=89
Exploring Operation: 95-18=77, Resulting Numbers: [71, 77]
Generated Node #0,1,1: 92:[71, 77] Operation: 95-18=77
Exploring Operation: 95-71=24, Resulting Numbers: [18, 24]
Generated Node #0,1,2: 92:[18, 24] Operation: 95-71=24
Exploring Operation: 71-18=53, Resulting Numbers: [95, 53]
Generated Node #0,1,3: 92:[95, 53] Operation: 71-18=53
Moving to Node #0,0,2
Current State: 92:[4, 46], Operations: ['71-67=4', '95-49=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[95, 45], Operations: ['71-67=4', '49-4=45']
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[49, 91], Operations: ['71-67=4', '95-4=91']
Exploring Operation: 49+91=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 49*91=4459, Resulting Numbers: [4459]
4459,92 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[49, 91], Operations: ['95-71=24', '67+24=91']
Exploring Operation: 49+91=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 49*91=4459, Resulting Numbers: [4459]
4459,92 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[49, 43], Operations: ['95-71=24', '67-24=43']
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,92 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[67, 71, 49, 95], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [67, 49, 24]
Generated Node #0,2: 92:[67, 49, 24] Operation: 95-71=24
Moving to Node #0,2
Current State: 92:[67, 49, 24], Operations: ['95-71=24']
Exploring Operation: 67-24=43, Resulting Numbers: [49, 43]
Generated Node #0,2,3: 92:[49, 43] Operation: 67-24=43
Moving to Node #0,2,3
Current State: 92:[49, 43], Operations: ['95-71=24', '67-24=43']
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
50,
48,
64,
62
] | 28 | [
"50+48=98",
"64+62=126",
"126-98=28"
] | Current State: 28:[50, 48, 64, 62], Operations: []
Exploring Operation: 50+48=98, Resulting Numbers: [64, 62, 98]
Generated Node #2: [64, 62, 98] from Operation: 50+48=98
Current State: 28:[64, 62, 98], Operations: ['50+48=98']
Exploring Operation: 64+62=126, Resulting Numbers: [98, 126]
Generated Node #3: [98, 126] from Operation: 64+62=126
Current State: 28:[98, 126], Operations: ['50+48=98', '64+62=126']
Exploring Operation: 126-98=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[50, 48, 64, 62], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [50, 48, 2]
Generated Node #0,0: 28:[50, 48, 2] Operation: 64-62=2
Exploring Operation: 64-50=14, Resulting Numbers: [48, 62, 14]
Generated Node #0,1: 28:[48, 62, 14] Operation: 64-50=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[50, 48, 2], Operations: ['64-62=2']
Exploring Operation: 50-48=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 28:[2, 2] Operation: 50-48=2
Exploring Operation: 50/2=25, Resulting Numbers: [48, 25]
Generated Node #0,0,1: 28:[48, 25] Operation: 50/2=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[2, 2], Operations: ['64-62=2', '50-48=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,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:[48, 25], Operations: ['64-62=2', '50/2=25']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,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,1
Current State: 28:[48, 62, 14], Operations: ['64-50=14']
Exploring Operation: 48-14=34, Resulting Numbers: [62, 34]
Generated Node #0,1,0: 28:[62, 34] Operation: 48-14=34
Exploring Operation: 62-48=14, Resulting Numbers: [14, 14]
Generated Node #0,1,1: 28:[14, 14] Operation: 62-48=14
Moving to Node #0,1,1
Current State: 28:[14, 14], Operations: ['64-50=14', '62-48=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[50, 48, 64, 62], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [48, 62, 14]
Generated Node #0,1: 28:[48, 62, 14] Operation: 64-50=14
Moving to Node #0,1
Current State: 28:[48, 62, 14], Operations: ['64-50=14']
Exploring Operation: 62-48=14, Resulting Numbers: [14, 14]
Generated Node #0,1,1: 28:[14, 14] Operation: 62-48=14
Moving to Node #0,1,1
Current State: 28:[14, 14], Operations: ['64-50=14', '62-48=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
52,
90,
72,
39
] | 36 | [
"72*39=2808",
"2808/52=54",
"90-54=36"
] | Current State: 36:[52, 90, 72, 39], Operations: []
Exploring Operation: 72*39=2808, Resulting Numbers: [52, 90, 2808]
Generated Node #2: [52, 90, 2808] from Operation: 72*39=2808
Current State: 36:[52, 90, 2808], Operations: ['72*39=2808']
Exploring Operation: 2808/52=54, Resulting Numbers: [90, 54]
Generated Node #3: [90, 54] from Operation: 2808/52=54
Current State: 36:[90, 54], Operations: ['72*39=2808', '2808/52=54']
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[52, 90, 72, 39], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [52, 39, 18]
Generated Node #0,0: 36:[52, 39, 18] Operation: 90-72=18
Exploring Operation: 90-52=38, Resulting Numbers: [72, 39, 38]
Generated Node #0,1: 36:[72, 39, 38] Operation: 90-52=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[52, 39, 18], Operations: ['90-72=18']
Exploring Operation: 52-39=13, Resulting Numbers: [18, 13]
Generated Node #0,0,0: 36:[18, 13] Operation: 52-39=13
Exploring Operation: 52-18=34, Resulting Numbers: [39, 34]
Generated Node #0,0,1: 36:[39, 34] Operation: 52-18=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[18, 13], Operations: ['90-72=18', '52-39=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,36 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: 36:[39, 34], Operations: ['90-72=18', '52-18=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,36 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: 36:[72, 39, 38], Operations: ['90-52=38']
Exploring Operation: 72-38=34, Resulting Numbers: [39, 34]
Generated Node #0,1,0: 36:[39, 34] Operation: 72-38=34
Exploring Operation: 72-39=33, Resulting Numbers: [38, 33]
Generated Node #0,1,1: 36:[38, 33] Operation: 72-39=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[39, 34], Operations: ['90-52=38', '72-38=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,36 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: 36:[38, 33], Operations: ['90-52=38', '72-39=33']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,36 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 | sum_heuristic |
[
69,
94,
83,
21
] | 59 | [
"69+94=163",
"83+21=104",
"163-104=59"
] | Current State: 59:[69, 94, 83, 21], Operations: []
Exploring Operation: 69+94=163, Resulting Numbers: [83, 21, 163]
Generated Node #2: [83, 21, 163] from Operation: 69+94=163
Current State: 59:[83, 21, 163], Operations: ['69+94=163']
Exploring Operation: 83+21=104, Resulting Numbers: [163, 104]
Generated Node #3: [163, 104] from Operation: 83+21=104
Current State: 59:[163, 104], Operations: ['69+94=163', '83+21=104']
Exploring Operation: 163-104=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[69, 94, 83, 21], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [69, 94, 62]
Generated Node #0,0: 59:[69, 94, 62] Operation: 83-21=62
Exploring Operation: 94+21=115, Resulting Numbers: [69, 83, 115]
Generated Node #0,1: 59:[69, 83, 115] Operation: 94+21=115
Exploring Operation: 94-21=73, Resulting Numbers: [69, 83, 73]
Generated Node #0,2: 59:[69, 83, 73] Operation: 94-21=73
Exploring Operation: 69+21=90, Resulting Numbers: [94, 83, 90]
Generated Node #0,3: 59:[94, 83, 90] Operation: 69+21=90
Exploring Operation: 69-21=48, Resulting Numbers: [94, 83, 48]
Generated Node #0,4: 59:[94, 83, 48] Operation: 69-21=48
Moving to Node #0,0
Current State: 59:[69, 94, 62], Operations: ['83-21=62']
Exploring Operation: 69-62=7, Resulting Numbers: [94, 7]
Generated Node #0,0,0: 59:[94, 7] Operation: 69-62=7
Exploring Operation: 69+94=163, Resulting Numbers: [62, 163]
Generated Node #0,0,1: 59:[62, 163] Operation: 69+94=163
Exploring Operation: 69+62=131, Resulting Numbers: [94, 131]
Generated Node #0,0,2: 59:[94, 131] Operation: 69+62=131
Exploring Operation: 94-69=25, Resulting Numbers: [62, 25]
Generated Node #0,0,3: 59:[62, 25] Operation: 94-69=25
Exploring Operation: 94-62=32, Resulting Numbers: [69, 32]
Generated Node #0,0,4: 59:[69, 32] Operation: 94-62=32
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[62, 25], Operations: ['83-21=62', '94-69=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 62*25=1550, Resulting Numbers: [1550]
1550,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,0,4
Current State: 59:[69, 32], Operations: ['83-21=62', '94-62=32']
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,59 unequal: No Solution
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,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,0,0
Current State: 59:[94, 7], Operations: ['83-21=62', '69-62=7']
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,59 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,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,0,1
Current State: 59:[62, 163], Operations: ['83-21=62', '69+94=163']
Exploring Operation: 163-62=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 62*163=10106, Resulting Numbers: [10106]
10106,59 unequal: No Solution
Exploring Operation: 62+163=225, Resulting Numbers: [225]
225,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,0,2
Current State: 59:[94, 131], Operations: ['83-21=62', '69+62=131']
Exploring Operation: 94*131=12314, Resulting Numbers: [12314]
12314,59 unequal: No Solution
Exploring Operation: 94+131=225, Resulting Numbers: [225]
225,59 unequal: No Solution
Exploring Operation: 131-94=37, Resulting Numbers: [37]
37,59 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: 59:[69, 83, 73], Operations: ['94-21=73']
Exploring Operation: 83-73=10, Resulting Numbers: [69, 10]
Generated Node #0,2,0: 59:[69, 10] Operation: 83-73=10
Exploring Operation: 69+73=142, Resulting Numbers: [83, 142]
Generated Node #0,2,1: 59:[83, 142] Operation: 69+73=142
Exploring Operation: 73-69=4, Resulting Numbers: [83, 4]
Generated Node #0,2,2: 59:[83, 4] Operation: 73-69=4
Exploring Operation: 83-69=14, Resulting Numbers: [73, 14]
Generated Node #0,2,3: 59:[73, 14] Operation: 83-69=14
Exploring Operation: 69+83=152, Resulting Numbers: [73, 152]
Generated Node #0,2,4: 59:[73, 152] Operation: 69+83=152
Moving to Node #0,4
Current State: 59:[94, 83, 48], Operations: ['69-21=48']
Exploring Operation: 94-83=11, Resulting Numbers: [48, 11]
Generated Node #0,4,0: 59:[48, 11] Operation: 94-83=11
Exploring Operation: 94+48=142, Resulting Numbers: [83, 142]
Generated Node #0,4,1: 59:[83, 142] Operation: 94+48=142
Exploring Operation: 83-48=35, Resulting Numbers: [94, 35]
Generated Node #0,4,2: 59:[94, 35] Operation: 83-48=35
Exploring Operation: 83+48=131, Resulting Numbers: [94, 131]
Generated Node #0,4,3: 59:[94, 131] Operation: 83+48=131
Exploring Operation: 94-48=46, Resulting Numbers: [83, 46]
Generated Node #0,4,4: 59:[83, 46] Operation: 94-48=46
Moving to Node #0,1
Current State: 59:[69, 83, 115], Operations: ['94+21=115']
Exploring Operation: 115-83=32, Resulting Numbers: [69, 32]
Generated Node #0,1,0: 59:[69, 32] Operation: 115-83=32
Exploring Operation: 115-69=46, Resulting Numbers: [83, 46]
Generated Node #0,1,1: 59:[83, 46] Operation: 115-69=46
Exploring Operation: 69+83=152, Resulting Numbers: [115, 152]
Generated Node #0,1,2: 59:[115, 152] Operation: 69+83=152
Exploring Operation: 83-69=14, Resulting Numbers: [115, 14]
Generated Node #0,1,3: 59:[115, 14] Operation: 83-69=14
Exploring Operation: 69+115=184, Resulting Numbers: [83, 184]
Generated Node #0,1,4: 59:[83, 184] Operation: 69+115=184
Moving to Node #0,3
Current State: 59:[94, 83, 90], Operations: ['69+21=90']
Exploring Operation: 94+90=184, Resulting Numbers: [83, 184]
Generated Node #0,3,0: 59:[83, 184] Operation: 94+90=184
Exploring Operation: 94+83=177, Resulting Numbers: [90, 177]
Generated Node #0,3,1: 59:[90, 177] Operation: 94+83=177
Exploring Operation: 94-83=11, Resulting Numbers: [90, 11]
Generated Node #0,3,2: 59:[90, 11] Operation: 94-83=11
Exploring Operation: 90-83=7, Resulting Numbers: [94, 7]
Generated Node #0,3,3: 59:[94, 7] Operation: 90-83=7
Exploring Operation: 94-90=4, Resulting Numbers: [83, 4]
Generated Node #0,3,4: 59:[83, 4] Operation: 94-90=4
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[90, 11], Operations: ['69+21=90', '94-83=11']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,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,4
Current State: 59:[83, 4], Operations: ['69+21=90', '94-90=4']
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,59 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,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,3
Current State: 59:[94, 7], Operations: ['69+21=90', '90-83=7']
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,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,0
Current State: 59:[83, 184], Operations: ['69+21=90', '94+90=184']
Exploring Operation: 184-83=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 83*184=15272, Resulting Numbers: [15272]
15272,59 unequal: No Solution
Exploring Operation: 83+184=267, Resulting Numbers: [267]
267,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,1
Current State: 59:[90, 177], Operations: ['69+21=90', '94+83=177']
Exploring Operation: 90+177=267, Resulting Numbers: [267]
267,59 unequal: No Solution
Exploring Operation: 90*177=15930, Resulting Numbers: [15930]
15930,59 unequal: No Solution
Exploring Operation: 177-90=87, Resulting Numbers: [87]
87,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 59:[83, 46], Operations: ['69-21=48', '94-48=46']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[83, 46], Operations: ['94+21=115', '115-69=46']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[69, 32], Operations: ['94+21=115', '115-83=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,59 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[48, 11], Operations: ['69-21=48', '94-83=11']
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,59 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[69, 94, 83, 21], Operations: []
Exploring Operation: 69-21=48, Resulting Numbers: [94, 83, 48]
Generated Node #0,4: 59:[94, 83, 48] Operation: 69-21=48
Moving to Node #0,4
Current State: 59:[94, 83, 48], Operations: ['69-21=48']
Exploring Operation: 94-83=11, Resulting Numbers: [48, 11]
Generated Node #0,4,0: 59:[48, 11] Operation: 94-83=11
Moving to Node #0,4,0
Current State: 59:[48, 11], Operations: ['69-21=48', '94-83=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.934896 | hs_5 | mult_heuristic |
[
58,
41,
68,
11
] | 42 | [
"58+41=99",
"68-11=57",
"99-57=42"
] | Current State: 42:[58, 41, 68, 11], Operations: []
Exploring Operation: 58+41=99, Resulting Numbers: [68, 11, 99]
Generated Node #2: [68, 11, 99] from Operation: 58+41=99
Current State: 42:[68, 11, 99], Operations: ['58+41=99']
Exploring Operation: 68-11=57, Resulting Numbers: [99, 57]
Generated Node #3: [99, 57] from Operation: 68-11=57
Current State: 42:[99, 57], Operations: ['58+41=99', '68-11=57']
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[58, 41, 68, 11], Operations: []
Exploring Operation: 58-41=17, Resulting Numbers: [68, 11, 17]
Generated Node #0,0: 42:[68, 11, 17] Operation: 58-41=17
Exploring Operation: 68-58=10, Resulting Numbers: [41, 11, 10]
Generated Node #0,1: 42:[41, 11, 10] Operation: 68-58=10
Exploring Operation: 58-11=47, Resulting Numbers: [41, 68, 47]
Generated Node #0,2: 42:[41, 68, 47] Operation: 58-11=47
Exploring Operation: 68-41=27, Resulting Numbers: [58, 11, 27]
Generated Node #0,3: 42:[58, 11, 27] Operation: 68-41=27
Exploring Operation: 68-11=57, Resulting Numbers: [58, 41, 57]
Generated Node #0,4: 42:[58, 41, 57] Operation: 68-11=57
Moving to Node #0,1
Current State: 42:[41, 11, 10], Operations: ['68-58=10']
Exploring Operation: 41-11=30, Resulting Numbers: [10, 30]
Generated Node #0,1,0: 42:[10, 30] Operation: 41-11=30
Exploring Operation: 41+11=52, Resulting Numbers: [10, 52]
Generated Node #0,1,1: 42:[10, 52] Operation: 41+11=52
Exploring Operation: 41+10=51, Resulting Numbers: [11, 51]
Generated Node #0,1,2: 42:[11, 51] Operation: 41+10=51
Exploring Operation: 11-10=1, Resulting Numbers: [41, 1]
Generated Node #0,1,3: 42:[41, 1] Operation: 11-10=1
Exploring Operation: 11+10=21, Resulting Numbers: [41, 21]
Generated Node #0,1,4: 42:[41, 21] Operation: 11+10=21
Moving to Node #0,3
Current State: 42:[58, 11, 27], Operations: ['68-41=27']
Exploring Operation: 58-11=47, Resulting Numbers: [27, 47]
Generated Node #0,3,0: 42:[27, 47] Operation: 58-11=47
Exploring Operation: 27-11=16, Resulting Numbers: [58, 16]
Generated Node #0,3,1: 42:[58, 16] Operation: 27-11=16
Exploring Operation: 11+27=38, Resulting Numbers: [58, 38]
Generated Node #0,3,2: 42:[58, 38] Operation: 11+27=38
Exploring Operation: 58-27=31, Resulting Numbers: [11, 31]
Generated Node #0,3,3: 42:[11, 31] Operation: 58-27=31
Exploring Operation: 58+11=69, Resulting Numbers: [27, 69]
Generated Node #0,3,4: 42:[27, 69] Operation: 58+11=69
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[27, 47], Operations: ['68-41=27', '58-11=47']
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,42 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: 42:[11, 31], Operations: ['68-41=27', '58-27=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,42 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[58, 41, 68, 11], Operations: []
Exploring Operation: 68-41=27, Resulting Numbers: [58, 11, 27]
Generated Node #0,3: 42:[58, 11, 27] Operation: 68-41=27
Moving to Node #0,3
Current State: 42:[58, 11, 27], Operations: ['68-41=27']
Exploring Operation: 58-27=31, Resulting Numbers: [11, 31]
Generated Node #0,3,3: 42:[11, 31] Operation: 58-27=31
Moving to Node #0,3,3
Current State: 42:[11, 31], Operations: ['68-41=27', '58-27=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
25,
63,
37,
88
] | 87 | [
"63-25=38",
"37+88=125",
"125-38=87"
] | Current State: 87:[25, 63, 37, 88], Operations: []
Exploring Operation: 63-25=38, Resulting Numbers: [37, 88, 38]
Generated Node #2: [37, 88, 38] from Operation: 63-25=38
Current State: 87:[37, 88, 38], Operations: ['63-25=38']
Exploring Operation: 37+88=125, Resulting Numbers: [38, 125]
Generated Node #3: [38, 125] from Operation: 37+88=125
Current State: 87:[38, 125], Operations: ['63-25=38', '37+88=125']
Exploring Operation: 125-38=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[25, 63, 37, 88], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [25, 88, 26]
Generated Node #0,0: 87:[25, 88, 26] Operation: 63-37=26
Exploring Operation: 88-63=25, Resulting Numbers: [25, 37, 25]
Generated Node #0,1: 87:[25, 37, 25] Operation: 88-63=25
Exploring Operation: 25+63=88, Resulting Numbers: [37, 88, 88]
Generated Node #0,2: 87:[37, 88, 88] Operation: 25+63=88
Exploring Operation: 63-25=38, Resulting Numbers: [37, 88, 38]
Generated Node #0,3: 87:[37, 88, 38] Operation: 63-25=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[25, 88, 26], Operations: ['63-37=26']
Exploring Operation: 88-25=63, Resulting Numbers: [26, 63]
Generated Node #0,0,0: 87:[26, 63] Operation: 88-25=63
Exploring Operation: 26-25=1, Resulting Numbers: [88, 1]
Generated Node #0,0,1: 87:[88, 1] Operation: 26-25=1
Exploring Operation: 25+26=51, Resulting Numbers: [88, 51]
Generated Node #0,0,2: 87:[88, 51] Operation: 25+26=51
Exploring Operation: 25+88=113, Resulting Numbers: [26, 113]
Generated Node #0,0,3: 87:[26, 113] Operation: 25+88=113
Moving to Node #0,0,1
Current State: 87:[88, 1], Operations: ['63-37=26', '26-25=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[25, 63, 37, 88], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [25, 88, 26]
Generated Node #0,0: 87:[25, 88, 26] Operation: 63-37=26
Moving to Node #0,0
Current State: 87:[25, 88, 26], Operations: ['63-37=26']
Exploring Operation: 26-25=1, Resulting Numbers: [88, 1]
Generated Node #0,0,1: 87:[88, 1] Operation: 26-25=1
Moving to Node #0,0,1
Current State: 87:[88, 1], Operations: ['63-37=26', '26-25=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
74,
47,
56,
45
] | 74 | [
"74-47=27",
"56+45=101",
"101-27=74"
] | Current State: 74:[74, 47, 56, 45], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [56, 45, 27]
Generated Node #2: [56, 45, 27] from Operation: 74-47=27
Current State: 74:[56, 45, 27], Operations: ['74-47=27']
Exploring Operation: 56+45=101, Resulting Numbers: [27, 101]
Generated Node #3: [27, 101] from Operation: 56+45=101
Current State: 74:[27, 101], Operations: ['74-47=27', '56+45=101']
Exploring Operation: 101-27=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[74, 47, 56, 45], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [74, 45, 9]
Generated Node #0,0: 74:[74, 45, 9] Operation: 56-47=9
Exploring Operation: 47-45=2, Resulting Numbers: [74, 56, 2]
Generated Node #0,1: 74:[74, 56, 2] Operation: 47-45=2
Exploring Operation: 56-45=11, Resulting Numbers: [74, 47, 11]
Generated Node #0,2: 74:[74, 47, 11] Operation: 56-45=11
Exploring Operation: 74-56=18, Resulting Numbers: [47, 45, 18]
Generated Node #0,3: 74:[47, 45, 18] Operation: 74-56=18
Moving to Node #0,0
Current State: 74:[74, 45, 9], Operations: ['56-47=9']
Exploring Operation: 74+9=83, Resulting Numbers: [45, 83]
Generated Node #0,0,0: 74:[45, 83] Operation: 74+9=83
Exploring Operation: 74-45=29, Resulting Numbers: [9, 29]
Generated Node #0,0,1: 74:[9, 29] Operation: 74-45=29
Exploring Operation: 45-9=36, Resulting Numbers: [74, 36]
Generated Node #0,0,2: 74:[74, 36] Operation: 45-9=36
Exploring Operation: 45/9=5, Resulting Numbers: [74, 5]
Generated Node #0,0,3: 74:[74, 5] Operation: 45/9=5
Moving to Node #0,1
Current State: 74:[74, 56, 2], Operations: ['47-45=2']
Exploring Operation: 56/2=28, Resulting Numbers: [74, 28]
Generated Node #0,1,0: 74:[74, 28] Operation: 56/2=28
Exploring Operation: 74-56=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 74:[2, 18] Operation: 74-56=18
Exploring Operation: 56+2=58, Resulting Numbers: [74, 58]
Generated Node #0,1,2: 74:[74, 58] Operation: 56+2=58
Exploring Operation: 56-2=54, Resulting Numbers: [74, 54]
Generated Node #0,1,3: 74:[74, 54] Operation: 56-2=54
Moving to Node #0,2
Current State: 74:[74, 47, 11], Operations: ['56-45=11']
Exploring Operation: 47+11=58, Resulting Numbers: [74, 58]
Generated Node #0,2,0: 74:[74, 58] Operation: 47+11=58
Exploring Operation: 74+11=85, Resulting Numbers: [47, 85]
Generated Node #0,2,1: 74:[47, 85] Operation: 74+11=85
Exploring Operation: 74-47=27, Resulting Numbers: [11, 27]
Generated Node #0,2,2: 74:[11, 27] Operation: 74-47=27
Exploring Operation: 47-11=36, Resulting Numbers: [74, 36]
Generated Node #0,2,3: 74:[74, 36] Operation: 47-11=36
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[74, 36], Operations: ['56-45=11', '47-11=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,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,2,0
Current State: 74:[74, 58], Operations: ['56-45=11', '47+11=58']
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,74 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,74 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,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,2,2
Current State: 74:[11, 27], Operations: ['56-45=11', '74-47=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,74 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,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,2,1
Current State: 74:[47, 85], Operations: ['56-45=11', '74+11=85']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 47*85=3995, Resulting Numbers: [3995]
3995,74 unequal: No Solution
Exploring Operation: 47+85=132, Resulting Numbers: [132]
132,74 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: 74:[47, 45, 18], Operations: ['74-56=18']
Exploring Operation: 47-18=29, Resulting Numbers: [45, 29]
Generated Node #0,3,0: 74:[45, 29] Operation: 47-18=29
Exploring Operation: 47-45=2, Resulting Numbers: [18, 2]
Generated Node #0,3,1: 74:[18, 2] Operation: 47-45=2
Exploring Operation: 47+18=65, Resulting Numbers: [45, 65]
Generated Node #0,3,2: 74:[45, 65] Operation: 47+18=65
Exploring Operation: 45-18=27, Resulting Numbers: [47, 27]
Generated Node #0,3,3: 74:[47, 27] Operation: 45-18=27
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[45, 29], Operations: ['74-56=18', '47-18=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,74 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[74, 47, 56, 45], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [47, 45, 18]
Generated Node #0,3: 74:[47, 45, 18] Operation: 74-56=18
Moving to Node #0,3
Current State: 74:[47, 45, 18], Operations: ['74-56=18']
Exploring Operation: 47-18=29, Resulting Numbers: [45, 29]
Generated Node #0,3,0: 74:[45, 29] Operation: 47-18=29
Moving to Node #0,3,0
Current State: 74:[45, 29], Operations: ['74-56=18', '47-18=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
62,
72,
70,
32
] | 60 | [
"62-32=30",
"72-70=2",
"30*2=60"
] | Current State: 60:[62, 72, 70, 32], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [72, 70, 30]
Generated Node #2: [72, 70, 30] from Operation: 62-32=30
Current State: 60:[72, 70, 30], Operations: ['62-32=30']
Exploring Operation: 72-70=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 72-70=2
Current State: 60:[30, 2], Operations: ['62-32=30', '72-70=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[62, 72, 70, 32], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [62, 32, 2]
Generated Node #0,0: 60:[62, 32, 2] Operation: 72-70=2
Exploring Operation: 72-62=10, Resulting Numbers: [70, 32, 10]
Generated Node #0,1: 60:[70, 32, 10] Operation: 72-62=10
Exploring Operation: 62-32=30, Resulting Numbers: [72, 70, 30]
Generated Node #0,2: 60:[72, 70, 30] Operation: 62-32=30
Exploring Operation: 70-62=8, Resulting Numbers: [72, 32, 8]
Generated Node #0,3: 60:[72, 32, 8] Operation: 70-62=8
Exploring Operation: 72-32=40, Resulting Numbers: [62, 70, 40]
Generated Node #0,4: 60:[62, 70, 40] Operation: 72-32=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[62, 32, 2], Operations: ['72-70=2']
Exploring Operation: 62/2=31, Resulting Numbers: [32, 31]
Generated Node #0,0,0: 60:[32, 31] Operation: 62/2=31
Exploring Operation: 62-32=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 60:[2, 30] Operation: 62-32=30
Exploring Operation: 32-2=30, Resulting Numbers: [62, 30]
Generated Node #0,0,2: 60:[62, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [62, 16]
Generated Node #0,0,3: 60:[62, 16] Operation: 32/2=16
Exploring Operation: 62-2=60, Resulting Numbers: [32, 60]
Generated Node #0,0,4: 60:[32, 60] Operation: 62-2=60
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[2, 30], Operations: ['72-70=2', '62-32=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[62, 72, 70, 32], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [62, 32, 2]
Generated Node #0,0: 60:[62, 32, 2] Operation: 72-70=2
Moving to Node #0,0
Current State: 60:[62, 32, 2], Operations: ['72-70=2']
Exploring Operation: 62-32=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 60:[2, 30] Operation: 62-32=30
Moving to Node #0,0,1
Current State: 60:[2, 30], Operations: ['72-70=2', '62-32=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
40,
44,
34,
69
] | 31 | [
"44-40=4",
"69-34=35",
"35-4=31"
] | Current State: 31:[40, 44, 34, 69], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [34, 69, 4]
Generated Node #2: [34, 69, 4] from Operation: 44-40=4
Current State: 31:[34, 69, 4], Operations: ['44-40=4']
Exploring Operation: 69-34=35, Resulting Numbers: [4, 35]
Generated Node #3: [4, 35] from Operation: 69-34=35
Current State: 31:[4, 35], Operations: ['44-40=4', '69-34=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[40, 44, 34, 69], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [44, 34, 29]
Generated Node #0,0: 31:[44, 34, 29] Operation: 69-40=29
Exploring Operation: 69-44=25, Resulting Numbers: [40, 34, 25]
Generated Node #0,1: 31:[40, 34, 25] Operation: 69-44=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[44, 34, 29], Operations: ['69-40=29']
Exploring Operation: 44-34=10, Resulting Numbers: [29, 10]
Generated Node #0,0,0: 31:[29, 10] Operation: 44-34=10
Exploring Operation: 44-29=15, Resulting Numbers: [34, 15]
Generated Node #0,0,1: 31:[34, 15] Operation: 44-29=15
Moving to Node #0,0,1
Current State: 31:[34, 15], Operations: ['69-40=29', '44-29=15']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[29, 10], Operations: ['69-40=29', '44-34=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,31 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: 31:[40, 34, 25], Operations: ['69-44=25']
Exploring Operation: 40-25=15, Resulting Numbers: [34, 15]
Generated Node #0,1,0: 31:[34, 15] Operation: 40-25=15
Exploring Operation: 40-34=6, Resulting Numbers: [25, 6]
Generated Node #0,1,1: 31:[25, 6] Operation: 40-34=6
Moving to Node #0,1,0
Current State: 31:[34, 15], Operations: ['69-44=25', '40-25=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[25, 6], Operations: ['69-44=25', '40-34=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[40, 44, 34, 69], Operations: []
Exploring Operation: 69-44=25, Resulting Numbers: [40, 34, 25]
Generated Node #0,1: 31:[40, 34, 25] Operation: 69-44=25
Moving to Node #0,1
Current State: 31:[40, 34, 25], Operations: ['69-44=25']
Exploring Operation: 40-34=6, Resulting Numbers: [25, 6]
Generated Node #0,1,1: 31:[25, 6] Operation: 40-34=6
Moving to Node #0,1,1
Current State: 31:[25, 6], Operations: ['69-44=25', '40-34=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
74,
99,
24,
28
] | 27 | [
"99-74=25",
"24+28=52",
"52-25=27"
] | Current State: 27:[74, 99, 24, 28], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [24, 28, 25]
Generated Node #2: [24, 28, 25] from Operation: 99-74=25
Current State: 27:[24, 28, 25], Operations: ['99-74=25']
Exploring Operation: 24+28=52, Resulting Numbers: [25, 52]
Generated Node #3: [25, 52] from Operation: 24+28=52
Current State: 27:[25, 52], Operations: ['99-74=25', '24+28=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[74, 99, 24, 28], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [24, 28, 25]
Generated Node #0,0: 27:[24, 28, 25] Operation: 99-74=25
Exploring Operation: 74-28=46, Resulting Numbers: [99, 24, 46]
Generated Node #0,1: 27:[99, 24, 46] Operation: 74-28=46
Exploring Operation: 99-28=71, Resulting Numbers: [74, 24, 71]
Generated Node #0,2: 27:[74, 24, 71] Operation: 99-28=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[24, 28, 25], Operations: ['99-74=25']
Exploring Operation: 28-24=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 27:[25, 4] Operation: 28-24=4
Exploring Operation: 28-25=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 27:[24, 3] Operation: 28-25=3
Exploring Operation: 25-24=1, Resulting Numbers: [28, 1]
Generated Node #0,0,2: 27:[28, 1] Operation: 25-24=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[25, 4], Operations: ['99-74=25', '28-24=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,27 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: 27:[24, 3], Operations: ['99-74=25', '28-25=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[74, 99, 24, 28], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [24, 28, 25]
Generated Node #0,0: 27:[24, 28, 25] Operation: 99-74=25
Moving to Node #0,0
Current State: 27:[24, 28, 25], Operations: ['99-74=25']
Exploring Operation: 28-25=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 27:[24, 3] Operation: 28-25=3
Moving to Node #0,0,1
Current State: 27:[24, 3], Operations: ['99-74=25', '28-25=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
15,
9,
24,
82
] | 29 | [
"15*9=135",
"24+82=106",
"135-106=29"
] | Current State: 29:[15, 9, 24, 82], Operations: []
Exploring Operation: 15*9=135, Resulting Numbers: [24, 82, 135]
Generated Node #2: [24, 82, 135] from Operation: 15*9=135
Current State: 29:[24, 82, 135], Operations: ['15*9=135']
Exploring Operation: 24+82=106, Resulting Numbers: [135, 106]
Generated Node #3: [135, 106] from Operation: 24+82=106
Current State: 29:[135, 106], Operations: ['15*9=135', '24+82=106']
Exploring Operation: 135-106=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[15, 9, 24, 82], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [9, 24, 67]
Generated Node #0,0: 29:[9, 24, 67] Operation: 82-15=67
Exploring Operation: 82-9=73, Resulting Numbers: [15, 24, 73]
Generated Node #0,1: 29:[15, 24, 73] Operation: 82-9=73
Exploring Operation: 82-24=58, Resulting Numbers: [15, 9, 58]
Generated Node #0,2: 29:[15, 9, 58] Operation: 82-24=58
Exploring Operation: 9+24=33, Resulting Numbers: [15, 82, 33]
Generated Node #0,3: 29:[15, 82, 33] Operation: 9+24=33
Exploring Operation: 15+9=24, Resulting Numbers: [24, 82, 24]
Generated Node #0,4: 29:[24, 82, 24] Operation: 15+9=24
Moving to Node #0,0
Current State: 29:[9, 24, 67], Operations: ['82-15=67']
Exploring Operation: 24-9=15, Resulting Numbers: [67, 15]
Generated Node #0,0,0: 29:[67, 15] Operation: 24-9=15
Exploring Operation: 67-24=43, Resulting Numbers: [9, 43]
Generated Node #0,0,1: 29:[9, 43] Operation: 67-24=43
Exploring Operation: 9+24=33, Resulting Numbers: [67, 33]
Generated Node #0,0,2: 29:[67, 33] Operation: 9+24=33
Exploring Operation: 67-9=58, Resulting Numbers: [24, 58]
Generated Node #0,0,3: 29:[24, 58] Operation: 67-9=58
Exploring Operation: 9+67=76, Resulting Numbers: [24, 76]
Generated Node #0,0,4: 29:[24, 76] Operation: 9+67=76
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[9, 43], Operations: ['82-15=67', '67-24=43']
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,29 unequal: No Solution
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,29 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: 29:[24, 58], Operations: ['82-15=67', '67-9=58']
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,29 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,29 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: 29:[67, 33], Operations: ['82-15=67', '9+24=33']
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 67*33=2211, Resulting Numbers: [2211]
2211,29 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,29 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: 29:[67, 15], Operations: ['82-15=67', '24-9=15']
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,29 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,29 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,4
Current State: 29:[24, 76], Operations: ['82-15=67', '9+67=76']
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,29 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,29 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: 29:[15, 9, 58], Operations: ['82-24=58']
Exploring Operation: 58-9=49, Resulting Numbers: [15, 49]
Generated Node #0,2,0: 29:[15, 49] Operation: 58-9=49
Exploring Operation: 15+9=24, Resulting Numbers: [58, 24]
Generated Node #0,2,1: 29:[58, 24] Operation: 15+9=24
Exploring Operation: 9+58=67, Resulting Numbers: [15, 67]
Generated Node #0,2,2: 29:[15, 67] Operation: 9+58=67
Exploring Operation: 58-15=43, Resulting Numbers: [9, 43]
Generated Node #0,2,3: 29:[9, 43] Operation: 58-15=43
Exploring Operation: 15-9=6, Resulting Numbers: [58, 6]
Generated Node #0,2,4: 29:[58, 6] Operation: 15-9=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[15, 49], Operations: ['82-24=58', '58-9=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,29 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,29 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: 29:[58, 24], Operations: ['82-24=58', '15+9=24']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,29 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: 29:[9, 43], Operations: ['82-24=58', '58-15=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,29 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: 29:[15, 67], Operations: ['82-24=58', '9+58=67']
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,29 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: 29:[58, 6], Operations: ['82-24=58', '15-9=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,29 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,29 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: 29:[15, 24, 73], Operations: ['82-9=73']
Exploring Operation: 73-15=58, Resulting Numbers: [24, 58]
Generated Node #0,1,0: 29:[24, 58] Operation: 73-15=58
Exploring Operation: 73-24=49, Resulting Numbers: [15, 49]
Generated Node #0,1,1: 29:[15, 49] Operation: 73-24=49
Exploring Operation: 24-15=9, Resulting Numbers: [73, 9]
Generated Node #0,1,2: 29:[73, 9] Operation: 24-15=9
Exploring Operation: 15+24=39, Resulting Numbers: [73, 39]
Generated Node #0,1,3: 29:[73, 39] Operation: 15+24=39
Exploring Operation: 15+73=88, Resulting Numbers: [24, 88]
Generated Node #0,1,4: 29:[24, 88] Operation: 15+73=88
Moving to Node #0,4
Current State: 29:[24, 82, 24], Operations: ['15+9=24']
Exploring Operation: 24/24=1, Resulting Numbers: [82, 1]
Generated Node #0,4,0: 29:[82, 1] Operation: 24/24=1
Exploring Operation: 24+82=106, Resulting Numbers: [24, 106]
Generated Node #0,4,1: 29:[24, 106] Operation: 24+82=106
Exploring Operation: 24+24=48, Resulting Numbers: [82, 48]
Generated Node #0,4,2: 29:[82, 48] Operation: 24+24=48
Exploring Operation: 82-24=58, Resulting Numbers: [24, 58]
Generated Node #0,4,3: 29:[24, 58] Operation: 82-24=58
Exploring Operation: 82-24=58, Resulting Numbers: [24, 58]
Generated Node #0,4,4: 29:[24, 58] Operation: 82-24=58
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[24, 58], Operations: ['15+9=24', '82-24=58']
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,29 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,29 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: 29:[24, 58], Operations: ['15+9=24', '82-24=58']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,29 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,29 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: 29:[82, 48], Operations: ['15+9=24', '24+24=48']
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,29 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,29 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: 29:[82, 1], Operations: ['15+9=24', '24/24=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,29 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: 29:[24, 106], Operations: ['15+9=24', '24+82=106']
Exploring Operation: 24*106=2544, Resulting Numbers: [2544]
2544,29 unequal: No Solution
Exploring Operation: 24+106=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 106-24=82, Resulting Numbers: [82]
82,29 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: 29:[15, 82, 33], Operations: ['9+24=33']
Exploring Operation: 82-33=49, Resulting Numbers: [15, 49]
Generated Node #0,3,0: 29:[15, 49] Operation: 82-33=49
Exploring Operation: 15+33=48, Resulting Numbers: [82, 48]
Generated Node #0,3,1: 29:[82, 48] Operation: 15+33=48
Exploring Operation: 33-15=18, Resulting Numbers: [82, 18]
Generated Node #0,3,2: 29:[82, 18] Operation: 33-15=18
Exploring Operation: 82-15=67, Resulting Numbers: [33, 67]
Generated Node #0,3,3: 29:[33, 67] Operation: 82-15=67
Exploring Operation: 15+82=97, Resulting Numbers: [33, 97]
Generated Node #0,3,4: 29:[33, 97] Operation: 15+82=97
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[15, 49], Operations: ['9+24=33', '82-33=49']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,29 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,29 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: 29:[33, 67], Operations: ['9+24=33', '82-15=67']
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,29 unequal: No Solution
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,29 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: 29:[82, 18], Operations: ['9+24=33', '33-15=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,29 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,29 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,29 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: 29:[82, 48], Operations: ['9+24=33', '15+33=48']
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,29 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,29 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: 29:[33, 97], Operations: ['9+24=33', '15+82=97']
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,29 unequal: No Solution
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,29 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,29 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: 29:[24, 58], Operations: ['82-9=73', '73-15=58']
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[15, 49], Operations: ['82-9=73', '73-24=49']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,29 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[73, 39], Operations: ['82-9=73', '15+24=39']
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[73, 9], Operations: ['82-9=73', '24-15=9']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,29 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[24, 88], Operations: ['82-9=73', '15+73=88']
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,29 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,29 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
16,
46,
9,
7
] | 14 | [
"46-16=30",
"9+7=16",
"30-16=14"
] | Current State: 14:[16, 46, 9, 7], Operations: []
Exploring Operation: 46-16=30, Resulting Numbers: [9, 7, 30]
Generated Node #2: [9, 7, 30] from Operation: 46-16=30
Current State: 14:[9, 7, 30], Operations: ['46-16=30']
Exploring Operation: 9+7=16, Resulting Numbers: [30, 16]
Generated Node #3: [30, 16] from Operation: 9+7=16
Current State: 14:[30, 16], Operations: ['46-16=30', '9+7=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[16, 46, 9, 7], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [46, 7, 7]
Generated Node #0,0: 14:[46, 7, 7] Operation: 16-9=7
Exploring Operation: 46-9=37, Resulting Numbers: [16, 7, 37]
Generated Node #0,1: 14:[16, 7, 37] Operation: 46-9=37
Exploring Operation: 46-16=30, Resulting Numbers: [9, 7, 30]
Generated Node #0,2: 14:[9, 7, 30] Operation: 46-16=30
Exploring Operation: 46-7=39, Resulting Numbers: [16, 9, 39]
Generated Node #0,3: 14:[16, 9, 39] Operation: 46-7=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[9, 7, 30], Operations: ['46-16=30']
Exploring Operation: 30-7=23, Resulting Numbers: [9, 23]
Generated Node #0,2,0: 14:[9, 23] Operation: 30-7=23
Exploring Operation: 9-7=2, Resulting Numbers: [30, 2]
Generated Node #0,2,1: 14:[30, 2] Operation: 9-7=2
Exploring Operation: 9+7=16, Resulting Numbers: [30, 16]
Generated Node #0,2,2: 14:[30, 16] Operation: 9+7=16
Exploring Operation: 30-9=21, Resulting Numbers: [7, 21]
Generated Node #0,2,3: 14:[7, 21] Operation: 30-9=21
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 14:[7, 21], Operations: ['46-16=30', '30-9=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[16, 46, 9, 7], Operations: []
Exploring Operation: 46-16=30, Resulting Numbers: [9, 7, 30]
Generated Node #0,2: 14:[9, 7, 30] Operation: 46-16=30
Moving to Node #0,2
Current State: 14:[9, 7, 30], Operations: ['46-16=30']
Exploring Operation: 30-9=21, Resulting Numbers: [7, 21]
Generated Node #0,2,3: 14:[7, 21] Operation: 30-9=21
Moving to Node #0,2,3
Current State: 14:[7, 21], Operations: ['46-16=30', '30-9=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
10,
14,
15,
3
] | 12 | [
"10+14=24",
"15-3=12",
"24-12=12"
] | Current State: 12:[10, 14, 15, 3], Operations: []
Exploring Operation: 10+14=24, Resulting Numbers: [15, 3, 24]
Generated Node #2: [15, 3, 24] from Operation: 10+14=24
Current State: 12:[15, 3, 24], Operations: ['10+14=24']
Exploring Operation: 15-3=12, Resulting Numbers: [24, 12]
Generated Node #3: [24, 12] from Operation: 15-3=12
Current State: 12:[24, 12], Operations: ['10+14=24', '15-3=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[10, 14, 15, 3], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [14, 3, 5]
Generated Node #0,0: 12:[14, 3, 5] Operation: 15-10=5
Exploring Operation: 14-10=4, Resulting Numbers: [15, 3, 4]
Generated Node #0,1: 12:[15, 3, 4] Operation: 14-10=4
Exploring Operation: 15-3=12, Resulting Numbers: [10, 14, 12]
Generated Node #0,2: 12:[10, 14, 12] Operation: 15-3=12
Exploring Operation: 15-14=1, Resulting Numbers: [10, 3, 1]
Generated Node #0,3: 12:[10, 3, 1] Operation: 15-14=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[14, 3, 5], Operations: ['15-10=5']
Exploring Operation: 14-5=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 12:[3, 9] Operation: 14-5=9
Exploring Operation: 14-3=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 12:[5, 11] Operation: 14-3=11
Exploring Operation: 5-3=2, Resulting Numbers: [14, 2]
Generated Node #0,0,2: 12:[14, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [14, 8]
Generated Node #0,0,3: 12:[14, 8] Operation: 3+5=8
Moving to Node #0,0,1
Current State: 12:[5, 11], Operations: ['15-10=5', '14-3=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[14, 2], Operations: ['15-10=5', '5-3=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[10, 14, 15, 3], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [14, 3, 5]
Generated Node #0,0: 12:[14, 3, 5] Operation: 15-10=5
Moving to Node #0,0
Current State: 12:[14, 3, 5], Operations: ['15-10=5']
Exploring Operation: 5-3=2, Resulting Numbers: [14, 2]
Generated Node #0,0,2: 12:[14, 2] Operation: 5-3=2
Moving to Node #0,0,2
Current State: 12:[14, 2], Operations: ['15-10=5', '5-3=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
52,
5,
13,
3
] | 52 | [
"5+3=8",
"13*8=104",
"104-52=52"
] | Current State: 52:[52, 5, 13, 3], Operations: []
Exploring Operation: 5+3=8, Resulting Numbers: [52, 13, 8]
Generated Node #2: [52, 13, 8] from Operation: 5+3=8
Current State: 52:[52, 13, 8], Operations: ['5+3=8']
Exploring Operation: 13*8=104, Resulting Numbers: [52, 104]
Generated Node #3: [52, 104] from Operation: 13*8=104
Current State: 52:[52, 104], Operations: ['5+3=8', '13*8=104']
Exploring Operation: 104-52=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[52, 5, 13, 3], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [52, 13, 15]
Generated Node #0,0: 52:[52, 13, 15] Operation: 5*3=15
Exploring Operation: 52+3=55, Resulting Numbers: [5, 13, 55]
Generated Node #0,1: 52:[5, 13, 55] Operation: 52+3=55
Exploring Operation: 52/13=4, Resulting Numbers: [5, 3, 4]
Generated Node #0,2: 52:[5, 3, 4] Operation: 52/13=4
Exploring Operation: 5-3=2, Resulting Numbers: [52, 13, 2]
Generated Node #0,3: 52:[52, 13, 2] Operation: 5-3=2
Moving to Node #0,3
Current State: 52:[52, 13, 2], Operations: ['5-3=2']
Exploring Operation: 52/13=4, Resulting Numbers: [2, 4]
Generated Node #0,3,0: 52:[2, 4] Operation: 52/13=4
Exploring Operation: 13*2=26, Resulting Numbers: [52, 26]
Generated Node #0,3,1: 52:[52, 26] Operation: 13*2=26
Exploring Operation: 52+2=54, Resulting Numbers: [13, 54]
Generated Node #0,3,2: 52:[13, 54] Operation: 52+2=54
Exploring Operation: 52/2=26, Resulting Numbers: [13, 26]
Generated Node #0,3,3: 52:[13, 26] Operation: 52/2=26
Moving to Node #0,2
Current State: 52:[5, 3, 4], Operations: ['52/13=4']
Exploring Operation: 5-3=2, Resulting Numbers: [4, 2]
Generated Node #0,2,0: 52:[4, 2] Operation: 5-3=2
Exploring Operation: 3*4=12, Resulting Numbers: [5, 12]
Generated Node #0,2,1: 52:[5, 12] Operation: 3*4=12
Exploring Operation: 5-4=1, Resulting Numbers: [3, 1]
Generated Node #0,2,2: 52:[3, 1] Operation: 5-4=1
Exploring Operation: 5*3=15, Resulting Numbers: [4, 15]
Generated Node #0,2,3: 52:[4, 15] Operation: 5*3=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[4, 2], Operations: ['52/13=4', '5-3=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,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,2,1
Current State: 52:[5, 12], Operations: ['52/13=4', '3*4=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,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,2,2
Current State: 52:[3, 1], Operations: ['52/13=4', '5-4=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,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,2,3
Current State: 52:[4, 15], Operations: ['52/13=4', '5*3=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 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: 52:[52, 13, 15], Operations: ['5*3=15']
Exploring Operation: 15-13=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 52:[52, 2] Operation: 15-13=2
Exploring Operation: 52-15=37, Resulting Numbers: [13, 37]
Generated Node #0,0,1: 52:[13, 37] Operation: 52-15=37
Exploring Operation: 52/13=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 52:[15, 4] Operation: 52/13=4
Exploring Operation: 13+15=28, Resulting Numbers: [52, 28]
Generated Node #0,0,3: 52:[52, 28] Operation: 13+15=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[52, 2], Operations: ['5*3=15', '15-13=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,52 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,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,2
Current State: 52:[15, 4], Operations: ['5*3=15', '52/13=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,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,3
Current State: 52:[52, 28], Operations: ['5*3=15', '13+15=28']
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,52 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,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,1
Current State: 52:[13, 37], Operations: ['5*3=15', '52-15=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,52 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,52 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: 52:[5, 13, 55], Operations: ['52+3=55']
Exploring Operation: 55-5=50, Resulting Numbers: [13, 50]
Generated Node #0,1,0: 52:[13, 50] Operation: 55-5=50
Exploring Operation: 13-5=8, Resulting Numbers: [55, 8]
Generated Node #0,1,1: 52:[55, 8] Operation: 13-5=8
Exploring Operation: 55/5=11, Resulting Numbers: [13, 11]
Generated Node #0,1,2: 52:[13, 11] Operation: 55/5=11
Exploring Operation: 5+13=18, Resulting Numbers: [55, 18]
Generated Node #0,1,3: 52:[55, 18] Operation: 5+13=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[13, 50], Operations: ['52+3=55', '55-5=50']
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,52 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,52 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,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,2
Current State: 52:[13, 11], Operations: ['52+3=55', '55/5=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,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,1
Current State: 52:[55, 8], Operations: ['52+3=55', '13-5=8']
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,52 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,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,3
Current State: 52:[55, 18], Operations: ['52+3=55', '5+13=18']
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 52:[2, 4], Operations: ['5-3=2', '52/13=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[13, 26], Operations: ['5-3=2', '52/2=26']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,52 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[52, 26], Operations: ['5-3=2', '13*2=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,52 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[13, 54], Operations: ['5-3=2', '52+2=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,52 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,52 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
96,
89,
95,
54
] | 70 | [
"95-89=6",
"96/6=16",
"54+16=70"
] | Current State: 70:[96, 89, 95, 54], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [96, 54, 6]
Generated Node #2: [96, 54, 6] from Operation: 95-89=6
Current State: 70:[96, 54, 6], Operations: ['95-89=6']
Exploring Operation: 96/6=16, Resulting Numbers: [54, 16]
Generated Node #3: [54, 16] from Operation: 96/6=16
Current State: 70:[54, 16], Operations: ['95-89=6', '96/6=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[96, 89, 95, 54], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [96, 95, 35]
Generated Node #0,0: 70:[96, 95, 35] Operation: 89-54=35
Exploring Operation: 96-54=42, Resulting Numbers: [89, 95, 42]
Generated Node #0,1: 70:[89, 95, 42] Operation: 96-54=42
Exploring Operation: 96-89=7, Resulting Numbers: [95, 54, 7]
Generated Node #0,2: 70:[95, 54, 7] Operation: 96-89=7
Exploring Operation: 95-89=6, Resulting Numbers: [96, 54, 6]
Generated Node #0,3: 70:[96, 54, 6] Operation: 95-89=6
Exploring Operation: 96-95=1, Resulting Numbers: [89, 54, 1]
Generated Node #0,4: 70:[89, 54, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[89, 54, 1], Operations: ['96-95=1']
Exploring Operation: 89-1=88, Resulting Numbers: [54, 88]
Generated Node #0,4,0: 70:[54, 88] Operation: 89-1=88
Exploring Operation: 89/1=89, Resulting Numbers: [54, 89]
Generated Node #0,4,1: 70:[54, 89] Operation: 89/1=89
Exploring Operation: 89-54=35, Resulting Numbers: [1, 35]
Generated Node #0,4,2: 70:[1, 35] Operation: 89-54=35
Exploring Operation: 89*1=89, Resulting Numbers: [54, 89]
Generated Node #0,4,3: 70:[54, 89] Operation: 89*1=89
Exploring Operation: 54+1=55, Resulting Numbers: [89, 55]
Generated Node #0,4,4: 70:[89, 55] Operation: 54+1=55
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 70:[1, 35], Operations: ['96-95=1', '89-54=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,70 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: 70:[54, 88], Operations: ['96-95=1', '89-1=88']
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,70 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,70 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: 70:[89, 55], Operations: ['96-95=1', '54+1=55']
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,70 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,70 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,1
Current State: 70:[54, 89], Operations: ['96-95=1', '89/1=89']
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,70 unequal: No Solution
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,70 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: 70:[54, 89], Operations: ['96-95=1', '89*1=89']
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,70 unequal: No Solution
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,70 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: 70:[95, 54, 7], Operations: ['96-89=7']
Exploring Operation: 54-7=47, Resulting Numbers: [95, 47]
Generated Node #0,2,0: 70:[95, 47] Operation: 54-7=47
Exploring Operation: 54+7=61, Resulting Numbers: [95, 61]
Generated Node #0,2,1: 70:[95, 61] Operation: 54+7=61
Exploring Operation: 95-7=88, Resulting Numbers: [54, 88]
Generated Node #0,2,2: 70:[54, 88] Operation: 95-7=88
Exploring Operation: 95-54=41, Resulting Numbers: [7, 41]
Generated Node #0,2,3: 70:[7, 41] Operation: 95-54=41
Exploring Operation: 95+7=102, Resulting Numbers: [54, 102]
Generated Node #0,2,4: 70:[54, 102] Operation: 95+7=102
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[7, 41], Operations: ['96-89=7', '95-54=41']
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,70 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,70 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: 70:[95, 61], Operations: ['96-89=7', '54+7=61']
Exploring Operation: 95*61=5795, Resulting Numbers: [5795]
5795,70 unequal: No Solution
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 95+61=156, Resulting Numbers: [156]
156,70 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: 70:[54, 88], Operations: ['96-89=7', '95-7=88']
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,70 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,70 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: 70:[95, 47], Operations: ['96-89=7', '54-7=47']
Exploring Operation: 95+47=142, Resulting Numbers: [142]
142,70 unequal: No Solution
Exploring Operation: 95-47=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 95*47=4465, Resulting Numbers: [4465]
4465,70 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,4
Current State: 70:[54, 102], Operations: ['96-89=7', '95+7=102']
Exploring Operation: 54+102=156, Resulting Numbers: [156]
156,70 unequal: No Solution
Exploring Operation: 54*102=5508, Resulting Numbers: [5508]
5508,70 unequal: No Solution
Exploring Operation: 102-54=48, Resulting Numbers: [48]
48,70 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: 70:[96, 54, 6], Operations: ['95-89=6']
Exploring Operation: 96-6=90, Resulting Numbers: [54, 90]
Generated Node #0,3,0: 70:[54, 90] Operation: 96-6=90
Exploring Operation: 96-54=42, Resulting Numbers: [6, 42]
Generated Node #0,3,1: 70:[6, 42] Operation: 96-54=42
Exploring Operation: 54/6=9, Resulting Numbers: [96, 9]
Generated Node #0,3,2: 70:[96, 9] Operation: 54/6=9
Exploring Operation: 54+6=60, Resulting Numbers: [96, 60]
Generated Node #0,3,3: 70:[96, 60] Operation: 54+6=60
Exploring Operation: 96/6=16, Resulting Numbers: [54, 16]
Generated Node #0,3,4: 70:[54, 16] Operation: 96/6=16
Moving to Node #0,3,1
Current State: 70:[6, 42], Operations: ['95-89=6', '96-54=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,70 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Moving to Node #0,3,4
Current State: 70:[54, 16], Operations: ['95-89=6', '96/6=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[96, 89, 95, 54], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [96, 54, 6]
Generated Node #0,3: 70:[96, 54, 6] Operation: 95-89=6
Moving to Node #0,3
Current State: 70:[96, 54, 6], Operations: ['95-89=6']
Exploring Operation: 96/6=16, Resulting Numbers: [54, 16]
Generated Node #0,3,4: 70:[54, 16] Operation: 96/6=16
Moving to Node #0,3,4
Current State: 70:[54, 16], Operations: ['95-89=6', '96/6=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
6,
32,
87,
97
] | 48 | [
"6+32=38",
"97-87=10",
"38+10=48"
] | Current State: 48:[6, 32, 87, 97], Operations: []
Exploring Operation: 6+32=38, Resulting Numbers: [87, 97, 38]
Generated Node #2: [87, 97, 38] from Operation: 6+32=38
Current State: 48:[87, 97, 38], Operations: ['6+32=38']
Exploring Operation: 97-87=10, Resulting Numbers: [38, 10]
Generated Node #3: [38, 10] from Operation: 97-87=10
Current State: 48:[38, 10], Operations: ['6+32=38', '97-87=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 32, 87, 97], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [6, 87, 65]
Generated Node #0,0: 48:[6, 87, 65] Operation: 97-32=65
Exploring Operation: 87-32=55, Resulting Numbers: [6, 97, 55]
Generated Node #0,1: 48:[6, 97, 55] Operation: 87-32=55
Exploring Operation: 97-87=10, Resulting Numbers: [6, 32, 10]
Generated Node #0,2: 48:[6, 32, 10] Operation: 97-87=10
Moving to Node #0,2
Current State: 48:[6, 32, 10], Operations: ['97-87=10']
Exploring Operation: 32-6=26, Resulting Numbers: [10, 26]
Generated Node #0,2,0: 48:[10, 26] Operation: 32-6=26
Exploring Operation: 32+10=42, Resulting Numbers: [6, 42]
Generated Node #0,2,1: 48:[6, 42] Operation: 32+10=42
Exploring Operation: 32-10=22, Resulting Numbers: [6, 22]
Generated Node #0,2,2: 48:[6, 22] Operation: 32-10=22
Moving to Node #0,0
Current State: 48:[6, 87, 65], Operations: ['97-32=65']
Exploring Operation: 87-65=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 48:[6, 22] Operation: 87-65=22
Exploring Operation: 65-6=59, Resulting Numbers: [87, 59]
Generated Node #0,0,1: 48:[87, 59] Operation: 65-6=59
Exploring Operation: 87-6=81, Resulting Numbers: [65, 81]
Generated Node #0,0,2: 48:[65, 81] Operation: 87-6=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[6, 22], Operations: ['97-32=65', '87-65=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,48 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,48 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: 48:[87, 59], Operations: ['97-32=65', '65-6=59']
Exploring Operation: 87*59=5133, Resulting Numbers: [5133]
5133,48 unequal: No Solution
Exploring Operation: 87+59=146, Resulting Numbers: [146]
146,48 unequal: No Solution
Exploring Operation: 87-59=28, Resulting Numbers: [28]
28,48 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: 48:[65, 81], Operations: ['97-32=65', '87-6=81']
Exploring Operation: 65*81=5265, Resulting Numbers: [5265]
5265,48 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,48 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: 48:[6, 97, 55], Operations: ['87-32=55']
Exploring Operation: 55-6=49, Resulting Numbers: [97, 49]
Generated Node #0,1,0: 48:[97, 49] Operation: 55-6=49
Exploring Operation: 97-6=91, Resulting Numbers: [55, 91]
Generated Node #0,1,1: 48:[55, 91] Operation: 97-6=91
Exploring Operation: 97-55=42, Resulting Numbers: [6, 42]
Generated Node #0,1,2: 48:[6, 42] Operation: 97-55=42
Moving to Node #0,2,2
Current State: 48:[6, 22], Operations: ['97-87=10', '32-10=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[10, 26], Operations: ['97-87=10', '32-6=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,48 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[6, 42], Operations: ['97-87=10', '32+10=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[6, 32, 87, 97], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [6, 32, 10]
Generated Node #0,2: 48:[6, 32, 10] Operation: 97-87=10
Moving to Node #0,2
Current State: 48:[6, 32, 10], Operations: ['97-87=10']
Exploring Operation: 32+10=42, Resulting Numbers: [6, 42]
Generated Node #0,2,1: 48:[6, 42] Operation: 32+10=42
Moving to Node #0,2,1
Current State: 48:[6, 42], Operations: ['97-87=10', '32+10=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.970486 | hs_3 | sum_heuristic |
[
49,
38,
22,
52
] | 77 | [
"49*22=1078",
"52-38=14",
"1078/14=77"
] | Current State: 77:[49, 38, 22, 52], Operations: []
Exploring Operation: 49*22=1078, Resulting Numbers: [38, 52, 1078]
Generated Node #2: [38, 52, 1078] from Operation: 49*22=1078
Current State: 77:[38, 52, 1078], Operations: ['49*22=1078']
Exploring Operation: 52-38=14, Resulting Numbers: [1078, 14]
Generated Node #3: [1078, 14] from Operation: 52-38=14
Current State: 77:[1078, 14], Operations: ['49*22=1078', '52-38=14']
Exploring Operation: 1078/14=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[49, 38, 22, 52], Operations: []
Exploring Operation: 49+38=87, Resulting Numbers: [22, 52, 87]
Generated Node #0,0: 77:[22, 52, 87] Operation: 49+38=87
Exploring Operation: 52-49=3, Resulting Numbers: [38, 22, 3]
Generated Node #0,1: 77:[38, 22, 3] Operation: 52-49=3
Exploring Operation: 49-38=11, Resulting Numbers: [22, 52, 11]
Generated Node #0,2: 77:[22, 52, 11] Operation: 49-38=11
Exploring Operation: 38+52=90, Resulting Numbers: [49, 22, 90]
Generated Node #0,3: 77:[49, 22, 90] Operation: 38+52=90
Exploring Operation: 52-38=14, Resulting Numbers: [49, 22, 14]
Generated Node #0,4: 77:[49, 22, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[22, 52, 11], Operations: ['49-38=11']
Exploring Operation: 22-11=11, Resulting Numbers: [52, 11]
Generated Node #0,2,0: 77:[52, 11] Operation: 22-11=11
Exploring Operation: 52-22=30, Resulting Numbers: [11, 30]
Generated Node #0,2,1: 77:[11, 30] Operation: 52-22=30
Exploring Operation: 22+52=74, Resulting Numbers: [11, 74]
Generated Node #0,2,2: 77:[11, 74] Operation: 22+52=74
Exploring Operation: 52+11=63, Resulting Numbers: [22, 63]
Generated Node #0,2,3: 77:[22, 63] Operation: 52+11=63
Exploring Operation: 22/11=2, Resulting Numbers: [52, 2]
Generated Node #0,2,4: 77:[52, 2] Operation: 22/11=2
Moving to Node #0,2,2
Current State: 77:[11, 74], Operations: ['49-38=11', '22+52=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,77 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[11, 30], Operations: ['49-38=11', '52-22=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,77 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[52, 11], Operations: ['49-38=11', '22-11=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,77 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[22, 63], Operations: ['49-38=11', '52+11=63']
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,77 unequal: No Solution
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[52, 2], Operations: ['49-38=11', '22/11=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,77 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,77 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: 77:[38, 22, 3], Operations: ['52-49=3']
Exploring Operation: 38-3=35, Resulting Numbers: [22, 35]
Generated Node #0,1,0: 77:[22, 35] Operation: 38-3=35
Exploring Operation: 22*3=66, Resulting Numbers: [38, 66]
Generated Node #0,1,1: 77:[38, 66] Operation: 22*3=66
Exploring Operation: 38-22=16, Resulting Numbers: [3, 16]
Generated Node #0,1,2: 77:[3, 16] Operation: 38-22=16
Exploring Operation: 22-3=19, Resulting Numbers: [38, 19]
Generated Node #0,1,3: 77:[38, 19] Operation: 22-3=19
Exploring Operation: 38+22=60, Resulting Numbers: [3, 60]
Generated Node #0,1,4: 77:[3, 60] Operation: 38+22=60
Moving to Node #0,1,2
Current State: 77:[3, 16], Operations: ['52-49=3', '38-22=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[3, 60], Operations: ['52-49=3', '38+22=60']
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,77 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[22, 35], Operations: ['52-49=3', '38-3=35']
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,77 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[38, 19], Operations: ['52-49=3', '22-3=19']
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,77 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[38, 66], Operations: ['52-49=3', '22*3=66']
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,77 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,77 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: 77:[49, 22, 14], Operations: ['52-38=14']
Exploring Operation: 49+14=63, Resulting Numbers: [22, 63]
Generated Node #0,4,0: 77:[22, 63] Operation: 49+14=63
Exploring Operation: 49-22=27, Resulting Numbers: [14, 27]
Generated Node #0,4,1: 77:[14, 27] Operation: 49-22=27
Exploring Operation: 49-14=35, Resulting Numbers: [22, 35]
Generated Node #0,4,2: 77:[22, 35] Operation: 49-14=35
Exploring Operation: 49+22=71, Resulting Numbers: [14, 71]
Generated Node #0,4,3: 77:[14, 71] Operation: 49+22=71
Exploring Operation: 22-14=8, Resulting Numbers: [49, 8]
Generated Node #0,4,4: 77:[49, 8] Operation: 22-14=8
Moving to Node #0,4,3
Current State: 77:[14, 71], Operations: ['52-38=14', '49+22=71']
Exploring Operation: 14+71=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 14*71=994, Resulting Numbers: [994]
994,77 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[14, 27], Operations: ['52-38=14', '49-22=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[22, 63], Operations: ['52-38=14', '49+14=63']
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,77 unequal: No Solution
Moving to Node #0,4,4
Current State: 77:[49, 8], Operations: ['52-38=14', '22-14=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,77 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[22, 35], Operations: ['52-38=14', '49-14=35']
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,77 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,77 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: 77:[22, 52, 87], Operations: ['49+38=87']
Exploring Operation: 52-22=30, Resulting Numbers: [87, 30]
Generated Node #0,0,0: 77:[87, 30] Operation: 52-22=30
Exploring Operation: 22+52=74, Resulting Numbers: [87, 74]
Generated Node #0,0,1: 77:[87, 74] Operation: 22+52=74
Exploring Operation: 87-22=65, Resulting Numbers: [52, 65]
Generated Node #0,0,2: 77:[52, 65] Operation: 87-22=65
Exploring Operation: 87-52=35, Resulting Numbers: [22, 35]
Generated Node #0,0,3: 77:[22, 35] Operation: 87-52=35
Exploring Operation: 22+87=109, Resulting Numbers: [52, 109]
Generated Node #0,0,4: 77:[52, 109] Operation: 22+87=109
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[87, 74], Operations: ['49+38=87', '22+52=74']
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 87*74=6438, Resulting Numbers: [6438]
6438,77 unequal: No Solution
Exploring Operation: 87+74=161, Resulting Numbers: [161]
161,77 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: 77:[87, 30], Operations: ['49+38=87', '52-22=30']
Exploring Operation: 87+30=117, Resulting Numbers: [117]
117,77 unequal: No Solution
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 87*30=2610, Resulting Numbers: [2610]
2610,77 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: 77:[22, 35], Operations: ['49+38=87', '87-52=35']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,77 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,77 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: 77:[52, 65], Operations: ['49+38=87', '87-22=65']
Exploring Operation: 52*65=3380, Resulting Numbers: [3380]
3380,77 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 52+65=117, Resulting Numbers: [117]
117,77 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: 77:[52, 109], Operations: ['49+38=87', '22+87=109']
Exploring Operation: 52*109=5668, Resulting Numbers: [5668]
5668,77 unequal: No Solution
Exploring Operation: 52+109=161, Resulting Numbers: [161]
161,77 unequal: No Solution
Exploring Operation: 109-52=57, Resulting Numbers: [57]
57,77 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: 77:[49, 22, 90], Operations: ['38+52=90']
Exploring Operation: 49-22=27, Resulting Numbers: [90, 27]
Generated Node #0,3,0: 77:[90, 27] Operation: 49-22=27
Exploring Operation: 90-49=41, Resulting Numbers: [22, 41]
Generated Node #0,3,1: 77:[22, 41] Operation: 90-49=41
Exploring Operation: 22+90=112, Resulting Numbers: [49, 112]
Generated Node #0,3,2: 77:[49, 112] Operation: 22+90=112
Exploring Operation: 49+22=71, Resulting Numbers: [90, 71]
Generated Node #0,3,3: 77:[90, 71] Operation: 49+22=71
Exploring Operation: 90-22=68, Resulting Numbers: [49, 68]
Generated Node #0,3,4: 77:[49, 68] Operation: 90-22=68
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 77:[90, 71], Operations: ['38+52=90', '49+22=71']
Exploring Operation: 90*71=6390, Resulting Numbers: [6390]
6390,77 unequal: No Solution
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,77 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,77 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: 77:[90, 27], Operations: ['38+52=90', '49-22=27']
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,77 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,77 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,4
Current State: 77:[49, 68], Operations: ['38+52=90', '90-22=68']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 49+68=117, Resulting Numbers: [117]
117,77 unequal: No Solution
Exploring Operation: 49*68=3332, Resulting Numbers: [3332]
3332,77 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: 77:[22, 41], Operations: ['38+52=90', '90-49=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,77 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: 77:[49, 112], Operations: ['38+52=90', '22+90=112']
Exploring Operation: 49*112=5488, Resulting Numbers: [5488]
5488,77 unequal: No Solution
Exploring Operation: 49+112=161, Resulting Numbers: [161]
161,77 unequal: No Solution
Exploring Operation: 112-49=63, Resulting Numbers: [63]
63,77 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 |
[
3,
62,
57,
2
] | 21 | [
"62-57=5",
"2+5=7",
"3*7=21"
] | Current State: 21:[3, 62, 57, 2], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [3, 2, 5]
Generated Node #2: [3, 2, 5] from Operation: 62-57=5
Current State: 21:[3, 2, 5], Operations: ['62-57=5']
Exploring Operation: 2+5=7, Resulting Numbers: [3, 7]
Generated Node #3: [3, 7] from Operation: 2+5=7
Current State: 21:[3, 7], Operations: ['62-57=5', '2+5=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[3, 62, 57, 2], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [62, 2, 19]
Generated Node #0,0: 21:[62, 2, 19] Operation: 57/3=19
Exploring Operation: 62-57=5, Resulting Numbers: [3, 2, 5]
Generated Node #0,1: 21:[3, 2, 5] Operation: 62-57=5
Moving to Node #0,1
Current State: 21:[3, 2, 5], Operations: ['62-57=5']
Exploring Operation: 2+5=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 21:[3, 7] Operation: 2+5=7
Exploring Operation: 5-2=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 21:[3, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[3, 7], Operations: ['62-57=5', '2+5=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[3, 62, 57, 2], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [3, 2, 5]
Generated Node #0,1: 21:[3, 2, 5] Operation: 62-57=5
Moving to Node #0,1
Current State: 21:[3, 2, 5], Operations: ['62-57=5']
Exploring Operation: 2+5=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 21:[3, 7] Operation: 2+5=7
Moving to Node #0,1,0
Current State: 21:[3, 7], Operations: ['62-57=5', '2+5=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
93,
72,
82,
2
] | 81 | [
"93+72=165",
"82+2=84",
"165-84=81"
] | Current State: 81:[93, 72, 82, 2], Operations: []
Exploring Operation: 93+72=165, Resulting Numbers: [82, 2, 165]
Generated Node #2: [82, 2, 165] from Operation: 93+72=165
Current State: 81:[82, 2, 165], Operations: ['93+72=165']
Exploring Operation: 82+2=84, Resulting Numbers: [165, 84]
Generated Node #3: [165, 84] from Operation: 82+2=84
Current State: 81:[165, 84], Operations: ['93+72=165', '82+2=84']
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[93, 72, 82, 2], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [82, 2, 21]
Generated Node #0,0: 81:[82, 2, 21] Operation: 93-72=21
Exploring Operation: 93-82=11, Resulting Numbers: [72, 2, 11]
Generated Node #0,1: 81:[72, 2, 11] Operation: 93-82=11
Moving to Node #0,0
Current State: 81:[82, 2, 21], Operations: ['93-72=21']
Exploring Operation: 2+21=23, Resulting Numbers: [82, 23]
Generated Node #0,0,0: 81:[82, 23] Operation: 2+21=23
Exploring Operation: 82-2=80, Resulting Numbers: [21, 80]
Generated Node #0,0,1: 81:[21, 80] Operation: 82-2=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[82, 23], Operations: ['93-72=21', '2+21=23']
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,81 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: 81:[21, 80], Operations: ['93-72=21', '82-2=80']
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,81 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: 81:[72, 2, 11], Operations: ['93-82=11']
Exploring Operation: 72+11=83, Resulting Numbers: [2, 83]
Generated Node #0,1,0: 81:[2, 83] Operation: 72+11=83
Exploring Operation: 72+2=74, Resulting Numbers: [11, 74]
Generated Node #0,1,1: 81:[11, 74] Operation: 72+2=74
Moving to Node #0,1,0
Current State: 81:[2, 83], Operations: ['93-82=11', '72+11=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[93, 72, 82, 2], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [72, 2, 11]
Generated Node #0,1: 81:[72, 2, 11] Operation: 93-82=11
Moving to Node #0,1
Current State: 81:[72, 2, 11], Operations: ['93-82=11']
Exploring Operation: 72+11=83, Resulting Numbers: [2, 83]
Generated Node #0,1,0: 81:[2, 83] Operation: 72+11=83
Moving to Node #0,1,0
Current State: 81:[2, 83], Operations: ['93-82=11', '72+11=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
23,
85,
69,
34
] | 54 | [
"69/23=3",
"85-34=51",
"3+51=54"
] | Current State: 54:[23, 85, 69, 34], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [85, 34, 3]
Generated Node #2: [85, 34, 3] from Operation: 69/23=3
Current State: 54:[85, 34, 3], Operations: ['69/23=3']
Exploring Operation: 85-34=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 85-34=51
Current State: 54:[3, 51], Operations: ['69/23=3', '85-34=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[23, 85, 69, 34], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [23, 34, 16]
Generated Node #0,0: 54:[23, 34, 16] Operation: 85-69=16
Exploring Operation: 69/23=3, Resulting Numbers: [85, 34, 3]
Generated Node #0,1: 54:[85, 34, 3] Operation: 69/23=3
Exploring Operation: 85-34=51, Resulting Numbers: [23, 69, 51]
Generated Node #0,2: 54:[23, 69, 51] Operation: 85-34=51
Exploring Operation: 85-23=62, Resulting Numbers: [69, 34, 62]
Generated Node #0,3: 54:[69, 34, 62] Operation: 85-23=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[23, 34, 16], Operations: ['85-69=16']
Exploring Operation: 23-16=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 54:[34, 7] Operation: 23-16=7
Exploring Operation: 23+34=57, Resulting Numbers: [16, 57]
Generated Node #0,0,1: 54:[16, 57] Operation: 23+34=57
Exploring Operation: 34-23=11, Resulting Numbers: [16, 11]
Generated Node #0,0,2: 54:[16, 11] Operation: 34-23=11
Exploring Operation: 34-16=18, Resulting Numbers: [23, 18]
Generated Node #0,0,3: 54:[23, 18] Operation: 34-16=18
Moving to Node #0,0,2
Current State: 54:[16, 11], Operations: ['85-69=16', '34-23=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[23, 18], Operations: ['85-69=16', '34-16=18']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,54 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[16, 57], Operations: ['85-69=16', '23+34=57']
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,54 unequal: No Solution
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,54 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[34, 7], Operations: ['85-69=16', '23-16=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,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,2
Current State: 54:[23, 69, 51], Operations: ['85-34=51']
Exploring Operation: 51-23=28, Resulting Numbers: [69, 28]
Generated Node #0,2,0: 54:[69, 28] Operation: 51-23=28
Exploring Operation: 69-51=18, Resulting Numbers: [23, 18]
Generated Node #0,2,1: 54:[23, 18] Operation: 69-51=18
Exploring Operation: 69/23=3, Resulting Numbers: [51, 3]
Generated Node #0,2,2: 54:[51, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [51, 46]
Generated Node #0,2,3: 54:[51, 46] Operation: 69-23=46
Moving to Node #0,2,2
Current State: 54:[51, 3], Operations: ['85-34=51', '69/23=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[23, 85, 69, 34], Operations: []
Exploring Operation: 85-34=51, Resulting Numbers: [23, 69, 51]
Generated Node #0,2: 54:[23, 69, 51] Operation: 85-34=51
Moving to Node #0,2
Current State: 54:[23, 69, 51], Operations: ['85-34=51']
Exploring Operation: 69/23=3, Resulting Numbers: [51, 3]
Generated Node #0,2,2: 54:[51, 3] Operation: 69/23=3
Moving to Node #0,2,2
Current State: 54:[51, 3], Operations: ['85-34=51', '69/23=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
58,
35,
51,
50
] | 22 | [
"58-35=23",
"51-50=1",
"23-1=22"
] | Current State: 22:[58, 35, 51, 50], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [51, 50, 23]
Generated Node #2: [51, 50, 23] from Operation: 58-35=23
Current State: 22:[51, 50, 23], Operations: ['58-35=23']
Exploring Operation: 51-50=1, Resulting Numbers: [23, 1]
Generated Node #3: [23, 1] from Operation: 51-50=1
Current State: 22:[23, 1], Operations: ['58-35=23', '51-50=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[58, 35, 51, 50], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [35, 51, 8]
Generated Node #0,0: 22:[35, 51, 8] Operation: 58-50=8
Exploring Operation: 58-51=7, Resulting Numbers: [35, 50, 7]
Generated Node #0,1: 22:[35, 50, 7] Operation: 58-51=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[35, 51, 8], Operations: ['58-50=8']
Exploring Operation: 35-8=27, Resulting Numbers: [51, 27]
Generated Node #0,0,0: 22:[51, 27] Operation: 35-8=27
Exploring Operation: 51-35=16, Resulting Numbers: [8, 16]
Generated Node #0,0,1: 22:[8, 16] Operation: 51-35=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[8, 16], Operations: ['58-50=8', '51-35=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,22 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: 22:[51, 27], Operations: ['58-50=8', '35-8=27']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 51+27=78, Resulting Numbers: [78]
78,22 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: 22:[35, 50, 7], Operations: ['58-51=7']
Exploring Operation: 35/7=5, Resulting Numbers: [50, 5]
Generated Node #0,1,0: 22:[50, 5] Operation: 35/7=5
Exploring Operation: 50-35=15, Resulting Numbers: [7, 15]
Generated Node #0,1,1: 22:[7, 15] Operation: 50-35=15
Moving to Node #0,1,1
Current State: 22:[7, 15], Operations: ['58-51=7', '50-35=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[58, 35, 51, 50], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [35, 50, 7]
Generated Node #0,1: 22:[35, 50, 7] Operation: 58-51=7
Moving to Node #0,1
Current State: 22:[35, 50, 7], Operations: ['58-51=7']
Exploring Operation: 50-35=15, Resulting Numbers: [7, 15]
Generated Node #0,1,1: 22:[7, 15] Operation: 50-35=15
Moving to Node #0,1,1
Current State: 22:[7, 15], Operations: ['58-51=7', '50-35=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
8,
92,
93,
73
] | 59 | [
"92-73=19",
"8*19=152",
"152-93=59"
] | Current State: 59:[8, 92, 93, 73], Operations: []
Exploring Operation: 92-73=19, Resulting Numbers: [8, 93, 19]
Generated Node #2: [8, 93, 19] from Operation: 92-73=19
Current State: 59:[8, 93, 19], Operations: ['92-73=19']
Exploring Operation: 8*19=152, Resulting Numbers: [93, 152]
Generated Node #3: [93, 152] from Operation: 8*19=152
Current State: 59:[93, 152], Operations: ['92-73=19', '8*19=152']
Exploring Operation: 152-93=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[8, 92, 93, 73], Operations: []
Exploring Operation: 8+93=101, Resulting Numbers: [92, 73, 101]
Generated Node #0,0: 59:[92, 73, 101] Operation: 8+93=101
Exploring Operation: 93-8=85, Resulting Numbers: [92, 73, 85]
Generated Node #0,1: 59:[92, 73, 85] Operation: 93-8=85
Exploring Operation: 92-8=84, Resulting Numbers: [93, 73, 84]
Generated Node #0,2: 59:[93, 73, 84] Operation: 92-8=84
Exploring Operation: 73-8=65, Resulting Numbers: [92, 93, 65]
Generated Node #0,3: 59:[92, 93, 65] Operation: 73-8=65
Exploring Operation: 8+92=100, Resulting Numbers: [93, 73, 100]
Generated Node #0,4: 59:[93, 73, 100] Operation: 8+92=100
Moving to Node #0,1
Current State: 59:[92, 73, 85], Operations: ['93-8=85']
Exploring Operation: 92+85=177, Resulting Numbers: [73, 177]
Generated Node #0,1,0: 59:[73, 177] Operation: 92+85=177
Exploring Operation: 92+73=165, Resulting Numbers: [85, 165]
Generated Node #0,1,1: 59:[85, 165] Operation: 92+73=165
Exploring Operation: 92-73=19, Resulting Numbers: [85, 19]
Generated Node #0,1,2: 59:[85, 19] Operation: 92-73=19
Exploring Operation: 92-85=7, Resulting Numbers: [73, 7]
Generated Node #0,1,3: 59:[73, 7] Operation: 92-85=7
Exploring Operation: 85-73=12, Resulting Numbers: [92, 12]
Generated Node #0,1,4: 59:[92, 12] Operation: 85-73=12
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[85, 19], Operations: ['93-8=85', '92-73=19']
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,59 unequal: No Solution
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,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,1,3
Current State: 59:[73, 7], Operations: ['93-8=85', '92-85=7']
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,59 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,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,1,4
Current State: 59:[92, 12], Operations: ['93-8=85', '85-73=12']
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,59 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,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,1,0
Current State: 59:[73, 177], Operations: ['93-8=85', '92+85=177']
Exploring Operation: 73+177=250, Resulting Numbers: [250]
250,59 unequal: No Solution
Exploring Operation: 73*177=12921, Resulting Numbers: [12921]
12921,59 unequal: No Solution
Exploring Operation: 177-73=104, Resulting Numbers: [104]
104,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,1,1
Current State: 59:[85, 165], Operations: ['93-8=85', '92+73=165']
Exploring Operation: 85+165=250, Resulting Numbers: [250]
250,59 unequal: No Solution
Exploring Operation: 165-85=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 85*165=14025, Resulting Numbers: [14025]
14025,59 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: 59:[92, 93, 65], Operations: ['73-8=65']
Exploring Operation: 92+65=157, Resulting Numbers: [93, 157]
Generated Node #0,3,0: 59:[93, 157] Operation: 92+65=157
Exploring Operation: 93-92=1, Resulting Numbers: [65, 1]
Generated Node #0,3,1: 59:[65, 1] Operation: 93-92=1
Exploring Operation: 92-65=27, Resulting Numbers: [93, 27]
Generated Node #0,3,2: 59:[93, 27] Operation: 92-65=27
Exploring Operation: 93-65=28, Resulting Numbers: [92, 28]
Generated Node #0,3,3: 59:[92, 28] Operation: 93-65=28
Exploring Operation: 92+93=185, Resulting Numbers: [65, 185]
Generated Node #0,3,4: 59:[65, 185] Operation: 92+93=185
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[65, 1], Operations: ['73-8=65', '93-92=1']
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,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,3
Current State: 59:[92, 28], Operations: ['73-8=65', '93-65=28']
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,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,2
Current State: 59:[93, 27], Operations: ['73-8=65', '92-65=27']
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,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,0
Current State: 59:[93, 157], Operations: ['73-8=65', '92+65=157']
Exploring Operation: 157-93=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 93+157=250, Resulting Numbers: [250]
250,59 unequal: No Solution
Exploring Operation: 93*157=14601, Resulting Numbers: [14601]
14601,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,4
Current State: 59:[65, 185], Operations: ['73-8=65', '92+93=185']
Exploring Operation: 65+185=250, Resulting Numbers: [250]
250,59 unequal: No Solution
Exploring Operation: 185-65=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 65*185=12025, Resulting Numbers: [12025]
12025,59 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: 59:[93, 73, 84], Operations: ['92-8=84']
Exploring Operation: 93-73=20, Resulting Numbers: [84, 20]
Generated Node #0,2,0: 59:[84, 20] Operation: 93-73=20
Exploring Operation: 93+84=177, Resulting Numbers: [73, 177]
Generated Node #0,2,1: 59:[73, 177] Operation: 93+84=177
Exploring Operation: 84-73=11, Resulting Numbers: [93, 11]
Generated Node #0,2,2: 59:[93, 11] Operation: 84-73=11
Exploring Operation: 93-84=9, Resulting Numbers: [73, 9]
Generated Node #0,2,3: 59:[73, 9] Operation: 93-84=9
Exploring Operation: 93+73=166, Resulting Numbers: [84, 166]
Generated Node #0,2,4: 59:[84, 166] Operation: 93+73=166
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[84, 20], Operations: ['92-8=84', '93-73=20']
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,59 unequal: No Solution
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,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,3
Current State: 59:[73, 9], Operations: ['92-8=84', '93-84=9']
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,59 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,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,2
Current State: 59:[93, 11], Operations: ['92-8=84', '84-73=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,59 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,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,1
Current State: 59:[73, 177], Operations: ['92-8=84', '93+84=177']
Exploring Operation: 73+177=250, Resulting Numbers: [250]
250,59 unequal: No Solution
Exploring Operation: 177-73=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 73*177=12921, Resulting Numbers: [12921]
12921,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,4
Current State: 59:[84, 166], Operations: ['92-8=84', '93+73=166']
Exploring Operation: 166-84=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 84*166=13944, Resulting Numbers: [13944]
13944,59 unequal: No Solution
Exploring Operation: 84+166=250, Resulting Numbers: [250]
250,59 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: 59:[92, 73, 101], Operations: ['8+93=101']
Exploring Operation: 92+73=165, Resulting Numbers: [101, 165]
Generated Node #0,0,0: 59:[101, 165] Operation: 92+73=165
Exploring Operation: 101-92=9, Resulting Numbers: [73, 9]
Generated Node #0,0,1: 59:[73, 9] Operation: 101-92=9
Exploring Operation: 101-73=28, Resulting Numbers: [92, 28]
Generated Node #0,0,2: 59:[92, 28] Operation: 101-73=28
Exploring Operation: 92-73=19, Resulting Numbers: [101, 19]
Generated Node #0,0,3: 59:[101, 19] Operation: 92-73=19
Exploring Operation: 92+101=193, Resulting Numbers: [73, 193]
Generated Node #0,0,4: 59:[73, 193] Operation: 92+101=193
Moving to Node #0,4
Current State: 59:[93, 73, 100], Operations: ['8+92=100']
Exploring Operation: 93+100=193, Resulting Numbers: [73, 193]
Generated Node #0,4,0: 59:[73, 193] Operation: 93+100=193
Exploring Operation: 93+73=166, Resulting Numbers: [100, 166]
Generated Node #0,4,1: 59:[100, 166] Operation: 93+73=166
Exploring Operation: 100-73=27, Resulting Numbers: [93, 27]
Generated Node #0,4,2: 59:[93, 27] Operation: 100-73=27
Exploring Operation: 93-73=20, Resulting Numbers: [100, 20]
Generated Node #0,4,3: 59:[100, 20] Operation: 93-73=20
Exploring Operation: 100-93=7, Resulting Numbers: [73, 7]
Generated Node #0,4,4: 59:[73, 7] Operation: 100-93=7
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 59:[93, 27], Operations: ['8+92=100', '100-73=27']
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,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,4,4
Current State: 59:[73, 7], Operations: ['8+92=100', '100-93=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,59 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,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,4,3
Current State: 59:[100, 20], Operations: ['8+92=100', '93-73=20']
Exploring Operation: 100/20=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 100+20=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 100*20=2000, Resulting Numbers: [2000]
2000,59 unequal: No Solution
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,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,4,0
Current State: 59:[73, 193], Operations: ['8+92=100', '93+100=193']
Exploring Operation: 73+193=266, Resulting Numbers: [266]
266,59 unequal: No Solution
Exploring Operation: 193-73=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 73*193=14089, Resulting Numbers: [14089]
14089,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,4,1
Current State: 59:[100, 166], Operations: ['8+92=100', '93+73=166']
Exploring Operation: 100*166=16600, Resulting Numbers: [16600]
16600,59 unequal: No Solution
Exploring Operation: 100+166=266, Resulting Numbers: [266]
266,59 unequal: No Solution
Exploring Operation: 166-100=66, Resulting Numbers: [66]
66,59 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: 59:[73, 9], Operations: ['8+93=101', '101-92=9']
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,59 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[92, 28], Operations: ['8+93=101', '101-73=28']
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[101, 19], Operations: ['8+93=101', '92-73=19']
Exploring Operation: 101*19=1919, Resulting Numbers: [1919]
1919,59 unequal: No Solution
Exploring Operation: 101+19=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 101-19=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[101, 165], Operations: ['8+93=101', '92+73=165']
Exploring Operation: 165-101=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 101*165=16665, Resulting Numbers: [16665]
16665,59 unequal: No Solution
Exploring Operation: 101+165=266, Resulting Numbers: [266]
266,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[73, 193], Operations: ['8+93=101', '92+101=193']
Exploring Operation: 193-73=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 73+193=266, Resulting Numbers: [266]
266,59 unequal: No Solution
Exploring Operation: 73*193=14089, Resulting Numbers: [14089]
14089,59 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
4,
18,
67,
95
] | 44 | [
"4*18=72",
"95-67=28",
"72-28=44"
] | Current State: 44:[4, 18, 67, 95], Operations: []
Exploring Operation: 4*18=72, Resulting Numbers: [67, 95, 72]
Generated Node #2: [67, 95, 72] from Operation: 4*18=72
Current State: 44:[67, 95, 72], Operations: ['4*18=72']
Exploring Operation: 95-67=28, Resulting Numbers: [72, 28]
Generated Node #3: [72, 28] from Operation: 95-67=28
Current State: 44:[72, 28], Operations: ['4*18=72', '95-67=28']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 18, 67, 95], Operations: []
Exploring Operation: 67-18=49, Resulting Numbers: [4, 95, 49]
Generated Node #0,0: 44:[4, 95, 49] Operation: 67-18=49
Exploring Operation: 95-67=28, Resulting Numbers: [4, 18, 28]
Generated Node #0,1: 44:[4, 18, 28] Operation: 95-67=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[4, 18, 28], Operations: ['95-67=28']
Exploring Operation: 28-18=10, Resulting Numbers: [4, 10]
Generated Node #0,1,0: 44:[4, 10] Operation: 28-18=10
Exploring Operation: 18+28=46, Resulting Numbers: [4, 46]
Generated Node #0,1,1: 44:[4, 46] Operation: 18+28=46
Moving to Node #0,1,0
Current State: 44:[4, 10], Operations: ['95-67=28', '28-18=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[4, 46], Operations: ['95-67=28', '18+28=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,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
Current State: 44:[4, 95, 49], Operations: ['67-18=49']
Exploring Operation: 95-49=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 44:[4, 46] Operation: 95-49=46
Exploring Operation: 95-4=91, Resulting Numbers: [49, 91]
Generated Node #0,0,1: 44:[49, 91] Operation: 95-4=91
Moving to Node #0,0,0
Current State: 44:[4, 46], Operations: ['67-18=49', '95-49=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[49, 91], Operations: ['67-18=49', '95-4=91']
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 49+91=140, Resulting Numbers: [140]
140,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
93,
82,
16
] | 71 | [
"93-82=11",
"5*11=55",
"16+55=71"
] | Current State: 71:[5, 93, 82, 16], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [5, 16, 11]
Generated Node #2: [5, 16, 11] from Operation: 93-82=11
Current State: 71:[5, 16, 11], Operations: ['93-82=11']
Exploring Operation: 5*11=55, Resulting Numbers: [16, 55]
Generated Node #3: [16, 55] from Operation: 5*11=55
Current State: 71:[16, 55], Operations: ['93-82=11', '5*11=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[5, 93, 82, 16], Operations: []
Exploring Operation: 5+16=21, Resulting Numbers: [93, 82, 21]
Generated Node #0,0: 71:[93, 82, 21] Operation: 5+16=21
Exploring Operation: 93-5=88, Resulting Numbers: [82, 16, 88]
Generated Node #0,1: 71:[82, 16, 88] Operation: 93-5=88
Exploring Operation: 93-16=77, Resulting Numbers: [5, 82, 77]
Generated Node #0,2: 71:[5, 82, 77] Operation: 93-16=77
Exploring Operation: 82-5=77, Resulting Numbers: [93, 16, 77]
Generated Node #0,3: 71:[93, 16, 77] Operation: 82-5=77
Exploring Operation: 5*16=80, Resulting Numbers: [93, 82, 80]
Generated Node #0,4: 71:[93, 82, 80] Operation: 5*16=80
Moving to Node #0,4
Current State: 71:[93, 82, 80], Operations: ['5*16=80']
Exploring Operation: 93+80=173, Resulting Numbers: [82, 173]
Generated Node #0,4,0: 71:[82, 173] Operation: 93+80=173
Exploring Operation: 93-80=13, Resulting Numbers: [82, 13]
Generated Node #0,4,1: 71:[82, 13] Operation: 93-80=13
Exploring Operation: 82-80=2, Resulting Numbers: [93, 2]
Generated Node #0,4,2: 71:[93, 2] Operation: 82-80=2
Exploring Operation: 93-82=11, Resulting Numbers: [80, 11]
Generated Node #0,4,3: 71:[80, 11] Operation: 93-82=11
Exploring Operation: 93+82=175, Resulting Numbers: [80, 175]
Generated Node #0,4,4: 71:[80, 175] Operation: 93+82=175
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[82, 13], Operations: ['5*16=80', '93-80=13']
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,71 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,71 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: 71:[80, 11], Operations: ['5*16=80', '93-82=11']
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,71 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,71 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: 71:[93, 2], Operations: ['5*16=80', '82-80=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,71 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: 71:[82, 173], Operations: ['5*16=80', '93+80=173']
Exploring Operation: 82*173=14186, Resulting Numbers: [14186]
14186,71 unequal: No Solution
Exploring Operation: 82+173=255, Resulting Numbers: [255]
255,71 unequal: No Solution
Exploring Operation: 173-82=91, Resulting Numbers: [91]
91,71 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: 71:[80, 175], Operations: ['5*16=80', '93+82=175']
Exploring Operation: 80*175=14000, Resulting Numbers: [14000]
14000,71 unequal: No Solution
Exploring Operation: 175-80=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 80+175=255, Resulting Numbers: [255]
255,71 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: 71:[82, 16, 88], Operations: ['93-5=88']
Exploring Operation: 16+88=104, Resulting Numbers: [82, 104]
Generated Node #0,1,0: 71:[82, 104] Operation: 16+88=104
Exploring Operation: 82+16=98, Resulting Numbers: [88, 98]
Generated Node #0,1,1: 71:[88, 98] Operation: 82+16=98
Exploring Operation: 82-16=66, Resulting Numbers: [88, 66]
Generated Node #0,1,2: 71:[88, 66] Operation: 82-16=66
Exploring Operation: 88-82=6, Resulting Numbers: [16, 6]
Generated Node #0,1,3: 71:[16, 6] Operation: 88-82=6
Exploring Operation: 88-16=72, Resulting Numbers: [82, 72]
Generated Node #0,1,4: 71:[82, 72] Operation: 88-16=72
Moving to Node #0,3
Current State: 71:[93, 16, 77], Operations: ['82-5=77']
Exploring Operation: 93-16=77, Resulting Numbers: [77, 77]
Generated Node #0,3,0: 71:[77, 77] Operation: 93-16=77
Exploring Operation: 93-77=16, Resulting Numbers: [16, 16]
Generated Node #0,3,1: 71:[16, 16] Operation: 93-77=16
Exploring Operation: 16+77=93, Resulting Numbers: [93, 93]
Generated Node #0,3,2: 71:[93, 93] Operation: 16+77=93
Exploring Operation: 77-16=61, Resulting Numbers: [93, 61]
Generated Node #0,3,3: 71:[93, 61] Operation: 77-16=61
Exploring Operation: 93+16=109, Resulting Numbers: [77, 109]
Generated Node #0,3,4: 71:[77, 109] Operation: 93+16=109
Moving to Node #0,0
Current State: 71:[93, 82, 21], Operations: ['5+16=21']
Exploring Operation: 93-21=72, Resulting Numbers: [82, 72]
Generated Node #0,0,0: 71:[82, 72] Operation: 93-21=72
Exploring Operation: 93+21=114, Resulting Numbers: [82, 114]
Generated Node #0,0,1: 71:[82, 114] Operation: 93+21=114
Exploring Operation: 93-82=11, Resulting Numbers: [21, 11]
Generated Node #0,0,2: 71:[21, 11] Operation: 93-82=11
Exploring Operation: 82-21=61, Resulting Numbers: [93, 61]
Generated Node #0,0,3: 71:[93, 61] Operation: 82-21=61
Exploring Operation: 82+21=103, Resulting Numbers: [93, 103]
Generated Node #0,0,4: 71:[93, 103] Operation: 82+21=103
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[82, 72], Operations: ['5+16=21', '93-21=72']
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,71 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,71 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: 71:[93, 61], Operations: ['5+16=21', '82-21=61']
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,71 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: 71:[82, 114], Operations: ['5+16=21', '93+21=114']
Exploring Operation: 82*114=9348, Resulting Numbers: [9348]
9348,71 unequal: No Solution
Exploring Operation: 82+114=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 114-82=32, Resulting Numbers: [32]
32,71 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,4
Current State: 71:[93, 103], Operations: ['5+16=21', '82+21=103']
Exploring Operation: 103-93=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 93+103=196, Resulting Numbers: [196]
196,71 unequal: No Solution
Exploring Operation: 93*103=9579, Resulting Numbers: [9579]
9579,71 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: 71:[21, 11], Operations: ['5+16=21', '93-82=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,71 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,71 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: 71:[5, 82, 77], Operations: ['93-16=77']
Exploring Operation: 82-5=77, Resulting Numbers: [77, 77]
Generated Node #0,2,0: 71:[77, 77] Operation: 82-5=77
Exploring Operation: 82-77=5, Resulting Numbers: [5, 5]
Generated Node #0,2,1: 71:[5, 5] Operation: 82-77=5
Exploring Operation: 5+82=87, Resulting Numbers: [77, 87]
Generated Node #0,2,2: 71:[77, 87] Operation: 5+82=87
Exploring Operation: 77-5=72, Resulting Numbers: [82, 72]
Generated Node #0,2,3: 71:[82, 72] Operation: 77-5=72
Exploring Operation: 5+77=82, Resulting Numbers: [82, 82]
Generated Node #0,2,4: 71:[82, 82] Operation: 5+77=82
Moving to Node #0,1,4
Current State: 71:[82, 72], Operations: ['93-5=88', '88-16=72']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[77, 77], Operations: ['82-5=77', '93-16=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,71 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[82, 72], Operations: ['93-16=77', '77-5=72']
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,71 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[77, 77], Operations: ['93-16=77', '82-5=77']
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[82, 82], Operations: ['93-16=77', '5+77=82']
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,71 unequal: No Solution
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[77, 87], Operations: ['93-16=77', '5+82=87']
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 77+87=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Exploring Operation: 77*87=6699, Resulting Numbers: [6699]
6699,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[88, 66], Operations: ['93-5=88', '82-16=66']
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 88+66=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 88*66=5808, Resulting Numbers: [5808]
5808,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[93, 61], Operations: ['82-5=77', '77-16=61']
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,71 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[82, 104], Operations: ['93-5=88', '16+88=104']
Exploring Operation: 82+104=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 104-82=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 82*104=8528, Resulting Numbers: [8528]
8528,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[93, 93], Operations: ['82-5=77', '16+77=93']
Exploring Operation: 93*93=8649, Resulting Numbers: [8649]
8649,71 unequal: No Solution
Exploring Operation: 93-93=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 93/93=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 93+93=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[88, 98], Operations: ['93-5=88', '82+16=98']
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[77, 109], Operations: ['82-5=77', '93+16=109']
Exploring Operation: 109-77=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 77*109=8393, Resulting Numbers: [8393]
8393,71 unequal: No Solution
Exploring Operation: 77+109=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[16, 16], Operations: ['82-5=77', '93-77=16']
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,71 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[16, 6], Operations: ['93-5=88', '88-82=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[5, 5], Operations: ['93-16=77', '82-77=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
40,
44,
37,
42
] | 30 | [
"40-37=3",
"42/3=14",
"44-14=30"
] | Current State: 30:[40, 44, 37, 42], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [44, 42, 3]
Generated Node #2: [44, 42, 3] from Operation: 40-37=3
Current State: 30:[44, 42, 3], Operations: ['40-37=3']
Exploring Operation: 42/3=14, Resulting Numbers: [44, 14]
Generated Node #3: [44, 14] from Operation: 42/3=14
Current State: 30:[44, 14], Operations: ['40-37=3', '42/3=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[40, 44, 37, 42], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [40, 37, 2]
Generated Node #0,0: 30:[40, 37, 2] Operation: 44-42=2
Exploring Operation: 44-37=7, Resulting Numbers: [40, 42, 7]
Generated Node #0,1: 30:[40, 42, 7] Operation: 44-37=7
Exploring Operation: 42-37=5, Resulting Numbers: [40, 44, 5]
Generated Node #0,2: 30:[40, 44, 5] Operation: 42-37=5
Exploring Operation: 42-40=2, Resulting Numbers: [44, 37, 2]
Generated Node #0,3: 30:[44, 37, 2] Operation: 42-40=2
Exploring Operation: 44-40=4, Resulting Numbers: [37, 42, 4]
Generated Node #0,4: 30:[37, 42, 4] Operation: 44-40=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[40, 37, 2], Operations: ['44-42=2']
Exploring Operation: 40-2=38, Resulting Numbers: [37, 38]
Generated Node #0,0,0: 30:[37, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [37, 20]
Generated Node #0,0,1: 30:[37, 20] Operation: 40/2=20
Exploring Operation: 37-2=35, Resulting Numbers: [40, 35]
Generated Node #0,0,2: 30:[40, 35] Operation: 37-2=35
Exploring Operation: 40-37=3, Resulting Numbers: [2, 3]
Generated Node #0,0,3: 30:[2, 3] Operation: 40-37=3
Exploring Operation: 40+2=42, Resulting Numbers: [37, 42]
Generated Node #0,0,4: 30:[37, 42] Operation: 40+2=42
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 30:[2, 3], Operations: ['44-42=2', '40-37=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,30 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: 30:[37, 20], Operations: ['44-42=2', '40/2=20']
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,30 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,30 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: 30:[37, 38], Operations: ['44-42=2', '40-2=38']
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,30 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,30 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: 30:[40, 35], Operations: ['44-42=2', '37-2=35']
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,30 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,30 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: 30:[37, 42], Operations: ['44-42=2', '40+2=42']
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,30 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,30 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,4
Current State: 30:[37, 42, 4], Operations: ['44-40=4']
Exploring Operation: 37+4=41, Resulting Numbers: [42, 41]
Generated Node #0,4,0: 30:[42, 41] Operation: 37+4=41
Exploring Operation: 37-4=33, Resulting Numbers: [42, 33]
Generated Node #0,4,1: 30:[42, 33] Operation: 37-4=33
Exploring Operation: 42+4=46, Resulting Numbers: [37, 46]
Generated Node #0,4,2: 30:[37, 46] Operation: 42+4=46
Exploring Operation: 42-37=5, Resulting Numbers: [4, 5]
Generated Node #0,4,3: 30:[4, 5] Operation: 42-37=5
Exploring Operation: 42-4=38, Resulting Numbers: [37, 38]
Generated Node #0,4,4: 30:[37, 38] Operation: 42-4=38
Moving to Node #0,4,3
Current State: 30:[4, 5], Operations: ['44-40=4', '42-37=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[37, 38], Operations: ['44-40=4', '42-4=38']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[42, 33], Operations: ['44-40=4', '37-4=33']
Exploring Operation: 42*33=1386, Resulting Numbers: [1386]
1386,30 unequal: No Solution
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[42, 41], Operations: ['44-40=4', '37+4=41']
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,30 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[37, 46], Operations: ['44-40=4', '42+4=46']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,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,3
Current State: 30:[44, 37, 2], Operations: ['42-40=2']
Exploring Operation: 44+2=46, Resulting Numbers: [37, 46]
Generated Node #0,3,0: 30:[37, 46] Operation: 44+2=46
Exploring Operation: 44/2=22, Resulting Numbers: [37, 22]
Generated Node #0,3,1: 30:[37, 22] Operation: 44/2=22
Exploring Operation: 44-37=7, Resulting Numbers: [2, 7]
Generated Node #0,3,2: 30:[2, 7] Operation: 44-37=7
Exploring Operation: 37-2=35, Resulting Numbers: [44, 35]
Generated Node #0,3,3: 30:[44, 35] Operation: 37-2=35
Exploring Operation: 44-2=42, Resulting Numbers: [37, 42]
Generated Node #0,3,4: 30:[37, 42] Operation: 44-2=42
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[2, 7], Operations: ['42-40=2', '44-37=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,30 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: 30:[37, 22], Operations: ['42-40=2', '44/2=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,30 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,30 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: 30:[44, 35], Operations: ['42-40=2', '37-2=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,30 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,30 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,4
Current State: 30:[37, 42], Operations: ['42-40=2', '44-2=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,30 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,30 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: 30:[37, 46], Operations: ['42-40=2', '44+2=46']
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,30 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,30 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: 30:[40, 42, 7], Operations: ['44-37=7']
Exploring Operation: 42-40=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 30:[7, 2] Operation: 42-40=2
Exploring Operation: 42-7=35, Resulting Numbers: [40, 35]
Generated Node #0,1,1: 30:[40, 35] Operation: 42-7=35
Exploring Operation: 40+7=47, Resulting Numbers: [42, 47]
Generated Node #0,1,2: 30:[42, 47] Operation: 40+7=47
Exploring Operation: 40-7=33, Resulting Numbers: [42, 33]
Generated Node #0,1,3: 30:[42, 33] Operation: 40-7=33
Exploring Operation: 42/7=6, Resulting Numbers: [40, 6]
Generated Node #0,1,4: 30:[40, 6] Operation: 42/7=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[7, 2], Operations: ['44-37=7', '42-40=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,30 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: 30:[40, 6], Operations: ['44-37=7', '42/7=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,30 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: 30:[40, 35], Operations: ['44-37=7', '42-7=35']
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,30 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,30 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: 30:[42, 33], Operations: ['44-37=7', '40-7=33']
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 42*33=1386, Resulting Numbers: [1386]
1386,30 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,30 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: 30:[42, 47], Operations: ['44-37=7', '40+7=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,30 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,30 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: 30:[40, 44, 5], Operations: ['42-37=5']
Exploring Operation: 44-5=39, Resulting Numbers: [40, 39]
Generated Node #0,2,0: 30:[40, 39] Operation: 44-5=39
Exploring Operation: 40-5=35, Resulting Numbers: [44, 35]
Generated Node #0,2,1: 30:[44, 35] Operation: 40-5=35
Exploring Operation: 44-40=4, Resulting Numbers: [5, 4]
Generated Node #0,2,2: 30:[5, 4] Operation: 44-40=4
Exploring Operation: 40/5=8, Resulting Numbers: [44, 8]
Generated Node #0,2,3: 30:[44, 8] Operation: 40/5=8
Exploring Operation: 40+5=45, Resulting Numbers: [44, 45]
Generated Node #0,2,4: 30:[44, 45] Operation: 40+5=45
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 30:[5, 4], Operations: ['42-37=5', '44-40=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,30 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: 30:[44, 8], Operations: ['42-37=5', '40/5=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,30 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: 30:[40, 39], Operations: ['42-37=5', '44-5=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,30 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: 30:[44, 35], Operations: ['42-37=5', '40-5=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,30 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,30 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,30 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,4
Current State: 30:[44, 45], Operations: ['42-37=5', '40+5=45']
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,30 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,30 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 | sum_heuristic |
[
27,
39,
17,
82
] | 53 | [
"39-27=12",
"82-17=65",
"65-12=53"
] | Current State: 53:[27, 39, 17, 82], Operations: []
Exploring Operation: 39-27=12, Resulting Numbers: [17, 82, 12]
Generated Node #2: [17, 82, 12] from Operation: 39-27=12
Current State: 53:[17, 82, 12], Operations: ['39-27=12']
Exploring Operation: 82-17=65, Resulting Numbers: [12, 65]
Generated Node #3: [12, 65] from Operation: 82-17=65
Current State: 53:[12, 65], Operations: ['39-27=12', '82-17=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[27, 39, 17, 82], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [39, 17, 55]
Generated Node #0,0: 53:[39, 17, 55] Operation: 82-27=55
Exploring Operation: 27+17=44, Resulting Numbers: [39, 82, 44]
Generated Node #0,1: 53:[39, 82, 44] Operation: 27+17=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[39, 17, 55], Operations: ['82-27=55']
Exploring Operation: 39+17=56, Resulting Numbers: [55, 56]
Generated Node #0,0,0: 53:[55, 56] Operation: 39+17=56
Exploring Operation: 55-17=38, Resulting Numbers: [39, 38]
Generated Node #0,0,1: 53:[39, 38] Operation: 55-17=38
Moving to Node #0,0,0
Current State: 53:[55, 56], Operations: ['82-27=55', '39+17=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[39, 38], Operations: ['82-27=55', '55-17=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,53 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: 53:[39, 82, 44], Operations: ['27+17=44']
Exploring Operation: 82-39=43, Resulting Numbers: [44, 43]
Generated Node #0,1,0: 53:[44, 43] Operation: 82-39=43
Exploring Operation: 82-44=38, Resulting Numbers: [39, 38]
Generated Node #0,1,1: 53:[39, 38] Operation: 82-44=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[44, 43], Operations: ['27+17=44', '82-39=43']
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,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:[39, 38], Operations: ['27+17=44', '82-44=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
87,
35,
64,
51
] | 83 | [
"51-35=16",
"64/16=4",
"87-4=83"
] | Current State: 83:[87, 35, 64, 51], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [87, 64, 16]
Generated Node #2: [87, 64, 16] from Operation: 51-35=16
Current State: 83:[87, 64, 16], Operations: ['51-35=16']
Exploring Operation: 64/16=4, Resulting Numbers: [87, 4]
Generated Node #3: [87, 4] from Operation: 64/16=4
Current State: 83:[87, 4], Operations: ['51-35=16', '64/16=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[87, 35, 64, 51], Operations: []
Exploring Operation: 87-35=52, Resulting Numbers: [64, 51, 52]
Generated Node #0,0: 83:[64, 51, 52] Operation: 87-35=52
Exploring Operation: 87+35=122, Resulting Numbers: [64, 51, 122]
Generated Node #0,1: 83:[64, 51, 122] Operation: 87+35=122
Exploring Operation: 35+64=99, Resulting Numbers: [87, 51, 99]
Generated Node #0,2: 83:[87, 51, 99] Operation: 35+64=99
Exploring Operation: 64+51=115, Resulting Numbers: [87, 35, 115]
Generated Node #0,3: 83:[87, 35, 115] Operation: 64+51=115
Exploring Operation: 35+51=86, Resulting Numbers: [87, 64, 86]
Generated Node #0,4: 83:[87, 64, 86] Operation: 35+51=86
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[87, 64, 86], Operations: ['35+51=86']
Exploring Operation: 87-86=1, Resulting Numbers: [64, 1]
Generated Node #0,4,0: 83:[64, 1] Operation: 87-86=1
Exploring Operation: 86-64=22, Resulting Numbers: [87, 22]
Generated Node #0,4,1: 83:[87, 22] Operation: 86-64=22
Exploring Operation: 87+64=151, Resulting Numbers: [86, 151]
Generated Node #0,4,2: 83:[86, 151] Operation: 87+64=151
Exploring Operation: 87-64=23, Resulting Numbers: [86, 23]
Generated Node #0,4,3: 83:[86, 23] Operation: 87-64=23
Exploring Operation: 64+86=150, Resulting Numbers: [87, 150]
Generated Node #0,4,4: 83:[87, 150] Operation: 64+86=150
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 83:[86, 23], Operations: ['35+51=86', '87-64=23']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 86*23=1978, Resulting Numbers: [1978]
1978,83 unequal: No Solution
Exploring Operation: 86+23=109, Resulting Numbers: [109]
109,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,4,1
Current State: 83:[87, 22], Operations: ['35+51=86', '86-64=22']
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,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,4,2
Current State: 83:[86, 151], Operations: ['35+51=86', '87+64=151']
Exploring Operation: 86*151=12986, Resulting Numbers: [12986]
12986,83 unequal: No Solution
Exploring Operation: 86+151=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Exploring Operation: 151-86=65, Resulting Numbers: [65]
65,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,4,4
Current State: 83:[87, 150], Operations: ['35+51=86', '64+86=150']
Exploring Operation: 150-87=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 87+150=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Exploring Operation: 87*150=13050, Resulting Numbers: [13050]
13050,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,4,0
Current State: 83:[64, 1], Operations: ['35+51=86', '87-86=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,83 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,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:[87, 51, 99], Operations: ['35+64=99']
Exploring Operation: 87+51=138, Resulting Numbers: [99, 138]
Generated Node #0,2,0: 83:[99, 138] Operation: 87+51=138
Exploring Operation: 51+99=150, Resulting Numbers: [87, 150]
Generated Node #0,2,1: 83:[87, 150] Operation: 51+99=150
Exploring Operation: 99-87=12, Resulting Numbers: [51, 12]
Generated Node #0,2,2: 83:[51, 12] Operation: 99-87=12
Exploring Operation: 99-51=48, Resulting Numbers: [87, 48]
Generated Node #0,2,3: 83:[87, 48] Operation: 99-51=48
Exploring Operation: 87-51=36, Resulting Numbers: [99, 36]
Generated Node #0,2,4: 83:[99, 36] Operation: 87-51=36
Moving to Node #0,2,3
Current State: 83:[87, 48], Operations: ['35+64=99', '99-51=48']
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[99, 36], Operations: ['35+64=99', '87-51=36']
Exploring Operation: 99+36=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 99*36=3564, Resulting Numbers: [3564]
3564,83 unequal: No Solution
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[99, 138], Operations: ['35+64=99', '87+51=138']
Exploring Operation: 99*138=13662, Resulting Numbers: [13662]
13662,83 unequal: No Solution
Exploring Operation: 138-99=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 99+138=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[87, 150], Operations: ['35+64=99', '51+99=150']
Exploring Operation: 87+150=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Exploring Operation: 87*150=13050, Resulting Numbers: [13050]
13050,83 unequal: No Solution
Exploring Operation: 150-87=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[51, 12], Operations: ['35+64=99', '99-87=12']
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,83 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,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, 51, 52], Operations: ['87-35=52']
Exploring Operation: 64+51=115, Resulting Numbers: [52, 115]
Generated Node #0,0,0: 83:[52, 115] Operation: 64+51=115
Exploring Operation: 52-51=1, Resulting Numbers: [64, 1]
Generated Node #0,0,1: 83:[64, 1] Operation: 52-51=1
Exploring Operation: 64-51=13, Resulting Numbers: [52, 13]
Generated Node #0,0,2: 83:[52, 13] Operation: 64-51=13
Exploring Operation: 51+52=103, Resulting Numbers: [64, 103]
Generated Node #0,0,3: 83:[64, 103] Operation: 51+52=103
Exploring Operation: 64+52=116, Resulting Numbers: [51, 116]
Generated Node #0,0,4: 83:[51, 116] Operation: 64+52=116
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[64, 103], Operations: ['87-35=52', '51+52=103']
Exploring Operation: 64+103=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 64*103=6592, Resulting Numbers: [6592]
6592,83 unequal: No Solution
Exploring Operation: 103-64=39, Resulting Numbers: [39]
39,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:[52, 115], Operations: ['87-35=52', '64+51=115']
Exploring Operation: 52+115=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 52*115=5980, Resulting Numbers: [5980]
5980,83 unequal: No Solution
Exploring Operation: 115-52=63, Resulting Numbers: [63]
63,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:[51, 116], Operations: ['87-35=52', '64+52=116']
Exploring Operation: 51*116=5916, Resulting Numbers: [5916]
5916,83 unequal: No Solution
Exploring Operation: 116-51=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 51+116=167, Resulting Numbers: [167]
167,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:[64, 1], Operations: ['87-35=52', '52-51=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,83 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,83 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,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:[52, 13], Operations: ['87-35=52', '64-51=13']
Exploring Operation: 52*13=676, Resulting Numbers: [676]
676,83 unequal: No Solution
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,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,3
Current State: 83:[87, 35, 115], Operations: ['64+51=115']
Exploring Operation: 87-35=52, Resulting Numbers: [115, 52]
Generated Node #0,3,0: 83:[115, 52] Operation: 87-35=52
Exploring Operation: 87+35=122, Resulting Numbers: [115, 122]
Generated Node #0,3,1: 83:[115, 122] Operation: 87+35=122
Exploring Operation: 35+115=150, Resulting Numbers: [87, 150]
Generated Node #0,3,2: 83:[87, 150] Operation: 35+115=150
Exploring Operation: 115-35=80, Resulting Numbers: [87, 80]
Generated Node #0,3,3: 83:[87, 80] Operation: 115-35=80
Exploring Operation: 115-87=28, Resulting Numbers: [35, 28]
Generated Node #0,3,4: 83:[35, 28] Operation: 115-87=28
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 83:[87, 80], Operations: ['64+51=115', '115-35=80']
Exploring Operation: 87*80=6960, Resulting Numbers: [6960]
6960,83 unequal: No Solution
Exploring Operation: 87+80=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,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,3,0
Current State: 83:[115, 52], Operations: ['64+51=115', '87-35=52']
Exploring Operation: 115-52=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 115+52=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 115*52=5980, Resulting Numbers: [5980]
5980,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,3,1
Current State: 83:[115, 122], Operations: ['64+51=115', '87+35=122']
Exploring Operation: 115+122=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Exploring Operation: 122-115=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 115*122=14030, Resulting Numbers: [14030]
14030,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,3,2
Current State: 83:[87, 150], Operations: ['64+51=115', '35+115=150']
Exploring Operation: 150-87=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 87+150=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Exploring Operation: 87*150=13050, Resulting Numbers: [13050]
13050,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,3,4
Current State: 83:[35, 28], Operations: ['64+51=115', '115-87=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,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:[64, 51, 122], Operations: ['87+35=122']
Exploring Operation: 64-51=13, Resulting Numbers: [122, 13]
Generated Node #0,1,0: 83:[122, 13] Operation: 64-51=13
Exploring Operation: 51+122=173, Resulting Numbers: [64, 173]
Generated Node #0,1,1: 83:[64, 173] Operation: 51+122=173
Exploring Operation: 122-51=71, Resulting Numbers: [64, 71]
Generated Node #0,1,2: 83:[64, 71] Operation: 122-51=71
Exploring Operation: 64+51=115, Resulting Numbers: [122, 115]
Generated Node #0,1,3: 83:[122, 115] Operation: 64+51=115
Exploring Operation: 122-64=58, Resulting Numbers: [51, 58]
Generated Node #0,1,4: 83:[51, 58] Operation: 122-64=58
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[64, 71], Operations: ['87+35=122', '122-51=71']
Exploring Operation: 64*71=4544, Resulting Numbers: [4544]
4544,83 unequal: No Solution
Exploring Operation: 64+71=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,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:[51, 58], Operations: ['87+35=122', '122-64=58']
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,83 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,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:[122, 115], Operations: ['87+35=122', '64+51=115']
Exploring Operation: 122*115=14030, Resulting Numbers: [14030]
14030,83 unequal: No Solution
Exploring Operation: 122-115=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 122+115=237, Resulting Numbers: [237]
237,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:[122, 13], Operations: ['87+35=122', '64-51=13']
Exploring Operation: 122-13=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 122*13=1586, Resulting Numbers: [1586]
1586,83 unequal: No Solution
Exploring Operation: 122+13=135, Resulting Numbers: [135]
135,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:[64, 173], Operations: ['87+35=122', '51+122=173']
Exploring Operation: 64+173=237, Resulting Numbers: [237]
237,83 unequal: No Solution
Exploring Operation: 173-64=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 64*173=11072, Resulting Numbers: [11072]
11072,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
46,
17,
8,
16
] | 53 | [
"46-17=29",
"8+16=24",
"29+24=53"
] | Current State: 53:[46, 17, 8, 16], Operations: []
Exploring Operation: 46-17=29, Resulting Numbers: [8, 16, 29]
Generated Node #2: [8, 16, 29] from Operation: 46-17=29
Current State: 53:[8, 16, 29], Operations: ['46-17=29']
Exploring Operation: 8+16=24, Resulting Numbers: [29, 24]
Generated Node #3: [29, 24] from Operation: 8+16=24
Current State: 53:[29, 24], Operations: ['46-17=29', '8+16=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[46, 17, 8, 16], Operations: []
Exploring Operation: 17+8=25, Resulting Numbers: [46, 16, 25]
Generated Node #0,0: 53:[46, 16, 25] Operation: 17+8=25
Exploring Operation: 17+16=33, Resulting Numbers: [46, 8, 33]
Generated Node #0,1: 53:[46, 8, 33] Operation: 17+16=33
Moving to Node #0,0
Current State: 53:[46, 16, 25], Operations: ['17+8=25']
Exploring Operation: 16+25=41, Resulting Numbers: [46, 41]
Generated Node #0,0,0: 53:[46, 41] Operation: 16+25=41
Exploring Operation: 46+16=62, Resulting Numbers: [25, 62]
Generated Node #0,0,1: 53:[25, 62] Operation: 46+16=62
Moving to Node #0,1
Current State: 53:[46, 8, 33], Operations: ['17+16=33']
Exploring Operation: 46+8=54, Resulting Numbers: [33, 54]
Generated Node #0,1,0: 53:[33, 54] Operation: 46+8=54
Exploring Operation: 8+33=41, Resulting Numbers: [46, 41]
Generated Node #0,1,1: 53:[46, 41] Operation: 8+33=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[46, 41], Operations: ['17+16=33', '8+33=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,53 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: 53:[33, 54], Operations: ['17+16=33', '46+8=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,53 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: 53:[46, 41], Operations: ['17+8=25', '16+25=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[25, 62], Operations: ['17+8=25', '46+16=62']
Exploring Operation: 25+62=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,53 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
67,
57,
98,
5
] | 98 | [
"98-67=31",
"5*31=155",
"155-57=98"
] | Current State: 98:[67, 57, 98, 5], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [57, 5, 31]
Generated Node #2: [57, 5, 31] from Operation: 98-67=31
Current State: 98:[57, 5, 31], Operations: ['98-67=31']
Exploring Operation: 5*31=155, Resulting Numbers: [57, 155]
Generated Node #3: [57, 155] from Operation: 5*31=155
Current State: 98:[57, 155], Operations: ['98-67=31', '5*31=155']
Exploring Operation: 155-57=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[67, 57, 98, 5], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [98, 5, 10]
Generated Node #0,0: 98:[98, 5, 10] Operation: 67-57=10
Moving to Node #0,0
Current State: 98:[98, 5, 10], Operations: ['67-57=10']
Exploring Operation: 10/5=2, Resulting Numbers: [98, 2]
Generated Node #0,0,0: 98:[98, 2] Operation: 10/5=2
Moving to Node #0,0,0
Current State: 98:[98, 2], Operations: ['67-57=10', '10/5=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
96,
35,
99
] | 66 | [
"99-96=3",
"93/3=31",
"35+31=66"
] | Current State: 66:[93, 96, 35, 99], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [93, 35, 3]
Generated Node #2: [93, 35, 3] from Operation: 99-96=3
Current State: 66:[93, 35, 3], Operations: ['99-96=3']
Exploring Operation: 93/3=31, Resulting Numbers: [35, 31]
Generated Node #3: [35, 31] from Operation: 93/3=31
Current State: 66:[35, 31], Operations: ['99-96=3', '93/3=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[93, 96, 35, 99], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [93, 35, 3]
Generated Node #0,0: 66:[93, 35, 3] Operation: 99-96=3
Exploring Operation: 99-93=6, Resulting Numbers: [96, 35, 6]
Generated Node #0,1: 66:[96, 35, 6] Operation: 99-93=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[93, 35, 3], Operations: ['99-96=3']
Exploring Operation: 93-35=58, Resulting Numbers: [3, 58]
Generated Node #0,0,0: 66:[3, 58] Operation: 93-35=58
Exploring Operation: 93/3=31, Resulting Numbers: [35, 31]
Generated Node #0,0,1: 66:[35, 31] Operation: 93/3=31
Moving to Node #0,0,1
Current State: 66:[35, 31], Operations: ['99-96=3', '93/3=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[93, 96, 35, 99], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [93, 35, 3]
Generated Node #0,0: 66:[93, 35, 3] Operation: 99-96=3
Moving to Node #0,0
Current State: 66:[93, 35, 3], Operations: ['99-96=3']
Exploring Operation: 93/3=31, Resulting Numbers: [35, 31]
Generated Node #0,0,1: 66:[35, 31] Operation: 93/3=31
Moving to Node #0,0,1
Current State: 66:[35, 31], Operations: ['99-96=3', '93/3=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
2,
77,
80,
81
] | 39 | [
"80-77=3",
"81-3=78",
"78/2=39"
] | Current State: 39:[2, 77, 80, 81], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [2, 81, 3]
Generated Node #2: [2, 81, 3] from Operation: 80-77=3
Current State: 39:[2, 81, 3], Operations: ['80-77=3']
Exploring Operation: 81-3=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 81-3=78
Current State: 39:[2, 78], Operations: ['80-77=3', '81-3=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[2, 77, 80, 81], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [2, 80, 4]
Generated Node #0,0: 39:[2, 80, 4] Operation: 81-77=4
Exploring Operation: 81-80=1, Resulting Numbers: [2, 77, 1]
Generated Node #0,1: 39:[2, 77, 1] Operation: 81-80=1
Exploring Operation: 80-77=3, Resulting Numbers: [2, 81, 3]
Generated Node #0,2: 39:[2, 81, 3] Operation: 80-77=3
Exploring Operation: 80/2=40, Resulting Numbers: [77, 81, 40]
Generated Node #0,3: 39:[77, 81, 40] Operation: 80/2=40
Moving to Node #0,1
Current State: 39:[2, 77, 1], Operations: ['81-80=1']
Exploring Operation: 2*1=2, Resulting Numbers: [77, 2]
Generated Node #0,1,0: 39:[77, 2] Operation: 2*1=2
Exploring Operation: 77-1=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 39:[2, 76] Operation: 77-1=76
Exploring Operation: 77-2=75, Resulting Numbers: [1, 75]
Generated Node #0,1,2: 39:[1, 75] Operation: 77-2=75
Exploring Operation: 2+1=3, Resulting Numbers: [77, 3]
Generated Node #0,1,3: 39:[77, 3] Operation: 2+1=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[2, 76], Operations: ['81-80=1', '77-1=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,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,2
Current State: 39:[1, 75], Operations: ['81-80=1', '77-2=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,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,3
Current State: 39:[77, 3], Operations: ['81-80=1', '2+1=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,39 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,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,0
Current State: 39:[77, 2], Operations: ['81-80=1', '2*1=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,39 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,39 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,39 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: 39:[2, 81, 3], Operations: ['80-77=3']
Exploring Operation: 2+81=83, Resulting Numbers: [3, 83]
Generated Node #0,2,0: 39:[3, 83] Operation: 2+81=83
Exploring Operation: 81-3=78, Resulting Numbers: [2, 78]
Generated Node #0,2,1: 39:[2, 78] Operation: 81-3=78
Exploring Operation: 81/3=27, Resulting Numbers: [2, 27]
Generated Node #0,2,2: 39:[2, 27] Operation: 81/3=27
Exploring Operation: 81-2=79, Resulting Numbers: [3, 79]
Generated Node #0,2,3: 39:[3, 79] Operation: 81-2=79
Moving to Node #0,0
Current State: 39:[2, 80, 4], Operations: ['81-77=4']
Exploring Operation: 80/2=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 39:[4, 40] Operation: 80/2=40
Exploring Operation: 80/4=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 39:[2, 20] Operation: 80/4=20
Exploring Operation: 80-2=78, Resulting Numbers: [4, 78]
Generated Node #0,0,2: 39:[4, 78] Operation: 80-2=78
Exploring Operation: 80-4=76, Resulting Numbers: [2, 76]
Generated Node #0,0,3: 39:[2, 76] Operation: 80-4=76
Moving to Node #0,3
Current State: 39:[77, 81, 40], Operations: ['80/2=40']
Exploring Operation: 77+81=158, Resulting Numbers: [40, 158]
Generated Node #0,3,0: 39:[40, 158] Operation: 77+81=158
Exploring Operation: 77-40=37, Resulting Numbers: [81, 37]
Generated Node #0,3,1: 39:[81, 37] Operation: 77-40=37
Exploring Operation: 81-77=4, Resulting Numbers: [40, 4]
Generated Node #0,3,2: 39:[40, 4] Operation: 81-77=4
Exploring Operation: 81-40=41, Resulting Numbers: [77, 41]
Generated Node #0,3,3: 39:[77, 41] Operation: 81-40=41
Moving to Node #0,0,0
Current State: 39:[4, 40], Operations: ['81-77=4', '80/2=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[40, 4], Operations: ['80/2=40', '81-77=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[2, 20], Operations: ['81-77=4', '80/4=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[2, 27], Operations: ['80-77=3', '81/3=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,39 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[2, 76], Operations: ['81-77=4', '80-4=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[3, 79], Operations: ['80-77=3', '81-2=79']
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,39 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[2, 78], Operations: ['80-77=3', '81-3=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[2, 77, 80, 81], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [2, 81, 3]
Generated Node #0,2: 39:[2, 81, 3] Operation: 80-77=3
Moving to Node #0,2
Current State: 39:[2, 81, 3], Operations: ['80-77=3']
Exploring Operation: 81-3=78, Resulting Numbers: [2, 78]
Generated Node #0,2,1: 39:[2, 78] Operation: 81-3=78
Moving to Node #0,2,1
Current State: 39:[2, 78], Operations: ['80-77=3', '81-3=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.947049 | hs_4 | sum_heuristic |
[
30,
83,
58,
96
] | 75 | [
"30+83=113",
"96-58=38",
"113-38=75"
] | Current State: 75:[30, 83, 58, 96], Operations: []
Exploring Operation: 30+83=113, Resulting Numbers: [58, 96, 113]
Generated Node #2: [58, 96, 113] from Operation: 30+83=113
Current State: 75:[58, 96, 113], Operations: ['30+83=113']
Exploring Operation: 96-58=38, Resulting Numbers: [113, 38]
Generated Node #3: [113, 38] from Operation: 96-58=38
Current State: 75:[113, 38], Operations: ['30+83=113', '96-58=38']
Exploring Operation: 113-38=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[30, 83, 58, 96], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [30, 96, 25]
Generated Node #0,0: 75:[30, 96, 25] Operation: 83-58=25
Exploring Operation: 96-83=13, Resulting Numbers: [30, 58, 13]
Generated Node #0,1: 75:[30, 58, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[30, 58, 13], Operations: ['96-83=13']
Exploring Operation: 58+13=71, Resulting Numbers: [30, 71]
Generated Node #0,1,0: 75:[30, 71] Operation: 58+13=71
Exploring Operation: 58-30=28, Resulting Numbers: [13, 28]
Generated Node #0,1,1: 75:[13, 28] Operation: 58-30=28
Moving to Node #0,1,1
Current State: 75:[13, 28], Operations: ['96-83=13', '58-30=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[30, 71], Operations: ['96-83=13', '58+13=71']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,75 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: 75:[30, 96, 25], Operations: ['83-58=25']
Exploring Operation: 96-25=71, Resulting Numbers: [30, 71]
Generated Node #0,0,0: 75:[30, 71] Operation: 96-25=71
Exploring Operation: 96-30=66, Resulting Numbers: [25, 66]
Generated Node #0,0,1: 75:[25, 66] Operation: 96-30=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[30, 71], Operations: ['83-58=25', '96-25=71']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,75 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: 75:[25, 66], Operations: ['83-58=25', '96-30=66']
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,75 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,75 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 | sum_heuristic |
[
58,
70,
44,
40
] | 96 | [
"70-58=12",
"44+40=84",
"12+84=96"
] | Current State: 96:[58, 70, 44, 40], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [44, 40, 12]
Generated Node #2: [44, 40, 12] from Operation: 70-58=12
Current State: 96:[44, 40, 12], Operations: ['70-58=12']
Exploring Operation: 44+40=84, Resulting Numbers: [12, 84]
Generated Node #3: [12, 84] from Operation: 44+40=84
Current State: 96:[12, 84], Operations: ['70-58=12', '44+40=84']
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[58, 70, 44, 40], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [44, 40, 12]
Generated Node #0,0: 96:[44, 40, 12] Operation: 70-58=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[44, 40, 12], Operations: ['70-58=12']
Exploring Operation: 44-40=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 96:[12, 4] Operation: 44-40=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[12, 4], Operations: ['70-58=12', '44-40=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,96 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 |
[
8,
15,
90,
1
] | 56 | [
"90/15=6",
"1+6=7",
"8*7=56"
] | Current State: 56:[8, 15, 90, 1], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [8, 1, 6]
Generated Node #2: [8, 1, 6] from Operation: 90/15=6
Current State: 56:[8, 1, 6], Operations: ['90/15=6']
Exploring Operation: 1+6=7, Resulting Numbers: [8, 7]
Generated Node #3: [8, 7] from Operation: 1+6=7
Current State: 56:[8, 7], Operations: ['90/15=6', '1+6=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[8, 15, 90, 1], Operations: []
Exploring Operation: 15-1=14, Resulting Numbers: [8, 90, 14]
Generated Node #0,0: 56:[8, 90, 14] Operation: 15-1=14
Exploring Operation: 90/15=6, Resulting Numbers: [8, 1, 6]
Generated Node #0,1: 56:[8, 1, 6] Operation: 90/15=6
Exploring Operation: 90-15=75, Resulting Numbers: [8, 1, 75]
Generated Node #0,2: 56:[8, 1, 75] Operation: 90-15=75
Exploring Operation: 90-1=89, Resulting Numbers: [8, 15, 89]
Generated Node #0,3: 56:[8, 15, 89] Operation: 90-1=89
Exploring Operation: 90-8=82, Resulting Numbers: [15, 1, 82]
Generated Node #0,4: 56:[15, 1, 82] Operation: 90-8=82
Moving to Node #0,1
Current State: 56:[8, 1, 6], Operations: ['90/15=6']
Exploring Operation: 1+6=7, Resulting Numbers: [8, 7]
Generated Node #0,1,0: 56:[8, 7] Operation: 1+6=7
Exploring Operation: 8/1=8, Resulting Numbers: [6, 8]
Generated Node #0,1,1: 56:[6, 8] Operation: 8/1=8
Exploring Operation: 8+6=14, Resulting Numbers: [1, 14]
Generated Node #0,1,2: 56:[1, 14] Operation: 8+6=14
Exploring Operation: 8-1=7, Resulting Numbers: [6, 7]
Generated Node #0,1,3: 56:[6, 7] Operation: 8-1=7
Exploring Operation: 8*1=8, Resulting Numbers: [6, 8]
Generated Node #0,1,4: 56:[6, 8] Operation: 8*1=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[8, 7], Operations: ['90/15=6', '1+6=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[8, 15, 90, 1], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [8, 1, 6]
Generated Node #0,1: 56:[8, 1, 6] Operation: 90/15=6
Moving to Node #0,1
Current State: 56:[8, 1, 6], Operations: ['90/15=6']
Exploring Operation: 1+6=7, Resulting Numbers: [8, 7]
Generated Node #0,1,0: 56:[8, 7] Operation: 1+6=7
Moving to Node #0,1,0
Current State: 56:[8, 7], Operations: ['90/15=6', '1+6=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
63,
25,
28,
87
] | 66 | [
"28-25=3",
"63/3=21",
"87-21=66"
] | Current State: 66:[63, 25, 28, 87], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [63, 87, 3]
Generated Node #2: [63, 87, 3] from Operation: 28-25=3
Current State: 66:[63, 87, 3], Operations: ['28-25=3']
Exploring Operation: 63/3=21, Resulting Numbers: [87, 21]
Generated Node #3: [87, 21] from Operation: 63/3=21
Current State: 66:[87, 21], Operations: ['28-25=3', '63/3=21']
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[63, 25, 28, 87], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [25, 28, 24]
Generated Node #0,0: 66:[25, 28, 24] Operation: 87-63=24
Exploring Operation: 87-25=62, Resulting Numbers: [63, 28, 62]
Generated Node #0,1: 66:[63, 28, 62] Operation: 87-25=62
Moving to Node #0,0
Current State: 66:[25, 28, 24], Operations: ['87-63=24']
Exploring Operation: 28-24=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 66:[25, 4] Operation: 28-24=4
Exploring Operation: 28-25=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 66:[24, 3] Operation: 28-25=3
Moving to Node #0,1
Current State: 66:[63, 28, 62], Operations: ['87-25=62']
Exploring Operation: 63-28=35, Resulting Numbers: [62, 35]
Generated Node #0,1,0: 66:[62, 35] Operation: 63-28=35
Exploring Operation: 62-28=34, Resulting Numbers: [63, 34]
Generated Node #0,1,1: 66:[63, 34] Operation: 62-28=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[63, 34], Operations: ['87-25=62', '62-28=34']
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,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,1,0
Current State: 66:[62, 35], Operations: ['87-25=62', '63-28=35']
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 62+35=97, Resulting Numbers: [97]
97,66 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: 66:[24, 3], Operations: ['87-63=24', '28-25=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[25, 4], Operations: ['87-63=24', '28-24=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,66 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
51,
64,
73,
38
] | 98 | [
"64-51=13",
"73+38=111",
"111-13=98"
] | Current State: 98:[51, 64, 73, 38], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [73, 38, 13]
Generated Node #2: [73, 38, 13] from Operation: 64-51=13
Current State: 98:[73, 38, 13], Operations: ['64-51=13']
Exploring Operation: 73+38=111, Resulting Numbers: [13, 111]
Generated Node #3: [13, 111] from Operation: 73+38=111
Current State: 98:[13, 111], Operations: ['64-51=13', '73+38=111']
Exploring Operation: 111-13=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[51, 64, 73, 38], Operations: []
Exploring Operation: 73+38=111, Resulting Numbers: [51, 64, 111]
Generated Node #0,0: 98:[51, 64, 111] Operation: 73+38=111
Exploring Operation: 64+38=102, Resulting Numbers: [51, 73, 102]
Generated Node #0,1: 98:[51, 73, 102] Operation: 64+38=102
Exploring Operation: 73-64=9, Resulting Numbers: [51, 38, 9]
Generated Node #0,2: 98:[51, 38, 9] Operation: 73-64=9
Moving to Node #0,2
Current State: 98:[51, 38, 9], Operations: ['73-64=9']
Exploring Operation: 38+9=47, Resulting Numbers: [51, 47]
Generated Node #0,2,0: 98:[51, 47] Operation: 38+9=47
Exploring Operation: 51+38=89, Resulting Numbers: [9, 89]
Generated Node #0,2,1: 98:[9, 89] Operation: 51+38=89
Exploring Operation: 51-38=13, Resulting Numbers: [9, 13]
Generated Node #0,2,2: 98:[9, 13] Operation: 51-38=13
Moving to Node #0,0
Current State: 98:[51, 64, 111], Operations: ['73+38=111']
Exploring Operation: 111-64=47, Resulting Numbers: [51, 47]
Generated Node #0,0,0: 98:[51, 47] Operation: 111-64=47
Exploring Operation: 64-51=13, Resulting Numbers: [111, 13]
Generated Node #0,0,1: 98:[111, 13] Operation: 64-51=13
Exploring Operation: 111-51=60, Resulting Numbers: [64, 60]
Generated Node #0,0,2: 98:[64, 60] Operation: 111-51=60
Moving to Node #0,1
Current State: 98:[51, 73, 102], Operations: ['64+38=102']
Exploring Operation: 102/51=2, Resulting Numbers: [73, 2]
Generated Node #0,1,0: 98:[73, 2] Operation: 102/51=2
Exploring Operation: 102-73=29, Resulting Numbers: [51, 29]
Generated Node #0,1,1: 98:[51, 29] Operation: 102-73=29
Exploring Operation: 73-51=22, Resulting Numbers: [102, 22]
Generated Node #0,1,2: 98:[102, 22] Operation: 73-51=22
Moving to Node #0,2,2
Current State: 98:[9, 13], Operations: ['73-64=9', '51-38=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[51, 47], Operations: ['73-64=9', '38+9=47']
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,98 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[51, 64, 73, 38], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [51, 38, 9]
Generated Node #0,2: 98:[51, 38, 9] Operation: 73-64=9
Moving to Node #0,2
Current State: 98:[51, 38, 9], Operations: ['73-64=9']
Exploring Operation: 38+9=47, Resulting Numbers: [51, 47]
Generated Node #0,2,0: 98:[51, 47] Operation: 38+9=47
Moving to Node #0,2,0
Current State: 98:[51, 47], Operations: ['73-64=9', '38+9=47']
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.980903 | hs_3 | mult_heuristic |
[
65,
65,
67,
33
] | 69 | [
"65+67=132",
"132/33=4",
"65+4=69"
] | Current State: 69:[65, 65, 67, 33], Operations: []
Exploring Operation: 65+67=132, Resulting Numbers: [33, 132]
Generated Node #2: [33, 132] from Operation: 65+67=132
Current State: 69:[33, 132], Operations: ['65+67=132']
Exploring Operation: 132/33=4, Resulting Numbers: [4]
4,69 equal: Goal Reached
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[65, 65, 67, 33], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [67, 33, 0]
Generated Node #0,0: 69:[67, 33, 0] Operation: 65-65=0
Exploring Operation: 65/65=1, Resulting Numbers: [67, 33, 1]
Generated Node #0,1: 69:[67, 33, 1] Operation: 65/65=1
Moving to Node #0,1
Current State: 69:[67, 33, 1], Operations: ['65/65=1']
Exploring Operation: 67+1=68, Resulting Numbers: [33, 68]
Generated Node #0,1,0: 69:[33, 68] Operation: 67+1=68
Exploring Operation: 33-1=32, Resulting Numbers: [67, 32]
Generated Node #0,1,1: 69:[67, 32] Operation: 33-1=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[33, 68], Operations: ['65/65=1', '67+1=68']
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 33+68=101, Resulting Numbers: [101]
101,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,1
Current State: 69:[67, 32], Operations: ['65/65=1', '33-1=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,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:[67, 33, 0], Operations: ['65-65=0']
Exploring Operation: 33*0=0, Resulting Numbers: [67, 0]
Generated Node #0,0,0: 69:[67, 0] Operation: 33*0=0
Exploring Operation: 67+0=67, Resulting Numbers: [33, 67]
Generated Node #0,0,1: 69:[33, 67] Operation: 67+0=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[67, 0], Operations: ['65-65=0', '33*0=0']
Exploring Operation: 67-0=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 67+0=67, Resulting Numbers: [67]
67,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,0,1
Current State: 69:[33, 67], Operations: ['65-65=0', '67+0=67']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
86,
48,
64,
16
] | 34 | [
"86-48=38",
"64/16=4",
"38-4=34"
] | Current State: 34:[86, 48, 64, 16], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [64, 16, 38]
Generated Node #2: [64, 16, 38] from Operation: 86-48=38
Current State: 34:[64, 16, 38], Operations: ['86-48=38']
Exploring Operation: 64/16=4, Resulting Numbers: [38, 4]
Generated Node #3: [38, 4] from Operation: 64/16=4
Current State: 34:[38, 4], Operations: ['86-48=38', '64/16=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[86, 48, 64, 16], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [48, 16, 22]
Generated Node #0,0: 34:[48, 16, 22] Operation: 86-64=22
Exploring Operation: 86-48=38, Resulting Numbers: [64, 16, 38]
Generated Node #0,1: 34:[64, 16, 38] Operation: 86-48=38
Moving to Node #0,0
Current State: 34:[48, 16, 22], Operations: ['86-64=22']
Exploring Operation: 48/16=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 34:[22, 3] Operation: 48/16=3
Exploring Operation: 48-16=32, Resulting Numbers: [22, 32]
Generated Node #0,0,1: 34:[22, 32] Operation: 48-16=32
Moving to Node #0,1
Current State: 34:[64, 16, 38], Operations: ['86-48=38']
Exploring Operation: 64/16=4, Resulting Numbers: [38, 4]
Generated Node #0,1,0: 34:[38, 4] Operation: 64/16=4
Exploring Operation: 64-38=26, Resulting Numbers: [16, 26]
Generated Node #0,1,1: 34:[16, 26] Operation: 64-38=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[38, 4], Operations: ['86-48=38', '64/16=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[86, 48, 64, 16], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [64, 16, 38]
Generated Node #0,1: 34:[64, 16, 38] Operation: 86-48=38
Moving to Node #0,1
Current State: 34:[64, 16, 38], Operations: ['86-48=38']
Exploring Operation: 64/16=4, Resulting Numbers: [38, 4]
Generated Node #0,1,0: 34:[38, 4] Operation: 64/16=4
Moving to Node #0,1,0
Current State: 34:[38, 4], Operations: ['86-48=38', '64/16=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
30,
77,
56,
47
] | 57 | [
"77-30=47",
"47/47=1",
"56+1=57"
] | Current State: 57:[30, 77, 56, 47], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [56, 47, 47]
Generated Node #2: [56, 47, 47] from Operation: 77-30=47
Current State: 57:[56, 47, 47], Operations: ['77-30=47']
Exploring Operation: 47/47=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 47/47=1
Current State: 57:[56, 1], Operations: ['77-30=47', '47/47=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[30, 77, 56, 47], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [77, 56, 17]
Generated Node #0,0: 57:[77, 56, 17] Operation: 47-30=17
Exploring Operation: 77-30=47, Resulting Numbers: [56, 47, 47]
Generated Node #0,1: 57:[56, 47, 47] Operation: 77-30=47
Exploring Operation: 77-56=21, Resulting Numbers: [30, 47, 21]
Generated Node #0,2: 57:[30, 47, 21] Operation: 77-56=21
Moving to Node #0,1
Current State: 57:[56, 47, 47], Operations: ['77-30=47']
Exploring Operation: 47/47=1, Resulting Numbers: [56, 1]
Generated Node #0,1,0: 57:[56, 1] Operation: 47/47=1
Exploring Operation: 56-47=9, Resulting Numbers: [47, 9]
Generated Node #0,1,1: 57:[47, 9] Operation: 56-47=9
Exploring Operation: 47-47=0, Resulting Numbers: [56, 0]
Generated Node #0,1,2: 57:[56, 0] Operation: 47-47=0
Moving to Node #0,0
Current State: 57:[77, 56, 17], Operations: ['47-30=17']
Exploring Operation: 77-56=21, Resulting Numbers: [17, 21]
Generated Node #0,0,0: 57:[17, 21] Operation: 77-56=21
Exploring Operation: 56+17=73, Resulting Numbers: [77, 73]
Generated Node #0,0,1: 57:[77, 73] Operation: 56+17=73
Exploring Operation: 77-17=60, Resulting Numbers: [56, 60]
Generated Node #0,0,2: 57:[56, 60] Operation: 77-17=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[17, 21], Operations: ['47-30=17', '77-56=21']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,57 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: 57:[56, 60], Operations: ['47-30=17', '77-17=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,57 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: 57:[77, 73], Operations: ['47-30=17', '56+17=73']
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,57 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,57 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: 57:[30, 47, 21], Operations: ['77-56=21']
Exploring Operation: 30+21=51, Resulting Numbers: [47, 51]
Generated Node #0,2,0: 57:[47, 51] Operation: 30+21=51
Exploring Operation: 30-21=9, Resulting Numbers: [47, 9]
Generated Node #0,2,1: 57:[47, 9] Operation: 30-21=9
Exploring Operation: 47-30=17, Resulting Numbers: [21, 17]
Generated Node #0,2,2: 57:[21, 17] Operation: 47-30=17
Moving to Node #0,1,0
Current State: 57:[56, 1], Operations: ['77-30=47', '47/47=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[30, 77, 56, 47], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [56, 47, 47]
Generated Node #0,1: 57:[56, 47, 47] Operation: 77-30=47
Moving to Node #0,1
Current State: 57:[56, 47, 47], Operations: ['77-30=47']
Exploring Operation: 47/47=1, Resulting Numbers: [56, 1]
Generated Node #0,1,0: 57:[56, 1] Operation: 47/47=1
Moving to Node #0,1,0
Current State: 57:[56, 1], Operations: ['77-30=47', '47/47=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
63,
36,
49,
51
] | 54 | [
"63-36=27",
"51-49=2",
"27*2=54"
] | Current State: 54:[63, 36, 49, 51], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [49, 51, 27]
Generated Node #2: [49, 51, 27] from Operation: 63-36=27
Current State: 54:[49, 51, 27], Operations: ['63-36=27']
Exploring Operation: 51-49=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 51-49=2
Current State: 54:[27, 2], Operations: ['63-36=27', '51-49=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[63, 36, 49, 51], Operations: []
Exploring Operation: 49-36=13, Resulting Numbers: [63, 51, 13]
Generated Node #0,0: 54:[63, 51, 13] Operation: 49-36=13
Exploring Operation: 63-49=14, Resulting Numbers: [36, 51, 14]
Generated Node #0,1: 54:[36, 51, 14] Operation: 63-49=14
Exploring Operation: 51-36=15, Resulting Numbers: [63, 49, 15]
Generated Node #0,2: 54:[63, 49, 15] Operation: 51-36=15
Exploring Operation: 63-36=27, Resulting Numbers: [49, 51, 27]
Generated Node #0,3: 54:[49, 51, 27] Operation: 63-36=27
Exploring Operation: 63-51=12, Resulting Numbers: [36, 49, 12]
Generated Node #0,4: 54:[36, 49, 12] Operation: 63-51=12
Moving to Node #0,3
Current State: 54:[49, 51, 27], Operations: ['63-36=27']
Exploring Operation: 51-49=2, Resulting Numbers: [27, 2]
Generated Node #0,3,0: 54:[27, 2] Operation: 51-49=2
Exploring Operation: 51-27=24, Resulting Numbers: [49, 24]
Generated Node #0,3,1: 54:[49, 24] Operation: 51-27=24
Exploring Operation: 49+27=76, Resulting Numbers: [51, 76]
Generated Node #0,3,2: 54:[51, 76] Operation: 49+27=76
Exploring Operation: 51+27=78, Resulting Numbers: [49, 78]
Generated Node #0,3,3: 54:[49, 78] Operation: 51+27=78
Exploring Operation: 49-27=22, Resulting Numbers: [51, 22]
Generated Node #0,3,4: 54:[51, 22] Operation: 49-27=22
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[27, 2], Operations: ['63-36=27', '51-49=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[63, 36, 49, 51], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [49, 51, 27]
Generated Node #0,3: 54:[49, 51, 27] Operation: 63-36=27
Moving to Node #0,3
Current State: 54:[49, 51, 27], Operations: ['63-36=27']
Exploring Operation: 51-49=2, Resulting Numbers: [27, 2]
Generated Node #0,3,0: 54:[27, 2] Operation: 51-49=2
Moving to Node #0,3,0
Current State: 54:[27, 2], Operations: ['63-36=27', '51-49=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
44,
41,
58,
26
] | 87 | [
"44-41=3",
"58+26=84",
"3+84=87"
] | Current State: 87:[44, 41, 58, 26], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [58, 26, 3]
Generated Node #2: [58, 26, 3] from Operation: 44-41=3
Current State: 87:[58, 26, 3], Operations: ['44-41=3']
Exploring Operation: 58+26=84, Resulting Numbers: [3, 84]
Generated Node #3: [3, 84] from Operation: 58+26=84
Current State: 87:[3, 84], Operations: ['44-41=3', '58+26=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[44, 41, 58, 26], Operations: []
Exploring Operation: 41+58=99, Resulting Numbers: [44, 26, 99]
Generated Node #0,0: 87:[44, 26, 99] Operation: 41+58=99
Exploring Operation: 44+58=102, Resulting Numbers: [41, 26, 102]
Generated Node #0,1: 87:[41, 26, 102] Operation: 44+58=102
Exploring Operation: 58-44=14, Resulting Numbers: [41, 26, 14]
Generated Node #0,2: 87:[41, 26, 14] Operation: 58-44=14
Exploring Operation: 58-41=17, Resulting Numbers: [44, 26, 17]
Generated Node #0,3: 87:[44, 26, 17] Operation: 58-41=17
Moving to Node #0,2
Current State: 87:[41, 26, 14], Operations: ['58-44=14']
Exploring Operation: 41-14=27, Resulting Numbers: [26, 27]
Generated Node #0,2,0: 87:[26, 27] Operation: 41-14=27
Exploring Operation: 26+14=40, Resulting Numbers: [41, 40]
Generated Node #0,2,1: 87:[41, 40] Operation: 26+14=40
Exploring Operation: 26-14=12, Resulting Numbers: [41, 12]
Generated Node #0,2,2: 87:[41, 12] Operation: 26-14=12
Exploring Operation: 41-26=15, Resulting Numbers: [14, 15]
Generated Node #0,2,3: 87:[14, 15] Operation: 41-26=15
Moving to Node #0,1
Current State: 87:[41, 26, 102], Operations: ['44+58=102']
Exploring Operation: 41-26=15, Resulting Numbers: [102, 15]
Generated Node #0,1,0: 87:[102, 15] Operation: 41-26=15
Exploring Operation: 102-41=61, Resulting Numbers: [26, 61]
Generated Node #0,1,1: 87:[26, 61] Operation: 102-41=61
Exploring Operation: 41+26=67, Resulting Numbers: [102, 67]
Generated Node #0,1,2: 87:[102, 67] Operation: 41+26=67
Exploring Operation: 102-26=76, Resulting Numbers: [41, 76]
Generated Node #0,1,3: 87:[41, 76] Operation: 102-26=76
Moving to Node #0,0
Current State: 87:[44, 26, 99], Operations: ['41+58=99']
Exploring Operation: 44-26=18, Resulting Numbers: [99, 18]
Generated Node #0,0,0: 87:[99, 18] Operation: 44-26=18
Exploring Operation: 99-44=55, Resulting Numbers: [26, 55]
Generated Node #0,0,1: 87:[26, 55] Operation: 99-44=55
Exploring Operation: 44+26=70, Resulting Numbers: [99, 70]
Generated Node #0,0,2: 87:[99, 70] Operation: 44+26=70
Exploring Operation: 99-26=73, Resulting Numbers: [44, 73]
Generated Node #0,0,3: 87:[44, 73] Operation: 99-26=73
Moving to Node #0,3
Current State: 87:[44, 26, 17], Operations: ['58-41=17']
Exploring Operation: 44-17=27, Resulting Numbers: [26, 27]
Generated Node #0,3,0: 87:[26, 27] Operation: 44-17=27
Exploring Operation: 44-26=18, Resulting Numbers: [17, 18]
Generated Node #0,3,1: 87:[17, 18] Operation: 44-26=18
Exploring Operation: 26-17=9, Resulting Numbers: [44, 9]
Generated Node #0,3,2: 87:[44, 9] Operation: 26-17=9
Exploring Operation: 44+26=70, Resulting Numbers: [17, 70]
Generated Node #0,3,3: 87:[17, 70] Operation: 44+26=70
Moving to Node #0,2,0
Current State: 87:[26, 27], Operations: ['58-44=14', '41-14=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,87 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[26, 27], Operations: ['58-41=17', '44-17=27']
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,87 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[44, 9], Operations: ['58-41=17', '26-17=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,87 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[41, 12], Operations: ['58-44=14', '26-14=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[17, 18], Operations: ['58-41=17', '44-26=18']
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,87 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[41, 40], Operations: ['58-44=14', '26+14=40']
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,87 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[41, 76], Operations: ['44+58=102', '102-26=76']
Exploring Operation: 41*76=3116, Resulting Numbers: [3116]
3116,87 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 41+76=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[14, 15], Operations: ['58-44=14', '41-26=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[99, 18], Operations: ['41+58=99', '44-26=18']
Exploring Operation: 99*18=1782, Resulting Numbers: [1782]
1782,87 unequal: No Solution
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 99+18=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[102, 15], Operations: ['44+58=102', '41-26=15']
Exploring Operation: 102+15=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[44, 41, 58, 26], Operations: []
Exploring Operation: 44+58=102, Resulting Numbers: [41, 26, 102]
Generated Node #0,1: 87:[41, 26, 102] Operation: 44+58=102
Moving to Node #0,1
Current State: 87:[41, 26, 102], Operations: ['44+58=102']
Exploring Operation: 41-26=15, Resulting Numbers: [102, 15]
Generated Node #0,1,0: 87:[102, 15] Operation: 41-26=15
Moving to Node #0,1,0
Current State: 87:[102, 15], Operations: ['44+58=102', '41-26=15']
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
28,
3,
39,
3
] | 28 | [
"3-3=0",
"39*0=0",
"28+0=28"
] | Current State: 28:[28, 3, 39, 3], Operations: []
Exploring Operation: 3-3=0, Resulting Numbers: [28, 39, 0]
Generated Node #2: [28, 39, 0] from Operation: 3-3=0
Current State: 28:[28, 39, 0], Operations: ['3-3=0']
Exploring Operation: 39*0=0, Resulting Numbers: [28, 0]
Generated Node #3: [28, 0] from Operation: 39*0=0
Current State: 28:[28, 0], Operations: ['3-3=0', '39*0=0']
Exploring Operation: 28+0=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[28, 3, 39, 3], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [28, 3, 13]
Generated Node #0,0: 28:[28, 3, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [28, 3, 36]
Generated Node #0,1: 28:[28, 3, 36] Operation: 39-3=36
Exploring Operation: 39-28=11, Resulting Numbers: [3, 3, 11]
Generated Node #0,2: 28:[3, 3, 11] Operation: 39-28=11
Exploring Operation: 39/3=13, Resulting Numbers: [28, 3, 13]
Generated Node #0,3: 28:[28, 3, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [28, 3, 36]
Generated Node #0,4: 28:[28, 3, 36] Operation: 39-3=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[28, 3, 13], Operations: ['39/3=13']
Exploring Operation: 3+13=16, Resulting Numbers: [28, 16]
Generated Node #0,0,0: 28:[28, 16] Operation: 3+13=16
Exploring Operation: 28-3=25, Resulting Numbers: [13, 25]
Generated Node #0,0,1: 28:[13, 25] Operation: 28-3=25
Exploring Operation: 13-3=10, Resulting Numbers: [28, 10]
Generated Node #0,0,2: 28:[28, 10] Operation: 13-3=10
Exploring Operation: 28+3=31, Resulting Numbers: [13, 31]
Generated Node #0,0,3: 28:[13, 31] Operation: 28+3=31
Exploring Operation: 28-13=15, Resulting Numbers: [3, 15]
Generated Node #0,0,4: 28:[3, 15] Operation: 28-13=15
Moving to Node #0,0,0
Current State: 28:[28, 16], Operations: ['39/3=13', '3+13=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[3, 15], Operations: ['39/3=13', '28-13=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[28, 10], Operations: ['39/3=13', '13-3=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,28 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[13, 25], Operations: ['39/3=13', '28-3=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,28 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[13, 31], Operations: ['39/3=13', '28+3=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,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,3
Current State: 28:[28, 3, 13], Operations: ['39/3=13']
Exploring Operation: 13-3=10, Resulting Numbers: [28, 10]
Generated Node #0,3,0: 28:[28, 10] Operation: 13-3=10
Exploring Operation: 28-13=15, Resulting Numbers: [3, 15]
Generated Node #0,3,1: 28:[3, 15] Operation: 28-13=15
Exploring Operation: 28+3=31, Resulting Numbers: [13, 31]
Generated Node #0,3,2: 28:[13, 31] Operation: 28+3=31
Exploring Operation: 3+13=16, Resulting Numbers: [28, 16]
Generated Node #0,3,3: 28:[28, 16] Operation: 3+13=16
Exploring Operation: 28-3=25, Resulting Numbers: [13, 25]
Generated Node #0,3,4: 28:[13, 25] Operation: 28-3=25
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 28:[3, 15], Operations: ['39/3=13', '28-13=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,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,3,3
Current State: 28:[28, 16], Operations: ['39/3=13', '3+13=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,28 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,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,3,0
Current State: 28:[28, 10], Operations: ['39/3=13', '13-3=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,28 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,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,3,2
Current State: 28:[13, 31], Operations: ['39/3=13', '28+3=31']
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,28 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,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,3,4
Current State: 28:[13, 25], Operations: ['39/3=13', '28-3=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,28 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,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:[3, 3, 11], Operations: ['39-28=11']
Exploring Operation: 3+3=6, Resulting Numbers: [11, 6]
Generated Node #0,2,0: 28:[11, 6] Operation: 3+3=6
Exploring Operation: 11-3=8, Resulting Numbers: [3, 8]
Generated Node #0,2,1: 28:[3, 8] Operation: 11-3=8
Exploring Operation: 3+11=14, Resulting Numbers: [3, 14]
Generated Node #0,2,2: 28:[3, 14] Operation: 3+11=14
Exploring Operation: 11-3=8, Resulting Numbers: [3, 8]
Generated Node #0,2,3: 28:[3, 8] Operation: 11-3=8
Exploring Operation: 3+11=14, Resulting Numbers: [3, 14]
Generated Node #0,2,4: 28:[3, 14] Operation: 3+11=14
Moving to Node #0,2,2
Current State: 28:[3, 14], Operations: ['39-28=11', '3+11=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[3, 14], Operations: ['39-28=11', '3+11=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[3, 8], Operations: ['39-28=11', '11-3=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[3, 8], Operations: ['39-28=11', '11-3=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[11, 6], Operations: ['39-28=11', '3+3=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,28 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,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:[28, 3, 36], Operations: ['39-3=36']
Exploring Operation: 28+3=31, Resulting Numbers: [36, 31]
Generated Node #0,1,0: 28:[36, 31] Operation: 28+3=31
Exploring Operation: 28-3=25, Resulting Numbers: [36, 25]
Generated Node #0,1,1: 28:[36, 25] Operation: 28-3=25
Exploring Operation: 36-28=8, Resulting Numbers: [3, 8]
Generated Node #0,1,2: 28:[3, 8] Operation: 36-28=8
Exploring Operation: 36-3=33, Resulting Numbers: [28, 33]
Generated Node #0,1,3: 28:[28, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [28, 12]
Generated Node #0,1,4: 28:[28, 12] Operation: 36/3=12
Moving to Node #0,1,2
Current State: 28:[3, 8], Operations: ['39-3=36', '36-28=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[28, 12], Operations: ['39-3=36', '36/3=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[28, 33], Operations: ['39-3=36', '36-3=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,28 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[36, 31], Operations: ['39-3=36', '28+3=31']
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,28 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[36, 25], Operations: ['39-3=36', '28-3=25']
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,28 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,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,4
Current State: 28:[28, 3, 36], Operations: ['39-3=36']
Exploring Operation: 28+3=31, Resulting Numbers: [36, 31]
Generated Node #0,4,0: 28:[36, 31] Operation: 28+3=31
Exploring Operation: 36-3=33, Resulting Numbers: [28, 33]
Generated Node #0,4,1: 28:[28, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [28, 12]
Generated Node #0,4,2: 28:[28, 12] Operation: 36/3=12
Exploring Operation: 36-28=8, Resulting Numbers: [3, 8]
Generated Node #0,4,3: 28:[3, 8] Operation: 36-28=8
Exploring Operation: 28-3=25, Resulting Numbers: [36, 25]
Generated Node #0,4,4: 28:[36, 25] Operation: 28-3=25
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 28:[28, 12], Operations: ['39-3=36', '36/3=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,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,4,3
Current State: 28:[3, 8], Operations: ['39-3=36', '36-28=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,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,4,1
Current State: 28:[28, 33], Operations: ['39-3=36', '36-3=33']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,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,4,0
Current State: 28:[36, 31], Operations: ['39-3=36', '28+3=31']
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,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,4,4
Current State: 28:[36, 25], Operations: ['39-3=36', '28-3=25']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
12,
34,
2,
55
] | 44 | [
"34-12=22",
"22/2=11",
"55-11=44"
] | Current State: 44:[12, 34, 2, 55], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [2, 55, 22]
Generated Node #2: [2, 55, 22] from Operation: 34-12=22
Current State: 44:[2, 55, 22], Operations: ['34-12=22']
Exploring Operation: 22/2=11, Resulting Numbers: [55, 11]
Generated Node #3: [55, 11] from Operation: 22/2=11
Current State: 44:[55, 11], Operations: ['34-12=22', '22/2=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[12, 34, 2, 55], Operations: []
Exploring Operation: 55-34=21, Resulting Numbers: [12, 2, 21]
Generated Node #0,0: 44:[12, 2, 21] Operation: 55-34=21
Exploring Operation: 55-12=43, Resulting Numbers: [34, 2, 43]
Generated Node #0,1: 44:[34, 2, 43] Operation: 55-12=43
Exploring Operation: 34-12=22, Resulting Numbers: [2, 55, 22]
Generated Node #0,2: 44:[2, 55, 22] Operation: 34-12=22
Exploring Operation: 12+34=46, Resulting Numbers: [2, 55, 46]
Generated Node #0,3: 44:[2, 55, 46] Operation: 12+34=46
Moving to Node #0,0
Current State: 44:[12, 2, 21], Operations: ['55-34=21']
Exploring Operation: 21-12=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 44:[2, 9] Operation: 21-12=9
Exploring Operation: 12*2=24, Resulting Numbers: [21, 24]
Generated Node #0,0,1: 44:[21, 24] Operation: 12*2=24
Exploring Operation: 12-2=10, Resulting Numbers: [21, 10]
Generated Node #0,0,2: 44:[21, 10] Operation: 12-2=10
Exploring Operation: 2+21=23, Resulting Numbers: [12, 23]
Generated Node #0,0,3: 44:[12, 23] Operation: 2+21=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[2, 9], Operations: ['55-34=21', '21-12=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,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:[21, 10], Operations: ['55-34=21', '12-2=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,44 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,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,3
Current State: 44:[12, 23], Operations: ['55-34=21', '2+21=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,44 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,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,1
Current State: 44:[21, 24], Operations: ['55-34=21', '12*2=24']
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,44 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,44 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: 44:[2, 55, 22], Operations: ['34-12=22']
Exploring Operation: 22/2=11, Resulting Numbers: [55, 11]
Generated Node #0,2,0: 44:[55, 11] Operation: 22/2=11
Exploring Operation: 55-2=53, Resulting Numbers: [22, 53]
Generated Node #0,2,1: 44:[22, 53] Operation: 55-2=53
Exploring Operation: 55-22=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 44:[2, 33] Operation: 55-22=33
Exploring Operation: 2*22=44, Resulting Numbers: [55, 44]
Generated Node #0,2,3: 44:[55, 44] Operation: 2*22=44
Moving to Node #0,1
Current State: 44:[34, 2, 43], Operations: ['55-12=43']
Exploring Operation: 43-34=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 44:[2, 9] Operation: 43-34=9
Exploring Operation: 34/2=17, Resulting Numbers: [43, 17]
Generated Node #0,1,1: 44:[43, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [43, 32]
Generated Node #0,1,2: 44:[43, 32] Operation: 34-2=32
Exploring Operation: 34+2=36, Resulting Numbers: [43, 36]
Generated Node #0,1,3: 44:[43, 36] Operation: 34+2=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[2, 9], Operations: ['55-12=43', '43-34=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,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,1,1
Current State: 44:[43, 17], Operations: ['55-12=43', '34/2=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,44 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,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,1,3
Current State: 44:[43, 36], Operations: ['55-12=43', '34+2=36']
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,44 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,44 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,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,1,2
Current State: 44:[43, 32], Operations: ['55-12=43', '34-2=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,44 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,44 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: 44:[2, 55, 46], Operations: ['12+34=46']
Exploring Operation: 46-2=44, Resulting Numbers: [55, 44]
Generated Node #0,3,0: 44:[55, 44] Operation: 46-2=44
Exploring Operation: 55-2=53, Resulting Numbers: [46, 53]
Generated Node #0,3,1: 44:[46, 53] Operation: 55-2=53
Exploring Operation: 55-46=9, Resulting Numbers: [2, 9]
Generated Node #0,3,2: 44:[2, 9] Operation: 55-46=9
Exploring Operation: 46/2=23, Resulting Numbers: [55, 23]
Generated Node #0,3,3: 44:[55, 23] Operation: 46/2=23
Moving to Node #0,3,2
Current State: 44:[2, 9], Operations: ['12+34=46', '55-46=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[22, 53], Operations: ['34-12=22', '55-2=53']
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 22*53=1166, Resulting Numbers: [1166]
1166,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[2, 33], Operations: ['34-12=22', '55-22=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,44 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[55, 44], Operations: ['12+34=46', '46-2=44']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,44 unequal: No Solution
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[46, 53], Operations: ['12+34=46', '55-2=53']
Exploring Operation: 46*53=2438, Resulting Numbers: [2438]
2438,44 unequal: No Solution
Exploring Operation: 46+53=99, Resulting Numbers: [99]
99,44 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[55, 11], Operations: ['34-12=22', '22/2=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[12, 34, 2, 55], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [2, 55, 22]
Generated Node #0,2: 44:[2, 55, 22] Operation: 34-12=22
Moving to Node #0,2
Current State: 44:[2, 55, 22], Operations: ['34-12=22']
Exploring Operation: 22/2=11, Resulting Numbers: [55, 11]
Generated Node #0,2,0: 44:[55, 11] Operation: 22/2=11
Moving to Node #0,2,0
Current State: 44:[55, 11], Operations: ['34-12=22', '22/2=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.944444 | hs_4 | sum_heuristic |
[
83,
8,
2,
21
] | 87 | [
"83-2=81",
"8*21=168",
"168-81=87"
] | Current State: 87:[83, 8, 2, 21], Operations: []
Exploring Operation: 83-2=81, Resulting Numbers: [8, 21, 81]
Generated Node #2: [8, 21, 81] from Operation: 83-2=81
Current State: 87:[8, 21, 81], Operations: ['83-2=81']
Exploring Operation: 8*21=168, Resulting Numbers: [81, 168]
Generated Node #3: [81, 168] from Operation: 8*21=168
Current State: 87:[81, 168], Operations: ['83-2=81', '8*21=168']
Exploring Operation: 168-81=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[83, 8, 2, 21], Operations: []
Exploring Operation: 8+21=29, Resulting Numbers: [83, 2, 29]
Generated Node #0,0: 87:[83, 2, 29] Operation: 8+21=29
Exploring Operation: 83+8=91, Resulting Numbers: [2, 21, 91]
Generated Node #0,1: 87:[2, 21, 91] Operation: 83+8=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[83, 2, 29], Operations: ['8+21=29']
Exploring Operation: 83-2=81, Resulting Numbers: [29, 81]
Generated Node #0,0,0: 87:[29, 81] Operation: 83-2=81
Exploring Operation: 83+2=85, Resulting Numbers: [29, 85]
Generated Node #0,0,1: 87:[29, 85] Operation: 83+2=85
Moving to Node #0,0,1
Current State: 87:[29, 85], Operations: ['8+21=29', '83+2=85']
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[29, 81], Operations: ['8+21=29', '83-2=81']
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 29+81=110, Resulting Numbers: [110]
110,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
Current State: 87:[2, 21, 91], Operations: ['83+8=91']
Exploring Operation: 2+21=23, Resulting Numbers: [91, 23]
Generated Node #0,1,0: 87:[91, 23] Operation: 2+21=23
Exploring Operation: 91-2=89, Resulting Numbers: [21, 89]
Generated Node #0,1,1: 87:[21, 89] Operation: 91-2=89
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[91, 23], Operations: ['83+8=91', '2+21=23']
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,87 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: 87:[21, 89], Operations: ['83+8=91', '91-2=89']
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,87 unequal: No Solution
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,87 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 |
[
20,
38,
71,
39
] | 51 | [
"71-20=51",
"39-38=1",
"51*1=51"
] | Current State: 51:[20, 38, 71, 39], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [38, 39, 51]
Generated Node #2: [38, 39, 51] from Operation: 71-20=51
Current State: 51:[38, 39, 51], Operations: ['71-20=51']
Exploring Operation: 39-38=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 39-38=1
Current State: 51:[51, 1], Operations: ['71-20=51', '39-38=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[20, 38, 71, 39], Operations: []
Exploring Operation: 71-38=33, Resulting Numbers: [20, 39, 33]
Generated Node #0,0: 51:[20, 39, 33] Operation: 71-38=33
Exploring Operation: 71-20=51, Resulting Numbers: [38, 39, 51]
Generated Node #0,1: 51:[38, 39, 51] Operation: 71-20=51
Exploring Operation: 71-39=32, Resulting Numbers: [20, 38, 32]
Generated Node #0,2: 51:[20, 38, 32] Operation: 71-39=32
Exploring Operation: 39-38=1, Resulting Numbers: [20, 71, 1]
Generated Node #0,3: 51:[20, 71, 1] Operation: 39-38=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[38, 39, 51], Operations: ['71-20=51']
Exploring Operation: 51-39=12, Resulting Numbers: [38, 12]
Generated Node #0,1,0: 51:[38, 12] Operation: 51-39=12
Exploring Operation: 38+39=77, Resulting Numbers: [51, 77]
Generated Node #0,1,1: 51:[51, 77] Operation: 38+39=77
Exploring Operation: 39-38=1, Resulting Numbers: [51, 1]
Generated Node #0,1,2: 51:[51, 1] Operation: 39-38=1
Exploring Operation: 51-38=13, Resulting Numbers: [39, 13]
Generated Node #0,1,3: 51:[39, 13] Operation: 51-38=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[51, 1], Operations: ['71-20=51', '39-38=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[20, 38, 71, 39], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [38, 39, 51]
Generated Node #0,1: 51:[38, 39, 51] Operation: 71-20=51
Moving to Node #0,1
Current State: 51:[38, 39, 51], Operations: ['71-20=51']
Exploring Operation: 39-38=1, Resulting Numbers: [51, 1]
Generated Node #0,1,2: 51:[51, 1] Operation: 39-38=1
Moving to Node #0,1,2
Current State: 51:[51, 1], Operations: ['71-20=51', '39-38=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
81,
7,
83,
94
] | 85 | [
"81-7=74",
"94-83=11",
"74+11=85"
] | Current State: 85:[81, 7, 83, 94], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [83, 94, 74]
Generated Node #2: [83, 94, 74] from Operation: 81-7=74
Current State: 85:[83, 94, 74], Operations: ['81-7=74']
Exploring Operation: 94-83=11, Resulting Numbers: [74, 11]
Generated Node #3: [74, 11] from Operation: 94-83=11
Current State: 85:[74, 11], Operations: ['81-7=74', '94-83=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[81, 7, 83, 94], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [7, 83, 13]
Generated Node #0,0: 85:[7, 83, 13] Operation: 94-81=13
Exploring Operation: 94-7=87, Resulting Numbers: [81, 83, 87]
Generated Node #0,1: 85:[81, 83, 87] Operation: 94-7=87
Moving to Node #0,0
Current State: 85:[7, 83, 13], Operations: ['94-81=13']
Exploring Operation: 13-7=6, Resulting Numbers: [83, 6]
Generated Node #0,0,0: 85:[83, 6] Operation: 13-7=6
Exploring Operation: 7+13=20, Resulting Numbers: [83, 20]
Generated Node #0,0,1: 85:[83, 20] Operation: 7+13=20
Moving to Node #0,1
Current State: 85:[81, 83, 87], Operations: ['94-7=87']
Exploring Operation: 87-81=6, Resulting Numbers: [83, 6]
Generated Node #0,1,0: 85:[83, 6] Operation: 87-81=6
Exploring Operation: 83-81=2, Resulting Numbers: [87, 2]
Generated Node #0,1,1: 85:[87, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[83, 6], Operations: ['94-7=87', '87-81=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,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,1,1
Current State: 85:[87, 2], Operations: ['94-7=87', '83-81=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[81, 7, 83, 94], Operations: []
Exploring Operation: 94-7=87, Resulting Numbers: [81, 83, 87]
Generated Node #0,1: 85:[81, 83, 87] Operation: 94-7=87
Moving to Node #0,1
Current State: 85:[81, 83, 87], Operations: ['94-7=87']
Exploring Operation: 83-81=2, Resulting Numbers: [87, 2]
Generated Node #0,1,1: 85:[87, 2] Operation: 83-81=2
Moving to Node #0,1,1
Current State: 85:[87, 2], Operations: ['94-7=87', '83-81=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
4,
15,
64,
27
] | 48 | [
"15-4=11",
"64-27=37",
"11+37=48"
] | Current State: 48:[4, 15, 64, 27], Operations: []
Exploring Operation: 15-4=11, Resulting Numbers: [64, 27, 11]
Generated Node #2: [64, 27, 11] from Operation: 15-4=11
Current State: 48:[64, 27, 11], Operations: ['15-4=11']
Exploring Operation: 64-27=37, Resulting Numbers: [11, 37]
Generated Node #3: [11, 37] from Operation: 64-27=37
Current State: 48:[11, 37], Operations: ['15-4=11', '64-27=37']
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[4, 15, 64, 27], Operations: []
Exploring Operation: 64-27=37, Resulting Numbers: [4, 15, 37]
Generated Node #0,0: 48:[4, 15, 37] Operation: 64-27=37
Exploring Operation: 64-15=49, Resulting Numbers: [4, 27, 49]
Generated Node #0,1: 48:[4, 27, 49] Operation: 64-15=49
Exploring Operation: 64/4=16, Resulting Numbers: [15, 27, 16]
Generated Node #0,2: 48:[15, 27, 16] Operation: 64/4=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[4, 27, 49], Operations: ['64-15=49']
Exploring Operation: 49-4=45, Resulting Numbers: [27, 45]
Generated Node #0,1,0: 48:[27, 45] Operation: 49-4=45
Exploring Operation: 27-4=23, Resulting Numbers: [49, 23]
Generated Node #0,1,1: 48:[49, 23] Operation: 27-4=23
Exploring Operation: 49-27=22, Resulting Numbers: [4, 22]
Generated Node #0,1,2: 48:[4, 22] Operation: 49-27=22
Moving to Node #0,1,1
Current State: 48:[49, 23], Operations: ['64-15=49', '27-4=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,48 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[4, 22], Operations: ['64-15=49', '49-27=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[27, 45], Operations: ['64-15=49', '49-4=45']
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,48 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,48 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: 48:[15, 27, 16], Operations: ['64/4=16']
Exploring Operation: 27-15=12, Resulting Numbers: [16, 12]
Generated Node #0,2,0: 48:[16, 12] Operation: 27-15=12
Exploring Operation: 16-15=1, Resulting Numbers: [27, 1]
Generated Node #0,2,1: 48:[27, 1] Operation: 16-15=1
Exploring Operation: 27-16=11, Resulting Numbers: [15, 11]
Generated Node #0,2,2: 48:[15, 11] Operation: 27-16=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[16, 12], Operations: ['64/4=16', '27-15=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,48 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: 48:[15, 11], Operations: ['64/4=16', '27-16=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,48 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: 48:[27, 1], Operations: ['64/4=16', '16-15=1']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,48 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: 48:[4, 15, 37], Operations: ['64-27=37']
Exploring Operation: 37-15=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 48:[4, 22] Operation: 37-15=22
Exploring Operation: 4+37=41, Resulting Numbers: [15, 41]
Generated Node #0,0,1: 48:[15, 41] Operation: 4+37=41
Exploring Operation: 15+37=52, Resulting Numbers: [4, 52]
Generated Node #0,0,2: 48:[4, 52] Operation: 15+37=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[4, 22], Operations: ['64-27=37', '37-15=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,48 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: 48:[4, 52], Operations: ['64-27=37', '15+37=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[4, 15, 64, 27], Operations: []
Exploring Operation: 64-27=37, Resulting Numbers: [4, 15, 37]
Generated Node #0,0: 48:[4, 15, 37] Operation: 64-27=37
Moving to Node #0,0
Current State: 48:[4, 15, 37], Operations: ['64-27=37']
Exploring Operation: 15+37=52, Resulting Numbers: [4, 52]
Generated Node #0,0,2: 48:[4, 52] Operation: 15+37=52
Moving to Node #0,0,2
Current State: 48:[4, 52], Operations: ['64-27=37', '15+37=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | sum_heuristic |
[
16,
79,
90,
85
] | 19 | [
"16+79=95",
"90-85=5",
"95/5=19"
] | Current State: 19:[16, 79, 90, 85], Operations: []
Exploring Operation: 16+79=95, Resulting Numbers: [90, 85, 95]
Generated Node #2: [90, 85, 95] from Operation: 16+79=95
Current State: 19:[90, 85, 95], Operations: ['16+79=95']
Exploring Operation: 90-85=5, Resulting Numbers: [95, 5]
Generated Node #3: [95, 5] from Operation: 90-85=5
Current State: 19:[95, 5], Operations: ['16+79=95', '90-85=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[16, 79, 90, 85], Operations: []
Exploring Operation: 79-16=63, Resulting Numbers: [90, 85, 63]
Generated Node #0,0: 19:[90, 85, 63] Operation: 79-16=63
Exploring Operation: 90-79=11, Resulting Numbers: [16, 85, 11]
Generated Node #0,1: 19:[16, 85, 11] Operation: 90-79=11
Exploring Operation: 90-85=5, Resulting Numbers: [16, 79, 5]
Generated Node #0,2: 19:[16, 79, 5] Operation: 90-85=5
Exploring Operation: 85-79=6, Resulting Numbers: [16, 90, 6]
Generated Node #0,3: 19:[16, 90, 6] Operation: 85-79=6
Moving to Node #0,1
Current State: 19:[16, 85, 11], Operations: ['90-79=11']
Exploring Operation: 85-16=69, Resulting Numbers: [11, 69]
Generated Node #0,1,0: 19:[11, 69] Operation: 85-16=69
Exploring Operation: 16-11=5, Resulting Numbers: [85, 5]
Generated Node #0,1,1: 19:[85, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [85, 27]
Generated Node #0,1,2: 19:[85, 27] Operation: 16+11=27
Exploring Operation: 85-11=74, Resulting Numbers: [16, 74]
Generated Node #0,1,3: 19:[16, 74] Operation: 85-11=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[11, 69], Operations: ['90-79=11', '85-16=69']
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,19 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,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,1,3
Current State: 19:[16, 74], Operations: ['90-79=11', '85-11=74']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,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,1,2
Current State: 19:[85, 27], Operations: ['90-79=11', '16+11=27']
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,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,1,1
Current State: 19:[85, 5], Operations: ['90-79=11', '16-11=5']
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 85*5=425, Resulting Numbers: [425]
425,19 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,19 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: 19:[16, 79, 5], Operations: ['90-85=5']
Exploring Operation: 79-5=74, Resulting Numbers: [16, 74]
Generated Node #0,2,0: 19:[16, 74] Operation: 79-5=74
Exploring Operation: 16-5=11, Resulting Numbers: [79, 11]
Generated Node #0,2,1: 19:[79, 11] Operation: 16-5=11
Exploring Operation: 16+5=21, Resulting Numbers: [79, 21]
Generated Node #0,2,2: 19:[79, 21] Operation: 16+5=21
Exploring Operation: 79-16=63, Resulting Numbers: [5, 63]
Generated Node #0,2,3: 19:[5, 63] Operation: 79-16=63
Moving to Node #0,3
Current State: 19:[16, 90, 6], Operations: ['85-79=6']
Exploring Operation: 90/6=15, Resulting Numbers: [16, 15]
Generated Node #0,3,0: 19:[16, 15] Operation: 90/6=15
Exploring Operation: 90-16=74, Resulting Numbers: [6, 74]
Generated Node #0,3,1: 19:[6, 74] Operation: 90-16=74
Exploring Operation: 90-6=84, Resulting Numbers: [16, 84]
Generated Node #0,3,2: 19:[16, 84] Operation: 90-6=84
Exploring Operation: 16+6=22, Resulting Numbers: [90, 22]
Generated Node #0,3,3: 19:[90, 22] Operation: 16+6=22
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[16, 15], Operations: ['85-79=6', '90/6=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,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,3,1
Current State: 19:[6, 74], Operations: ['85-79=6', '90-16=74']
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,19 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,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,3,2
Current State: 19:[16, 84], Operations: ['85-79=6', '90-6=84']
Exploring Operation: 16*84=1344, Resulting Numbers: [1344]
1344,19 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 16+84=100, Resulting Numbers: [100]
100,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,3,3
Current State: 19:[90, 22], Operations: ['85-79=6', '16+6=22']
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,19 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,19 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: 19:[90, 85, 63], Operations: ['79-16=63']
Exploring Operation: 90-63=27, Resulting Numbers: [85, 27]
Generated Node #0,0,0: 19:[85, 27] Operation: 90-63=27
Exploring Operation: 90+85=175, Resulting Numbers: [63, 175]
Generated Node #0,0,1: 19:[63, 175] Operation: 90+85=175
Exploring Operation: 85-63=22, Resulting Numbers: [90, 22]
Generated Node #0,0,2: 19:[90, 22] Operation: 85-63=22
Exploring Operation: 90-85=5, Resulting Numbers: [63, 5]
Generated Node #0,0,3: 19:[63, 5] Operation: 90-85=5
Moving to Node #0,2,0
Current State: 19:[16, 74], Operations: ['90-85=5', '79-5=74']
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[5, 63], Operations: ['90-85=5', '79-16=63']
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,19 unequal: No Solution
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[63, 5], Operations: ['79-16=63', '90-85=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[79, 21], Operations: ['90-85=5', '16+5=21']
Exploring Operation: 79*21=1659, Resulting Numbers: [1659]
1659,19 unequal: No Solution
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,19 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[79, 11], Operations: ['90-85=5', '16-5=11']
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,19 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[85, 27], Operations: ['79-16=63', '90-63=27']
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[90, 22], Operations: ['79-16=63', '85-63=22']
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,19 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[63, 175], Operations: ['79-16=63', '90+85=175']
Exploring Operation: 63+175=238, Resulting Numbers: [238]
238,19 unequal: No Solution
Exploring Operation: 63*175=11025, Resulting Numbers: [11025]
11025,19 unequal: No Solution
Exploring Operation: 175-63=112, Resulting Numbers: [112]
112,19 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
68,
47,
63,
53
] | 11 | [
"68-47=21",
"63-53=10",
"21-10=11"
] | Current State: 11:[68, 47, 63, 53], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [63, 53, 21]
Generated Node #2: [63, 53, 21] from Operation: 68-47=21
Current State: 11:[63, 53, 21], Operations: ['68-47=21']
Exploring Operation: 63-53=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 63-53=10
Current State: 11:[21, 10], Operations: ['68-47=21', '63-53=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[68, 47, 63, 53], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [68, 47, 10]
Generated Node #0,0: 11:[68, 47, 10] Operation: 63-53=10
Exploring Operation: 68-53=15, Resulting Numbers: [47, 63, 15]
Generated Node #0,1: 11:[47, 63, 15] Operation: 68-53=15
Exploring Operation: 68-63=5, Resulting Numbers: [47, 53, 5]
Generated Node #0,2: 11:[47, 53, 5] Operation: 68-63=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[47, 53, 5], Operations: ['68-63=5']
Exploring Operation: 47-5=42, Resulting Numbers: [53, 42]
Generated Node #0,2,0: 11:[53, 42] Operation: 47-5=42
Exploring Operation: 53-5=48, Resulting Numbers: [47, 48]
Generated Node #0,2,1: 11:[47, 48] Operation: 53-5=48
Exploring Operation: 53-47=6, Resulting Numbers: [5, 6]
Generated Node #0,2,2: 11:[5, 6] Operation: 53-47=6
Moving to Node #0,2,2
Current State: 11:[5, 6], Operations: ['68-63=5', '53-47=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[68, 47, 63, 53], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [47, 53, 5]
Generated Node #0,2: 11:[47, 53, 5] Operation: 68-63=5
Moving to Node #0,2
Current State: 11:[47, 53, 5], Operations: ['68-63=5']
Exploring Operation: 53-47=6, Resulting Numbers: [5, 6]
Generated Node #0,2,2: 11:[5, 6] Operation: 53-47=6
Moving to Node #0,2,2
Current State: 11:[5, 6], Operations: ['68-63=5', '53-47=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
3,
36,
4,
9
] | 52 | [
"3+36=39",
"4+9=13",
"39+13=52"
] | Current State: 52:[3, 36, 4, 9], Operations: []
Exploring Operation: 3+36=39, Resulting Numbers: [4, 9, 39]
Generated Node #2: [4, 9, 39] from Operation: 3+36=39
Current State: 52:[4, 9, 39], Operations: ['3+36=39']
Exploring Operation: 4+9=13, Resulting Numbers: [39, 13]
Generated Node #3: [39, 13] from Operation: 4+9=13
Current State: 52:[39, 13], Operations: ['3+36=39', '4+9=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 36, 4, 9], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [3, 9, 9]
Generated Node #0,0: 52:[3, 9, 9] Operation: 36/4=9
Exploring Operation: 36+9=45, Resulting Numbers: [3, 4, 45]
Generated Node #0,1: 52:[3, 4, 45] Operation: 36+9=45
Exploring Operation: 36/9=4, Resulting Numbers: [3, 4, 4]
Generated Node #0,2: 52:[3, 4, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [3, 4, 27]
Generated Node #0,3: 52:[3, 4, 27] Operation: 36-9=27
Exploring Operation: 36/3=12, Resulting Numbers: [4, 9, 12]
Generated Node #0,4: 52:[4, 9, 12] Operation: 36/3=12
Moving to Node #0,2
Current State: 52:[3, 4, 4], Operations: ['36/9=4']
Exploring Operation: 3*4=12, Resulting Numbers: [4, 12]
Generated Node #0,2,0: 52:[4, 12] Operation: 3*4=12
Exploring Operation: 4/4=1, Resulting Numbers: [3, 1]
Generated Node #0,2,1: 52:[3, 1] Operation: 4/4=1
Exploring Operation: 4-3=1, Resulting Numbers: [4, 1]
Generated Node #0,2,2: 52:[4, 1] Operation: 4-3=1
Exploring Operation: 4-3=1, Resulting Numbers: [4, 1]
Generated Node #0,2,3: 52:[4, 1] Operation: 4-3=1
Exploring Operation: 3*4=12, Resulting Numbers: [4, 12]
Generated Node #0,2,4: 52:[4, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[4, 12], Operations: ['36/9=4', '3*4=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,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,2,2
Current State: 52:[4, 1], Operations: ['36/9=4', '4-3=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,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,2,3
Current State: 52:[4, 1], Operations: ['36/9=4', '4-3=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,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,2,4
Current State: 52:[4, 12], Operations: ['36/9=4', '3*4=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,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,2,1
Current State: 52:[3, 1], Operations: ['36/9=4', '4/4=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,52 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: 52:[3, 4, 27], Operations: ['36-9=27']
Exploring Operation: 27-3=24, Resulting Numbers: [4, 24]
Generated Node #0,3,0: 52:[4, 24] Operation: 27-3=24
Exploring Operation: 3+4=7, Resulting Numbers: [27, 7]
Generated Node #0,3,1: 52:[27, 7] Operation: 3+4=7
Exploring Operation: 4-3=1, Resulting Numbers: [27, 1]
Generated Node #0,3,2: 52:[27, 1] Operation: 4-3=1
Exploring Operation: 3+27=30, Resulting Numbers: [4, 30]
Generated Node #0,3,3: 52:[4, 30] Operation: 3+27=30
Exploring Operation: 3*4=12, Resulting Numbers: [27, 12]
Generated Node #0,3,4: 52:[27, 12] Operation: 3*4=12
Moving to Node #0,4
Current State: 52:[4, 9, 12], Operations: ['36/3=12']
Exploring Operation: 12-9=3, Resulting Numbers: [4, 3]
Generated Node #0,4,0: 52:[4, 3] Operation: 12-9=3
Exploring Operation: 4+9=13, Resulting Numbers: [12, 13]
Generated Node #0,4,1: 52:[12, 13] Operation: 4+9=13
Exploring Operation: 9+12=21, Resulting Numbers: [4, 21]
Generated Node #0,4,2: 52:[4, 21] Operation: 9+12=21
Exploring Operation: 9-4=5, Resulting Numbers: [12, 5]
Generated Node #0,4,3: 52:[12, 5] Operation: 9-4=5
Exploring Operation: 12/4=3, Resulting Numbers: [9, 3]
Generated Node #0,4,4: 52:[9, 3] Operation: 12/4=3
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 52:[4, 3], Operations: ['36/3=12', '12-9=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,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,1
Current State: 52:[12, 13], Operations: ['36/3=12', '4+9=13']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,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,3
Current State: 52:[12, 5], Operations: ['36/3=12', '9-4=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,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,2
Current State: 52:[4, 21], Operations: ['36/3=12', '9+12=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,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,4
Current State: 52:[9, 3], Operations: ['36/3=12', '12/4=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,52 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: 52:[3, 4, 45], Operations: ['36+9=45']
Exploring Operation: 4-3=1, Resulting Numbers: [45, 1]
Generated Node #0,1,0: 52:[45, 1] Operation: 4-3=1
Exploring Operation: 3+45=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 52:[4, 48] Operation: 3+45=48
Exploring Operation: 4+45=49, Resulting Numbers: [3, 49]
Generated Node #0,1,2: 52:[3, 49] Operation: 4+45=49
Exploring Operation: 45/3=15, Resulting Numbers: [4, 15]
Generated Node #0,1,3: 52:[4, 15] Operation: 45/3=15
Exploring Operation: 3*4=12, Resulting Numbers: [45, 12]
Generated Node #0,1,4: 52:[45, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[4, 15], Operations: ['36+9=45', '45/3=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,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,1
Current State: 52:[4, 48], Operations: ['36+9=45', '3+45=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[3, 36, 4, 9], Operations: []
Exploring Operation: 36+9=45, Resulting Numbers: [3, 4, 45]
Generated Node #0,1: 52:[3, 4, 45] Operation: 36+9=45
Moving to Node #0,1
Current State: 52:[3, 4, 45], Operations: ['36+9=45']
Exploring Operation: 3+45=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 52:[4, 48] Operation: 3+45=48
Moving to Node #0,1,1
Current State: 52:[4, 48], Operations: ['36+9=45', '3+45=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_5 | sum_heuristic |
[
31,
28,
6,
47
] | 41 | [
"31+47=78",
"78/6=13",
"28+13=41"
] | Current State: 41:[31, 28, 6, 47], Operations: []
Exploring Operation: 31+47=78, Resulting Numbers: [28, 6, 78]
Generated Node #2: [28, 6, 78] from Operation: 31+47=78
Current State: 41:[28, 6, 78], Operations: ['31+47=78']
Exploring Operation: 78/6=13, Resulting Numbers: [28, 13]
Generated Node #3: [28, 13] from Operation: 78/6=13
Current State: 41:[28, 13], Operations: ['31+47=78', '78/6=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[31, 28, 6, 47], Operations: []
Exploring Operation: 28+6=34, Resulting Numbers: [31, 47, 34]
Generated Node #0,0: 41:[31, 47, 34] Operation: 28+6=34
Exploring Operation: 31+6=37, Resulting Numbers: [28, 47, 37]
Generated Node #0,1: 41:[28, 47, 37] Operation: 31+6=37
Exploring Operation: 47-6=41, Resulting Numbers: [31, 28, 41]
Generated Node #0,2: 41:[31, 28, 41] Operation: 47-6=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[31, 47, 34], Operations: ['28+6=34']
Exploring Operation: 31+34=65, Resulting Numbers: [47, 65]
Generated Node #0,0,0: 41:[47, 65] Operation: 31+34=65
Exploring Operation: 47-31=16, Resulting Numbers: [34, 16]
Generated Node #0,0,1: 41:[34, 16] Operation: 47-31=16
Exploring Operation: 47-34=13, Resulting Numbers: [31, 13]
Generated Node #0,0,2: 41:[31, 13] Operation: 47-34=13
Moving to Node #0,0,0
Current State: 41:[47, 65], Operations: ['28+6=34', '31+34=65']
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[34, 16], Operations: ['28+6=34', '47-31=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[31, 13], Operations: ['28+6=34', '47-34=13']
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,41 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 31+13=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,1
Current State: 41:[28, 47, 37], Operations: ['31+6=37']
Exploring Operation: 28+37=65, Resulting Numbers: [47, 65]
Generated Node #0,1,0: 41:[47, 65] Operation: 28+37=65
Exploring Operation: 47-28=19, Resulting Numbers: [37, 19]
Generated Node #0,1,1: 41:[37, 19] Operation: 47-28=19
Exploring Operation: 28+47=75, Resulting Numbers: [37, 75]
Generated Node #0,1,2: 41:[37, 75] Operation: 28+47=75
Moving to Node #0,1,1
Current State: 41:[37, 19], Operations: ['31+6=37', '47-28=19']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[47, 65], Operations: ['31+6=37', '28+37=65']
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,41 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[37, 75], Operations: ['31+6=37', '28+47=75']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,41 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,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
Current State: 41:[31, 28, 41], Operations: ['47-6=41']
Exploring Operation: 31-28=3, Resulting Numbers: [41, 3]
Generated Node #0,2,0: 41:[41, 3] Operation: 31-28=3
Exploring Operation: 31+28=59, Resulting Numbers: [41, 59]
Generated Node #0,2,1: 41:[41, 59] Operation: 31+28=59
Exploring Operation: 28+41=69, Resulting Numbers: [31, 69]
Generated Node #0,2,2: 41:[31, 69] Operation: 28+41=69
Moving to Node #0,2,1
Current State: 41:[41, 59], Operations: ['47-6=41', '31+28=59']
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 41*59=2419, Resulting Numbers: [2419]
2419,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[41, 3], Operations: ['47-6=41', '31-28=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,41 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[31, 69], Operations: ['47-6=41', '28+41=69']
Exploring Operation: 31*69=2139, Resulting Numbers: [2139]
2139,41 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,41 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 |
[
49,
29,
51,
45
] | 84 | [
"49+29=78",
"51-45=6",
"78+6=84"
] | Current State: 84:[49, 29, 51, 45], Operations: []
Exploring Operation: 49+29=78, Resulting Numbers: [51, 45, 78]
Generated Node #2: [51, 45, 78] from Operation: 49+29=78
Current State: 84:[51, 45, 78], Operations: ['49+29=78']
Exploring Operation: 51-45=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 51-45=6
Current State: 84:[78, 6], Operations: ['49+29=78', '51-45=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[49, 29, 51, 45], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [49, 29, 6]
Generated Node #0,0: 84:[49, 29, 6] Operation: 51-45=6
Exploring Operation: 51-49=2, Resulting Numbers: [29, 45, 2]
Generated Node #0,1: 84:[29, 45, 2] Operation: 51-49=2
Moving to Node #0,1
Current State: 84:[29, 45, 2], Operations: ['51-49=2']
Exploring Operation: 45-29=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 84:[2, 16] Operation: 45-29=16
Exploring Operation: 45-2=43, Resulting Numbers: [29, 43]
Generated Node #0,1,1: 84:[29, 43] Operation: 45-2=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[2, 16], Operations: ['51-49=2', '45-29=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,84 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: 84:[29, 43], Operations: ['51-49=2', '45-2=43']
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,84 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: 84:[49, 29, 6], Operations: ['51-45=6']
Exploring Operation: 49-6=43, Resulting Numbers: [29, 43]
Generated Node #0,0,0: 84:[29, 43] Operation: 49-6=43
Exploring Operation: 49-29=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 84:[6, 20] Operation: 49-29=20
Moving to Node #0,0,1
Current State: 84:[6, 20], Operations: ['51-45=6', '49-29=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[29, 43], Operations: ['51-45=6', '49-6=43']
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
97,
96,
69,
61
] | 63 | [
"97+96=193",
"69+61=130",
"193-130=63"
] | Current State: 63:[97, 96, 69, 61], Operations: []
Exploring Operation: 97+96=193, Resulting Numbers: [69, 61, 193]
Generated Node #2: [69, 61, 193] from Operation: 97+96=193
Current State: 63:[69, 61, 193], Operations: ['97+96=193']
Exploring Operation: 69+61=130, Resulting Numbers: [193, 130]
Generated Node #3: [193, 130] from Operation: 69+61=130
Current State: 63:[193, 130], Operations: ['97+96=193', '69+61=130']
Exploring Operation: 193-130=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[97, 96, 69, 61], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [96, 61, 28]
Generated Node #0,0: 63:[96, 61, 28] Operation: 97-69=28
Exploring Operation: 97-96=1, Resulting Numbers: [69, 61, 1]
Generated Node #0,1: 63:[69, 61, 1] Operation: 97-96=1
Exploring Operation: 97-61=36, Resulting Numbers: [96, 69, 36]
Generated Node #0,2: 63:[96, 69, 36] Operation: 97-61=36
Exploring Operation: 96-69=27, Resulting Numbers: [97, 61, 27]
Generated Node #0,3: 63:[97, 61, 27] Operation: 96-69=27
Exploring Operation: 96-61=35, Resulting Numbers: [97, 69, 35]
Generated Node #0,4: 63:[97, 69, 35] Operation: 96-61=35
Moving to Node #0,1
Current State: 63:[69, 61, 1], Operations: ['97-96=1']
Exploring Operation: 69*1=69, Resulting Numbers: [61, 69]
Generated Node #0,1,0: 63:[61, 69] Operation: 69*1=69
Exploring Operation: 69-1=68, Resulting Numbers: [61, 68]
Generated Node #0,1,1: 63:[61, 68] Operation: 69-1=68
Exploring Operation: 69/1=69, Resulting Numbers: [61, 69]
Generated Node #0,1,2: 63:[61, 69] Operation: 69/1=69
Exploring Operation: 69-61=8, Resulting Numbers: [1, 8]
Generated Node #0,1,3: 63:[1, 8] Operation: 69-61=8
Exploring Operation: 61+1=62, Resulting Numbers: [69, 62]
Generated Node #0,1,4: 63:[69, 62] Operation: 61+1=62
Moving to Node #0,3
Current State: 63:[97, 61, 27], Operations: ['96-69=27']
Exploring Operation: 97+27=124, Resulting Numbers: [61, 124]
Generated Node #0,3,0: 63:[61, 124] Operation: 97+27=124
Exploring Operation: 97-61=36, Resulting Numbers: [27, 36]
Generated Node #0,3,1: 63:[27, 36] Operation: 97-61=36
Exploring Operation: 97-27=70, Resulting Numbers: [61, 70]
Generated Node #0,3,2: 63:[61, 70] Operation: 97-27=70
Exploring Operation: 61-27=34, Resulting Numbers: [97, 34]
Generated Node #0,3,3: 63:[97, 34] Operation: 61-27=34
Exploring Operation: 61+27=88, Resulting Numbers: [97, 88]
Generated Node #0,3,4: 63:[97, 88] Operation: 61+27=88
Moving to Node #0,0
Current State: 63:[96, 61, 28], Operations: ['97-69=28']
Exploring Operation: 61-28=33, Resulting Numbers: [96, 33]
Generated Node #0,0,0: 63:[96, 33] Operation: 61-28=33
Exploring Operation: 96+28=124, Resulting Numbers: [61, 124]
Generated Node #0,0,1: 63:[61, 124] Operation: 96+28=124
Exploring Operation: 96-61=35, Resulting Numbers: [28, 35]
Generated Node #0,0,2: 63:[28, 35] Operation: 96-61=35
Exploring Operation: 61+28=89, Resulting Numbers: [96, 89]
Generated Node #0,0,3: 63:[96, 89] Operation: 61+28=89
Exploring Operation: 96-28=68, Resulting Numbers: [61, 68]
Generated Node #0,0,4: 63:[61, 68] Operation: 96-28=68
Moving to Node #0,2
Current State: 63:[96, 69, 36], Operations: ['97-61=36']
Exploring Operation: 69-36=33, Resulting Numbers: [96, 33]
Generated Node #0,2,0: 63:[96, 33] Operation: 69-36=33
Exploring Operation: 96-69=27, Resulting Numbers: [36, 27]
Generated Node #0,2,1: 63:[36, 27] Operation: 96-69=27
Exploring Operation: 69+36=105, Resulting Numbers: [96, 105]
Generated Node #0,2,2: 63:[96, 105] Operation: 69+36=105
Exploring Operation: 96+36=132, Resulting Numbers: [69, 132]
Generated Node #0,2,3: 63:[69, 132] Operation: 96+36=132
Exploring Operation: 96-36=60, Resulting Numbers: [69, 60]
Generated Node #0,2,4: 63:[69, 60] Operation: 96-36=60
Moving to Node #0,4
Current State: 63:[97, 69, 35], Operations: ['96-61=35']
Exploring Operation: 97-35=62, Resulting Numbers: [69, 62]
Generated Node #0,4,0: 63:[69, 62] Operation: 97-35=62
Exploring Operation: 97+35=132, Resulting Numbers: [69, 132]
Generated Node #0,4,1: 63:[69, 132] Operation: 97+35=132
Exploring Operation: 97-69=28, Resulting Numbers: [35, 28]
Generated Node #0,4,2: 63:[35, 28] Operation: 97-69=28
Exploring Operation: 69-35=34, Resulting Numbers: [97, 34]
Generated Node #0,4,3: 63:[97, 34] Operation: 69-35=34
Exploring Operation: 69+35=104, Resulting Numbers: [97, 104]
Generated Node #0,4,4: 63:[97, 104] Operation: 69+35=104
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 63:[69, 62], Operations: ['96-61=35', '97-35=62']
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,63 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,63 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,63 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: 63:[35, 28], Operations: ['96-61=35', '97-69=28']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,63 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[97, 96, 69, 61], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [97, 69, 35]
Generated Node #0,4: 63:[97, 69, 35] Operation: 96-61=35
Moving to Node #0,4
Current State: 63:[97, 69, 35], Operations: ['96-61=35']
Exploring Operation: 97-69=28, Resulting Numbers: [35, 28]
Generated Node #0,4,2: 63:[35, 28] Operation: 97-69=28
Moving to Node #0,4,2
Current State: 63:[35, 28], Operations: ['96-61=35', '97-69=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
59,
46,
94,
45
] | 35 | [
"94-59=35",
"46-45=1",
"35*1=35"
] | Current State: 35:[59, 46, 94, 45], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [46, 45, 35]
Generated Node #2: [46, 45, 35] from Operation: 94-59=35
Current State: 35:[46, 45, 35], Operations: ['94-59=35']
Exploring Operation: 46-45=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 46-45=1
Current State: 35:[35, 1], Operations: ['94-59=35', '46-45=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[59, 46, 94, 45], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [59, 46, 49]
Generated Node #0,0: 35:[59, 46, 49] Operation: 94-45=49
Exploring Operation: 59-46=13, Resulting Numbers: [94, 45, 13]
Generated Node #0,1: 35:[94, 45, 13] Operation: 59-46=13
Exploring Operation: 94-46=48, Resulting Numbers: [59, 45, 48]
Generated Node #0,2: 35:[59, 45, 48] Operation: 94-46=48
Exploring Operation: 94-59=35, Resulting Numbers: [46, 45, 35]
Generated Node #0,3: 35:[46, 45, 35] Operation: 94-59=35
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[46, 45, 35], Operations: ['94-59=35']
Exploring Operation: 46-35=11, Resulting Numbers: [45, 11]
Generated Node #0,3,0: 35:[45, 11] Operation: 46-35=11
Exploring Operation: 46-45=1, Resulting Numbers: [35, 1]
Generated Node #0,3,1: 35:[35, 1] Operation: 46-45=1
Exploring Operation: 46+45=91, Resulting Numbers: [35, 91]
Generated Node #0,3,2: 35:[35, 91] Operation: 46+45=91
Exploring Operation: 45-35=10, Resulting Numbers: [46, 10]
Generated Node #0,3,3: 35:[46, 10] Operation: 45-35=10
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[35, 1], Operations: ['94-59=35', '46-45=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[59, 46, 94, 45], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [46, 45, 35]
Generated Node #0,3: 35:[46, 45, 35] Operation: 94-59=35
Moving to Node #0,3
Current State: 35:[46, 45, 35], Operations: ['94-59=35']
Exploring Operation: 46-45=1, Resulting Numbers: [35, 1]
Generated Node #0,3,1: 35:[35, 1] Operation: 46-45=1
Moving to Node #0,3,1
Current State: 35:[35, 1], Operations: ['94-59=35', '46-45=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
89,
99,
7,
15
] | 83 | [
"89+99=188",
"7*15=105",
"188-105=83"
] | Current State: 83:[89, 99, 7, 15], Operations: []
Exploring Operation: 89+99=188, Resulting Numbers: [7, 15, 188]
Generated Node #2: [7, 15, 188] from Operation: 89+99=188
Current State: 83:[7, 15, 188], Operations: ['89+99=188']
Exploring Operation: 7*15=105, Resulting Numbers: [188, 105]
Generated Node #3: [188, 105] from Operation: 7*15=105
Current State: 83:[188, 105], Operations: ['89+99=188', '7*15=105']
Exploring Operation: 188-105=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[89, 99, 7, 15], Operations: []
Exploring Operation: 7*15=105, Resulting Numbers: [89, 99, 105]
Generated Node #0,0: 83:[89, 99, 105] Operation: 7*15=105
Exploring Operation: 99-7=92, Resulting Numbers: [89, 15, 92]
Generated Node #0,1: 83:[89, 15, 92] Operation: 99-7=92
Exploring Operation: 99-15=84, Resulting Numbers: [89, 7, 84]
Generated Node #0,2: 83:[89, 7, 84] Operation: 99-15=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[89, 99, 105], Operations: ['7*15=105']
Exploring Operation: 105-89=16, Resulting Numbers: [99, 16]
Generated Node #0,0,0: 83:[99, 16] Operation: 105-89=16
Exploring Operation: 105-99=6, Resulting Numbers: [89, 6]
Generated Node #0,0,1: 83:[89, 6] Operation: 105-99=6
Exploring Operation: 99-89=10, Resulting Numbers: [105, 10]
Generated Node #0,0,2: 83:[105, 10] Operation: 99-89=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[99, 16], Operations: ['7*15=105', '105-89=16']
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,83 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[89, 99, 7, 15], Operations: []
Exploring Operation: 7*15=105, Resulting Numbers: [89, 99, 105]
Generated Node #0,0: 83:[89, 99, 105] Operation: 7*15=105
Moving to Node #0,0
Current State: 83:[89, 99, 105], Operations: ['7*15=105']
Exploring Operation: 105-89=16, Resulting Numbers: [99, 16]
Generated Node #0,0,0: 83:[99, 16] Operation: 105-89=16
Moving to Node #0,0,0
Current State: 83:[99, 16], Operations: ['7*15=105', '105-89=16']
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
14,
27,
56,
71
] | 94 | [
"56/14=4",
"27+71=98",
"98-4=94"
] | Current State: 94:[14, 27, 56, 71], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [27, 71, 4]
Generated Node #2: [27, 71, 4] from Operation: 56/14=4
Current State: 94:[27, 71, 4], Operations: ['56/14=4']
Exploring Operation: 27+71=98, Resulting Numbers: [4, 98]
Generated Node #3: [4, 98] from Operation: 27+71=98
Current State: 94:[4, 98], Operations: ['56/14=4', '27+71=98']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[14, 27, 56, 71], Operations: []
Exploring Operation: 71-27=44, Resulting Numbers: [14, 56, 44]
Generated Node #0,0: 94:[14, 56, 44] Operation: 71-27=44
Exploring Operation: 27+71=98, Resulting Numbers: [14, 56, 98]
Generated Node #0,1: 94:[14, 56, 98] Operation: 27+71=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[14, 56, 44], Operations: ['71-27=44']
Exploring Operation: 56/14=4, Resulting Numbers: [44, 4]
Generated Node #0,0,0: 94:[44, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 94:[44, 42] Operation: 56-14=42
Moving to Node #0,0,0
Current State: 94:[44, 4], Operations: ['71-27=44', '56/14=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[44, 42], Operations: ['71-27=44', '56-14=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,94 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: 94:[14, 56, 98], Operations: ['27+71=98']
Exploring Operation: 56-14=42, Resulting Numbers: [98, 42]
Generated Node #0,1,0: 94:[98, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [98, 4]
Generated Node #0,1,1: 94:[98, 4] Operation: 56/14=4
Moving to Node #0,1,1
Current State: 94:[98, 4], Operations: ['27+71=98', '56/14=4']
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[14, 27, 56, 71], Operations: []
Exploring Operation: 27+71=98, Resulting Numbers: [14, 56, 98]
Generated Node #0,1: 94:[14, 56, 98] Operation: 27+71=98
Moving to Node #0,1
Current State: 94:[14, 56, 98], Operations: ['27+71=98']
Exploring Operation: 56/14=4, Resulting Numbers: [98, 4]
Generated Node #0,1,1: 94:[98, 4] Operation: 56/14=4
Moving to Node #0,1,1
Current State: 94:[98, 4], Operations: ['27+71=98', '56/14=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.