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 |
|---|---|---|---|---|---|---|---|---|
[
26,
48,
40,
75
] | 39 | [
"26+48=74",
"75-40=35",
"74-35=39"
] | Current State: 39:[26, 48, 40, 75], Operations: []
Exploring Operation: 26+48=74, Resulting Numbers: [40, 75, 74]
Generated Node #2: [40, 75, 74] from Operation: 26+48=74
Current State: 39:[40, 75, 74], Operations: ['26+48=74']
Exploring Operation: 75-40=35, Resulting Numbers: [74, 35]
Generated Node #3: [74, 35] from Operation: 75-40=35
Current State: 39:[74, 35], Operations: ['26+48=74', '75-40=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[26, 48, 40, 75], Operations: []
Exploring Operation: 75-48=27, Resulting Numbers: [26, 40, 27]
Generated Node #0,0: 39:[26, 40, 27] Operation: 75-48=27
Exploring Operation: 75-26=49, Resulting Numbers: [48, 40, 49]
Generated Node #0,1: 39:[48, 40, 49] Operation: 75-26=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[48, 40, 49], Operations: ['75-26=49']
Exploring Operation: 49-48=1, Resulting Numbers: [40, 1]
Generated Node #0,1,0: 39:[40, 1] Operation: 49-48=1
Exploring Operation: 49-40=9, Resulting Numbers: [48, 9]
Generated Node #0,1,1: 39:[48, 9] Operation: 49-40=9
Moving to Node #0,1,0
Current State: 39:[40, 1], Operations: ['75-26=49', '49-48=1']
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[26, 48, 40, 75], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [48, 40, 49]
Generated Node #0,1: 39:[48, 40, 49] Operation: 75-26=49
Moving to Node #0,1
Current State: 39:[48, 40, 49], Operations: ['75-26=49']
Exploring Operation: 49-48=1, Resulting Numbers: [40, 1]
Generated Node #0,1,0: 39:[40, 1] Operation: 49-48=1
Moving to Node #0,1,0
Current State: 39:[40, 1], Operations: ['75-26=49', '49-48=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
53,
38,
23,
58
] | 50 | [
"53-38=15",
"58-23=35",
"15+35=50"
] | Current State: 50:[53, 38, 23, 58], Operations: []
Exploring Operation: 53-38=15, Resulting Numbers: [23, 58, 15]
Generated Node #2: [23, 58, 15] from Operation: 53-38=15
Current State: 50:[23, 58, 15], Operations: ['53-38=15']
Exploring Operation: 58-23=35, Resulting Numbers: [15, 35]
Generated Node #3: [15, 35] from Operation: 58-23=35
Current State: 50:[15, 35], Operations: ['53-38=15', '58-23=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[53, 38, 23, 58], Operations: []
Exploring Operation: 58-38=20, Resulting Numbers: [53, 23, 20]
Generated Node #0,0: 50:[53, 23, 20] Operation: 58-38=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[53, 23, 20], Operations: ['58-38=20']
Exploring Operation: 23-20=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 50:[53, 3] Operation: 23-20=3
Moving to Node #0,0,0
Current State: 50:[53, 3], Operations: ['58-38=20', '23-20=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[53, 38, 23, 58], Operations: []
Exploring Operation: 58-38=20, Resulting Numbers: [53, 23, 20]
Generated Node #0,0: 50:[53, 23, 20] Operation: 58-38=20
Moving to Node #0,0
Current State: 50:[53, 23, 20], Operations: ['58-38=20']
Exploring Operation: 23-20=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 50:[53, 3] Operation: 23-20=3
Moving to Node #0,0,0
Current State: 50:[53, 3], Operations: ['58-38=20', '23-20=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
10,
57,
17,
66
] | 96 | [
"57-10=47",
"66-17=49",
"47+49=96"
] | Current State: 96:[10, 57, 17, 66], Operations: []
Exploring Operation: 57-10=47, Resulting Numbers: [17, 66, 47]
Generated Node #2: [17, 66, 47] from Operation: 57-10=47
Current State: 96:[17, 66, 47], Operations: ['57-10=47']
Exploring Operation: 66-17=49, Resulting Numbers: [47, 49]
Generated Node #3: [47, 49] from Operation: 66-17=49
Current State: 96:[47, 49], Operations: ['57-10=47', '66-17=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[10, 57, 17, 66], Operations: []
Exploring Operation: 66-17=49, Resulting Numbers: [10, 57, 49]
Generated Node #0,0: 96:[10, 57, 49] Operation: 66-17=49
Exploring Operation: 66-57=9, Resulting Numbers: [10, 17, 9]
Generated Node #0,1: 96:[10, 17, 9] Operation: 66-57=9
Exploring Operation: 66-10=56, Resulting Numbers: [57, 17, 56]
Generated Node #0,2: 96:[57, 17, 56] Operation: 66-10=56
Moving to Node #0,1
Current State: 96:[10, 17, 9], Operations: ['66-57=9']
Exploring Operation: 17-9=8, Resulting Numbers: [10, 8]
Generated Node #0,1,0: 96:[10, 8] Operation: 17-9=8
Exploring Operation: 17-10=7, Resulting Numbers: [9, 7]
Generated Node #0,1,1: 96:[9, 7] Operation: 17-10=7
Exploring Operation: 10-9=1, Resulting Numbers: [17, 1]
Generated Node #0,1,2: 96:[17, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[10, 8], Operations: ['66-57=9', '17-9=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,96 unequal: No Solution
No 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: 96:[9, 7], Operations: ['66-57=9', '17-10=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,96 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No 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: 96:[17, 1], Operations: ['66-57=9', '10-9=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,96 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: 96:[10, 57, 49], Operations: ['66-17=49']
Exploring Operation: 57-10=47, Resulting Numbers: [49, 47]
Generated Node #0,0,0: 96:[49, 47] Operation: 57-10=47
Exploring Operation: 57+49=106, Resulting Numbers: [10, 106]
Generated Node #0,0,1: 96:[10, 106] Operation: 57+49=106
Exploring Operation: 57-49=8, Resulting Numbers: [10, 8]
Generated Node #0,0,2: 96:[10, 8] Operation: 57-49=8
Moving to Node #0,2
Current State: 96:[57, 17, 56], Operations: ['66-10=56']
Exploring Operation: 56-17=39, Resulting Numbers: [57, 39]
Generated Node #0,2,0: 96:[57, 39] Operation: 56-17=39
Exploring Operation: 57-56=1, Resulting Numbers: [17, 1]
Generated Node #0,2,1: 96:[17, 1] Operation: 57-56=1
Exploring Operation: 57-17=40, Resulting Numbers: [56, 40]
Generated Node #0,2,2: 96:[56, 40] Operation: 57-17=40
Moving to Node #0,0,0
Current State: 96:[49, 47], Operations: ['66-17=49', '57-10=47']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,96 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[10, 57, 17, 66], Operations: []
Exploring Operation: 66-17=49, Resulting Numbers: [10, 57, 49]
Generated Node #0,0: 96:[10, 57, 49] Operation: 66-17=49
Moving to Node #0,0
Current State: 96:[10, 57, 49], Operations: ['66-17=49']
Exploring Operation: 57-10=47, Resulting Numbers: [49, 47]
Generated Node #0,0,0: 96:[49, 47] Operation: 57-10=47
Moving to Node #0,0,0
Current State: 96:[49, 47], Operations: ['66-17=49', '57-10=47']
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
95,
90,
31,
50
] | 18 | [
"50-31=19",
"95/19=5",
"90/5=18"
] | Current State: 18:[95, 90, 31, 50], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [95, 90, 19]
Generated Node #2: [95, 90, 19] from Operation: 50-31=19
Current State: 18:[95, 90, 19], Operations: ['50-31=19']
Exploring Operation: 95/19=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 95/19=5
Current State: 18:[90, 5], Operations: ['50-31=19', '95/19=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[95, 90, 31, 50], Operations: []
Exploring Operation: 95-31=64, Resulting Numbers: [90, 50, 64]
Generated Node #0,0: 18:[90, 50, 64] Operation: 95-31=64
Exploring Operation: 95-50=45, Resulting Numbers: [90, 31, 45]
Generated Node #0,1: 18:[90, 31, 45] Operation: 95-50=45
Exploring Operation: 90-50=40, Resulting Numbers: [95, 31, 40]
Generated Node #0,2: 18:[95, 31, 40] Operation: 90-50=40
Exploring Operation: 95-90=5, Resulting Numbers: [31, 50, 5]
Generated Node #0,3: 18:[31, 50, 5] Operation: 95-90=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[31, 50, 5], Operations: ['95-90=5']
Exploring Operation: 50/5=10, Resulting Numbers: [31, 10]
Generated Node #0,3,0: 18:[31, 10] Operation: 50/5=10
Exploring Operation: 50-31=19, Resulting Numbers: [5, 19]
Generated Node #0,3,1: 18:[5, 19] Operation: 50-31=19
Exploring Operation: 31-5=26, Resulting Numbers: [50, 26]
Generated Node #0,3,2: 18:[50, 26] Operation: 31-5=26
Exploring Operation: 50-5=45, Resulting Numbers: [31, 45]
Generated Node #0,3,3: 18:[31, 45] Operation: 50-5=45
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[5, 19], Operations: ['95-90=5', '50-31=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,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,3,0
Current State: 18:[31, 10], Operations: ['95-90=5', '50/5=10']
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,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,3,2
Current State: 18:[50, 26], Operations: ['95-90=5', '31-5=26']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,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,3,3
Current State: 18:[31, 45], Operations: ['95-90=5', '50-5=45']
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,18 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,18 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: 18:[90, 31, 45], Operations: ['95-50=45']
Exploring Operation: 90-45=45, Resulting Numbers: [31, 45]
Generated Node #0,1,0: 18:[31, 45] Operation: 90-45=45
Exploring Operation: 90-31=59, Resulting Numbers: [45, 59]
Generated Node #0,1,1: 18:[45, 59] Operation: 90-31=59
Exploring Operation: 45-31=14, Resulting Numbers: [90, 14]
Generated Node #0,1,2: 18:[90, 14] Operation: 45-31=14
Exploring Operation: 90/45=2, Resulting Numbers: [31, 2]
Generated Node #0,1,3: 18:[31, 2] Operation: 90/45=2
Moving to Node #0,1,3
Current State: 18:[31, 2], Operations: ['95-50=45', '90/45=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[31, 45], Operations: ['95-50=45', '90-45=45']
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,18 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[45, 59], Operations: ['95-50=45', '90-31=59']
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,18 unequal: No Solution
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[90, 14], Operations: ['95-50=45', '45-31=14']
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,18 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[95, 31, 40], Operations: ['90-50=40']
Exploring Operation: 95-31=64, Resulting Numbers: [40, 64]
Generated Node #0,2,0: 18:[40, 64] Operation: 95-31=64
Exploring Operation: 95-40=55, Resulting Numbers: [31, 55]
Generated Node #0,2,1: 18:[31, 55] Operation: 95-40=55
Exploring Operation: 95+31=126, Resulting Numbers: [40, 126]
Generated Node #0,2,2: 18:[40, 126] Operation: 95+31=126
Exploring Operation: 40-31=9, Resulting Numbers: [95, 9]
Generated Node #0,2,3: 18:[95, 9] Operation: 40-31=9
Moving to Node #0,2,1
Current State: 18:[31, 55], Operations: ['90-50=40', '95-40=55']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[40, 64], Operations: ['90-50=40', '95-31=64']
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,18 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[95, 9], Operations: ['90-50=40', '40-31=9']
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,18 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[40, 126], Operations: ['90-50=40', '95+31=126']
Exploring Operation: 40*126=5040, Resulting Numbers: [5040]
5040,18 unequal: No Solution
Exploring Operation: 40+126=166, Resulting Numbers: [166]
166,18 unequal: No Solution
Exploring Operation: 126-40=86, Resulting Numbers: [86]
86,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[90, 50, 64], Operations: ['95-31=64']
Exploring Operation: 90-50=40, Resulting Numbers: [64, 40]
Generated Node #0,0,0: 18:[64, 40] Operation: 90-50=40
Exploring Operation: 90+50=140, Resulting Numbers: [64, 140]
Generated Node #0,0,1: 18:[64, 140] Operation: 90+50=140
Exploring Operation: 64-50=14, Resulting Numbers: [90, 14]
Generated Node #0,0,2: 18:[90, 14] Operation: 64-50=14
Exploring Operation: 90-64=26, Resulting Numbers: [50, 26]
Generated Node #0,0,3: 18:[50, 26] Operation: 90-64=26
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 18:[50, 26], Operations: ['95-31=64', '90-64=26']
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,18 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,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:[64, 40], Operations: ['95-31=64', '90-50=40']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,18 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,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,2
Current State: 18:[90, 14], Operations: ['95-31=64', '64-50=14']
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,18 unequal: No Solution
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,18 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,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:[64, 140], Operations: ['95-31=64', '90+50=140']
Exploring Operation: 140-64=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 64*140=8960, Resulting Numbers: [8960]
8960,18 unequal: No Solution
Exploring Operation: 64+140=204, Resulting Numbers: [204]
204,18 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 |
[
12,
88,
20,
11
] | 85 | [
"88-12=76",
"20-11=9",
"76+9=85"
] | Current State: 85:[12, 88, 20, 11], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [20, 11, 76]
Generated Node #2: [20, 11, 76] from Operation: 88-12=76
Current State: 85:[20, 11, 76], Operations: ['88-12=76']
Exploring Operation: 20-11=9, Resulting Numbers: [76, 9]
Generated Node #3: [76, 9] from Operation: 20-11=9
Current State: 85:[76, 9], Operations: ['88-12=76', '20-11=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[12, 88, 20, 11], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [88, 20, 1]
Generated Node #0,0: 85:[88, 20, 1] Operation: 12-11=1
Moving to Node #0,0
Current State: 85:[88, 20, 1], Operations: ['12-11=1']
Exploring Operation: 88-1=87, Resulting Numbers: [20, 87]
Generated Node #0,0,0: 85:[20, 87] Operation: 88-1=87
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[20, 87], Operations: ['12-11=1', '88-1=87']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,85 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 |
[
5,
30,
99,
48
] | 86 | [
"5+30=35",
"99-48=51",
"35+51=86"
] | Current State: 86:[5, 30, 99, 48], Operations: []
Exploring Operation: 5+30=35, Resulting Numbers: [99, 48, 35]
Generated Node #2: [99, 48, 35] from Operation: 5+30=35
Current State: 86:[99, 48, 35], Operations: ['5+30=35']
Exploring Operation: 99-48=51, Resulting Numbers: [35, 51]
Generated Node #3: [35, 51] from Operation: 99-48=51
Current State: 86:[35, 51], Operations: ['5+30=35', '99-48=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[5, 30, 99, 48], Operations: []
Exploring Operation: 30+48=78, Resulting Numbers: [5, 99, 78]
Generated Node #0,0: 86:[5, 99, 78] Operation: 30+48=78
Exploring Operation: 30/5=6, Resulting Numbers: [99, 48, 6]
Generated Node #0,1: 86:[99, 48, 6] Operation: 30/5=6
Moving to Node #0,1
Current State: 86:[99, 48, 6], Operations: ['30/5=6']
Exploring Operation: 99-6=93, Resulting Numbers: [48, 93]
Generated Node #0,1,0: 86:[48, 93] Operation: 99-6=93
Exploring Operation: 99-48=51, Resulting Numbers: [6, 51]
Generated Node #0,1,1: 86:[6, 51] Operation: 99-48=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[48, 93], Operations: ['30/5=6', '99-6=93']
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 48+93=141, Resulting Numbers: [141]
141,86 unequal: No Solution
No 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: 86:[6, 51], Operations: ['30/5=6', '99-48=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,86 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: 86:[5, 99, 78], Operations: ['30+48=78']
Exploring Operation: 5+78=83, Resulting Numbers: [99, 83]
Generated Node #0,0,0: 86:[99, 83] Operation: 5+78=83
Exploring Operation: 99-5=94, Resulting Numbers: [78, 94]
Generated Node #0,0,1: 86:[78, 94] Operation: 99-5=94
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[99, 83], Operations: ['30+48=78', '5+78=83']
Exploring Operation: 99+83=182, Resulting Numbers: [182]
182,86 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,86 unequal: No Solution
No 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: 86:[78, 94], Operations: ['30+48=78', '99-5=94']
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 78+94=172, Resulting Numbers: [172]
172,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
65,
16,
12
] | 84 | [
"16-12=4",
"76/4=19",
"65+19=84"
] | Current State: 84:[76, 65, 16, 12], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [76, 65, 4]
Generated Node #2: [76, 65, 4] from Operation: 16-12=4
Current State: 84:[76, 65, 4], Operations: ['16-12=4']
Exploring Operation: 76/4=19, Resulting Numbers: [65, 19]
Generated Node #3: [65, 19] from Operation: 76/4=19
Current State: 84:[65, 19], Operations: ['16-12=4', '76/4=19']
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[76, 65, 16, 12], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [16, 12, 11]
Generated Node #0,0: 84:[16, 12, 11] Operation: 76-65=11
Exploring Operation: 65-12=53, Resulting Numbers: [76, 16, 53]
Generated Node #0,1: 84:[76, 16, 53] Operation: 65-12=53
Exploring Operation: 65+16=81, Resulting Numbers: [76, 12, 81]
Generated Node #0,2: 84:[76, 12, 81] Operation: 65+16=81
Exploring Operation: 65+12=77, Resulting Numbers: [76, 16, 77]
Generated Node #0,3: 84:[76, 16, 77] Operation: 65+12=77
Exploring Operation: 65-16=49, Resulting Numbers: [76, 12, 49]
Generated Node #0,4: 84:[76, 12, 49] Operation: 65-16=49
Moving to Node #0,0
Current State: 84:[16, 12, 11], Operations: ['76-65=11']
Exploring Operation: 16+12=28, Resulting Numbers: [11, 28]
Generated Node #0,0,0: 84:[11, 28] Operation: 16+12=28
Exploring Operation: 16-11=5, Resulting Numbers: [12, 5]
Generated Node #0,0,1: 84:[12, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [12, 27]
Generated Node #0,0,2: 84:[12, 27] Operation: 16+11=27
Exploring Operation: 12-11=1, Resulting Numbers: [16, 1]
Generated Node #0,0,3: 84:[16, 1] Operation: 12-11=1
Exploring Operation: 16-12=4, Resulting Numbers: [11, 4]
Generated Node #0,0,4: 84:[11, 4] Operation: 16-12=4
Moving to Node #0,2
Current State: 84:[76, 12, 81], Operations: ['65+16=81']
Exploring Operation: 81-12=69, Resulting Numbers: [76, 69]
Generated Node #0,2,0: 84:[76, 69] Operation: 81-12=69
Exploring Operation: 76-12=64, Resulting Numbers: [81, 64]
Generated Node #0,2,1: 84:[81, 64] Operation: 76-12=64
Exploring Operation: 81-76=5, Resulting Numbers: [12, 5]
Generated Node #0,2,2: 84:[12, 5] Operation: 81-76=5
Exploring Operation: 12+81=93, Resulting Numbers: [76, 93]
Generated Node #0,2,3: 84:[76, 93] Operation: 12+81=93
Exploring Operation: 76+12=88, Resulting Numbers: [81, 88]
Generated Node #0,2,4: 84:[81, 88] Operation: 76+12=88
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[12, 5], Operations: ['65+16=81', '81-76=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,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,4
Current State: 84:[81, 88], Operations: ['65+16=81', '76+12=88']
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 81*88=7128, Resulting Numbers: [7128]
7128,84 unequal: No Solution
Exploring Operation: 81+88=169, Resulting Numbers: [169]
169,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:[76, 93], Operations: ['65+16=81', '12+81=93']
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 76+93=169, Resulting Numbers: [169]
169,84 unequal: No Solution
Exploring Operation: 76*93=7068, Resulting Numbers: [7068]
7068,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,0
Current State: 84:[76, 69], Operations: ['65+16=81', '81-12=69']
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 76*69=5244, Resulting Numbers: [5244]
5244,84 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,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:[81, 64], Operations: ['65+16=81', '76-12=64']
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 81+64=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 81*64=5184, Resulting Numbers: [5184]
5184,84 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: 84:[76, 12, 49], Operations: ['65-16=49']
Exploring Operation: 76-49=27, Resulting Numbers: [12, 27]
Generated Node #0,4,0: 84:[12, 27] Operation: 76-49=27
Exploring Operation: 49-12=37, Resulting Numbers: [76, 37]
Generated Node #0,4,1: 84:[76, 37] Operation: 49-12=37
Exploring Operation: 76+12=88, Resulting Numbers: [49, 88]
Generated Node #0,4,2: 84:[49, 88] Operation: 76+12=88
Exploring Operation: 12+49=61, Resulting Numbers: [76, 61]
Generated Node #0,4,3: 84:[76, 61] Operation: 12+49=61
Exploring Operation: 76-12=64, Resulting Numbers: [49, 64]
Generated Node #0,4,4: 84:[49, 64] Operation: 76-12=64
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 84:[12, 27], Operations: ['65-16=49', '76-49=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,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,4,2
Current State: 84:[49, 88], Operations: ['65-16=49', '76+12=88']
Exploring Operation: 49*88=4312, Resulting Numbers: [4312]
4312,84 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 49+88=137, Resulting Numbers: [137]
137,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,4,1
Current State: 84:[76, 37], Operations: ['65-16=49', '49-12=37']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,84 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,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,4,3
Current State: 84:[76, 61], Operations: ['65-16=49', '12+49=61']
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,84 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,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,4,4
Current State: 84:[49, 64], Operations: ['65-16=49', '76-12=64']
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,84 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,84 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: 84:[76, 16, 77], Operations: ['65+12=77']
Exploring Operation: 16+77=93, Resulting Numbers: [76, 93]
Generated Node #0,3,0: 84:[76, 93] Operation: 16+77=93
Exploring Operation: 76+16=92, Resulting Numbers: [77, 92]
Generated Node #0,3,1: 84:[77, 92] Operation: 76+16=92
Exploring Operation: 77-76=1, Resulting Numbers: [16, 1]
Generated Node #0,3,2: 84:[16, 1] Operation: 77-76=1
Exploring Operation: 77-16=61, Resulting Numbers: [76, 61]
Generated Node #0,3,3: 84:[76, 61] Operation: 77-16=61
Exploring Operation: 76-16=60, Resulting Numbers: [77, 60]
Generated Node #0,3,4: 84:[77, 60] Operation: 76-16=60
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[16, 1], Operations: ['65+12=77', '77-76=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,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,3,1
Current State: 84:[77, 92], Operations: ['65+12=77', '76+16=92']
Exploring Operation: 77+92=169, Resulting Numbers: [169]
169,84 unequal: No Solution
Exploring Operation: 92-77=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 77*92=7084, Resulting Numbers: [7084]
7084,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,3,0
Current State: 84:[76, 93], Operations: ['65+12=77', '16+77=93']
Exploring Operation: 76+93=169, Resulting Numbers: [169]
169,84 unequal: No Solution
Exploring Operation: 93-76=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 76*93=7068, Resulting Numbers: [7068]
7068,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,3,4
Current State: 84:[77, 60], Operations: ['65+12=77', '76-16=60']
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,84 unequal: No Solution
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,84 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,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,3,3
Current State: 84:[76, 61], Operations: ['65+12=77', '77-16=61']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,84 unequal: No Solution
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,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:[76, 16, 53], Operations: ['65-12=53']
Exploring Operation: 76+16=92, Resulting Numbers: [53, 92]
Generated Node #0,1,0: 84:[53, 92] Operation: 76+16=92
Exploring Operation: 16+53=69, Resulting Numbers: [76, 69]
Generated Node #0,1,1: 84:[76, 69] Operation: 16+53=69
Exploring Operation: 76-53=23, Resulting Numbers: [16, 23]
Generated Node #0,1,2: 84:[16, 23] Operation: 76-53=23
Exploring Operation: 53-16=37, Resulting Numbers: [76, 37]
Generated Node #0,1,3: 84:[76, 37] Operation: 53-16=37
Exploring Operation: 76-16=60, Resulting Numbers: [53, 60]
Generated Node #0,1,4: 84:[53, 60] Operation: 76-16=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[16, 23], Operations: ['65-12=53', '76-53=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,84 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,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,3
Current State: 84:[76, 37], Operations: ['65-12=53', '53-16=37']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,84 unequal: No Solution
Exploring Operation: 76+37=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,1,0
Current State: 84:[53, 92], Operations: ['65-12=53', '76+16=92']
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,84 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,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:[76, 69], Operations: ['65-12=53', '16+53=69']
Exploring Operation: 76*69=5244, Resulting Numbers: [5244]
5244,84 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,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,4
Current State: 84:[53, 60], Operations: ['65-12=53', '76-16=60']
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,84 unequal: No Solution
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,84 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,84 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: 84:[11, 28], Operations: ['76-65=11', '16+12=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[12, 27], Operations: ['76-65=11', '16+11=27']
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,84 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[12, 5], Operations: ['76-65=11', '16-11=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[11, 4], Operations: ['76-65=11', '16-12=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[16, 1], Operations: ['76-65=11', '12-11=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,84 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
28,
65,
42,
45
] | 35 | [
"28*45=1260",
"1260/42=30",
"65-30=35"
] | Current State: 35:[28, 65, 42, 45], Operations: []
Exploring Operation: 28*45=1260, Resulting Numbers: [65, 42, 1260]
Generated Node #2: [65, 42, 1260] from Operation: 28*45=1260
Current State: 35:[65, 42, 1260], Operations: ['28*45=1260']
Exploring Operation: 1260/42=30, Resulting Numbers: [65, 30]
Generated Node #3: [65, 30] from Operation: 1260/42=30
Current State: 35:[65, 30], Operations: ['28*45=1260', '1260/42=30']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[28, 65, 42, 45], Operations: []
Exploring Operation: 65-28=37, Resulting Numbers: [42, 45, 37]
Generated Node #0,0: 35:[42, 45, 37] Operation: 65-28=37
Exploring Operation: 65-42=23, Resulting Numbers: [28, 45, 23]
Generated Node #0,1: 35:[28, 45, 23] Operation: 65-42=23
Exploring Operation: 65-45=20, Resulting Numbers: [28, 42, 20]
Generated Node #0,2: 35:[28, 42, 20] Operation: 65-45=20
Moving to Node #0,0
Current State: 35:[42, 45, 37], Operations: ['65-28=37']
Exploring Operation: 45-42=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 35:[37, 3] Operation: 45-42=3
Exploring Operation: 42-37=5, Resulting Numbers: [45, 5]
Generated Node #0,0,1: 35:[45, 5] Operation: 42-37=5
Exploring Operation: 45-37=8, Resulting Numbers: [42, 8]
Generated Node #0,0,2: 35:[42, 8] Operation: 45-37=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[37, 3], Operations: ['65-28=37', '45-42=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,35 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No 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: 35:[42, 8], Operations: ['65-28=37', '45-37=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,35 unequal: No Solution
No 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: 35:[45, 5], Operations: ['65-28=37', '42-37=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,35 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: 35:[28, 42, 20], Operations: ['65-45=20']
Exploring Operation: 42-28=14, Resulting Numbers: [20, 14]
Generated Node #0,2,0: 35:[20, 14] Operation: 42-28=14
Exploring Operation: 28-20=8, Resulting Numbers: [42, 8]
Generated Node #0,2,1: 35:[42, 8] Operation: 28-20=8
Exploring Operation: 28+20=48, Resulting Numbers: [42, 48]
Generated Node #0,2,2: 35:[42, 48] Operation: 28+20=48
Moving to Node #0,1
Current State: 35:[28, 45, 23], Operations: ['65-42=23']
Exploring Operation: 45-28=17, Resulting Numbers: [23, 17]
Generated Node #0,1,0: 35:[23, 17] Operation: 45-28=17
Exploring Operation: 28-23=5, Resulting Numbers: [45, 5]
Generated Node #0,1,1: 35:[45, 5] Operation: 28-23=5
Exploring Operation: 45-23=22, Resulting Numbers: [28, 22]
Generated Node #0,1,2: 35:[28, 22] Operation: 45-23=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[45, 5], Operations: ['65-42=23', '28-23=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No 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: 35:[28, 22], Operations: ['65-42=23', '45-23=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,35 unequal: No Solution
No 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: 35:[23, 17], Operations: ['65-42=23', '45-28=17']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,35 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 35:[42, 8], Operations: ['65-45=20', '28-20=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[20, 14], Operations: ['65-45=20', '42-28=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,35 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[42, 48], Operations: ['65-45=20', '28+20=48']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,35 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
41,
99,
9,
66
] | 35 | [
"99/9=11",
"66/11=6",
"41-6=35"
] | Current State: 35:[41, 99, 9, 66], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [41, 66, 11]
Generated Node #2: [41, 66, 11] from Operation: 99/9=11
Current State: 35:[41, 66, 11], Operations: ['99/9=11']
Exploring Operation: 66/11=6, Resulting Numbers: [41, 6]
Generated Node #3: [41, 6] from Operation: 66/11=6
Current State: 35:[41, 6], Operations: ['99/9=11', '66/11=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[41, 99, 9, 66], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [41, 9, 33]
Generated Node #0,0: 35:[41, 9, 33] Operation: 99-66=33
Exploring Operation: 99-9=90, Resulting Numbers: [41, 66, 90]
Generated Node #0,1: 35:[41, 66, 90] Operation: 99-9=90
Exploring Operation: 66-41=25, Resulting Numbers: [99, 9, 25]
Generated Node #0,2: 35:[99, 9, 25] Operation: 66-41=25
Exploring Operation: 99-41=58, Resulting Numbers: [9, 66, 58]
Generated Node #0,3: 35:[9, 66, 58] Operation: 99-41=58
Exploring Operation: 99/9=11, Resulting Numbers: [41, 66, 11]
Generated Node #0,4: 35:[41, 66, 11] Operation: 99/9=11
Moving to Node #0,0
Current State: 35:[41, 9, 33], Operations: ['99-66=33']
Exploring Operation: 9+33=42, Resulting Numbers: [41, 42]
Generated Node #0,0,0: 35:[41, 42] Operation: 9+33=42
Exploring Operation: 33-9=24, Resulting Numbers: [41, 24]
Generated Node #0,0,1: 35:[41, 24] Operation: 33-9=24
Exploring Operation: 41+9=50, Resulting Numbers: [33, 50]
Generated Node #0,0,2: 35:[33, 50] Operation: 41+9=50
Exploring Operation: 41-9=32, Resulting Numbers: [33, 32]
Generated Node #0,0,3: 35:[33, 32] Operation: 41-9=32
Exploring Operation: 41-33=8, Resulting Numbers: [9, 8]
Generated Node #0,0,4: 35:[9, 8] Operation: 41-33=8
Moving to Node #0,4
Current State: 35:[41, 66, 11], Operations: ['99/9=11']
Exploring Operation: 41+11=52, Resulting Numbers: [66, 52]
Generated Node #0,4,0: 35:[66, 52] Operation: 41+11=52
Exploring Operation: 66-41=25, Resulting Numbers: [11, 25]
Generated Node #0,4,1: 35:[11, 25] Operation: 66-41=25
Exploring Operation: 66/11=6, Resulting Numbers: [41, 6]
Generated Node #0,4,2: 35:[41, 6] Operation: 66/11=6
Exploring Operation: 41-11=30, Resulting Numbers: [66, 30]
Generated Node #0,4,3: 35:[66, 30] Operation: 41-11=30
Exploring Operation: 66-11=55, Resulting Numbers: [41, 55]
Generated Node #0,4,4: 35:[41, 55] Operation: 66-11=55
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[41, 6], Operations: ['99/9=11', '66/11=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[41, 99, 9, 66], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [41, 66, 11]
Generated Node #0,4: 35:[41, 66, 11] Operation: 99/9=11
Moving to Node #0,4
Current State: 35:[41, 66, 11], Operations: ['99/9=11']
Exploring Operation: 66/11=6, Resulting Numbers: [41, 6]
Generated Node #0,4,2: 35:[41, 6] Operation: 66/11=6
Moving to Node #0,4,2
Current State: 35:[41, 6], Operations: ['99/9=11', '66/11=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
54,
94,
70,
27
] | 18 | [
"94-70=24",
"27-24=3",
"54/3=18"
] | Current State: 18:[54, 94, 70, 27], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [54, 27, 24]
Generated Node #2: [54, 27, 24] from Operation: 94-70=24
Current State: 18:[54, 27, 24], Operations: ['94-70=24']
Exploring Operation: 27-24=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 27-24=3
Current State: 18:[54, 3], Operations: ['94-70=24', '27-24=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[54, 94, 70, 27], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [94, 70, 2]
Generated Node #0,0: 18:[94, 70, 2] Operation: 54/27=2
Exploring Operation: 94-54=40, Resulting Numbers: [70, 27, 40]
Generated Node #0,1: 18:[70, 27, 40] Operation: 94-54=40
Exploring Operation: 94-70=24, Resulting Numbers: [54, 27, 24]
Generated Node #0,2: 18:[54, 27, 24] Operation: 94-70=24
Exploring Operation: 70-54=16, Resulting Numbers: [94, 27, 16]
Generated Node #0,3: 18:[94, 27, 16] Operation: 70-54=16
Moving to Node #0,2
Current State: 18:[54, 27, 24], Operations: ['94-70=24']
Exploring Operation: 54-24=30, Resulting Numbers: [27, 30]
Generated Node #0,2,0: 18:[27, 30] Operation: 54-24=30
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 18:[24, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [24, 27]
Generated Node #0,2,2: 18:[24, 27] Operation: 54-27=27
Exploring Operation: 27-24=3, Resulting Numbers: [54, 3]
Generated Node #0,2,3: 18:[54, 3] Operation: 27-24=3
Moving to Node #0,1
Current State: 18:[70, 27, 40], Operations: ['94-54=40']
Exploring Operation: 70-27=43, Resulting Numbers: [40, 43]
Generated Node #0,1,0: 18:[40, 43] Operation: 70-27=43
Exploring Operation: 70-40=30, Resulting Numbers: [27, 30]
Generated Node #0,1,1: 18:[27, 30] Operation: 70-40=30
Exploring Operation: 70+27=97, Resulting Numbers: [40, 97]
Generated Node #0,1,2: 18:[40, 97] Operation: 70+27=97
Exploring Operation: 40-27=13, Resulting Numbers: [70, 13]
Generated Node #0,1,3: 18:[70, 13] Operation: 40-27=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[27, 30], Operations: ['94-54=40', '70-40=30']
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,18 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[40, 43], Operations: ['94-54=40', '70-27=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,18 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[70, 13], Operations: ['94-54=40', '40-27=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,18 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[40, 97], Operations: ['94-54=40', '70+27=97']
Exploring Operation: 40*97=3880, Resulting Numbers: [3880]
3880,18 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 40+97=137, Resulting Numbers: [137]
137,18 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: 18:[94, 27, 16], Operations: ['70-54=16']
Exploring Operation: 94-16=78, Resulting Numbers: [27, 78]
Generated Node #0,3,0: 18:[27, 78] Operation: 94-16=78
Exploring Operation: 94+16=110, Resulting Numbers: [27, 110]
Generated Node #0,3,1: 18:[27, 110] Operation: 94+16=110
Exploring Operation: 27-16=11, Resulting Numbers: [94, 11]
Generated Node #0,3,2: 18:[94, 11] Operation: 27-16=11
Exploring Operation: 94-27=67, Resulting Numbers: [16, 67]
Generated Node #0,3,3: 18:[16, 67] Operation: 94-27=67
Moving to Node #0,0
Current State: 18:[94, 70, 2], Operations: ['54/27=2']
Exploring Operation: 70/2=35, Resulting Numbers: [94, 35]
Generated Node #0,0,0: 18:[94, 35] Operation: 70/2=35
Exploring Operation: 94-2=92, Resulting Numbers: [70, 92]
Generated Node #0,0,1: 18:[70, 92] Operation: 94-2=92
Exploring Operation: 94-70=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 18:[2, 24] Operation: 94-70=24
Exploring Operation: 94/2=47, Resulting Numbers: [70, 47]
Generated Node #0,0,3: 18:[70, 47] Operation: 94/2=47
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[2, 24], Operations: ['54/27=2', '94-70=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[70, 47], Operations: ['54/27=2', '94/2=47']
Exploring Operation: 70*47=3290, Resulting Numbers: [3290]
3290,18 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 70+47=117, Resulting Numbers: [117]
117,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[94, 35], Operations: ['54/27=2', '70/2=35']
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,18 unequal: No Solution
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,18 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[70, 92], Operations: ['54/27=2', '94-2=92']
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,18 unequal: No Solution
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,18 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 18:[24, 2], Operations: ['94-70=24', '54/27=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[24, 27], Operations: ['94-70=24', '54-27=27']
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,18 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[27, 30], Operations: ['94-70=24', '54-24=30']
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,18 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[54, 3], Operations: ['94-70=24', '27-24=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[54, 94, 70, 27], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [54, 27, 24]
Generated Node #0,2: 18:[54, 27, 24] Operation: 94-70=24
Moving to Node #0,2
Current State: 18:[54, 27, 24], Operations: ['94-70=24']
Exploring Operation: 27-24=3, Resulting Numbers: [54, 3]
Generated Node #0,2,3: 18:[54, 3] Operation: 27-24=3
Moving to Node #0,2,3
Current State: 18:[54, 3], Operations: ['94-70=24', '27-24=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.947917 | hs_4 | sum_heuristic |
[
44,
4,
56,
21
] | 83 | [
"44+4=48",
"56-21=35",
"48+35=83"
] | Current State: 83:[44, 4, 56, 21], Operations: []
Exploring Operation: 44+4=48, Resulting Numbers: [56, 21, 48]
Generated Node #2: [56, 21, 48] from Operation: 44+4=48
Current State: 83:[56, 21, 48], Operations: ['44+4=48']
Exploring Operation: 56-21=35, Resulting Numbers: [48, 35]
Generated Node #3: [48, 35] from Operation: 56-21=35
Current State: 83:[48, 35], Operations: ['44+4=48', '56-21=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[44, 4, 56, 21], Operations: []
Exploring Operation: 44+4=48, Resulting Numbers: [56, 21, 48]
Generated Node #0,0: 83:[56, 21, 48] Operation: 44+4=48
Exploring Operation: 44+21=65, Resulting Numbers: [4, 56, 65]
Generated Node #0,1: 83:[4, 56, 65] Operation: 44+21=65
Exploring Operation: 4+21=25, Resulting Numbers: [44, 56, 25]
Generated Node #0,2: 83:[44, 56, 25] Operation: 4+21=25
Exploring Operation: 4*21=84, Resulting Numbers: [44, 56, 84]
Generated Node #0,3: 83:[44, 56, 84] Operation: 4*21=84
Exploring Operation: 4+56=60, Resulting Numbers: [44, 21, 60]
Generated Node #0,4: 83:[44, 21, 60] Operation: 4+56=60
Moving to Node #0,3
Current State: 83:[44, 56, 84], Operations: ['4*21=84']
Exploring Operation: 44+56=100, Resulting Numbers: [84, 100]
Generated Node #0,3,0: 83:[84, 100] Operation: 44+56=100
Exploring Operation: 84-56=28, Resulting Numbers: [44, 28]
Generated Node #0,3,1: 83:[44, 28] Operation: 84-56=28
Exploring Operation: 44+84=128, Resulting Numbers: [56, 128]
Generated Node #0,3,2: 83:[56, 128] Operation: 44+84=128
Exploring Operation: 84-44=40, Resulting Numbers: [56, 40]
Generated Node #0,3,3: 83:[56, 40] Operation: 84-44=40
Exploring Operation: 56-44=12, Resulting Numbers: [84, 12]
Generated Node #0,3,4: 83:[84, 12] Operation: 56-44=12
Moving to Node #0,1
Current State: 83:[4, 56, 65], Operations: ['44+21=65']
Exploring Operation: 56/4=14, Resulting Numbers: [65, 14]
Generated Node #0,1,0: 83:[65, 14] Operation: 56/4=14
Exploring Operation: 4+56=60, Resulting Numbers: [65, 60]
Generated Node #0,1,1: 83:[65, 60] Operation: 4+56=60
Exploring Operation: 4+65=69, Resulting Numbers: [56, 69]
Generated Node #0,1,2: 83:[56, 69] Operation: 4+65=69
Exploring Operation: 65-4=61, Resulting Numbers: [56, 61]
Generated Node #0,1,3: 83:[56, 61] Operation: 65-4=61
Exploring Operation: 56-4=52, Resulting Numbers: [65, 52]
Generated Node #0,1,4: 83:[65, 52] Operation: 56-4=52
Moving to Node #0,4
Current State: 83:[44, 21, 60], Operations: ['4+56=60']
Exploring Operation: 21+60=81, Resulting Numbers: [44, 81]
Generated Node #0,4,0: 83:[44, 81] Operation: 21+60=81
Exploring Operation: 44-21=23, Resulting Numbers: [60, 23]
Generated Node #0,4,1: 83:[60, 23] Operation: 44-21=23
Exploring Operation: 44+60=104, Resulting Numbers: [21, 104]
Generated Node #0,4,2: 83:[21, 104] Operation: 44+60=104
Exploring Operation: 44+21=65, Resulting Numbers: [60, 65]
Generated Node #0,4,3: 83:[60, 65] Operation: 44+21=65
Exploring Operation: 60-21=39, Resulting Numbers: [44, 39]
Generated Node #0,4,4: 83:[44, 39] Operation: 60-21=39
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[44, 81], Operations: ['4+56=60', '21+60=81']
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 44+81=125, Resulting Numbers: [125]
125,83 unequal: No Solution
Exploring Operation: 44*81=3564, Resulting Numbers: [3564]
3564,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 83:[60, 65], Operations: ['4+56=60', '44+21=65']
Exploring Operation: 60*65=3900, Resulting Numbers: [3900]
3900,83 unequal: No Solution
Exploring Operation: 60+65=125, Resulting Numbers: [125]
125,83 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 83:[60, 23], Operations: ['4+56=60', '44-21=23']
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[44, 4, 56, 21], Operations: []
Exploring Operation: 4+56=60, Resulting Numbers: [44, 21, 60]
Generated Node #0,4: 83:[44, 21, 60] Operation: 4+56=60
Moving to Node #0,4
Current State: 83:[44, 21, 60], Operations: ['4+56=60']
Exploring Operation: 44-21=23, Resulting Numbers: [60, 23]
Generated Node #0,4,1: 83:[60, 23] Operation: 44-21=23
Moving to Node #0,4,1
Current State: 83:[60, 23], Operations: ['4+56=60', '44-21=23']
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
12,
49,
39,
7
] | 69 | [
"49-12=37",
"39-7=32",
"37+32=69"
] | Current State: 69:[12, 49, 39, 7], Operations: []
Exploring Operation: 49-12=37, Resulting Numbers: [39, 7, 37]
Generated Node #2: [39, 7, 37] from Operation: 49-12=37
Current State: 69:[39, 7, 37], Operations: ['49-12=37']
Exploring Operation: 39-7=32, Resulting Numbers: [37, 32]
Generated Node #3: [37, 32] from Operation: 39-7=32
Current State: 69:[37, 32], Operations: ['49-12=37', '39-7=32']
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[12, 49, 39, 7], Operations: []
Exploring Operation: 39-12=27, Resulting Numbers: [49, 7, 27]
Generated Node #0,0: 69:[49, 7, 27] Operation: 39-12=27
Exploring Operation: 49-39=10, Resulting Numbers: [12, 7, 10]
Generated Node #0,1: 69:[12, 7, 10] Operation: 49-39=10
Exploring Operation: 12+49=61, Resulting Numbers: [39, 7, 61]
Generated Node #0,2: 69:[39, 7, 61] Operation: 12+49=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[12, 7, 10], Operations: ['49-39=10']
Exploring Operation: 12-10=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 69:[7, 2] Operation: 12-10=2
Exploring Operation: 12-7=5, Resulting Numbers: [10, 5]
Generated Node #0,1,1: 69:[10, 5] Operation: 12-7=5
Exploring Operation: 12+10=22, Resulting Numbers: [7, 22]
Generated Node #0,1,2: 69:[7, 22] Operation: 12+10=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[7, 2], Operations: ['49-39=10', '12-10=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,69 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: 69:[7, 22], Operations: ['49-39=10', '12+10=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,69 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: 69:[10, 5], Operations: ['49-39=10', '12-7=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[49, 7, 27], Operations: ['39-12=27']
Exploring Operation: 49-27=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 69:[7, 22] Operation: 49-27=22
Exploring Operation: 49+27=76, Resulting Numbers: [7, 76]
Generated Node #0,0,1: 69:[7, 76] Operation: 49+27=76
Exploring Operation: 49/7=7, Resulting Numbers: [27, 7]
Generated Node #0,0,2: 69:[27, 7] Operation: 49/7=7
Moving to Node #0,0,0
Current State: 69:[7, 22], Operations: ['39-12=27', '49-27=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,69 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[27, 7], Operations: ['39-12=27', '49/7=7']
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,69 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[7, 76], Operations: ['39-12=27', '49+27=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[12, 49, 39, 7], Operations: []
Exploring Operation: 39-12=27, Resulting Numbers: [49, 7, 27]
Generated Node #0,0: 69:[49, 7, 27] Operation: 39-12=27
Moving to Node #0,0
Current State: 69:[49, 7, 27], Operations: ['39-12=27']
Exploring Operation: 49+27=76, Resulting Numbers: [7, 76]
Generated Node #0,0,1: 69:[7, 76] Operation: 49+27=76
Moving to Node #0,0,1
Current State: 69:[7, 76], Operations: ['39-12=27', '49+27=76']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
11,
83,
77,
29
] | 61 | [
"77/11=7",
"83-29=54",
"7+54=61"
] | Current State: 61:[11, 83, 77, 29], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [83, 29, 7]
Generated Node #2: [83, 29, 7] from Operation: 77/11=7
Current State: 61:[83, 29, 7], Operations: ['77/11=7']
Exploring Operation: 83-29=54, Resulting Numbers: [7, 54]
Generated Node #3: [7, 54] from Operation: 83-29=54
Current State: 61:[7, 54], Operations: ['77/11=7', '83-29=54']
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[11, 83, 77, 29], Operations: []
Exploring Operation: 11+83=94, Resulting Numbers: [77, 29, 94]
Generated Node #0,0: 61:[77, 29, 94] Operation: 11+83=94
Exploring Operation: 83-29=54, Resulting Numbers: [11, 77, 54]
Generated Node #0,1: 61:[11, 77, 54] Operation: 83-29=54
Exploring Operation: 83-11=72, Resulting Numbers: [77, 29, 72]
Generated Node #0,2: 61:[77, 29, 72] Operation: 83-11=72
Exploring Operation: 11+29=40, Resulting Numbers: [83, 77, 40]
Generated Node #0,3: 61:[83, 77, 40] Operation: 11+29=40
Exploring Operation: 77-11=66, Resulting Numbers: [83, 29, 66]
Generated Node #0,4: 61:[83, 29, 66] Operation: 77-11=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[77, 29, 72], Operations: ['83-11=72']
Exploring Operation: 77-29=48, Resulting Numbers: [72, 48]
Generated Node #0,2,0: 61:[72, 48] Operation: 77-29=48
Exploring Operation: 77+29=106, Resulting Numbers: [72, 106]
Generated Node #0,2,1: 61:[72, 106] Operation: 77+29=106
Exploring Operation: 29+72=101, Resulting Numbers: [77, 101]
Generated Node #0,2,2: 61:[77, 101] Operation: 29+72=101
Exploring Operation: 72-29=43, Resulting Numbers: [77, 43]
Generated Node #0,2,3: 61:[77, 43] Operation: 72-29=43
Exploring Operation: 77-72=5, Resulting Numbers: [29, 5]
Generated Node #0,2,4: 61:[29, 5] Operation: 77-72=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[72, 48], Operations: ['83-11=72', '77-29=48']
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,61 unequal: No Solution
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,61 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: 61:[77, 43], Operations: ['83-11=72', '72-29=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,61 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,61 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: 61:[72, 106], Operations: ['83-11=72', '77+29=106']
Exploring Operation: 106-72=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 72*106=7632, Resulting Numbers: [7632]
7632,61 unequal: No Solution
Exploring Operation: 72+106=178, Resulting Numbers: [178]
178,61 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: 61:[77, 101], Operations: ['83-11=72', '29+72=101']
Exploring Operation: 77+101=178, Resulting Numbers: [178]
178,61 unequal: No Solution
Exploring Operation: 101-77=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 77*101=7777, Resulting Numbers: [7777]
7777,61 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: 61:[29, 5], Operations: ['83-11=72', '77-72=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[83, 77, 40], Operations: ['11+29=40']
Exploring Operation: 83-77=6, Resulting Numbers: [40, 6]
Generated Node #0,3,0: 61:[40, 6] Operation: 83-77=6
Exploring Operation: 83-40=43, Resulting Numbers: [77, 43]
Generated Node #0,3,1: 61:[77, 43] Operation: 83-40=43
Exploring Operation: 83+40=123, Resulting Numbers: [77, 123]
Generated Node #0,3,2: 61:[77, 123] Operation: 83+40=123
Exploring Operation: 77-40=37, Resulting Numbers: [83, 37]
Generated Node #0,3,3: 61:[83, 37] Operation: 77-40=37
Exploring Operation: 77+40=117, Resulting Numbers: [83, 117]
Generated Node #0,3,4: 61:[83, 117] Operation: 77+40=117
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[77, 43], Operations: ['11+29=40', '83-40=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,61 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,61 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: 61:[83, 37], Operations: ['11+29=40', '77-40=37']
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,61 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,61 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: 61:[40, 6], Operations: ['11+29=40', '83-77=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,61 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,61 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: 61:[77, 123], Operations: ['11+29=40', '83+40=123']
Exploring Operation: 77+123=200, Resulting Numbers: [200]
200,61 unequal: No Solution
Exploring Operation: 123-77=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 77*123=9471, Resulting Numbers: [9471]
9471,61 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: 61:[83, 117], Operations: ['11+29=40', '77+40=117']
Exploring Operation: 117-83=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 83+117=200, Resulting Numbers: [200]
200,61 unequal: No Solution
Exploring Operation: 83*117=9711, Resulting Numbers: [9711]
9711,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[83, 29, 66], Operations: ['77-11=66']
Exploring Operation: 66-29=37, Resulting Numbers: [83, 37]
Generated Node #0,4,0: 61:[83, 37] Operation: 66-29=37
Exploring Operation: 83-29=54, Resulting Numbers: [66, 54]
Generated Node #0,4,1: 61:[66, 54] Operation: 83-29=54
Exploring Operation: 83-66=17, Resulting Numbers: [29, 17]
Generated Node #0,4,2: 61:[29, 17] Operation: 83-66=17
Exploring Operation: 29+66=95, Resulting Numbers: [83, 95]
Generated Node #0,4,3: 61:[83, 95] Operation: 29+66=95
Exploring Operation: 83+29=112, Resulting Numbers: [66, 112]
Generated Node #0,4,4: 61:[66, 112] Operation: 83+29=112
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 61:[66, 54], Operations: ['77-11=66', '83-29=54']
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,61 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,61 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: 61:[83, 37], Operations: ['77-11=66', '66-29=37']
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,61 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,61 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: 61:[83, 95], Operations: ['77-11=66', '29+66=95']
Exploring Operation: 95-83=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 83*95=7885, Resulting Numbers: [7885]
7885,61 unequal: No Solution
Exploring Operation: 83+95=178, Resulting Numbers: [178]
178,61 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: 61:[66, 112], Operations: ['77-11=66', '83+29=112']
Exploring Operation: 66+112=178, Resulting Numbers: [178]
178,61 unequal: No Solution
Exploring Operation: 66*112=7392, Resulting Numbers: [7392]
7392,61 unequal: No Solution
Exploring Operation: 112-66=46, Resulting Numbers: [46]
46,61 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: 61:[29, 17], Operations: ['77-11=66', '83-66=17']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,61 unequal: No Solution
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[11, 77, 54], Operations: ['83-29=54']
Exploring Operation: 54-11=43, Resulting Numbers: [77, 43]
Generated Node #0,1,0: 61:[77, 43] Operation: 54-11=43
Exploring Operation: 11+77=88, Resulting Numbers: [54, 88]
Generated Node #0,1,1: 61:[54, 88] Operation: 11+77=88
Exploring Operation: 77-11=66, Resulting Numbers: [54, 66]
Generated Node #0,1,2: 61:[54, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [54, 7]
Generated Node #0,1,3: 61:[54, 7] Operation: 77/11=7
Exploring Operation: 11+54=65, Resulting Numbers: [77, 65]
Generated Node #0,1,4: 61:[77, 65] Operation: 11+54=65
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[54, 66], Operations: ['83-29=54', '77-11=66']
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,61 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,61 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: 61:[77, 65], Operations: ['83-29=54', '11+54=65']
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 77+65=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 77*65=5005, Resulting Numbers: [5005]
5005,61 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: 61:[77, 43], Operations: ['83-29=54', '54-11=43']
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,61 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,61 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: 61:[54, 88], Operations: ['83-29=54', '11+77=88']
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,61 unequal: No Solution
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,61 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,61 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: 61:[54, 7], Operations: ['83-29=54', '77/11=7']
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[11, 83, 77, 29], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [11, 77, 54]
Generated Node #0,1: 61:[11, 77, 54] Operation: 83-29=54
Moving to Node #0,1
Current State: 61:[11, 77, 54], Operations: ['83-29=54']
Exploring Operation: 77/11=7, Resulting Numbers: [54, 7]
Generated Node #0,1,3: 61:[54, 7] Operation: 77/11=7
Moving to Node #0,1,3
Current State: 61:[54, 7], Operations: ['83-29=54', '77/11=7']
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.924479 | hs_5 | mult_heuristic |
[
57,
90,
54,
72
] | 63 | [
"90*72=6480",
"6480/54=120",
"120-57=63"
] | Current State: 63:[57, 90, 54, 72], Operations: []
Exploring Operation: 90*72=6480, Resulting Numbers: [57, 54, 6480]
Generated Node #2: [57, 54, 6480] from Operation: 90*72=6480
Current State: 63:[57, 54, 6480], Operations: ['90*72=6480']
Exploring Operation: 6480/54=120, Resulting Numbers: [57, 120]
Generated Node #3: [57, 120] from Operation: 6480/54=120
Current State: 63:[57, 120], Operations: ['90*72=6480', '6480/54=120']
Exploring Operation: 120-57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[57, 90, 54, 72], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [57, 54, 18]
Generated Node #0,0: 63:[57, 54, 18] Operation: 90-72=18
Exploring Operation: 90-57=33, Resulting Numbers: [54, 72, 33]
Generated Node #0,1: 63:[54, 72, 33] Operation: 90-57=33
Exploring Operation: 90-54=36, Resulting Numbers: [57, 72, 36]
Generated Node #0,2: 63:[57, 72, 36] Operation: 90-54=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[57, 54, 18], Operations: ['90-72=18']
Exploring Operation: 57-54=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 63:[18, 3] Operation: 57-54=3
Exploring Operation: 54/18=3, Resulting Numbers: [57, 3]
Generated Node #0,0,1: 63:[57, 3] Operation: 54/18=3
Exploring Operation: 54+18=72, Resulting Numbers: [57, 72]
Generated Node #0,0,2: 63:[57, 72] Operation: 54+18=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[18, 3], Operations: ['90-72=18', '57-54=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,63 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: 63:[57, 3], Operations: ['90-72=18', '54/18=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,63 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: 63:[57, 72], Operations: ['90-72=18', '54+18=72']
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 57*72=4104, Resulting Numbers: [4104]
4104,63 unequal: No Solution
Exploring Operation: 57+72=129, Resulting Numbers: [129]
129,63 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: 63:[54, 72, 33], Operations: ['90-57=33']
Exploring Operation: 54-33=21, Resulting Numbers: [72, 21]
Generated Node #0,1,0: 63:[72, 21] Operation: 54-33=21
Exploring Operation: 72-54=18, Resulting Numbers: [33, 18]
Generated Node #0,1,1: 63:[33, 18] Operation: 72-54=18
Exploring Operation: 72-33=39, Resulting Numbers: [54, 39]
Generated Node #0,1,2: 63:[54, 39] Operation: 72-33=39
Moving to Node #0,1,0
Current State: 63:[72, 21], Operations: ['90-57=33', '54-33=21']
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,63 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[33, 18], Operations: ['90-57=33', '72-54=18']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[54, 39], Operations: ['90-57=33', '72-33=39']
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 54*39=2106, Resulting Numbers: [2106]
2106,63 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,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,2
Current State: 63:[57, 72, 36], Operations: ['90-54=36']
Exploring Operation: 57-36=21, Resulting Numbers: [72, 21]
Generated Node #0,2,0: 63:[72, 21] Operation: 57-36=21
Exploring Operation: 72-57=15, Resulting Numbers: [36, 15]
Generated Node #0,2,1: 63:[36, 15] Operation: 72-57=15
Exploring Operation: 72/36=2, Resulting Numbers: [57, 2]
Generated Node #0,2,2: 63:[57, 2] Operation: 72/36=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[57, 2], Operations: ['90-54=36', '72/36=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,63 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,63 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: 63:[72, 21], Operations: ['90-54=36', '57-36=21']
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,63 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,63 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: 63:[36, 15], Operations: ['90-54=36', '72-57=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
65,
76,
68
] | 77 | [
"65+68=133",
"44*133=5852",
"5852/76=77"
] | Current State: 77:[44, 65, 76, 68], Operations: []
Exploring Operation: 65+68=133, Resulting Numbers: [44, 76, 133]
Generated Node #2: [44, 76, 133] from Operation: 65+68=133
Current State: 77:[44, 76, 133], Operations: ['65+68=133']
Exploring Operation: 44*133=5852, Resulting Numbers: [76, 5852]
Generated Node #3: [76, 5852] from Operation: 44*133=5852
Current State: 77:[76, 5852], Operations: ['65+68=133', '44*133=5852']
Exploring Operation: 5852/76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[44, 65, 76, 68], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [76, 68, 21]
Generated Node #0,0: 77:[76, 68, 21] Operation: 65-44=21
Exploring Operation: 68-44=24, Resulting Numbers: [65, 76, 24]
Generated Node #0,1: 77:[65, 76, 24] Operation: 68-44=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[76, 68, 21], Operations: ['65-44=21']
Exploring Operation: 68+21=89, Resulting Numbers: [76, 89]
Generated Node #0,0,0: 77:[76, 89] Operation: 68+21=89
Exploring Operation: 76-68=8, Resulting Numbers: [21, 8]
Generated Node #0,0,1: 77:[21, 8] Operation: 76-68=8
Moving to Node #0,0,1
Current State: 77:[21, 8], Operations: ['65-44=21', '76-68=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[76, 89], Operations: ['65-44=21', '68+21=89']
Exploring Operation: 76+89=165, Resulting Numbers: [165]
165,77 unequal: No Solution
Exploring Operation: 89-76=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,1
Current State: 77:[65, 76, 24], Operations: ['68-44=24']
Exploring Operation: 76-65=11, Resulting Numbers: [24, 11]
Generated Node #0,1,0: 77:[24, 11] Operation: 76-65=11
Exploring Operation: 65+24=89, Resulting Numbers: [76, 89]
Generated Node #0,1,1: 77:[76, 89] Operation: 65+24=89
Moving to Node #0,1,0
Current State: 77:[24, 11], Operations: ['68-44=24', '76-65=11']
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[76, 89], Operations: ['68-44=24', '65+24=89']
Exploring Operation: 76+89=165, Resulting Numbers: [165]
165,77 unequal: No Solution
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,77 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 |
[
4,
13,
43,
6
] | 11 | [
"13-4=9",
"6*9=54",
"54-43=11"
] | Current State: 11:[4, 13, 43, 6], Operations: []
Exploring Operation: 13-4=9, Resulting Numbers: [43, 6, 9]
Generated Node #2: [43, 6, 9] from Operation: 13-4=9
Current State: 11:[43, 6, 9], Operations: ['13-4=9']
Exploring Operation: 6*9=54, Resulting Numbers: [43, 54]
Generated Node #3: [43, 54] from Operation: 6*9=54
Current State: 11:[43, 54], Operations: ['13-4=9', '6*9=54']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[4, 13, 43, 6], Operations: []
Exploring Operation: 43-13=30, Resulting Numbers: [4, 6, 30]
Generated Node #0,0: 11:[4, 6, 30] Operation: 43-13=30
Exploring Operation: 43-4=39, Resulting Numbers: [13, 6, 39]
Generated Node #0,1: 11:[13, 6, 39] Operation: 43-4=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[4, 6, 30], Operations: ['43-13=30']
Exploring Operation: 30/6=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 11:[4, 5] Operation: 30/6=5
Exploring Operation: 4+6=10, Resulting Numbers: [30, 10]
Generated Node #0,0,1: 11:[30, 10] Operation: 4+6=10
Moving to Node #0,0,0
Current State: 11:[4, 5], Operations: ['43-13=30', '30/6=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[30, 10], Operations: ['43-13=30', '4+6=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,11 unequal: No Solution
No 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: 11:[13, 6, 39], Operations: ['43-4=39']
Exploring Operation: 39-13=26, Resulting Numbers: [6, 26]
Generated Node #0,1,0: 11:[6, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 11:[6, 3] Operation: 39/13=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[6, 3], Operations: ['43-4=39', '39/13=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,11 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: 11:[6, 26], Operations: ['43-4=39', '39-13=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,11 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 |
[
51,
57,
36,
65
] | 47 | [
"36*65=2340",
"57+2340=2397",
"2397/51=47"
] | Current State: 47:[51, 57, 36, 65], Operations: []
Exploring Operation: 36*65=2340, Resulting Numbers: [51, 57, 2340]
Generated Node #2: [51, 57, 2340] from Operation: 36*65=2340
Current State: 47:[51, 57, 2340], Operations: ['36*65=2340']
Exploring Operation: 57+2340=2397, Resulting Numbers: [51, 2397]
Generated Node #3: [51, 2397] from Operation: 57+2340=2397
Current State: 47:[51, 2397], Operations: ['36*65=2340', '57+2340=2397']
Exploring Operation: 2397/51=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[51, 57, 36, 65], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [51, 65, 21]
Generated Node #0,0: 47:[51, 65, 21] Operation: 57-36=21
Exploring Operation: 65-36=29, Resulting Numbers: [51, 57, 29]
Generated Node #0,1: 47:[51, 57, 29] Operation: 65-36=29
Moving to Node #0,1
Current State: 47:[51, 57, 29], Operations: ['65-36=29']
Exploring Operation: 51-29=22, Resulting Numbers: [57, 22]
Generated Node #0,1,0: 47:[57, 22] Operation: 51-29=22
Exploring Operation: 57-29=28, Resulting Numbers: [51, 28]
Generated Node #0,1,1: 47:[51, 28] Operation: 57-29=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[51, 28], Operations: ['65-36=29', '57-29=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[57, 22], Operations: ['65-36=29', '51-29=22']
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,47 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: 47:[51, 65, 21], Operations: ['57-36=21']
Exploring Operation: 65-21=44, Resulting Numbers: [51, 44]
Generated Node #0,0,0: 47:[51, 44] Operation: 65-21=44
Exploring Operation: 51-21=30, Resulting Numbers: [65, 30]
Generated Node #0,0,1: 47:[65, 30] Operation: 51-21=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[51, 44], Operations: ['57-36=21', '65-21=44']
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[65, 30], Operations: ['57-36=21', '51-21=30']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,47 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 |
[
13,
58,
93,
60
] | 40 | [
"93-13=80",
"60-58=2",
"80/2=40"
] | Current State: 40:[13, 58, 93, 60], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [58, 60, 80]
Generated Node #2: [58, 60, 80] from Operation: 93-13=80
Current State: 40:[58, 60, 80], Operations: ['93-13=80']
Exploring Operation: 60-58=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 60-58=2
Current State: 40:[80, 2], Operations: ['93-13=80', '60-58=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[13, 58, 93, 60], Operations: []
Exploring Operation: 93-58=35, Resulting Numbers: [13, 60, 35]
Generated Node #0,0: 40:[13, 60, 35] Operation: 93-58=35
Exploring Operation: 93-60=33, Resulting Numbers: [13, 58, 33]
Generated Node #0,1: 40:[13, 58, 33] Operation: 93-60=33
Moving to Node #0,0
Current State: 40:[13, 60, 35], Operations: ['93-58=35']
Exploring Operation: 60-35=25, Resulting Numbers: [13, 25]
Generated Node #0,0,0: 40:[13, 25] Operation: 60-35=25
Exploring Operation: 60-13=47, Resulting Numbers: [35, 47]
Generated Node #0,0,1: 40:[35, 47] Operation: 60-13=47
Moving to Node #0,1
Current State: 40:[13, 58, 33], Operations: ['93-60=33']
Exploring Operation: 58-13=45, Resulting Numbers: [33, 45]
Generated Node #0,1,0: 40:[33, 45] Operation: 58-13=45
Exploring Operation: 58-33=25, Resulting Numbers: [13, 25]
Generated Node #0,1,1: 40:[13, 25] Operation: 58-33=25
Moving to Node #0,0,0
Current State: 40:[13, 25], Operations: ['93-58=35', '60-35=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[13, 25], Operations: ['93-60=33', '58-33=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[35, 47], Operations: ['93-58=35', '60-13=47']
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[33, 45], Operations: ['93-60=33', '58-13=45']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,40 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
48,
97,
96,
71
] | 74 | [
"97-48=49",
"96-71=25",
"49+25=74"
] | Current State: 74:[48, 97, 96, 71], Operations: []
Exploring Operation: 97-48=49, Resulting Numbers: [96, 71, 49]
Generated Node #2: [96, 71, 49] from Operation: 97-48=49
Current State: 74:[96, 71, 49], Operations: ['97-48=49']
Exploring Operation: 96-71=25, Resulting Numbers: [49, 25]
Generated Node #3: [49, 25] from Operation: 96-71=25
Current State: 74:[49, 25], Operations: ['97-48=49', '96-71=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[48, 97, 96, 71], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [48, 71, 1]
Generated Node #0,0: 74:[48, 71, 1] Operation: 97-96=1
Exploring Operation: 97-48=49, Resulting Numbers: [96, 71, 49]
Generated Node #0,1: 74:[96, 71, 49] Operation: 97-48=49
Exploring Operation: 96/48=2, Resulting Numbers: [97, 71, 2]
Generated Node #0,2: 74:[97, 71, 2] Operation: 96/48=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[48, 71, 1], Operations: ['97-96=1']
Exploring Operation: 48*1=48, Resulting Numbers: [71, 48]
Generated Node #0,0,0: 74:[71, 48] Operation: 48*1=48
Exploring Operation: 48-1=47, Resulting Numbers: [71, 47]
Generated Node #0,0,1: 74:[71, 47] Operation: 48-1=47
Exploring Operation: 71+1=72, Resulting Numbers: [48, 72]
Generated Node #0,0,2: 74:[48, 72] Operation: 71+1=72
Moving to Node #0,0,1
Current State: 74:[71, 47], Operations: ['97-96=1', '48-1=47']
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,74 unequal: No Solution
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[48, 72], Operations: ['97-96=1', '71+1=72']
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[71, 48], Operations: ['97-96=1', '48*1=48']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,74 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,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
Current State: 74:[97, 71, 2], Operations: ['96/48=2']
Exploring Operation: 97-2=95, Resulting Numbers: [71, 95]
Generated Node #0,2,0: 74:[71, 95] Operation: 97-2=95
Exploring Operation: 97-71=26, Resulting Numbers: [2, 26]
Generated Node #0,2,1: 74:[2, 26] Operation: 97-71=26
Exploring Operation: 71+2=73, Resulting Numbers: [97, 73]
Generated Node #0,2,2: 74:[97, 73] Operation: 71+2=73
Moving to Node #0,2,1
Current State: 74:[2, 26], Operations: ['96/48=2', '97-71=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[71, 95], Operations: ['96/48=2', '97-2=95']
Exploring Operation: 71*95=6745, Resulting Numbers: [6745]
6745,74 unequal: No Solution
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 71+95=166, Resulting Numbers: [166]
166,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[97, 73], Operations: ['96/48=2', '71+2=73']
Exploring Operation: 97*73=7081, Resulting Numbers: [7081]
7081,74 unequal: No Solution
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 97+73=170, Resulting Numbers: [170]
170,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[96, 71, 49], Operations: ['97-48=49']
Exploring Operation: 71-49=22, Resulting Numbers: [96, 22]
Generated Node #0,1,0: 74:[96, 22] Operation: 71-49=22
Exploring Operation: 96-49=47, Resulting Numbers: [71, 47]
Generated Node #0,1,1: 74:[71, 47] Operation: 96-49=47
Exploring Operation: 96-71=25, Resulting Numbers: [49, 25]
Generated Node #0,1,2: 74:[49, 25] Operation: 96-71=25
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[71, 47], Operations: ['97-48=49', '96-49=47']
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,74 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,74 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: 74:[49, 25], Operations: ['97-48=49', '96-71=25']
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[48, 97, 96, 71], Operations: []
Exploring Operation: 97-48=49, Resulting Numbers: [96, 71, 49]
Generated Node #0,1: 74:[96, 71, 49] Operation: 97-48=49
Moving to Node #0,1
Current State: 74:[96, 71, 49], Operations: ['97-48=49']
Exploring Operation: 96-71=25, Resulting Numbers: [49, 25]
Generated Node #0,1,2: 74:[49, 25] Operation: 96-71=25
Moving to Node #0,1,2
Current State: 74:[49, 25], Operations: ['97-48=49', '96-71=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | sum_heuristic |
[
10,
77,
20,
80
] | 43 | [
"10*20=200",
"77+80=157",
"200-157=43"
] | Current State: 43:[10, 77, 20, 80], Operations: []
Exploring Operation: 10*20=200, Resulting Numbers: [77, 80, 200]
Generated Node #2: [77, 80, 200] from Operation: 10*20=200
Current State: 43:[77, 80, 200], Operations: ['10*20=200']
Exploring Operation: 77+80=157, Resulting Numbers: [200, 157]
Generated Node #3: [200, 157] from Operation: 77+80=157
Current State: 43:[200, 157], Operations: ['10*20=200', '77+80=157']
Exploring Operation: 200-157=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[10, 77, 20, 80], Operations: []
Exploring Operation: 80-10=70, Resulting Numbers: [77, 20, 70]
Generated Node #0,0: 43:[77, 20, 70] Operation: 80-10=70
Exploring Operation: 77-10=67, Resulting Numbers: [20, 80, 67]
Generated Node #0,1: 43:[20, 80, 67] Operation: 77-10=67
Exploring Operation: 77-20=57, Resulting Numbers: [10, 80, 57]
Generated Node #0,2: 43:[10, 80, 57] Operation: 77-20=57
Exploring Operation: 10+20=30, Resulting Numbers: [77, 80, 30]
Generated Node #0,3: 43:[77, 80, 30] Operation: 10+20=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[77, 20, 70], Operations: ['80-10=70']
Exploring Operation: 70-20=50, Resulting Numbers: [77, 50]
Generated Node #0,0,0: 43:[77, 50] Operation: 70-20=50
Exploring Operation: 77-70=7, Resulting Numbers: [20, 7]
Generated Node #0,0,1: 43:[20, 7] Operation: 77-70=7
Exploring Operation: 77+20=97, Resulting Numbers: [70, 97]
Generated Node #0,0,2: 43:[70, 97] Operation: 77+20=97
Exploring Operation: 77-20=57, Resulting Numbers: [70, 57]
Generated Node #0,0,3: 43:[70, 57] Operation: 77-20=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[77, 50], Operations: ['80-10=70', '70-20=50']
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,43 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: 43:[70, 57], Operations: ['80-10=70', '77-20=57']
Exploring Operation: 70+57=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 70*57=3990, Resulting Numbers: [3990]
3990,43 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: 43:[20, 7], Operations: ['80-10=70', '77-70=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,43 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,43 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: 43:[70, 97], Operations: ['80-10=70', '77+20=97']
Exploring Operation: 70*97=6790, Resulting Numbers: [6790]
6790,43 unequal: No Solution
Exploring Operation: 70+97=167, Resulting Numbers: [167]
167,43 unequal: No Solution
Exploring Operation: 97-70=27, Resulting Numbers: [27]
27,43 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: 43:[20, 80, 67], Operations: ['77-10=67']
Exploring Operation: 67-20=47, Resulting Numbers: [80, 47]
Generated Node #0,1,0: 43:[80, 47] Operation: 67-20=47
Exploring Operation: 80/20=4, Resulting Numbers: [67, 4]
Generated Node #0,1,1: 43:[67, 4] Operation: 80/20=4
Exploring Operation: 80-20=60, Resulting Numbers: [67, 60]
Generated Node #0,1,2: 43:[67, 60] Operation: 80-20=60
Exploring Operation: 80-67=13, Resulting Numbers: [20, 13]
Generated Node #0,1,3: 43:[20, 13] Operation: 80-67=13
Moving to Node #0,1,0
Current State: 43:[80, 47], Operations: ['77-10=67', '67-20=47']
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,43 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[67, 60], Operations: ['77-10=67', '80-20=60']
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,43 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[20, 13], Operations: ['77-10=67', '80-67=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,43 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[67, 4], Operations: ['77-10=67', '80/20=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,43 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[10, 80, 57], Operations: ['77-20=57']
Exploring Operation: 80/10=8, Resulting Numbers: [57, 8]
Generated Node #0,2,0: 43:[57, 8] Operation: 80/10=8
Exploring Operation: 57-10=47, Resulting Numbers: [80, 47]
Generated Node #0,2,1: 43:[80, 47] Operation: 57-10=47
Exploring Operation: 80-10=70, Resulting Numbers: [57, 70]
Generated Node #0,2,2: 43:[57, 70] Operation: 80-10=70
Exploring Operation: 80-57=23, Resulting Numbers: [10, 23]
Generated Node #0,2,3: 43:[10, 23] Operation: 80-57=23
Moving to Node #0,2,1
Current State: 43:[80, 47], Operations: ['77-20=57', '57-10=47']
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,43 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[57, 70], Operations: ['77-20=57', '80-10=70']
Exploring Operation: 57*70=3990, Resulting Numbers: [3990]
3990,43 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[57, 8], Operations: ['77-20=57', '80/10=8']
Exploring Operation: 57*8=456, Resulting Numbers: [456]
456,43 unequal: No Solution
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[10, 23], Operations: ['77-20=57', '80-57=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,43 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[77, 80, 30], Operations: ['10+20=30']
Exploring Operation: 80-30=50, Resulting Numbers: [77, 50]
Generated Node #0,3,0: 43:[77, 50] Operation: 80-30=50
Exploring Operation: 80-77=3, Resulting Numbers: [30, 3]
Generated Node #0,3,1: 43:[30, 3] Operation: 80-77=3
Exploring Operation: 77+30=107, Resulting Numbers: [80, 107]
Generated Node #0,3,2: 43:[80, 107] Operation: 77+30=107
Exploring Operation: 77-30=47, Resulting Numbers: [80, 47]
Generated Node #0,3,3: 43:[80, 47] Operation: 77-30=47
Moving to Node #0,3,0
Current State: 43:[77, 50], Operations: ['10+20=30', '80-30=50']
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,43 unequal: No Solution
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[80, 47], Operations: ['10+20=30', '77-30=47']
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,43 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,43 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[30, 3], Operations: ['10+20=30', '80-77=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[80, 107], Operations: ['10+20=30', '77+30=107']
Exploring Operation: 107-80=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 80+107=187, Resulting Numbers: [187]
187,43 unequal: No Solution
Exploring Operation: 80*107=8560, Resulting Numbers: [8560]
8560,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
46,
16,
71
] | 15 | [
"46-6=40",
"71-16=55",
"55-40=15"
] | Current State: 15:[6, 46, 16, 71], Operations: []
Exploring Operation: 46-6=40, Resulting Numbers: [16, 71, 40]
Generated Node #2: [16, 71, 40] from Operation: 46-6=40
Current State: 15:[16, 71, 40], Operations: ['46-6=40']
Exploring Operation: 71-16=55, Resulting Numbers: [40, 55]
Generated Node #3: [40, 55] from Operation: 71-16=55
Current State: 15:[40, 55], Operations: ['46-6=40', '71-16=55']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[6, 46, 16, 71], Operations: []
Exploring Operation: 71-16=55, Resulting Numbers: [6, 46, 55]
Generated Node #0,0: 15:[6, 46, 55] Operation: 71-16=55
Exploring Operation: 46-16=30, Resulting Numbers: [6, 71, 30]
Generated Node #0,1: 15:[6, 71, 30] Operation: 46-16=30
Exploring Operation: 71-46=25, Resulting Numbers: [6, 16, 25]
Generated Node #0,2: 15:[6, 16, 25] Operation: 71-46=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[6, 16, 25], Operations: ['71-46=25']
Exploring Operation: 16-6=10, Resulting Numbers: [25, 10]
Generated Node #0,2,0: 15:[25, 10] Operation: 16-6=10
Exploring Operation: 25-16=9, Resulting Numbers: [6, 9]
Generated Node #0,2,1: 15:[6, 9] Operation: 25-16=9
Exploring Operation: 25-6=19, Resulting Numbers: [16, 19]
Generated Node #0,2,2: 15:[16, 19] Operation: 25-6=19
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[6, 9], Operations: ['71-46=25', '25-16=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[6, 46, 16, 71], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [6, 16, 25]
Generated Node #0,2: 15:[6, 16, 25] Operation: 71-46=25
Moving to Node #0,2
Current State: 15:[6, 16, 25], Operations: ['71-46=25']
Exploring Operation: 25-16=9, Resulting Numbers: [6, 9]
Generated Node #0,2,1: 15:[6, 9] Operation: 25-16=9
Moving to Node #0,2,1
Current State: 15:[6, 9], Operations: ['71-46=25', '25-16=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
69,
74,
67,
20
] | 52 | [
"74-69=5",
"67-20=47",
"5+47=52"
] | Current State: 52:[69, 74, 67, 20], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [67, 20, 5]
Generated Node #2: [67, 20, 5] from Operation: 74-69=5
Current State: 52:[67, 20, 5], Operations: ['74-69=5']
Exploring Operation: 67-20=47, Resulting Numbers: [5, 47]
Generated Node #3: [5, 47] from Operation: 67-20=47
Current State: 52:[5, 47], Operations: ['74-69=5', '67-20=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[69, 74, 67, 20], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [67, 20, 5]
Generated Node #0,0: 52:[67, 20, 5] Operation: 74-69=5
Exploring Operation: 69-20=49, Resulting Numbers: [74, 67, 49]
Generated Node #0,1: 52:[74, 67, 49] Operation: 69-20=49
Exploring Operation: 74-20=54, Resulting Numbers: [69, 67, 54]
Generated Node #0,2: 52:[69, 67, 54] Operation: 74-20=54
Exploring Operation: 74-67=7, Resulting Numbers: [69, 20, 7]
Generated Node #0,3: 52:[69, 20, 7] Operation: 74-67=7
Exploring Operation: 69-67=2, Resulting Numbers: [74, 20, 2]
Generated Node #0,4: 52:[74, 20, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 52:[67, 20, 5], Operations: ['74-69=5']
Exploring Operation: 20-5=15, Resulting Numbers: [67, 15]
Generated Node #0,0,0: 52:[67, 15] Operation: 20-5=15
Exploring Operation: 67-20=47, Resulting Numbers: [5, 47]
Generated Node #0,0,1: 52:[5, 47] Operation: 67-20=47
Exploring Operation: 67-5=62, Resulting Numbers: [20, 62]
Generated Node #0,0,2: 52:[20, 62] Operation: 67-5=62
Exploring Operation: 20/5=4, Resulting Numbers: [67, 4]
Generated Node #0,0,3: 52:[67, 4] Operation: 20/5=4
Exploring Operation: 20+5=25, Resulting Numbers: [67, 25]
Generated Node #0,0,4: 52:[67, 25] Operation: 20+5=25
Moving to Node #0,3
Current State: 52:[69, 20, 7], Operations: ['74-67=7']
Exploring Operation: 69-20=49, Resulting Numbers: [7, 49]
Generated Node #0,3,0: 52:[7, 49] Operation: 69-20=49
Exploring Operation: 69-7=62, Resulting Numbers: [20, 62]
Generated Node #0,3,1: 52:[20, 62] Operation: 69-7=62
Exploring Operation: 20+7=27, Resulting Numbers: [69, 27]
Generated Node #0,3,2: 52:[69, 27] Operation: 20+7=27
Exploring Operation: 20-7=13, Resulting Numbers: [69, 13]
Generated Node #0,3,3: 52:[69, 13] Operation: 20-7=13
Exploring Operation: 69+7=76, Resulting Numbers: [20, 76]
Generated Node #0,3,4: 52:[20, 76] Operation: 69+7=76
Moving to Node #0,4
Current State: 52:[74, 20, 2], Operations: ['69-67=2']
Exploring Operation: 74/2=37, Resulting Numbers: [20, 37]
Generated Node #0,4,0: 52:[20, 37] Operation: 74/2=37
Exploring Operation: 74-20=54, Resulting Numbers: [2, 54]
Generated Node #0,4,1: 52:[2, 54] Operation: 74-20=54
Exploring Operation: 74-2=72, Resulting Numbers: [20, 72]
Generated Node #0,4,2: 52:[20, 72] Operation: 74-2=72
Exploring Operation: 20/2=10, Resulting Numbers: [74, 10]
Generated Node #0,4,3: 52:[74, 10] Operation: 20/2=10
Exploring Operation: 20+2=22, Resulting Numbers: [74, 22]
Generated Node #0,4,4: 52:[74, 22] Operation: 20+2=22
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[2, 54], Operations: ['69-67=2', '74-20=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,52 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[69, 74, 67, 20], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [74, 20, 2]
Generated Node #0,4: 52:[74, 20, 2] Operation: 69-67=2
Moving to Node #0,4
Current State: 52:[74, 20, 2], Operations: ['69-67=2']
Exploring Operation: 74-20=54, Resulting Numbers: [2, 54]
Generated Node #0,4,1: 52:[2, 54] Operation: 74-20=54
Moving to Node #0,4,1
Current State: 52:[2, 54], Operations: ['69-67=2', '74-20=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
96,
6,
75,
90
] | 86 | [
"96*75=7200",
"7200/90=80",
"6+80=86"
] | Current State: 86:[96, 6, 75, 90], Operations: []
Exploring Operation: 96*75=7200, Resulting Numbers: [6, 90, 7200]
Generated Node #2: [6, 90, 7200] from Operation: 96*75=7200
Current State: 86:[6, 90, 7200], Operations: ['96*75=7200']
Exploring Operation: 7200/90=80, Resulting Numbers: [6, 80]
Generated Node #3: [6, 80] from Operation: 7200/90=80
Current State: 86:[6, 80], Operations: ['96*75=7200', '7200/90=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[96, 6, 75, 90], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [75, 90, 90]
Generated Node #0,0: 86:[75, 90, 90] Operation: 96-6=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[75, 90, 90], Operations: ['96-6=90']
Exploring Operation: 90/90=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 86:[75, 1] Operation: 90/90=1
Moving to Node #0,0,0
Current State: 86:[75, 1], Operations: ['96-6=90', '90/90=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,86 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 |
[
3,
4,
27,
86
] | 99 | [
"27/3=9",
"4+86=90",
"9+90=99"
] | Current State: 99:[3, 4, 27, 86], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [4, 86, 9]
Generated Node #2: [4, 86, 9] from Operation: 27/3=9
Current State: 99:[4, 86, 9], Operations: ['27/3=9']
Exploring Operation: 4+86=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 4+86=90
Current State: 99:[9, 90], Operations: ['27/3=9', '4+86=90']
Exploring Operation: 9+90=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[3, 4, 27, 86], Operations: []
Exploring Operation: 4+27=31, Resulting Numbers: [3, 86, 31]
Generated Node #0,0: 99:[3, 86, 31] Operation: 4+27=31
Exploring Operation: 27/3=9, Resulting Numbers: [4, 86, 9]
Generated Node #0,1: 99:[4, 86, 9] Operation: 27/3=9
Moving to Node #0,1
Current State: 99:[4, 86, 9], Operations: ['27/3=9']
Exploring Operation: 86+9=95, Resulting Numbers: [4, 95]
Generated Node #0,1,0: 99:[4, 95] Operation: 86+9=95
Exploring Operation: 4+86=90, Resulting Numbers: [9, 90]
Generated Node #0,1,1: 99:[9, 90] Operation: 4+86=90
Moving to Node #0,0
Current State: 99:[3, 86, 31], Operations: ['4+27=31']
Exploring Operation: 3+31=34, Resulting Numbers: [86, 34]
Generated Node #0,0,0: 99:[86, 34] Operation: 3+31=34
Exploring Operation: 3+86=89, Resulting Numbers: [31, 89]
Generated Node #0,0,1: 99:[31, 89] Operation: 3+86=89
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[31, 89], Operations: ['4+27=31', '3+86=89']
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 31+89=120, Resulting Numbers: [120]
120,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[86, 34], Operations: ['4+27=31', '3+31=34']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,99 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: 99:[4, 95], Operations: ['27/3=9', '86+9=95']
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[3, 4, 27, 86], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [4, 86, 9]
Generated Node #0,1: 99:[4, 86, 9] Operation: 27/3=9
Moving to Node #0,1
Current State: 99:[4, 86, 9], Operations: ['27/3=9']
Exploring Operation: 86+9=95, Resulting Numbers: [4, 95]
Generated Node #0,1,0: 99:[4, 95] Operation: 86+9=95
Moving to Node #0,1,0
Current State: 99:[4, 95], Operations: ['27/3=9', '86+9=95']
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
48,
30,
89,
43
] | 95 | [
"48-43=5",
"30/5=6",
"89+6=95"
] | Current State: 95:[48, 30, 89, 43], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [30, 89, 5]
Generated Node #2: [30, 89, 5] from Operation: 48-43=5
Current State: 95:[30, 89, 5], Operations: ['48-43=5']
Exploring Operation: 30/5=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 30/5=6
Current State: 95:[89, 6], Operations: ['48-43=5', '30/5=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[48, 30, 89, 43], Operations: []
Exploring Operation: 48+30=78, Resulting Numbers: [89, 43, 78]
Generated Node #0,0: 95:[89, 43, 78] Operation: 48+30=78
Exploring Operation: 48-30=18, Resulting Numbers: [89, 43, 18]
Generated Node #0,1: 95:[89, 43, 18] Operation: 48-30=18
Exploring Operation: 48-43=5, Resulting Numbers: [30, 89, 5]
Generated Node #0,2: 95:[30, 89, 5] Operation: 48-43=5
Exploring Operation: 48+43=91, Resulting Numbers: [30, 89, 91]
Generated Node #0,3: 95:[30, 89, 91] Operation: 48+43=91
Exploring Operation: 43-30=13, Resulting Numbers: [48, 89, 13]
Generated Node #0,4: 95:[48, 89, 13] Operation: 43-30=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[30, 89, 5], Operations: ['48-43=5']
Exploring Operation: 30/5=6, Resulting Numbers: [89, 6]
Generated Node #0,2,0: 95:[89, 6] Operation: 30/5=6
Exploring Operation: 30+5=35, Resulting Numbers: [89, 35]
Generated Node #0,2,1: 95:[89, 35] Operation: 30+5=35
Exploring Operation: 89-5=84, Resulting Numbers: [30, 84]
Generated Node #0,2,2: 95:[30, 84] Operation: 89-5=84
Exploring Operation: 30-5=25, Resulting Numbers: [89, 25]
Generated Node #0,2,3: 95:[89, 25] Operation: 30-5=25
Exploring Operation: 89+5=94, Resulting Numbers: [30, 94]
Generated Node #0,2,4: 95:[30, 94] Operation: 89+5=94
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[89, 6], Operations: ['48-43=5', '30/5=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[48, 30, 89, 43], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [30, 89, 5]
Generated Node #0,2: 95:[30, 89, 5] Operation: 48-43=5
Moving to Node #0,2
Current State: 95:[30, 89, 5], Operations: ['48-43=5']
Exploring Operation: 30/5=6, Resulting Numbers: [89, 6]
Generated Node #0,2,0: 95:[89, 6] Operation: 30/5=6
Moving to Node #0,2,0
Current State: 95:[89, 6], Operations: ['48-43=5', '30/5=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
16,
18,
89,
32
] | 80 | [
"16*18=288",
"288/32=9",
"89-9=80"
] | Current State: 80:[16, 18, 89, 32], Operations: []
Exploring Operation: 16*18=288, Resulting Numbers: [89, 32, 288]
Generated Node #2: [89, 32, 288] from Operation: 16*18=288
Current State: 80:[89, 32, 288], Operations: ['16*18=288']
Exploring Operation: 288/32=9, Resulting Numbers: [89, 9]
Generated Node #3: [89, 9] from Operation: 288/32=9
Current State: 80:[89, 9], Operations: ['16*18=288', '288/32=9']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[16, 18, 89, 32], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [18, 89, 2]
Generated Node #0,0: 80:[18, 89, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [18, 89, 16]
Generated Node #0,1: 80:[18, 89, 16] Operation: 32-16=16
Exploring Operation: 32-18=14, Resulting Numbers: [16, 89, 14]
Generated Node #0,2: 80:[16, 89, 14] Operation: 32-18=14
Exploring Operation: 18-16=2, Resulting Numbers: [89, 32, 2]
Generated Node #0,3: 80:[89, 32, 2] Operation: 18-16=2
Moving to Node #0,0
Current State: 80:[18, 89, 2], Operations: ['32/16=2']
Exploring Operation: 89-18=71, Resulting Numbers: [2, 71]
Generated Node #0,0,0: 80:[2, 71] Operation: 89-18=71
Exploring Operation: 18+2=20, Resulting Numbers: [89, 20]
Generated Node #0,0,1: 80:[89, 20] Operation: 18+2=20
Exploring Operation: 89-2=87, Resulting Numbers: [18, 87]
Generated Node #0,0,2: 80:[18, 87] Operation: 89-2=87
Exploring Operation: 18-2=16, Resulting Numbers: [89, 16]
Generated Node #0,0,3: 80:[89, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[2, 71], Operations: ['32/16=2', '89-18=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,80 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,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:[89, 20], Operations: ['32/16=2', '18+2=20']
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,80 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,80 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,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:[18, 87], Operations: ['32/16=2', '89-2=87']
Exploring Operation: 18*87=1566, Resulting Numbers: [1566]
1566,80 unequal: No Solution
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,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:[89, 16], Operations: ['32/16=2', '18-2=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,80 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,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:[16, 89, 14], Operations: ['32-18=14']
Exploring Operation: 16-14=2, Resulting Numbers: [89, 2]
Generated Node #0,2,0: 80:[89, 2] Operation: 16-14=2
Exploring Operation: 16+14=30, Resulting Numbers: [89, 30]
Generated Node #0,2,1: 80:[89, 30] Operation: 16+14=30
Exploring Operation: 89-14=75, Resulting Numbers: [16, 75]
Generated Node #0,2,2: 80:[16, 75] Operation: 89-14=75
Exploring Operation: 89-16=73, Resulting Numbers: [14, 73]
Generated Node #0,2,3: 80:[14, 73] Operation: 89-16=73
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[16, 75], Operations: ['32-18=14', '89-14=75']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 16*75=1200, Resulting Numbers: [1200]
1200,80 unequal: No Solution
Exploring Operation: 16+75=91, Resulting Numbers: [91]
91,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:[89, 2], Operations: ['32-18=14', '16-14=2']
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,80 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,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:[14, 73], Operations: ['32-18=14', '89-16=73']
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,80 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,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:[89, 30], Operations: ['32-18=14', '16+14=30']
Exploring Operation: 89+30=119, Resulting Numbers: [119]
119,80 unequal: No Solution
Exploring Operation: 89*30=2670, Resulting Numbers: [2670]
2670,80 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,80 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: 80:[18, 89, 16], Operations: ['32-16=16']
Exploring Operation: 89-18=71, Resulting Numbers: [16, 71]
Generated Node #0,1,0: 80:[16, 71] Operation: 89-18=71
Exploring Operation: 18+16=34, Resulting Numbers: [89, 34]
Generated Node #0,1,1: 80:[89, 34] Operation: 18+16=34
Exploring Operation: 18-16=2, Resulting Numbers: [89, 2]
Generated Node #0,1,2: 80:[89, 2] Operation: 18-16=2
Exploring Operation: 89-16=73, Resulting Numbers: [18, 73]
Generated Node #0,1,3: 80:[18, 73] Operation: 89-16=73
Moving to Node #0,3
Current State: 80:[89, 32, 2], Operations: ['18-16=2']
Exploring Operation: 32/2=16, Resulting Numbers: [89, 16]
Generated Node #0,3,0: 80:[89, 16] Operation: 32/2=16
Exploring Operation: 89-32=57, Resulting Numbers: [2, 57]
Generated Node #0,3,1: 80:[2, 57] Operation: 89-32=57
Exploring Operation: 89-2=87, Resulting Numbers: [32, 87]
Generated Node #0,3,2: 80:[32, 87] Operation: 89-2=87
Exploring Operation: 32+2=34, Resulting Numbers: [89, 34]
Generated Node #0,3,3: 80:[89, 34] Operation: 32+2=34
Moving to Node #0,1,0
Current State: 80:[16, 71], Operations: ['32-16=16', '89-18=71']
Exploring Operation: 16+71=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 16*71=1136, Resulting Numbers: [1136]
1136,80 unequal: No Solution
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[18, 73], Operations: ['32-16=16', '89-16=73']
Exploring Operation: 18*73=1314, Resulting Numbers: [1314]
1314,80 unequal: No Solution
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Exploring Operation: 18+73=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[89, 2], Operations: ['32-16=16', '18-16=2']
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,80 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[89, 16], Operations: ['18-16=2', '32/2=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,80 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[89, 34], Operations: ['18-16=2', '32+2=34']
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,80 unequal: No Solution
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,80 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[89, 34], Operations: ['32-16=16', '18+16=34']
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,80 unequal: No Solution
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,80 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[32, 87], Operations: ['18-16=2', '89-2=87']
Exploring Operation: 32*87=2784, Resulting Numbers: [2784]
2784,80 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Exploring Operation: 32+87=119, Resulting Numbers: [119]
119,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[2, 57], Operations: ['18-16=2', '89-32=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,80 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
79,
84,
32,
20
] | 47 | [
"84-79=5",
"32+20=52",
"52-5=47"
] | Current State: 47:[79, 84, 32, 20], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [32, 20, 5]
Generated Node #2: [32, 20, 5] from Operation: 84-79=5
Current State: 47:[32, 20, 5], Operations: ['84-79=5']
Exploring Operation: 32+20=52, Resulting Numbers: [5, 52]
Generated Node #3: [5, 52] from Operation: 32+20=52
Current State: 47:[5, 52], Operations: ['84-79=5', '32+20=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[79, 84, 32, 20], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [79, 32, 64]
Generated Node #0,0: 47:[79, 32, 64] Operation: 84-20=64
Exploring Operation: 84-32=52, Resulting Numbers: [79, 20, 52]
Generated Node #0,1: 47:[79, 20, 52] Operation: 84-32=52
Exploring Operation: 79-20=59, Resulting Numbers: [84, 32, 59]
Generated Node #0,2: 47:[84, 32, 59] Operation: 79-20=59
Exploring Operation: 79-32=47, Resulting Numbers: [84, 20, 47]
Generated Node #0,3: 47:[84, 20, 47] Operation: 79-32=47
Moving to Node #0,0
Current State: 47:[79, 32, 64], Operations: ['84-20=64']
Exploring Operation: 79-32=47, Resulting Numbers: [64, 47]
Generated Node #0,0,0: 47:[64, 47] Operation: 79-32=47
Exploring Operation: 79-64=15, Resulting Numbers: [32, 15]
Generated Node #0,0,1: 47:[32, 15] Operation: 79-64=15
Exploring Operation: 64-32=32, Resulting Numbers: [79, 32]
Generated Node #0,0,2: 47:[79, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [79, 2]
Generated Node #0,0,3: 47:[79, 2] Operation: 64/32=2
Moving to Node #0,2
Current State: 47:[84, 32, 59], Operations: ['79-20=59']
Exploring Operation: 84-59=25, Resulting Numbers: [32, 25]
Generated Node #0,2,0: 47:[32, 25] Operation: 84-59=25
Exploring Operation: 84-32=52, Resulting Numbers: [59, 52]
Generated Node #0,2,1: 47:[59, 52] Operation: 84-32=52
Exploring Operation: 59-32=27, Resulting Numbers: [84, 27]
Generated Node #0,2,2: 47:[84, 27] Operation: 59-32=27
Exploring Operation: 84+32=116, Resulting Numbers: [59, 116]
Generated Node #0,2,3: 47:[59, 116] Operation: 84+32=116
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[59, 52], Operations: ['79-20=59', '84-32=52']
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[32, 25], Operations: ['79-20=59', '84-59=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,47 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[84, 27], Operations: ['79-20=59', '59-32=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 84+27=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 84*27=2268, Resulting Numbers: [2268]
2268,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[59, 116], Operations: ['79-20=59', '84+32=116']
Exploring Operation: 59*116=6844, Resulting Numbers: [6844]
6844,47 unequal: No Solution
Exploring Operation: 59+116=175, Resulting Numbers: [175]
175,47 unequal: No Solution
Exploring Operation: 116-59=57, Resulting Numbers: [57]
57,47 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: 47:[79, 20, 52], Operations: ['84-32=52']
Exploring Operation: 52-20=32, Resulting Numbers: [79, 32]
Generated Node #0,1,0: 47:[79, 32] Operation: 52-20=32
Exploring Operation: 79-20=59, Resulting Numbers: [52, 59]
Generated Node #0,1,1: 47:[52, 59] Operation: 79-20=59
Exploring Operation: 79-52=27, Resulting Numbers: [20, 27]
Generated Node #0,1,2: 47:[20, 27] Operation: 79-52=27
Exploring Operation: 79+20=99, Resulting Numbers: [52, 99]
Generated Node #0,1,3: 47:[52, 99] Operation: 79+20=99
Moving to Node #0,3
Current State: 47:[84, 20, 47], Operations: ['79-32=47']
Exploring Operation: 84-47=37, Resulting Numbers: [20, 37]
Generated Node #0,3,0: 47:[20, 37] Operation: 84-47=37
Exploring Operation: 84-20=64, Resulting Numbers: [47, 64]
Generated Node #0,3,1: 47:[47, 64] Operation: 84-20=64
Exploring Operation: 20+47=67, Resulting Numbers: [84, 67]
Generated Node #0,3,2: 47:[84, 67] Operation: 20+47=67
Exploring Operation: 84+20=104, Resulting Numbers: [47, 104]
Generated Node #0,3,3: 47:[47, 104] Operation: 84+20=104
Moving to Node #0,0,0
Current State: 47:[64, 47], Operations: ['84-20=64', '79-32=47']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,47 unequal: No Solution
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[52, 59], Operations: ['84-32=52', '79-20=59']
Exploring Operation: 52+59=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 52*59=3068, Resulting Numbers: [3068]
3068,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[47, 64], Operations: ['79-32=47', '84-20=64']
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,47 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[20, 37], Operations: ['79-32=47', '84-47=37']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,47 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[79, 32], Operations: ['84-20=64', '64-32=32']
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,47 unequal: No Solution
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[79, 84, 32, 20], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [79, 32, 64]
Generated Node #0,0: 47:[79, 32, 64] Operation: 84-20=64
Moving to Node #0,0
Current State: 47:[79, 32, 64], Operations: ['84-20=64']
Exploring Operation: 64-32=32, Resulting Numbers: [79, 32]
Generated Node #0,0,2: 47:[79, 32] Operation: 64-32=32
Moving to Node #0,0,2
Current State: 47:[79, 32], Operations: ['84-20=64', '64-32=32']
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
29,
2,
50,
13
] | 90 | [
"29-2=27",
"50+13=63",
"27+63=90"
] | Current State: 90:[29, 2, 50, 13], Operations: []
Exploring Operation: 29-2=27, Resulting Numbers: [50, 13, 27]
Generated Node #2: [50, 13, 27] from Operation: 29-2=27
Current State: 90:[50, 13, 27], Operations: ['29-2=27']
Exploring Operation: 50+13=63, Resulting Numbers: [27, 63]
Generated Node #3: [27, 63] from Operation: 50+13=63
Current State: 90:[27, 63], Operations: ['29-2=27', '50+13=63']
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[29, 2, 50, 13], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [2, 13, 21]
Generated Node #0,0: 90:[2, 13, 21] Operation: 50-29=21
Exploring Operation: 2+13=15, Resulting Numbers: [29, 50, 15]
Generated Node #0,1: 90:[29, 50, 15] Operation: 2+13=15
Exploring Operation: 13-2=11, Resulting Numbers: [29, 50, 11]
Generated Node #0,2: 90:[29, 50, 11] Operation: 13-2=11
Exploring Operation: 50-2=48, Resulting Numbers: [29, 13, 48]
Generated Node #0,3: 90:[29, 13, 48] Operation: 50-2=48
Exploring Operation: 29-13=16, Resulting Numbers: [2, 50, 16]
Generated Node #0,4: 90:[2, 50, 16] Operation: 29-13=16
Moving to Node #0,0
Current State: 90:[2, 13, 21], Operations: ['50-29=21']
Exploring Operation: 21-13=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 90:[2, 8] Operation: 21-13=8
Exploring Operation: 2+13=15, Resulting Numbers: [21, 15]
Generated Node #0,0,1: 90:[21, 15] Operation: 2+13=15
Exploring Operation: 13-2=11, Resulting Numbers: [21, 11]
Generated Node #0,0,2: 90:[21, 11] Operation: 13-2=11
Exploring Operation: 21-2=19, Resulting Numbers: [13, 19]
Generated Node #0,0,3: 90:[13, 19] Operation: 21-2=19
Exploring Operation: 13+21=34, Resulting Numbers: [2, 34]
Generated Node #0,0,4: 90:[2, 34] Operation: 13+21=34
Moving to Node #0,3
Current State: 90:[29, 13, 48], Operations: ['50-2=48']
Exploring Operation: 48-13=35, Resulting Numbers: [29, 35]
Generated Node #0,3,0: 90:[29, 35] Operation: 48-13=35
Exploring Operation: 29-13=16, Resulting Numbers: [48, 16]
Generated Node #0,3,1: 90:[48, 16] Operation: 29-13=16
Exploring Operation: 48-29=19, Resulting Numbers: [13, 19]
Generated Node #0,3,2: 90:[13, 19] Operation: 48-29=19
Exploring Operation: 29+13=42, Resulting Numbers: [48, 42]
Generated Node #0,3,3: 90:[48, 42] Operation: 29+13=42
Exploring Operation: 29+48=77, Resulting Numbers: [13, 77]
Generated Node #0,3,4: 90:[13, 77] Operation: 29+48=77
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[13, 19], Operations: ['50-2=48', '48-29=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[48, 16], Operations: ['50-2=48', '29-13=16']
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,90 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[29, 35], Operations: ['50-2=48', '48-13=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,90 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[48, 42], Operations: ['50-2=48', '29+13=42']
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,90 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[29, 2, 50, 13], Operations: []
Exploring Operation: 50-2=48, Resulting Numbers: [29, 13, 48]
Generated Node #0,3: 90:[29, 13, 48] Operation: 50-2=48
Moving to Node #0,3
Current State: 90:[29, 13, 48], Operations: ['50-2=48']
Exploring Operation: 29+13=42, Resulting Numbers: [48, 42]
Generated Node #0,3,3: 90:[48, 42] Operation: 29+13=42
Moving to Node #0,3,3
Current State: 90:[48, 42], Operations: ['50-2=48', '29+13=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_5 | sum_heuristic |
[
74,
76,
74,
12
] | 87 | [
"74/74=1",
"76+12=88",
"88-1=87"
] | Current State: 87:[74, 76, 74, 12], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [76, 12, 1]
Generated Node #2: [76, 12, 1] from Operation: 74/74=1
Current State: 87:[76, 12, 1], Operations: ['74/74=1']
Exploring Operation: 76+12=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 76+12=88
Current State: 87:[1, 88], Operations: ['74/74=1', '76+12=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[74, 76, 74, 12], Operations: []
Exploring Operation: 74-74=0, Resulting Numbers: [76, 12, 0]
Generated Node #0,0: 87:[76, 12, 0] Operation: 74-74=0
Exploring Operation: 76-74=2, Resulting Numbers: [74, 12, 2]
Generated Node #0,1: 87:[74, 12, 2] Operation: 76-74=2
Exploring Operation: 74/74=1, Resulting Numbers: [76, 12, 1]
Generated Node #0,2: 87:[76, 12, 1] Operation: 74/74=1
Exploring Operation: 76-74=2, Resulting Numbers: [74, 12, 2]
Generated Node #0,3: 87:[74, 12, 2] Operation: 76-74=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[76, 12, 1], Operations: ['74/74=1']
Exploring Operation: 76*1=76, Resulting Numbers: [12, 76]
Generated Node #0,2,0: 87:[12, 76] Operation: 76*1=76
Exploring Operation: 12-1=11, Resulting Numbers: [76, 11]
Generated Node #0,2,1: 87:[76, 11] Operation: 12-1=11
Exploring Operation: 76+1=77, Resulting Numbers: [12, 77]
Generated Node #0,2,2: 87:[12, 77] Operation: 76+1=77
Exploring Operation: 76+12=88, Resulting Numbers: [1, 88]
Generated Node #0,2,3: 87:[1, 88] Operation: 76+12=88
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 87:[1, 88], Operations: ['74/74=1', '76+12=88']
Exploring Operation: 1+88=89, Resulting Numbers: [89]
89,87 unequal: No Solution
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[74, 76, 74, 12], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [76, 12, 1]
Generated Node #0,2: 87:[76, 12, 1] Operation: 74/74=1
Moving to Node #0,2
Current State: 87:[76, 12, 1], Operations: ['74/74=1']
Exploring Operation: 76+12=88, Resulting Numbers: [1, 88]
Generated Node #0,2,3: 87:[1, 88] Operation: 76+12=88
Moving to Node #0,2,3
Current State: 87:[1, 88], Operations: ['74/74=1', '76+12=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
73,
12,
47,
69
] | 59 | [
"73+47=120",
"120/12=10",
"69-10=59"
] | Current State: 59:[73, 12, 47, 69], Operations: []
Exploring Operation: 73+47=120, Resulting Numbers: [12, 69, 120]
Generated Node #2: [12, 69, 120] from Operation: 73+47=120
Current State: 59:[12, 69, 120], Operations: ['73+47=120']
Exploring Operation: 120/12=10, Resulting Numbers: [69, 10]
Generated Node #3: [69, 10] from Operation: 120/12=10
Current State: 59:[69, 10], Operations: ['73+47=120', '120/12=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[73, 12, 47, 69], Operations: []
Exploring Operation: 12+47=59, Resulting Numbers: [73, 69, 59]
Generated Node #0,0: 59:[73, 69, 59] Operation: 12+47=59
Exploring Operation: 69-12=57, Resulting Numbers: [73, 47, 57]
Generated Node #0,1: 59:[73, 47, 57] Operation: 69-12=57
Exploring Operation: 73+12=85, Resulting Numbers: [47, 69, 85]
Generated Node #0,2: 59:[47, 69, 85] Operation: 73+12=85
Exploring Operation: 73-12=61, Resulting Numbers: [47, 69, 61]
Generated Node #0,3: 59:[47, 69, 61] Operation: 73-12=61
Moving to Node #0,0
Current State: 59:[73, 69, 59], Operations: ['12+47=59']
Exploring Operation: 73-69=4, Resulting Numbers: [59, 4]
Generated Node #0,0,0: 59:[59, 4] Operation: 73-69=4
Exploring Operation: 73-59=14, Resulting Numbers: [69, 14]
Generated Node #0,0,1: 59:[69, 14] Operation: 73-59=14
Exploring Operation: 73+69=142, Resulting Numbers: [59, 142]
Generated Node #0,0,2: 59:[59, 142] Operation: 73+69=142
Exploring Operation: 69-59=10, Resulting Numbers: [73, 10]
Generated Node #0,0,3: 59:[73, 10] Operation: 69-59=10
Moving to Node #0,3
Current State: 59:[47, 69, 61], Operations: ['73-12=61']
Exploring Operation: 47+61=108, Resulting Numbers: [69, 108]
Generated Node #0,3,0: 59:[69, 108] Operation: 47+61=108
Exploring Operation: 47+69=116, Resulting Numbers: [61, 116]
Generated Node #0,3,1: 59:[61, 116] Operation: 47+69=116
Exploring Operation: 69-47=22, Resulting Numbers: [61, 22]
Generated Node #0,3,2: 59:[61, 22] Operation: 69-47=22
Exploring Operation: 61-47=14, Resulting Numbers: [69, 14]
Generated Node #0,3,3: 59:[69, 14] Operation: 61-47=14
Moving to Node #0,1
Current State: 59:[73, 47, 57], Operations: ['69-12=57']
Exploring Operation: 73+47=120, Resulting Numbers: [57, 120]
Generated Node #0,1,0: 59:[57, 120] Operation: 73+47=120
Exploring Operation: 73-57=16, Resulting Numbers: [47, 16]
Generated Node #0,1,1: 59:[47, 16] Operation: 73-57=16
Exploring Operation: 47+57=104, Resulting Numbers: [73, 104]
Generated Node #0,1,2: 59:[73, 104] Operation: 47+57=104
Exploring Operation: 73-47=26, Resulting Numbers: [57, 26]
Generated Node #0,1,3: 59:[57, 26] Operation: 73-47=26
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[57, 26], Operations: ['69-12=57', '73-47=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,59 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,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:[47, 16], Operations: ['69-12=57', '73-57=16']
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,59 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,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,2
Current State: 59:[73, 104], Operations: ['69-12=57', '47+57=104']
Exploring Operation: 104-73=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 73*104=7592, Resulting Numbers: [7592]
7592,59 unequal: No Solution
Exploring Operation: 73+104=177, Resulting Numbers: [177]
177,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:[57, 120], Operations: ['69-12=57', '73+47=120']
Exploring Operation: 120-57=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 57*120=6840, Resulting Numbers: [6840]
6840,59 unequal: No Solution
Exploring Operation: 57+120=177, Resulting Numbers: [177]
177,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:[47, 69, 85], Operations: ['73+12=85']
Exploring Operation: 85-47=38, Resulting Numbers: [69, 38]
Generated Node #0,2,0: 59:[69, 38] Operation: 85-47=38
Exploring Operation: 85-69=16, Resulting Numbers: [47, 16]
Generated Node #0,2,1: 59:[47, 16] Operation: 85-69=16
Exploring Operation: 69-47=22, Resulting Numbers: [85, 22]
Generated Node #0,2,2: 59:[85, 22] Operation: 69-47=22
Exploring Operation: 47+69=116, Resulting Numbers: [85, 116]
Generated Node #0,2,3: 59:[85, 116] Operation: 47+69=116
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[69, 38], Operations: ['73+12=85', '85-47=38']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,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:[47, 16], Operations: ['73+12=85', '85-69=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,59 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,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:[85, 22], Operations: ['73+12=85', '69-47=22']
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,59 unequal: No Solution
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,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:[85, 116], Operations: ['73+12=85', '47+69=116']
Exploring Operation: 85*116=9860, Resulting Numbers: [9860]
9860,59 unequal: No Solution
Exploring Operation: 85+116=201, Resulting Numbers: [201]
201,59 unequal: No Solution
Exploring Operation: 116-85=31, Resulting Numbers: [31]
31,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 59:[61, 22], Operations: ['73-12=61', '69-47=22']
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[69, 14], Operations: ['73-12=61', '61-47=14']
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[59, 4], Operations: ['12+47=59', '73-69=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[69, 14], Operations: ['12+47=59', '73-59=14']
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,59 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[69, 108], Operations: ['73-12=61', '47+61=108']
Exploring Operation: 69+108=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Exploring Operation: 69*108=7452, Resulting Numbers: [7452]
7452,59 unequal: No Solution
Exploring Operation: 108-69=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[61, 116], Operations: ['73-12=61', '47+69=116']
Exploring Operation: 61*116=7076, Resulting Numbers: [7076]
7076,59 unequal: No Solution
Exploring Operation: 61+116=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Exploring Operation: 116-61=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[73, 10], Operations: ['12+47=59', '69-59=10']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 73*10=730, Resulting Numbers: [730]
730,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[59, 142], Operations: ['12+47=59', '73+69=142']
Exploring Operation: 59*142=8378, Resulting Numbers: [8378]
8378,59 unequal: No Solution
Exploring Operation: 142-59=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 59+142=201, Resulting Numbers: [201]
201,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
2,
32,
41
] | 33 | [
"41-10=31",
"2*32=64",
"64-31=33"
] | Current State: 33:[10, 2, 32, 41], Operations: []
Exploring Operation: 41-10=31, Resulting Numbers: [2, 32, 31]
Generated Node #2: [2, 32, 31] from Operation: 41-10=31
Current State: 33:[2, 32, 31], Operations: ['41-10=31']
Exploring Operation: 2*32=64, Resulting Numbers: [31, 64]
Generated Node #3: [31, 64] from Operation: 2*32=64
Current State: 33:[31, 64], Operations: ['41-10=31', '2*32=64']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[10, 2, 32, 41], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [10, 2, 9]
Generated Node #0,0: 33:[10, 2, 9] Operation: 41-32=9
Exploring Operation: 41-2=39, Resulting Numbers: [10, 32, 39]
Generated Node #0,1: 33:[10, 32, 39] Operation: 41-2=39
Exploring Operation: 41-10=31, Resulting Numbers: [2, 32, 31]
Generated Node #0,2: 33:[2, 32, 31] Operation: 41-10=31
Exploring Operation: 10+2=12, Resulting Numbers: [32, 41, 12]
Generated Node #0,3: 33:[32, 41, 12] Operation: 10+2=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[10, 2, 9], Operations: ['41-32=9']
Exploring Operation: 10+2=12, Resulting Numbers: [9, 12]
Generated Node #0,0,0: 33:[9, 12] Operation: 10+2=12
Exploring Operation: 10/2=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 33:[9, 5] Operation: 10/2=5
Exploring Operation: 2+9=11, Resulting Numbers: [10, 11]
Generated Node #0,0,2: 33:[10, 11] Operation: 2+9=11
Exploring Operation: 10-9=1, Resulting Numbers: [2, 1]
Generated Node #0,0,3: 33:[2, 1] Operation: 10-9=1
Moving to Node #0,0,2
Current State: 33:[10, 11], Operations: ['41-32=9', '2+9=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[2, 1], Operations: ['41-32=9', '10-9=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[9, 12], Operations: ['41-32=9', '10+2=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[9, 5], Operations: ['41-32=9', '10/2=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[2, 32, 31], Operations: ['41-10=31']
Exploring Operation: 32-31=1, Resulting Numbers: [2, 1]
Generated Node #0,2,0: 33:[2, 1] Operation: 32-31=1
Exploring Operation: 32-2=30, Resulting Numbers: [31, 30]
Generated Node #0,2,1: 33:[31, 30] Operation: 32-2=30
Exploring Operation: 2+32=34, Resulting Numbers: [31, 34]
Generated Node #0,2,2: 33:[31, 34] Operation: 2+32=34
Exploring Operation: 2+31=33, Resulting Numbers: [32, 33]
Generated Node #0,2,3: 33:[32, 33] Operation: 2+31=33
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 33:[32, 33], Operations: ['41-10=31', '2+31=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,33 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,33 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: 33:[2, 1], Operations: ['41-10=31', '32-31=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,33 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: 33:[31, 34], Operations: ['41-10=31', '2+32=34']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,33 unequal: No Solution
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,33 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: 33:[31, 30], Operations: ['41-10=31', '32-2=30']
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,33 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,33 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: 33:[10, 32, 39], Operations: ['41-2=39']
Exploring Operation: 39-32=7, Resulting Numbers: [10, 7]
Generated Node #0,1,0: 33:[10, 7] Operation: 39-32=7
Exploring Operation: 32-10=22, Resulting Numbers: [39, 22]
Generated Node #0,1,1: 33:[39, 22] Operation: 32-10=22
Exploring Operation: 10+32=42, Resulting Numbers: [39, 42]
Generated Node #0,1,2: 33:[39, 42] Operation: 10+32=42
Exploring Operation: 39-10=29, Resulting Numbers: [32, 29]
Generated Node #0,1,3: 33:[32, 29] Operation: 39-10=29
Moving to Node #0,1,0
Current State: 33:[10, 7], Operations: ['41-2=39', '39-32=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[32, 29], Operations: ['41-2=39', '39-10=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[39, 42], Operations: ['41-2=39', '10+32=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,33 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[39, 22], Operations: ['41-2=39', '32-10=22']
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[32, 41, 12], Operations: ['10+2=12']
Exploring Operation: 41-12=29, Resulting Numbers: [32, 29]
Generated Node #0,3,0: 33:[32, 29] Operation: 41-12=29
Exploring Operation: 41-32=9, Resulting Numbers: [12, 9]
Generated Node #0,3,1: 33:[12, 9] Operation: 41-32=9
Exploring Operation: 32-12=20, Resulting Numbers: [41, 20]
Generated Node #0,3,2: 33:[41, 20] Operation: 32-12=20
Exploring Operation: 32+12=44, Resulting Numbers: [41, 44]
Generated Node #0,3,3: 33:[41, 44] Operation: 32+12=44
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[12, 9], Operations: ['10+2=12', '41-32=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,33 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: 33:[32, 29], Operations: ['10+2=12', '41-12=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,33 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: 33:[41, 20], Operations: ['10+2=12', '32-12=20']
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,33 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,33 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,33 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: 33:[41, 44], Operations: ['10+2=12', '32+12=44']
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,33 unequal: No Solution
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,33 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 |
[
34,
2,
89,
9
] | 97 | [
"34/2=17",
"89-9=80",
"17+80=97"
] | Current State: 97:[34, 2, 89, 9], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [89, 9, 17]
Generated Node #2: [89, 9, 17] from Operation: 34/2=17
Current State: 97:[89, 9, 17], Operations: ['34/2=17']
Exploring Operation: 89-9=80, Resulting Numbers: [17, 80]
Generated Node #3: [17, 80] from Operation: 89-9=80
Current State: 97:[17, 80], Operations: ['34/2=17', '89-9=80']
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[34, 2, 89, 9], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [34, 89, 18]
Generated Node #0,0: 97:[34, 89, 18] Operation: 2*9=18
Exploring Operation: 34+9=43, Resulting Numbers: [2, 89, 43]
Generated Node #0,1: 97:[2, 89, 43] Operation: 34+9=43
Exploring Operation: 34+2=36, Resulting Numbers: [89, 9, 36]
Generated Node #0,2: 97:[89, 9, 36] Operation: 34+2=36
Exploring Operation: 34*2=68, Resulting Numbers: [89, 9, 68]
Generated Node #0,3: 97:[89, 9, 68] Operation: 34*2=68
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[89, 9, 68], Operations: ['34*2=68']
Exploring Operation: 89-9=80, Resulting Numbers: [68, 80]
Generated Node #0,3,0: 97:[68, 80] Operation: 89-9=80
Exploring Operation: 68-9=59, Resulting Numbers: [89, 59]
Generated Node #0,3,1: 97:[89, 59] Operation: 68-9=59
Exploring Operation: 89+9=98, Resulting Numbers: [68, 98]
Generated Node #0,3,2: 97:[68, 98] Operation: 89+9=98
Exploring Operation: 9+68=77, Resulting Numbers: [89, 77]
Generated Node #0,3,3: 97:[89, 77] Operation: 9+68=77
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[89, 77], Operations: ['34*2=68', '9+68=77']
Exploring Operation: 89+77=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 89*77=6853, Resulting Numbers: [6853]
6853,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[68, 98], Operations: ['34*2=68', '89+9=98']
Exploring Operation: 98-68=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 68+98=166, Resulting Numbers: [166]
166,97 unequal: No Solution
Exploring Operation: 68*98=6664, Resulting Numbers: [6664]
6664,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[68, 80], Operations: ['34*2=68', '89-9=80']
Exploring Operation: 68*80=5440, Resulting Numbers: [5440]
5440,97 unequal: No Solution
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 68+80=148, Resulting Numbers: [148]
148,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[89, 59], Operations: ['34*2=68', '68-9=59']
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,97 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[34, 89, 18], Operations: ['2*9=18']
Exploring Operation: 34-18=16, Resulting Numbers: [89, 16]
Generated Node #0,0,0: 97:[89, 16] Operation: 34-18=16
Exploring Operation: 89-18=71, Resulting Numbers: [34, 71]
Generated Node #0,0,1: 97:[34, 71] Operation: 89-18=71
Exploring Operation: 34+18=52, Resulting Numbers: [89, 52]
Generated Node #0,0,2: 97:[89, 52] Operation: 34+18=52
Exploring Operation: 89+18=107, Resulting Numbers: [34, 107]
Generated Node #0,0,3: 97:[34, 107] Operation: 89+18=107
Moving to Node #0,0,2
Current State: 97:[89, 52], Operations: ['2*9=18', '34+18=52']
Exploring Operation: 89-52=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 89*52=4628, Resulting Numbers: [4628]
4628,97 unequal: No Solution
Exploring Operation: 89+52=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[34, 107], Operations: ['2*9=18', '89+18=107']
Exploring Operation: 34+107=141, Resulting Numbers: [141]
141,97 unequal: No Solution
Exploring Operation: 107-34=73, Resulting Numbers: [73]
73,97 unequal: No Solution
Exploring Operation: 34*107=3638, Resulting Numbers: [3638]
3638,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[34, 71], Operations: ['2*9=18', '89-18=71']
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,97 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[89, 16], Operations: ['2*9=18', '34-18=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,97 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,97 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[2, 89, 43], Operations: ['34+9=43']
Exploring Operation: 2*43=86, Resulting Numbers: [89, 86]
Generated Node #0,1,0: 97:[89, 86] Operation: 2*43=86
Exploring Operation: 2+43=45, Resulting Numbers: [89, 45]
Generated Node #0,1,1: 97:[89, 45] Operation: 2+43=45
Exploring Operation: 2+89=91, Resulting Numbers: [43, 91]
Generated Node #0,1,2: 97:[43, 91] Operation: 2+89=91
Exploring Operation: 89-2=87, Resulting Numbers: [43, 87]
Generated Node #0,1,3: 97:[43, 87] Operation: 89-2=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[89, 86], Operations: ['34+9=43', '2*43=86']
Exploring Operation: 89*86=7654, Resulting Numbers: [7654]
7654,97 unequal: No Solution
Exploring Operation: 89-86=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 89+86=175, Resulting Numbers: [175]
175,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[89, 45], Operations: ['34+9=43', '2+43=45']
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,97 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[43, 91], Operations: ['34+9=43', '2+89=91']
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,97 unequal: No Solution
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[43, 87], Operations: ['34+9=43', '89-2=87']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[89, 9, 36], Operations: ['34+2=36']
Exploring Operation: 89-9=80, Resulting Numbers: [36, 80]
Generated Node #0,2,0: 97:[36, 80] Operation: 89-9=80
Exploring Operation: 89+9=98, Resulting Numbers: [36, 98]
Generated Node #0,2,1: 97:[36, 98] Operation: 89+9=98
Exploring Operation: 36-9=27, Resulting Numbers: [89, 27]
Generated Node #0,2,2: 97:[89, 27] Operation: 36-9=27
Exploring Operation: 9+36=45, Resulting Numbers: [89, 45]
Generated Node #0,2,3: 97:[89, 45] Operation: 9+36=45
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[89, 45], Operations: ['34+2=36', '9+36=45']
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,97 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[36, 98], Operations: ['34+2=36', '89+9=98']
Exploring Operation: 36*98=3528, Resulting Numbers: [3528]
3528,97 unequal: No Solution
Exploring Operation: 36+98=134, Resulting Numbers: [134]
134,97 unequal: No Solution
Exploring Operation: 98-36=62, Resulting Numbers: [62]
62,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[36, 80], Operations: ['34+2=36', '89-9=80']
Exploring Operation: 36*80=2880, Resulting Numbers: [2880]
2880,97 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 36+80=116, Resulting Numbers: [116]
116,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[89, 27], Operations: ['34+2=36', '36-9=27']
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,97 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
55,
74,
8,
10
] | 37 | [
"74-55=19",
"8+10=18",
"19+18=37"
] | Current State: 37:[55, 74, 8, 10], Operations: []
Exploring Operation: 74-55=19, Resulting Numbers: [8, 10, 19]
Generated Node #2: [8, 10, 19] from Operation: 74-55=19
Current State: 37:[8, 10, 19], Operations: ['74-55=19']
Exploring Operation: 8+10=18, Resulting Numbers: [19, 18]
Generated Node #3: [19, 18] from Operation: 8+10=18
Current State: 37:[19, 18], Operations: ['74-55=19', '8+10=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[55, 74, 8, 10], Operations: []
Exploring Operation: 55-8=47, Resulting Numbers: [74, 10, 47]
Generated Node #0,0: 37:[74, 10, 47] Operation: 55-8=47
Exploring Operation: 55-10=45, Resulting Numbers: [74, 8, 45]
Generated Node #0,1: 37:[74, 8, 45] Operation: 55-10=45
Exploring Operation: 74-55=19, Resulting Numbers: [8, 10, 19]
Generated Node #0,2: 37:[8, 10, 19] Operation: 74-55=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[74, 10, 47], Operations: ['55-8=47']
Exploring Operation: 47-10=37, Resulting Numbers: [74, 37]
Generated Node #0,0,0: 37:[74, 37] Operation: 47-10=37
Exploring Operation: 74-10=64, Resulting Numbers: [47, 64]
Generated Node #0,0,1: 37:[47, 64] Operation: 74-10=64
Exploring Operation: 74-47=27, Resulting Numbers: [10, 27]
Generated Node #0,0,2: 37:[10, 27] Operation: 74-47=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[74, 37], Operations: ['55-8=47', '47-10=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[55, 74, 8, 10], Operations: []
Exploring Operation: 55-8=47, Resulting Numbers: [74, 10, 47]
Generated Node #0,0: 37:[74, 10, 47] Operation: 55-8=47
Moving to Node #0,0
Current State: 37:[74, 10, 47], Operations: ['55-8=47']
Exploring Operation: 47-10=37, Resulting Numbers: [74, 37]
Generated Node #0,0,0: 37:[74, 37] Operation: 47-10=37
Moving to Node #0,0,0
Current State: 37:[74, 37], Operations: ['55-8=47', '47-10=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
15,
82,
65,
21
] | 42 | [
"82-15=67",
"67-65=2",
"21*2=42"
] | Current State: 42:[15, 82, 65, 21], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [65, 21, 67]
Generated Node #2: [65, 21, 67] from Operation: 82-15=67
Current State: 42:[65, 21, 67], Operations: ['82-15=67']
Exploring Operation: 67-65=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 67-65=2
Current State: 42:[21, 2], Operations: ['82-15=67', '67-65=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[15, 82, 65, 21], Operations: []
Exploring Operation: 82-65=17, Resulting Numbers: [15, 21, 17]
Generated Node #0,0: 42:[15, 21, 17] Operation: 82-65=17
Exploring Operation: 82-21=61, Resulting Numbers: [15, 65, 61]
Generated Node #0,1: 42:[15, 65, 61] Operation: 82-21=61
Exploring Operation: 65-21=44, Resulting Numbers: [15, 82, 44]
Generated Node #0,2: 42:[15, 82, 44] Operation: 65-21=44
Exploring Operation: 65-15=50, Resulting Numbers: [82, 21, 50]
Generated Node #0,3: 42:[82, 21, 50] Operation: 65-15=50
Exploring Operation: 82-15=67, Resulting Numbers: [65, 21, 67]
Generated Node #0,4: 42:[65, 21, 67] Operation: 82-15=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[15, 21, 17], Operations: ['82-65=17']
Exploring Operation: 21+17=38, Resulting Numbers: [15, 38]
Generated Node #0,0,0: 42:[15, 38] Operation: 21+17=38
Exploring Operation: 17-15=2, Resulting Numbers: [21, 2]
Generated Node #0,0,1: 42:[21, 2] Operation: 17-15=2
Exploring Operation: 15+21=36, Resulting Numbers: [17, 36]
Generated Node #0,0,2: 42:[17, 36] Operation: 15+21=36
Exploring Operation: 21-17=4, Resulting Numbers: [15, 4]
Generated Node #0,0,3: 42:[15, 4] Operation: 21-17=4
Exploring Operation: 21-15=6, Resulting Numbers: [17, 6]
Generated Node #0,0,4: 42:[17, 6] Operation: 21-15=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[21, 2], Operations: ['82-65=17', '17-15=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[15, 82, 65, 21], Operations: []
Exploring Operation: 82-65=17, Resulting Numbers: [15, 21, 17]
Generated Node #0,0: 42:[15, 21, 17] Operation: 82-65=17
Moving to Node #0,0
Current State: 42:[15, 21, 17], Operations: ['82-65=17']
Exploring Operation: 17-15=2, Resulting Numbers: [21, 2]
Generated Node #0,0,1: 42:[21, 2] Operation: 17-15=2
Moving to Node #0,0,1
Current State: 42:[21, 2], Operations: ['82-65=17', '17-15=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
92,
45,
21,
47
] | 25 | [
"47-45=2",
"92/2=46",
"46-21=25"
] | Current State: 25:[92, 45, 21, 47], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [92, 21, 2]
Generated Node #2: [92, 21, 2] from Operation: 47-45=2
Current State: 25:[92, 21, 2], Operations: ['47-45=2']
Exploring Operation: 92/2=46, Resulting Numbers: [21, 46]
Generated Node #3: [21, 46] from Operation: 92/2=46
Current State: 25:[21, 46], Operations: ['47-45=2', '92/2=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[92, 45, 21, 47], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [45, 21, 45]
Generated Node #0,0: 25:[45, 21, 45] Operation: 92-47=45
Exploring Operation: 92-21=71, Resulting Numbers: [45, 47, 71]
Generated Node #0,1: 25:[45, 47, 71] Operation: 92-21=71
Exploring Operation: 47-45=2, Resulting Numbers: [92, 21, 2]
Generated Node #0,2: 25:[92, 21, 2] Operation: 47-45=2
Exploring Operation: 92-45=47, Resulting Numbers: [21, 47, 47]
Generated Node #0,3: 25:[21, 47, 47] Operation: 92-45=47
Moving to Node #0,0
Current State: 25:[45, 21, 45], Operations: ['92-47=45']
Exploring Operation: 45/45=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 25:[21, 1] Operation: 45/45=1
Exploring Operation: 45-21=24, Resulting Numbers: [45, 24]
Generated Node #0,0,1: 25:[45, 24] Operation: 45-21=24
Exploring Operation: 45-21=24, Resulting Numbers: [45, 24]
Generated Node #0,0,2: 25:[45, 24] Operation: 45-21=24
Exploring Operation: 45-45=0, Resulting Numbers: [21, 0]
Generated Node #0,0,3: 25:[21, 0] Operation: 45-45=0
Moving to Node #0,3
Current State: 25:[21, 47, 47], Operations: ['92-45=47']
Exploring Operation: 47-47=0, Resulting Numbers: [21, 0]
Generated Node #0,3,0: 25:[21, 0] Operation: 47-47=0
Exploring Operation: 47-21=26, Resulting Numbers: [47, 26]
Generated Node #0,3,1: 25:[47, 26] Operation: 47-21=26
Exploring Operation: 47/47=1, Resulting Numbers: [21, 1]
Generated Node #0,3,2: 25:[21, 1] Operation: 47/47=1
Exploring Operation: 47-21=26, Resulting Numbers: [47, 26]
Generated Node #0,3,3: 25:[47, 26] Operation: 47-21=26
Moving to Node #0,2
Current State: 25:[92, 21, 2], Operations: ['47-45=2']
Exploring Operation: 21+2=23, Resulting Numbers: [92, 23]
Generated Node #0,2,0: 25:[92, 23] Operation: 21+2=23
Exploring Operation: 92/2=46, Resulting Numbers: [21, 46]
Generated Node #0,2,1: 25:[21, 46] Operation: 92/2=46
Exploring Operation: 92-2=90, Resulting Numbers: [21, 90]
Generated Node #0,2,2: 25:[21, 90] Operation: 92-2=90
Exploring Operation: 92-21=71, Resulting Numbers: [2, 71]
Generated Node #0,2,3: 25:[2, 71] Operation: 92-21=71
Moving to Node #0,1
Current State: 25:[45, 47, 71], Operations: ['92-21=71']
Exploring Operation: 47-45=2, Resulting Numbers: [71, 2]
Generated Node #0,1,0: 25:[71, 2] Operation: 47-45=2
Exploring Operation: 71-47=24, Resulting Numbers: [45, 24]
Generated Node #0,1,1: 25:[45, 24] Operation: 71-47=24
Exploring Operation: 71-45=26, Resulting Numbers: [47, 26]
Generated Node #0,1,2: 25:[47, 26] Operation: 71-45=26
Exploring Operation: 45+47=92, Resulting Numbers: [71, 92]
Generated Node #0,1,3: 25:[71, 92] Operation: 45+47=92
Moving to Node #0,0,0
Current State: 25:[21, 1], Operations: ['92-47=45', '45/45=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[21, 1], Operations: ['92-45=47', '47/47=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[21, 0], Operations: ['92-45=47', '47-47=0']
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[21, 0], Operations: ['92-47=45', '45-45=0']
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 21*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[45, 24], Operations: ['92-47=45', '45-21=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[45, 24], Operations: ['92-21=71', '71-47=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,25 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[45, 24], Operations: ['92-47=45', '45-21=24']
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,25 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[47, 26], Operations: ['92-45=47', '47-21=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[47, 26], Operations: ['92-45=47', '47-21=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[47, 26], Operations: ['92-21=71', '71-45=26']
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,25 unequal: No Solution
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[21, 46], Operations: ['47-45=2', '92/2=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[92, 45, 21, 47], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [92, 21, 2]
Generated Node #0,2: 25:[92, 21, 2] Operation: 47-45=2
Moving to Node #0,2
Current State: 25:[92, 21, 2], Operations: ['47-45=2']
Exploring Operation: 92/2=46, Resulting Numbers: [21, 46]
Generated Node #0,2,1: 25:[21, 46] Operation: 92/2=46
Moving to Node #0,2,1
Current State: 25:[21, 46], Operations: ['47-45=2', '92/2=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.950521 | hs_4 | mult_heuristic |
[
32,
70,
97,
51
] | 46 | [
"32+70=102",
"97+51=148",
"148-102=46"
] | Current State: 46:[32, 70, 97, 51], Operations: []
Exploring Operation: 32+70=102, Resulting Numbers: [97, 51, 102]
Generated Node #2: [97, 51, 102] from Operation: 32+70=102
Current State: 46:[97, 51, 102], Operations: ['32+70=102']
Exploring Operation: 97+51=148, Resulting Numbers: [102, 148]
Generated Node #3: [102, 148] from Operation: 97+51=148
Current State: 46:[102, 148], Operations: ['32+70=102', '97+51=148']
Exploring Operation: 148-102=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[32, 70, 97, 51], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [32, 51, 27]
Generated Node #0,0: 46:[32, 51, 27] Operation: 97-70=27
Moving to Node #0,0
Current State: 46:[32, 51, 27], Operations: ['97-70=27']
Exploring Operation: 51-32=19, Resulting Numbers: [27, 19]
Generated Node #0,0,0: 46:[27, 19] Operation: 51-32=19
Moving to Node #0,0,0
Current State: 46:[27, 19], Operations: ['97-70=27', '51-32=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[32, 70, 97, 51], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [32, 51, 27]
Generated Node #0,0: 46:[32, 51, 27] Operation: 97-70=27
Moving to Node #0,0
Current State: 46:[32, 51, 27], Operations: ['97-70=27']
Exploring Operation: 51-32=19, Resulting Numbers: [27, 19]
Generated Node #0,0,0: 46:[27, 19] Operation: 51-32=19
Moving to Node #0,0,0
Current State: 46:[27, 19], Operations: ['97-70=27', '51-32=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
4,
8,
41,
43
] | 42 | [
"8/4=2",
"41+43=84",
"84/2=42"
] | Current State: 42:[4, 8, 41, 43], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [41, 43, 2]
Generated Node #2: [41, 43, 2] from Operation: 8/4=2
Current State: 42:[41, 43, 2], Operations: ['8/4=2']
Exploring Operation: 41+43=84, Resulting Numbers: [2, 84]
Generated Node #3: [2, 84] from Operation: 41+43=84
Current State: 42:[2, 84], Operations: ['8/4=2', '41+43=84']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[4, 8, 41, 43], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [41, 43, 2]
Generated Node #0,0: 42:[41, 43, 2] Operation: 8/4=2
Exploring Operation: 43-41=2, Resulting Numbers: [4, 8, 2]
Generated Node #0,1: 42:[4, 8, 2] Operation: 43-41=2
Moving to Node #0,0
Current State: 42:[41, 43, 2], Operations: ['8/4=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43, 43]
Generated Node #0,0,0: 42:[43, 43] Operation: 41+2=43
Exploring Operation: 43-41=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 42:[2, 2] Operation: 43-41=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[2, 2], Operations: ['8/4=2', '43-41=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,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,0,0
Current State: 42:[43, 43], Operations: ['8/4=2', '41+2=43']
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,42 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: 42:[4, 8, 2], Operations: ['43-41=2']
Exploring Operation: 8-4=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 42:[2, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 42:[2, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[2, 2], Operations: ['43-41=2', '8/4=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,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,1,0
Current State: 42:[2, 4], Operations: ['43-41=2', '8-4=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
31,
28,
19
] | 42 | [
"58+31=89",
"28+19=47",
"89-47=42"
] | Current State: 42:[58, 31, 28, 19], Operations: []
Exploring Operation: 58+31=89, Resulting Numbers: [28, 19, 89]
Generated Node #2: [28, 19, 89] from Operation: 58+31=89
Current State: 42:[28, 19, 89], Operations: ['58+31=89']
Exploring Operation: 28+19=47, Resulting Numbers: [89, 47]
Generated Node #3: [89, 47] from Operation: 28+19=47
Current State: 42:[89, 47], Operations: ['58+31=89', '28+19=47']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[58, 31, 28, 19], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [28, 19, 27]
Generated Node #0,0: 42:[28, 19, 27] Operation: 58-31=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[28, 19, 27], Operations: ['58-31=27']
Exploring Operation: 28-27=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 42:[19, 1] Operation: 28-27=1
Moving to Node #0,0,0
Current State: 42:[19, 1], Operations: ['58-31=27', '28-27=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
81,
14,
71,
79
] | 55 | [
"81+14=95",
"71+79=150",
"150-95=55"
] | Current State: 55:[81, 14, 71, 79], Operations: []
Exploring Operation: 81+14=95, Resulting Numbers: [71, 79, 95]
Generated Node #2: [71, 79, 95] from Operation: 81+14=95
Current State: 55:[71, 79, 95], Operations: ['81+14=95']
Exploring Operation: 71+79=150, Resulting Numbers: [95, 150]
Generated Node #3: [95, 150] from Operation: 71+79=150
Current State: 55:[95, 150], Operations: ['81+14=95', '71+79=150']
Exploring Operation: 150-95=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[81, 14, 71, 79], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [14, 79, 10]
Generated Node #0,0: 55:[14, 79, 10] Operation: 81-71=10
Exploring Operation: 79-71=8, Resulting Numbers: [81, 14, 8]
Generated Node #0,1: 55:[81, 14, 8] Operation: 79-71=8
Exploring Operation: 81-79=2, Resulting Numbers: [14, 71, 2]
Generated Node #0,2: 55:[14, 71, 2] Operation: 81-79=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[14, 71, 2], Operations: ['81-79=2']
Exploring Operation: 14-2=12, Resulting Numbers: [71, 12]
Generated Node #0,2,0: 55:[71, 12] Operation: 14-2=12
Exploring Operation: 71-2=69, Resulting Numbers: [14, 69]
Generated Node #0,2,1: 55:[14, 69] Operation: 71-2=69
Exploring Operation: 71-14=57, Resulting Numbers: [2, 57]
Generated Node #0,2,2: 55:[2, 57] Operation: 71-14=57
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[2, 57], Operations: ['81-79=2', '71-14=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[81, 14, 71, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [14, 71, 2]
Generated Node #0,2: 55:[14, 71, 2] Operation: 81-79=2
Moving to Node #0,2
Current State: 55:[14, 71, 2], Operations: ['81-79=2']
Exploring Operation: 71-14=57, Resulting Numbers: [2, 57]
Generated Node #0,2,2: 55:[2, 57] Operation: 71-14=57
Moving to Node #0,2,2
Current State: 55:[2, 57], Operations: ['81-79=2', '71-14=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
38,
34,
86,
52
] | 39 | [
"86-34=52",
"52/52=1",
"38+1=39"
] | Current State: 39:[38, 34, 86, 52], Operations: []
Exploring Operation: 86-34=52, Resulting Numbers: [38, 52, 52]
Generated Node #2: [38, 52, 52] from Operation: 86-34=52
Current State: 39:[38, 52, 52], Operations: ['86-34=52']
Exploring Operation: 52/52=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 52/52=1
Current State: 39:[38, 1], Operations: ['86-34=52', '52/52=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[38, 34, 86, 52], Operations: []
Exploring Operation: 86-52=34, Resulting Numbers: [38, 34, 34]
Generated Node #0,0: 39:[38, 34, 34] Operation: 86-52=34
Moving to Node #0,0
Current State: 39:[38, 34, 34], Operations: ['86-52=34']
Exploring Operation: 34/34=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 39:[38, 1] Operation: 34/34=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[38, 1], Operations: ['86-52=34', '34/34=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[38, 34, 86, 52], Operations: []
Exploring Operation: 86-52=34, Resulting Numbers: [38, 34, 34]
Generated Node #0,0: 39:[38, 34, 34] Operation: 86-52=34
Moving to Node #0,0
Current State: 39:[38, 34, 34], Operations: ['86-52=34']
Exploring Operation: 34/34=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 39:[38, 1] Operation: 34/34=1
Moving to Node #0,0,0
Current State: 39:[38, 1], Operations: ['86-52=34', '34/34=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
65,
14,
91,
41
] | 31 | [
"65*14=910",
"910/91=10",
"41-10=31"
] | Current State: 31:[65, 14, 91, 41], Operations: []
Exploring Operation: 65*14=910, Resulting Numbers: [91, 41, 910]
Generated Node #2: [91, 41, 910] from Operation: 65*14=910
Current State: 31:[91, 41, 910], Operations: ['65*14=910']
Exploring Operation: 910/91=10, Resulting Numbers: [41, 10]
Generated Node #3: [41, 10] from Operation: 910/91=10
Current State: 31:[41, 10], Operations: ['65*14=910', '910/91=10']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[65, 14, 91, 41], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [14, 41, 26]
Generated Node #0,0: 31:[14, 41, 26] Operation: 91-65=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[14, 41, 26], Operations: ['91-65=26']
Exploring Operation: 41-14=27, Resulting Numbers: [26, 27]
Generated Node #0,0,0: 31:[26, 27] Operation: 41-14=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[26, 27], Operations: ['91-65=26', '41-14=27']
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,31 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 |
[
77,
18,
66,
61
] | 40 | [
"77*18=1386",
"1386/66=21",
"61-21=40"
] | Current State: 40:[77, 18, 66, 61], Operations: []
Exploring Operation: 77*18=1386, Resulting Numbers: [66, 61, 1386]
Generated Node #2: [66, 61, 1386] from Operation: 77*18=1386
Current State: 40:[66, 61, 1386], Operations: ['77*18=1386']
Exploring Operation: 1386/66=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 1386/66=21
Current State: 40:[61, 21], Operations: ['77*18=1386', '1386/66=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[77, 18, 66, 61], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [77, 18, 5]
Generated Node #0,0: 40:[77, 18, 5] Operation: 66-61=5
Exploring Operation: 77-61=16, Resulting Numbers: [18, 66, 16]
Generated Node #0,1: 40:[18, 66, 16] Operation: 77-61=16
Exploring Operation: 66-18=48, Resulting Numbers: [77, 61, 48]
Generated Node #0,2: 40:[77, 61, 48] Operation: 66-18=48
Exploring Operation: 77-66=11, Resulting Numbers: [18, 61, 11]
Generated Node #0,3: 40:[18, 61, 11] Operation: 77-66=11
Exploring Operation: 77-18=59, Resulting Numbers: [66, 61, 59]
Generated Node #0,4: 40:[66, 61, 59] Operation: 77-18=59
Moving to Node #0,3
Current State: 40:[18, 61, 11], Operations: ['77-66=11']
Exploring Operation: 61-18=43, Resulting Numbers: [11, 43]
Generated Node #0,3,0: 40:[11, 43] Operation: 61-18=43
Exploring Operation: 18+11=29, Resulting Numbers: [61, 29]
Generated Node #0,3,1: 40:[61, 29] Operation: 18+11=29
Exploring Operation: 61+11=72, Resulting Numbers: [18, 72]
Generated Node #0,3,2: 40:[18, 72] Operation: 61+11=72
Exploring Operation: 18-11=7, Resulting Numbers: [61, 7]
Generated Node #0,3,3: 40:[61, 7] Operation: 18-11=7
Exploring Operation: 61-11=50, Resulting Numbers: [18, 50]
Generated Node #0,3,4: 40:[18, 50] Operation: 61-11=50
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[11, 43], Operations: ['77-66=11', '61-18=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,40 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,40 unequal: No Solution
No 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: 40:[18, 50], Operations: ['77-66=11', '61-11=50']
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,40 unequal: No Solution
No 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: 40:[61, 7], Operations: ['77-66=11', '18-11=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,40 unequal: No Solution
No 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: 40:[61, 29], Operations: ['77-66=11', '18+11=29']
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,40 unequal: No Solution
No 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: 40:[18, 72], Operations: ['77-66=11', '61+11=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,40 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: 40:[18, 66, 16], Operations: ['77-61=16']
Exploring Operation: 66-18=48, Resulting Numbers: [16, 48]
Generated Node #0,1,0: 40:[16, 48] Operation: 66-18=48
Exploring Operation: 66-16=50, Resulting Numbers: [18, 50]
Generated Node #0,1,1: 40:[18, 50] Operation: 66-16=50
Exploring Operation: 18-16=2, Resulting Numbers: [66, 2]
Generated Node #0,1,2: 40:[66, 2] Operation: 18-16=2
Exploring Operation: 66+16=82, Resulting Numbers: [18, 82]
Generated Node #0,1,3: 40:[18, 82] Operation: 66+16=82
Exploring Operation: 18+16=34, Resulting Numbers: [66, 34]
Generated Node #0,1,4: 40:[66, 34] Operation: 18+16=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[16, 48], Operations: ['77-61=16', '66-18=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,40 unequal: No Solution
No 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: 40:[18, 50], Operations: ['77-61=16', '66-16=50']
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,40 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,40 unequal: No Solution
No 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: 40:[66, 2], Operations: ['77-61=16', '18-16=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,40 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,40 unequal: No Solution
No 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: 40:[66, 34], Operations: ['77-61=16', '18+16=34']
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,40 unequal: No Solution
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,40 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,40 unequal: No Solution
No 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: 40:[18, 82], Operations: ['77-61=16', '66+16=82']
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,40 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 18*82=1476, Resulting Numbers: [1476]
1476,40 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: 40:[77, 18, 5], Operations: ['66-61=5']
Exploring Operation: 77-18=59, Resulting Numbers: [5, 59]
Generated Node #0,0,0: 40:[5, 59] Operation: 77-18=59
Exploring Operation: 18+5=23, Resulting Numbers: [77, 23]
Generated Node #0,0,1: 40:[77, 23] Operation: 18+5=23
Exploring Operation: 77-5=72, Resulting Numbers: [18, 72]
Generated Node #0,0,2: 40:[18, 72] Operation: 77-5=72
Exploring Operation: 77+5=82, Resulting Numbers: [18, 82]
Generated Node #0,0,3: 40:[18, 82] Operation: 77+5=82
Exploring Operation: 18-5=13, Resulting Numbers: [77, 13]
Generated Node #0,0,4: 40:[77, 13] Operation: 18-5=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[5, 59], Operations: ['66-61=5', '77-18=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,40 unequal: No Solution
No 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: 40:[18, 72], Operations: ['66-61=5', '77-5=72']
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,40 unequal: No Solution
No 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: 40:[77, 23], Operations: ['66-61=5', '18+5=23']
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,40 unequal: No Solution
Exploring Operation: 77*23=1771, Resulting Numbers: [1771]
1771,40 unequal: No Solution
No 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: 40:[77, 13], Operations: ['66-61=5', '18-5=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,40 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,40 unequal: No Solution
No 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: 40:[18, 82], Operations: ['66-61=5', '77+5=82']
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,40 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 18*82=1476, Resulting Numbers: [1476]
1476,40 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: 40:[77, 61, 48], Operations: ['66-18=48']
Exploring Operation: 77+48=125, Resulting Numbers: [61, 125]
Generated Node #0,2,0: 40:[61, 125] Operation: 77+48=125
Exploring Operation: 77-61=16, Resulting Numbers: [48, 16]
Generated Node #0,2,1: 40:[48, 16] Operation: 77-61=16
Exploring Operation: 77+61=138, Resulting Numbers: [48, 138]
Generated Node #0,2,2: 40:[48, 138] Operation: 77+61=138
Exploring Operation: 77-48=29, Resulting Numbers: [61, 29]
Generated Node #0,2,3: 40:[61, 29] Operation: 77-48=29
Exploring Operation: 61-48=13, Resulting Numbers: [77, 13]
Generated Node #0,2,4: 40:[77, 13] Operation: 61-48=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[48, 16], Operations: ['66-18=48', '77-61=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,40 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,40 unequal: No Solution
No 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: 40:[61, 29], Operations: ['66-18=48', '77-48=29']
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,40 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,40 unequal: No Solution
No 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: 40:[77, 13], Operations: ['66-18=48', '61-48=13']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,40 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,40 unequal: No Solution
No 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: 40:[61, 125], Operations: ['66-18=48', '77+48=125']
Exploring Operation: 125-61=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 61*125=7625, Resulting Numbers: [7625]
7625,40 unequal: No Solution
Exploring Operation: 61+125=186, Resulting Numbers: [186]
186,40 unequal: No Solution
No 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: 40:[48, 138], Operations: ['66-18=48', '77+61=138']
Exploring Operation: 48*138=6624, Resulting Numbers: [6624]
6624,40 unequal: No Solution
Exploring Operation: 48+138=186, Resulting Numbers: [186]
186,40 unequal: No Solution
Exploring Operation: 138-48=90, Resulting Numbers: [90]
90,40 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: 40:[66, 61, 59], Operations: ['77-18=59']
Exploring Operation: 66-59=7, Resulting Numbers: [61, 7]
Generated Node #0,4,0: 40:[61, 7] Operation: 66-59=7
Exploring Operation: 66-61=5, Resulting Numbers: [59, 5]
Generated Node #0,4,1: 40:[59, 5] Operation: 66-61=5
Exploring Operation: 66+61=127, Resulting Numbers: [59, 127]
Generated Node #0,4,2: 40:[59, 127] Operation: 66+61=127
Exploring Operation: 61-59=2, Resulting Numbers: [66, 2]
Generated Node #0,4,3: 40:[66, 2] Operation: 61-59=2
Exploring Operation: 66+59=125, Resulting Numbers: [61, 125]
Generated Node #0,4,4: 40:[61, 125] Operation: 66+59=125
Moving to Node #0,4,1
Current State: 40:[59, 5], Operations: ['77-18=59', '66-61=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,40 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[61, 7], Operations: ['77-18=59', '66-59=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,40 unequal: No Solution
Moving to Node #0,4,3
Current State: 40:[66, 2], Operations: ['77-18=59', '61-59=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,40 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[59, 127], Operations: ['77-18=59', '66+61=127']
Exploring Operation: 59*127=7493, Resulting Numbers: [7493]
7493,40 unequal: No Solution
Exploring Operation: 127-59=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 59+127=186, Resulting Numbers: [186]
186,40 unequal: No Solution
Moving to Node #0,4,4
Current State: 40:[61, 125], Operations: ['77-18=59', '66+59=125']
Exploring Operation: 61*125=7625, Resulting Numbers: [7625]
7625,40 unequal: No Solution
Exploring Operation: 61+125=186, Resulting Numbers: [186]
186,40 unequal: No Solution
Exploring Operation: 125-61=64, Resulting Numbers: [64]
64,40 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
98,
26,
47,
32
] | 52 | [
"98+32=130",
"130/26=5",
"47+5=52"
] | Current State: 52:[98, 26, 47, 32], Operations: []
Exploring Operation: 98+32=130, Resulting Numbers: [26, 47, 130]
Generated Node #2: [26, 47, 130] from Operation: 98+32=130
Current State: 52:[26, 47, 130], Operations: ['98+32=130']
Exploring Operation: 130/26=5, Resulting Numbers: [47, 5]
Generated Node #3: [47, 5] from Operation: 130/26=5
Current State: 52:[47, 5], Operations: ['98+32=130', '130/26=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[98, 26, 47, 32], Operations: []
Exploring Operation: 98-32=66, Resulting Numbers: [26, 47, 66]
Generated Node #0,0: 52:[26, 47, 66] Operation: 98-32=66
Exploring Operation: 98-47=51, Resulting Numbers: [26, 32, 51]
Generated Node #0,1: 52:[26, 32, 51] Operation: 98-47=51
Moving to Node #0,1
Current State: 52:[26, 32, 51], Operations: ['98-47=51']
Exploring Operation: 51-32=19, Resulting Numbers: [26, 19]
Generated Node #0,1,0: 52:[26, 19] Operation: 51-32=19
Exploring Operation: 32-26=6, Resulting Numbers: [51, 6]
Generated Node #0,1,1: 52:[51, 6] Operation: 32-26=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[51, 6], Operations: ['98-47=51', '32-26=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,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,0
Current State: 52:[26, 19], Operations: ['98-47=51', '51-32=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,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:[26, 47, 66], Operations: ['98-32=66']
Exploring Operation: 66-47=19, Resulting Numbers: [26, 19]
Generated Node #0,0,0: 52:[26, 19] Operation: 66-47=19
Exploring Operation: 66-26=40, Resulting Numbers: [47, 40]
Generated Node #0,0,1: 52:[47, 40] Operation: 66-26=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[26, 19], Operations: ['98-32=66', '66-47=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,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:[47, 40], Operations: ['98-32=66', '66-26=40']
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,52 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
26,
66,
23
] | 72 | [
"26-9=17",
"66+23=89",
"89-17=72"
] | Current State: 72:[9, 26, 66, 23], Operations: []
Exploring Operation: 26-9=17, Resulting Numbers: [66, 23, 17]
Generated Node #2: [66, 23, 17] from Operation: 26-9=17
Current State: 72:[66, 23, 17], Operations: ['26-9=17']
Exploring Operation: 66+23=89, Resulting Numbers: [17, 89]
Generated Node #3: [17, 89] from Operation: 66+23=89
Current State: 72:[17, 89], Operations: ['26-9=17', '66+23=89']
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[9, 26, 66, 23], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [9, 23, 40]
Generated Node #0,0: 72:[9, 23, 40] Operation: 66-26=40
Moving to Node #0,0
Current State: 72:[9, 23, 40], Operations: ['66-26=40']
Exploring Operation: 40-23=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 72:[9, 17] Operation: 40-23=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[9, 17], Operations: ['66-26=40', '40-23=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,72 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 |
[
50,
86,
85,
12
] | 39 | [
"50+86=136",
"85+12=97",
"136-97=39"
] | Current State: 39:[50, 86, 85, 12], Operations: []
Exploring Operation: 50+86=136, Resulting Numbers: [85, 12, 136]
Generated Node #2: [85, 12, 136] from Operation: 50+86=136
Current State: 39:[85, 12, 136], Operations: ['50+86=136']
Exploring Operation: 85+12=97, Resulting Numbers: [136, 97]
Generated Node #3: [136, 97] from Operation: 85+12=97
Current State: 39:[136, 97], Operations: ['50+86=136', '85+12=97']
Exploring Operation: 136-97=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[50, 86, 85, 12], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [50, 12, 1]
Generated Node #0,0: 39:[50, 12, 1] Operation: 86-85=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[50, 12, 1], Operations: ['86-85=1']
Exploring Operation: 50-12=38, Resulting Numbers: [1, 38]
Generated Node #0,0,0: 39:[1, 38] Operation: 50-12=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[1, 38], Operations: ['86-85=1', '50-12=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[50, 86, 85, 12], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [50, 12, 1]
Generated Node #0,0: 39:[50, 12, 1] Operation: 86-85=1
Moving to Node #0,0
Current State: 39:[50, 12, 1], Operations: ['86-85=1']
Exploring Operation: 50-12=38, Resulting Numbers: [1, 38]
Generated Node #0,0,0: 39:[1, 38] Operation: 50-12=38
Moving to Node #0,0,0
Current State: 39:[1, 38], Operations: ['86-85=1', '50-12=38']
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
25,
35,
35,
93
] | 48 | [
"35-25=10",
"93-35=58",
"58-10=48"
] | Current State: 48:[25, 35, 35, 93], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [93, 10]
Generated Node #2: [93, 10] from Operation: 35-25=10
Current State: 48:[93, 10], Operations: ['35-25=10']
Exploring Operation: 93-35=58, Resulting Numbers: [10, 58]
Generated Node #3: [10, 58] from Operation: 93-35=58
Current State: 48:[10, 58], Operations: ['35-25=10', '93-35=58']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[25, 35, 35, 93], Operations: []
Exploring Operation: 93-35=58, Resulting Numbers: [25, 35, 58]
Generated Node #0,0: 48:[25, 35, 58] Operation: 93-35=58
Moving to Node #0,0
Current State: 48:[25, 35, 58], Operations: ['93-35=58']
Exploring Operation: 58-35=23, Resulting Numbers: [25, 23]
Generated Node #0,0,0: 48:[25, 23] Operation: 58-35=23
Moving to Node #0,0,0
Current State: 48:[25, 23], Operations: ['93-35=58', '58-35=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[25, 35, 35, 93], Operations: []
Exploring Operation: 93-35=58, Resulting Numbers: [25, 35, 58]
Generated Node #0,0: 48:[25, 35, 58] Operation: 93-35=58
Moving to Node #0,0
Current State: 48:[25, 35, 58], Operations: ['93-35=58']
Exploring Operation: 58-35=23, Resulting Numbers: [25, 23]
Generated Node #0,0,0: 48:[25, 23] Operation: 58-35=23
Moving to Node #0,0,0
Current State: 48:[25, 23], Operations: ['93-35=58', '58-35=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
10,
69,
42,
1
] | 100 | [
"69-10=59",
"42-1=41",
"59+41=100"
] | Current State: 100:[10, 69, 42, 1], Operations: []
Exploring Operation: 69-10=59, Resulting Numbers: [42, 1, 59]
Generated Node #2: [42, 1, 59] from Operation: 69-10=59
Current State: 100:[42, 1, 59], Operations: ['69-10=59']
Exploring Operation: 42-1=41, Resulting Numbers: [59, 41]
Generated Node #3: [59, 41] from Operation: 42-1=41
Current State: 100:[59, 41], Operations: ['69-10=59', '42-1=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[10, 69, 42, 1], Operations: []
Exploring Operation: 69-42=27, Resulting Numbers: [10, 1, 27]
Generated Node #0,0: 100:[10, 1, 27] Operation: 69-42=27
Exploring Operation: 69-10=59, Resulting Numbers: [42, 1, 59]
Generated Node #0,1: 100:[42, 1, 59] Operation: 69-10=59
Exploring Operation: 69+42=111, Resulting Numbers: [10, 1, 111]
Generated Node #0,2: 100:[10, 1, 111] Operation: 69+42=111
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[10, 1, 27], Operations: ['69-42=27']
Exploring Operation: 10/1=10, Resulting Numbers: [27, 10]
Generated Node #0,0,0: 100:[27, 10] Operation: 10/1=10
Exploring Operation: 10*1=10, Resulting Numbers: [27, 10]
Generated Node #0,0,1: 100:[27, 10] Operation: 10*1=10
Exploring Operation: 27-1=26, Resulting Numbers: [10, 26]
Generated Node #0,0,2: 100:[10, 26] Operation: 27-1=26
Moving to Node #0,0,2
Current State: 100:[10, 26], Operations: ['69-42=27', '27-1=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,100 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[27, 10], Operations: ['69-42=27', '10/1=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,100 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[27, 10], Operations: ['69-42=27', '10*1=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,100 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,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
Current State: 100:[10, 1, 111], Operations: ['69+42=111']
Exploring Operation: 10*1=10, Resulting Numbers: [111, 10]
Generated Node #0,2,0: 100:[111, 10] Operation: 10*1=10
Exploring Operation: 111-10=101, Resulting Numbers: [1, 101]
Generated Node #0,2,1: 100:[1, 101] Operation: 111-10=101
Exploring Operation: 111-1=110, Resulting Numbers: [10, 110]
Generated Node #0,2,2: 100:[10, 110] Operation: 111-1=110
Moving to Node #0,2,1
Current State: 100:[1, 101], Operations: ['69+42=111', '111-10=101']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[10, 69, 42, 1], Operations: []
Exploring Operation: 69+42=111, Resulting Numbers: [10, 1, 111]
Generated Node #0,2: 100:[10, 1, 111] Operation: 69+42=111
Moving to Node #0,2
Current State: 100:[10, 1, 111], Operations: ['69+42=111']
Exploring Operation: 111-10=101, Resulting Numbers: [1, 101]
Generated Node #0,2,1: 100:[1, 101] Operation: 111-10=101
Moving to Node #0,2,1
Current State: 100:[1, 101], Operations: ['69+42=111', '111-10=101']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
3,
70,
51,
6
] | 78 | [
"51-3=48",
"48/6=8",
"70+8=78"
] | Current State: 78:[3, 70, 51, 6], Operations: []
Exploring Operation: 51-3=48, Resulting Numbers: [70, 6, 48]
Generated Node #2: [70, 6, 48] from Operation: 51-3=48
Current State: 78:[70, 6, 48], Operations: ['51-3=48']
Exploring Operation: 48/6=8, Resulting Numbers: [70, 8]
Generated Node #3: [70, 8] from Operation: 48/6=8
Current State: 78:[70, 8], Operations: ['51-3=48', '48/6=8']
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[3, 70, 51, 6], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [3, 6, 19]
Generated Node #0,0: 78:[3, 6, 19] Operation: 70-51=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[3, 6, 19], Operations: ['70-51=19']
Exploring Operation: 19-6=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 78:[3, 13] Operation: 19-6=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[3, 13], Operations: ['70-51=19', '19-6=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
44,
13,
34,
39
] | 62 | [
"44+13=57",
"39-34=5",
"57+5=62"
] | Current State: 62:[44, 13, 34, 39], Operations: []
Exploring Operation: 44+13=57, Resulting Numbers: [34, 39, 57]
Generated Node #2: [34, 39, 57] from Operation: 44+13=57
Current State: 62:[34, 39, 57], Operations: ['44+13=57']
Exploring Operation: 39-34=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 39-34=5
Current State: 62:[57, 5], Operations: ['44+13=57', '39-34=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[44, 13, 34, 39], Operations: []
Exploring Operation: 44-13=31, Resulting Numbers: [34, 39, 31]
Generated Node #0,0: 62:[34, 39, 31] Operation: 44-13=31
Moving to Node #0,0
Current State: 62:[34, 39, 31], Operations: ['44-13=31']
Exploring Operation: 39-34=5, Resulting Numbers: [31, 5]
Generated Node #0,0,0: 62:[31, 5] Operation: 39-34=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[31, 5], Operations: ['44-13=31', '39-34=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,62 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 |
[
15,
40,
50,
36
] | 38 | [
"40-15=25",
"50/25=2",
"36+2=38"
] | Current State: 38:[15, 40, 50, 36], Operations: []
Exploring Operation: 40-15=25, Resulting Numbers: [50, 36, 25]
Generated Node #2: [50, 36, 25] from Operation: 40-15=25
Current State: 38:[50, 36, 25], Operations: ['40-15=25']
Exploring Operation: 50/25=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 50/25=2
Current State: 38:[36, 2], Operations: ['40-15=25', '50/25=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[15, 40, 50, 36], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [40, 36, 35]
Generated Node #0,0: 38:[40, 36, 35] Operation: 50-15=35
Exploring Operation: 50-40=10, Resulting Numbers: [15, 36, 10]
Generated Node #0,1: 38:[15, 36, 10] Operation: 50-40=10
Exploring Operation: 50-36=14, Resulting Numbers: [15, 40, 14]
Generated Node #0,2: 38:[15, 40, 14] Operation: 50-36=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[40, 36, 35], Operations: ['50-15=35']
Exploring Operation: 40-36=4, Resulting Numbers: [35, 4]
Generated Node #0,0,0: 38:[35, 4] Operation: 40-36=4
Exploring Operation: 36-35=1, Resulting Numbers: [40, 1]
Generated Node #0,0,1: 38:[40, 1] Operation: 36-35=1
Exploring Operation: 40-35=5, Resulting Numbers: [36, 5]
Generated Node #0,0,2: 38:[36, 5] Operation: 40-35=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[40, 1], Operations: ['50-15=35', '36-35=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[35, 4], Operations: ['50-15=35', '40-36=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,38 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[36, 5], Operations: ['50-15=35', '40-35=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,38 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[15, 40, 14], Operations: ['50-36=14']
Exploring Operation: 15+14=29, Resulting Numbers: [40, 29]
Generated Node #0,2,0: 38:[40, 29] Operation: 15+14=29
Exploring Operation: 40-15=25, Resulting Numbers: [14, 25]
Generated Node #0,2,1: 38:[14, 25] Operation: 40-15=25
Exploring Operation: 15-14=1, Resulting Numbers: [40, 1]
Generated Node #0,2,2: 38:[40, 1] Operation: 15-14=1
Moving to Node #0,2,2
Current State: 38:[40, 1], Operations: ['50-36=14', '15-14=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[40, 29], Operations: ['50-36=14', '15+14=29']
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[14, 25], Operations: ['50-36=14', '40-15=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,38 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[15, 36, 10], Operations: ['50-40=10']
Exploring Operation: 15-10=5, Resulting Numbers: [36, 5]
Generated Node #0,1,0: 38:[36, 5] Operation: 15-10=5
Exploring Operation: 36-15=21, Resulting Numbers: [10, 21]
Generated Node #0,1,1: 38:[10, 21] Operation: 36-15=21
Exploring Operation: 15+10=25, Resulting Numbers: [36, 25]
Generated Node #0,1,2: 38:[36, 25] Operation: 15+10=25
Moving to Node #0,1,0
Current State: 38:[36, 5], Operations: ['50-40=10', '15-10=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,38 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[36, 25], Operations: ['50-40=10', '15+10=25']
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,38 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[10, 21], Operations: ['50-40=10', '36-15=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,38 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
29,
11,
58,
25
] | 73 | [
"29+11=40",
"58-25=33",
"40+33=73"
] | Current State: 73:[29, 11, 58, 25], Operations: []
Exploring Operation: 29+11=40, Resulting Numbers: [58, 25, 40]
Generated Node #2: [58, 25, 40] from Operation: 29+11=40
Current State: 73:[58, 25, 40], Operations: ['29+11=40']
Exploring Operation: 58-25=33, Resulting Numbers: [40, 33]
Generated Node #3: [40, 33] from Operation: 58-25=33
Current State: 73:[40, 33], Operations: ['29+11=40', '58-25=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[29, 11, 58, 25], Operations: []
Exploring Operation: 29+25=54, Resulting Numbers: [11, 58, 54]
Generated Node #0,0: 73:[11, 58, 54] Operation: 29+25=54
Exploring Operation: 29+11=40, Resulting Numbers: [58, 25, 40]
Generated Node #0,1: 73:[58, 25, 40] Operation: 29+11=40
Exploring Operation: 11+58=69, Resulting Numbers: [29, 25, 69]
Generated Node #0,2: 73:[29, 25, 69] Operation: 11+58=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[11, 58, 54], Operations: ['29+25=54']
Exploring Operation: 11+54=65, Resulting Numbers: [58, 65]
Generated Node #0,0,0: 73:[58, 65] Operation: 11+54=65
Exploring Operation: 58-11=47, Resulting Numbers: [54, 47]
Generated Node #0,0,1: 73:[54, 47] Operation: 58-11=47
Exploring Operation: 11+58=69, Resulting Numbers: [54, 69]
Generated Node #0,0,2: 73:[54, 69] Operation: 11+58=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[58, 65], Operations: ['29+25=54', '11+54=65']
Exploring Operation: 58+65=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 58*65=3770, Resulting Numbers: [3770]
3770,73 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: 73:[54, 69], Operations: ['29+25=54', '11+58=69']
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,73 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,73 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: 73:[54, 47], Operations: ['29+25=54', '58-11=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,73 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: 73:[58, 25, 40], Operations: ['29+11=40']
Exploring Operation: 58+25=83, Resulting Numbers: [40, 83]
Generated Node #0,1,0: 73:[40, 83] Operation: 58+25=83
Exploring Operation: 58-25=33, Resulting Numbers: [40, 33]
Generated Node #0,1,1: 73:[40, 33] Operation: 58-25=33
Exploring Operation: 25+40=65, Resulting Numbers: [58, 65]
Generated Node #0,1,2: 73:[58, 65] Operation: 25+40=65
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[58, 65], Operations: ['29+11=40', '25+40=65']
Exploring Operation: 58+65=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 58*65=3770, Resulting Numbers: [3770]
3770,73 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,73 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: 73:[40, 83], Operations: ['29+11=40', '58+25=83']
Exploring Operation: 40+83=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 40*83=3320, Resulting Numbers: [3320]
3320,73 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,73 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: 73:[40, 33], Operations: ['29+11=40', '58-25=33']
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,73 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[29, 11, 58, 25], Operations: []
Exploring Operation: 29+11=40, Resulting Numbers: [58, 25, 40]
Generated Node #0,1: 73:[58, 25, 40] Operation: 29+11=40
Moving to Node #0,1
Current State: 73:[58, 25, 40], Operations: ['29+11=40']
Exploring Operation: 58-25=33, Resulting Numbers: [40, 33]
Generated Node #0,1,1: 73:[40, 33] Operation: 58-25=33
Moving to Node #0,1,1
Current State: 73:[40, 33], Operations: ['29+11=40', '58-25=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
79,
36,
39,
21
] | 16 | [
"39-36=3",
"21*3=63",
"79-63=16"
] | Current State: 16:[79, 36, 39, 21], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [79, 21, 3]
Generated Node #2: [79, 21, 3] from Operation: 39-36=3
Current State: 16:[79, 21, 3], Operations: ['39-36=3']
Exploring Operation: 21*3=63, Resulting Numbers: [79, 63]
Generated Node #3: [79, 63] from Operation: 21*3=63
Current State: 16:[79, 63], Operations: ['39-36=3', '21*3=63']
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[79, 36, 39, 21], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [36, 21, 40]
Generated Node #0,0: 16:[36, 21, 40] Operation: 79-39=40
Exploring Operation: 79-36=43, Resulting Numbers: [39, 21, 43]
Generated Node #0,1: 16:[39, 21, 43] Operation: 79-36=43
Exploring Operation: 79-21=58, Resulting Numbers: [36, 39, 58]
Generated Node #0,2: 16:[36, 39, 58] Operation: 79-21=58
Exploring Operation: 39-36=3, Resulting Numbers: [79, 21, 3]
Generated Node #0,3: 16:[79, 21, 3] Operation: 39-36=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[36, 21, 40], Operations: ['79-39=40']
Exploring Operation: 36+21=57, Resulting Numbers: [40, 57]
Generated Node #0,0,0: 16:[40, 57] Operation: 36+21=57
Exploring Operation: 40-21=19, Resulting Numbers: [36, 19]
Generated Node #0,0,1: 16:[36, 19] Operation: 40-21=19
Exploring Operation: 36-21=15, Resulting Numbers: [40, 15]
Generated Node #0,0,2: 16:[40, 15] Operation: 36-21=15
Exploring Operation: 40-36=4, Resulting Numbers: [21, 4]
Generated Node #0,0,3: 16:[21, 4] Operation: 40-36=4
Moving to Node #0,0,3
Current State: 16:[21, 4], Operations: ['79-39=40', '40-36=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[36, 19], Operations: ['79-39=40', '40-21=19']
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[40, 15], Operations: ['79-39=40', '36-21=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[40, 57], Operations: ['79-39=40', '36+21=57']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,16 unequal: No Solution
No 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: 16:[39, 21, 43], Operations: ['79-36=43']
Exploring Operation: 39+21=60, Resulting Numbers: [43, 60]
Generated Node #0,1,0: 16:[43, 60] Operation: 39+21=60
Exploring Operation: 39-21=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 16:[43, 18] Operation: 39-21=18
Exploring Operation: 43-21=22, Resulting Numbers: [39, 22]
Generated Node #0,1,2: 16:[39, 22] Operation: 43-21=22
Exploring Operation: 43-39=4, Resulting Numbers: [21, 4]
Generated Node #0,1,3: 16:[21, 4] Operation: 43-39=4
Moving to Node #0,1,3
Current State: 16:[21, 4], Operations: ['79-36=43', '43-39=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[39, 22], Operations: ['79-36=43', '43-21=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,16 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[43, 18], Operations: ['79-36=43', '39-21=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,16 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[43, 60], Operations: ['79-36=43', '39+21=60']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,16 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,16 unequal: No Solution
No 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: 16:[79, 21, 3], Operations: ['39-36=3']
Exploring Operation: 21/3=7, Resulting Numbers: [79, 7]
Generated Node #0,3,0: 16:[79, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [79, 18]
Generated Node #0,3,1: 16:[79, 18] Operation: 21-3=18
Exploring Operation: 79-3=76, Resulting Numbers: [21, 76]
Generated Node #0,3,2: 16:[21, 76] Operation: 79-3=76
Exploring Operation: 79-21=58, Resulting Numbers: [3, 58]
Generated Node #0,3,3: 16:[3, 58] Operation: 79-21=58
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 16:[3, 58], Operations: ['39-36=3', '79-21=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,16 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,16 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: 16:[79, 7], Operations: ['39-36=3', '21/3=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,16 unequal: No Solution
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,16 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,16 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: 16:[79, 18], Operations: ['39-36=3', '21-3=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,16 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,16 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: 16:[21, 76], Operations: ['39-36=3', '79-3=76']
Exploring Operation: 21+76=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 21*76=1596, Resulting Numbers: [1596]
1596,16 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: 16:[36, 39, 58], Operations: ['79-21=58']
Exploring Operation: 36+39=75, Resulting Numbers: [58, 75]
Generated Node #0,2,0: 16:[58, 75] Operation: 36+39=75
Exploring Operation: 58-39=19, Resulting Numbers: [36, 19]
Generated Node #0,2,1: 16:[36, 19] Operation: 58-39=19
Exploring Operation: 39-36=3, Resulting Numbers: [58, 3]
Generated Node #0,2,2: 16:[58, 3] Operation: 39-36=3
Exploring Operation: 58-36=22, Resulting Numbers: [39, 22]
Generated Node #0,2,3: 16:[39, 22] Operation: 58-36=22
Moving to Node #0,2,1
Current State: 16:[36, 19], Operations: ['79-21=58', '58-39=19']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[39, 22], Operations: ['79-21=58', '58-36=22']
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,16 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[58, 3], Operations: ['79-21=58', '39-36=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[58, 75], Operations: ['79-21=58', '36+39=75']
Exploring Operation: 58*75=4350, Resulting Numbers: [4350]
4350,16 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 58+75=133, Resulting Numbers: [133]
133,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
93,
37,
13
] | 27 | [
"93-70=23",
"37+13=50",
"50-23=27"
] | Current State: 27:[70, 93, 37, 13], Operations: []
Exploring Operation: 93-70=23, Resulting Numbers: [37, 13, 23]
Generated Node #2: [37, 13, 23] from Operation: 93-70=23
Current State: 27:[37, 13, 23], Operations: ['93-70=23']
Exploring Operation: 37+13=50, Resulting Numbers: [23, 50]
Generated Node #3: [23, 50] from Operation: 37+13=50
Current State: 27:[23, 50], Operations: ['93-70=23', '37+13=50']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[70, 93, 37, 13], Operations: []
Exploring Operation: 93-70=23, Resulting Numbers: [37, 13, 23]
Generated Node #0,0: 27:[37, 13, 23] Operation: 93-70=23
Moving to Node #0,0
Current State: 27:[37, 13, 23], Operations: ['93-70=23']
Exploring Operation: 37-13=24, Resulting Numbers: [23, 24]
Generated Node #0,0,0: 27:[23, 24] Operation: 37-13=24
Moving to Node #0,0,0
Current State: 27:[23, 24], Operations: ['93-70=23', '37-13=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
39,
28,
8,
76
] | 72 | [
"39+28=67",
"76-67=9",
"8*9=72"
] | Current State: 72:[39, 28, 8, 76], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [8, 76, 67]
Generated Node #2: [8, 76, 67] from Operation: 39+28=67
Current State: 72:[8, 76, 67], Operations: ['39+28=67']
Exploring Operation: 76-67=9, Resulting Numbers: [8, 9]
Generated Node #3: [8, 9] from Operation: 76-67=9
Current State: 72:[8, 9], Operations: ['39+28=67', '76-67=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[39, 28, 8, 76], Operations: []
Exploring Operation: 28+8=36, Resulting Numbers: [39, 76, 36]
Generated Node #0,0: 72:[39, 76, 36] Operation: 28+8=36
Exploring Operation: 39-28=11, Resulting Numbers: [8, 76, 11]
Generated Node #0,1: 72:[8, 76, 11] Operation: 39-28=11
Exploring Operation: 76-39=37, Resulting Numbers: [28, 8, 37]
Generated Node #0,2: 72:[28, 8, 37] Operation: 76-39=37
Moving to Node #0,1
Current State: 72:[8, 76, 11], Operations: ['39-28=11']
Exploring Operation: 76-8=68, Resulting Numbers: [11, 68]
Generated Node #0,1,0: 72:[11, 68] Operation: 76-8=68
Exploring Operation: 8+11=19, Resulting Numbers: [76, 19]
Generated Node #0,1,1: 72:[76, 19] Operation: 8+11=19
Exploring Operation: 11-8=3, Resulting Numbers: [76, 3]
Generated Node #0,1,2: 72:[76, 3] Operation: 11-8=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[76, 3], Operations: ['39-28=11', '11-8=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,72 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,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,1,0
Current State: 72:[11, 68], Operations: ['39-28=11', '76-8=68']
Exploring Operation: 11*68=748, Resulting Numbers: [748]
748,72 unequal: No Solution
Exploring Operation: 11+68=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,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,1,1
Current State: 72:[76, 19], Operations: ['39-28=11', '8+11=19']
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,72 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,72 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,72 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: 72:[28, 8, 37], Operations: ['76-39=37']
Exploring Operation: 37-28=9, Resulting Numbers: [8, 9]
Generated Node #0,2,0: 72:[8, 9] Operation: 37-28=9
Exploring Operation: 28-8=20, Resulting Numbers: [37, 20]
Generated Node #0,2,1: 72:[37, 20] Operation: 28-8=20
Exploring Operation: 28+8=36, Resulting Numbers: [37, 36]
Generated Node #0,2,2: 72:[37, 36] Operation: 28+8=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[8, 9], Operations: ['76-39=37', '37-28=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[39, 28, 8, 76], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [28, 8, 37]
Generated Node #0,2: 72:[28, 8, 37] Operation: 76-39=37
Moving to Node #0,2
Current State: 72:[28, 8, 37], Operations: ['76-39=37']
Exploring Operation: 37-28=9, Resulting Numbers: [8, 9]
Generated Node #0,2,0: 72:[8, 9] Operation: 37-28=9
Moving to Node #0,2,0
Current State: 72:[8, 9], Operations: ['76-39=37', '37-28=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
2,
58,
52,
54
] | 50 | [
"58-2=56",
"52+54=106",
"106-56=50"
] | Current State: 50:[2, 58, 52, 54], Operations: []
Exploring Operation: 58-2=56, Resulting Numbers: [52, 54, 56]
Generated Node #2: [52, 54, 56] from Operation: 58-2=56
Current State: 50:[52, 54, 56], Operations: ['58-2=56']
Exploring Operation: 52+54=106, Resulting Numbers: [56, 106]
Generated Node #3: [56, 106] from Operation: 52+54=106
Current State: 50:[56, 106], Operations: ['58-2=56', '52+54=106']
Exploring Operation: 106-56=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[2, 58, 52, 54], Operations: []
Exploring Operation: 58-2=56, Resulting Numbers: [52, 54, 56]
Generated Node #0,0: 50:[52, 54, 56] Operation: 58-2=56
Exploring Operation: 58/2=29, Resulting Numbers: [52, 54, 29]
Generated Node #0,1: 50:[52, 54, 29] Operation: 58/2=29
Exploring Operation: 58-52=6, Resulting Numbers: [2, 54, 6]
Generated Node #0,2: 50:[2, 54, 6] Operation: 58-52=6
Exploring Operation: 58-54=4, Resulting Numbers: [2, 52, 4]
Generated Node #0,3: 50:[2, 52, 4] Operation: 58-54=4
Exploring Operation: 54-52=2, Resulting Numbers: [2, 58, 2]
Generated Node #0,4: 50:[2, 58, 2] Operation: 54-52=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[2, 52, 4], Operations: ['58-54=4']
Exploring Operation: 52/2=26, Resulting Numbers: [4, 26]
Generated Node #0,3,0: 50:[4, 26] Operation: 52/2=26
Exploring Operation: 52-4=48, Resulting Numbers: [2, 48]
Generated Node #0,3,1: 50:[2, 48] Operation: 52-4=48
Exploring Operation: 4/2=2, Resulting Numbers: [52, 2]
Generated Node #0,3,2: 50:[52, 2] Operation: 4/2=2
Exploring Operation: 52-2=50, Resulting Numbers: [4, 50]
Generated Node #0,3,3: 50:[4, 50] Operation: 52-2=50
Exploring Operation: 4-2=2, Resulting Numbers: [52, 2]
Generated Node #0,3,4: 50:[52, 2] Operation: 4-2=2
Moving to Node #0,3,3
Current State: 50:[4, 50], Operations: ['58-54=4', '52-2=50']
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,50 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[2, 48], Operations: ['58-54=4', '52-4=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[2, 58, 52, 54], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [2, 52, 4]
Generated Node #0,3: 50:[2, 52, 4] Operation: 58-54=4
Moving to Node #0,3
Current State: 50:[2, 52, 4], Operations: ['58-54=4']
Exploring Operation: 52-4=48, Resulting Numbers: [2, 48]
Generated Node #0,3,1: 50:[2, 48] Operation: 52-4=48
Moving to Node #0,3,1
Current State: 50:[2, 48], Operations: ['58-54=4', '52-4=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
29,
70,
42,
63
] | 23 | [
"70-63=7",
"42/7=6",
"29-6=23"
] | Current State: 23:[29, 70, 42, 63], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [29, 42, 7]
Generated Node #2: [29, 42, 7] from Operation: 70-63=7
Current State: 23:[29, 42, 7], Operations: ['70-63=7']
Exploring Operation: 42/7=6, Resulting Numbers: [29, 6]
Generated Node #3: [29, 6] from Operation: 42/7=6
Current State: 23:[29, 6], Operations: ['70-63=7', '42/7=6']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[29, 70, 42, 63], Operations: []
Exploring Operation: 70-29=41, Resulting Numbers: [42, 63, 41]
Generated Node #0,0: 23:[42, 63, 41] Operation: 70-29=41
Exploring Operation: 70-42=28, Resulting Numbers: [29, 63, 28]
Generated Node #0,1: 23:[29, 63, 28] Operation: 70-42=28
Exploring Operation: 63-42=21, Resulting Numbers: [29, 70, 21]
Generated Node #0,2: 23:[29, 70, 21] Operation: 63-42=21
Exploring Operation: 70-63=7, Resulting Numbers: [29, 42, 7]
Generated Node #0,3: 23:[29, 42, 7] Operation: 70-63=7
Moving to Node #0,3
Current State: 23:[29, 42, 7], Operations: ['70-63=7']
Exploring Operation: 42-29=13, Resulting Numbers: [7, 13]
Generated Node #0,3,0: 23:[7, 13] Operation: 42-29=13
Exploring Operation: 42/7=6, Resulting Numbers: [29, 6]
Generated Node #0,3,1: 23:[29, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [29, 35]
Generated Node #0,3,2: 23:[29, 35] Operation: 42-7=35
Exploring Operation: 29-7=22, Resulting Numbers: [42, 22]
Generated Node #0,3,3: 23:[42, 22] Operation: 29-7=22
Moving to Node #0,1
Current State: 23:[29, 63, 28], Operations: ['70-42=28']
Exploring Operation: 29+63=92, Resulting Numbers: [28, 92]
Generated Node #0,1,0: 23:[28, 92] Operation: 29+63=92
Exploring Operation: 63-29=34, Resulting Numbers: [28, 34]
Generated Node #0,1,1: 23:[28, 34] Operation: 63-29=34
Exploring Operation: 63-28=35, Resulting Numbers: [29, 35]
Generated Node #0,1,2: 23:[29, 35] Operation: 63-28=35
Exploring Operation: 29-28=1, Resulting Numbers: [63, 1]
Generated Node #0,1,3: 23:[63, 1] Operation: 29-28=1
Moving to Node #0,2
Current State: 23:[29, 70, 21], Operations: ['63-42=21']
Exploring Operation: 29+21=50, Resulting Numbers: [70, 50]
Generated Node #0,2,0: 23:[70, 50] Operation: 29+21=50
Exploring Operation: 29-21=8, Resulting Numbers: [70, 8]
Generated Node #0,2,1: 23:[70, 8] Operation: 29-21=8
Exploring Operation: 70-21=49, Resulting Numbers: [29, 49]
Generated Node #0,2,2: 23:[29, 49] Operation: 70-21=49
Exploring Operation: 70-29=41, Resulting Numbers: [21, 41]
Generated Node #0,2,3: 23:[21, 41] Operation: 70-29=41
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[21, 41], Operations: ['63-42=21', '70-29=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,23 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No 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: 23:[29, 49], Operations: ['63-42=21', '70-21=49']
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,23 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,23 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,23 unequal: No Solution
No 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: 23:[70, 8], Operations: ['63-42=21', '29-21=8']
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,23 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,23 unequal: No Solution
No 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: 23:[70, 50], Operations: ['63-42=21', '29+21=50']
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 70+50=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 70*50=3500, Resulting Numbers: [3500]
3500,23 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: 23:[42, 63, 41], Operations: ['70-29=41']
Exploring Operation: 42-41=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 23:[63, 1] Operation: 42-41=1
Exploring Operation: 42+63=105, Resulting Numbers: [41, 105]
Generated Node #0,0,1: 23:[41, 105] Operation: 42+63=105
Exploring Operation: 63-41=22, Resulting Numbers: [42, 22]
Generated Node #0,0,2: 23:[42, 22] Operation: 63-41=22
Exploring Operation: 63-42=21, Resulting Numbers: [41, 21]
Generated Node #0,0,3: 23:[41, 21] Operation: 63-42=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[42, 22], Operations: ['70-29=41', '63-41=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,23 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,23 unequal: No Solution
No 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: 23:[41, 21], Operations: ['70-29=41', '63-42=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,23 unequal: No Solution
No 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: 23:[63, 1], Operations: ['70-29=41', '42-41=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No 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: 23:[41, 105], Operations: ['70-29=41', '42+63=105']
Exploring Operation: 41*105=4305, Resulting Numbers: [4305]
4305,23 unequal: No Solution
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 41+105=146, Resulting Numbers: [146]
146,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 23:[28, 34], Operations: ['70-42=28', '63-29=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[29, 35], Operations: ['70-42=28', '63-28=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,23 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[29, 35], Operations: ['70-63=7', '42-7=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,23 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[42, 22], Operations: ['70-63=7', '29-7=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[29, 6], Operations: ['70-63=7', '42/7=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[29, 70, 42, 63], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [29, 42, 7]
Generated Node #0,3: 23:[29, 42, 7] Operation: 70-63=7
Moving to Node #0,3
Current State: 23:[29, 42, 7], Operations: ['70-63=7']
Exploring Operation: 42/7=6, Resulting Numbers: [29, 6]
Generated Node #0,3,1: 23:[29, 6] Operation: 42/7=6
Moving to Node #0,3,1
Current State: 23:[29, 6], Operations: ['70-63=7', '42/7=6']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.945313 | hs_4 | sum_heuristic |
[
56,
69,
55,
64
] | 16 | [
"69-55=14",
"56/14=4",
"64/4=16"
] | Current State: 16:[56, 69, 55, 64], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [56, 64, 14]
Generated Node #2: [56, 64, 14] from Operation: 69-55=14
Current State: 16:[56, 64, 14], Operations: ['69-55=14']
Exploring Operation: 56/14=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 56/14=4
Current State: 16:[64, 4], Operations: ['69-55=14', '56/14=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[56, 69, 55, 64], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [56, 64, 14]
Generated Node #0,0: 16:[56, 64, 14] Operation: 69-55=14
Exploring Operation: 64-56=8, Resulting Numbers: [69, 55, 8]
Generated Node #0,1: 16:[69, 55, 8] Operation: 64-56=8
Exploring Operation: 69-56=13, Resulting Numbers: [55, 64, 13]
Generated Node #0,2: 16:[55, 64, 13] Operation: 69-56=13
Exploring Operation: 69-64=5, Resulting Numbers: [56, 55, 5]
Generated Node #0,3: 16:[56, 55, 5] Operation: 69-64=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[56, 55, 5], Operations: ['69-64=5']
Exploring Operation: 55/5=11, Resulting Numbers: [56, 11]
Generated Node #0,3,0: 16:[56, 11] Operation: 55/5=11
Exploring Operation: 56-55=1, Resulting Numbers: [5, 1]
Generated Node #0,3,1: 16:[5, 1] Operation: 56-55=1
Exploring Operation: 56-5=51, Resulting Numbers: [55, 51]
Generated Node #0,3,2: 16:[55, 51] Operation: 56-5=51
Exploring Operation: 55-5=50, Resulting Numbers: [56, 50]
Generated Node #0,3,3: 16:[56, 50] Operation: 55-5=50
Moving to Node #0,3,1
Current State: 16:[5, 1], Operations: ['69-64=5', '56-55=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[56, 11], Operations: ['69-64=5', '55/5=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,16 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[56, 50], Operations: ['69-64=5', '55-5=50']
Exploring Operation: 56*50=2800, Resulting Numbers: [2800]
2800,16 unequal: No Solution
Exploring Operation: 56+50=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[55, 51], Operations: ['69-64=5', '56-5=51']
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 55*51=2805, Resulting Numbers: [2805]
2805,16 unequal: No Solution
Exploring Operation: 55+51=106, Resulting Numbers: [106]
106,16 unequal: No Solution
No 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: 16:[56, 64, 14], Operations: ['69-55=14']
Exploring Operation: 64-14=50, Resulting Numbers: [56, 50]
Generated Node #0,0,0: 16:[56, 50] Operation: 64-14=50
Exploring Operation: 64-56=8, Resulting Numbers: [14, 8]
Generated Node #0,0,1: 16:[14, 8] Operation: 64-56=8
Exploring Operation: 56-14=42, Resulting Numbers: [64, 42]
Generated Node #0,0,2: 16:[64, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [64, 4]
Generated Node #0,0,3: 16:[64, 4] Operation: 56/14=4
Moving to Node #0,0,1
Current State: 16:[14, 8], Operations: ['69-55=14', '64-56=8']
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,16 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[64, 4], Operations: ['69-55=14', '56/14=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,16 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[56, 69, 55, 64], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [56, 64, 14]
Generated Node #0,0: 16:[56, 64, 14] Operation: 69-55=14
Moving to Node #0,0
Current State: 16:[56, 64, 14], Operations: ['69-55=14']
Exploring Operation: 56/14=4, Resulting Numbers: [64, 4]
Generated Node #0,0,3: 16:[64, 4] Operation: 56/14=4
Moving to Node #0,0,3
Current State: 16:[64, 4], Operations: ['69-55=14', '56/14=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
47,
67,
56,
97
] | 73 | [
"47+67=114",
"97-56=41",
"114-41=73"
] | Current State: 73:[47, 67, 56, 97], Operations: []
Exploring Operation: 47+67=114, Resulting Numbers: [56, 97, 114]
Generated Node #2: [56, 97, 114] from Operation: 47+67=114
Current State: 73:[56, 97, 114], Operations: ['47+67=114']
Exploring Operation: 97-56=41, Resulting Numbers: [114, 41]
Generated Node #3: [114, 41] from Operation: 97-56=41
Current State: 73:[114, 41], Operations: ['47+67=114', '97-56=41']
Exploring Operation: 114-41=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[47, 67, 56, 97], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [67, 56, 50]
Generated Node #0,0: 73:[67, 56, 50] Operation: 97-47=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[67, 56, 50], Operations: ['97-47=50']
Exploring Operation: 56+50=106, Resulting Numbers: [67, 106]
Generated Node #0,0,0: 73:[67, 106] Operation: 56+50=106
Moving to Node #0,0,0
Current State: 73:[67, 106], Operations: ['97-47=50', '56+50=106']
Exploring Operation: 106-67=39, Resulting Numbers: [39]
39,73 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 |
[
20,
72,
48,
76
] | 36 | [
"20+76=96",
"72*48=3456",
"3456/96=36"
] | Current State: 36:[20, 72, 48, 76], Operations: []
Exploring Operation: 20+76=96, Resulting Numbers: [72, 48, 96]
Generated Node #2: [72, 48, 96] from Operation: 20+76=96
Current State: 36:[72, 48, 96], Operations: ['20+76=96']
Exploring Operation: 72*48=3456, Resulting Numbers: [96, 3456]
Generated Node #3: [96, 3456] from Operation: 72*48=3456
Current State: 36:[96, 3456], Operations: ['20+76=96', '72*48=3456']
Exploring Operation: 3456/96=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[20, 72, 48, 76], Operations: []
Exploring Operation: 72-20=52, Resulting Numbers: [48, 76, 52]
Generated Node #0,0: 36:[48, 76, 52] Operation: 72-20=52
Exploring Operation: 76-48=28, Resulting Numbers: [20, 72, 28]
Generated Node #0,1: 36:[20, 72, 28] Operation: 76-48=28
Exploring Operation: 72-48=24, Resulting Numbers: [20, 76, 24]
Generated Node #0,2: 36:[20, 76, 24] Operation: 72-48=24
Exploring Operation: 76-72=4, Resulting Numbers: [20, 48, 4]
Generated Node #0,3: 36:[20, 48, 4] Operation: 76-72=4
Exploring Operation: 76-20=56, Resulting Numbers: [72, 48, 56]
Generated Node #0,4: 36:[72, 48, 56] Operation: 76-20=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[20, 48, 4], Operations: ['76-72=4']
Exploring Operation: 48-20=28, Resulting Numbers: [4, 28]
Generated Node #0,3,0: 36:[4, 28] Operation: 48-20=28
Exploring Operation: 20-4=16, Resulting Numbers: [48, 16]
Generated Node #0,3,1: 36:[48, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [48, 5]
Generated Node #0,3,2: 36:[48, 5] Operation: 20/4=5
Exploring Operation: 48/4=12, Resulting Numbers: [20, 12]
Generated Node #0,3,3: 36:[20, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [20, 44]
Generated Node #0,3,4: 36:[20, 44] Operation: 48-4=44
Moving to Node #0,3,3
Current State: 36:[20, 12], Operations: ['76-72=4', '48/4=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[4, 28], Operations: ['76-72=4', '48-20=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,36 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,3,4
Current State: 36:[20, 44], Operations: ['76-72=4', '48-4=44']
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,36 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[48, 5], Operations: ['76-72=4', '20/4=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,36 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[48, 16], Operations: ['76-72=4', '20-4=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,36 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,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:[20, 72, 28], Operations: ['76-48=28']
Exploring Operation: 28-20=8, Resulting Numbers: [72, 8]
Generated Node #0,1,0: 36:[72, 8] Operation: 28-20=8
Exploring Operation: 20+28=48, Resulting Numbers: [72, 48]
Generated Node #0,1,1: 36:[72, 48] Operation: 20+28=48
Exploring Operation: 72-20=52, Resulting Numbers: [28, 52]
Generated Node #0,1,2: 36:[28, 52] Operation: 72-20=52
Exploring Operation: 20+72=92, Resulting Numbers: [28, 92]
Generated Node #0,1,3: 36:[28, 92] Operation: 20+72=92
Exploring Operation: 72-28=44, Resulting Numbers: [20, 44]
Generated Node #0,1,4: 36:[20, 44] Operation: 72-28=44
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 36:[20, 44], Operations: ['76-48=28', '72-28=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,36 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,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,2
Current State: 36:[28, 52], Operations: ['76-48=28', '72-20=52']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,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,0
Current State: 36:[72, 8], Operations: ['76-48=28', '28-20=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,36 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,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:[72, 48], Operations: ['76-48=28', '20+28=48']
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,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,3
Current State: 36:[28, 92], Operations: ['76-48=28', '20+72=92']
Exploring Operation: 28*92=2576, Resulting Numbers: [2576]
2576,36 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 28+92=120, Resulting Numbers: [120]
120,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,2
Current State: 36:[20, 76, 24], Operations: ['72-48=24']
Exploring Operation: 76-20=56, Resulting Numbers: [24, 56]
Generated Node #0,2,0: 36:[24, 56] Operation: 76-20=56
Exploring Operation: 76-24=52, Resulting Numbers: [20, 52]
Generated Node #0,2,1: 36:[20, 52] Operation: 76-24=52
Exploring Operation: 20+76=96, Resulting Numbers: [24, 96]
Generated Node #0,2,2: 36:[24, 96] Operation: 20+76=96
Exploring Operation: 20+24=44, Resulting Numbers: [76, 44]
Generated Node #0,2,3: 36:[76, 44] Operation: 20+24=44
Exploring Operation: 24-20=4, Resulting Numbers: [76, 4]
Generated Node #0,2,4: 36:[76, 4] Operation: 24-20=4
Moving to Node #0,2,1
Current State: 36:[20, 52], Operations: ['72-48=24', '76-24=52']
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,36 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[24, 56], Operations: ['72-48=24', '76-20=56']
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,36 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Moving to Node #0,2,4
Current State: 36:[76, 4], Operations: ['72-48=24', '24-20=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,36 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[76, 44], Operations: ['72-48=24', '20+24=44']
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,36 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[24, 96], Operations: ['72-48=24', '20+76=96']
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 24*96=2304, Resulting Numbers: [2304]
2304,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,0
Current State: 36:[48, 76, 52], Operations: ['72-20=52']
Exploring Operation: 76-48=28, Resulting Numbers: [52, 28]
Generated Node #0,0,0: 36:[52, 28] Operation: 76-48=28
Exploring Operation: 48+76=124, Resulting Numbers: [52, 124]
Generated Node #0,0,1: 36:[52, 124] Operation: 48+76=124
Exploring Operation: 48+52=100, Resulting Numbers: [76, 100]
Generated Node #0,0,2: 36:[76, 100] Operation: 48+52=100
Exploring Operation: 76-52=24, Resulting Numbers: [48, 24]
Generated Node #0,0,3: 36:[48, 24] Operation: 76-52=24
Exploring Operation: 52-48=4, Resulting Numbers: [76, 4]
Generated Node #0,0,4: 36:[76, 4] Operation: 52-48=4
Moving to Node #0,0,3
Current State: 36:[48, 24], Operations: ['72-20=52', '76-52=24']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[52, 28], Operations: ['72-20=52', '76-48=28']
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,36 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[76, 4], Operations: ['72-20=52', '52-48=4']
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,36 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[52, 124], Operations: ['72-20=52', '48+76=124']
Exploring Operation: 124-52=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 52+124=176, Resulting Numbers: [176]
176,36 unequal: No Solution
Exploring Operation: 52*124=6448, Resulting Numbers: [6448]
6448,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[76, 100], Operations: ['72-20=52', '48+52=100']
Exploring Operation: 100-76=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 76+100=176, Resulting Numbers: [176]
176,36 unequal: No Solution
Exploring Operation: 76*100=7600, Resulting Numbers: [7600]
7600,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,4
Current State: 36:[72, 48, 56], Operations: ['76-20=56']
Exploring Operation: 72-56=16, Resulting Numbers: [48, 16]
Generated Node #0,4,0: 36:[48, 16] Operation: 72-56=16
Exploring Operation: 72+48=120, Resulting Numbers: [56, 120]
Generated Node #0,4,1: 36:[56, 120] Operation: 72+48=120
Exploring Operation: 56-48=8, Resulting Numbers: [72, 8]
Generated Node #0,4,2: 36:[72, 8] Operation: 56-48=8
Exploring Operation: 72+56=128, Resulting Numbers: [48, 128]
Generated Node #0,4,3: 36:[48, 128] Operation: 72+56=128
Exploring Operation: 72-48=24, Resulting Numbers: [56, 24]
Generated Node #0,4,4: 36:[56, 24] Operation: 72-48=24
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 36:[48, 16], Operations: ['76-20=56', '72-56=16']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,36 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,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,4,4
Current State: 36:[56, 24], Operations: ['76-20=56', '72-48=24']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,36 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,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,4,2
Current State: 36:[72, 8], Operations: ['76-20=56', '56-48=8']
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,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,4,1
Current State: 36:[56, 120], Operations: ['76-20=56', '72+48=120']
Exploring Operation: 56*120=6720, Resulting Numbers: [6720]
6720,36 unequal: No Solution
Exploring Operation: 120-56=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 56+120=176, Resulting Numbers: [176]
176,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,4,3
Current State: 36:[48, 128], Operations: ['76-20=56', '72+56=128']
Exploring Operation: 48*128=6144, Resulting Numbers: [6144]
6144,36 unequal: No Solution
Exploring Operation: 128-48=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Exploring Operation: 48+128=176, Resulting Numbers: [176]
176,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_5 | sum_heuristic |
[
86,
41,
92,
92
] | 46 | [
"86-41=45",
"92/92=1",
"45+1=46"
] | Current State: 46:[86, 41, 92, 92], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [92, 92, 45]
Generated Node #2: [92, 92, 45] from Operation: 86-41=45
Current State: 46:[92, 92, 45], Operations: ['86-41=45']
Exploring Operation: 92/92=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 92/92=1
Current State: 46:[45, 1], Operations: ['86-41=45', '92/92=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[86, 41, 92, 92], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [86, 41, 1]
Generated Node #0,0: 46:[86, 41, 1] Operation: 92/92=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[86, 41, 1], Operations: ['92/92=1']
Exploring Operation: 86-41=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 46:[1, 45] Operation: 86-41=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[1, 45], Operations: ['92/92=1', '86-41=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[86, 41, 92, 92], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [86, 41, 1]
Generated Node #0,0: 46:[86, 41, 1] Operation: 92/92=1
Moving to Node #0,0
Current State: 46:[86, 41, 1], Operations: ['92/92=1']
Exploring Operation: 86-41=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 46:[1, 45] Operation: 86-41=45
Moving to Node #0,0,0
Current State: 46:[1, 45], Operations: ['92/92=1', '86-41=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
92,
93,
53,
20
] | 94 | [
"93-53=40",
"40/20=2",
"92+2=94"
] | Current State: 94:[92, 93, 53, 20], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [92, 20, 40]
Generated Node #2: [92, 20, 40] from Operation: 93-53=40
Current State: 94:[92, 20, 40], Operations: ['93-53=40']
Exploring Operation: 40/20=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 40/20=2
Current State: 94:[92, 2], Operations: ['93-53=40', '40/20=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[92, 93, 53, 20], Operations: []
Exploring Operation: 53+20=73, Resulting Numbers: [92, 93, 73]
Generated Node #0,0: 94:[92, 93, 73] Operation: 53+20=73
Exploring Operation: 92+20=112, Resulting Numbers: [93, 53, 112]
Generated Node #0,1: 94:[93, 53, 112] Operation: 92+20=112
Exploring Operation: 53-20=33, Resulting Numbers: [92, 93, 33]
Generated Node #0,2: 94:[92, 93, 33] Operation: 53-20=33
Exploring Operation: 93-92=1, Resulting Numbers: [53, 20, 1]
Generated Node #0,3: 94:[53, 20, 1] Operation: 93-92=1
Exploring Operation: 92-53=39, Resulting Numbers: [93, 20, 39]
Generated Node #0,4: 94:[93, 20, 39] Operation: 92-53=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[92, 93, 33], Operations: ['53-20=33']
Exploring Operation: 93+33=126, Resulting Numbers: [92, 126]
Generated Node #0,2,0: 94:[92, 126] Operation: 93+33=126
Exploring Operation: 93-92=1, Resulting Numbers: [33, 1]
Generated Node #0,2,1: 94:[33, 1] Operation: 93-92=1
Exploring Operation: 93-33=60, Resulting Numbers: [92, 60]
Generated Node #0,2,2: 94:[92, 60] Operation: 93-33=60
Exploring Operation: 92+33=125, Resulting Numbers: [93, 125]
Generated Node #0,2,3: 94:[93, 125] Operation: 92+33=125
Exploring Operation: 92-33=59, Resulting Numbers: [93, 59]
Generated Node #0,2,4: 94:[93, 59] Operation: 92-33=59
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 94:[93, 59], Operations: ['53-20=33', '92-33=59']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,94 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,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,2,1
Current State: 94:[33, 1], Operations: ['53-20=33', '93-92=1']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,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,2,2
Current State: 94:[92, 60], Operations: ['53-20=33', '93-33=60']
Exploring Operation: 92+60=152, Resulting Numbers: [152]
152,94 unequal: No Solution
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 92*60=5520, Resulting Numbers: [5520]
5520,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,2,3
Current State: 94:[93, 125], Operations: ['53-20=33', '92+33=125']
Exploring Operation: 125-93=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 93*125=11625, Resulting Numbers: [11625]
11625,94 unequal: No Solution
Exploring Operation: 93+125=218, Resulting Numbers: [218]
218,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,2,0
Current State: 94:[92, 126], Operations: ['53-20=33', '93+33=126']
Exploring Operation: 126-92=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 92+126=218, Resulting Numbers: [218]
218,94 unequal: No Solution
Exploring Operation: 92*126=11592, Resulting Numbers: [11592]
11592,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,0
Current State: 94:[92, 93, 73], Operations: ['53+20=73']
Exploring Operation: 92-73=19, Resulting Numbers: [93, 19]
Generated Node #0,0,0: 94:[93, 19] Operation: 92-73=19
Exploring Operation: 93-92=1, Resulting Numbers: [73, 1]
Generated Node #0,0,1: 94:[73, 1] Operation: 93-92=1
Exploring Operation: 92+73=165, Resulting Numbers: [93, 165]
Generated Node #0,0,2: 94:[93, 165] Operation: 92+73=165
Exploring Operation: 93-73=20, Resulting Numbers: [92, 20]
Generated Node #0,0,3: 94:[92, 20] Operation: 93-73=20
Exploring Operation: 93+73=166, Resulting Numbers: [92, 166]
Generated Node #0,0,4: 94:[92, 166] Operation: 93+73=166
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[93, 19], Operations: ['53+20=73', '92-73=19']
Exploring Operation: 93*19=1767, Resulting Numbers: [1767]
1767,94 unequal: No Solution
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 93+19=112, Resulting Numbers: [112]
112,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,0,3
Current State: 94:[92, 20], Operations: ['53+20=73', '93-73=20']
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,94 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,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,0,1
Current State: 94:[73, 1], Operations: ['53+20=73', '93-92=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,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,0,2
Current State: 94:[93, 165], Operations: ['53+20=73', '92+73=165']
Exploring Operation: 165-93=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 93+165=258, Resulting Numbers: [258]
258,94 unequal: No Solution
Exploring Operation: 93*165=15345, Resulting Numbers: [15345]
15345,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,0,4
Current State: 94:[92, 166], Operations: ['53+20=73', '93+73=166']
Exploring Operation: 92+166=258, Resulting Numbers: [258]
258,94 unequal: No Solution
Exploring Operation: 166-92=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 92*166=15272, Resulting Numbers: [15272]
15272,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:[93, 53, 112], Operations: ['92+20=112']
Exploring Operation: 112-93=19, Resulting Numbers: [53, 19]
Generated Node #0,1,0: 94:[53, 19] Operation: 112-93=19
Exploring Operation: 53+112=165, Resulting Numbers: [93, 165]
Generated Node #0,1,1: 94:[93, 165] Operation: 53+112=165
Exploring Operation: 93-53=40, Resulting Numbers: [112, 40]
Generated Node #0,1,2: 94:[112, 40] Operation: 93-53=40
Exploring Operation: 112-53=59, Resulting Numbers: [93, 59]
Generated Node #0,1,3: 94:[93, 59] Operation: 112-53=59
Exploring Operation: 93+53=146, Resulting Numbers: [112, 146]
Generated Node #0,1,4: 94:[112, 146] Operation: 93+53=146
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[93, 59], Operations: ['92+20=112', '112-53=59']
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,94 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,94 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,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:[53, 19], Operations: ['92+20=112', '112-93=19']
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,94 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,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:[112, 40], Operations: ['92+20=112', '93-53=40']
Exploring Operation: 112*40=4480, Resulting Numbers: [4480]
4480,94 unequal: No Solution
Exploring Operation: 112-40=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 112+40=152, Resulting Numbers: [152]
152,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:[112, 146], Operations: ['92+20=112', '93+53=146']
Exploring Operation: 112+146=258, Resulting Numbers: [258]
258,94 unequal: No Solution
Exploring Operation: 146-112=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 112*146=16352, Resulting Numbers: [16352]
16352,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:[93, 165], Operations: ['92+20=112', '53+112=165']
Exploring Operation: 165-93=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 93+165=258, Resulting Numbers: [258]
258,94 unequal: No Solution
Exploring Operation: 93*165=15345, Resulting Numbers: [15345]
15345,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,3
Current State: 94:[53, 20, 1], Operations: ['93-92=1']
Exploring Operation: 53-1=52, Resulting Numbers: [20, 52]
Generated Node #0,3,0: 94:[20, 52] Operation: 53-1=52
Exploring Operation: 53-20=33, Resulting Numbers: [1, 33]
Generated Node #0,3,1: 94:[1, 33] Operation: 53-20=33
Exploring Operation: 20-1=19, Resulting Numbers: [53, 19]
Generated Node #0,3,2: 94:[53, 19] Operation: 20-1=19
Exploring Operation: 53+20=73, Resulting Numbers: [1, 73]
Generated Node #0,3,3: 94:[1, 73] Operation: 53+20=73
Exploring Operation: 53*1=53, Resulting Numbers: [20, 53]
Generated Node #0,3,4: 94:[20, 53] Operation: 53*1=53
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[1, 33], Operations: ['93-92=1', '53-20=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,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,3,3
Current State: 94:[1, 73], Operations: ['93-92=1', '53+20=73']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 1*73=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 1+73=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,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,3,0
Current State: 94:[20, 52], Operations: ['93-92=1', '53-1=52']
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,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,3,2
Current State: 94:[53, 19], Operations: ['93-92=1', '20-1=19']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,94 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,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,3,4
Current State: 94:[20, 53], Operations: ['93-92=1', '53*1=53']
Exploring Operation: 20+53=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 20*53=1060, Resulting Numbers: [1060]
1060,94 unequal: No Solution
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,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,4
Current State: 94:[93, 20, 39], Operations: ['92-53=39']
Exploring Operation: 39-20=19, Resulting Numbers: [93, 19]
Generated Node #0,4,0: 94:[93, 19] Operation: 39-20=19
Exploring Operation: 93+20=113, Resulting Numbers: [39, 113]
Generated Node #0,4,1: 94:[39, 113] Operation: 93+20=113
Exploring Operation: 93-39=54, Resulting Numbers: [20, 54]
Generated Node #0,4,2: 94:[20, 54] Operation: 93-39=54
Exploring Operation: 20+39=59, Resulting Numbers: [93, 59]
Generated Node #0,4,3: 94:[93, 59] Operation: 20+39=59
Exploring Operation: 93-20=73, Resulting Numbers: [39, 73]
Generated Node #0,4,4: 94:[39, 73] Operation: 93-20=73
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 94:[93, 59], Operations: ['92-53=39', '20+39=59']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,94 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,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,0
Current State: 94:[93, 19], Operations: ['92-53=39', '39-20=19']
Exploring Operation: 93*19=1767, Resulting Numbers: [1767]
1767,94 unequal: No Solution
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 93+19=112, Resulting Numbers: [112]
112,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:[20, 54], Operations: ['92-53=39', '93-39=54']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,94 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,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:[39, 113], Operations: ['92-53=39', '93+20=113']
Exploring Operation: 113-39=74, Resulting Numbers: [74]
74,94 unequal: No Solution
Exploring Operation: 39*113=4407, Resulting Numbers: [4407]
4407,94 unequal: No Solution
Exploring Operation: 39+113=152, Resulting Numbers: [152]
152,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:[39, 73], Operations: ['92-53=39', '93-20=73']
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,94 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
6,
27,
9
] | 32 | [
"8+6=14",
"27-9=18",
"14+18=32"
] | Current State: 32:[8, 6, 27, 9], Operations: []
Exploring Operation: 8+6=14, Resulting Numbers: [27, 9, 14]
Generated Node #2: [27, 9, 14] from Operation: 8+6=14
Current State: 32:[27, 9, 14], Operations: ['8+6=14']
Exploring Operation: 27-9=18, Resulting Numbers: [14, 18]
Generated Node #3: [14, 18] from Operation: 27-9=18
Current State: 32:[14, 18], Operations: ['8+6=14', '27-9=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[8, 6, 27, 9], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [8, 9, 33]
Generated Node #0,0: 32:[8, 9, 33] Operation: 6+27=33
Exploring Operation: 27/9=3, Resulting Numbers: [8, 6, 3]
Generated Node #0,1: 32:[8, 6, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[8, 9, 33], Operations: ['6+27=33']
Exploring Operation: 9-8=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 32:[33, 1] Operation: 9-8=1
Exploring Operation: 8+9=17, Resulting Numbers: [33, 17]
Generated Node #0,0,1: 32:[33, 17] Operation: 8+9=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[33, 1], Operations: ['6+27=33', '9-8=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[8, 6, 27, 9], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [8, 9, 33]
Generated Node #0,0: 32:[8, 9, 33] Operation: 6+27=33
Moving to Node #0,0
Current State: 32:[8, 9, 33], Operations: ['6+27=33']
Exploring Operation: 9-8=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 32:[33, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 32:[33, 1], Operations: ['6+27=33', '9-8=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
67,
90,
51,
1
] | 29 | [
"90-67=23",
"51+1=52",
"52-23=29"
] | Current State: 29:[67, 90, 51, 1], Operations: []
Exploring Operation: 90-67=23, Resulting Numbers: [51, 1, 23]
Generated Node #2: [51, 1, 23] from Operation: 90-67=23
Current State: 29:[51, 1, 23], Operations: ['90-67=23']
Exploring Operation: 51+1=52, Resulting Numbers: [23, 52]
Generated Node #3: [23, 52] from Operation: 51+1=52
Current State: 29:[23, 52], Operations: ['90-67=23', '51+1=52']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[67, 90, 51, 1], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [67, 1, 39]
Generated Node #0,0: 29:[67, 1, 39] Operation: 90-51=39
Exploring Operation: 90-67=23, Resulting Numbers: [51, 1, 23]
Generated Node #0,1: 29:[51, 1, 23] Operation: 90-67=23
Moving to Node #0,1
Current State: 29:[51, 1, 23], Operations: ['90-67=23']
Exploring Operation: 51-1=50, Resulting Numbers: [23, 50]
Generated Node #0,1,0: 29:[23, 50] Operation: 51-1=50
Exploring Operation: 1+23=24, Resulting Numbers: [51, 24]
Generated Node #0,1,1: 29:[51, 24] Operation: 1+23=24
Moving to Node #0,0
Current State: 29:[67, 1, 39], Operations: ['90-51=39']
Exploring Operation: 67-39=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 29:[1, 28] Operation: 67-39=28
Exploring Operation: 67-1=66, Resulting Numbers: [39, 66]
Generated Node #0,0,1: 29:[39, 66] Operation: 67-1=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[1, 28], Operations: ['90-51=39', '67-39=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[67, 90, 51, 1], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [67, 1, 39]
Generated Node #0,0: 29:[67, 1, 39] Operation: 90-51=39
Moving to Node #0,0
Current State: 29:[67, 1, 39], Operations: ['90-51=39']
Exploring Operation: 67-39=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 29:[1, 28] Operation: 67-39=28
Moving to Node #0,0,0
Current State: 29:[1, 28], Operations: ['90-51=39', '67-39=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
81,
26,
88,
82
] | 49 | [
"81-26=55",
"88-82=6",
"55-6=49"
] | Current State: 49:[81, 26, 88, 82], Operations: []
Exploring Operation: 81-26=55, Resulting Numbers: [88, 82, 55]
Generated Node #2: [88, 82, 55] from Operation: 81-26=55
Current State: 49:[88, 82, 55], Operations: ['81-26=55']
Exploring Operation: 88-82=6, Resulting Numbers: [55, 6]
Generated Node #3: [55, 6] from Operation: 88-82=6
Current State: 49:[55, 6], Operations: ['81-26=55', '88-82=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[81, 26, 88, 82], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [26, 82, 7]
Generated Node #0,0: 49:[26, 82, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[26, 82, 7], Operations: ['88-81=7']
Exploring Operation: 82-26=56, Resulting Numbers: [7, 56]
Generated Node #0,0,0: 49:[7, 56] Operation: 82-26=56
Moving to Node #0,0,0
Current State: 49:[7, 56], Operations: ['88-81=7', '82-26=56']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[81, 26, 88, 82], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [26, 82, 7]
Generated Node #0,0: 49:[26, 82, 7] Operation: 88-81=7
Moving to Node #0,0
Current State: 49:[26, 82, 7], Operations: ['88-81=7']
Exploring Operation: 82-26=56, Resulting Numbers: [7, 56]
Generated Node #0,0,0: 49:[7, 56] Operation: 82-26=56
Moving to Node #0,0,0
Current State: 49:[7, 56], Operations: ['88-81=7', '82-26=56']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
14,
3,
30,
91
] | 87 | [
"91-14=77",
"30/3=10",
"77+10=87"
] | Current State: 87:[14, 3, 30, 91], Operations: []
Exploring Operation: 91-14=77, Resulting Numbers: [3, 30, 77]
Generated Node #2: [3, 30, 77] from Operation: 91-14=77
Current State: 87:[3, 30, 77], Operations: ['91-14=77']
Exploring Operation: 30/3=10, Resulting Numbers: [77, 10]
Generated Node #3: [77, 10] from Operation: 30/3=10
Current State: 87:[77, 10], Operations: ['91-14=77', '30/3=10']
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[14, 3, 30, 91], Operations: []
Exploring Operation: 91-14=77, Resulting Numbers: [3, 30, 77]
Generated Node #0,0: 87:[3, 30, 77] Operation: 91-14=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[3, 30, 77], Operations: ['91-14=77']
Exploring Operation: 3+77=80, Resulting Numbers: [30, 80]
Generated Node #0,0,0: 87:[30, 80] Operation: 3+77=80
Moving to Node #0,0,0
Current State: 87:[30, 80], Operations: ['91-14=77', '3+77=80']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,87 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 |
[
26,
4,
60,
42
] | 19 | [
"60-26=34",
"42+34=76",
"76/4=19"
] | Current State: 19:[26, 4, 60, 42], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [4, 42, 34]
Generated Node #2: [4, 42, 34] from Operation: 60-26=34
Current State: 19:[4, 42, 34], Operations: ['60-26=34']
Exploring Operation: 42+34=76, Resulting Numbers: [4, 76]
Generated Node #3: [4, 76] from Operation: 42+34=76
Current State: 19:[4, 76], Operations: ['60-26=34', '42+34=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[26, 4, 60, 42], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [4, 42, 34]
Generated Node #0,0: 19:[4, 42, 34] Operation: 60-26=34
Exploring Operation: 60/4=15, Resulting Numbers: [26, 42, 15]
Generated Node #0,1: 19:[26, 42, 15] Operation: 60/4=15
Exploring Operation: 42-26=16, Resulting Numbers: [4, 60, 16]
Generated Node #0,2: 19:[4, 60, 16] Operation: 42-26=16
Exploring Operation: 60-42=18, Resulting Numbers: [26, 4, 18]
Generated Node #0,3: 19:[26, 4, 18] Operation: 60-42=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[26, 4, 18], Operations: ['60-42=18']
Exploring Operation: 18-4=14, Resulting Numbers: [26, 14]
Generated Node #0,3,0: 19:[26, 14] Operation: 18-4=14
Exploring Operation: 26+4=30, Resulting Numbers: [18, 30]
Generated Node #0,3,1: 19:[18, 30] Operation: 26+4=30
Exploring Operation: 4+18=22, Resulting Numbers: [26, 22]
Generated Node #0,3,2: 19:[26, 22] Operation: 4+18=22
Exploring Operation: 26-4=22, Resulting Numbers: [18, 22]
Generated Node #0,3,3: 19:[18, 22] Operation: 26-4=22
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[18, 22], Operations: ['60-42=18', '26-4=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,19 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 19:[26, 22], Operations: ['60-42=18', '4+18=22']
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,19 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[26, 14], Operations: ['60-42=18', '18-4=14']
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,19 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 19:[18, 30], Operations: ['60-42=18', '26+4=30']
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,19 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[26, 42, 15], Operations: ['60/4=15']
Exploring Operation: 42-15=27, Resulting Numbers: [26, 27]
Generated Node #0,1,0: 19:[26, 27] Operation: 42-15=27
Exploring Operation: 42-26=16, Resulting Numbers: [15, 16]
Generated Node #0,1,1: 19:[15, 16] Operation: 42-26=16
Exploring Operation: 26+15=41, Resulting Numbers: [42, 41]
Generated Node #0,1,2: 19:[42, 41] Operation: 26+15=41
Exploring Operation: 26-15=11, Resulting Numbers: [42, 11]
Generated Node #0,1,3: 19:[42, 11] Operation: 26-15=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[15, 16], Operations: ['60/4=15', '42-26=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[26, 27], Operations: ['60/4=15', '42-15=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 19:[42, 11], Operations: ['60/4=15', '26-15=11']
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,19 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[42, 41], Operations: ['60/4=15', '26+15=41']
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,19 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[4, 42, 34], Operations: ['60-26=34']
Exploring Operation: 34-4=30, Resulting Numbers: [42, 30]
Generated Node #0,0,0: 19:[42, 30] Operation: 34-4=30
Exploring Operation: 4+42=46, Resulting Numbers: [34, 46]
Generated Node #0,0,1: 19:[34, 46] Operation: 4+42=46
Exploring Operation: 42-34=8, Resulting Numbers: [4, 8]
Generated Node #0,0,2: 19:[4, 8] Operation: 42-34=8
Exploring Operation: 42-4=38, Resulting Numbers: [34, 38]
Generated Node #0,0,3: 19:[34, 38] Operation: 42-4=38
Moving to Node #0,0,2
Current State: 19:[4, 8], Operations: ['60-26=34', '42-34=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[34, 38], Operations: ['60-26=34', '42-4=38']
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,19 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[42, 30], Operations: ['60-26=34', '34-4=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,19 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[34, 46], Operations: ['60-26=34', '4+42=46']
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,19 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[4, 60, 16], Operations: ['42-26=16']
Exploring Operation: 60-4=56, Resulting Numbers: [16, 56]
Generated Node #0,2,0: 19:[16, 56] Operation: 60-4=56
Exploring Operation: 4+16=20, Resulting Numbers: [60, 20]
Generated Node #0,2,1: 19:[60, 20] Operation: 4+16=20
Exploring Operation: 60-16=44, Resulting Numbers: [4, 44]
Generated Node #0,2,2: 19:[4, 44] Operation: 60-16=44
Exploring Operation: 60/4=15, Resulting Numbers: [16, 15]
Generated Node #0,2,3: 19:[16, 15] Operation: 60/4=15
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 19:[16, 15], Operations: ['42-26=16', '60/4=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,19 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[16, 56], Operations: ['42-26=16', '60-4=56']
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,19 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 19:[4, 44], Operations: ['42-26=16', '60-16=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,19 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[60, 20], Operations: ['42-26=16', '4+16=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
81,
83,
3
] | 74 | [
"86+83=169",
"81*3=243",
"243-169=74"
] | Current State: 74:[86, 81, 83, 3], Operations: []
Exploring Operation: 86+83=169, Resulting Numbers: [81, 3, 169]
Generated Node #2: [81, 3, 169] from Operation: 86+83=169
Current State: 74:[81, 3, 169], Operations: ['86+83=169']
Exploring Operation: 81*3=243, Resulting Numbers: [169, 243]
Generated Node #3: [169, 243] from Operation: 81*3=243
Current State: 74:[169, 243], Operations: ['86+83=169', '81*3=243']
Exploring Operation: 243-169=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[86, 81, 83, 3], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [83, 3, 5]
Generated Node #0,0: 74:[83, 3, 5] Operation: 86-81=5
Exploring Operation: 83-81=2, Resulting Numbers: [86, 3, 2]
Generated Node #0,1: 74:[86, 3, 2] Operation: 83-81=2
Exploring Operation: 86-83=3, Resulting Numbers: [81, 3, 3]
Generated Node #0,2: 74:[81, 3, 3] Operation: 86-83=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[81, 3, 3], Operations: ['86-83=3']
Exploring Operation: 81-3=78, Resulting Numbers: [3, 78]
Generated Node #0,2,0: 74:[3, 78] Operation: 81-3=78
Exploring Operation: 3/3=1, Resulting Numbers: [81, 1]
Generated Node #0,2,1: 74:[81, 1] Operation: 3/3=1
Exploring Operation: 81-3=78, Resulting Numbers: [3, 78]
Generated Node #0,2,2: 74:[3, 78] Operation: 81-3=78
Moving to Node #0,2,0
Current State: 74:[3, 78], Operations: ['86-83=3', '81-3=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[3, 78], Operations: ['86-83=3', '81-3=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[81, 1], Operations: ['86-83=3', '3/3=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[83, 3, 5], Operations: ['86-81=5']
Exploring Operation: 83-3=80, Resulting Numbers: [5, 80]
Generated Node #0,0,0: 74:[5, 80] Operation: 83-3=80
Exploring Operation: 83-5=78, Resulting Numbers: [3, 78]
Generated Node #0,0,1: 74:[3, 78] Operation: 83-5=78
Exploring Operation: 5-3=2, Resulting Numbers: [83, 2]
Generated Node #0,0,2: 74:[83, 2] Operation: 5-3=2
Moving to Node #0,0,1
Current State: 74:[3, 78], Operations: ['86-81=5', '83-5=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[5, 80], Operations: ['86-81=5', '83-3=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[83, 2], Operations: ['86-81=5', '5-3=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,74 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[86, 3, 2], Operations: ['83-81=2']
Exploring Operation: 86-3=83, Resulting Numbers: [2, 83]
Generated Node #0,1,0: 74:[2, 83] Operation: 86-3=83
Exploring Operation: 86/2=43, Resulting Numbers: [3, 43]
Generated Node #0,1,1: 74:[3, 43] Operation: 86/2=43
Exploring Operation: 86-2=84, Resulting Numbers: [3, 84]
Generated Node #0,1,2: 74:[3, 84] Operation: 86-2=84
Moving to Node #0,1,1
Current State: 74:[3, 43], Operations: ['83-81=2', '86/2=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[2, 83], Operations: ['83-81=2', '86-3=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,74 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[3, 84], Operations: ['83-81=2', '86-2=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,74 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 |
[
13,
60,
9,
79
] | 64 | [
"13-9=4",
"60/4=15",
"79-15=64"
] | Current State: 64:[13, 60, 9, 79], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [60, 79, 4]
Generated Node #2: [60, 79, 4] from Operation: 13-9=4
Current State: 64:[60, 79, 4], Operations: ['13-9=4']
Exploring Operation: 60/4=15, Resulting Numbers: [79, 15]
Generated Node #3: [79, 15] from Operation: 60/4=15
Current State: 64:[79, 15], Operations: ['13-9=4', '60/4=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[13, 60, 9, 79], Operations: []
Exploring Operation: 79-13=66, Resulting Numbers: [60, 9, 66]
Generated Node #0,0: 64:[60, 9, 66] Operation: 79-13=66
Exploring Operation: 79-9=70, Resulting Numbers: [13, 60, 70]
Generated Node #0,1: 64:[13, 60, 70] Operation: 79-9=70
Exploring Operation: 13-9=4, Resulting Numbers: [60, 79, 4]
Generated Node #0,2: 64:[60, 79, 4] Operation: 13-9=4
Exploring Operation: 79-60=19, Resulting Numbers: [13, 9, 19]
Generated Node #0,3: 64:[13, 9, 19] Operation: 79-60=19
Exploring Operation: 60+9=69, Resulting Numbers: [13, 79, 69]
Generated Node #0,4: 64:[13, 79, 69] Operation: 60+9=69
Moving to Node #0,0
Current State: 64:[60, 9, 66], Operations: ['79-13=66']
Exploring Operation: 66-9=57, Resulting Numbers: [60, 57]
Generated Node #0,0,0: 64:[60, 57] Operation: 66-9=57
Exploring Operation: 9+66=75, Resulting Numbers: [60, 75]
Generated Node #0,0,1: 64:[60, 75] Operation: 9+66=75
Exploring Operation: 66-60=6, Resulting Numbers: [9, 6]
Generated Node #0,0,2: 64:[9, 6] Operation: 66-60=6
Exploring Operation: 60-9=51, Resulting Numbers: [66, 51]
Generated Node #0,0,3: 64:[66, 51] Operation: 60-9=51
Exploring Operation: 60+9=69, Resulting Numbers: [66, 69]
Generated Node #0,0,4: 64:[66, 69] Operation: 60+9=69
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[9, 6], Operations: ['79-13=66', '66-60=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,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,4
Current State: 64:[66, 69], Operations: ['79-13=66', '60+9=69']
Exploring Operation: 66*69=4554, Resulting Numbers: [4554]
4554,64 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 66+69=135, Resulting Numbers: [135]
135,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,0
Current State: 64:[60, 57], Operations: ['79-13=66', '66-9=57']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,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,1
Current State: 64:[60, 75], Operations: ['79-13=66', '9+66=75']
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,64 unequal: No Solution
Exploring Operation: 60*75=4500, Resulting Numbers: [4500]
4500,64 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,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,3
Current State: 64:[66, 51], Operations: ['79-13=66', '60-9=51']
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,64 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,64 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: 64:[13, 9, 19], Operations: ['79-60=19']
Exploring Operation: 19-9=10, Resulting Numbers: [13, 10]
Generated Node #0,3,0: 64:[13, 10] Operation: 19-9=10
Exploring Operation: 13+19=32, Resulting Numbers: [9, 32]
Generated Node #0,3,1: 64:[9, 32] Operation: 13+19=32
Exploring Operation: 9+19=28, Resulting Numbers: [13, 28]
Generated Node #0,3,2: 64:[13, 28] Operation: 9+19=28
Exploring Operation: 19-13=6, Resulting Numbers: [9, 6]
Generated Node #0,3,3: 64:[9, 6] Operation: 19-13=6
Exploring Operation: 13-9=4, Resulting Numbers: [19, 4]
Generated Node #0,3,4: 64:[19, 4] Operation: 13-9=4
Moving to Node #0,1
Current State: 64:[13, 60, 70], Operations: ['79-9=70']
Exploring Operation: 13+70=83, Resulting Numbers: [60, 83]
Generated Node #0,1,0: 64:[60, 83] Operation: 13+70=83
Exploring Operation: 13+60=73, Resulting Numbers: [70, 73]
Generated Node #0,1,1: 64:[70, 73] Operation: 13+60=73
Exploring Operation: 60-13=47, Resulting Numbers: [70, 47]
Generated Node #0,1,2: 64:[70, 47] Operation: 60-13=47
Exploring Operation: 70-13=57, Resulting Numbers: [60, 57]
Generated Node #0,1,3: 64:[60, 57] Operation: 70-13=57
Exploring Operation: 70-60=10, Resulting Numbers: [13, 10]
Generated Node #0,1,4: 64:[13, 10] Operation: 70-60=10
Moving to Node #0,2
Current State: 64:[60, 79, 4], Operations: ['13-9=4']
Exploring Operation: 60+4=64, Resulting Numbers: [79, 64]
Generated Node #0,2,0: 64:[79, 64] Operation: 60+4=64
Exploring Operation: 60/4=15, Resulting Numbers: [79, 15]
Generated Node #0,2,1: 64:[79, 15] Operation: 60/4=15
Exploring Operation: 60-4=56, Resulting Numbers: [79, 56]
Generated Node #0,2,2: 64:[79, 56] Operation: 60-4=56
Exploring Operation: 79-60=19, Resulting Numbers: [4, 19]
Generated Node #0,2,3: 64:[4, 19] Operation: 79-60=19
Exploring Operation: 79-4=75, Resulting Numbers: [60, 75]
Generated Node #0,2,4: 64:[60, 75] Operation: 79-4=75
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[4, 19], Operations: ['13-9=4', '79-60=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,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,2,0
Current State: 64:[79, 64], Operations: ['13-9=4', '60+4=64']
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,64 unequal: No Solution
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,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,2,4
Current State: 64:[60, 75], Operations: ['13-9=4', '79-4=75']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 60*75=4500, Resulting Numbers: [4500]
4500,64 unequal: No Solution
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,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,2,1
Current State: 64:[79, 15], Operations: ['13-9=4', '60/4=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[13, 60, 9, 79], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [60, 79, 4]
Generated Node #0,2: 64:[60, 79, 4] Operation: 13-9=4
Moving to Node #0,2
Current State: 64:[60, 79, 4], Operations: ['13-9=4']
Exploring Operation: 60/4=15, Resulting Numbers: [79, 15]
Generated Node #0,2,1: 64:[79, 15] Operation: 60/4=15
Moving to Node #0,2,1
Current State: 64:[79, 15], Operations: ['13-9=4', '60/4=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_5 | mult_heuristic |
[
95,
90,
44,
94
] | 45 | [
"95-90=5",
"94-44=50",
"50-5=45"
] | Current State: 45:[95, 90, 44, 94], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [44, 94, 5]
Generated Node #2: [44, 94, 5] from Operation: 95-90=5
Current State: 45:[44, 94, 5], Operations: ['95-90=5']
Exploring Operation: 94-44=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 94-44=50
Current State: 45:[5, 50], Operations: ['95-90=5', '94-44=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[95, 90, 44, 94], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [44, 94, 5]
Generated Node #0,0: 45:[44, 94, 5] Operation: 95-90=5
Exploring Operation: 95-94=1, Resulting Numbers: [90, 44, 1]
Generated Node #0,1: 45:[90, 44, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[90, 44, 1], Operations: ['95-94=1']
Exploring Operation: 90-1=89, Resulting Numbers: [44, 89]
Generated Node #0,1,0: 45:[44, 89] Operation: 90-1=89
Exploring Operation: 90-44=46, Resulting Numbers: [1, 46]
Generated Node #0,1,1: 45:[1, 46] Operation: 90-44=46
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[1, 46], Operations: ['95-94=1', '90-44=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[95, 90, 44, 94], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [90, 44, 1]
Generated Node #0,1: 45:[90, 44, 1] Operation: 95-94=1
Moving to Node #0,1
Current State: 45:[90, 44, 1], Operations: ['95-94=1']
Exploring Operation: 90-44=46, Resulting Numbers: [1, 46]
Generated Node #0,1,1: 45:[1, 46] Operation: 90-44=46
Moving to Node #0,1,1
Current State: 45:[1, 46], Operations: ['95-94=1', '90-44=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
94,
58,
38,
9
] | 34 | [
"94-58=36",
"36/9=4",
"38-4=34"
] | Current State: 34:[94, 58, 38, 9], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [38, 9, 36]
Generated Node #2: [38, 9, 36] from Operation: 94-58=36
Current State: 34:[38, 9, 36], Operations: ['94-58=36']
Exploring Operation: 36/9=4, Resulting Numbers: [38, 4]
Generated Node #3: [38, 4] from Operation: 36/9=4
Current State: 34:[38, 4], Operations: ['94-58=36', '36/9=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[94, 58, 38, 9], Operations: []
Exploring Operation: 94-38=56, Resulting Numbers: [58, 9, 56]
Generated Node #0,0: 34:[58, 9, 56] Operation: 94-38=56
Exploring Operation: 58-38=20, Resulting Numbers: [94, 9, 20]
Generated Node #0,1: 34:[94, 9, 20] Operation: 58-38=20
Exploring Operation: 94-58=36, Resulting Numbers: [38, 9, 36]
Generated Node #0,2: 34:[38, 9, 36] Operation: 94-58=36
Exploring Operation: 94-9=85, Resulting Numbers: [58, 38, 85]
Generated Node #0,3: 34:[58, 38, 85] Operation: 94-9=85
Exploring Operation: 58-9=49, Resulting Numbers: [94, 38, 49]
Generated Node #0,4: 34:[94, 38, 49] Operation: 58-9=49
Moving to Node #0,2
Current State: 34:[38, 9, 36], Operations: ['94-58=36']
Exploring Operation: 36-9=27, Resulting Numbers: [38, 27]
Generated Node #0,2,0: 34:[38, 27] Operation: 36-9=27
Exploring Operation: 38-9=29, Resulting Numbers: [36, 29]
Generated Node #0,2,1: 34:[36, 29] Operation: 38-9=29
Exploring Operation: 38+9=47, Resulting Numbers: [36, 47]
Generated Node #0,2,2: 34:[36, 47] Operation: 38+9=47
Exploring Operation: 36/9=4, Resulting Numbers: [38, 4]
Generated Node #0,2,3: 34:[38, 4] Operation: 36/9=4
Exploring Operation: 38-36=2, Resulting Numbers: [9, 2]
Generated Node #0,2,4: 34:[9, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[38, 4], Operations: ['94-58=36', '36/9=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[94, 58, 38, 9], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [38, 9, 36]
Generated Node #0,2: 34:[38, 9, 36] Operation: 94-58=36
Moving to Node #0,2
Current State: 34:[38, 9, 36], Operations: ['94-58=36']
Exploring Operation: 36/9=4, Resulting Numbers: [38, 4]
Generated Node #0,2,3: 34:[38, 4] Operation: 36/9=4
Moving to Node #0,2,3
Current State: 34:[38, 4], Operations: ['94-58=36', '36/9=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
54,
34,
83,
17
] | 85 | [
"54+34=88",
"88-83=5",
"17*5=85"
] | Current State: 85:[54, 34, 83, 17], Operations: []
Exploring Operation: 54+34=88, Resulting Numbers: [83, 17, 88]
Generated Node #2: [83, 17, 88] from Operation: 54+34=88
Current State: 85:[83, 17, 88], Operations: ['54+34=88']
Exploring Operation: 88-83=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 88-83=5
Current State: 85:[17, 5], Operations: ['54+34=88', '88-83=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[54, 34, 83, 17], Operations: []
Exploring Operation: 54+17=71, Resulting Numbers: [34, 83, 71]
Generated Node #0,0: 85:[34, 83, 71] Operation: 54+17=71
Exploring Operation: 83-54=29, Resulting Numbers: [34, 17, 29]
Generated Node #0,1: 85:[34, 17, 29] Operation: 83-54=29
Exploring Operation: 54-34=20, Resulting Numbers: [83, 17, 20]
Generated Node #0,2: 85:[83, 17, 20] Operation: 54-34=20
Exploring Operation: 54+34=88, Resulting Numbers: [83, 17, 88]
Generated Node #0,3: 85:[83, 17, 88] Operation: 54+34=88
Moving to Node #0,2
Current State: 85:[83, 17, 20], Operations: ['54-34=20']
Exploring Operation: 83+20=103, Resulting Numbers: [17, 103]
Generated Node #0,2,0: 85:[17, 103] Operation: 83+20=103
Exploring Operation: 20-17=3, Resulting Numbers: [83, 3]
Generated Node #0,2,1: 85:[83, 3] Operation: 20-17=3
Exploring Operation: 83+17=100, Resulting Numbers: [20, 100]
Generated Node #0,2,2: 85:[20, 100] Operation: 83+17=100
Exploring Operation: 83-17=66, Resulting Numbers: [20, 66]
Generated Node #0,2,3: 85:[20, 66] Operation: 83-17=66
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[83, 3], Operations: ['54-34=20', '20-17=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,85 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[17, 103], Operations: ['54-34=20', '83+20=103']
Exploring Operation: 17*103=1751, Resulting Numbers: [1751]
1751,85 unequal: No Solution
Exploring Operation: 17+103=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 103-17=86, Resulting Numbers: [86]
86,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[20, 100], Operations: ['54-34=20', '83+17=100']
Exploring Operation: 20*100=2000, Resulting Numbers: [2000]
2000,85 unequal: No Solution
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 100/20=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 20+100=120, Resulting Numbers: [120]
120,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[20, 66], Operations: ['54-34=20', '83-17=66']
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,85 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 85:[83, 17, 88], Operations: ['54+34=88']
Exploring Operation: 88-17=71, Resulting Numbers: [83, 71]
Generated Node #0,3,0: 85:[83, 71] Operation: 88-17=71
Exploring Operation: 88-83=5, Resulting Numbers: [17, 5]
Generated Node #0,3,1: 85:[17, 5] Operation: 88-83=5
Exploring Operation: 83-17=66, Resulting Numbers: [88, 66]
Generated Node #0,3,2: 85:[88, 66] Operation: 83-17=66
Exploring Operation: 83+17=100, Resulting Numbers: [88, 100]
Generated Node #0,3,3: 85:[88, 100] Operation: 83+17=100
Moving to Node #0,1
Current State: 85:[34, 17, 29], Operations: ['83-54=29']
Exploring Operation: 34-17=17, Resulting Numbers: [29, 17]
Generated Node #0,1,0: 85:[29, 17] Operation: 34-17=17
Exploring Operation: 34+29=63, Resulting Numbers: [17, 63]
Generated Node #0,1,1: 85:[17, 63] Operation: 34+29=63
Exploring Operation: 34-29=5, Resulting Numbers: [17, 5]
Generated Node #0,1,2: 85:[17, 5] Operation: 34-29=5
Exploring Operation: 34/17=2, Resulting Numbers: [29, 2]
Generated Node #0,1,3: 85:[29, 2] Operation: 34/17=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[17, 5], Operations: ['83-54=29', '34-29=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[54, 34, 83, 17], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [34, 17, 29]
Generated Node #0,1: 85:[34, 17, 29] Operation: 83-54=29
Moving to Node #0,1
Current State: 85:[34, 17, 29], Operations: ['83-54=29']
Exploring Operation: 34-29=5, Resulting Numbers: [17, 5]
Generated Node #0,1,2: 85:[17, 5] Operation: 34-29=5
Moving to Node #0,1,2
Current State: 85:[17, 5], Operations: ['83-54=29', '34-29=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
5,
31,
86,
51
] | 71 | [
"5+31=36",
"86-51=35",
"36+35=71"
] | Current State: 71:[5, 31, 86, 51], Operations: []
Exploring Operation: 5+31=36, Resulting Numbers: [86, 51, 36]
Generated Node #2: [86, 51, 36] from Operation: 5+31=36
Current State: 71:[86, 51, 36], Operations: ['5+31=36']
Exploring Operation: 86-51=35, Resulting Numbers: [36, 35]
Generated Node #3: [36, 35] from Operation: 86-51=35
Current State: 71:[36, 35], Operations: ['5+31=36', '86-51=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[5, 31, 86, 51], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [31, 51, 81]
Generated Node #0,0: 71:[31, 51, 81] Operation: 86-5=81
Exploring Operation: 5+31=36, Resulting Numbers: [86, 51, 36]
Generated Node #0,1: 71:[86, 51, 36] Operation: 5+31=36
Moving to Node #0,0
Current State: 71:[31, 51, 81], Operations: ['86-5=81']
Exploring Operation: 31+51=82, Resulting Numbers: [81, 82]
Generated Node #0,0,0: 71:[81, 82] Operation: 31+51=82
Exploring Operation: 81-31=50, Resulting Numbers: [51, 50]
Generated Node #0,0,1: 71:[51, 50] Operation: 81-31=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[81, 82], Operations: ['86-5=81', '31+51=82']
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 81+82=163, Resulting Numbers: [163]
163,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:[51, 50], Operations: ['86-5=81', '81-31=50']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,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:[86, 51, 36], Operations: ['5+31=36']
Exploring Operation: 86-36=50, Resulting Numbers: [51, 50]
Generated Node #0,1,0: 71:[51, 50] Operation: 86-36=50
Exploring Operation: 51+36=87, Resulting Numbers: [86, 87]
Generated Node #0,1,1: 71:[86, 87] Operation: 51+36=87
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[86, 87], Operations: ['5+31=36', '51+36=87']
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 86+87=173, Resulting Numbers: [173]
173,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,1,0
Current State: 71:[51, 50], Operations: ['5+31=36', '86-36=50']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,71 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 |
[
38,
38,
83,
64
] | 76 | [
"38*38=1444",
"83-64=19",
"1444/19=76"
] | Current State: 76:[38, 38, 83, 64], Operations: []
Exploring Operation: 38*38=1444, Resulting Numbers: [83, 64, 1444]
Generated Node #2: [83, 64, 1444] from Operation: 38*38=1444
Current State: 76:[83, 64, 1444], Operations: ['38*38=1444']
Exploring Operation: 83-64=19, Resulting Numbers: [1444, 19]
Generated Node #3: [1444, 19] from Operation: 83-64=19
Current State: 76:[1444, 19], Operations: ['38*38=1444', '83-64=19']
Exploring Operation: 1444/19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[38, 38, 83, 64], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [38, 38, 19]
Generated Node #0,0: 76:[38, 38, 19] Operation: 83-64=19
Exploring Operation: 64-38=26, Resulting Numbers: [38, 83, 26]
Generated Node #0,1: 76:[38, 83, 26] Operation: 64-38=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[38, 38, 19], Operations: ['83-64=19']
Exploring Operation: 38+38=76, Resulting Numbers: [19, 76]
Generated Node #0,0,0: 76:[19, 76] Operation: 38+38=76
Exploring Operation: 38-19=19, Resulting Numbers: [38, 19]
Generated Node #0,0,1: 76:[38, 19] Operation: 38-19=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[19, 76], Operations: ['83-64=19', '38+38=76']
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,76 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: 76:[38, 19], Operations: ['83-64=19', '38-19=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,76 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: 76:[38, 83, 26], Operations: ['64-38=26']
Exploring Operation: 83-38=45, Resulting Numbers: [26, 45]
Generated Node #0,1,0: 76:[26, 45] Operation: 83-38=45
Exploring Operation: 38-26=12, Resulting Numbers: [83, 12]
Generated Node #0,1,1: 76:[83, 12] Operation: 38-26=12
Moving to Node #0,1,0
Current State: 76:[26, 45], Operations: ['64-38=26', '83-38=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[83, 12], Operations: ['64-38=26', '38-26=12']
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
21,
31,
44
] | 87 | [
"33-21=12",
"31+44=75",
"12+75=87"
] | Current State: 87:[33, 21, 31, 44], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [31, 44, 12]
Generated Node #2: [31, 44, 12] from Operation: 33-21=12
Current State: 87:[31, 44, 12], Operations: ['33-21=12']
Exploring Operation: 31+44=75, Resulting Numbers: [12, 75]
Generated Node #3: [12, 75] from Operation: 31+44=75
Current State: 87:[12, 75], Operations: ['33-21=12', '31+44=75']
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[33, 21, 31, 44], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [33, 21, 13]
Generated Node #0,0: 87:[33, 21, 13] Operation: 44-31=13
Exploring Operation: 44-33=11, Resulting Numbers: [21, 31, 11]
Generated Node #0,1: 87:[21, 31, 11] Operation: 44-33=11
Exploring Operation: 44-21=23, Resulting Numbers: [33, 31, 23]
Generated Node #0,2: 87:[33, 31, 23] Operation: 44-21=23
Exploring Operation: 33+44=77, Resulting Numbers: [21, 31, 77]
Generated Node #0,3: 87:[21, 31, 77] Operation: 33+44=77
Exploring Operation: 33-31=2, Resulting Numbers: [21, 44, 2]
Generated Node #0,4: 87:[21, 44, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[33, 31, 23], Operations: ['44-21=23']
Exploring Operation: 31-23=8, Resulting Numbers: [33, 8]
Generated Node #0,2,0: 87:[33, 8] Operation: 31-23=8
Exploring Operation: 33-23=10, Resulting Numbers: [31, 10]
Generated Node #0,2,1: 87:[31, 10] Operation: 33-23=10
Exploring Operation: 33+31=64, Resulting Numbers: [23, 64]
Generated Node #0,2,2: 87:[23, 64] Operation: 33+31=64
Exploring Operation: 33-31=2, Resulting Numbers: [23, 2]
Generated Node #0,2,3: 87:[23, 2] Operation: 33-31=2
Exploring Operation: 33+23=56, Resulting Numbers: [31, 56]
Generated Node #0,2,4: 87:[31, 56] Operation: 33+23=56
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 87:[23, 2], Operations: ['44-21=23', '33-31=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,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,2,0
Current State: 87:[33, 8], Operations: ['44-21=23', '31-23=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,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,2,1
Current State: 87:[31, 10], Operations: ['44-21=23', '33-23=10']
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,87 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,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,2,2
Current State: 87:[23, 64], Operations: ['44-21=23', '33+31=64']
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,87 unequal: No Solution
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[33, 21, 31, 44], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [33, 31, 23]
Generated Node #0,2: 87:[33, 31, 23] Operation: 44-21=23
Moving to Node #0,2
Current State: 87:[33, 31, 23], Operations: ['44-21=23']
Exploring Operation: 33+31=64, Resulting Numbers: [23, 64]
Generated Node #0,2,2: 87:[23, 64] Operation: 33+31=64
Moving to Node #0,2,2
Current State: 87:[23, 64], Operations: ['44-21=23', '33+31=64']
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
57,
73,
12,
4
] | 24 | [
"73-57=16",
"12-4=8",
"16+8=24"
] | Current State: 24:[57, 73, 12, 4], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [12, 4, 16]
Generated Node #2: [12, 4, 16] from Operation: 73-57=16
Current State: 24:[12, 4, 16], Operations: ['73-57=16']
Exploring Operation: 12-4=8, Resulting Numbers: [16, 8]
Generated Node #3: [16, 8] from Operation: 12-4=8
Current State: 24:[16, 8], Operations: ['73-57=16', '12-4=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[57, 73, 12, 4], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [73, 4, 45]
Generated Node #0,0: 24:[73, 4, 45] Operation: 57-12=45
Exploring Operation: 73-12=61, Resulting Numbers: [57, 4, 61]
Generated Node #0,1: 24:[57, 4, 61] Operation: 73-12=61
Exploring Operation: 73-57=16, Resulting Numbers: [12, 4, 16]
Generated Node #0,2: 24:[12, 4, 16] Operation: 73-57=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[12, 4, 16], Operations: ['73-57=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12, 12]
Generated Node #0,2,0: 24:[12, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [12, 4]
Generated Node #0,2,1: 24:[12, 4] Operation: 16/4=4
Exploring Operation: 16-12=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 24:[4, 4] Operation: 16-12=4
Moving to Node #0,2,0
Current State: 24:[12, 12], Operations: ['73-57=16', '16-4=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[57, 73, 12, 4], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [12, 4, 16]
Generated Node #0,2: 24:[12, 4, 16] Operation: 73-57=16
Moving to Node #0,2
Current State: 24:[12, 4, 16], Operations: ['73-57=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12, 12]
Generated Node #0,2,0: 24:[12, 12] Operation: 16-4=12
Moving to Node #0,2,0
Current State: 24:[12, 12], Operations: ['73-57=16', '16-4=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
62,
58,
7,
71
] | 68 | [
"62-58=4",
"71-7=64",
"4+64=68"
] | Current State: 68:[62, 58, 7, 71], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [7, 71, 4]
Generated Node #2: [7, 71, 4] from Operation: 62-58=4
Current State: 68:[7, 71, 4], Operations: ['62-58=4']
Exploring Operation: 71-7=64, Resulting Numbers: [4, 64]
Generated Node #3: [4, 64] from Operation: 71-7=64
Current State: 68:[4, 64], Operations: ['62-58=4', '71-7=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[62, 58, 7, 71], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [7, 71, 4]
Generated Node #0,0: 68:[7, 71, 4] Operation: 62-58=4
Exploring Operation: 71-62=9, Resulting Numbers: [58, 7, 9]
Generated Node #0,1: 68:[58, 7, 9] Operation: 71-62=9
Exploring Operation: 58+7=65, Resulting Numbers: [62, 71, 65]
Generated Node #0,2: 68:[62, 71, 65] Operation: 58+7=65
Exploring Operation: 62+7=69, Resulting Numbers: [58, 71, 69]
Generated Node #0,3: 68:[58, 71, 69] Operation: 62+7=69
Exploring Operation: 71-58=13, Resulting Numbers: [62, 7, 13]
Generated Node #0,4: 68:[62, 7, 13] Operation: 71-58=13
Moving to Node #0,0
Current State: 68:[7, 71, 4], Operations: ['62-58=4']
Exploring Operation: 71-7=64, Resulting Numbers: [4, 64]
Generated Node #0,0,0: 68:[4, 64] Operation: 71-7=64
Exploring Operation: 71-4=67, Resulting Numbers: [7, 67]
Generated Node #0,0,1: 68:[7, 67] Operation: 71-4=67
Exploring Operation: 7+4=11, Resulting Numbers: [71, 11]
Generated Node #0,0,2: 68:[71, 11] Operation: 7+4=11
Exploring Operation: 7*4=28, Resulting Numbers: [71, 28]
Generated Node #0,0,3: 68:[71, 28] Operation: 7*4=28
Exploring Operation: 7-4=3, Resulting Numbers: [71, 3]
Generated Node #0,0,4: 68:[71, 3] Operation: 7-4=3
Moving to Node #0,2
Current State: 68:[62, 71, 65], Operations: ['58+7=65']
Exploring Operation: 71-65=6, Resulting Numbers: [62, 6]
Generated Node #0,2,0: 68:[62, 6] Operation: 71-65=6
Exploring Operation: 71-62=9, Resulting Numbers: [65, 9]
Generated Node #0,2,1: 68:[65, 9] Operation: 71-62=9
Exploring Operation: 62+71=133, Resulting Numbers: [65, 133]
Generated Node #0,2,2: 68:[65, 133] Operation: 62+71=133
Exploring Operation: 62+65=127, Resulting Numbers: [71, 127]
Generated Node #0,2,3: 68:[71, 127] Operation: 62+65=127
Exploring Operation: 65-62=3, Resulting Numbers: [71, 3]
Generated Node #0,2,4: 68:[71, 3] Operation: 65-62=3
Moving to Node #0,4
Current State: 68:[62, 7, 13], Operations: ['71-58=13']
Exploring Operation: 62+13=75, Resulting Numbers: [7, 75]
Generated Node #0,4,0: 68:[7, 75] Operation: 62+13=75
Exploring Operation: 7+13=20, Resulting Numbers: [62, 20]
Generated Node #0,4,1: 68:[62, 20] Operation: 7+13=20
Exploring Operation: 62-7=55, Resulting Numbers: [13, 55]
Generated Node #0,4,2: 68:[13, 55] Operation: 62-7=55
Exploring Operation: 62+7=69, Resulting Numbers: [13, 69]
Generated Node #0,4,3: 68:[13, 69] Operation: 62+7=69
Exploring Operation: 13-7=6, Resulting Numbers: [62, 6]
Generated Node #0,4,4: 68:[62, 6] Operation: 13-7=6
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 68:[13, 69], Operations: ['71-58=13', '62+7=69']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,68 unequal: No Solution
No 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: 68:[62, 6], Operations: ['71-58=13', '13-7=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,68 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[62, 58, 7, 71], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [62, 7, 13]
Generated Node #0,4: 68:[62, 7, 13] Operation: 71-58=13
Moving to Node #0,4
Current State: 68:[62, 7, 13], Operations: ['71-58=13']
Exploring Operation: 13-7=6, Resulting Numbers: [62, 6]
Generated Node #0,4,4: 68:[62, 6] Operation: 13-7=6
Moving to Node #0,4,4
Current State: 68:[62, 6], Operations: ['71-58=13', '13-7=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
23,
14,
38,
19
] | 41 | [
"23+19=42",
"42/14=3",
"38+3=41"
] | Current State: 41:[23, 14, 38, 19], Operations: []
Exploring Operation: 23+19=42, Resulting Numbers: [14, 38, 42]
Generated Node #2: [14, 38, 42] from Operation: 23+19=42
Current State: 41:[14, 38, 42], Operations: ['23+19=42']
Exploring Operation: 42/14=3, Resulting Numbers: [38, 3]
Generated Node #3: [38, 3] from Operation: 42/14=3
Current State: 41:[38, 3], Operations: ['23+19=42', '42/14=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[23, 14, 38, 19], Operations: []
Exploring Operation: 14+38=52, Resulting Numbers: [23, 19, 52]
Generated Node #0,0: 41:[23, 19, 52] Operation: 14+38=52
Exploring Operation: 23-14=9, Resulting Numbers: [38, 19, 9]
Generated Node #0,1: 41:[38, 19, 9] Operation: 23-14=9
Exploring Operation: 23+19=42, Resulting Numbers: [14, 38, 42]
Generated Node #0,2: 41:[14, 38, 42] Operation: 23+19=42
Exploring Operation: 23+14=37, Resulting Numbers: [38, 19, 37]
Generated Node #0,3: 41:[38, 19, 37] Operation: 23+14=37
Exploring Operation: 14+19=33, Resulting Numbers: [23, 38, 33]
Generated Node #0,4: 41:[23, 38, 33] Operation: 14+19=33
Moving to Node #0,3
Current State: 41:[38, 19, 37], Operations: ['23+14=37']
Exploring Operation: 38-19=19, Resulting Numbers: [37, 19]
Generated Node #0,3,0: 41:[37, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [37, 2]
Generated Node #0,3,1: 41:[37, 2] Operation: 38/19=2
Exploring Operation: 19+37=56, Resulting Numbers: [38, 56]
Generated Node #0,3,2: 41:[38, 56] Operation: 19+37=56
Exploring Operation: 37-19=18, Resulting Numbers: [38, 18]
Generated Node #0,3,3: 41:[38, 18] Operation: 37-19=18
Exploring Operation: 38+19=57, Resulting Numbers: [37, 57]
Generated Node #0,3,4: 41:[37, 57] Operation: 38+19=57
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[38, 56], Operations: ['23+14=37', '19+37=56']
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,41 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[37, 57], Operations: ['23+14=37', '38+19=57']
Exploring Operation: 37*57=2109, Resulting Numbers: [2109]
2109,41 unequal: No Solution
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[37, 19], Operations: ['23+14=37', '38-19=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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[38, 18], Operations: ['23+14=37', '37-19=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[37, 2], Operations: ['23+14=37', '38/19=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,41 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,41 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: 41:[23, 38, 33], Operations: ['14+19=33']
Exploring Operation: 38+33=71, Resulting Numbers: [23, 71]
Generated Node #0,4,0: 41:[23, 71] Operation: 38+33=71
Exploring Operation: 33-23=10, Resulting Numbers: [38, 10]
Generated Node #0,4,1: 41:[38, 10] Operation: 33-23=10
Exploring Operation: 23+38=61, Resulting Numbers: [33, 61]
Generated Node #0,4,2: 41:[33, 61] Operation: 23+38=61
Exploring Operation: 23+33=56, Resulting Numbers: [38, 56]
Generated Node #0,4,3: 41:[38, 56] Operation: 23+33=56
Exploring Operation: 38-23=15, Resulting Numbers: [33, 15]
Generated Node #0,4,4: 41:[33, 15] Operation: 38-23=15
Moving to Node #0,2
Current State: 41:[14, 38, 42], Operations: ['23+19=42']
Exploring Operation: 14+38=52, Resulting Numbers: [42, 52]
Generated Node #0,2,0: 41:[42, 52] Operation: 14+38=52
Exploring Operation: 14+42=56, Resulting Numbers: [38, 56]
Generated Node #0,2,1: 41:[38, 56] Operation: 14+42=56
Exploring Operation: 42-14=28, Resulting Numbers: [38, 28]
Generated Node #0,2,2: 41:[38, 28] Operation: 42-14=28
Exploring Operation: 38-14=24, Resulting Numbers: [42, 24]
Generated Node #0,2,3: 41:[42, 24] Operation: 38-14=24
Exploring Operation: 42/14=3, Resulting Numbers: [38, 3]
Generated Node #0,2,4: 41:[38, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 41:[23, 19, 52], Operations: ['14+38=52']
Exploring Operation: 52-19=33, Resulting Numbers: [23, 33]
Generated Node #0,0,0: 41:[23, 33] Operation: 52-19=33
Exploring Operation: 23+19=42, Resulting Numbers: [52, 42]
Generated Node #0,0,1: 41:[52, 42] Operation: 23+19=42
Exploring Operation: 52-23=29, Resulting Numbers: [19, 29]
Generated Node #0,0,2: 41:[19, 29] Operation: 52-23=29
Exploring Operation: 19+52=71, Resulting Numbers: [23, 71]
Generated Node #0,0,3: 41:[23, 71] Operation: 19+52=71
Exploring Operation: 23-19=4, Resulting Numbers: [52, 4]
Generated Node #0,0,4: 41:[52, 4] Operation: 23-19=4
Moving to Node #0,1
Current State: 41:[38, 19, 9], Operations: ['23-14=9']
Exploring Operation: 38+19=57, Resulting Numbers: [9, 57]
Generated Node #0,1,0: 41:[9, 57] Operation: 38+19=57
Exploring Operation: 38+9=47, Resulting Numbers: [19, 47]
Generated Node #0,1,1: 41:[19, 47] Operation: 38+9=47
Exploring Operation: 19-9=10, Resulting Numbers: [38, 10]
Generated Node #0,1,2: 41:[38, 10] Operation: 19-9=10
Exploring Operation: 38-9=29, Resulting Numbers: [19, 29]
Generated Node #0,1,3: 41:[19, 29] Operation: 38-9=29
Exploring Operation: 19+9=28, Resulting Numbers: [38, 28]
Generated Node #0,1,4: 41:[38, 28] Operation: 19+9=28
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[38, 28], Operations: ['23-14=9', '19+9=28']
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,41 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[19, 47], Operations: ['23-14=9', '38+9=47']
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,41 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[38, 10], Operations: ['23-14=9', '19-9=10']
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,41 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[19, 29], Operations: ['23-14=9', '38-9=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,41 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,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,0
Current State: 41:[9, 57], Operations: ['23-14=9', '38+19=57']
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,41 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 41:[42, 52], Operations: ['23+19=42', '14+38=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[52, 42], Operations: ['14+38=52', '23+19=42']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[38, 28], Operations: ['23+19=42', '42-14=28']
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,41 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[38, 56], Operations: ['14+19=33', '23+33=56']
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,41 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[38, 56], Operations: ['23+19=42', '14+42=56']
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,41 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[42, 24], Operations: ['23+19=42', '38-14=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[23, 33], Operations: ['14+38=52', '52-19=33']
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,41 unequal: No Solution
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[33, 61], Operations: ['14+19=33', '23+38=61']
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,41 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[38, 10], Operations: ['14+19=33', '33-23=10']
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,41 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[19, 29], Operations: ['14+38=52', '52-23=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,41 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[33, 15], Operations: ['14+19=33', '38-23=15']
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[38, 3], Operations: ['23+19=42', '42/14=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[23, 14, 38, 19], Operations: []
Exploring Operation: 23+19=42, Resulting Numbers: [14, 38, 42]
Generated Node #0,2: 41:[14, 38, 42] Operation: 23+19=42
Moving to Node #0,2
Current State: 41:[14, 38, 42], Operations: ['23+19=42']
Exploring Operation: 42/14=3, Resulting Numbers: [38, 3]
Generated Node #0,2,4: 41:[38, 3] Operation: 42/14=3
Moving to Node #0,2,4
Current State: 41:[38, 3], Operations: ['23+19=42', '42/14=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.914931 | hs_5 | sum_heuristic |
[
35,
24,
62,
37
] | 88 | [
"35-24=11",
"62+37=99",
"99-11=88"
] | Current State: 88:[35, 24, 62, 37], Operations: []
Exploring Operation: 35-24=11, Resulting Numbers: [62, 37, 11]
Generated Node #2: [62, 37, 11] from Operation: 35-24=11
Current State: 88:[62, 37, 11], Operations: ['35-24=11']
Exploring Operation: 62+37=99, Resulting Numbers: [11, 99]
Generated Node #3: [11, 99] from Operation: 62+37=99
Current State: 88:[11, 99], Operations: ['35-24=11', '62+37=99']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[35, 24, 62, 37], Operations: []
Exploring Operation: 62-35=27, Resulting Numbers: [24, 37, 27]
Generated Node #0,0: 88:[24, 37, 27] Operation: 62-35=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[24, 37, 27], Operations: ['62-35=27']
Exploring Operation: 37-27=10, Resulting Numbers: [24, 10]
Generated Node #0,0,0: 88:[24, 10] Operation: 37-27=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[24, 10], Operations: ['62-35=27', '37-27=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,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 | mult_heuristic |
[
2,
10,
8,
42
] | 15 | [
"42-2=40",
"40/8=5",
"10+5=15"
] | Current State: 15:[2, 10, 8, 42], Operations: []
Exploring Operation: 42-2=40, Resulting Numbers: [10, 8, 40]
Generated Node #2: [10, 8, 40] from Operation: 42-2=40
Current State: 15:[10, 8, 40], Operations: ['42-2=40']
Exploring Operation: 40/8=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 40/8=5
Current State: 15:[10, 5], Operations: ['42-2=40', '40/8=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[2, 10, 8, 42], Operations: []
Exploring Operation: 42/2=21, Resulting Numbers: [10, 8, 21]
Generated Node #0,0: 15:[10, 8, 21] Operation: 42/2=21
Exploring Operation: 42-8=34, Resulting Numbers: [2, 10, 34]
Generated Node #0,1: 15:[2, 10, 34] Operation: 42-8=34
Exploring Operation: 42-10=32, Resulting Numbers: [2, 8, 32]
Generated Node #0,2: 15:[2, 8, 32] Operation: 42-10=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[10, 8, 21], Operations: ['42/2=21']
Exploring Operation: 21-10=11, Resulting Numbers: [8, 11]
Generated Node #0,0,0: 15:[8, 11] Operation: 21-10=11
Exploring Operation: 21-8=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 15:[10, 13] Operation: 21-8=13
Exploring Operation: 10-8=2, Resulting Numbers: [21, 2]
Generated Node #0,0,2: 15:[21, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 15:[8, 11], Operations: ['42/2=21', '21-10=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,15 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[10, 13], Operations: ['42/2=21', '21-8=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,15 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[21, 2], Operations: ['42/2=21', '10-8=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,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,2
Current State: 15:[2, 8, 32], Operations: ['42-10=32']
Exploring Operation: 32/8=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 15:[2, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [2, 24]
Generated Node #0,2,1: 15:[2, 24] Operation: 32-8=24
Exploring Operation: 32/2=16, Resulting Numbers: [8, 16]
Generated Node #0,2,2: 15:[8, 16] Operation: 32/2=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[2, 4], Operations: ['42-10=32', '32/8=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,15 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: 15:[8, 16], Operations: ['42-10=32', '32/2=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,15 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: 15:[2, 24], Operations: ['42-10=32', '32-8=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,15 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: 15:[2, 10, 34], Operations: ['42-8=34']
Exploring Operation: 34-10=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 15:[2, 24] Operation: 34-10=24
Exploring Operation: 34/2=17, Resulting Numbers: [10, 17]
Generated Node #0,1,1: 15:[10, 17] Operation: 34/2=17
Exploring Operation: 10/2=5, Resulting Numbers: [34, 5]
Generated Node #0,1,2: 15:[34, 5] Operation: 10/2=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[10, 17], Operations: ['42-8=34', '34/2=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,15 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: 15:[2, 24], Operations: ['42-8=34', '34-10=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,15 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: 15:[34, 5], Operations: ['42-8=34', '10/2=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
88,
57,
21
] | 77 | [
"67+88=155",
"57+21=78",
"155-78=77"
] | Current State: 77:[67, 88, 57, 21], Operations: []
Exploring Operation: 67+88=155, Resulting Numbers: [57, 21, 155]
Generated Node #2: [57, 21, 155] from Operation: 67+88=155
Current State: 77:[57, 21, 155], Operations: ['67+88=155']
Exploring Operation: 57+21=78, Resulting Numbers: [155, 78]
Generated Node #3: [155, 78] from Operation: 57+21=78
Current State: 77:[155, 78], Operations: ['67+88=155', '57+21=78']
Exploring Operation: 155-78=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[67, 88, 57, 21], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [88, 21, 10]
Generated Node #0,0: 77:[88, 21, 10] Operation: 67-57=10
Exploring Operation: 88-57=31, Resulting Numbers: [67, 21, 31]
Generated Node #0,1: 77:[67, 21, 31] Operation: 88-57=31
Exploring Operation: 88-67=21, Resulting Numbers: [57, 21, 21]
Generated Node #0,2: 77:[57, 21, 21] Operation: 88-67=21
Exploring Operation: 57+21=78, Resulting Numbers: [67, 88, 78]
Generated Node #0,3: 77:[67, 88, 78] Operation: 57+21=78
Moving to Node #0,0
Current State: 77:[88, 21, 10], Operations: ['67-57=10']
Exploring Operation: 88-21=67, Resulting Numbers: [10, 67]
Generated Node #0,0,0: 77:[10, 67] Operation: 88-21=67
Exploring Operation: 88-10=78, Resulting Numbers: [21, 78]
Generated Node #0,0,1: 77:[21, 78] Operation: 88-10=78
Exploring Operation: 88+10=98, Resulting Numbers: [21, 98]
Generated Node #0,0,2: 77:[21, 98] Operation: 88+10=98
Exploring Operation: 21-10=11, Resulting Numbers: [88, 11]
Generated Node #0,0,3: 77:[88, 11] Operation: 21-10=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[10, 67], Operations: ['67-57=10', '88-21=67']
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,77 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[67, 88, 57, 21], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [88, 21, 10]
Generated Node #0,0: 77:[88, 21, 10] Operation: 67-57=10
Moving to Node #0,0
Current State: 77:[88, 21, 10], Operations: ['67-57=10']
Exploring Operation: 88-21=67, Resulting Numbers: [10, 67]
Generated Node #0,0,0: 77:[10, 67] Operation: 88-21=67
Moving to Node #0,0,0
Current State: 77:[10, 67], Operations: ['67-57=10', '88-21=67']
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
6,
22,
17,
53
] | 54 | [
"22-6=16",
"17+53=70",
"70-16=54"
] | Current State: 54:[6, 22, 17, 53], Operations: []
Exploring Operation: 22-6=16, Resulting Numbers: [17, 53, 16]
Generated Node #2: [17, 53, 16] from Operation: 22-6=16
Current State: 54:[17, 53, 16], Operations: ['22-6=16']
Exploring Operation: 17+53=70, Resulting Numbers: [16, 70]
Generated Node #3: [16, 70] from Operation: 17+53=70
Current State: 54:[16, 70], Operations: ['22-6=16', '17+53=70']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[6, 22, 17, 53], Operations: []
Exploring Operation: 22-6=16, Resulting Numbers: [17, 53, 16]
Generated Node #0,0: 54:[17, 53, 16] Operation: 22-6=16
Exploring Operation: 53-22=31, Resulting Numbers: [6, 17, 31]
Generated Node #0,1: 54:[6, 17, 31] Operation: 53-22=31
Exploring Operation: 6+22=28, Resulting Numbers: [17, 53, 28]
Generated Node #0,2: 54:[17, 53, 28] Operation: 6+22=28
Exploring Operation: 22-17=5, Resulting Numbers: [6, 53, 5]
Generated Node #0,3: 54:[6, 53, 5] Operation: 22-17=5
Moving to Node #0,3
Current State: 54:[6, 53, 5], Operations: ['22-17=5']
Exploring Operation: 6+5=11, Resulting Numbers: [53, 11]
Generated Node #0,3,0: 54:[53, 11] Operation: 6+5=11
Exploring Operation: 53+5=58, Resulting Numbers: [6, 58]
Generated Node #0,3,1: 54:[6, 58] Operation: 53+5=58
Exploring Operation: 6*5=30, Resulting Numbers: [53, 30]
Generated Node #0,3,2: 54:[53, 30] Operation: 6*5=30
Exploring Operation: 6-5=1, Resulting Numbers: [53, 1]
Generated Node #0,3,3: 54:[53, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[53, 1], Operations: ['22-17=5', '6-5=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[6, 22, 17, 53], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [6, 53, 5]
Generated Node #0,3: 54:[6, 53, 5] Operation: 22-17=5
Moving to Node #0,3
Current State: 54:[6, 53, 5], Operations: ['22-17=5']
Exploring Operation: 6-5=1, Resulting Numbers: [53, 1]
Generated Node #0,3,3: 54:[53, 1] Operation: 6-5=1
Moving to Node #0,3,3
Current State: 54:[53, 1], Operations: ['22-17=5', '6-5=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
16,
21,
63,
10
] | 58 | [
"21-16=5",
"63-10=53",
"5+53=58"
] | Current State: 58:[16, 21, 63, 10], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [63, 10, 5]
Generated Node #2: [63, 10, 5] from Operation: 21-16=5
Current State: 58:[63, 10, 5], Operations: ['21-16=5']
Exploring Operation: 63-10=53, Resulting Numbers: [5, 53]
Generated Node #3: [5, 53] from Operation: 63-10=53
Current State: 58:[5, 53], Operations: ['21-16=5', '63-10=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[16, 21, 63, 10], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [63, 10, 5]
Generated Node #0,0: 58:[63, 10, 5] Operation: 21-16=5
Moving to Node #0,0
Current State: 58:[63, 10, 5], Operations: ['21-16=5']
Exploring Operation: 10/5=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 58:[63, 2] Operation: 10/5=2
Moving to Node #0,0,0
Current State: 58:[63, 2], Operations: ['21-16=5', '10/5=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
51,
32,
64
] | 82 | [
"92-51=41",
"64/32=2",
"41*2=82"
] | Current State: 82:[92, 51, 32, 64], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [32, 64, 41]
Generated Node #2: [32, 64, 41] from Operation: 92-51=41
Current State: 82:[32, 64, 41], Operations: ['92-51=41']
Exploring Operation: 64/32=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 64/32=2
Current State: 82:[41, 2], Operations: ['92-51=41', '64/32=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[92, 51, 32, 64], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [32, 64, 41]
Generated Node #0,0: 82:[32, 64, 41] Operation: 92-51=41
Exploring Operation: 64/32=2, Resulting Numbers: [92, 51, 2]
Generated Node #0,1: 82:[92, 51, 2] Operation: 64/32=2
Exploring Operation: 51+32=83, Resulting Numbers: [92, 64, 83]
Generated Node #0,2: 82:[92, 64, 83] Operation: 51+32=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[92, 51, 2], Operations: ['64/32=2']
Exploring Operation: 92-2=90, Resulting Numbers: [51, 90]
Generated Node #0,1,0: 82:[51, 90] Operation: 92-2=90
Exploring Operation: 92/2=46, Resulting Numbers: [51, 46]
Generated Node #0,1,1: 82:[51, 46] Operation: 92/2=46
Exploring Operation: 92-51=41, Resulting Numbers: [2, 41]
Generated Node #0,1,2: 82:[2, 41] Operation: 92-51=41
Moving to Node #0,1,2
Current State: 82:[2, 41], Operations: ['64/32=2', '92-51=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[92, 51, 32, 64], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [92, 51, 2]
Generated Node #0,1: 82:[92, 51, 2] Operation: 64/32=2
Moving to Node #0,1
Current State: 82:[92, 51, 2], Operations: ['64/32=2']
Exploring Operation: 92-51=41, Resulting Numbers: [2, 41]
Generated Node #0,1,2: 82:[2, 41] Operation: 92-51=41
Moving to Node #0,1,2
Current State: 82:[2, 41], Operations: ['64/32=2', '92-51=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
57,
15,
2,
62
] | 73 | [
"57-15=42",
"62/2=31",
"42+31=73"
] | Current State: 73:[57, 15, 2, 62], Operations: []
Exploring Operation: 57-15=42, Resulting Numbers: [2, 62, 42]
Generated Node #2: [2, 62, 42] from Operation: 57-15=42
Current State: 73:[2, 62, 42], Operations: ['57-15=42']
Exploring Operation: 62/2=31, Resulting Numbers: [42, 31]
Generated Node #3: [42, 31] from Operation: 62/2=31
Current State: 73:[42, 31], Operations: ['57-15=42', '62/2=31']
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[57, 15, 2, 62], Operations: []
Exploring Operation: 15*2=30, Resulting Numbers: [57, 62, 30]
Generated Node #0,0: 73:[57, 62, 30] Operation: 15*2=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[57, 62, 30], Operations: ['15*2=30']
Exploring Operation: 57+30=87, Resulting Numbers: [62, 87]
Generated Node #0,0,0: 73:[62, 87] Operation: 57+30=87
Moving to Node #0,0,0
Current State: 73:[62, 87], Operations: ['15*2=30', '57+30=87']
Exploring Operation: 87-62=25, Resulting Numbers: [25]
25,73 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,
43,
57,
46
] | 74 | [
"57-43=14",
"2*14=28",
"46+28=74"
] | Current State: 74:[2, 43, 57, 46], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [2, 46, 14]
Generated Node #2: [2, 46, 14] from Operation: 57-43=14
Current State: 74:[2, 46, 14], Operations: ['57-43=14']
Exploring Operation: 2*14=28, Resulting Numbers: [46, 28]
Generated Node #3: [46, 28] from Operation: 2*14=28
Current State: 74:[46, 28], Operations: ['57-43=14', '2*14=28']
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 43, 57, 46], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [2, 46, 14]
Generated Node #0,0: 74:[2, 46, 14] Operation: 57-43=14
Exploring Operation: 57-46=11, Resulting Numbers: [2, 43, 11]
Generated Node #0,1: 74:[2, 43, 11] Operation: 57-46=11
Exploring Operation: 43-2=41, Resulting Numbers: [57, 46, 41]
Generated Node #0,2: 74:[57, 46, 41] Operation: 43-2=41
Exploring Operation: 46-43=3, Resulting Numbers: [2, 57, 3]
Generated Node #0,3: 74:[2, 57, 3] Operation: 46-43=3
Moving to Node #0,1
Current State: 74:[2, 43, 11], Operations: ['57-46=11']
Exploring Operation: 43-11=32, Resulting Numbers: [2, 32]
Generated Node #0,1,0: 74:[2, 32] Operation: 43-11=32
Exploring Operation: 43-2=41, Resulting Numbers: [11, 41]
Generated Node #0,1,1: 74:[11, 41] Operation: 43-2=41
Exploring Operation: 11-2=9, Resulting Numbers: [43, 9]
Generated Node #0,1,2: 74:[43, 9] Operation: 11-2=9
Exploring Operation: 2+43=45, Resulting Numbers: [11, 45]
Generated Node #0,1,3: 74:[11, 45] Operation: 2+43=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[2, 32], Operations: ['57-46=11', '43-11=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 32/2=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,1,1
Current State: 74:[11, 41], Operations: ['57-46=11', '43-2=41']
Exploring Operation: 11*41=451, Resulting Numbers: [451]
451,74 unequal: No Solution
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[43, 9], Operations: ['57-46=11', '11-2=9']
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,74 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[11, 45], Operations: ['57-46=11', '2+43=45']
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,74 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,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:[2, 57, 3], Operations: ['46-43=3']
Exploring Operation: 57+3=60, Resulting Numbers: [2, 60]
Generated Node #0,3,0: 74:[2, 60] Operation: 57+3=60
Exploring Operation: 57-3=54, Resulting Numbers: [2, 54]
Generated Node #0,3,1: 74:[2, 54] Operation: 57-3=54
Exploring Operation: 2+57=59, Resulting Numbers: [3, 59]
Generated Node #0,3,2: 74:[3, 59] Operation: 2+57=59
Exploring Operation: 57/3=19, Resulting Numbers: [2, 19]
Generated Node #0,3,3: 74:[2, 19] Operation: 57/3=19
Moving to Node #0,0
Current State: 74:[2, 46, 14], Operations: ['57-43=14']
Exploring Operation: 46+14=60, Resulting Numbers: [2, 60]
Generated Node #0,0,0: 74:[2, 60] Operation: 46+14=60
Exploring Operation: 46-14=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 74:[2, 32] Operation: 46-14=32
Exploring Operation: 14/2=7, Resulting Numbers: [46, 7]
Generated Node #0,0,2: 74:[46, 7] Operation: 14/2=7
Exploring Operation: 2*14=28, Resulting Numbers: [46, 28]
Generated Node #0,0,3: 74:[46, 28] Operation: 2*14=28
Moving to Node #0,2
Current State: 74:[57, 46, 41], Operations: ['43-2=41']
Exploring Operation: 46-41=5, Resulting Numbers: [57, 5]
Generated Node #0,2,0: 74:[57, 5] Operation: 46-41=5
Exploring Operation: 57-41=16, Resulting Numbers: [46, 16]
Generated Node #0,2,1: 74:[46, 16] Operation: 57-41=16
Exploring Operation: 57-46=11, Resulting Numbers: [41, 11]
Generated Node #0,2,2: 74:[41, 11] Operation: 57-46=11
Exploring Operation: 46+41=87, Resulting Numbers: [57, 87]
Generated Node #0,2,3: 74:[57, 87] Operation: 46+41=87
Moving to Node #0,0,1
Current State: 74:[2, 32], Operations: ['57-43=14', '46-14=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[41, 11], Operations: ['43-2=41', '57-46=11']
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,74 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[2, 60], Operations: ['57-43=14', '46+14=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,74 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[46, 7], Operations: ['57-43=14', '14/2=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,74 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[2, 60], Operations: ['46-43=3', '57+3=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[3, 59], Operations: ['46-43=3', '2+57=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,74 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[2, 54], Operations: ['46-43=3', '57-3=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[2, 19], Operations: ['46-43=3', '57/3=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[46, 28], Operations: ['57-43=14', '2*14=28']
Exploring Operation: 46*28=1288, Resulting Numbers: [1288]
1288,74 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[2, 43, 57, 46], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [2, 46, 14]
Generated Node #0,0: 74:[2, 46, 14] Operation: 57-43=14
Moving to Node #0,0
Current State: 74:[2, 46, 14], Operations: ['57-43=14']
Exploring Operation: 2*14=28, Resulting Numbers: [46, 28]
Generated Node #0,0,3: 74:[46, 28] Operation: 2*14=28
Moving to Node #0,0,3
Current State: 74:[46, 28], Operations: ['57-43=14', '2*14=28']
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.940972 | hs_4 | mult_heuristic |
[
95,
6,
27,
60
] | 48 | [
"95-27=68",
"68-60=8",
"6*8=48"
] | Current State: 48:[95, 6, 27, 60], Operations: []
Exploring Operation: 95-27=68, Resulting Numbers: [6, 60, 68]
Generated Node #2: [6, 60, 68] from Operation: 95-27=68
Current State: 48:[6, 60, 68], Operations: ['95-27=68']
Exploring Operation: 68-60=8, Resulting Numbers: [6, 8]
Generated Node #3: [6, 8] from Operation: 68-60=8
Current State: 48:[6, 8], Operations: ['95-27=68', '68-60=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[95, 6, 27, 60], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [6, 27, 35]
Generated Node #0,0: 48:[6, 27, 35] Operation: 95-60=35
Exploring Operation: 60/6=10, Resulting Numbers: [95, 27, 10]
Generated Node #0,1: 48:[95, 27, 10] Operation: 60/6=10
Exploring Operation: 95-6=89, Resulting Numbers: [27, 60, 89]
Generated Node #0,2: 48:[27, 60, 89] Operation: 95-6=89
Exploring Operation: 95-27=68, Resulting Numbers: [6, 60, 68]
Generated Node #0,3: 48:[6, 60, 68] Operation: 95-27=68
Moving to Node #0,0
Current State: 48:[6, 27, 35], Operations: ['95-60=35']
Exploring Operation: 35-6=29, Resulting Numbers: [27, 29]
Generated Node #0,0,0: 48:[27, 29] Operation: 35-6=29
Exploring Operation: 35-27=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 48:[6, 8] Operation: 35-27=8
Exploring Operation: 27-6=21, Resulting Numbers: [35, 21]
Generated Node #0,0,2: 48:[35, 21] Operation: 27-6=21
Exploring Operation: 6+35=41, Resulting Numbers: [27, 41]
Generated Node #0,0,3: 48:[27, 41] Operation: 6+35=41
Moving to Node #0,3
Current State: 48:[6, 60, 68], Operations: ['95-27=68']
Exploring Operation: 68-6=62, Resulting Numbers: [60, 62]
Generated Node #0,3,0: 48:[60, 62] Operation: 68-6=62
Exploring Operation: 60/6=10, Resulting Numbers: [68, 10]
Generated Node #0,3,1: 48:[68, 10] Operation: 60/6=10
Exploring Operation: 68-60=8, Resulting Numbers: [6, 8]
Generated Node #0,3,2: 48:[6, 8] Operation: 68-60=8
Exploring Operation: 60-6=54, Resulting Numbers: [68, 54]
Generated Node #0,3,3: 48:[68, 54] Operation: 60-6=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[6, 8], Operations: ['95-27=68', '68-60=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[95, 6, 27, 60], Operations: []
Exploring Operation: 95-27=68, Resulting Numbers: [6, 60, 68]
Generated Node #0,3: 48:[6, 60, 68] Operation: 95-27=68
Moving to Node #0,3
Current State: 48:[6, 60, 68], Operations: ['95-27=68']
Exploring Operation: 68-60=8, Resulting Numbers: [6, 8]
Generated Node #0,3,2: 48:[6, 8] Operation: 68-60=8
Moving to Node #0,3,2
Current State: 48:[6, 8], Operations: ['95-27=68', '68-60=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
98,
21,
91,
81
] | 49 | [
"98+91=189",
"21*189=3969",
"3969/81=49"
] | Current State: 49:[98, 21, 91, 81], Operations: []
Exploring Operation: 98+91=189, Resulting Numbers: [21, 81, 189]
Generated Node #2: [21, 81, 189] from Operation: 98+91=189
Current State: 49:[21, 81, 189], Operations: ['98+91=189']
Exploring Operation: 21*189=3969, Resulting Numbers: [81, 3969]
Generated Node #3: [81, 3969] from Operation: 21*189=3969
Current State: 49:[81, 3969], Operations: ['98+91=189', '21*189=3969']
Exploring Operation: 3969/81=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[98, 21, 91, 81], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [98, 21, 10]
Generated Node #0,0: 49:[98, 21, 10] Operation: 91-81=10
Exploring Operation: 98-91=7, Resulting Numbers: [21, 81, 7]
Generated Node #0,1: 49:[21, 81, 7] Operation: 98-91=7
Exploring Operation: 91-21=70, Resulting Numbers: [98, 81, 70]
Generated Node #0,2: 49:[98, 81, 70] Operation: 91-21=70
Exploring Operation: 98-81=17, Resulting Numbers: [21, 91, 17]
Generated Node #0,3: 49:[21, 91, 17] Operation: 98-81=17
Exploring Operation: 98-21=77, Resulting Numbers: [91, 81, 77]
Generated Node #0,4: 49:[91, 81, 77] Operation: 98-21=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[21, 81, 7], Operations: ['98-91=7']
Exploring Operation: 21-7=14, Resulting Numbers: [81, 14]
Generated Node #0,1,0: 49:[81, 14] Operation: 21-7=14
Exploring Operation: 81-7=74, Resulting Numbers: [21, 74]
Generated Node #0,1,1: 49:[21, 74] Operation: 81-7=74
Exploring Operation: 81-21=60, Resulting Numbers: [7, 60]
Generated Node #0,1,2: 49:[7, 60] Operation: 81-21=60
Exploring Operation: 21/7=3, Resulting Numbers: [81, 3]
Generated Node #0,1,3: 49:[81, 3] Operation: 21/7=3
Exploring Operation: 21+81=102, Resulting Numbers: [7, 102]
Generated Node #0,1,4: 49:[7, 102] Operation: 21+81=102
Moving to Node #0,1,2
Current State: 49:[7, 60], Operations: ['98-91=7', '81-21=60']
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,49 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[81, 3], Operations: ['98-91=7', '21/7=3']
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,49 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[81, 14], Operations: ['98-91=7', '21-7=14']
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[21, 74], Operations: ['98-91=7', '81-7=74']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 21*74=1554, Resulting Numbers: [1554]
1554,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[7, 102], Operations: ['98-91=7', '21+81=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 7*102=714, Resulting Numbers: [714]
714,49 unequal: No Solution
Exploring Operation: 7+102=109, Resulting Numbers: [109]
109,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,0
Current State: 49:[98, 21, 10], Operations: ['91-81=10']
Exploring Operation: 98-10=88, Resulting Numbers: [21, 88]
Generated Node #0,0,0: 49:[21, 88] Operation: 98-10=88
Exploring Operation: 21-10=11, Resulting Numbers: [98, 11]
Generated Node #0,0,1: 49:[98, 11] Operation: 21-10=11
Exploring Operation: 98-21=77, Resulting Numbers: [10, 77]
Generated Node #0,0,2: 49:[10, 77] Operation: 98-21=77
Exploring Operation: 98+21=119, Resulting Numbers: [10, 119]
Generated Node #0,0,3: 49:[10, 119] Operation: 98+21=119
Exploring Operation: 21+10=31, Resulting Numbers: [98, 31]
Generated Node #0,0,4: 49:[98, 31] Operation: 21+10=31
Moving to Node #0,0,2
Current State: 49:[10, 77], Operations: ['91-81=10', '98-21=77']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 10*77=770, Resulting Numbers: [770]
770,49 unequal: No Solution
Exploring Operation: 10+77=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[98, 11], Operations: ['91-81=10', '21-10=11']
Exploring Operation: 98*11=1078, Resulting Numbers: [1078]
1078,49 unequal: No Solution
Exploring Operation: 98+11=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[21, 88], Operations: ['91-81=10', '98-10=88']
Exploring Operation: 21+88=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 21*88=1848, Resulting Numbers: [1848]
1848,49 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[98, 31], Operations: ['91-81=10', '21+10=31']
Exploring Operation: 98+31=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 98*31=3038, Resulting Numbers: [3038]
3038,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[10, 119], Operations: ['91-81=10', '98+21=119']
Exploring Operation: 119-10=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 10*119=1190, Resulting Numbers: [1190]
1190,49 unequal: No Solution
Exploring Operation: 10+119=129, Resulting Numbers: [129]
129,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
Current State: 49:[21, 91, 17], Operations: ['98-81=17']
Exploring Operation: 91-17=74, Resulting Numbers: [21, 74]
Generated Node #0,3,0: 49:[21, 74] Operation: 91-17=74
Exploring Operation: 21+17=38, Resulting Numbers: [91, 38]
Generated Node #0,3,1: 49:[91, 38] Operation: 21+17=38
Exploring Operation: 21+91=112, Resulting Numbers: [17, 112]
Generated Node #0,3,2: 49:[17, 112] Operation: 21+91=112
Exploring Operation: 91-21=70, Resulting Numbers: [17, 70]
Generated Node #0,3,3: 49:[17, 70] Operation: 91-21=70
Exploring Operation: 21-17=4, Resulting Numbers: [91, 4]
Generated Node #0,3,4: 49:[91, 4] Operation: 21-17=4
Moving to Node #0,3,3
Current State: 49:[17, 70], Operations: ['98-81=17', '91-21=70']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[21, 74], Operations: ['98-81=17', '91-17=74']
Exploring Operation: 21*74=1554, Resulting Numbers: [1554]
1554,49 unequal: No Solution
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[91, 4], Operations: ['98-81=17', '21-17=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[91, 38], Operations: ['98-81=17', '21+17=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,49 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[17, 112], Operations: ['98-81=17', '21+91=112']
Exploring Operation: 112-17=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 17*112=1904, Resulting Numbers: [1904]
1904,49 unequal: No Solution
Exploring Operation: 17+112=129, Resulting Numbers: [129]
129,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
Current State: 49:[98, 81, 70], Operations: ['91-21=70']
Exploring Operation: 81-70=11, Resulting Numbers: [98, 11]
Generated Node #0,2,0: 49:[98, 11] Operation: 81-70=11
Exploring Operation: 98-70=28, Resulting Numbers: [81, 28]
Generated Node #0,2,1: 49:[81, 28] Operation: 98-70=28
Exploring Operation: 98-81=17, Resulting Numbers: [70, 17]
Generated Node #0,2,2: 49:[70, 17] Operation: 98-81=17
Exploring Operation: 98+81=179, Resulting Numbers: [70, 179]
Generated Node #0,2,3: 49:[70, 179] Operation: 98+81=179
Exploring Operation: 98+70=168, Resulting Numbers: [81, 168]
Generated Node #0,2,4: 49:[81, 168] Operation: 98+70=168
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[70, 17], Operations: ['91-21=70', '98-81=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,49 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,49 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: 49:[98, 11], Operations: ['91-21=70', '81-70=11']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Exploring Operation: 98+11=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 98*11=1078, Resulting Numbers: [1078]
1078,49 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: 49:[81, 28], Operations: ['91-21=70', '98-70=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,49 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,49 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: 49:[70, 179], Operations: ['91-21=70', '98+81=179']
Exploring Operation: 179-70=109, Resulting Numbers: [109]
109,49 unequal: No Solution
Exploring Operation: 70+179=249, Resulting Numbers: [249]
249,49 unequal: No Solution
Exploring Operation: 70*179=12530, Resulting Numbers: [12530]
12530,49 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: 49:[81, 168], Operations: ['91-21=70', '98+70=168']
Exploring Operation: 168-81=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Exploring Operation: 81*168=13608, Resulting Numbers: [13608]
13608,49 unequal: No Solution
Exploring Operation: 81+168=249, Resulting Numbers: [249]
249,49 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: 49:[91, 81, 77], Operations: ['98-21=77']
Exploring Operation: 91+77=168, Resulting Numbers: [81, 168]
Generated Node #0,4,0: 49:[81, 168] Operation: 91+77=168
Exploring Operation: 91-77=14, Resulting Numbers: [81, 14]
Generated Node #0,4,1: 49:[81, 14] Operation: 91-77=14
Exploring Operation: 91+81=172, Resulting Numbers: [77, 172]
Generated Node #0,4,2: 49:[77, 172] Operation: 91+81=172
Exploring Operation: 81-77=4, Resulting Numbers: [91, 4]
Generated Node #0,4,3: 49:[91, 4] Operation: 81-77=4
Exploring Operation: 91-81=10, Resulting Numbers: [77, 10]
Generated Node #0,4,4: 49:[77, 10] Operation: 91-81=10
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 49:[77, 10], Operations: ['98-21=77', '91-81=10']
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,49 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,49 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: 49:[81, 14], Operations: ['98-21=77', '91-77=14']
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,49 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,49 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: 49:[91, 4], Operations: ['98-21=77', '81-77=4']
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,49 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,49 unequal: No Solution
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,49 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: 49:[81, 168], Operations: ['98-21=77', '91+77=168']
Exploring Operation: 81*168=13608, Resulting Numbers: [13608]
13608,49 unequal: No Solution
Exploring Operation: 81+168=249, Resulting Numbers: [249]
249,49 unequal: No Solution
Exploring Operation: 168-81=87, Resulting Numbers: [87]
87,49 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: 49:[77, 172], Operations: ['98-21=77', '91+81=172']
Exploring Operation: 77*172=13244, Resulting Numbers: [13244]
13244,49 unequal: No Solution
Exploring Operation: 172-77=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 77+172=249, Resulting Numbers: [249]
249,49 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 |
[
72,
38,
78,
29
] | 83 | [
"72-38=34",
"78-29=49",
"34+49=83"
] | Current State: 83:[72, 38, 78, 29], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [78, 29, 34]
Generated Node #2: [78, 29, 34] from Operation: 72-38=34
Current State: 83:[78, 29, 34], Operations: ['72-38=34']
Exploring Operation: 78-29=49, Resulting Numbers: [34, 49]
Generated Node #3: [34, 49] from Operation: 78-29=49
Current State: 83:[34, 49], Operations: ['72-38=34', '78-29=49']
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[72, 38, 78, 29], Operations: []
Exploring Operation: 72+29=101, Resulting Numbers: [38, 78, 101]
Generated Node #0,0: 83:[38, 78, 101] Operation: 72+29=101
Exploring Operation: 38+29=67, Resulting Numbers: [72, 78, 67]
Generated Node #0,1: 83:[72, 78, 67] Operation: 38+29=67
Moving to Node #0,1
Current State: 83:[72, 78, 67], Operations: ['38+29=67']
Exploring Operation: 72+67=139, Resulting Numbers: [78, 139]
Generated Node #0,1,0: 83:[78, 139] Operation: 72+67=139
Exploring Operation: 78+67=145, Resulting Numbers: [72, 145]
Generated Node #0,1,1: 83:[72, 145] Operation: 78+67=145
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[78, 139], Operations: ['38+29=67', '72+67=139']
Exploring Operation: 78+139=217, Resulting Numbers: [217]
217,83 unequal: No Solution
Exploring Operation: 139-78=61, Resulting Numbers: [61]
61,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:[72, 145], Operations: ['38+29=67', '78+67=145']
Exploring Operation: 72+145=217, Resulting Numbers: [217]
217,83 unequal: No Solution
Exploring Operation: 145-72=73, Resulting Numbers: [73]
73,83 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: 83:[38, 78, 101], Operations: ['72+29=101']
Exploring Operation: 38+78=116, Resulting Numbers: [101, 116]
Generated Node #0,0,0: 83:[101, 116] Operation: 38+78=116
Exploring Operation: 101-38=63, Resulting Numbers: [78, 63]
Generated Node #0,0,1: 83:[78, 63] Operation: 101-38=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[78, 63], Operations: ['72+29=101', '101-38=63']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,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,0
Current State: 83:[101, 116], Operations: ['72+29=101', '38+78=116']
Exploring Operation: 116-101=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 101+116=217, Resulting Numbers: [217]
217,83 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 |
[
47,
3,
1,
5
] | 89 | [
"3-1=2",
"47*2=94",
"94-5=89"
] | Current State: 89:[47, 3, 1, 5], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [47, 5, 2]
Generated Node #2: [47, 5, 2] from Operation: 3-1=2
Current State: 89:[47, 5, 2], Operations: ['3-1=2']
Exploring Operation: 47*2=94, Resulting Numbers: [5, 94]
Generated Node #3: [5, 94] from Operation: 47*2=94
Current State: 89:[5, 94], Operations: ['3-1=2', '47*2=94']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[47, 3, 1, 5], Operations: []
Exploring Operation: 47+3=50, Resulting Numbers: [1, 5, 50]
Generated Node #0,0: 89:[1, 5, 50] Operation: 47+3=50
Exploring Operation: 47+1=48, Resulting Numbers: [3, 5, 48]
Generated Node #0,1: 89:[3, 5, 48] Operation: 47+1=48
Exploring Operation: 3*5=15, Resulting Numbers: [47, 1, 15]
Generated Node #0,2: 89:[47, 1, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[47, 1, 15], Operations: ['3*5=15']
Exploring Operation: 47+1=48, Resulting Numbers: [15, 48]
Generated Node #0,2,0: 89:[15, 48] Operation: 47+1=48
Exploring Operation: 1+15=16, Resulting Numbers: [47, 16]
Generated Node #0,2,1: 89:[47, 16] Operation: 1+15=16
Exploring Operation: 47+15=62, Resulting Numbers: [1, 62]
Generated Node #0,2,2: 89:[1, 62] Operation: 47+15=62
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[15, 48], Operations: ['3*5=15', '47+1=48']
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,89 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,89 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: 89:[47, 16], Operations: ['3*5=15', '1+15=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,89 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: 89:[1, 62], Operations: ['3*5=15', '47+15=62']
Exploring Operation: 1+62=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,89 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: 89:[1, 5, 50], Operations: ['47+3=50']
Exploring Operation: 1+5=6, Resulting Numbers: [50, 6]
Generated Node #0,0,0: 89:[50, 6] Operation: 1+5=6
Exploring Operation: 1+50=51, Resulting Numbers: [5, 51]
Generated Node #0,0,1: 89:[5, 51] Operation: 1+50=51
Exploring Operation: 5+50=55, Resulting Numbers: [1, 55]
Generated Node #0,0,2: 89:[1, 55] Operation: 5+50=55
Moving to Node #0,0,0
Current State: 89:[50, 6], Operations: ['47+3=50', '1+5=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,89 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[5, 51], Operations: ['47+3=50', '1+50=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,89 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[1, 55], Operations: ['47+3=50', '5+50=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,89 unequal: No Solution
No 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: 89:[3, 5, 48], Operations: ['47+1=48']
Exploring Operation: 3+48=51, Resulting Numbers: [5, 51]
Generated Node #0,1,0: 89:[5, 51] Operation: 3+48=51
Exploring Operation: 3+5=8, Resulting Numbers: [48, 8]
Generated Node #0,1,1: 89:[48, 8] Operation: 3+5=8
Exploring Operation: 3*5=15, Resulting Numbers: [48, 15]
Generated Node #0,1,2: 89:[48, 15] Operation: 3*5=15
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[48, 15], Operations: ['47+1=48', '3*5=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,89 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: 89:[5, 51], Operations: ['47+1=48', '3+48=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,89 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,89 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,89 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: 89:[48, 8], Operations: ['47+1=48', '3+5=8']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
49,
91,
37,
63
] | 70 | [
"91*37=3367",
"63+3367=3430",
"3430/49=70"
] | Current State: 70:[49, 91, 37, 63], Operations: []
Exploring Operation: 91*37=3367, Resulting Numbers: [49, 63, 3367]
Generated Node #2: [49, 63, 3367] from Operation: 91*37=3367
Current State: 70:[49, 63, 3367], Operations: ['91*37=3367']
Exploring Operation: 63+3367=3430, Resulting Numbers: [49, 3430]
Generated Node #3: [49, 3430] from Operation: 63+3367=3430
Current State: 70:[49, 3430], Operations: ['91*37=3367', '63+3367=3430']
Exploring Operation: 3430/49=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[49, 91, 37, 63], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [37, 63, 42]
Generated Node #0,0: 70:[37, 63, 42] Operation: 91-49=42
Moving to Node #0,0
Current State: 70:[37, 63, 42], Operations: ['91-49=42']
Exploring Operation: 42-37=5, Resulting Numbers: [63, 5]
Generated Node #0,0,0: 70:[63, 5] Operation: 42-37=5
Moving to Node #0,0,0
Current State: 70:[63, 5], Operations: ['91-49=42', '42-37=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,70 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
75,
80,
16,
94
] | 77 | [
"75+80=155",
"94-16=78",
"155-78=77"
] | Current State: 77:[75, 80, 16, 94], Operations: []
Exploring Operation: 75+80=155, Resulting Numbers: [16, 94, 155]
Generated Node #2: [16, 94, 155] from Operation: 75+80=155
Current State: 77:[16, 94, 155], Operations: ['75+80=155']
Exploring Operation: 94-16=78, Resulting Numbers: [155, 78]
Generated Node #3: [155, 78] from Operation: 94-16=78
Current State: 77:[155, 78], Operations: ['75+80=155', '94-16=78']
Exploring Operation: 155-78=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[75, 80, 16, 94], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [75, 94, 5]
Generated Node #0,0: 77:[75, 94, 5] Operation: 80/16=5
Exploring Operation: 94-16=78, Resulting Numbers: [75, 80, 78]
Generated Node #0,1: 77:[75, 80, 78] Operation: 94-16=78
Exploring Operation: 94-75=19, Resulting Numbers: [80, 16, 19]
Generated Node #0,2: 77:[80, 16, 19] Operation: 94-75=19
Exploring Operation: 94-80=14, Resulting Numbers: [75, 16, 14]
Generated Node #0,3: 77:[75, 16, 14] Operation: 94-80=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[75, 80, 78], Operations: ['94-16=78']
Exploring Operation: 78-75=3, Resulting Numbers: [80, 3]
Generated Node #0,1,0: 77:[80, 3] Operation: 78-75=3
Exploring Operation: 75+80=155, Resulting Numbers: [78, 155]
Generated Node #0,1,1: 77:[78, 155] Operation: 75+80=155
Exploring Operation: 80-78=2, Resulting Numbers: [75, 2]
Generated Node #0,1,2: 77:[75, 2] Operation: 80-78=2
Exploring Operation: 80-75=5, Resulting Numbers: [78, 5]
Generated Node #0,1,3: 77:[78, 5] Operation: 80-75=5
Moving to Node #0,1,3
Current State: 77:[78, 5], Operations: ['94-16=78', '80-75=5']
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,77 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[75, 2], Operations: ['94-16=78', '80-78=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[75, 80, 16, 94], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [75, 80, 78]
Generated Node #0,1: 77:[75, 80, 78] Operation: 94-16=78
Moving to Node #0,1
Current State: 77:[75, 80, 78], Operations: ['94-16=78']
Exploring Operation: 80-78=2, Resulting Numbers: [75, 2]
Generated Node #0,1,2: 77:[75, 2] Operation: 80-78=2
Moving to Node #0,1,2
Current State: 77:[75, 2], Operations: ['94-16=78', '80-78=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
7,
95,
15,
2
] | 66 | [
"7+95=102",
"102/2=51",
"15+51=66"
] | Current State: 66:[7, 95, 15, 2], Operations: []
Exploring Operation: 7+95=102, Resulting Numbers: [15, 2, 102]
Generated Node #2: [15, 2, 102] from Operation: 7+95=102
Current State: 66:[15, 2, 102], Operations: ['7+95=102']
Exploring Operation: 102/2=51, Resulting Numbers: [15, 51]
Generated Node #3: [15, 51] from Operation: 102/2=51
Current State: 66:[15, 51], Operations: ['7+95=102', '102/2=51']
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[7, 95, 15, 2], Operations: []
Exploring Operation: 15-7=8, Resulting Numbers: [95, 2, 8]
Generated Node #0,0: 66:[95, 2, 8] Operation: 15-7=8
Exploring Operation: 7+15=22, Resulting Numbers: [95, 2, 22]
Generated Node #0,1: 66:[95, 2, 22] Operation: 7+15=22
Exploring Operation: 95-15=80, Resulting Numbers: [7, 2, 80]
Generated Node #0,2: 66:[7, 2, 80] Operation: 95-15=80
Exploring Operation: 95-7=88, Resulting Numbers: [15, 2, 88]
Generated Node #0,3: 66:[15, 2, 88] Operation: 95-7=88
Moving to Node #0,2
Current State: 66:[7, 2, 80], Operations: ['95-15=80']
Exploring Operation: 80-7=73, Resulting Numbers: [2, 73]
Generated Node #0,2,0: 66:[2, 73] Operation: 80-7=73
Exploring Operation: 80-2=78, Resulting Numbers: [7, 78]
Generated Node #0,2,1: 66:[7, 78] Operation: 80-2=78
Exploring Operation: 80/2=40, Resulting Numbers: [7, 40]
Generated Node #0,2,2: 66:[7, 40] Operation: 80/2=40
Exploring Operation: 7-2=5, Resulting Numbers: [80, 5]
Generated Node #0,2,3: 66:[80, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[2, 73], Operations: ['95-15=80', '80-7=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[7, 40], Operations: ['95-15=80', '80/2=40']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,66 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[7, 78], Operations: ['95-15=80', '80-2=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,66 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[80, 5], Operations: ['95-15=80', '7-2=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,66 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,66 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,66 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: 66:[15, 2, 88], Operations: ['95-7=88']
Exploring Operation: 88/2=44, Resulting Numbers: [15, 44]
Generated Node #0,3,0: 66:[15, 44] Operation: 88/2=44
Exploring Operation: 88-15=73, Resulting Numbers: [2, 73]
Generated Node #0,3,1: 66:[2, 73] Operation: 88-15=73
Exploring Operation: 88-2=86, Resulting Numbers: [15, 86]
Generated Node #0,3,2: 66:[15, 86] Operation: 88-2=86
Exploring Operation: 15-2=13, Resulting Numbers: [88, 13]
Generated Node #0,3,3: 66:[88, 13] Operation: 15-2=13
Moving to Node #0,1
Current State: 66:[95, 2, 22], Operations: ['7+15=22']
Exploring Operation: 95+2=97, Resulting Numbers: [22, 97]
Generated Node #0,1,0: 66:[22, 97] Operation: 95+2=97
Exploring Operation: 95-2=93, Resulting Numbers: [22, 93]
Generated Node #0,1,1: 66:[22, 93] Operation: 95-2=93
Exploring Operation: 95-22=73, Resulting Numbers: [2, 73]
Generated Node #0,1,2: 66:[2, 73] Operation: 95-22=73
Exploring Operation: 22/2=11, Resulting Numbers: [95, 11]
Generated Node #0,1,3: 66:[95, 11] Operation: 22/2=11
Moving to Node #0,0
Current State: 66:[95, 2, 8], Operations: ['15-7=8']
Exploring Operation: 2+8=10, Resulting Numbers: [95, 10]
Generated Node #0,0,0: 66:[95, 10] Operation: 2+8=10
Exploring Operation: 8-2=6, Resulting Numbers: [95, 6]
Generated Node #0,0,1: 66:[95, 6] Operation: 8-2=6
Exploring Operation: 95-2=93, Resulting Numbers: [8, 93]
Generated Node #0,0,2: 66:[8, 93] Operation: 95-2=93
Exploring Operation: 95-8=87, Resulting Numbers: [2, 87]
Generated Node #0,0,3: 66:[2, 87] Operation: 95-8=87
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[2, 87], Operations: ['15-7=8', '95-8=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,66 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[95, 6], Operations: ['15-7=8', '8-2=6']
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,66 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[8, 93], Operations: ['15-7=8', '95-2=93']
Exploring Operation: 8+93=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 8*93=744, Resulting Numbers: [744]
744,66 unequal: No Solution
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[95, 10], Operations: ['15-7=8', '2+8=10']
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,66 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,66 unequal: No Solution
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,66 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: 66:[2, 73], Operations: ['95-7=88', '88-15=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,66 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[2, 73], Operations: ['7+15=22', '95-22=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,66 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[15, 44], Operations: ['95-7=88', '88/2=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,66 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[15, 86], Operations: ['95-7=88', '88-2=86']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,66 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[88, 13], Operations: ['95-7=88', '15-2=13']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 88*13=1144, Resulting Numbers: [1144]
1144,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[22, 93], Operations: ['7+15=22', '95-2=93']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 22*93=2046, Resulting Numbers: [2046]
2046,66 unequal: No Solution
Exploring Operation: 22+93=115, Resulting Numbers: [115]
115,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[95, 11], Operations: ['7+15=22', '22/2=11']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[22, 97], Operations: ['7+15=22', '95+2=97']
Exploring Operation: 22*97=2134, Resulting Numbers: [2134]
2134,66 unequal: No Solution
Exploring Operation: 22+97=119, Resulting Numbers: [119]
119,66 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,66 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
22,
9,
2
] | 36 | [
"28-22=6",
"6-2=4",
"9*4=36"
] | Current State: 36:[28, 22, 9, 2], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [9, 2, 6]
Generated Node #2: [9, 2, 6] from Operation: 28-22=6
Current State: 36:[9, 2, 6], Operations: ['28-22=6']
Exploring Operation: 6-2=4, Resulting Numbers: [9, 4]
Generated Node #3: [9, 4] from Operation: 6-2=4
Current State: 36:[9, 4], Operations: ['28-22=6', '6-2=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[28, 22, 9, 2], Operations: []
Exploring Operation: 28+9=37, Resulting Numbers: [22, 2, 37]
Generated Node #0,0: 36:[22, 2, 37] Operation: 28+9=37
Exploring Operation: 28-9=19, Resulting Numbers: [22, 2, 19]
Generated Node #0,1: 36:[22, 2, 19] Operation: 28-9=19
Exploring Operation: 28/2=14, Resulting Numbers: [22, 9, 14]
Generated Node #0,2: 36:[22, 9, 14] Operation: 28/2=14
Exploring Operation: 28-22=6, Resulting Numbers: [9, 2, 6]
Generated Node #0,3: 36:[9, 2, 6] Operation: 28-22=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[9, 2, 6], Operations: ['28-22=6']
Exploring Operation: 6-2=4, Resulting Numbers: [9, 4]
Generated Node #0,3,0: 36:[9, 4] Operation: 6-2=4
Exploring Operation: 9-6=3, Resulting Numbers: [2, 3]
Generated Node #0,3,1: 36:[2, 3] Operation: 9-6=3
Exploring Operation: 9*2=18, Resulting Numbers: [6, 18]
Generated Node #0,3,2: 36:[6, 18] Operation: 9*2=18
Exploring Operation: 2*6=12, Resulting Numbers: [9, 12]
Generated Node #0,3,3: 36:[9, 12] Operation: 2*6=12
Moving to Node #0,3,0
Current State: 36:[9, 4], Operations: ['28-22=6', '6-2=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[28, 22, 9, 2], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [9, 2, 6]
Generated Node #0,3: 36:[9, 2, 6] Operation: 28-22=6
Moving to Node #0,3
Current State: 36:[9, 2, 6], Operations: ['28-22=6']
Exploring Operation: 6-2=4, Resulting Numbers: [9, 4]
Generated Node #0,3,0: 36:[9, 4] Operation: 6-2=4
Moving to Node #0,3,0
Current State: 36:[9, 4], Operations: ['28-22=6', '6-2=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
38,
31,
20,
3
] | 71 | [
"31-20=11",
"3*11=33",
"38+33=71"
] | Current State: 71:[38, 31, 20, 3], Operations: []
Exploring Operation: 31-20=11, Resulting Numbers: [38, 3, 11]
Generated Node #2: [38, 3, 11] from Operation: 31-20=11
Current State: 71:[38, 3, 11], Operations: ['31-20=11']
Exploring Operation: 3*11=33, Resulting Numbers: [38, 33]
Generated Node #3: [38, 33] from Operation: 3*11=33
Current State: 71:[38, 33], Operations: ['31-20=11', '3*11=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[38, 31, 20, 3], Operations: []
Exploring Operation: 20*3=60, Resulting Numbers: [38, 31, 60]
Generated Node #0,0: 71:[38, 31, 60] Operation: 20*3=60
Moving to Node #0,0
Current State: 71:[38, 31, 60], Operations: ['20*3=60']
Exploring Operation: 38+31=69, Resulting Numbers: [60, 69]
Generated Node #0,0,0: 71:[60, 69] Operation: 38+31=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[60, 69], Operations: ['20*3=60', '38+31=69']
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,71 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 |
[
79,
32,
34,
30
] | 49 | [
"34-30=4",
"32*4=128",
"128-79=49"
] | Current State: 49:[79, 32, 34, 30], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [79, 32, 4]
Generated Node #2: [79, 32, 4] from Operation: 34-30=4
Current State: 49:[79, 32, 4], Operations: ['34-30=4']
Exploring Operation: 32*4=128, Resulting Numbers: [79, 128]
Generated Node #3: [79, 128] from Operation: 32*4=128
Current State: 49:[79, 128], Operations: ['34-30=4', '32*4=128']
Exploring Operation: 128-79=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[79, 32, 34, 30], Operations: []
Exploring Operation: 79-30=49, Resulting Numbers: [32, 34, 49]
Generated Node #0,0: 49:[32, 34, 49] Operation: 79-30=49
Exploring Operation: 79-32=47, Resulting Numbers: [34, 30, 47]
Generated Node #0,1: 49:[34, 30, 47] Operation: 79-32=47
Exploring Operation: 79-34=45, Resulting Numbers: [32, 30, 45]
Generated Node #0,2: 49:[32, 30, 45] Operation: 79-34=45
Moving to Node #0,0
Current State: 49:[32, 34, 49], Operations: ['79-30=49']
Exploring Operation: 34-32=2, Resulting Numbers: [49, 2]
Generated Node #0,0,0: 49:[49, 2] Operation: 34-32=2
Exploring Operation: 32+34=66, Resulting Numbers: [49, 66]
Generated Node #0,0,1: 49:[49, 66] Operation: 32+34=66
Exploring Operation: 49-32=17, Resulting Numbers: [34, 17]
Generated Node #0,0,2: 49:[34, 17] Operation: 49-32=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[49, 2], Operations: ['79-30=49', '34-32=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,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,0,1
Current State: 49:[49, 66], Operations: ['79-30=49', '32+34=66']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 49*66=3234, Resulting Numbers: [3234]
3234,49 unequal: No Solution
Exploring Operation: 49+66=115, Resulting Numbers: [115]
115,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,0,2
Current State: 49:[34, 17], Operations: ['79-30=49', '49-32=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,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:[34, 30, 47], Operations: ['79-32=47']
Exploring Operation: 47-34=13, Resulting Numbers: [30, 13]
Generated Node #0,1,0: 49:[30, 13] Operation: 47-34=13
Exploring Operation: 34+30=64, Resulting Numbers: [47, 64]
Generated Node #0,1,1: 49:[47, 64] Operation: 34+30=64
Exploring Operation: 34-30=4, Resulting Numbers: [47, 4]
Generated Node #0,1,2: 49:[47, 4] Operation: 34-30=4
Moving to Node #0,2
Current State: 49:[32, 30, 45], Operations: ['79-34=45']
Exploring Operation: 32-30=2, Resulting Numbers: [45, 2]
Generated Node #0,2,0: 49:[45, 2] Operation: 32-30=2
Exploring Operation: 45-32=13, Resulting Numbers: [30, 13]
Generated Node #0,2,1: 49:[30, 13] Operation: 45-32=13
Exploring Operation: 32+30=62, Resulting Numbers: [45, 62]
Generated Node #0,2,2: 49:[45, 62] Operation: 32+30=62
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[45, 2], Operations: ['79-34=45', '32-30=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,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:[45, 62], Operations: ['79-34=45', '32+30=62']
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,49 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,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:[30, 13], Operations: ['79-34=45', '45-32=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 49:[47, 4], Operations: ['79-32=47', '34-30=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
Moving to Node #0,1,1
Current State: 49:[47, 64], Operations: ['79-32=47', '34+30=64']
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,49 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[30, 13], Operations: ['79-32=47', '47-34=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,49 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
87,
5,
42
] | 43 | [
"15/5=3",
"87+42=129",
"129/3=43"
] | Current State: 43:[15, 87, 5, 42], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [87, 42, 3]
Generated Node #2: [87, 42, 3] from Operation: 15/5=3
Current State: 43:[87, 42, 3], Operations: ['15/5=3']
Exploring Operation: 87+42=129, Resulting Numbers: [3, 129]
Generated Node #3: [3, 129] from Operation: 87+42=129
Current State: 43:[3, 129], Operations: ['15/5=3', '87+42=129']
Exploring Operation: 129/3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[15, 87, 5, 42], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [5, 42, 72]
Generated Node #0,0: 43:[5, 42, 72] Operation: 87-15=72
Moving to Node #0,0
Current State: 43:[5, 42, 72], Operations: ['87-15=72']
Exploring Operation: 72-5=67, Resulting Numbers: [42, 67]
Generated Node #0,0,0: 43:[42, 67] Operation: 72-5=67
Moving to Node #0,0,0
Current State: 43:[42, 67], Operations: ['87-15=72', '72-5=67']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,43 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
22,
31,
85
] | 29 | [
"88/22=4",
"31+85=116",
"116/4=29"
] | Current State: 29:[88, 22, 31, 85], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [31, 85, 4]
Generated Node #2: [31, 85, 4] from Operation: 88/22=4
Current State: 29:[31, 85, 4], Operations: ['88/22=4']
Exploring Operation: 31+85=116, Resulting Numbers: [4, 116]
Generated Node #3: [4, 116] from Operation: 31+85=116
Current State: 29:[4, 116], Operations: ['88/22=4', '31+85=116']
Exploring Operation: 116/4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[88, 22, 31, 85], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [31, 85, 4]
Generated Node #0,0: 29:[31, 85, 4] Operation: 88/22=4
Exploring Operation: 88-85=3, Resulting Numbers: [22, 31, 3]
Generated Node #0,1: 29:[22, 31, 3] Operation: 88-85=3
Moving to Node #0,1
Current State: 29:[22, 31, 3], Operations: ['88-85=3']
Exploring Operation: 22+3=25, Resulting Numbers: [31, 25]
Generated Node #0,1,0: 29:[31, 25] Operation: 22+3=25
Exploring Operation: 31-3=28, Resulting Numbers: [22, 28]
Generated Node #0,1,1: 29:[22, 28] Operation: 31-3=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[31, 25], Operations: ['88-85=3', '22+3=25']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,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,1,1
Current State: 29:[22, 28], Operations: ['88-85=3', '31-3=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,29 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: 29:[31, 85, 4], Operations: ['88/22=4']
Exploring Operation: 85-4=81, Resulting Numbers: [31, 81]
Generated Node #0,0,0: 29:[31, 81] Operation: 85-4=81
Exploring Operation: 85-31=54, Resulting Numbers: [4, 54]
Generated Node #0,0,1: 29:[4, 54] Operation: 85-31=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[4, 54], Operations: ['88/22=4', '85-31=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,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, 81], Operations: ['88/22=4', '85-4=81']
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 31+81=112, Resulting Numbers: [112]
112,29 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 |
[
28,
16,
76,
49
] | 48 | [
"16*49=784",
"784/28=28",
"76-28=48"
] | Current State: 48:[28, 16, 76, 49], Operations: []
Exploring Operation: 16*49=784, Resulting Numbers: [28, 76, 784]
Generated Node #2: [28, 76, 784] from Operation: 16*49=784
Current State: 48:[28, 76, 784], Operations: ['16*49=784']
Exploring Operation: 784/28=28, Resulting Numbers: [76, 28]
Generated Node #3: [76, 28] from Operation: 784/28=28
Current State: 48:[76, 28], Operations: ['16*49=784', '784/28=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[28, 16, 76, 49], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [28, 16, 27]
Generated Node #0,0: 48:[28, 16, 27] Operation: 76-49=27
Exploring Operation: 76-16=60, Resulting Numbers: [28, 49, 60]
Generated Node #0,1: 48:[28, 49, 60] Operation: 76-16=60
Exploring Operation: 76-28=48, Resulting Numbers: [16, 49, 48]
Generated Node #0,2: 48:[16, 49, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[16, 49, 48], Operations: ['76-28=48']
Exploring Operation: 49-16=33, Resulting Numbers: [48, 33]
Generated Node #0,2,0: 48:[48, 33] Operation: 49-16=33
Exploring Operation: 48/16=3, Resulting Numbers: [49, 3]
Generated Node #0,2,1: 48:[49, 3] Operation: 48/16=3
Exploring Operation: 49-48=1, Resulting Numbers: [16, 1]
Generated Node #0,2,2: 48:[16, 1] Operation: 49-48=1
Moving to Node #0,2,1
Current State: 48:[49, 3], Operations: ['76-28=48', '48/16=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,48 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[16, 1], Operations: ['76-28=48', '49-48=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[48, 33], Operations: ['76-28=48', '49-16=33']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,48 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,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
Current State: 48:[28, 16, 27], Operations: ['76-49=27']
Exploring Operation: 28-16=12, Resulting Numbers: [27, 12]
Generated Node #0,0,0: 48:[27, 12] Operation: 28-16=12
Exploring Operation: 28-27=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 48:[16, 1] Operation: 28-27=1
Exploring Operation: 27-16=11, Resulting Numbers: [28, 11]
Generated Node #0,0,2: 48:[28, 11] Operation: 27-16=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[16, 1], Operations: ['76-49=27', '28-27=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,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,0
Current State: 48:[27, 12], Operations: ['76-49=27', '28-16=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,48 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,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:[28, 11], Operations: ['76-49=27', '27-16=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,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,1
Current State: 48:[28, 49, 60], Operations: ['76-16=60']
Exploring Operation: 49-28=21, Resulting Numbers: [60, 21]
Generated Node #0,1,0: 48:[60, 21] Operation: 49-28=21
Exploring Operation: 60-28=32, Resulting Numbers: [49, 32]
Generated Node #0,1,1: 48:[49, 32] Operation: 60-28=32
Exploring Operation: 60-49=11, Resulting Numbers: [28, 11]
Generated Node #0,1,2: 48:[28, 11] Operation: 60-49=11
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[28, 11], Operations: ['76-16=60', '60-49=11']
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,48 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,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,1,1
Current State: 48:[49, 32], Operations: ['76-16=60', '60-28=32']
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,48 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,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,1,0
Current State: 48:[60, 21], Operations: ['76-16=60', '49-28=21']
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,48 unequal: No Solution
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,48 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
88,
32,
38,
24
] | 19 | [
"88-24=64",
"32*38=1216",
"1216/64=19"
] | Current State: 19:[88, 32, 38, 24], Operations: []
Exploring Operation: 88-24=64, Resulting Numbers: [32, 38, 64]
Generated Node #2: [32, 38, 64] from Operation: 88-24=64
Current State: 19:[32, 38, 64], Operations: ['88-24=64']
Exploring Operation: 32*38=1216, Resulting Numbers: [64, 1216]
Generated Node #3: [64, 1216] from Operation: 32*38=1216
Current State: 19:[64, 1216], Operations: ['88-24=64', '32*38=1216']
Exploring Operation: 1216/64=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[88, 32, 38, 24], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [88, 24, 6]
Generated Node #0,0: 19:[88, 24, 6] Operation: 38-32=6
Exploring Operation: 88-32=56, Resulting Numbers: [38, 24, 56]
Generated Node #0,1: 19:[38, 24, 56] Operation: 88-32=56
Exploring Operation: 88-24=64, Resulting Numbers: [32, 38, 64]
Generated Node #0,2: 19:[32, 38, 64] Operation: 88-24=64
Exploring Operation: 88-38=50, Resulting Numbers: [32, 24, 50]
Generated Node #0,3: 19:[32, 24, 50] Operation: 88-38=50
Moving to Node #0,3
Current State: 19:[32, 24, 50], Operations: ['88-38=50']
Exploring Operation: 32+24=56, Resulting Numbers: [50, 56]
Generated Node #0,3,0: 19:[50, 56] Operation: 32+24=56
Exploring Operation: 50-32=18, Resulting Numbers: [24, 18]
Generated Node #0,3,1: 19:[24, 18] Operation: 50-32=18
Exploring Operation: 50-24=26, Resulting Numbers: [32, 26]
Generated Node #0,3,2: 19:[32, 26] Operation: 50-24=26
Exploring Operation: 32-24=8, Resulting Numbers: [50, 8]
Generated Node #0,3,3: 19:[50, 8] Operation: 32-24=8
Moving to Node #0,1
Current State: 19:[38, 24, 56], Operations: ['88-32=56']
Exploring Operation: 56-38=18, Resulting Numbers: [24, 18]
Generated Node #0,1,0: 19:[24, 18] Operation: 56-38=18
Exploring Operation: 56-24=32, Resulting Numbers: [38, 32]
Generated Node #0,1,1: 19:[38, 32] Operation: 56-24=32
Exploring Operation: 38-24=14, Resulting Numbers: [56, 14]
Generated Node #0,1,2: 19:[56, 14] Operation: 38-24=14
Exploring Operation: 38+24=62, Resulting Numbers: [56, 62]
Generated Node #0,1,3: 19:[56, 62] Operation: 38+24=62
Moving to Node #0,2
Current State: 19:[32, 38, 64], Operations: ['88-24=64']
Exploring Operation: 64/32=2, Resulting Numbers: [38, 2]
Generated Node #0,2,0: 19:[38, 2] Operation: 64/32=2
Exploring Operation: 64-38=26, Resulting Numbers: [32, 26]
Generated Node #0,2,1: 19:[32, 26] Operation: 64-38=26
Exploring Operation: 38-32=6, Resulting Numbers: [64, 6]
Generated Node #0,2,2: 19:[64, 6] Operation: 38-32=6
Exploring Operation: 64-32=32, Resulting Numbers: [38, 32]
Generated Node #0,2,3: 19:[38, 32] Operation: 64-32=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[32, 26], Operations: ['88-24=64', '64-38=26']
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,19 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[38, 32], Operations: ['88-24=64', '64-32=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,19 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[38, 2], Operations: ['88-24=64', '64/32=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[88, 32, 38, 24], Operations: []
Exploring Operation: 88-24=64, Resulting Numbers: [32, 38, 64]
Generated Node #0,2: 19:[32, 38, 64] Operation: 88-24=64
Moving to Node #0,2
Current State: 19:[32, 38, 64], Operations: ['88-24=64']
Exploring Operation: 64/32=2, Resulting Numbers: [38, 2]
Generated Node #0,2,0: 19:[38, 2] Operation: 64/32=2
Moving to Node #0,2,0
Current State: 19:[38, 2], Operations: ['88-24=64', '64/32=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
1,
13,
80,
7
] | 73 | [
"1+13=14",
"80+7=87",
"87-14=73"
] | Current State: 73:[1, 13, 80, 7], Operations: []
Exploring Operation: 1+13=14, Resulting Numbers: [80, 7, 14]
Generated Node #2: [80, 7, 14] from Operation: 1+13=14
Current State: 73:[80, 7, 14], Operations: ['1+13=14']
Exploring Operation: 80+7=87, Resulting Numbers: [14, 87]
Generated Node #3: [14, 87] from Operation: 80+7=87
Current State: 73:[14, 87], Operations: ['1+13=14', '80+7=87']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[1, 13, 80, 7], Operations: []
Exploring Operation: 13*7=91, Resulting Numbers: [1, 80, 91]
Generated Node #0,0: 73:[1, 80, 91] Operation: 13*7=91
Exploring Operation: 1+13=14, Resulting Numbers: [80, 7, 14]
Generated Node #0,1: 73:[80, 7, 14] Operation: 1+13=14
Exploring Operation: 1+7=8, Resulting Numbers: [13, 80, 8]
Generated Node #0,2: 73:[13, 80, 8] Operation: 1+7=8
Exploring Operation: 80-1=79, Resulting Numbers: [13, 7, 79]
Generated Node #0,3: 73:[13, 7, 79] Operation: 80-1=79
Moving to Node #0,0
Current State: 73:[1, 80, 91], Operations: ['13*7=91']
Exploring Operation: 91-1=90, Resulting Numbers: [80, 90]
Generated Node #0,0,0: 73:[80, 90] Operation: 91-1=90
Exploring Operation: 1*80=80, Resulting Numbers: [91, 80]
Generated Node #0,0,1: 73:[91, 80] Operation: 1*80=80
Exploring Operation: 80/1=80, Resulting Numbers: [91, 80]
Generated Node #0,0,2: 73:[91, 80] Operation: 80/1=80
Exploring Operation: 80-1=79, Resulting Numbers: [91, 79]
Generated Node #0,0,3: 73:[91, 79] Operation: 80-1=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[80, 90], Operations: ['13*7=91', '91-1=90']
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 80*90=7200, Resulting Numbers: [7200]
7200,73 unequal: No Solution
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[91, 79], Operations: ['13*7=91', '80-1=79']
Exploring Operation: 91*79=7189, Resulting Numbers: [7189]
7189,73 unequal: No Solution
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 91+79=170, Resulting Numbers: [170]
170,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[91, 80], Operations: ['13*7=91', '1*80=80']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,73 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[91, 80], Operations: ['13*7=91', '80/1=80']
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,73 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 73:[13, 80, 8], Operations: ['1+7=8']
Exploring Operation: 80-8=72, Resulting Numbers: [13, 72]
Generated Node #0,2,0: 73:[13, 72] Operation: 80-8=72
Exploring Operation: 13*8=104, Resulting Numbers: [80, 104]
Generated Node #0,2,1: 73:[80, 104] Operation: 13*8=104
Exploring Operation: 13+8=21, Resulting Numbers: [80, 21]
Generated Node #0,2,2: 73:[80, 21] Operation: 13+8=21
Exploring Operation: 80-13=67, Resulting Numbers: [8, 67]
Generated Node #0,2,3: 73:[8, 67] Operation: 80-13=67
Moving to Node #0,1
Current State: 73:[80, 7, 14], Operations: ['1+13=14']
Exploring Operation: 7*14=98, Resulting Numbers: [80, 98]
Generated Node #0,1,0: 73:[80, 98] Operation: 7*14=98
Exploring Operation: 7+14=21, Resulting Numbers: [80, 21]
Generated Node #0,1,1: 73:[80, 21] Operation: 7+14=21
Exploring Operation: 80+7=87, Resulting Numbers: [14, 87]
Generated Node #0,1,2: 73:[14, 87] Operation: 80+7=87
Exploring Operation: 80-7=73, Resulting Numbers: [14, 73]
Generated Node #0,1,3: 73:[14, 73] Operation: 80-7=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[80, 98], Operations: ['1+13=14', '7*14=98']
Exploring Operation: 80*98=7840, Resulting Numbers: [7840]
7840,73 unequal: No Solution
Exploring Operation: 98-80=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 80+98=178, Resulting Numbers: [178]
178,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[80, 21], Operations: ['1+13=14', '7+14=21']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[14, 73], Operations: ['1+13=14', '80-7=73']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,73 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[14, 87], Operations: ['1+13=14', '80+7=87']
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 14*87=1218, Resulting Numbers: [1218]
1218,73 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[1, 13, 80, 7], Operations: []
Exploring Operation: 1+13=14, Resulting Numbers: [80, 7, 14]
Generated Node #0,1: 73:[80, 7, 14] Operation: 1+13=14
Moving to Node #0,1
Current State: 73:[80, 7, 14], Operations: ['1+13=14']
Exploring Operation: 80+7=87, Resulting Numbers: [14, 87]
Generated Node #0,1,2: 73:[14, 87] Operation: 80+7=87
Moving to Node #0,1,2
Current State: 73:[14, 87], Operations: ['1+13=14', '80+7=87']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.