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 |
|---|---|---|---|---|---|---|---|---|
[
27,
45,
42,
6
] | 90 | [
"27-6=21",
"45*42=1890",
"1890/21=90"
] | Current State: 90:[27, 45, 42, 6], Operations: []
Exploring Operation: 27-6=21, Resulting Numbers: [45, 42, 21]
Generated Node #2: [45, 42, 21] from Operation: 27-6=21
Current State: 90:[45, 42, 21], Operations: ['27-6=21']
Exploring Operation: 45*42=1890, Resulting Numbers: [21, 1890]
Generated Node #3: [21, 1890] from Operation: 45*42=1890
Current State: 90:[21, 1890], Operations: ['27-6=21', '45*42=1890']
Exploring Operation: 1890/21=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[27, 45, 42, 6], Operations: []
Exploring Operation: 42-27=15, Resulting Numbers: [45, 6, 15]
Generated Node #0,0: 90:[45, 6, 15] Operation: 42-27=15
Moving to Node #0,0
Current State: 90:[45, 6, 15], Operations: ['42-27=15']
Exploring Operation: 45-15=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 90:[6, 30] Operation: 45-15=30
Moving to Node #0,0,0
Current State: 90:[6, 30], Operations: ['42-27=15', '45-15=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,90 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
90,
60,
85
] | 66 | [
"95*60=5700",
"5700-90=5610",
"5610/85=66"
] | Current State: 66:[95, 90, 60, 85], Operations: []
Exploring Operation: 95*60=5700, Resulting Numbers: [90, 85, 5700]
Generated Node #2: [90, 85, 5700] from Operation: 95*60=5700
Current State: 66:[90, 85, 5700], Operations: ['95*60=5700']
Exploring Operation: 5700-90=5610, Resulting Numbers: [85, 5610]
Generated Node #3: [85, 5610] from Operation: 5700-90=5610
Current State: 66:[85, 5610], Operations: ['95*60=5700', '5700-90=5610']
Exploring Operation: 5610/85=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[95, 90, 60, 85], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [90, 85, 35]
Generated Node #0,0: 66:[90, 85, 35] Operation: 95-60=35
Exploring Operation: 95-85=10, Resulting Numbers: [90, 60, 10]
Generated Node #0,1: 66:[90, 60, 10] Operation: 95-85=10
Exploring Operation: 90-85=5, Resulting Numbers: [95, 60, 5]
Generated Node #0,2: 66:[95, 60, 5] Operation: 90-85=5
Exploring Operation: 95-90=5, Resulting Numbers: [60, 85, 5]
Generated Node #0,3: 66:[60, 85, 5] Operation: 95-90=5
Moving to Node #0,3
Current State: 66:[60, 85, 5], Operations: ['95-90=5']
Exploring Operation: 60/5=12, Resulting Numbers: [85, 12]
Generated Node #0,3,0: 66:[85, 12] Operation: 60/5=12
Exploring Operation: 85-60=25, Resulting Numbers: [5, 25]
Generated Node #0,3,1: 66:[5, 25] Operation: 85-60=25
Exploring Operation: 60+5=65, Resulting Numbers: [85, 65]
Generated Node #0,3,2: 66:[85, 65] Operation: 60+5=65
Exploring Operation: 85/5=17, Resulting Numbers: [60, 17]
Generated Node #0,3,3: 66:[60, 17] Operation: 85/5=17
Moving to Node #0,1
Current State: 66:[90, 60, 10], Operations: ['95-85=10']
Exploring Operation: 90/10=9, Resulting Numbers: [60, 9]
Generated Node #0,1,0: 66:[60, 9] Operation: 90/10=9
Exploring Operation: 60/10=6, Resulting Numbers: [90, 6]
Generated Node #0,1,1: 66:[90, 6] Operation: 60/10=6
Exploring Operation: 90-10=80, Resulting Numbers: [60, 80]
Generated Node #0,1,2: 66:[60, 80] Operation: 90-10=80
Exploring Operation: 90-60=30, Resulting Numbers: [10, 30]
Generated Node #0,1,3: 66:[10, 30] Operation: 90-60=30
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[10, 30], Operations: ['95-85=10', '90-60=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,66 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[60, 9], Operations: ['95-85=10', '90/10=9']
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,66 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[60, 80], Operations: ['95-85=10', '90-10=80']
Exploring Operation: 60*80=4800, Resulting Numbers: [4800]
4800,66 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 60+80=140, Resulting Numbers: [140]
140,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[90, 6], Operations: ['95-85=10', '60/10=6']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,66 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,66 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: 66:[95, 60, 5], Operations: ['90-85=5']
Exploring Operation: 60+5=65, Resulting Numbers: [95, 65]
Generated Node #0,2,0: 66:[95, 65] Operation: 60+5=65
Exploring Operation: 95/5=19, Resulting Numbers: [60, 19]
Generated Node #0,2,1: 66:[60, 19] Operation: 95/5=19
Exploring Operation: 95-5=90, Resulting Numbers: [60, 90]
Generated Node #0,2,2: 66:[60, 90] Operation: 95-5=90
Exploring Operation: 95-60=35, Resulting Numbers: [5, 35]
Generated Node #0,2,3: 66:[5, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[5, 35], Operations: ['90-85=5', '95-60=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,66 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,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:[60, 19], Operations: ['90-85=5', '95/5=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,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,0
Current State: 66:[95, 65], Operations: ['90-85=5', '60+5=65']
Exploring Operation: 95+65=160, Resulting Numbers: [160]
160,66 unequal: No Solution
Exploring Operation: 95*65=6175, Resulting Numbers: [6175]
6175,66 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,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:[60, 90], Operations: ['90-85=5', '95-5=90']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,66 unequal: No Solution
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,66 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: 66:[90, 85, 35], Operations: ['95-60=35']
Exploring Operation: 85-35=50, Resulting Numbers: [90, 50]
Generated Node #0,0,0: 66:[90, 50] Operation: 85-35=50
Exploring Operation: 90-85=5, Resulting Numbers: [35, 5]
Generated Node #0,0,1: 66:[35, 5] Operation: 90-85=5
Exploring Operation: 90+35=125, Resulting Numbers: [85, 125]
Generated Node #0,0,2: 66:[85, 125] Operation: 90+35=125
Exploring Operation: 90-35=55, Resulting Numbers: [85, 55]
Generated Node #0,0,3: 66:[85, 55] Operation: 90-35=55
Moving to Node #0,0,1
Current State: 66:[35, 5], Operations: ['95-60=35', '90-85=5']
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,66 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[5, 25], Operations: ['95-90=5', '85-60=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[60, 17], Operations: ['95-90=5', '85/5=17']
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[85, 12], Operations: ['95-90=5', '60/5=12']
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,66 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[85, 65], Operations: ['95-90=5', '60+5=65']
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,66 unequal: No Solution
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,66 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[85, 55], Operations: ['95-60=35', '90-35=55']
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,66 unequal: No Solution
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[90, 50], Operations: ['95-60=35', '85-35=50']
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,66 unequal: No Solution
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[85, 125], Operations: ['95-60=35', '90+35=125']
Exploring Operation: 85+125=210, Resulting Numbers: [210]
210,66 unequal: No Solution
Exploring Operation: 85*125=10625, Resulting Numbers: [10625]
10625,66 unequal: No Solution
Exploring Operation: 125-85=40, Resulting Numbers: [40]
40,66 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
79,
63,
59,
58
] | 84 | [
"79-58=21",
"63-59=4",
"21*4=84"
] | Current State: 84:[79, 63, 59, 58], Operations: []
Exploring Operation: 79-58=21, Resulting Numbers: [63, 59, 21]
Generated Node #2: [63, 59, 21] from Operation: 79-58=21
Current State: 84:[63, 59, 21], Operations: ['79-58=21']
Exploring Operation: 63-59=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 63-59=4
Current State: 84:[21, 4], Operations: ['79-58=21', '63-59=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[79, 63, 59, 58], Operations: []
Exploring Operation: 59-58=1, Resulting Numbers: [79, 63, 1]
Generated Node #0,0: 84:[79, 63, 1] Operation: 59-58=1
Exploring Operation: 79-63=16, Resulting Numbers: [59, 58, 16]
Generated Node #0,1: 84:[59, 58, 16] Operation: 79-63=16
Exploring Operation: 63-58=5, Resulting Numbers: [79, 59, 5]
Generated Node #0,2: 84:[79, 59, 5] Operation: 63-58=5
Exploring Operation: 63-59=4, Resulting Numbers: [79, 58, 4]
Generated Node #0,3: 84:[79, 58, 4] Operation: 63-59=4
Exploring Operation: 79-59=20, Resulting Numbers: [63, 58, 20]
Generated Node #0,4: 84:[63, 58, 20] Operation: 79-59=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[79, 58, 4], Operations: ['63-59=4']
Exploring Operation: 79+4=83, Resulting Numbers: [58, 83]
Generated Node #0,3,0: 84:[58, 83] Operation: 79+4=83
Exploring Operation: 79-4=75, Resulting Numbers: [58, 75]
Generated Node #0,3,1: 84:[58, 75] Operation: 79-4=75
Exploring Operation: 58+4=62, Resulting Numbers: [79, 62]
Generated Node #0,3,2: 84:[79, 62] Operation: 58+4=62
Exploring Operation: 58-4=54, Resulting Numbers: [79, 54]
Generated Node #0,3,3: 84:[79, 54] Operation: 58-4=54
Exploring Operation: 79-58=21, Resulting Numbers: [4, 21]
Generated Node #0,3,4: 84:[4, 21] Operation: 79-58=21
Moving to Node #0,3,4
Current State: 84:[4, 21], Operations: ['63-59=4', '79-58=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,84 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[79, 63, 59, 58], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [79, 58, 4]
Generated Node #0,3: 84:[79, 58, 4] Operation: 63-59=4
Moving to Node #0,3
Current State: 84:[79, 58, 4], Operations: ['63-59=4']
Exploring Operation: 79-58=21, Resulting Numbers: [4, 21]
Generated Node #0,3,4: 84:[4, 21] Operation: 79-58=21
Moving to Node #0,3,4
Current State: 84:[4, 21], Operations: ['63-59=4', '79-58=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
34,
70,
94,
89
] | 41 | [
"70-34=36",
"94-89=5",
"36+5=41"
] | Current State: 41:[34, 70, 94, 89], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [94, 89, 36]
Generated Node #2: [94, 89, 36] from Operation: 70-34=36
Current State: 41:[94, 89, 36], Operations: ['70-34=36']
Exploring Operation: 94-89=5, Resulting Numbers: [36, 5]
Generated Node #3: [36, 5] from Operation: 94-89=5
Current State: 41:[36, 5], Operations: ['70-34=36', '94-89=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[34, 70, 94, 89], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [34, 70, 5]
Generated Node #0,0: 41:[34, 70, 5] Operation: 94-89=5
Exploring Operation: 89-70=19, Resulting Numbers: [34, 94, 19]
Generated Node #0,1: 41:[34, 94, 19] Operation: 89-70=19
Exploring Operation: 94-70=24, Resulting Numbers: [34, 89, 24]
Generated Node #0,2: 41:[34, 89, 24] Operation: 94-70=24
Exploring Operation: 94-34=60, Resulting Numbers: [70, 89, 60]
Generated Node #0,3: 41:[70, 89, 60] Operation: 94-34=60
Moving to Node #0,0
Current State: 41:[34, 70, 5], Operations: ['94-89=5']
Exploring Operation: 70/5=14, Resulting Numbers: [34, 14]
Generated Node #0,0,0: 41:[34, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [34, 65]
Generated Node #0,0,1: 41:[34, 65] Operation: 70-5=65
Exploring Operation: 70-34=36, Resulting Numbers: [5, 36]
Generated Node #0,0,2: 41:[5, 36] Operation: 70-34=36
Exploring Operation: 34+5=39, Resulting Numbers: [70, 39]
Generated Node #0,0,3: 41:[70, 39] Operation: 34+5=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[34, 65], Operations: ['94-89=5', '70-5=65']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,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,0,3
Current State: 41:[70, 39], Operations: ['94-89=5', '34+5=39']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,41 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,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,0,0
Current State: 41:[34, 14], Operations: ['94-89=5', '70/5=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,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,0,2
Current State: 41:[5, 36], Operations: ['94-89=5', '70-34=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,41 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[34, 70, 94, 89], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [34, 70, 5]
Generated Node #0,0: 41:[34, 70, 5] Operation: 94-89=5
Moving to Node #0,0
Current State: 41:[34, 70, 5], Operations: ['94-89=5']
Exploring Operation: 70-34=36, Resulting Numbers: [5, 36]
Generated Node #0,0,2: 41:[5, 36] Operation: 70-34=36
Moving to Node #0,0,2
Current State: 41:[5, 36], Operations: ['94-89=5', '70-34=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
48,
19,
11,
38
] | 13 | [
"48*19=912",
"912/38=24",
"24-11=13"
] | Current State: 13:[48, 19, 11, 38], Operations: []
Exploring Operation: 48*19=912, Resulting Numbers: [11, 38, 912]
Generated Node #2: [11, 38, 912] from Operation: 48*19=912
Current State: 13:[11, 38, 912], Operations: ['48*19=912']
Exploring Operation: 912/38=24, Resulting Numbers: [11, 24]
Generated Node #3: [11, 24] from Operation: 912/38=24
Current State: 13:[11, 24], Operations: ['48*19=912', '912/38=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[48, 19, 11, 38], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [19, 11, 10]
Generated Node #0,0: 13:[19, 11, 10] Operation: 48-38=10
Exploring Operation: 48-19=29, Resulting Numbers: [11, 38, 29]
Generated Node #0,1: 13:[11, 38, 29] Operation: 48-19=29
Moving to Node #0,0
Current State: 13:[19, 11, 10], Operations: ['48-38=10']
Exploring Operation: 19-10=9, Resulting Numbers: [11, 9]
Generated Node #0,0,0: 13:[11, 9] Operation: 19-10=9
Exploring Operation: 19-11=8, Resulting Numbers: [10, 8]
Generated Node #0,0,1: 13:[10, 8] Operation: 19-11=8
Moving to Node #0,1
Current State: 13:[11, 38, 29], Operations: ['48-19=29']
Exploring Operation: 38-11=27, Resulting Numbers: [29, 27]
Generated Node #0,1,0: 13:[29, 27] Operation: 38-11=27
Exploring Operation: 38-29=9, Resulting Numbers: [11, 9]
Generated Node #0,1,1: 13:[11, 9] Operation: 38-29=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[11, 9], Operations: ['48-19=29', '38-29=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[29, 27], Operations: ['48-19=29', '38-11=27']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,13 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: 13:[11, 9], Operations: ['48-38=10', '19-10=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[10, 8], Operations: ['48-38=10', '19-11=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
35,
13,
2,
15
] | 38 | [
"35+15=50",
"50/2=25",
"13+25=38"
] | Current State: 38:[35, 13, 2, 15], Operations: []
Exploring Operation: 35+15=50, Resulting Numbers: [13, 2, 50]
Generated Node #2: [13, 2, 50] from Operation: 35+15=50
Current State: 38:[13, 2, 50], Operations: ['35+15=50']
Exploring Operation: 50/2=25, Resulting Numbers: [13, 25]
Generated Node #3: [13, 25] from Operation: 50/2=25
Current State: 38:[13, 25], Operations: ['35+15=50', '50/2=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[35, 13, 2, 15], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [35, 2, 2]
Generated Node #0,0: 38:[35, 2, 2] Operation: 15-13=2
Moving to Node #0,0
Current State: 38:[35, 2, 2], Operations: ['15-13=2']
Exploring Operation: 35+2=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 38:[2, 37] Operation: 35+2=37
Moving to Node #0,0,0
Current State: 38:[2, 37], Operations: ['15-13=2', '35+2=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,38 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
42,
53,
50
] | 36 | [
"75-42=33",
"53-50=3",
"33+3=36"
] | Current State: 36:[75, 42, 53, 50], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [53, 50, 33]
Generated Node #2: [53, 50, 33] from Operation: 75-42=33
Current State: 36:[53, 50, 33], Operations: ['75-42=33']
Exploring Operation: 53-50=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 53-50=3
Current State: 36:[33, 3], Operations: ['75-42=33', '53-50=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[75, 42, 53, 50], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [42, 53, 25]
Generated Node #0,0: 36:[42, 53, 25] Operation: 75-50=25
Exploring Operation: 53-42=11, Resulting Numbers: [75, 50, 11]
Generated Node #0,1: 36:[75, 50, 11] Operation: 53-42=11
Exploring Operation: 75-53=22, Resulting Numbers: [42, 50, 22]
Generated Node #0,2: 36:[42, 50, 22] Operation: 75-53=22
Exploring Operation: 75-42=33, Resulting Numbers: [53, 50, 33]
Generated Node #0,3: 36:[53, 50, 33] Operation: 75-42=33
Exploring Operation: 53-50=3, Resulting Numbers: [75, 42, 3]
Generated Node #0,4: 36:[75, 42, 3] Operation: 53-50=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[42, 50, 22], Operations: ['75-53=22']
Exploring Operation: 42-22=20, Resulting Numbers: [50, 20]
Generated Node #0,2,0: 36:[50, 20] Operation: 42-22=20
Exploring Operation: 42+22=64, Resulting Numbers: [50, 64]
Generated Node #0,2,1: 36:[50, 64] Operation: 42+22=64
Exploring Operation: 50-22=28, Resulting Numbers: [42, 28]
Generated Node #0,2,2: 36:[42, 28] Operation: 50-22=28
Exploring Operation: 50+22=72, Resulting Numbers: [42, 72]
Generated Node #0,2,3: 36:[42, 72] Operation: 50+22=72
Exploring Operation: 50-42=8, Resulting Numbers: [22, 8]
Generated Node #0,2,4: 36:[22, 8] Operation: 50-42=8
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 36:[22, 8], Operations: ['75-53=22', '50-42=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 22*8=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,2,2
Current State: 36:[42, 28], Operations: ['75-53=22', '50-22=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,36 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[50, 20], Operations: ['75-53=22', '42-22=20']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 50*20=1000, Resulting Numbers: [1000]
1000,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[50, 64], Operations: ['75-53=22', '42+22=64']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,36 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[42, 72], Operations: ['75-53=22', '50+22=72']
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,36 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[42, 53, 25], Operations: ['75-50=25']
Exploring Operation: 42-25=17, Resulting Numbers: [53, 17]
Generated Node #0,0,0: 36:[53, 17] Operation: 42-25=17
Exploring Operation: 53-42=11, Resulting Numbers: [25, 11]
Generated Node #0,0,1: 36:[25, 11] Operation: 53-42=11
Exploring Operation: 53-25=28, Resulting Numbers: [42, 28]
Generated Node #0,0,2: 36:[42, 28] Operation: 53-25=28
Exploring Operation: 42+25=67, Resulting Numbers: [53, 67]
Generated Node #0,0,3: 36:[53, 67] Operation: 42+25=67
Exploring Operation: 53+25=78, Resulting Numbers: [42, 78]
Generated Node #0,0,4: 36:[42, 78] Operation: 53+25=78
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[25, 11], Operations: ['75-50=25', '53-42=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[75, 42, 53, 50], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [42, 53, 25]
Generated Node #0,0: 36:[42, 53, 25] Operation: 75-50=25
Moving to Node #0,0
Current State: 36:[42, 53, 25], Operations: ['75-50=25']
Exploring Operation: 53-42=11, Resulting Numbers: [25, 11]
Generated Node #0,0,1: 36:[25, 11] Operation: 53-42=11
Moving to Node #0,0,1
Current State: 36:[25, 11], Operations: ['75-50=25', '53-42=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
46,
24,
36,
2
] | 28 | [
"46-24=22",
"36-22=14",
"2*14=28"
] | Current State: 28:[46, 24, 36, 2], Operations: []
Exploring Operation: 46-24=22, Resulting Numbers: [36, 2, 22]
Generated Node #2: [36, 2, 22] from Operation: 46-24=22
Current State: 28:[36, 2, 22], Operations: ['46-24=22']
Exploring Operation: 36-22=14, Resulting Numbers: [2, 14]
Generated Node #3: [2, 14] from Operation: 36-22=14
Current State: 28:[2, 14], Operations: ['46-24=22', '36-22=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[46, 24, 36, 2], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [46, 24, 18]
Generated Node #0,0: 28:[46, 24, 18] Operation: 36/2=18
Exploring Operation: 46-36=10, Resulting Numbers: [24, 2, 10]
Generated Node #0,1: 28:[24, 2, 10] Operation: 46-36=10
Exploring Operation: 46-24=22, Resulting Numbers: [36, 2, 22]
Generated Node #0,2: 28:[36, 2, 22] Operation: 46-24=22
Exploring Operation: 46/2=23, Resulting Numbers: [24, 36, 23]
Generated Node #0,3: 28:[24, 36, 23] Operation: 46/2=23
Exploring Operation: 36-24=12, Resulting Numbers: [46, 2, 12]
Generated Node #0,4: 28:[46, 2, 12] Operation: 36-24=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[24, 2, 10], Operations: ['46-36=10']
Exploring Operation: 10/2=5, Resulting Numbers: [24, 5]
Generated Node #0,1,0: 28:[24, 5] Operation: 10/2=5
Exploring Operation: 24/2=12, Resulting Numbers: [10, 12]
Generated Node #0,1,1: 28:[10, 12] Operation: 24/2=12
Exploring Operation: 24+2=26, Resulting Numbers: [10, 26]
Generated Node #0,1,2: 28:[10, 26] Operation: 24+2=26
Exploring Operation: 24-10=14, Resulting Numbers: [2, 14]
Generated Node #0,1,3: 28:[2, 14] Operation: 24-10=14
Exploring Operation: 10-2=8, Resulting Numbers: [24, 8]
Generated Node #0,1,4: 28:[24, 8] Operation: 10-2=8
Moving to Node #0,1,3
Current State: 28:[2, 14], Operations: ['46-36=10', '24-10=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[46, 24, 36, 2], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [24, 2, 10]
Generated Node #0,1: 28:[24, 2, 10] Operation: 46-36=10
Moving to Node #0,1
Current State: 28:[24, 2, 10], Operations: ['46-36=10']
Exploring Operation: 24-10=14, Resulting Numbers: [2, 14]
Generated Node #0,1,3: 28:[2, 14] Operation: 24-10=14
Moving to Node #0,1,3
Current State: 28:[2, 14], Operations: ['46-36=10', '24-10=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
19,
98,
96,
50
] | 29 | [
"19+98=117",
"96+50=146",
"146-117=29"
] | Current State: 29:[19, 98, 96, 50], Operations: []
Exploring Operation: 19+98=117, Resulting Numbers: [96, 50, 117]
Generated Node #2: [96, 50, 117] from Operation: 19+98=117
Current State: 29:[96, 50, 117], Operations: ['19+98=117']
Exploring Operation: 96+50=146, Resulting Numbers: [117, 146]
Generated Node #3: [117, 146] from Operation: 96+50=146
Current State: 29:[117, 146], Operations: ['19+98=117', '96+50=146']
Exploring Operation: 146-117=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[19, 98, 96, 50], Operations: []
Exploring Operation: 96-19=77, Resulting Numbers: [98, 50, 77]
Generated Node #0,0: 29:[98, 50, 77] Operation: 96-19=77
Exploring Operation: 98-50=48, Resulting Numbers: [19, 96, 48]
Generated Node #0,1: 29:[19, 96, 48] Operation: 98-50=48
Exploring Operation: 98-19=79, Resulting Numbers: [96, 50, 79]
Generated Node #0,2: 29:[96, 50, 79] Operation: 98-19=79
Exploring Operation: 96-50=46, Resulting Numbers: [19, 98, 46]
Generated Node #0,3: 29:[19, 98, 46] Operation: 96-50=46
Exploring Operation: 98-96=2, Resulting Numbers: [19, 50, 2]
Generated Node #0,4: 29:[19, 50, 2] Operation: 98-96=2
Moving to Node #0,4
Current State: 29:[19, 50, 2], Operations: ['98-96=2']
Exploring Operation: 50/2=25, Resulting Numbers: [19, 25]
Generated Node #0,4,0: 29:[19, 25] Operation: 50/2=25
Exploring Operation: 19+2=21, Resulting Numbers: [50, 21]
Generated Node #0,4,1: 29:[50, 21] Operation: 19+2=21
Exploring Operation: 50-19=31, Resulting Numbers: [2, 31]
Generated Node #0,4,2: 29:[2, 31] Operation: 50-19=31
Exploring Operation: 50-2=48, Resulting Numbers: [19, 48]
Generated Node #0,4,3: 29:[19, 48] Operation: 50-2=48
Exploring Operation: 19*2=38, Resulting Numbers: [50, 38]
Generated Node #0,4,4: 29:[50, 38] Operation: 19*2=38
Moving to Node #0,3
Current State: 29:[19, 98, 46], Operations: ['96-50=46']
Exploring Operation: 98-46=52, Resulting Numbers: [19, 52]
Generated Node #0,3,0: 29:[19, 52] Operation: 98-46=52
Exploring Operation: 98-19=79, Resulting Numbers: [46, 79]
Generated Node #0,3,1: 29:[46, 79] Operation: 98-19=79
Exploring Operation: 19+46=65, Resulting Numbers: [98, 65]
Generated Node #0,3,2: 29:[98, 65] Operation: 19+46=65
Exploring Operation: 19+98=117, Resulting Numbers: [46, 117]
Generated Node #0,3,3: 29:[46, 117] Operation: 19+98=117
Exploring Operation: 46-19=27, Resulting Numbers: [98, 27]
Generated Node #0,3,4: 29:[98, 27] Operation: 46-19=27
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[19, 52], Operations: ['96-50=46', '98-46=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,29 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[46, 79], Operations: ['96-50=46', '98-19=79']
Exploring Operation: 46+79=125, Resulting Numbers: [125]
125,29 unequal: No Solution
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 46*79=3634, Resulting Numbers: [3634]
3634,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[98, 27], Operations: ['96-50=46', '46-19=27']
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 98+27=125, Resulting Numbers: [125]
125,29 unequal: No Solution
Exploring Operation: 98*27=2646, Resulting Numbers: [2646]
2646,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[98, 65], Operations: ['96-50=46', '19+46=65']
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 98*65=6370, Resulting Numbers: [6370]
6370,29 unequal: No Solution
Exploring Operation: 98+65=163, Resulting Numbers: [163]
163,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[46, 117], Operations: ['96-50=46', '19+98=117']
Exploring Operation: 117-46=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 46+117=163, Resulting Numbers: [163]
163,29 unequal: No Solution
Exploring Operation: 46*117=5382, Resulting Numbers: [5382]
5382,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 29:[19, 96, 48], Operations: ['98-50=48']
Exploring Operation: 19+96=115, Resulting Numbers: [48, 115]
Generated Node #0,1,0: 29:[48, 115] Operation: 19+96=115
Exploring Operation: 96-19=77, Resulting Numbers: [48, 77]
Generated Node #0,1,1: 29:[48, 77] Operation: 96-19=77
Exploring Operation: 48-19=29, Resulting Numbers: [96, 29]
Generated Node #0,1,2: 29:[96, 29] Operation: 48-19=29
Exploring Operation: 96/48=2, Resulting Numbers: [19, 2]
Generated Node #0,1,3: 29:[19, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [19, 48]
Generated Node #0,1,4: 29:[19, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 29:[19, 48], Operations: ['98-50=48', '96-48=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[19, 98, 96, 50], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [19, 96, 48]
Generated Node #0,1: 29:[19, 96, 48] Operation: 98-50=48
Moving to Node #0,1
Current State: 29:[19, 96, 48], Operations: ['98-50=48']
Exploring Operation: 96-48=48, Resulting Numbers: [19, 48]
Generated Node #0,1,4: 29:[19, 48] Operation: 96-48=48
Moving to Node #0,1,4
Current State: 29:[19, 48], Operations: ['98-50=48', '96-48=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
34,
35,
48,
29
] | 84 | [
"48-34=14",
"35-29=6",
"14*6=84"
] | Current State: 84:[34, 35, 48, 29], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [35, 29, 14]
Generated Node #2: [35, 29, 14] from Operation: 48-34=14
Current State: 84:[35, 29, 14], Operations: ['48-34=14']
Exploring Operation: 35-29=6, Resulting Numbers: [14, 6]
Generated Node #3: [14, 6] from Operation: 35-29=6
Current State: 84:[14, 6], Operations: ['48-34=14', '35-29=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[34, 35, 48, 29], Operations: []
Exploring Operation: 48-35=13, Resulting Numbers: [34, 29, 13]
Generated Node #0,0: 84:[34, 29, 13] Operation: 48-35=13
Exploring Operation: 48-34=14, Resulting Numbers: [35, 29, 14]
Generated Node #0,1: 84:[35, 29, 14] Operation: 48-34=14
Exploring Operation: 34+48=82, Resulting Numbers: [35, 29, 82]
Generated Node #0,2: 84:[35, 29, 82] Operation: 34+48=82
Exploring Operation: 35-34=1, Resulting Numbers: [48, 29, 1]
Generated Node #0,3: 84:[48, 29, 1] Operation: 35-34=1
Exploring Operation: 35+48=83, Resulting Numbers: [34, 29, 83]
Generated Node #0,4: 84:[34, 29, 83] Operation: 35+48=83
Moving to Node #0,0
Current State: 84:[34, 29, 13], Operations: ['48-35=13']
Exploring Operation: 29-13=16, Resulting Numbers: [34, 16]
Generated Node #0,0,0: 84:[34, 16] Operation: 29-13=16
Exploring Operation: 34+13=47, Resulting Numbers: [29, 47]
Generated Node #0,0,1: 84:[29, 47] Operation: 34+13=47
Exploring Operation: 34-13=21, Resulting Numbers: [29, 21]
Generated Node #0,0,2: 84:[29, 21] Operation: 34-13=21
Exploring Operation: 29+13=42, Resulting Numbers: [34, 42]
Generated Node #0,0,3: 84:[34, 42] Operation: 29+13=42
Exploring Operation: 34-29=5, Resulting Numbers: [13, 5]
Generated Node #0,0,4: 84:[13, 5] Operation: 34-29=5
Moving to Node #0,3
Current State: 84:[48, 29, 1], Operations: ['35-34=1']
Exploring Operation: 48*1=48, Resulting Numbers: [29, 48]
Generated Node #0,3,0: 84:[29, 48] Operation: 48*1=48
Exploring Operation: 48-29=19, Resulting Numbers: [1, 19]
Generated Node #0,3,1: 84:[1, 19] Operation: 48-29=19
Exploring Operation: 48/1=48, Resulting Numbers: [29, 48]
Generated Node #0,3,2: 84:[29, 48] Operation: 48/1=48
Exploring Operation: 48-1=47, Resulting Numbers: [29, 47]
Generated Node #0,3,3: 84:[29, 47] Operation: 48-1=47
Exploring Operation: 29-1=28, Resulting Numbers: [48, 28]
Generated Node #0,3,4: 84:[48, 28] Operation: 29-1=28
Moving to Node #0,1
Current State: 84:[35, 29, 14], Operations: ['48-34=14']
Exploring Operation: 35-14=21, Resulting Numbers: [29, 21]
Generated Node #0,1,0: 84:[29, 21] Operation: 35-14=21
Exploring Operation: 35-29=6, Resulting Numbers: [14, 6]
Generated Node #0,1,1: 84:[14, 6] Operation: 35-29=6
Exploring Operation: 35+14=49, Resulting Numbers: [29, 49]
Generated Node #0,1,2: 84:[29, 49] Operation: 35+14=49
Exploring Operation: 29+14=43, Resulting Numbers: [35, 43]
Generated Node #0,1,3: 84:[35, 43] Operation: 29+14=43
Exploring Operation: 29-14=15, Resulting Numbers: [35, 15]
Generated Node #0,1,4: 84:[35, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[14, 6], Operations: ['48-34=14', '35-29=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[34, 35, 48, 29], Operations: []
Exploring Operation: 48-34=14, Resulting Numbers: [35, 29, 14]
Generated Node #0,1: 84:[35, 29, 14] Operation: 48-34=14
Moving to Node #0,1
Current State: 84:[35, 29, 14], Operations: ['48-34=14']
Exploring Operation: 35-29=6, Resulting Numbers: [14, 6]
Generated Node #0,1,1: 84:[14, 6] Operation: 35-29=6
Moving to Node #0,1,1
Current State: 84:[14, 6], Operations: ['48-34=14', '35-29=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
74,
95,
91,
9
] | 79 | [
"95-74=21",
"91+9=100",
"100-21=79"
] | Current State: 79:[74, 95, 91, 9], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [91, 9, 21]
Generated Node #2: [91, 9, 21] from Operation: 95-74=21
Current State: 79:[91, 9, 21], Operations: ['95-74=21']
Exploring Operation: 91+9=100, Resulting Numbers: [21, 100]
Generated Node #3: [21, 100] from Operation: 91+9=100
Current State: 79:[21, 100], Operations: ['95-74=21', '91+9=100']
Exploring Operation: 100-21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 95, 91, 9], Operations: []
Exploring Operation: 95-9=86, Resulting Numbers: [74, 91, 86]
Generated Node #0,0: 79:[74, 91, 86] Operation: 95-9=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[74, 91, 86], Operations: ['95-9=86']
Exploring Operation: 91-74=17, Resulting Numbers: [86, 17]
Generated Node #0,0,0: 79:[86, 17] Operation: 91-74=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[86, 17], Operations: ['95-9=86', '91-74=17']
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,79 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 |
[
20,
56,
62,
41
] | 67 | [
"56-20=36",
"62+41=103",
"103-36=67"
] | Current State: 67:[20, 56, 62, 41], Operations: []
Exploring Operation: 56-20=36, Resulting Numbers: [62, 41, 36]
Generated Node #2: [62, 41, 36] from Operation: 56-20=36
Current State: 67:[62, 41, 36], Operations: ['56-20=36']
Exploring Operation: 62+41=103, Resulting Numbers: [36, 103]
Generated Node #3: [36, 103] from Operation: 62+41=103
Current State: 67:[36, 103], Operations: ['56-20=36', '62+41=103']
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[20, 56, 62, 41], Operations: []
Exploring Operation: 20+56=76, Resulting Numbers: [62, 41, 76]
Generated Node #0,0: 67:[62, 41, 76] Operation: 20+56=76
Exploring Operation: 20+41=61, Resulting Numbers: [56, 62, 61]
Generated Node #0,1: 67:[56, 62, 61] Operation: 20+41=61
Moving to Node #0,1
Current State: 67:[56, 62, 61], Operations: ['20+41=61']
Exploring Operation: 56+61=117, Resulting Numbers: [62, 117]
Generated Node #0,1,0: 67:[62, 117] Operation: 56+61=117
Exploring Operation: 56+62=118, Resulting Numbers: [61, 118]
Generated Node #0,1,1: 67:[61, 118] Operation: 56+62=118
Moving to Node #0,0
Current State: 67:[62, 41, 76], Operations: ['20+56=76']
Exploring Operation: 76-41=35, Resulting Numbers: [62, 35]
Generated Node #0,0,0: 67:[62, 35] Operation: 76-41=35
Exploring Operation: 62+41=103, Resulting Numbers: [76, 103]
Generated Node #0,0,1: 67:[76, 103] Operation: 62+41=103
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[62, 35], Operations: ['20+56=76', '76-41=35']
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 62+35=97, Resulting Numbers: [97]
97,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[76, 103], Operations: ['20+56=76', '62+41=103']
Exploring Operation: 103-76=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 76+103=179, Resulting Numbers: [179]
179,67 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: 67:[62, 117], Operations: ['20+41=61', '56+61=117']
Exploring Operation: 62+117=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Exploring Operation: 117-62=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[61, 118], Operations: ['20+41=61', '56+62=118']
Exploring Operation: 118-61=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 61+118=179, Resulting Numbers: [179]
179,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
15,
31,
51
] | 65 | [
"51-31=20",
"4*20=80",
"80-15=65"
] | Current State: 65:[4, 15, 31, 51], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [4, 15, 20]
Generated Node #2: [4, 15, 20] from Operation: 51-31=20
Current State: 65:[4, 15, 20], Operations: ['51-31=20']
Exploring Operation: 4*20=80, Resulting Numbers: [15, 80]
Generated Node #3: [15, 80] from Operation: 4*20=80
Current State: 65:[15, 80], Operations: ['51-31=20', '4*20=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[4, 15, 31, 51], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [4, 51, 16]
Generated Node #0,0: 65:[4, 51, 16] Operation: 31-15=16
Exploring Operation: 51-31=20, Resulting Numbers: [4, 15, 20]
Generated Node #0,1: 65:[4, 15, 20] Operation: 51-31=20
Exploring Operation: 15+51=66, Resulting Numbers: [4, 31, 66]
Generated Node #0,2: 65:[4, 31, 66] Operation: 15+51=66
Exploring Operation: 31+51=82, Resulting Numbers: [4, 15, 82]
Generated Node #0,3: 65:[4, 15, 82] Operation: 31+51=82
Exploring Operation: 31-4=27, Resulting Numbers: [15, 51, 27]
Generated Node #0,4: 65:[15, 51, 27] Operation: 31-4=27
Moving to Node #0,1
Current State: 65:[4, 15, 20], Operations: ['51-31=20']
Exploring Operation: 4*15=60, Resulting Numbers: [20, 60]
Generated Node #0,1,0: 65:[20, 60] Operation: 4*15=60
Exploring Operation: 15-4=11, Resulting Numbers: [20, 11]
Generated Node #0,1,1: 65:[20, 11] Operation: 15-4=11
Exploring Operation: 20/4=5, Resulting Numbers: [15, 5]
Generated Node #0,1,2: 65:[15, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [15, 16]
Generated Node #0,1,3: 65:[15, 16] Operation: 20-4=16
Exploring Operation: 20-15=5, Resulting Numbers: [4, 5]
Generated Node #0,1,4: 65:[4, 5] Operation: 20-15=5
Moving to Node #0,0
Current State: 65:[4, 51, 16], Operations: ['31-15=16']
Exploring Operation: 4*16=64, Resulting Numbers: [51, 64]
Generated Node #0,0,0: 65:[51, 64] Operation: 4*16=64
Exploring Operation: 16/4=4, Resulting Numbers: [51, 4]
Generated Node #0,0,1: 65:[51, 4] Operation: 16/4=4
Exploring Operation: 4+51=55, Resulting Numbers: [16, 55]
Generated Node #0,0,2: 65:[16, 55] Operation: 4+51=55
Exploring Operation: 16-4=12, Resulting Numbers: [51, 12]
Generated Node #0,0,3: 65:[51, 12] Operation: 16-4=12
Exploring Operation: 51+16=67, Resulting Numbers: [4, 67]
Generated Node #0,0,4: 65:[4, 67] Operation: 51+16=67
Moving to Node #0,2
Current State: 65:[4, 31, 66], Operations: ['15+51=66']
Exploring Operation: 4+31=35, Resulting Numbers: [66, 35]
Generated Node #0,2,0: 65:[66, 35] Operation: 4+31=35
Exploring Operation: 4+66=70, Resulting Numbers: [31, 70]
Generated Node #0,2,1: 65:[31, 70] Operation: 4+66=70
Exploring Operation: 66-4=62, Resulting Numbers: [31, 62]
Generated Node #0,2,2: 65:[31, 62] Operation: 66-4=62
Exploring Operation: 66-31=35, Resulting Numbers: [4, 35]
Generated Node #0,2,3: 65:[4, 35] Operation: 66-31=35
Exploring Operation: 31-4=27, Resulting Numbers: [66, 27]
Generated Node #0,2,4: 65:[66, 27] Operation: 31-4=27
Moving to Node #0,3
Current State: 65:[4, 15, 82], Operations: ['31+51=82']
Exploring Operation: 82-15=67, Resulting Numbers: [4, 67]
Generated Node #0,3,0: 65:[4, 67] Operation: 82-15=67
Exploring Operation: 15-4=11, Resulting Numbers: [82, 11]
Generated Node #0,3,1: 65:[82, 11] Operation: 15-4=11
Exploring Operation: 4+15=19, Resulting Numbers: [82, 19]
Generated Node #0,3,2: 65:[82, 19] Operation: 4+15=19
Exploring Operation: 82-4=78, Resulting Numbers: [15, 78]
Generated Node #0,3,3: 65:[15, 78] Operation: 82-4=78
Exploring Operation: 4*15=60, Resulting Numbers: [82, 60]
Generated Node #0,3,4: 65:[82, 60] Operation: 4*15=60
Moving to Node #0,4
Current State: 65:[15, 51, 27], Operations: ['31-4=27']
Exploring Operation: 51+27=78, Resulting Numbers: [15, 78]
Generated Node #0,4,0: 65:[15, 78] Operation: 51+27=78
Exploring Operation: 15+51=66, Resulting Numbers: [27, 66]
Generated Node #0,4,1: 65:[27, 66] Operation: 15+51=66
Exploring Operation: 51-27=24, Resulting Numbers: [15, 24]
Generated Node #0,4,2: 65:[15, 24] Operation: 51-27=24
Exploring Operation: 27-15=12, Resulting Numbers: [51, 12]
Generated Node #0,4,3: 65:[51, 12] Operation: 27-15=12
Exploring Operation: 51-15=36, Resulting Numbers: [27, 36]
Generated Node #0,4,4: 65:[27, 36] Operation: 51-15=36
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 65:[15, 24], Operations: ['31-4=27', '51-27=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,65 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 65:[15, 78], Operations: ['31-4=27', '51+27=78']
Exploring Operation: 15+78=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 15*78=1170, Resulting Numbers: [1170]
1170,65 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,65 unequal: No Solution
No 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: 65:[27, 66], Operations: ['31-4=27', '15+51=66']
Exploring Operation: 27*66=1782, Resulting Numbers: [1782]
1782,65 unequal: No Solution
Exploring Operation: 27+66=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,65 unequal: No Solution
No 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: 65:[51, 12], Operations: ['31-4=27', '27-15=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,65 unequal: No Solution
No 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: 65:[27, 36], Operations: ['31-4=27', '51-15=36']
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,65 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 65:[4, 5], Operations: ['51-31=20', '20-15=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[15, 5], Operations: ['51-31=20', '20/4=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[4, 67], Operations: ['31-15=16', '51+16=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,65 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[4, 67], Operations: ['31+51=82', '82-15=67']
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,65 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[15, 16], Operations: ['51-31=20', '20-4=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,65 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[20, 11], Operations: ['51-31=20', '15-4=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,65 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[20, 60], Operations: ['51-31=20', '4*15=60']
Exploring Operation: 20+60=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 20*60=1200, Resulting Numbers: [1200]
1200,65 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[16, 55], Operations: ['31-15=16', '4+51=55']
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,65 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[66, 27], Operations: ['15+51=66', '31-4=27']
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,65 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[51, 64], Operations: ['31-15=16', '4*16=64']
Exploring Operation: 51+64=115, Resulting Numbers: [115]
115,65 unequal: No Solution
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 51*64=3264, Resulting Numbers: [3264]
3264,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[51, 12], Operations: ['31-15=16', '16-4=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[51, 4], Operations: ['31-15=16', '16/4=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[15, 78], Operations: ['31+51=82', '82-4=78']
Exploring Operation: 15+78=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 15*78=1170, Resulting Numbers: [1170]
1170,65 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[82, 11], Operations: ['31+51=82', '15-4=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,65 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[31, 62], Operations: ['15+51=66', '66-4=62']
Exploring Operation: 31*62=1922, Resulting Numbers: [1922]
1922,65 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[82, 60], Operations: ['31+51=82', '4*15=60']
Exploring Operation: 82+60=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 82*60=4920, Resulting Numbers: [4920]
4920,65 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[4, 35], Operations: ['15+51=66', '66-31=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,65 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[66, 35], Operations: ['15+51=66', '4+31=35']
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,65 unequal: No Solution
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,65 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[82, 19], Operations: ['31+51=82', '4+15=19']
Exploring Operation: 82*19=1558, Resulting Numbers: [1558]
1558,65 unequal: No Solution
Exploring Operation: 82+19=101, Resulting Numbers: [101]
101,65 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[31, 70], Operations: ['15+51=66', '4+66=70']
Exploring Operation: 31*70=2170, Resulting Numbers: [2170]
2170,65 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 31+70=101, Resulting Numbers: [101]
101,65 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
86,
33,
74,
72
] | 39 | [
"86-74=12",
"72/12=6",
"33+6=39"
] | Current State: 39:[86, 33, 74, 72], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [33, 72, 12]
Generated Node #2: [33, 72, 12] from Operation: 86-74=12
Current State: 39:[33, 72, 12], Operations: ['86-74=12']
Exploring Operation: 72/12=6, Resulting Numbers: [33, 6]
Generated Node #3: [33, 6] from Operation: 72/12=6
Current State: 39:[33, 6], Operations: ['86-74=12', '72/12=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[86, 33, 74, 72], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [33, 74, 14]
Generated Node #0,0: 39:[33, 74, 14] Operation: 86-72=14
Exploring Operation: 86-74=12, Resulting Numbers: [33, 72, 12]
Generated Node #0,1: 39:[33, 72, 12] Operation: 86-74=12
Exploring Operation: 74-72=2, Resulting Numbers: [86, 33, 2]
Generated Node #0,2: 39:[86, 33, 2] Operation: 74-72=2
Moving to Node #0,1
Current State: 39:[33, 72, 12], Operations: ['86-74=12']
Exploring Operation: 72/12=6, Resulting Numbers: [33, 6]
Generated Node #0,1,0: 39:[33, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [33, 60]
Generated Node #0,1,1: 39:[33, 60] Operation: 72-12=60
Exploring Operation: 72-33=39, Resulting Numbers: [12, 39]
Generated Node #0,1,2: 39:[12, 39] Operation: 72-33=39
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[12, 39], Operations: ['86-74=12', '72-33=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[33, 6], Operations: ['86-74=12', '72/12=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[86, 33, 74, 72], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [33, 72, 12]
Generated Node #0,1: 39:[33, 72, 12] Operation: 86-74=12
Moving to Node #0,1
Current State: 39:[33, 72, 12], Operations: ['86-74=12']
Exploring Operation: 72/12=6, Resulting Numbers: [33, 6]
Generated Node #0,1,0: 39:[33, 6] Operation: 72/12=6
Moving to Node #0,1,0
Current State: 39:[33, 6], Operations: ['86-74=12', '72/12=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
98,
4,
22,
19
] | 91 | [
"98-4=94",
"22-19=3",
"94-3=91"
] | Current State: 91:[98, 4, 22, 19], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [22, 19, 94]
Generated Node #2: [22, 19, 94] from Operation: 98-4=94
Current State: 91:[22, 19, 94], Operations: ['98-4=94']
Exploring Operation: 22-19=3, Resulting Numbers: [94, 3]
Generated Node #3: [94, 3] from Operation: 22-19=3
Current State: 91:[94, 3], Operations: ['98-4=94', '22-19=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[98, 4, 22, 19], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [98, 4, 3]
Generated Node #0,0: 91:[98, 4, 3] Operation: 22-19=3
Exploring Operation: 4*22=88, Resulting Numbers: [98, 19, 88]
Generated Node #0,1: 91:[98, 19, 88] Operation: 4*22=88
Exploring Operation: 98-4=94, Resulting Numbers: [22, 19, 94]
Generated Node #0,2: 91:[22, 19, 94] Operation: 98-4=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[98, 4, 3], Operations: ['22-19=3']
Exploring Operation: 98-3=95, Resulting Numbers: [4, 95]
Generated Node #0,0,0: 91:[4, 95] Operation: 98-3=95
Exploring Operation: 4+3=7, Resulting Numbers: [98, 7]
Generated Node #0,0,1: 91:[98, 7] Operation: 4+3=7
Exploring Operation: 98-4=94, Resulting Numbers: [3, 94]
Generated Node #0,0,2: 91:[3, 94] Operation: 98-4=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[4, 95], Operations: ['22-19=3', '98-3=95']
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[98, 4, 22, 19], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [98, 4, 3]
Generated Node #0,0: 91:[98, 4, 3] Operation: 22-19=3
Moving to Node #0,0
Current State: 91:[98, 4, 3], Operations: ['22-19=3']
Exploring Operation: 98-3=95, Resulting Numbers: [4, 95]
Generated Node #0,0,0: 91:[4, 95] Operation: 98-3=95
Moving to Node #0,0,0
Current State: 91:[4, 95], Operations: ['22-19=3', '98-3=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
79,
12,
3,
47
] | 30 | [
"79+47=126",
"126/3=42",
"42-12=30"
] | Current State: 30:[79, 12, 3, 47], Operations: []
Exploring Operation: 79+47=126, Resulting Numbers: [12, 3, 126]
Generated Node #2: [12, 3, 126] from Operation: 79+47=126
Current State: 30:[12, 3, 126], Operations: ['79+47=126']
Exploring Operation: 126/3=42, Resulting Numbers: [12, 42]
Generated Node #3: [12, 42] from Operation: 126/3=42
Current State: 30:[12, 42], Operations: ['79+47=126', '126/3=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[79, 12, 3, 47], Operations: []
Exploring Operation: 79-12=67, Resulting Numbers: [3, 47, 67]
Generated Node #0,0: 30:[3, 47, 67] Operation: 79-12=67
Exploring Operation: 79-47=32, Resulting Numbers: [12, 3, 32]
Generated Node #0,1: 30:[12, 3, 32] Operation: 79-47=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[12, 3, 32], Operations: ['79-47=32']
Exploring Operation: 12+3=15, Resulting Numbers: [32, 15]
Generated Node #0,1,0: 30:[32, 15] Operation: 12+3=15
Exploring Operation: 12-3=9, Resulting Numbers: [32, 9]
Generated Node #0,1,1: 30:[32, 9] Operation: 12-3=9
Moving to Node #0,1,0
Current State: 30:[32, 15], Operations: ['79-47=32', '12+3=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[32, 9], Operations: ['79-47=32', '12-3=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[3, 47, 67], Operations: ['79-12=67']
Exploring Operation: 67-47=20, Resulting Numbers: [3, 20]
Generated Node #0,0,0: 30:[3, 20] Operation: 67-47=20
Exploring Operation: 47-3=44, Resulting Numbers: [67, 44]
Generated Node #0,0,1: 30:[67, 44] Operation: 47-3=44
Moving to Node #0,0,0
Current State: 30:[3, 20], Operations: ['79-12=67', '67-47=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[67, 44], Operations: ['79-12=67', '47-3=44']
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,30 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 |
[
26,
60,
5,
95
] | 33 | [
"95-60=35",
"35/5=7",
"26+7=33"
] | Current State: 33:[26, 60, 5, 95], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [26, 5, 35]
Generated Node #2: [26, 5, 35] from Operation: 95-60=35
Current State: 33:[26, 5, 35], Operations: ['95-60=35']
Exploring Operation: 35/5=7, Resulting Numbers: [26, 7]
Generated Node #3: [26, 7] from Operation: 35/5=7
Current State: 33:[26, 7], Operations: ['95-60=35', '35/5=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[26, 60, 5, 95], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [26, 5, 35]
Generated Node #0,0: 33:[26, 5, 35] Operation: 95-60=35
Exploring Operation: 95/5=19, Resulting Numbers: [26, 60, 19]
Generated Node #0,1: 33:[26, 60, 19] Operation: 95/5=19
Exploring Operation: 60-26=34, Resulting Numbers: [5, 95, 34]
Generated Node #0,2: 33:[5, 95, 34] Operation: 60-26=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[26, 5, 35], Operations: ['95-60=35']
Exploring Operation: 35-5=30, Resulting Numbers: [26, 30]
Generated Node #0,0,0: 33:[26, 30] Operation: 35-5=30
Exploring Operation: 35-26=9, Resulting Numbers: [5, 9]
Generated Node #0,0,1: 33:[5, 9] Operation: 35-26=9
Exploring Operation: 26+5=31, Resulting Numbers: [35, 31]
Generated Node #0,0,2: 33:[35, 31] Operation: 26+5=31
Moving to Node #0,0,1
Current State: 33:[5, 9], Operations: ['95-60=35', '35-26=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[35, 31], Operations: ['95-60=35', '26+5=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,33 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[26, 30], Operations: ['95-60=35', '35-5=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,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,1
Current State: 33:[26, 60, 19], Operations: ['95/5=19']
Exploring Operation: 26-19=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 33:[60, 7] Operation: 26-19=7
Exploring Operation: 60-26=34, Resulting Numbers: [19, 34]
Generated Node #0,1,1: 33:[19, 34] Operation: 60-26=34
Exploring Operation: 60-19=41, Resulting Numbers: [26, 41]
Generated Node #0,1,2: 33:[26, 41] Operation: 60-19=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[19, 34], Operations: ['95/5=19', '60-26=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,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,1,2
Current State: 33:[26, 41], Operations: ['95/5=19', '60-19=41']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,33 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,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,1,0
Current State: 33:[60, 7], Operations: ['95/5=19', '26-19=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,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,2
Current State: 33:[5, 95, 34], Operations: ['60-26=34']
Exploring Operation: 95/5=19, Resulting Numbers: [34, 19]
Generated Node #0,2,0: 33:[34, 19] Operation: 95/5=19
Exploring Operation: 95-34=61, Resulting Numbers: [5, 61]
Generated Node #0,2,1: 33:[5, 61] Operation: 95-34=61
Exploring Operation: 95-5=90, Resulting Numbers: [34, 90]
Generated Node #0,2,2: 33:[34, 90] Operation: 95-5=90
Moving to Node #0,2,0
Current State: 33:[34, 19], Operations: ['60-26=34', '95/5=19']
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,33 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[5, 61], Operations: ['60-26=34', '95-34=61']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[34, 90], Operations: ['60-26=34', '95-5=90']
Exploring Operation: 34+90=124, Resulting Numbers: [124]
124,33 unequal: No Solution
Exploring Operation: 34*90=3060, Resulting Numbers: [3060]
3060,33 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,33 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 |
[
23,
84,
81,
8
] | 19 | [
"23*8=184",
"84+81=165",
"184-165=19"
] | Current State: 19:[23, 84, 81, 8], Operations: []
Exploring Operation: 23*8=184, Resulting Numbers: [84, 81, 184]
Generated Node #2: [84, 81, 184] from Operation: 23*8=184
Current State: 19:[84, 81, 184], Operations: ['23*8=184']
Exploring Operation: 84+81=165, Resulting Numbers: [184, 165]
Generated Node #3: [184, 165] from Operation: 84+81=165
Current State: 19:[184, 165], Operations: ['23*8=184', '84+81=165']
Exploring Operation: 184-165=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[23, 84, 81, 8], Operations: []
Exploring Operation: 81-8=73, Resulting Numbers: [23, 84, 73]
Generated Node #0,0: 19:[23, 84, 73] Operation: 81-8=73
Exploring Operation: 84-8=76, Resulting Numbers: [23, 81, 76]
Generated Node #0,1: 19:[23, 81, 76] Operation: 84-8=76
Exploring Operation: 81-23=58, Resulting Numbers: [84, 8, 58]
Generated Node #0,2: 19:[84, 8, 58] Operation: 81-23=58
Exploring Operation: 84-81=3, Resulting Numbers: [23, 8, 3]
Generated Node #0,3: 19:[23, 8, 3] Operation: 84-81=3
Exploring Operation: 84-23=61, Resulting Numbers: [81, 8, 61]
Generated Node #0,4: 19:[81, 8, 61] Operation: 84-23=61
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[23, 8, 3], Operations: ['84-81=3']
Exploring Operation: 8-3=5, Resulting Numbers: [23, 5]
Generated Node #0,3,0: 19:[23, 5] Operation: 8-3=5
Exploring Operation: 23+3=26, Resulting Numbers: [8, 26]
Generated Node #0,3,1: 19:[8, 26] Operation: 23+3=26
Exploring Operation: 23-3=20, Resulting Numbers: [8, 20]
Generated Node #0,3,2: 19:[8, 20] Operation: 23-3=20
Exploring Operation: 8*3=24, Resulting Numbers: [23, 24]
Generated Node #0,3,3: 19:[23, 24] Operation: 8*3=24
Exploring Operation: 8+3=11, Resulting Numbers: [23, 11]
Generated Node #0,3,4: 19:[23, 11] Operation: 8+3=11
Moving to Node #0,3,3
Current State: 19:[23, 24], Operations: ['84-81=3', '8*3=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,19 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Moving to Node #0,3,4
Current State: 19:[23, 11], Operations: ['84-81=3', '8+3=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[8, 20], Operations: ['84-81=3', '23-3=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[23, 5], Operations: ['84-81=3', '8-3=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,19 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[8, 26], Operations: ['84-81=3', '23+3=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,19 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[84, 8, 58], Operations: ['81-23=58']
Exploring Operation: 84-8=76, Resulting Numbers: [58, 76]
Generated Node #0,2,0: 19:[58, 76] Operation: 84-8=76
Exploring Operation: 8+58=66, Resulting Numbers: [84, 66]
Generated Node #0,2,1: 19:[84, 66] Operation: 8+58=66
Exploring Operation: 58-8=50, Resulting Numbers: [84, 50]
Generated Node #0,2,2: 19:[84, 50] Operation: 58-8=50
Exploring Operation: 84+8=92, Resulting Numbers: [58, 92]
Generated Node #0,2,3: 19:[58, 92] Operation: 84+8=92
Exploring Operation: 84-58=26, Resulting Numbers: [8, 26]
Generated Node #0,2,4: 19:[8, 26] Operation: 84-58=26
Moving to Node #0,2,4
Current State: 19:[8, 26], Operations: ['81-23=58', '84-58=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,19 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[84, 50], Operations: ['81-23=58', '58-8=50']
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,19 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[58, 76], Operations: ['81-23=58', '84-8=76']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 58*76=4408, Resulting Numbers: [4408]
4408,19 unequal: No Solution
Exploring Operation: 58+76=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[84, 66], Operations: ['81-23=58', '8+58=66']
Exploring Operation: 84*66=5544, Resulting Numbers: [5544]
5544,19 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 84+66=150, Resulting Numbers: [150]
150,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[58, 92], Operations: ['81-23=58', '84+8=92']
Exploring Operation: 58*92=5336, Resulting Numbers: [5336]
5336,19 unequal: No Solution
Exploring Operation: 58+92=150, Resulting Numbers: [150]
150,19 unequal: No Solution
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[81, 8, 61], Operations: ['84-23=61']
Exploring Operation: 8+61=69, Resulting Numbers: [81, 69]
Generated Node #0,4,0: 19:[81, 69] Operation: 8+61=69
Exploring Operation: 61-8=53, Resulting Numbers: [81, 53]
Generated Node #0,4,1: 19:[81, 53] Operation: 61-8=53
Exploring Operation: 81+8=89, Resulting Numbers: [61, 89]
Generated Node #0,4,2: 19:[61, 89] Operation: 81+8=89
Exploring Operation: 81-61=20, Resulting Numbers: [8, 20]
Generated Node #0,4,3: 19:[8, 20] Operation: 81-61=20
Exploring Operation: 81-8=73, Resulting Numbers: [61, 73]
Generated Node #0,4,4: 19:[61, 73] Operation: 81-8=73
Moving to Node #0,4,3
Current State: 19:[8, 20], Operations: ['84-23=61', '81-61=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,19 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[61, 73], Operations: ['84-23=61', '81-8=73']
Exploring Operation: 61*73=4453, Resulting Numbers: [4453]
4453,19 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 61+73=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[81, 53], Operations: ['84-23=61', '61-8=53']
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,19 unequal: No Solution
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[81, 69], Operations: ['84-23=61', '8+61=69']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 81+69=150, Resulting Numbers: [150]
150,19 unequal: No Solution
Exploring Operation: 81*69=5589, Resulting Numbers: [5589]
5589,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[61, 89], Operations: ['84-23=61', '81+8=89']
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,19 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[23, 84, 73], Operations: ['81-8=73']
Exploring Operation: 84-73=11, Resulting Numbers: [23, 11]
Generated Node #0,0,0: 19:[23, 11] Operation: 84-73=11
Exploring Operation: 84-23=61, Resulting Numbers: [73, 61]
Generated Node #0,0,1: 19:[73, 61] Operation: 84-23=61
Exploring Operation: 73-23=50, Resulting Numbers: [84, 50]
Generated Node #0,0,2: 19:[84, 50] Operation: 73-23=50
Exploring Operation: 23+73=96, Resulting Numbers: [84, 96]
Generated Node #0,0,3: 19:[84, 96] Operation: 23+73=96
Exploring Operation: 23+84=107, Resulting Numbers: [73, 107]
Generated Node #0,0,4: 19:[73, 107] Operation: 23+84=107
Moving to Node #0,0,0
Current State: 19:[23, 11], Operations: ['81-8=73', '84-73=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[84, 50], Operations: ['81-8=73', '73-23=50']
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,19 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[73, 61], Operations: ['81-8=73', '84-23=61']
Exploring Operation: 73+61=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Exploring Operation: 73*61=4453, Resulting Numbers: [4453]
4453,19 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[84, 96], Operations: ['81-8=73', '23+73=96']
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 84*96=8064, Resulting Numbers: [8064]
8064,19 unequal: No Solution
Exploring Operation: 84+96=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Moving to Node #0,0,4
Current State: 19:[73, 107], Operations: ['81-8=73', '23+84=107']
Exploring Operation: 107-73=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 73+107=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Exploring Operation: 73*107=7811, Resulting Numbers: [7811]
7811,19 unequal: No Solution
No 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:[23, 81, 76], Operations: ['84-8=76']
Exploring Operation: 23+81=104, Resulting Numbers: [76, 104]
Generated Node #0,1,0: 19:[76, 104] Operation: 23+81=104
Exploring Operation: 81-23=58, Resulting Numbers: [76, 58]
Generated Node #0,1,1: 19:[76, 58] Operation: 81-23=58
Exploring Operation: 23+76=99, Resulting Numbers: [81, 99]
Generated Node #0,1,2: 19:[81, 99] Operation: 23+76=99
Exploring Operation: 76-23=53, Resulting Numbers: [81, 53]
Generated Node #0,1,3: 19:[81, 53] Operation: 76-23=53
Exploring Operation: 81-76=5, Resulting Numbers: [23, 5]
Generated Node #0,1,4: 19:[23, 5] Operation: 81-76=5
Moving to Node #0,1,4
Current State: 19:[23, 5], Operations: ['84-8=76', '81-76=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,19 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[81, 53], Operations: ['84-8=76', '76-23=53']
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,19 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[76, 58], Operations: ['84-8=76', '81-23=58']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 76*58=4408, Resulting Numbers: [4408]
4408,19 unequal: No Solution
Exploring Operation: 76+58=134, Resulting Numbers: [134]
134,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[76, 104], Operations: ['84-8=76', '23+81=104']
Exploring Operation: 104-76=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 76*104=7904, Resulting Numbers: [7904]
7904,19 unequal: No Solution
Exploring Operation: 76+104=180, Resulting Numbers: [180]
180,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[81, 99], Operations: ['84-8=76', '23+76=99']
Exploring Operation: 81*99=8019, Resulting Numbers: [8019]
8019,19 unequal: No Solution
Exploring Operation: 99-81=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 81+99=180, Resulting Numbers: [180]
180,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
24,
26,
15,
17
] | 81 | [
"24-15=9",
"26-17=9",
"9*9=81"
] | Current State: 81:[24, 26, 15, 17], Operations: []
Exploring Operation: 24-15=9, Resulting Numbers: [26, 17, 9]
Generated Node #2: [26, 17, 9] from Operation: 24-15=9
Current State: 81:[26, 17, 9], Operations: ['24-15=9']
Exploring Operation: 26-17=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 26-17=9
Current State: 81:[9, 9], Operations: ['24-15=9', '26-17=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[24, 26, 15, 17], Operations: []
Exploring Operation: 26-17=9, Resulting Numbers: [24, 15, 9]
Generated Node #0,0: 81:[24, 15, 9] Operation: 26-17=9
Exploring Operation: 15+17=32, Resulting Numbers: [24, 26, 32]
Generated Node #0,1: 81:[24, 26, 32] Operation: 15+17=32
Exploring Operation: 24-15=9, Resulting Numbers: [26, 17, 9]
Generated Node #0,2: 81:[26, 17, 9] Operation: 24-15=9
Exploring Operation: 17-15=2, Resulting Numbers: [24, 26, 2]
Generated Node #0,3: 81:[24, 26, 2] Operation: 17-15=2
Exploring Operation: 24-17=7, Resulting Numbers: [26, 15, 7]
Generated Node #0,4: 81:[26, 15, 7] Operation: 24-17=7
Moving to Node #0,3
Current State: 81:[24, 26, 2], Operations: ['17-15=2']
Exploring Operation: 24-2=22, Resulting Numbers: [26, 22]
Generated Node #0,3,0: 81:[26, 22] Operation: 24-2=22
Exploring Operation: 24/2=12, Resulting Numbers: [26, 12]
Generated Node #0,3,1: 81:[26, 12] Operation: 24/2=12
Exploring Operation: 26+2=28, Resulting Numbers: [24, 28]
Generated Node #0,3,2: 81:[24, 28] Operation: 26+2=28
Exploring Operation: 26-24=2, Resulting Numbers: [2, 2]
Generated Node #0,3,3: 81:[2, 2] Operation: 26-24=2
Exploring Operation: 24+2=26, Resulting Numbers: [26, 26]
Generated Node #0,3,4: 81:[26, 26] Operation: 24+2=26
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[2, 2], Operations: ['17-15=2', '26-24=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 81:[26, 26], Operations: ['17-15=2', '24+2=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[26, 12], Operations: ['17-15=2', '24/2=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,81 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[24, 28], Operations: ['17-15=2', '26+2=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,81 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[26, 22], Operations: ['17-15=2', '24-2=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,81 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[24, 26, 32], Operations: ['15+17=32']
Exploring Operation: 32-26=6, Resulting Numbers: [24, 6]
Generated Node #0,1,0: 81:[24, 6] Operation: 32-26=6
Exploring Operation: 26+32=58, Resulting Numbers: [24, 58]
Generated Node #0,1,1: 81:[24, 58] Operation: 26+32=58
Exploring Operation: 26-24=2, Resulting Numbers: [32, 2]
Generated Node #0,1,2: 81:[32, 2] Operation: 26-24=2
Exploring Operation: 24+32=56, Resulting Numbers: [26, 56]
Generated Node #0,1,3: 81:[26, 56] Operation: 24+32=56
Exploring Operation: 32-24=8, Resulting Numbers: [26, 8]
Generated Node #0,1,4: 81:[26, 8] Operation: 32-24=8
Moving to Node #0,4
Current State: 81:[26, 15, 7], Operations: ['24-17=7']
Exploring Operation: 26-15=11, Resulting Numbers: [7, 11]
Generated Node #0,4,0: 81:[7, 11] Operation: 26-15=11
Exploring Operation: 15+7=22, Resulting Numbers: [26, 22]
Generated Node #0,4,1: 81:[26, 22] Operation: 15+7=22
Exploring Operation: 15-7=8, Resulting Numbers: [26, 8]
Generated Node #0,4,2: 81:[26, 8] Operation: 15-7=8
Exploring Operation: 26-7=19, Resulting Numbers: [15, 19]
Generated Node #0,4,3: 81:[15, 19] Operation: 26-7=19
Exploring Operation: 26+7=33, Resulting Numbers: [15, 33]
Generated Node #0,4,4: 81:[15, 33] Operation: 26+7=33
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 81:[26, 8], Operations: ['24-17=7', '15-7=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 81:[7, 11], Operations: ['24-17=7', '26-15=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 81:[26, 22], Operations: ['24-17=7', '15+7=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 81:[15, 33], Operations: ['24-17=7', '26+7=33']
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,81 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 81:[15, 19], Operations: ['24-17=7', '26-7=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,81 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: 81:[24, 15, 9], Operations: ['26-17=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24, 24]
Generated Node #0,0,0: 81:[24, 24] Operation: 15+9=24
Exploring Operation: 24-15=9, Resulting Numbers: [9, 9]
Generated Node #0,0,1: 81:[9, 9] Operation: 24-15=9
Exploring Operation: 24+15=39, Resulting Numbers: [9, 39]
Generated Node #0,0,2: 81:[9, 39] Operation: 24+15=39
Exploring Operation: 24+9=33, Resulting Numbers: [15, 33]
Generated Node #0,0,3: 81:[15, 33] Operation: 24+9=33
Exploring Operation: 15-9=6, Resulting Numbers: [24, 6]
Generated Node #0,0,4: 81:[24, 6] Operation: 15-9=6
Moving to Node #0,2
Current State: 81:[26, 17, 9], Operations: ['24-15=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26, 26]
Generated Node #0,2,0: 81:[26, 26] Operation: 17+9=26
Exploring Operation: 17-9=8, Resulting Numbers: [26, 8]
Generated Node #0,2,1: 81:[26, 8] Operation: 17-9=8
Exploring Operation: 26-17=9, Resulting Numbers: [9, 9]
Generated Node #0,2,2: 81:[9, 9] Operation: 26-17=9
Exploring Operation: 26+9=35, Resulting Numbers: [17, 35]
Generated Node #0,2,3: 81:[17, 35] Operation: 26+9=35
Exploring Operation: 26+17=43, Resulting Numbers: [9, 43]
Generated Node #0,2,4: 81:[9, 43] Operation: 26+17=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[9, 9], Operations: ['24-15=9', '26-17=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[24, 26, 15, 17], Operations: []
Exploring Operation: 24-15=9, Resulting Numbers: [26, 17, 9]
Generated Node #0,2: 81:[26, 17, 9] Operation: 24-15=9
Moving to Node #0,2
Current State: 81:[26, 17, 9], Operations: ['24-15=9']
Exploring Operation: 26-17=9, Resulting Numbers: [9, 9]
Generated Node #0,2,2: 81:[9, 9] Operation: 26-17=9
Moving to Node #0,2,2
Current State: 81:[9, 9], Operations: ['24-15=9', '26-17=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_5 | sum_heuristic |
[
3,
2,
2,
31
] | 89 | [
"3*31=93",
"2+2=4",
"93-4=89"
] | Current State: 89:[3, 2, 2, 31], Operations: []
Exploring Operation: 3*31=93, Resulting Numbers: [2, 2, 93]
Generated Node #2: [2, 2, 93] from Operation: 3*31=93
Current State: 89:[2, 2, 93], Operations: ['3*31=93']
Exploring Operation: 2+2=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 2+2=4
Current State: 89:[93, 4], Operations: ['3*31=93', '2+2=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[3, 2, 2, 31], Operations: []
Exploring Operation: 2*31=62, Resulting Numbers: [3, 2, 62]
Generated Node #0,0: 89:[3, 2, 62] Operation: 2*31=62
Exploring Operation: 2*31=62, Resulting Numbers: [3, 2, 62]
Generated Node #0,1: 89:[3, 2, 62] Operation: 2*31=62
Exploring Operation: 3*31=93, Resulting Numbers: [2, 2, 93]
Generated Node #0,2: 89:[2, 2, 93] Operation: 3*31=93
Moving to Node #0,2
Current State: 89:[2, 2, 93], Operations: ['3*31=93']
Exploring Operation: 2+2=4, Resulting Numbers: [93, 4]
Generated Node #0,2,0: 89:[93, 4] Operation: 2+2=4
Exploring Operation: 93-2=91, Resulting Numbers: [2, 91]
Generated Node #0,2,1: 89:[2, 91] Operation: 93-2=91
Exploring Operation: 2*2=4, Resulting Numbers: [93, 4]
Generated Node #0,2,2: 89:[93, 4] Operation: 2*2=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[93, 4], Operations: ['3*31=93', '2+2=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[3, 2, 2, 31], Operations: []
Exploring Operation: 3*31=93, Resulting Numbers: [2, 2, 93]
Generated Node #0,2: 89:[2, 2, 93] Operation: 3*31=93
Moving to Node #0,2
Current State: 89:[2, 2, 93], Operations: ['3*31=93']
Exploring Operation: 2+2=4, Resulting Numbers: [93, 4]
Generated Node #0,2,0: 89:[93, 4] Operation: 2+2=4
Moving to Node #0,2,0
Current State: 89:[93, 4], Operations: ['3*31=93', '2+2=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
34,
68,
36,
87
] | 21 | [
"34+68=102",
"36+87=123",
"123-102=21"
] | Current State: 21:[34, 68, 36, 87], Operations: []
Exploring Operation: 34+68=102, Resulting Numbers: [36, 87, 102]
Generated Node #2: [36, 87, 102] from Operation: 34+68=102
Current State: 21:[36, 87, 102], Operations: ['34+68=102']
Exploring Operation: 36+87=123, Resulting Numbers: [102, 123]
Generated Node #3: [102, 123] from Operation: 36+87=123
Current State: 21:[102, 123], Operations: ['34+68=102', '36+87=123']
Exploring Operation: 123-102=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[34, 68, 36, 87], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [36, 87, 34]
Generated Node #0,0: 21:[36, 87, 34] Operation: 68-34=34
Exploring Operation: 68/34=2, Resulting Numbers: [36, 87, 2]
Generated Node #0,1: 21:[36, 87, 2] Operation: 68/34=2
Exploring Operation: 68-36=32, Resulting Numbers: [34, 87, 32]
Generated Node #0,2: 21:[34, 87, 32] Operation: 68-36=32
Exploring Operation: 87-68=19, Resulting Numbers: [34, 36, 19]
Generated Node #0,3: 21:[34, 36, 19] Operation: 87-68=19
Exploring Operation: 87-36=51, Resulting Numbers: [34, 68, 51]
Generated Node #0,4: 21:[34, 68, 51] Operation: 87-36=51
Moving to Node #0,3
Current State: 21:[34, 36, 19], Operations: ['87-68=19']
Exploring Operation: 36-34=2, Resulting Numbers: [19, 2]
Generated Node #0,3,0: 21:[19, 2] Operation: 36-34=2
Exploring Operation: 36-19=17, Resulting Numbers: [34, 17]
Generated Node #0,3,1: 21:[34, 17] Operation: 36-19=17
Exploring Operation: 36+19=55, Resulting Numbers: [34, 55]
Generated Node #0,3,2: 21:[34, 55] Operation: 36+19=55
Exploring Operation: 34+19=53, Resulting Numbers: [36, 53]
Generated Node #0,3,3: 21:[36, 53] Operation: 34+19=53
Exploring Operation: 34-19=15, Resulting Numbers: [36, 15]
Generated Node #0,3,4: 21:[36, 15] Operation: 34-19=15
Moving to Node #0,1
Current State: 21:[36, 87, 2], Operations: ['68/34=2']
Exploring Operation: 36/2=18, Resulting Numbers: [87, 18]
Generated Node #0,1,0: 21:[87, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [87, 34]
Generated Node #0,1,1: 21:[87, 34] Operation: 36-2=34
Exploring Operation: 36+2=38, Resulting Numbers: [87, 38]
Generated Node #0,1,2: 21:[87, 38] Operation: 36+2=38
Exploring Operation: 87-36=51, Resulting Numbers: [2, 51]
Generated Node #0,1,3: 21:[2, 51] Operation: 87-36=51
Exploring Operation: 87-2=85, Resulting Numbers: [36, 85]
Generated Node #0,1,4: 21:[36, 85] Operation: 87-2=85
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[2, 51], Operations: ['68/34=2', '87-36=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,21 unequal: No Solution
No 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: 21:[87, 18], Operations: ['68/34=2', '36/2=18']
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,21 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,21 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,21 unequal: No Solution
No 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: 21:[87, 34], Operations: ['68/34=2', '36-2=34']
Exploring Operation: 87+34=121, Resulting Numbers: [121]
121,21 unequal: No Solution
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,21 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,21 unequal: No Solution
No 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: 21:[36, 85], Operations: ['68/34=2', '87-2=85']
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,21 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,21 unequal: No Solution
No 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: 21:[87, 38], Operations: ['68/34=2', '36+2=38']
Exploring Operation: 87*38=3306, Resulting Numbers: [3306]
3306,21 unequal: No Solution
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 87+38=125, Resulting Numbers: [125]
125,21 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: 21:[34, 87, 32], Operations: ['68-36=32']
Exploring Operation: 34-32=2, Resulting Numbers: [87, 2]
Generated Node #0,2,0: 21:[87, 2] Operation: 34-32=2
Exploring Operation: 34+87=121, Resulting Numbers: [32, 121]
Generated Node #0,2,1: 21:[32, 121] Operation: 34+87=121
Exploring Operation: 87-34=53, Resulting Numbers: [32, 53]
Generated Node #0,2,2: 21:[32, 53] Operation: 87-34=53
Exploring Operation: 34+32=66, Resulting Numbers: [87, 66]
Generated Node #0,2,3: 21:[87, 66] Operation: 34+32=66
Exploring Operation: 87-32=55, Resulting Numbers: [34, 55]
Generated Node #0,2,4: 21:[34, 55] Operation: 87-32=55
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[32, 53], Operations: ['68-36=32', '87-34=53']
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,21 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[34, 68, 36, 87], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [34, 87, 32]
Generated Node #0,2: 21:[34, 87, 32] Operation: 68-36=32
Moving to Node #0,2
Current State: 21:[34, 87, 32], Operations: ['68-36=32']
Exploring Operation: 87-34=53, Resulting Numbers: [32, 53]
Generated Node #0,2,2: 21:[32, 53] Operation: 87-34=53
Moving to Node #0,2,2
Current State: 21:[32, 53], Operations: ['68-36=32', '87-34=53']
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
46,
75,
95,
50
] | 76 | [
"46+75=121",
"95-50=45",
"121-45=76"
] | Current State: 76:[46, 75, 95, 50], Operations: []
Exploring Operation: 46+75=121, Resulting Numbers: [95, 50, 121]
Generated Node #2: [95, 50, 121] from Operation: 46+75=121
Current State: 76:[95, 50, 121], Operations: ['46+75=121']
Exploring Operation: 95-50=45, Resulting Numbers: [121, 45]
Generated Node #3: [121, 45] from Operation: 95-50=45
Current State: 76:[121, 45], Operations: ['46+75=121', '95-50=45']
Exploring Operation: 121-45=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[46, 75, 95, 50], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [75, 95, 4]
Generated Node #0,0: 76:[75, 95, 4] Operation: 50-46=4
Exploring Operation: 95-50=45, Resulting Numbers: [46, 75, 45]
Generated Node #0,1: 76:[46, 75, 45] Operation: 95-50=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[46, 75, 45], Operations: ['95-50=45']
Exploring Operation: 46-45=1, Resulting Numbers: [75, 1]
Generated Node #0,1,0: 76:[75, 1] Operation: 46-45=1
Exploring Operation: 75-46=29, Resulting Numbers: [45, 29]
Generated Node #0,1,1: 76:[45, 29] Operation: 75-46=29
Moving to Node #0,1,0
Current State: 76:[75, 1], Operations: ['95-50=45', '46-45=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[46, 75, 95, 50], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [46, 75, 45]
Generated Node #0,1: 76:[46, 75, 45] Operation: 95-50=45
Moving to Node #0,1
Current State: 76:[46, 75, 45], Operations: ['95-50=45']
Exploring Operation: 46-45=1, Resulting Numbers: [75, 1]
Generated Node #0,1,0: 76:[75, 1] Operation: 46-45=1
Moving to Node #0,1,0
Current State: 76:[75, 1], Operations: ['95-50=45', '46-45=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
33,
1,
19,
60
] | 75 | [
"33+1=34",
"60-19=41",
"34+41=75"
] | Current State: 75:[33, 1, 19, 60], Operations: []
Exploring Operation: 33+1=34, Resulting Numbers: [19, 60, 34]
Generated Node #2: [19, 60, 34] from Operation: 33+1=34
Current State: 75:[19, 60, 34], Operations: ['33+1=34']
Exploring Operation: 60-19=41, Resulting Numbers: [34, 41]
Generated Node #3: [34, 41] from Operation: 60-19=41
Current State: 75:[34, 41], Operations: ['33+1=34', '60-19=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[33, 1, 19, 60], Operations: []
Exploring Operation: 19+60=79, Resulting Numbers: [33, 1, 79]
Generated Node #0,0: 75:[33, 1, 79] Operation: 19+60=79
Exploring Operation: 33-19=14, Resulting Numbers: [1, 60, 14]
Generated Node #0,1: 75:[1, 60, 14] Operation: 33-19=14
Exploring Operation: 60-33=27, Resulting Numbers: [1, 19, 27]
Generated Node #0,2: 75:[1, 19, 27] Operation: 60-33=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[1, 19, 27], Operations: ['60-33=27']
Exploring Operation: 27-19=8, Resulting Numbers: [1, 8]
Generated Node #0,2,0: 75:[1, 8] Operation: 27-19=8
Exploring Operation: 27-1=26, Resulting Numbers: [19, 26]
Generated Node #0,2,1: 75:[19, 26] Operation: 27-1=26
Exploring Operation: 19-1=18, Resulting Numbers: [27, 18]
Generated Node #0,2,2: 75:[27, 18] Operation: 19-1=18
Moving to Node #0,2,0
Current State: 75:[1, 8], Operations: ['60-33=27', '27-19=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[19, 26], Operations: ['60-33=27', '27-1=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[27, 18], Operations: ['60-33=27', '19-1=18']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[33, 1, 79], Operations: ['19+60=79']
Exploring Operation: 33-1=32, Resulting Numbers: [79, 32]
Generated Node #0,0,0: 75:[79, 32] Operation: 33-1=32
Exploring Operation: 33*1=33, Resulting Numbers: [79, 33]
Generated Node #0,0,1: 75:[79, 33] Operation: 33*1=33
Exploring Operation: 79-1=78, Resulting Numbers: [33, 78]
Generated Node #0,0,2: 75:[33, 78] Operation: 79-1=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[79, 32], Operations: ['19+60=79', '33-1=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,75 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,75 unequal: No Solution
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[33, 78], Operations: ['19+60=79', '79-1=78']
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,75 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[79, 33], Operations: ['19+60=79', '33*1=33']
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 79*33=2607, Resulting Numbers: [2607]
2607,75 unequal: No Solution
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[1, 60, 14], Operations: ['33-19=14']
Exploring Operation: 60+14=74, Resulting Numbers: [1, 74]
Generated Node #0,1,0: 75:[1, 74] Operation: 60+14=74
Exploring Operation: 1+14=15, Resulting Numbers: [60, 15]
Generated Node #0,1,1: 75:[60, 15] Operation: 1+14=15
Exploring Operation: 1+60=61, Resulting Numbers: [14, 61]
Generated Node #0,1,2: 75:[14, 61] Operation: 1+60=61
Moving to Node #0,1,0
Current State: 75:[1, 74], Operations: ['33-19=14', '60+14=74']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[33, 1, 19, 60], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [1, 60, 14]
Generated Node #0,1: 75:[1, 60, 14] Operation: 33-19=14
Moving to Node #0,1
Current State: 75:[1, 60, 14], Operations: ['33-19=14']
Exploring Operation: 60+14=74, Resulting Numbers: [1, 74]
Generated Node #0,1,0: 75:[1, 74] Operation: 60+14=74
Moving to Node #0,1,0
Current State: 75:[1, 74], Operations: ['33-19=14', '60+14=74']
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
40,
13,
34,
80
] | 81 | [
"80/40=2",
"34*2=68",
"13+68=81"
] | Current State: 81:[40, 13, 34, 80], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [13, 34, 2]
Generated Node #2: [13, 34, 2] from Operation: 80/40=2
Current State: 81:[13, 34, 2], Operations: ['80/40=2']
Exploring Operation: 34*2=68, Resulting Numbers: [13, 68]
Generated Node #3: [13, 68] from Operation: 34*2=68
Current State: 81:[13, 68], Operations: ['80/40=2', '34*2=68']
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[40, 13, 34, 80], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [34, 80, 27]
Generated Node #0,0: 81:[34, 80, 27] Operation: 40-13=27
Exploring Operation: 40-34=6, Resulting Numbers: [13, 80, 6]
Generated Node #0,1: 81:[13, 80, 6] Operation: 40-34=6
Exploring Operation: 40+34=74, Resulting Numbers: [13, 80, 74]
Generated Node #0,2: 81:[13, 80, 74] Operation: 40+34=74
Moving to Node #0,0
Current State: 81:[34, 80, 27], Operations: ['40-13=27']
Exploring Operation: 80-34=46, Resulting Numbers: [27, 46]
Generated Node #0,0,0: 81:[27, 46] Operation: 80-34=46
Exploring Operation: 34-27=7, Resulting Numbers: [80, 7]
Generated Node #0,0,1: 81:[80, 7] Operation: 34-27=7
Exploring Operation: 34+27=61, Resulting Numbers: [80, 61]
Generated Node #0,0,2: 81:[80, 61] Operation: 34+27=61
Moving to Node #0,1
Current State: 81:[13, 80, 6], Operations: ['40-34=6']
Exploring Operation: 13-6=7, Resulting Numbers: [80, 7]
Generated Node #0,1,0: 81:[80, 7] Operation: 13-6=7
Exploring Operation: 13+6=19, Resulting Numbers: [80, 19]
Generated Node #0,1,1: 81:[80, 19] Operation: 13+6=19
Exploring Operation: 13*6=78, Resulting Numbers: [80, 78]
Generated Node #0,1,2: 81:[80, 78] Operation: 13*6=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[80, 7], Operations: ['40-34=6', '13-6=7']
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,81 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[80, 78], Operations: ['40-34=6', '13*6=78']
Exploring Operation: 80*78=6240, Resulting Numbers: [6240]
6240,81 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 80+78=158, Resulting Numbers: [158]
158,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[80, 19], Operations: ['40-34=6', '13+6=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 80*19=1520, Resulting Numbers: [1520]
1520,81 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: 81:[13, 80, 74], Operations: ['40+34=74']
Exploring Operation: 13+80=93, Resulting Numbers: [74, 93]
Generated Node #0,2,0: 81:[74, 93] Operation: 13+80=93
Exploring Operation: 13+74=87, Resulting Numbers: [80, 87]
Generated Node #0,2,1: 81:[80, 87] Operation: 13+74=87
Exploring Operation: 80-74=6, Resulting Numbers: [13, 6]
Generated Node #0,2,2: 81:[13, 6] Operation: 80-74=6
Moving to Node #0,0,1
Current State: 81:[80, 7], Operations: ['40-13=27', '34-27=7']
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,81 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[80, 87], Operations: ['40+34=74', '13+74=87']
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 80+87=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 80*87=6960, Resulting Numbers: [6960]
6960,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[13, 6], Operations: ['40+34=74', '80-74=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[74, 93], Operations: ['40+34=74', '13+80=93']
Exploring Operation: 74*93=6882, Resulting Numbers: [6882]
6882,81 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[27, 46], Operations: ['40-13=27', '80-34=46']
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,81 unequal: No Solution
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[80, 61], Operations: ['40-13=27', '34+27=61']
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,81 unequal: No Solution
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,81 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
82,
22,
61,
17
] | 80 | [
"61-17=44",
"44/22=2",
"82-2=80"
] | Current State: 80:[82, 22, 61, 17], Operations: []
Exploring Operation: 61-17=44, Resulting Numbers: [82, 22, 44]
Generated Node #2: [82, 22, 44] from Operation: 61-17=44
Current State: 80:[82, 22, 44], Operations: ['61-17=44']
Exploring Operation: 44/22=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 44/22=2
Current State: 80:[82, 2], Operations: ['61-17=44', '44/22=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[82, 22, 61, 17], Operations: []
Exploring Operation: 82-61=21, Resulting Numbers: [22, 17, 21]
Generated Node #0,0: 80:[22, 17, 21] Operation: 82-61=21
Exploring Operation: 61-22=39, Resulting Numbers: [82, 17, 39]
Generated Node #0,1: 80:[82, 17, 39] Operation: 61-22=39
Moving to Node #0,0
Current State: 80:[22, 17, 21], Operations: ['82-61=21']
Exploring Operation: 22-17=5, Resulting Numbers: [21, 5]
Generated Node #0,0,0: 80:[21, 5] Operation: 22-17=5
Exploring Operation: 22+17=39, Resulting Numbers: [21, 39]
Generated Node #0,0,1: 80:[21, 39] Operation: 22+17=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[21, 5], Operations: ['82-61=21', '22-17=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,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:[21, 39], Operations: ['82-61=21', '22+17=39']
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,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:[82, 17, 39], Operations: ['61-22=39']
Exploring Operation: 39-17=22, Resulting Numbers: [82, 22]
Generated Node #0,1,0: 80:[82, 22] Operation: 39-17=22
Exploring Operation: 82-39=43, Resulting Numbers: [17, 43]
Generated Node #0,1,1: 80:[17, 43] Operation: 82-39=43
Moving to Node #0,1,0
Current State: 80:[82, 22], Operations: ['61-22=39', '39-17=22']
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[17, 43], Operations: ['61-22=39', '82-39=43']
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,80 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
6,
93,
41
] | 65 | [
"78/6=13",
"93-41=52",
"13+52=65"
] | Current State: 65:[78, 6, 93, 41], Operations: []
Exploring Operation: 78/6=13, Resulting Numbers: [93, 41, 13]
Generated Node #2: [93, 41, 13] from Operation: 78/6=13
Current State: 65:[93, 41, 13], Operations: ['78/6=13']
Exploring Operation: 93-41=52, Resulting Numbers: [13, 52]
Generated Node #3: [13, 52] from Operation: 93-41=52
Current State: 65:[13, 52], Operations: ['78/6=13', '93-41=52']
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[78, 6, 93, 41], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [6, 41, 15]
Generated Node #0,0: 65:[6, 41, 15] Operation: 93-78=15
Moving to Node #0,0
Current State: 65:[6, 41, 15], Operations: ['93-78=15']
Exploring Operation: 41+15=56, Resulting Numbers: [6, 56]
Generated Node #0,0,0: 65:[6, 56] Operation: 41+15=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[6, 56], Operations: ['93-78=15', '41+15=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,65 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 |
[
58,
4,
62,
35
] | 81 | [
"58-4=54",
"62-35=27",
"54+27=81"
] | Current State: 81:[58, 4, 62, 35], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [62, 35, 54]
Generated Node #2: [62, 35, 54] from Operation: 58-4=54
Current State: 81:[62, 35, 54], Operations: ['58-4=54']
Exploring Operation: 62-35=27, Resulting Numbers: [54, 27]
Generated Node #3: [54, 27] from Operation: 62-35=27
Current State: 81:[54, 27], Operations: ['58-4=54', '62-35=27']
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[58, 4, 62, 35], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [4, 35, 4]
Generated Node #0,0: 81:[4, 35, 4] Operation: 62-58=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[4, 35, 4], Operations: ['62-58=4']
Exploring Operation: 35-4=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 81:[4, 31] Operation: 35-4=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[4, 31], Operations: ['62-58=4', '35-4=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,81 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 |
[
36,
21,
46,
28
] | 89 | [
"36-21=15",
"46+28=74",
"15+74=89"
] | Current State: 89:[36, 21, 46, 28], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [46, 28, 15]
Generated Node #2: [46, 28, 15] from Operation: 36-21=15
Current State: 89:[46, 28, 15], Operations: ['36-21=15']
Exploring Operation: 46+28=74, Resulting Numbers: [15, 74]
Generated Node #3: [15, 74] from Operation: 46+28=74
Current State: 89:[15, 74], Operations: ['36-21=15', '46+28=74']
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[36, 21, 46, 28], Operations: []
Exploring Operation: 36+21=57, Resulting Numbers: [46, 28, 57]
Generated Node #0,0: 89:[46, 28, 57] Operation: 36+21=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[46, 28, 57], Operations: ['36+21=57']
Exploring Operation: 46+28=74, Resulting Numbers: [57, 74]
Generated Node #0,0,0: 89:[57, 74] Operation: 46+28=74
Moving to Node #0,0,0
Current State: 89:[57, 74], Operations: ['36+21=57', '46+28=74']
Exploring Operation: 57+74=131, Resulting Numbers: [131]
131,89 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 |
[
42,
39,
23,
95
] | 69 | [
"42-39=3",
"95-23=72",
"72-3=69"
] | Current State: 69:[42, 39, 23, 95], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [23, 95, 3]
Generated Node #2: [23, 95, 3] from Operation: 42-39=3
Current State: 69:[23, 95, 3], Operations: ['42-39=3']
Exploring Operation: 95-23=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 95-23=72
Current State: 69:[3, 72], Operations: ['42-39=3', '95-23=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[42, 39, 23, 95], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [23, 95, 3]
Generated Node #0,0: 69:[23, 95, 3] Operation: 42-39=3
Exploring Operation: 42+39=81, Resulting Numbers: [23, 95, 81]
Generated Node #0,1: 69:[23, 95, 81] Operation: 42+39=81
Exploring Operation: 95-42=53, Resulting Numbers: [39, 23, 53]
Generated Node #0,2: 69:[39, 23, 53] Operation: 95-42=53
Exploring Operation: 95-23=72, Resulting Numbers: [42, 39, 72]
Generated Node #0,3: 69:[42, 39, 72] Operation: 95-23=72
Exploring Operation: 95-39=56, Resulting Numbers: [42, 23, 56]
Generated Node #0,4: 69:[42, 23, 56] Operation: 95-39=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[23, 95, 3], Operations: ['42-39=3']
Exploring Operation: 23-3=20, Resulting Numbers: [95, 20]
Generated Node #0,0,0: 69:[95, 20] Operation: 23-3=20
Exploring Operation: 23*3=69, Resulting Numbers: [95, 69]
Generated Node #0,0,1: 69:[95, 69] Operation: 23*3=69
Exploring Operation: 95-23=72, Resulting Numbers: [3, 72]
Generated Node #0,0,2: 69:[3, 72] Operation: 95-23=72
Exploring Operation: 23+3=26, Resulting Numbers: [95, 26]
Generated Node #0,0,3: 69:[95, 26] Operation: 23+3=26
Exploring Operation: 95-3=92, Resulting Numbers: [23, 92]
Generated Node #0,0,4: 69:[23, 92] Operation: 95-3=92
Moving to Node #0,0,2
Current State: 69:[3, 72], Operations: ['42-39=3', '95-23=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,69 unequal: No Solution
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,69 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[42, 39, 23, 95], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [23, 95, 3]
Generated Node #0,0: 69:[23, 95, 3] Operation: 42-39=3
Moving to Node #0,0
Current State: 69:[23, 95, 3], Operations: ['42-39=3']
Exploring Operation: 95-23=72, Resulting Numbers: [3, 72]
Generated Node #0,0,2: 69:[3, 72] Operation: 95-23=72
Moving to Node #0,0,2
Current State: 69:[3, 72], Operations: ['42-39=3', '95-23=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
27,
33,
36,
75
] | 99 | [
"27+33=60",
"75-36=39",
"60+39=99"
] | Current State: 99:[27, 33, 36, 75], Operations: []
Exploring Operation: 27+33=60, Resulting Numbers: [36, 75, 60]
Generated Node #2: [36, 75, 60] from Operation: 27+33=60
Current State: 99:[36, 75, 60], Operations: ['27+33=60']
Exploring Operation: 75-36=39, Resulting Numbers: [60, 39]
Generated Node #3: [60, 39] from Operation: 75-36=39
Current State: 99:[60, 39], Operations: ['27+33=60', '75-36=39']
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[27, 33, 36, 75], Operations: []
Exploring Operation: 75-36=39, Resulting Numbers: [27, 33, 39]
Generated Node #0,0: 99:[27, 33, 39] Operation: 75-36=39
Exploring Operation: 27+75=102, Resulting Numbers: [33, 36, 102]
Generated Node #0,1: 99:[33, 36, 102] Operation: 27+75=102
Exploring Operation: 75-27=48, Resulting Numbers: [33, 36, 48]
Generated Node #0,2: 99:[33, 36, 48] Operation: 75-27=48
Exploring Operation: 33+75=108, Resulting Numbers: [27, 36, 108]
Generated Node #0,3: 99:[27, 36, 108] Operation: 33+75=108
Moving to Node #0,1
Current State: 99:[33, 36, 102], Operations: ['27+75=102']
Exploring Operation: 36-33=3, Resulting Numbers: [102, 3]
Generated Node #0,1,0: 99:[102, 3] Operation: 36-33=3
Exploring Operation: 102-33=69, Resulting Numbers: [36, 69]
Generated Node #0,1,1: 99:[36, 69] Operation: 102-33=69
Exploring Operation: 33+36=69, Resulting Numbers: [102, 69]
Generated Node #0,1,2: 99:[102, 69] Operation: 33+36=69
Exploring Operation: 102-36=66, Resulting Numbers: [33, 66]
Generated Node #0,1,3: 99:[33, 66] Operation: 102-36=66
Moving to Node #0,0
Current State: 99:[27, 33, 39], Operations: ['75-36=39']
Exploring Operation: 27+33=60, Resulting Numbers: [39, 60]
Generated Node #0,0,0: 99:[39, 60] Operation: 27+33=60
Exploring Operation: 39-27=12, Resulting Numbers: [33, 12]
Generated Node #0,0,1: 99:[33, 12] Operation: 39-27=12
Exploring Operation: 39-33=6, Resulting Numbers: [27, 6]
Generated Node #0,0,2: 99:[27, 6] Operation: 39-33=6
Exploring Operation: 33-27=6, Resulting Numbers: [39, 6]
Generated Node #0,0,3: 99:[39, 6] Operation: 33-27=6
Moving to Node #0,3
Current State: 99:[27, 36, 108], Operations: ['33+75=108']
Exploring Operation: 36-27=9, Resulting Numbers: [108, 9]
Generated Node #0,3,0: 99:[108, 9] Operation: 36-27=9
Exploring Operation: 108-27=81, Resulting Numbers: [36, 81]
Generated Node #0,3,1: 99:[36, 81] Operation: 108-27=81
Exploring Operation: 108/27=4, Resulting Numbers: [36, 4]
Generated Node #0,3,2: 99:[36, 4] Operation: 108/27=4
Exploring Operation: 108/36=3, Resulting Numbers: [27, 3]
Generated Node #0,3,3: 99:[27, 3] Operation: 108/36=3
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 99:[36, 4], Operations: ['33+75=108', '108/27=4']
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,99 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,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,3,3
Current State: 99:[27, 3], Operations: ['33+75=108', '108/36=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,99 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,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,3,0
Current State: 99:[108, 9], Operations: ['33+75=108', '36-27=9']
Exploring Operation: 108+9=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Exploring Operation: 108/9=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 108*9=972, Resulting Numbers: [972]
972,99 unequal: No Solution
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[27, 33, 36, 75], Operations: []
Exploring Operation: 33+75=108, Resulting Numbers: [27, 36, 108]
Generated Node #0,3: 99:[27, 36, 108] Operation: 33+75=108
Moving to Node #0,3
Current State: 99:[27, 36, 108], Operations: ['33+75=108']
Exploring Operation: 36-27=9, Resulting Numbers: [108, 9]
Generated Node #0,3,0: 99:[108, 9] Operation: 36-27=9
Moving to Node #0,3,0
Current State: 99:[108, 9], Operations: ['33+75=108', '36-27=9']
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
58,
38,
78,
10
] | 88 | [
"58-38=20",
"78-10=68",
"20+68=88"
] | Current State: 88:[58, 38, 78, 10], Operations: []
Exploring Operation: 58-38=20, Resulting Numbers: [78, 10, 20]
Generated Node #2: [78, 10, 20] from Operation: 58-38=20
Current State: 88:[78, 10, 20], Operations: ['58-38=20']
Exploring Operation: 78-10=68, Resulting Numbers: [20, 68]
Generated Node #3: [20, 68] from Operation: 78-10=68
Current State: 88:[20, 68], Operations: ['58-38=20', '78-10=68']
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[58, 38, 78, 10], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [38, 10, 20]
Generated Node #0,0: 88:[38, 10, 20] Operation: 78-58=20
Moving to Node #0,0
Current State: 88:[38, 10, 20], Operations: ['78-58=20']
Exploring Operation: 38-20=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 88:[10, 18] Operation: 38-20=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[10, 18], Operations: ['78-58=20', '38-20=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,88 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 |
[
91,
10,
90,
77
] | 88 | [
"91+10=101",
"90-77=13",
"101-13=88"
] | Current State: 88:[91, 10, 90, 77], Operations: []
Exploring Operation: 91+10=101, Resulting Numbers: [90, 77, 101]
Generated Node #2: [90, 77, 101] from Operation: 91+10=101
Current State: 88:[90, 77, 101], Operations: ['91+10=101']
Exploring Operation: 90-77=13, Resulting Numbers: [101, 13]
Generated Node #3: [101, 13] from Operation: 90-77=13
Current State: 88:[101, 13], Operations: ['91+10=101', '90-77=13']
Exploring Operation: 101-13=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[91, 10, 90, 77], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [91, 10, 13]
Generated Node #0,0: 88:[91, 10, 13] Operation: 90-77=13
Exploring Operation: 91-77=14, Resulting Numbers: [10, 90, 14]
Generated Node #0,1: 88:[10, 90, 14] Operation: 91-77=14
Exploring Operation: 10+77=87, Resulting Numbers: [91, 90, 87]
Generated Node #0,2: 88:[91, 90, 87] Operation: 10+77=87
Moving to Node #0,0
Current State: 88:[91, 10, 13], Operations: ['90-77=13']
Exploring Operation: 10+13=23, Resulting Numbers: [91, 23]
Generated Node #0,0,0: 88:[91, 23] Operation: 10+13=23
Exploring Operation: 13-10=3, Resulting Numbers: [91, 3]
Generated Node #0,0,1: 88:[91, 3] Operation: 13-10=3
Exploring Operation: 91/13=7, Resulting Numbers: [10, 7]
Generated Node #0,0,2: 88:[10, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[10, 7], Operations: ['90-77=13', '91/13=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No 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: 88:[91, 23], Operations: ['90-77=13', '10+13=23']
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,88 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,88 unequal: No Solution
No 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: 88:[91, 3], Operations: ['90-77=13', '13-10=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,88 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[91, 10, 90, 77], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [91, 10, 13]
Generated Node #0,0: 88:[91, 10, 13] Operation: 90-77=13
Moving to Node #0,0
Current State: 88:[91, 10, 13], Operations: ['90-77=13']
Exploring Operation: 13-10=3, Resulting Numbers: [91, 3]
Generated Node #0,0,1: 88:[91, 3] Operation: 13-10=3
Moving to Node #0,0,1
Current State: 88:[91, 3], Operations: ['90-77=13', '13-10=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
91,
31,
2,
32
] | 92 | [
"91+31=122",
"32-2=30",
"122-30=92"
] | Current State: 92:[91, 31, 2, 32], Operations: []
Exploring Operation: 91+31=122, Resulting Numbers: [2, 32, 122]
Generated Node #2: [2, 32, 122] from Operation: 91+31=122
Current State: 92:[2, 32, 122], Operations: ['91+31=122']
Exploring Operation: 32-2=30, Resulting Numbers: [122, 30]
Generated Node #3: [122, 30] from Operation: 32-2=30
Current State: 92:[122, 30], Operations: ['91+31=122', '32-2=30']
Exploring Operation: 122-30=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[91, 31, 2, 32], Operations: []
Exploring Operation: 31-2=29, Resulting Numbers: [91, 32, 29]
Generated Node #0,0: 92:[91, 32, 29] Operation: 31-2=29
Exploring Operation: 32-31=1, Resulting Numbers: [91, 2, 1]
Generated Node #0,1: 92:[91, 2, 1] Operation: 32-31=1
Moving to Node #0,1
Current State: 92:[91, 2, 1], Operations: ['32-31=1']
Exploring Operation: 91+1=92, Resulting Numbers: [2, 92]
Generated Node #0,1,0: 92:[2, 92] Operation: 91+1=92
Exploring Operation: 91*1=91, Resulting Numbers: [2, 91]
Generated Node #0,1,1: 92:[2, 91] Operation: 91*1=91
Moving to Node #0,0
Current State: 92:[91, 32, 29], Operations: ['31-2=29']
Exploring Operation: 32-29=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 92:[91, 3] Operation: 32-29=3
Exploring Operation: 32+29=61, Resulting Numbers: [91, 61]
Generated Node #0,0,1: 92:[91, 61] Operation: 32+29=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[91, 3], Operations: ['31-2=29', '32-29=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[91, 61], Operations: ['31-2=29', '32+29=61']
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 91+61=152, Resulting Numbers: [152]
152,92 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: 92:[2, 92], Operations: ['32-31=1', '91+1=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[2, 91], Operations: ['32-31=1', '91*1=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,92 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
94,
20,
37
] | 72 | [
"94-5=89",
"37-20=17",
"89-17=72"
] | Current State: 72:[5, 94, 20, 37], Operations: []
Exploring Operation: 94-5=89, Resulting Numbers: [20, 37, 89]
Generated Node #2: [20, 37, 89] from Operation: 94-5=89
Current State: 72:[20, 37, 89], Operations: ['94-5=89']
Exploring Operation: 37-20=17, Resulting Numbers: [89, 17]
Generated Node #3: [89, 17] from Operation: 37-20=17
Current State: 72:[89, 17], Operations: ['94-5=89', '37-20=17']
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 94, 20, 37], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [5, 20, 57]
Generated Node #0,0: 72:[5, 20, 57] Operation: 94-37=57
Exploring Operation: 94-20=74, Resulting Numbers: [5, 37, 74]
Generated Node #0,1: 72:[5, 37, 74] Operation: 94-20=74
Exploring Operation: 5+20=25, Resulting Numbers: [94, 37, 25]
Generated Node #0,2: 72:[94, 37, 25] Operation: 5+20=25
Exploring Operation: 94-5=89, Resulting Numbers: [20, 37, 89]
Generated Node #0,3: 72:[20, 37, 89] Operation: 94-5=89
Exploring Operation: 20/5=4, Resulting Numbers: [94, 37, 4]
Generated Node #0,4: 72:[94, 37, 4] Operation: 20/5=4
Moving to Node #0,1
Current State: 72:[5, 37, 74], Operations: ['94-20=74']
Exploring Operation: 74-5=69, Resulting Numbers: [37, 69]
Generated Node #0,1,0: 72:[37, 69] Operation: 74-5=69
Exploring Operation: 74-37=37, Resulting Numbers: [5, 37]
Generated Node #0,1,1: 72:[5, 37] Operation: 74-37=37
Exploring Operation: 5+37=42, Resulting Numbers: [74, 42]
Generated Node #0,1,2: 72:[74, 42] Operation: 5+37=42
Exploring Operation: 74/37=2, Resulting Numbers: [5, 2]
Generated Node #0,1,3: 72:[5, 2] Operation: 74/37=2
Exploring Operation: 37-5=32, Resulting Numbers: [74, 32]
Generated Node #0,1,4: 72:[74, 32] Operation: 37-5=32
Moving to Node #0,0
Current State: 72:[5, 20, 57], Operations: ['94-37=57']
Exploring Operation: 20+57=77, Resulting Numbers: [5, 77]
Generated Node #0,0,0: 72:[5, 77] Operation: 20+57=77
Exploring Operation: 5+20=25, Resulting Numbers: [57, 25]
Generated Node #0,0,1: 72:[57, 25] Operation: 5+20=25
Exploring Operation: 57-20=37, Resulting Numbers: [5, 37]
Generated Node #0,0,2: 72:[5, 37] Operation: 57-20=37
Exploring Operation: 5+57=62, Resulting Numbers: [20, 62]
Generated Node #0,0,3: 72:[20, 62] Operation: 5+57=62
Exploring Operation: 20/5=4, Resulting Numbers: [57, 4]
Generated Node #0,0,4: 72:[57, 4] Operation: 20/5=4
Moving to Node #0,3
Current State: 72:[20, 37, 89], Operations: ['94-5=89']
Exploring Operation: 20+37=57, Resulting Numbers: [89, 57]
Generated Node #0,3,0: 72:[89, 57] Operation: 20+37=57
Exploring Operation: 37-20=17, Resulting Numbers: [89, 17]
Generated Node #0,3,1: 72:[89, 17] Operation: 37-20=17
Exploring Operation: 89-37=52, Resulting Numbers: [20, 52]
Generated Node #0,3,2: 72:[20, 52] Operation: 89-37=52
Exploring Operation: 20+89=109, Resulting Numbers: [37, 109]
Generated Node #0,3,3: 72:[37, 109] Operation: 20+89=109
Exploring Operation: 89-20=69, Resulting Numbers: [37, 69]
Generated Node #0,3,4: 72:[37, 69] Operation: 89-20=69
Moving to Node #0,4
Current State: 72:[94, 37, 4], Operations: ['20/5=4']
Exploring Operation: 94+4=98, Resulting Numbers: [37, 98]
Generated Node #0,4,0: 72:[37, 98] Operation: 94+4=98
Exploring Operation: 37+4=41, Resulting Numbers: [94, 41]
Generated Node #0,4,1: 72:[94, 41] Operation: 37+4=41
Exploring Operation: 94-37=57, Resulting Numbers: [4, 57]
Generated Node #0,4,2: 72:[4, 57] Operation: 94-37=57
Exploring Operation: 94-4=90, Resulting Numbers: [37, 90]
Generated Node #0,4,3: 72:[37, 90] Operation: 94-4=90
Exploring Operation: 37-4=33, Resulting Numbers: [94, 33]
Generated Node #0,4,4: 72:[94, 33] Operation: 37-4=33
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 72:[4, 57], Operations: ['20/5=4', '94-37=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 4*57=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,4,3
Current State: 72:[37, 90], Operations: ['20/5=4', '94-4=90']
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,72 unequal: No Solution
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,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,4,4
Current State: 72:[94, 33], Operations: ['20/5=4', '37-4=33']
Exploring Operation: 94+33=127, Resulting Numbers: [127]
127,72 unequal: No Solution
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 94*33=3102, Resulting Numbers: [3102]
3102,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,4,0
Current State: 72:[37, 98], Operations: ['20/5=4', '94+4=98']
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 37+98=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 37*98=3626, Resulting Numbers: [3626]
3626,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,4,1
Current State: 72:[94, 41], Operations: ['20/5=4', '37+4=41']
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,72 unequal: No Solution
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,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:[94, 37, 25], Operations: ['5+20=25']
Exploring Operation: 94+25=119, Resulting Numbers: [37, 119]
Generated Node #0,2,0: 72:[37, 119] Operation: 94+25=119
Exploring Operation: 94-25=69, Resulting Numbers: [37, 69]
Generated Node #0,2,1: 72:[37, 69] Operation: 94-25=69
Exploring Operation: 37+25=62, Resulting Numbers: [94, 62]
Generated Node #0,2,2: 72:[94, 62] Operation: 37+25=62
Exploring Operation: 37-25=12, Resulting Numbers: [94, 12]
Generated Node #0,2,3: 72:[94, 12] Operation: 37-25=12
Exploring Operation: 94-37=57, Resulting Numbers: [25, 57]
Generated Node #0,2,4: 72:[25, 57] Operation: 94-37=57
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[37, 69], Operations: ['5+20=25', '94-25=69']
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,72 unequal: No Solution
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,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,2,4
Current State: 72:[25, 57], Operations: ['5+20=25', '94-37=57']
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,72 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,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,2,3
Current State: 72:[94, 12], Operations: ['5+20=25', '37-25=12']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,72 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,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,2,2
Current State: 72:[94, 62], Operations: ['5+20=25', '37+25=62']
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 94+62=156, Resulting Numbers: [156]
156,72 unequal: No Solution
Exploring Operation: 94*62=5828, Resulting Numbers: [5828]
5828,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,2,0
Current State: 72:[37, 119], Operations: ['5+20=25', '94+25=119']
Exploring Operation: 37+119=156, Resulting Numbers: [156]
156,72 unequal: No Solution
Exploring Operation: 119-37=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 37*119=4403, Resulting Numbers: [4403]
4403,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 72:[5, 2], Operations: ['94-20=74', '74/37=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[5, 37], Operations: ['94-37=57', '57-20=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[5, 37], Operations: ['94-20=74', '74-37=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,72 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[37, 69], Operations: ['94-20=74', '74-5=69']
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,72 unequal: No Solution
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,72 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[37, 69], Operations: ['94-5=89', '89-20=69']
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,72 unequal: No Solution
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,72 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[5, 77], Operations: ['94-37=57', '20+57=77']
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[5, 94, 20, 37], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [5, 20, 57]
Generated Node #0,0: 72:[5, 20, 57] Operation: 94-37=57
Moving to Node #0,0
Current State: 72:[5, 20, 57], Operations: ['94-37=57']
Exploring Operation: 20+57=77, Resulting Numbers: [5, 77]
Generated Node #0,0,0: 72:[5, 77] Operation: 20+57=77
Moving to Node #0,0,0
Current State: 72:[5, 77], Operations: ['94-37=57', '20+57=77']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.929688 | hs_5 | sum_heuristic |
[
74,
47,
69,
8
] | 87 | [
"74-69=5",
"8*5=40",
"47+40=87"
] | Current State: 87:[74, 47, 69, 8], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [47, 8, 5]
Generated Node #2: [47, 8, 5] from Operation: 74-69=5
Current State: 87:[47, 8, 5], Operations: ['74-69=5']
Exploring Operation: 8*5=40, Resulting Numbers: [47, 40]
Generated Node #3: [47, 40] from Operation: 8*5=40
Current State: 87:[47, 40], Operations: ['74-69=5', '8*5=40']
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[74, 47, 69, 8], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [47, 8, 5]
Generated Node #0,0: 87:[47, 8, 5] Operation: 74-69=5
Exploring Operation: 47-8=39, Resulting Numbers: [74, 69, 39]
Generated Node #0,1: 87:[74, 69, 39] Operation: 47-8=39
Exploring Operation: 74-47=27, Resulting Numbers: [69, 8, 27]
Generated Node #0,2: 87:[69, 8, 27] Operation: 74-47=27
Exploring Operation: 74+8=82, Resulting Numbers: [47, 69, 82]
Generated Node #0,3: 87:[47, 69, 82] Operation: 74+8=82
Exploring Operation: 69-47=22, Resulting Numbers: [74, 8, 22]
Generated Node #0,4: 87:[74, 8, 22] Operation: 69-47=22
Moving to Node #0,0
Current State: 87:[47, 8, 5], Operations: ['74-69=5']
Exploring Operation: 8-5=3, Resulting Numbers: [47, 3]
Generated Node #0,0,0: 87:[47, 3] Operation: 8-5=3
Exploring Operation: 47-5=42, Resulting Numbers: [8, 42]
Generated Node #0,0,1: 87:[8, 42] Operation: 47-5=42
Exploring Operation: 47+5=52, Resulting Numbers: [8, 52]
Generated Node #0,0,2: 87:[8, 52] Operation: 47+5=52
Exploring Operation: 47+8=55, Resulting Numbers: [5, 55]
Generated Node #0,0,3: 87:[5, 55] Operation: 47+8=55
Exploring Operation: 47-8=39, Resulting Numbers: [5, 39]
Generated Node #0,0,4: 87:[5, 39] Operation: 47-8=39
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 87:[5, 39], Operations: ['74-69=5', '47-8=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[47, 3], Operations: ['74-69=5', '8-5=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[8, 42], Operations: ['74-69=5', '47-5=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,87 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[8, 52], Operations: ['74-69=5', '47+5=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 87:[5, 55], Operations: ['74-69=5', '47+8=55']
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,87 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 87:[74, 8, 22], Operations: ['69-47=22']
Exploring Operation: 22-8=14, Resulting Numbers: [74, 14]
Generated Node #0,4,0: 87:[74, 14] Operation: 22-8=14
Exploring Operation: 74-8=66, Resulting Numbers: [22, 66]
Generated Node #0,4,1: 87:[22, 66] Operation: 74-8=66
Exploring Operation: 74+22=96, Resulting Numbers: [8, 96]
Generated Node #0,4,2: 87:[8, 96] Operation: 74+22=96
Exploring Operation: 8+22=30, Resulting Numbers: [74, 30]
Generated Node #0,4,3: 87:[74, 30] Operation: 8+22=30
Exploring Operation: 74+8=82, Resulting Numbers: [22, 82]
Generated Node #0,4,4: 87:[22, 82] Operation: 74+8=82
Moving to Node #0,2
Current State: 87:[69, 8, 27], Operations: ['74-47=27']
Exploring Operation: 69+27=96, Resulting Numbers: [8, 96]
Generated Node #0,2,0: 87:[8, 96] Operation: 69+27=96
Exploring Operation: 8+27=35, Resulting Numbers: [69, 35]
Generated Node #0,2,1: 87:[69, 35] Operation: 8+27=35
Exploring Operation: 69-8=61, Resulting Numbers: [27, 61]
Generated Node #0,2,2: 87:[27, 61] Operation: 69-8=61
Exploring Operation: 69+8=77, Resulting Numbers: [27, 77]
Generated Node #0,2,3: 87:[27, 77] Operation: 69+8=77
Exploring Operation: 69-27=42, Resulting Numbers: [8, 42]
Generated Node #0,2,4: 87:[8, 42] Operation: 69-27=42
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[27, 77], Operations: ['74-47=27', '69+8=77']
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[8, 96], Operations: ['74-47=27', '69+27=96']
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,87 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[8, 42], Operations: ['74-47=27', '69-27=42']
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,87 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[69, 35], Operations: ['74-47=27', '8+27=35']
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[27, 61], Operations: ['74-47=27', '69-8=61']
Exploring Operation: 27+61=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 27*61=1647, Resulting Numbers: [1647]
1647,87 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[74, 69, 39], Operations: ['47-8=39']
Exploring Operation: 69-39=30, Resulting Numbers: [74, 30]
Generated Node #0,1,0: 87:[74, 30] Operation: 69-39=30
Exploring Operation: 74+39=113, Resulting Numbers: [69, 113]
Generated Node #0,1,1: 87:[69, 113] Operation: 74+39=113
Exploring Operation: 74-39=35, Resulting Numbers: [69, 35]
Generated Node #0,1,2: 87:[69, 35] Operation: 74-39=35
Exploring Operation: 69+39=108, Resulting Numbers: [74, 108]
Generated Node #0,1,3: 87:[74, 108] Operation: 69+39=108
Exploring Operation: 74-69=5, Resulting Numbers: [39, 5]
Generated Node #0,1,4: 87:[39, 5] Operation: 74-69=5
Moving to Node #0,3
Current State: 87:[47, 69, 82], Operations: ['74+8=82']
Exploring Operation: 69-47=22, Resulting Numbers: [82, 22]
Generated Node #0,3,0: 87:[82, 22] Operation: 69-47=22
Exploring Operation: 82-47=35, Resulting Numbers: [69, 35]
Generated Node #0,3,1: 87:[69, 35] Operation: 82-47=35
Exploring Operation: 47+69=116, Resulting Numbers: [82, 116]
Generated Node #0,3,2: 87:[82, 116] Operation: 47+69=116
Exploring Operation: 82-69=13, Resulting Numbers: [47, 13]
Generated Node #0,3,3: 87:[47, 13] Operation: 82-69=13
Exploring Operation: 47+82=129, Resulting Numbers: [69, 129]
Generated Node #0,3,4: 87:[69, 129] Operation: 47+82=129
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[82, 22], Operations: ['74+8=82', '69-47=22']
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,87 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[69, 35], Operations: ['74+8=82', '82-47=35']
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[47, 13], Operations: ['74+8=82', '82-69=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[82, 116], Operations: ['74+8=82', '47+69=116']
Exploring Operation: 82+116=198, Resulting Numbers: [198]
198,87 unequal: No Solution
Exploring Operation: 116-82=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 82*116=9512, Resulting Numbers: [9512]
9512,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 87:[69, 129], Operations: ['74+8=82', '47+82=129']
Exploring Operation: 129-69=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 69*129=8901, Resulting Numbers: [8901]
8901,87 unequal: No Solution
Exploring Operation: 69+129=198, Resulting Numbers: [198]
198,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 87:[22, 82], Operations: ['69-47=22', '74+8=82']
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 22*82=1804, Resulting Numbers: [1804]
1804,87 unequal: No Solution
Exploring Operation: 22+82=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[39, 5], Operations: ['47-8=39', '74-69=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[74, 30], Operations: ['47-8=39', '69-39=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,87 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Moving to Node #0,4,3
Current State: 87:[74, 30], Operations: ['69-47=22', '8+22=30']
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,87 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Moving to Node #0,4,2
Current State: 87:[8, 96], Operations: ['69-47=22', '74+22=96']
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,87 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[69, 35], Operations: ['47-8=39', '74-39=35']
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,87 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[74, 14], Operations: ['69-47=22', '22-8=14']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,87 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Moving to Node #0,4,1
Current State: 87:[22, 66], Operations: ['69-47=22', '74-8=66']
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,87 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,87 unequal: No Solution
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[74, 108], Operations: ['47-8=39', '69+39=108']
Exploring Operation: 74*108=7992, Resulting Numbers: [7992]
7992,87 unequal: No Solution
Exploring Operation: 74+108=182, Resulting Numbers: [182]
182,87 unequal: No Solution
Exploring Operation: 108-74=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[69, 113], Operations: ['47-8=39', '74+39=113']
Exploring Operation: 69+113=182, Resulting Numbers: [182]
182,87 unequal: No Solution
Exploring Operation: 69*113=7797, Resulting Numbers: [7797]
7797,87 unequal: No Solution
Exploring Operation: 113-69=44, Resulting Numbers: [44]
44,87 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
43,
12,
8,
6
] | 47 | [
"43+6=49",
"12*8=96",
"96-49=47"
] | Current State: 47:[43, 12, 8, 6], Operations: []
Exploring Operation: 43+6=49, Resulting Numbers: [12, 8, 49]
Generated Node #2: [12, 8, 49] from Operation: 43+6=49
Current State: 47:[12, 8, 49], Operations: ['43+6=49']
Exploring Operation: 12*8=96, Resulting Numbers: [49, 96]
Generated Node #3: [49, 96] from Operation: 12*8=96
Current State: 47:[49, 96], Operations: ['43+6=49', '12*8=96']
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[43, 12, 8, 6], Operations: []
Exploring Operation: 12+8=20, Resulting Numbers: [43, 6, 20]
Generated Node #0,0: 47:[43, 6, 20] Operation: 12+8=20
Exploring Operation: 8*6=48, Resulting Numbers: [43, 12, 48]
Generated Node #0,1: 47:[43, 12, 48] Operation: 8*6=48
Exploring Operation: 12*6=72, Resulting Numbers: [43, 8, 72]
Generated Node #0,2: 47:[43, 8, 72] Operation: 12*6=72
Exploring Operation: 12+6=18, Resulting Numbers: [43, 8, 18]
Generated Node #0,3: 47:[43, 8, 18] Operation: 12+6=18
Moving to Node #0,1
Current State: 47:[43, 12, 48], Operations: ['8*6=48']
Exploring Operation: 43-12=31, Resulting Numbers: [48, 31]
Generated Node #0,1,0: 47:[48, 31] Operation: 43-12=31
Exploring Operation: 12+48=60, Resulting Numbers: [43, 60]
Generated Node #0,1,1: 47:[43, 60] Operation: 12+48=60
Exploring Operation: 48-12=36, Resulting Numbers: [43, 36]
Generated Node #0,1,2: 47:[43, 36] Operation: 48-12=36
Exploring Operation: 43+12=55, Resulting Numbers: [48, 55]
Generated Node #0,1,3: 47:[48, 55] Operation: 43+12=55
Moving to Node #0,2
Current State: 47:[43, 8, 72], Operations: ['12*6=72']
Exploring Operation: 72-8=64, Resulting Numbers: [43, 64]
Generated Node #0,2,0: 47:[43, 64] Operation: 72-8=64
Exploring Operation: 8+72=80, Resulting Numbers: [43, 80]
Generated Node #0,2,1: 47:[43, 80] Operation: 8+72=80
Exploring Operation: 43-8=35, Resulting Numbers: [72, 35]
Generated Node #0,2,2: 47:[72, 35] Operation: 43-8=35
Exploring Operation: 43+8=51, Resulting Numbers: [72, 51]
Generated Node #0,2,3: 47:[72, 51] Operation: 43+8=51
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[43, 64], Operations: ['12*6=72', '72-8=64']
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,47 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,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:[72, 51], Operations: ['12*6=72', '43+8=51']
Exploring Operation: 72+51=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 72*51=3672, Resulting Numbers: [3672]
3672,47 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,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,1
Current State: 47:[43, 80], Operations: ['12*6=72', '8+72=80']
Exploring Operation: 43*80=3440, Resulting Numbers: [3440]
3440,47 unequal: No Solution
Exploring Operation: 43+80=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,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:[72, 35], Operations: ['12*6=72', '43-8=35']
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,47 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: 47:[43, 8, 18], Operations: ['12+6=18']
Exploring Operation: 8+18=26, Resulting Numbers: [43, 26]
Generated Node #0,3,0: 47:[43, 26] Operation: 8+18=26
Exploring Operation: 43+8=51, Resulting Numbers: [18, 51]
Generated Node #0,3,1: 47:[18, 51] Operation: 43+8=51
Exploring Operation: 43-8=35, Resulting Numbers: [18, 35]
Generated Node #0,3,2: 47:[18, 35] Operation: 43-8=35
Exploring Operation: 18-8=10, Resulting Numbers: [43, 10]
Generated Node #0,3,3: 47:[43, 10] Operation: 18-8=10
Moving to Node #0,0
Current State: 47:[43, 6, 20], Operations: ['12+8=20']
Exploring Operation: 43-6=37, Resulting Numbers: [20, 37]
Generated Node #0,0,0: 47:[20, 37] Operation: 43-6=37
Exploring Operation: 20-6=14, Resulting Numbers: [43, 14]
Generated Node #0,0,1: 47:[43, 14] Operation: 20-6=14
Exploring Operation: 43+6=49, Resulting Numbers: [20, 49]
Generated Node #0,0,2: 47:[20, 49] Operation: 43+6=49
Exploring Operation: 6+20=26, Resulting Numbers: [43, 26]
Generated Node #0,0,3: 47:[43, 26] Operation: 6+20=26
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[43, 26], Operations: ['12+8=20', '6+20=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,47 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,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,2
Current State: 47:[20, 49], Operations: ['12+8=20', '43+6=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,47 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,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,0
Current State: 47:[20, 37], Operations: ['12+8=20', '43-6=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
No 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:[43, 14], Operations: ['12+8=20', '20-6=14']
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,47 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 47:[48, 55], Operations: ['8*6=48', '43+12=55']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,47 unequal: No Solution
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[43, 36], Operations: ['8*6=48', '48-12=36']
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[48, 31], Operations: ['8*6=48', '43-12=31']
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,47 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[43, 60], Operations: ['8*6=48', '12+48=60']
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,47 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,47 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[43, 26], Operations: ['12+6=18', '8+18=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,47 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[18, 51], Operations: ['12+6=18', '43+8=51']
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,47 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[43, 10], Operations: ['12+6=18', '18-8=10']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[18, 35], Operations: ['12+6=18', '43-8=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,47 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,47 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
56,
89,
49
] | 52 | [
"28*89=2492",
"56+2492=2548",
"2548/49=52"
] | Current State: 52:[28, 56, 89, 49], Operations: []
Exploring Operation: 28*89=2492, Resulting Numbers: [56, 49, 2492]
Generated Node #2: [56, 49, 2492] from Operation: 28*89=2492
Current State: 52:[56, 49, 2492], Operations: ['28*89=2492']
Exploring Operation: 56+2492=2548, Resulting Numbers: [49, 2548]
Generated Node #3: [49, 2548] from Operation: 56+2492=2548
Current State: 52:[49, 2548], Operations: ['28*89=2492', '56+2492=2548']
Exploring Operation: 2548/49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[28, 56, 89, 49], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [28, 49, 33]
Generated Node #0,0: 52:[28, 49, 33] Operation: 89-56=33
Exploring Operation: 89-49=40, Resulting Numbers: [28, 56, 40]
Generated Node #0,1: 52:[28, 56, 40] Operation: 89-49=40
Exploring Operation: 56-28=28, Resulting Numbers: [89, 49, 28]
Generated Node #0,2: 52:[89, 49, 28] Operation: 56-28=28
Exploring Operation: 89-28=61, Resulting Numbers: [56, 49, 61]
Generated Node #0,3: 52:[56, 49, 61] Operation: 89-28=61
Exploring Operation: 56/28=2, Resulting Numbers: [89, 49, 2]
Generated Node #0,4: 52:[89, 49, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 52:[28, 49, 33], Operations: ['89-56=33']
Exploring Operation: 49-33=16, Resulting Numbers: [28, 16]
Generated Node #0,0,0: 52:[28, 16] Operation: 49-33=16
Exploring Operation: 28+49=77, Resulting Numbers: [33, 77]
Generated Node #0,0,1: 52:[33, 77] Operation: 28+49=77
Exploring Operation: 49-28=21, Resulting Numbers: [33, 21]
Generated Node #0,0,2: 52:[33, 21] Operation: 49-28=21
Exploring Operation: 33-28=5, Resulting Numbers: [49, 5]
Generated Node #0,0,3: 52:[49, 5] Operation: 33-28=5
Exploring Operation: 28+33=61, Resulting Numbers: [49, 61]
Generated Node #0,0,4: 52:[49, 61] Operation: 28+33=61
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[49, 5], Operations: ['89-56=33', '33-28=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,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,0
Current State: 52:[28, 16], Operations: ['89-56=33', '49-33=16']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,52 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[33, 21], Operations: ['89-56=33', '49-28=21']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,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,4
Current State: 52:[49, 61], Operations: ['89-56=33', '28+33=61']
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 49*61=2989, Resulting Numbers: [2989]
2989,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:[33, 77], Operations: ['89-56=33', '28+49=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,52 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 52:[56, 49, 61], Operations: ['89-28=61']
Exploring Operation: 56-49=7, Resulting Numbers: [61, 7]
Generated Node #0,3,0: 52:[61, 7] Operation: 56-49=7
Exploring Operation: 49+61=110, Resulting Numbers: [56, 110]
Generated Node #0,3,1: 52:[56, 110] Operation: 49+61=110
Exploring Operation: 56+49=105, Resulting Numbers: [61, 105]
Generated Node #0,3,2: 52:[61, 105] Operation: 56+49=105
Exploring Operation: 61-49=12, Resulting Numbers: [56, 12]
Generated Node #0,3,3: 52:[56, 12] Operation: 61-49=12
Exploring Operation: 61-56=5, Resulting Numbers: [49, 5]
Generated Node #0,3,4: 52:[49, 5] Operation: 61-56=5
Moving to Node #0,1
Current State: 52:[28, 56, 40], Operations: ['89-49=40']
Exploring Operation: 56-28=28, Resulting Numbers: [40, 28]
Generated Node #0,1,0: 52:[40, 28] Operation: 56-28=28
Exploring Operation: 28+40=68, Resulting Numbers: [56, 68]
Generated Node #0,1,1: 52:[56, 68] Operation: 28+40=68
Exploring Operation: 56-40=16, Resulting Numbers: [28, 16]
Generated Node #0,1,2: 52:[28, 16] Operation: 56-40=16
Exploring Operation: 40-28=12, Resulting Numbers: [56, 12]
Generated Node #0,1,3: 52:[56, 12] Operation: 40-28=12
Exploring Operation: 56/28=2, Resulting Numbers: [40, 2]
Generated Node #0,1,4: 52:[40, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[28, 16], Operations: ['89-49=40', '56-40=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[56, 12], Operations: ['89-49=40', '40-28=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,52 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,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,4
Current State: 52:[40, 2], Operations: ['89-49=40', '56/28=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,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:[40, 28], Operations: ['89-49=40', '56-28=28']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,52 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[56, 68], Operations: ['89-49=40', '28+40=68']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,52 unequal: No Solution
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,52 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: 52:[89, 49, 2], Operations: ['56/28=2']
Exploring Operation: 49+2=51, Resulting Numbers: [89, 51]
Generated Node #0,4,0: 52:[89, 51] Operation: 49+2=51
Exploring Operation: 89+2=91, Resulting Numbers: [49, 91]
Generated Node #0,4,1: 52:[49, 91] Operation: 89+2=91
Exploring Operation: 89-49=40, Resulting Numbers: [2, 40]
Generated Node #0,4,2: 52:[2, 40] Operation: 89-49=40
Exploring Operation: 89-2=87, Resulting Numbers: [49, 87]
Generated Node #0,4,3: 52:[49, 87] Operation: 89-2=87
Exploring Operation: 49-2=47, Resulting Numbers: [89, 47]
Generated Node #0,4,4: 52:[89, 47] Operation: 49-2=47
Moving to Node #0,2
Current State: 52:[89, 49, 28], Operations: ['56-28=28']
Exploring Operation: 89-49=40, Resulting Numbers: [28, 40]
Generated Node #0,2,0: 52:[28, 40] Operation: 89-49=40
Exploring Operation: 49-28=21, Resulting Numbers: [89, 21]
Generated Node #0,2,1: 52:[89, 21] Operation: 49-28=21
Exploring Operation: 89-28=61, Resulting Numbers: [49, 61]
Generated Node #0,2,2: 52:[49, 61] Operation: 89-28=61
Exploring Operation: 49+28=77, Resulting Numbers: [89, 77]
Generated Node #0,2,3: 52:[89, 77] Operation: 49+28=77
Exploring Operation: 89+28=117, Resulting Numbers: [49, 117]
Generated Node #0,2,4: 52:[49, 117] Operation: 89+28=117
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[49, 61], Operations: ['56-28=28', '89-28=61']
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 49*61=2989, Resulting Numbers: [2989]
2989,52 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[28, 40], Operations: ['56-28=28', '89-49=40']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[89, 21], Operations: ['56-28=28', '49-28=21']
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[89, 77], Operations: ['56-28=28', '49+28=77']
Exploring Operation: 89+77=166, Resulting Numbers: [166]
166,52 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 89*77=6853, Resulting Numbers: [6853]
6853,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[49, 117], Operations: ['56-28=28', '89+28=117']
Exploring Operation: 117-49=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Exploring Operation: 49+117=166, Resulting Numbers: [166]
166,52 unequal: No Solution
Exploring Operation: 49*117=5733, Resulting Numbers: [5733]
5733,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 52:[49, 5], Operations: ['89-28=61', '61-56=5']
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,52 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[56, 12], Operations: ['89-28=61', '61-49=12']
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,52 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[61, 7], Operations: ['89-28=61', '56-49=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[2, 40], Operations: ['56/28=2', '89-49=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[89, 51], Operations: ['56/28=2', '49+2=51']
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,52 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[49, 87], Operations: ['56/28=2', '89-2=87']
Exploring Operation: 49*87=4263, Resulting Numbers: [4263]
4263,52 unequal: No Solution
Exploring Operation: 49+87=136, Resulting Numbers: [136]
136,52 unequal: No Solution
Exploring Operation: 87-49=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[89, 47], Operations: ['56/28=2', '49-2=47']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,52 unequal: No Solution
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[49, 91], Operations: ['56/28=2', '89+2=91']
Exploring Operation: 49*91=4459, Resulting Numbers: [4459]
4459,52 unequal: No Solution
Exploring Operation: 49+91=140, Resulting Numbers: [140]
140,52 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[56, 110], Operations: ['89-28=61', '49+61=110']
Exploring Operation: 56*110=6160, Resulting Numbers: [6160]
6160,52 unequal: No Solution
Exploring Operation: 56+110=166, Resulting Numbers: [166]
166,52 unequal: No Solution
Exploring Operation: 110-56=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[61, 105], Operations: ['89-28=61', '56+49=105']
Exploring Operation: 105-61=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 61+105=166, Resulting Numbers: [166]
166,52 unequal: No Solution
Exploring Operation: 61*105=6405, Resulting Numbers: [6405]
6405,52 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
44,
50,
67,
77
] | 84 | [
"44+50=94",
"77-67=10",
"94-10=84"
] | Current State: 84:[44, 50, 67, 77], Operations: []
Exploring Operation: 44+50=94, Resulting Numbers: [67, 77, 94]
Generated Node #2: [67, 77, 94] from Operation: 44+50=94
Current State: 84:[67, 77, 94], Operations: ['44+50=94']
Exploring Operation: 77-67=10, Resulting Numbers: [94, 10]
Generated Node #3: [94, 10] from Operation: 77-67=10
Current State: 84:[94, 10], Operations: ['44+50=94', '77-67=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[44, 50, 67, 77], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [44, 50, 10]
Generated Node #0,0: 84:[44, 50, 10] Operation: 77-67=10
Exploring Operation: 67-50=17, Resulting Numbers: [44, 77, 17]
Generated Node #0,1: 84:[44, 77, 17] Operation: 67-50=17
Exploring Operation: 67-44=23, Resulting Numbers: [50, 77, 23]
Generated Node #0,2: 84:[50, 77, 23] Operation: 67-44=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[44, 50, 10], Operations: ['77-67=10']
Exploring Operation: 50-10=40, Resulting Numbers: [44, 40]
Generated Node #0,0,0: 84:[44, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [44, 5]
Generated Node #0,0,1: 84:[44, 5] Operation: 50/10=5
Exploring Operation: 50-44=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 84:[10, 6] Operation: 50-44=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[10, 6], Operations: ['77-67=10', '50-44=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,84 unequal: No Solution
No 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: 84:[44, 5], Operations: ['77-67=10', '50/10=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,84 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,84 unequal: No Solution
No 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: 84:[44, 40], Operations: ['77-67=10', '50-10=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,84 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[44, 50, 67, 77], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [44, 50, 10]
Generated Node #0,0: 84:[44, 50, 10] Operation: 77-67=10
Moving to Node #0,0
Current State: 84:[44, 50, 10], Operations: ['77-67=10']
Exploring Operation: 50-10=40, Resulting Numbers: [44, 40]
Generated Node #0,0,0: 84:[44, 40] Operation: 50-10=40
Moving to Node #0,0,0
Current State: 84:[44, 40], Operations: ['77-67=10', '50-10=40']
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
32,
30,
42,
28
] | 26 | [
"30-28=2",
"32/2=16",
"42-16=26"
] | Current State: 26:[32, 30, 42, 28], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [32, 42, 2]
Generated Node #2: [32, 42, 2] from Operation: 30-28=2
Current State: 26:[32, 42, 2], Operations: ['30-28=2']
Exploring Operation: 32/2=16, Resulting Numbers: [42, 16]
Generated Node #3: [42, 16] from Operation: 32/2=16
Current State: 26:[42, 16], Operations: ['30-28=2', '32/2=16']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[32, 30, 42, 28], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [30, 28, 10]
Generated Node #0,0: 26:[30, 28, 10] Operation: 42-32=10
Exploring Operation: 42-30=12, Resulting Numbers: [32, 28, 12]
Generated Node #0,1: 26:[32, 28, 12] Operation: 42-30=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[30, 28, 10], Operations: ['42-32=10']
Exploring Operation: 30-28=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 26:[10, 2] Operation: 30-28=2
Exploring Operation: 30/10=3, Resulting Numbers: [28, 3]
Generated Node #0,0,1: 26:[28, 3] Operation: 30/10=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[10, 2], Operations: ['42-32=10', '30-28=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[28, 3], Operations: ['42-32=10', '30/10=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[32, 28, 12], Operations: ['42-30=12']
Exploring Operation: 32-28=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 26:[12, 4] Operation: 32-28=4
Exploring Operation: 32-12=20, Resulting Numbers: [28, 20]
Generated Node #0,1,1: 26:[28, 20] Operation: 32-12=20
Moving to Node #0,1,0
Current State: 26:[12, 4], Operations: ['42-30=12', '32-28=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[28, 20], Operations: ['42-30=12', '32-12=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,26 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 |
[
49,
40,
74,
48
] | 35 | [
"49-40=9",
"74-48=26",
"9+26=35"
] | Current State: 35:[49, 40, 74, 48], Operations: []
Exploring Operation: 49-40=9, Resulting Numbers: [74, 48, 9]
Generated Node #2: [74, 48, 9] from Operation: 49-40=9
Current State: 35:[74, 48, 9], Operations: ['49-40=9']
Exploring Operation: 74-48=26, Resulting Numbers: [9, 26]
Generated Node #3: [9, 26] from Operation: 74-48=26
Current State: 35:[9, 26], Operations: ['49-40=9', '74-48=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[49, 40, 74, 48], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [40, 48, 25]
Generated Node #0,0: 35:[40, 48, 25] Operation: 74-49=25
Exploring Operation: 74-40=34, Resulting Numbers: [49, 48, 34]
Generated Node #0,1: 35:[49, 48, 34] Operation: 74-40=34
Exploring Operation: 74-48=26, Resulting Numbers: [49, 40, 26]
Generated Node #0,2: 35:[49, 40, 26] Operation: 74-48=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[40, 48, 25], Operations: ['74-49=25']
Exploring Operation: 48-25=23, Resulting Numbers: [40, 23]
Generated Node #0,0,0: 35:[40, 23] Operation: 48-25=23
Exploring Operation: 48-40=8, Resulting Numbers: [25, 8]
Generated Node #0,0,1: 35:[25, 8] Operation: 48-40=8
Exploring Operation: 40-25=15, Resulting Numbers: [48, 15]
Generated Node #0,0,2: 35:[48, 15] Operation: 40-25=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[25, 8], Operations: ['74-49=25', '48-40=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,35 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,35 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,35 unequal: No Solution
No 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: 35:[40, 23], Operations: ['74-49=25', '48-25=23']
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,35 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,35 unequal: No Solution
No 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: 35:[48, 15], Operations: ['74-49=25', '40-25=15']
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,35 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,35 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: 35:[49, 48, 34], Operations: ['74-40=34']
Exploring Operation: 48-34=14, Resulting Numbers: [49, 14]
Generated Node #0,1,0: 35:[49, 14] Operation: 48-34=14
Exploring Operation: 49-34=15, Resulting Numbers: [48, 15]
Generated Node #0,1,1: 35:[48, 15] Operation: 49-34=15
Exploring Operation: 49-48=1, Resulting Numbers: [34, 1]
Generated Node #0,1,2: 35:[34, 1] Operation: 49-48=1
Moving to Node #0,1,2
Current State: 35:[34, 1], Operations: ['74-40=34', '49-48=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[49, 40, 74, 48], Operations: []
Exploring Operation: 74-40=34, Resulting Numbers: [49, 48, 34]
Generated Node #0,1: 35:[49, 48, 34] Operation: 74-40=34
Moving to Node #0,1
Current State: 35:[49, 48, 34], Operations: ['74-40=34']
Exploring Operation: 49-48=1, Resulting Numbers: [34, 1]
Generated Node #0,1,2: 35:[34, 1] Operation: 49-48=1
Moving to Node #0,1,2
Current State: 35:[34, 1], Operations: ['74-40=34', '49-48=1']
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
56,
9,
25,
9
] | 49 | [
"56+9=65",
"25-9=16",
"65-16=49"
] | Current State: 49:[56, 9, 25, 9], Operations: []
Exploring Operation: 56+9=65, Resulting Numbers: [25, 65]
Generated Node #2: [25, 65] from Operation: 56+9=65
Current State: 49:[25, 65], Operations: ['56+9=65']
Exploring Operation: 25-9=16, Resulting Numbers: [65, 16]
Generated Node #3: [65, 16] from Operation: 25-9=16
Current State: 49:[65, 16], Operations: ['56+9=65', '25-9=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[56, 9, 25, 9], Operations: []
Exploring Operation: 25-9=16, Resulting Numbers: [56, 9, 16]
Generated Node #0,0: 49:[56, 9, 16] Operation: 25-9=16
Exploring Operation: 56-9=47, Resulting Numbers: [25, 9, 47]
Generated Node #0,1: 49:[25, 9, 47] Operation: 56-9=47
Exploring Operation: 25-9=16, Resulting Numbers: [56, 9, 16]
Generated Node #0,2: 49:[56, 9, 16] Operation: 25-9=16
Moving to Node #0,0
Current State: 49:[56, 9, 16], Operations: ['25-9=16']
Exploring Operation: 56-16=40, Resulting Numbers: [9, 40]
Generated Node #0,0,0: 49:[9, 40] Operation: 56-16=40
Exploring Operation: 56-9=47, Resulting Numbers: [16, 47]
Generated Node #0,0,1: 49:[16, 47] Operation: 56-9=47
Exploring Operation: 16-9=7, Resulting Numbers: [56, 7]
Generated Node #0,0,2: 49:[56, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[56, 7], Operations: ['25-9=16', '16-9=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[56, 9, 25, 9], Operations: []
Exploring Operation: 25-9=16, Resulting Numbers: [56, 9, 16]
Generated Node #0,0: 49:[56, 9, 16] Operation: 25-9=16
Moving to Node #0,0
Current State: 49:[56, 9, 16], Operations: ['25-9=16']
Exploring Operation: 16-9=7, Resulting Numbers: [56, 7]
Generated Node #0,0,2: 49:[56, 7] Operation: 16-9=7
Moving to Node #0,0,2
Current State: 49:[56, 7], Operations: ['25-9=16', '16-9=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
22,
54,
92,
8
] | 96 | [
"54-22=32",
"32/8=4",
"92+4=96"
] | Current State: 96:[22, 54, 92, 8], Operations: []
Exploring Operation: 54-22=32, Resulting Numbers: [92, 8, 32]
Generated Node #2: [92, 8, 32] from Operation: 54-22=32
Current State: 96:[92, 8, 32], Operations: ['54-22=32']
Exploring Operation: 32/8=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 32/8=4
Current State: 96:[92, 4], Operations: ['54-22=32', '32/8=4']
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[22, 54, 92, 8], Operations: []
Exploring Operation: 54-22=32, Resulting Numbers: [92, 8, 32]
Generated Node #0,0: 96:[92, 8, 32] Operation: 54-22=32
Moving to Node #0,0
Current State: 96:[92, 8, 32], Operations: ['54-22=32']
Exploring Operation: 92+8=100, Resulting Numbers: [32, 100]
Generated Node #0,0,0: 96:[32, 100] Operation: 92+8=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[32, 100], Operations: ['54-22=32', '92+8=100']
Exploring Operation: 100-32=68, Resulting Numbers: [68]
68,96 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 |
[
35,
63,
42,
86
] | 83 | [
"63+42=105",
"105/35=3",
"86-3=83"
] | Current State: 83:[35, 63, 42, 86], Operations: []
Exploring Operation: 63+42=105, Resulting Numbers: [35, 86, 105]
Generated Node #2: [35, 86, 105] from Operation: 63+42=105
Current State: 83:[35, 86, 105], Operations: ['63+42=105']
Exploring Operation: 105/35=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 105/35=3
Current State: 83:[86, 3], Operations: ['63+42=105', '105/35=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[35, 63, 42, 86], Operations: []
Exploring Operation: 35+42=77, Resulting Numbers: [63, 86, 77]
Generated Node #0,0: 83:[63, 86, 77] Operation: 35+42=77
Moving to Node #0,0
Current State: 83:[63, 86, 77], Operations: ['35+42=77']
Exploring Operation: 63+77=140, Resulting Numbers: [86, 140]
Generated Node #0,0,0: 83:[86, 140] Operation: 63+77=140
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[86, 140], Operations: ['35+42=77', '63+77=140']
Exploring Operation: 140-86=54, Resulting Numbers: [54]
54,83 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,
73,
1,
2
] | 82 | [
"5*2=10",
"73-1=72",
"10+72=82"
] | Current State: 82:[5, 73, 1, 2], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [73, 1, 10]
Generated Node #2: [73, 1, 10] from Operation: 5*2=10
Current State: 82:[73, 1, 10], Operations: ['5*2=10']
Exploring Operation: 73-1=72, Resulting Numbers: [10, 72]
Generated Node #3: [10, 72] from Operation: 73-1=72
Current State: 82:[10, 72], Operations: ['5*2=10', '73-1=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[5, 73, 1, 2], Operations: []
Exploring Operation: 5+73=78, Resulting Numbers: [1, 2, 78]
Generated Node #0,0: 82:[1, 2, 78] Operation: 5+73=78
Exploring Operation: 5-2=3, Resulting Numbers: [73, 1, 3]
Generated Node #0,1: 82:[73, 1, 3] Operation: 5-2=3
Exploring Operation: 73+1=74, Resulting Numbers: [5, 2, 74]
Generated Node #0,2: 82:[5, 2, 74] Operation: 73+1=74
Exploring Operation: 5-1=4, Resulting Numbers: [73, 2, 4]
Generated Node #0,3: 82:[73, 2, 4] Operation: 5-1=4
Moving to Node #0,0
Current State: 82:[1, 2, 78], Operations: ['5+73=78']
Exploring Operation: 1+78=79, Resulting Numbers: [2, 79]
Generated Node #0,0,0: 82:[2, 79] Operation: 1+78=79
Exploring Operation: 78/2=39, Resulting Numbers: [1, 39]
Generated Node #0,0,1: 82:[1, 39] Operation: 78/2=39
Exploring Operation: 1*2=2, Resulting Numbers: [78, 2]
Generated Node #0,0,2: 82:[78, 2] Operation: 1*2=2
Exploring Operation: 2+78=80, Resulting Numbers: [1, 80]
Generated Node #0,0,3: 82:[1, 80] Operation: 2+78=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[2, 79], Operations: ['5+73=78', '1+78=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,82 unequal: No Solution
No 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: 82:[1, 39], Operations: ['5+73=78', '78/2=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No 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: 82:[1, 80], Operations: ['5+73=78', '2+78=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,82 unequal: No Solution
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,82 unequal: No Solution
No 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: 82:[78, 2], Operations: ['5+73=78', '1*2=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,82 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,82 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,82 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: 82:[5, 2, 74], Operations: ['73+1=74']
Exploring Operation: 74/2=37, Resulting Numbers: [5, 37]
Generated Node #0,2,0: 82:[5, 37] Operation: 74/2=37
Exploring Operation: 5-2=3, Resulting Numbers: [74, 3]
Generated Node #0,2,1: 82:[74, 3] Operation: 5-2=3
Exploring Operation: 5+74=79, Resulting Numbers: [2, 79]
Generated Node #0,2,2: 82:[2, 79] Operation: 5+74=79
Exploring Operation: 2+74=76, Resulting Numbers: [5, 76]
Generated Node #0,2,3: 82:[5, 76] Operation: 2+74=76
Moving to Node #0,1
Current State: 82:[73, 1, 3], Operations: ['5-2=3']
Exploring Operation: 3-1=2, Resulting Numbers: [73, 2]
Generated Node #0,1,0: 82:[73, 2] Operation: 3-1=2
Exploring Operation: 73+1=74, Resulting Numbers: [3, 74]
Generated Node #0,1,1: 82:[3, 74] Operation: 73+1=74
Exploring Operation: 73*1=73, Resulting Numbers: [3, 73]
Generated Node #0,1,2: 82:[3, 73] Operation: 73*1=73
Exploring Operation: 73+3=76, Resulting Numbers: [1, 76]
Generated Node #0,1,3: 82:[1, 76] Operation: 73+3=76
Moving to Node #0,3
Current State: 82:[73, 2, 4], Operations: ['5-1=4']
Exploring Operation: 73+4=77, Resulting Numbers: [2, 77]
Generated Node #0,3,0: 82:[2, 77] Operation: 73+4=77
Exploring Operation: 73+2=75, Resulting Numbers: [4, 75]
Generated Node #0,3,1: 82:[4, 75] Operation: 73+2=75
Exploring Operation: 4/2=2, Resulting Numbers: [73, 2]
Generated Node #0,3,2: 82:[73, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [73, 2]
Generated Node #0,3,3: 82:[73, 2] Operation: 4-2=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[2, 77], Operations: ['5-1=4', '73+4=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,82 unequal: No Solution
No 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: 82:[4, 75], Operations: ['5-1=4', '73+2=75']
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,82 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,82 unequal: No Solution
No 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: 82:[73, 2], Operations: ['5-1=4', '4/2=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,82 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,82 unequal: No Solution
No 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: 82:[73, 2], Operations: ['5-1=4', '4-2=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 82:[2, 79], Operations: ['73+1=74', '5+74=79']
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[5, 37], Operations: ['73+1=74', '74/2=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,82 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,82 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[1, 76], Operations: ['5-2=3', '73+3=76']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[74, 3], Operations: ['73+1=74', '5-2=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,82 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[73, 2], Operations: ['5-2=3', '3-1=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[5, 76], Operations: ['73+1=74', '2+74=76']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[3, 74], Operations: ['5-2=3', '73+1=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[3, 73], Operations: ['5-2=3', '73*1=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,82 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,82 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
22,
34,
99
] | 30 | [
"99-11=88",
"88/22=4",
"34-4=30"
] | Current State: 30:[11, 22, 34, 99], Operations: []
Exploring Operation: 99-11=88, Resulting Numbers: [22, 34, 88]
Generated Node #2: [22, 34, 88] from Operation: 99-11=88
Current State: 30:[22, 34, 88], Operations: ['99-11=88']
Exploring Operation: 88/22=4, Resulting Numbers: [34, 4]
Generated Node #3: [34, 4] from Operation: 88/22=4
Current State: 30:[34, 4], Operations: ['99-11=88', '88/22=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[11, 22, 34, 99], Operations: []
Exploring Operation: 99-22=77, Resulting Numbers: [11, 34, 77]
Generated Node #0,0: 30:[11, 34, 77] Operation: 99-22=77
Exploring Operation: 99/11=9, Resulting Numbers: [22, 34, 9]
Generated Node #0,1: 30:[22, 34, 9] Operation: 99/11=9
Exploring Operation: 99-34=65, Resulting Numbers: [11, 22, 65]
Generated Node #0,2: 30:[11, 22, 65] Operation: 99-34=65
Moving to Node #0,1
Current State: 30:[22, 34, 9], Operations: ['99/11=9']
Exploring Operation: 22-9=13, Resulting Numbers: [34, 13]
Generated Node #0,1,0: 30:[34, 13] Operation: 22-9=13
Exploring Operation: 34-22=12, Resulting Numbers: [9, 12]
Generated Node #0,1,1: 30:[9, 12] Operation: 34-22=12
Exploring Operation: 22+9=31, Resulting Numbers: [34, 31]
Generated Node #0,1,2: 30:[34, 31] Operation: 22+9=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[9, 12], Operations: ['99/11=9', '34-22=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[34, 31], Operations: ['99/11=9', '22+9=31']
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,30 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[34, 13], Operations: ['99/11=9', '22-9=13']
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,30 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,30 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: 30:[11, 22, 65], Operations: ['99-34=65']
Exploring Operation: 65-22=43, Resulting Numbers: [11, 43]
Generated Node #0,2,0: 30:[11, 43] Operation: 65-22=43
Exploring Operation: 22/11=2, Resulting Numbers: [65, 2]
Generated Node #0,2,1: 30:[65, 2] Operation: 22/11=2
Exploring Operation: 65-11=54, Resulting Numbers: [22, 54]
Generated Node #0,2,2: 30:[22, 54] Operation: 65-11=54
Moving to Node #0,0
Current State: 30:[11, 34, 77], Operations: ['99-22=77']
Exploring Operation: 77/11=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 30:[34, 7] Operation: 77/11=7
Exploring Operation: 77-34=43, Resulting Numbers: [11, 43]
Generated Node #0,0,1: 30:[11, 43] Operation: 77-34=43
Exploring Operation: 77-11=66, Resulting Numbers: [34, 66]
Generated Node #0,0,2: 30:[34, 66] Operation: 77-11=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[34, 7], Operations: ['99-22=77', '77/11=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,30 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[11, 43], Operations: ['99-22=77', '77-34=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,30 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[34, 66], Operations: ['99-22=77', '77-11=66']
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,30 unequal: No Solution
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,30 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,30 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: 30:[11, 43], Operations: ['99-34=65', '65-22=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,30 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[22, 54], Operations: ['99-34=65', '65-11=54']
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,30 unequal: No Solution
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[65, 2], Operations: ['99-34=65', '22/11=2']
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,30 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,30 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
35,
74,
85,
61
] | 85 | [
"35+74=109",
"85-61=24",
"109-24=85"
] | Current State: 85:[35, 74, 85, 61], Operations: []
Exploring Operation: 35+74=109, Resulting Numbers: [85, 61, 109]
Generated Node #2: [85, 61, 109] from Operation: 35+74=109
Current State: 85:[85, 61, 109], Operations: ['35+74=109']
Exploring Operation: 85-61=24, Resulting Numbers: [109, 24]
Generated Node #3: [109, 24] from Operation: 85-61=24
Current State: 85:[109, 24], Operations: ['35+74=109', '85-61=24']
Exploring Operation: 109-24=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 74, 85, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [35, 85, 13]
Generated Node #0,0: 85:[35, 85, 13] Operation: 74-61=13
Exploring Operation: 61-35=26, Resulting Numbers: [74, 85, 26]
Generated Node #0,1: 85:[74, 85, 26] Operation: 61-35=26
Exploring Operation: 35+61=96, Resulting Numbers: [74, 85, 96]
Generated Node #0,2: 85:[74, 85, 96] Operation: 35+61=96
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[74, 85, 26], Operations: ['61-35=26']
Exploring Operation: 74+26=100, Resulting Numbers: [85, 100]
Generated Node #0,1,0: 85:[85, 100] Operation: 74+26=100
Exploring Operation: 85-74=11, Resulting Numbers: [26, 11]
Generated Node #0,1,1: 85:[26, 11] Operation: 85-74=11
Exploring Operation: 74-26=48, Resulting Numbers: [85, 48]
Generated Node #0,1,2: 85:[85, 48] Operation: 74-26=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[85, 100], Operations: ['61-35=26', '74+26=100']
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 85*100=8500, Resulting Numbers: [8500]
8500,85 unequal: No Solution
Exploring Operation: 85+100=185, Resulting Numbers: [185]
185,85 unequal: No Solution
No 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: 85:[26, 11], Operations: ['61-35=26', '85-74=11']
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,85 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No 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: 85:[85, 48], Operations: ['61-35=26', '74-26=48']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,85 unequal: No Solution
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,85 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: 85:[35, 85, 13], Operations: ['74-61=13']
Exploring Operation: 35-13=22, Resulting Numbers: [85, 22]
Generated Node #0,0,0: 85:[85, 22] Operation: 35-13=22
Exploring Operation: 85+13=98, Resulting Numbers: [35, 98]
Generated Node #0,0,1: 85:[35, 98] Operation: 85+13=98
Exploring Operation: 35+13=48, Resulting Numbers: [85, 48]
Generated Node #0,0,2: 85:[85, 48] Operation: 35+13=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[85, 22], Operations: ['74-61=13', '35-13=22']
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,85 unequal: No Solution
No 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: 85:[35, 98], Operations: ['74-61=13', '85+13=98']
Exploring Operation: 35*98=3430, Resulting Numbers: [3430]
3430,85 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 35+98=133, Resulting Numbers: [133]
133,85 unequal: No Solution
No 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: 85:[85, 48], Operations: ['74-61=13', '35+13=48']
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,85 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,85 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: 85:[74, 85, 96], Operations: ['35+61=96']
Exploring Operation: 96-85=11, Resulting Numbers: [74, 11]
Generated Node #0,2,0: 85:[74, 11] Operation: 96-85=11
Exploring Operation: 85-74=11, Resulting Numbers: [96, 11]
Generated Node #0,2,1: 85:[96, 11] Operation: 85-74=11
Exploring Operation: 96-74=22, Resulting Numbers: [85, 22]
Generated Node #0,2,2: 85:[85, 22] Operation: 96-74=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[85, 22], Operations: ['35+61=96', '96-74=22']
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,85 unequal: No Solution
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,85 unequal: No Solution
No 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: 85:[74, 11], Operations: ['35+61=96', '96-85=11']
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[35, 74, 85, 61], Operations: []
Exploring Operation: 35+61=96, Resulting Numbers: [74, 85, 96]
Generated Node #0,2: 85:[74, 85, 96] Operation: 35+61=96
Moving to Node #0,2
Current State: 85:[74, 85, 96], Operations: ['35+61=96']
Exploring Operation: 96-85=11, Resulting Numbers: [74, 11]
Generated Node #0,2,0: 85:[74, 11] Operation: 96-85=11
Moving to Node #0,2,0
Current State: 85:[74, 11], Operations: ['35+61=96', '96-85=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
22,
26,
40,
48
] | 73 | [
"40*48=1920",
"1920-22=1898",
"1898/26=73"
] | Current State: 73:[22, 26, 40, 48], Operations: []
Exploring Operation: 40*48=1920, Resulting Numbers: [22, 26, 1920]
Generated Node #2: [22, 26, 1920] from Operation: 40*48=1920
Current State: 73:[22, 26, 1920], Operations: ['40*48=1920']
Exploring Operation: 1920-22=1898, Resulting Numbers: [26, 1898]
Generated Node #3: [26, 1898] from Operation: 1920-22=1898
Current State: 73:[26, 1898], Operations: ['40*48=1920', '1920-22=1898']
Exploring Operation: 1898/26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[22, 26, 40, 48], Operations: []
Exploring Operation: 22+26=48, Resulting Numbers: [40, 48, 48]
Generated Node #0,0: 73:[40, 48, 48] Operation: 22+26=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[40, 48, 48], Operations: ['22+26=48']
Exploring Operation: 40+48=88, Resulting Numbers: [48, 88]
Generated Node #0,0,0: 73:[48, 88] Operation: 40+48=88
Moving to Node #0,0,0
Current State: 73:[48, 88], Operations: ['22+26=48', '40+48=88']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,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 |
[
14,
95,
37,
56
] | 53 | [
"56/14=4",
"37*4=148",
"148-95=53"
] | Current State: 53:[14, 95, 37, 56], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [95, 37, 4]
Generated Node #2: [95, 37, 4] from Operation: 56/14=4
Current State: 53:[95, 37, 4], Operations: ['56/14=4']
Exploring Operation: 37*4=148, Resulting Numbers: [95, 148]
Generated Node #3: [95, 148] from Operation: 37*4=148
Current State: 53:[95, 148], Operations: ['56/14=4', '37*4=148']
Exploring Operation: 148-95=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[14, 95, 37, 56], Operations: []
Exploring Operation: 95-14=81, Resulting Numbers: [37, 56, 81]
Generated Node #0,0: 53:[37, 56, 81] Operation: 95-14=81
Exploring Operation: 14+37=51, Resulting Numbers: [95, 56, 51]
Generated Node #0,1: 53:[95, 56, 51] Operation: 14+37=51
Exploring Operation: 56-14=42, Resulting Numbers: [95, 37, 42]
Generated Node #0,2: 53:[95, 37, 42] Operation: 56-14=42
Exploring Operation: 95-37=58, Resulting Numbers: [14, 56, 58]
Generated Node #0,3: 53:[14, 56, 58] Operation: 95-37=58
Moving to Node #0,0
Current State: 53:[37, 56, 81], Operations: ['95-14=81']
Exploring Operation: 81-37=44, Resulting Numbers: [56, 44]
Generated Node #0,0,0: 53:[56, 44] Operation: 81-37=44
Exploring Operation: 81-56=25, Resulting Numbers: [37, 25]
Generated Node #0,0,1: 53:[37, 25] Operation: 81-56=25
Exploring Operation: 37+56=93, Resulting Numbers: [81, 93]
Generated Node #0,0,2: 53:[81, 93] Operation: 37+56=93
Exploring Operation: 56-37=19, Resulting Numbers: [81, 19]
Generated Node #0,0,3: 53:[81, 19] Operation: 56-37=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[56, 44], Operations: ['95-14=81', '81-37=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,53 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[37, 25], Operations: ['95-14=81', '81-56=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,53 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[81, 19], Operations: ['95-14=81', '56-37=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[81, 93], Operations: ['95-14=81', '37+56=93']
Exploring Operation: 81+93=174, Resulting Numbers: [174]
174,53 unequal: No Solution
Exploring Operation: 81*93=7533, Resulting Numbers: [7533]
7533,53 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,53 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: 53:[14, 56, 58], Operations: ['95-37=58']
Exploring Operation: 58-14=44, Resulting Numbers: [56, 44]
Generated Node #0,3,0: 53:[56, 44] Operation: 58-14=44
Exploring Operation: 14+56=70, Resulting Numbers: [58, 70]
Generated Node #0,3,1: 53:[58, 70] Operation: 14+56=70
Exploring Operation: 14+58=72, Resulting Numbers: [56, 72]
Generated Node #0,3,2: 53:[56, 72] Operation: 14+58=72
Exploring Operation: 56-14=42, Resulting Numbers: [58, 42]
Generated Node #0,3,3: 53:[58, 42] Operation: 56-14=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[56, 44], Operations: ['95-37=58', '58-14=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[58, 42], Operations: ['95-37=58', '56-14=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[58, 70], Operations: ['95-37=58', '14+56=70']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,53 unequal: No Solution
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[56, 72], Operations: ['95-37=58', '14+58=72']
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,53 unequal: No Solution
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,53 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,53 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: 53:[95, 56, 51], Operations: ['14+37=51']
Exploring Operation: 95-56=39, Resulting Numbers: [51, 39]
Generated Node #0,1,0: 53:[51, 39] Operation: 95-56=39
Exploring Operation: 56-51=5, Resulting Numbers: [95, 5]
Generated Node #0,1,1: 53:[95, 5] Operation: 56-51=5
Exploring Operation: 95-51=44, Resulting Numbers: [56, 44]
Generated Node #0,1,2: 53:[56, 44] Operation: 95-51=44
Exploring Operation: 95+51=146, Resulting Numbers: [56, 146]
Generated Node #0,1,3: 53:[56, 146] Operation: 95+51=146
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[56, 44], Operations: ['14+37=51', '95-51=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[51, 39], Operations: ['14+37=51', '95-56=39']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,53 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[95, 5], Operations: ['14+37=51', '56-51=5']
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,53 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[56, 146], Operations: ['14+37=51', '95+51=146']
Exploring Operation: 56*146=8176, Resulting Numbers: [8176]
8176,53 unequal: No Solution
Exploring Operation: 146-56=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 56+146=202, Resulting Numbers: [202]
202,53 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: 53:[95, 37, 42], Operations: ['56-14=42']
Exploring Operation: 95-42=53, Resulting Numbers: [37, 53]
Generated Node #0,2,0: 53:[37, 53] Operation: 95-42=53
Exploring Operation: 95+37=132, Resulting Numbers: [42, 132]
Generated Node #0,2,1: 53:[42, 132] Operation: 95+37=132
Exploring Operation: 37+42=79, Resulting Numbers: [95, 79]
Generated Node #0,2,2: 53:[95, 79] Operation: 37+42=79
Exploring Operation: 95-37=58, Resulting Numbers: [42, 58]
Generated Node #0,2,3: 53:[42, 58] Operation: 95-37=58
Moving to Node #0,2,0
Current State: 53:[37, 53], Operations: ['56-14=42', '95-42=53']
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,53 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[42, 58], Operations: ['56-14=42', '95-37=58']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 42*58=2436, Resulting Numbers: [2436]
2436,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[95, 79], Operations: ['56-14=42', '37+42=79']
Exploring Operation: 95+79=174, Resulting Numbers: [174]
174,53 unequal: No Solution
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 95*79=7505, Resulting Numbers: [7505]
7505,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[42, 132], Operations: ['56-14=42', '95+37=132']
Exploring Operation: 42+132=174, Resulting Numbers: [174]
174,53 unequal: No Solution
Exploring Operation: 132-42=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 42*132=5544, Resulting Numbers: [5544]
5544,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
17,
75,
5,
61
] | 87 | [
"75-61=14",
"5*14=70",
"17+70=87"
] | Current State: 87:[17, 75, 5, 61], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [17, 5, 14]
Generated Node #2: [17, 5, 14] from Operation: 75-61=14
Current State: 87:[17, 5, 14], Operations: ['75-61=14']
Exploring Operation: 5*14=70, Resulting Numbers: [17, 70]
Generated Node #3: [17, 70] from Operation: 5*14=70
Current State: 87:[17, 70], Operations: ['75-61=14', '5*14=70']
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[17, 75, 5, 61], Operations: []
Exploring Operation: 17+61=78, Resulting Numbers: [75, 5, 78]
Generated Node #0,0: 87:[75, 5, 78] Operation: 17+61=78
Moving to Node #0,0
Current State: 87:[75, 5, 78], Operations: ['17+61=78']
Exploring Operation: 78-75=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 87:[5, 3] Operation: 78-75=3
Moving to Node #0,0,0
Current State: 87:[5, 3], Operations: ['17+61=78', '78-75=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
72,
99,
65,
16
] | 87 | [
"99*16=1584",
"1584/72=22",
"65+22=87"
] | Current State: 87:[72, 99, 65, 16], Operations: []
Exploring Operation: 99*16=1584, Resulting Numbers: [72, 65, 1584]
Generated Node #2: [72, 65, 1584] from Operation: 99*16=1584
Current State: 87:[72, 65, 1584], Operations: ['99*16=1584']
Exploring Operation: 1584/72=22, Resulting Numbers: [65, 22]
Generated Node #3: [65, 22] from Operation: 1584/72=22
Current State: 87:[65, 22], Operations: ['99*16=1584', '1584/72=22']
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[72, 99, 65, 16], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [99, 16, 7]
Generated Node #0,0: 87:[99, 16, 7] Operation: 72-65=7
Moving to Node #0,0
Current State: 87:[99, 16, 7], Operations: ['72-65=7']
Exploring Operation: 99-16=83, Resulting Numbers: [7, 83]
Generated Node #0,0,0: 87:[7, 83] Operation: 99-16=83
Moving to Node #0,0,0
Current State: 87:[7, 83], Operations: ['72-65=7', '99-16=83']
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,87 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
35,
72,
12
] | 21 | [
"72-52=20",
"35*12=420",
"420/20=21"
] | Current State: 21:[52, 35, 72, 12], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [35, 12, 20]
Generated Node #2: [35, 12, 20] from Operation: 72-52=20
Current State: 21:[35, 12, 20], Operations: ['72-52=20']
Exploring Operation: 35*12=420, Resulting Numbers: [20, 420]
Generated Node #3: [20, 420] from Operation: 35*12=420
Current State: 21:[20, 420], Operations: ['72-52=20', '35*12=420']
Exploring Operation: 420/20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[52, 35, 72, 12], Operations: []
Exploring Operation: 52-35=17, Resulting Numbers: [72, 12, 17]
Generated Node #0,0: 21:[72, 12, 17] Operation: 52-35=17
Exploring Operation: 72/12=6, Resulting Numbers: [52, 35, 6]
Generated Node #0,1: 21:[52, 35, 6] Operation: 72/12=6
Exploring Operation: 72-35=37, Resulting Numbers: [52, 12, 37]
Generated Node #0,2: 21:[52, 12, 37] Operation: 72-35=37
Exploring Operation: 72-52=20, Resulting Numbers: [35, 12, 20]
Generated Node #0,3: 21:[35, 12, 20] Operation: 72-52=20
Moving to Node #0,3
Current State: 21:[35, 12, 20], Operations: ['72-52=20']
Exploring Operation: 20-12=8, Resulting Numbers: [35, 8]
Generated Node #0,3,0: 21:[35, 8] Operation: 20-12=8
Exploring Operation: 35-12=23, Resulting Numbers: [20, 23]
Generated Node #0,3,1: 21:[20, 23] Operation: 35-12=23
Exploring Operation: 12+20=32, Resulting Numbers: [35, 32]
Generated Node #0,3,2: 21:[35, 32] Operation: 12+20=32
Exploring Operation: 35-20=15, Resulting Numbers: [12, 15]
Generated Node #0,3,3: 21:[12, 15] Operation: 35-20=15
Moving to Node #0,1
Current State: 21:[52, 35, 6], Operations: ['72/12=6']
Exploring Operation: 52-6=46, Resulting Numbers: [35, 46]
Generated Node #0,1,0: 21:[35, 46] Operation: 52-6=46
Exploring Operation: 52+6=58, Resulting Numbers: [35, 58]
Generated Node #0,1,1: 21:[35, 58] Operation: 52+6=58
Exploring Operation: 35-6=29, Resulting Numbers: [52, 29]
Generated Node #0,1,2: 21:[52, 29] Operation: 35-6=29
Exploring Operation: 52-35=17, Resulting Numbers: [6, 17]
Generated Node #0,1,3: 21:[6, 17] Operation: 52-35=17
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[6, 17], Operations: ['72/12=6', '52-35=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,21 unequal: No Solution
No 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: 21:[35, 46], Operations: ['72/12=6', '52-6=46']
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,21 unequal: No Solution
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,21 unequal: No Solution
No 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: 21:[52, 29], Operations: ['72/12=6', '35-6=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,21 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,21 unequal: No Solution
No 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: 21:[35, 58], Operations: ['72/12=6', '52+6=58']
Exploring Operation: 58-35=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 35*58=2030, Resulting Numbers: [2030]
2030,21 unequal: No Solution
Exploring Operation: 35+58=93, Resulting Numbers: [93]
93,21 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: 21:[52, 12, 37], Operations: ['72-35=37']
Exploring Operation: 52+12=64, Resulting Numbers: [37, 64]
Generated Node #0,2,0: 21:[37, 64] Operation: 52+12=64
Exploring Operation: 37-12=25, Resulting Numbers: [52, 25]
Generated Node #0,2,1: 21:[52, 25] Operation: 37-12=25
Exploring Operation: 52-37=15, Resulting Numbers: [12, 15]
Generated Node #0,2,2: 21:[12, 15] Operation: 52-37=15
Exploring Operation: 52-12=40, Resulting Numbers: [37, 40]
Generated Node #0,2,3: 21:[37, 40] Operation: 52-12=40
Moving to Node #0,0
Current State: 21:[72, 12, 17], Operations: ['52-35=17']
Exploring Operation: 72/12=6, Resulting Numbers: [17, 6]
Generated Node #0,0,0: 21:[17, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [17, 60]
Generated Node #0,0,1: 21:[17, 60] Operation: 72-12=60
Exploring Operation: 72-17=55, Resulting Numbers: [12, 55]
Generated Node #0,0,2: 21:[12, 55] Operation: 72-17=55
Exploring Operation: 17-12=5, Resulting Numbers: [72, 5]
Generated Node #0,0,3: 21:[72, 5] Operation: 17-12=5
Moving to Node #0,3,1
Current State: 21:[20, 23], Operations: ['72-52=20', '35-12=23']
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,21 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[17, 6], Operations: ['52-35=17', '72/12=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[12, 15], Operations: ['72-35=37', '52-37=15']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[12, 15], Operations: ['72-52=20', '35-20=15']
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,21 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[35, 8], Operations: ['72-52=20', '20-12=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,21 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[35, 32], Operations: ['72-52=20', '12+20=32']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[37, 40], Operations: ['72-35=37', '52-12=40']
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,21 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[52, 25], Operations: ['72-35=37', '37-12=25']
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,21 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[12, 55], Operations: ['52-35=17', '72-17=55']
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,21 unequal: No Solution
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[17, 60], Operations: ['52-35=17', '72-12=60']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 17+60=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 17*60=1020, Resulting Numbers: [1020]
1020,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[72, 5], Operations: ['52-35=17', '17-12=5']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,21 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[37, 64], Operations: ['72-35=37', '52+12=64']
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,21 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
53,
9,
98,
21
] | 16 | [
"98-53=45",
"45/9=5",
"21-5=16"
] | Current State: 16:[53, 9, 98, 21], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [9, 21, 45]
Generated Node #2: [9, 21, 45] from Operation: 98-53=45
Current State: 16:[9, 21, 45], Operations: ['98-53=45']
Exploring Operation: 45/9=5, Resulting Numbers: [21, 5]
Generated Node #3: [21, 5] from Operation: 45/9=5
Current State: 16:[21, 5], Operations: ['98-53=45', '45/9=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[53, 9, 98, 21], Operations: []
Exploring Operation: 98-21=77, Resulting Numbers: [53, 9, 77]
Generated Node #0,0: 16:[53, 9, 77] Operation: 98-21=77
Exploring Operation: 98-53=45, Resulting Numbers: [9, 21, 45]
Generated Node #0,1: 16:[9, 21, 45] Operation: 98-53=45
Exploring Operation: 53-9=44, Resulting Numbers: [98, 21, 44]
Generated Node #0,2: 16:[98, 21, 44] Operation: 53-9=44
Exploring Operation: 53-21=32, Resulting Numbers: [9, 98, 32]
Generated Node #0,3: 16:[9, 98, 32] Operation: 53-21=32
Moving to Node #0,1
Current State: 16:[9, 21, 45], Operations: ['98-53=45']
Exploring Operation: 45-21=24, Resulting Numbers: [9, 24]
Generated Node #0,1,0: 16:[9, 24] Operation: 45-21=24
Exploring Operation: 45-9=36, Resulting Numbers: [21, 36]
Generated Node #0,1,1: 16:[21, 36] Operation: 45-9=36
Exploring Operation: 21-9=12, Resulting Numbers: [45, 12]
Generated Node #0,1,2: 16:[45, 12] Operation: 21-9=12
Exploring Operation: 45/9=5, Resulting Numbers: [21, 5]
Generated Node #0,1,3: 16:[21, 5] Operation: 45/9=5
Moving to Node #0,3
Current State: 16:[9, 98, 32], Operations: ['53-21=32']
Exploring Operation: 98-32=66, Resulting Numbers: [9, 66]
Generated Node #0,3,0: 16:[9, 66] Operation: 98-32=66
Exploring Operation: 32-9=23, Resulting Numbers: [98, 23]
Generated Node #0,3,1: 16:[98, 23] Operation: 32-9=23
Exploring Operation: 9+98=107, Resulting Numbers: [32, 107]
Generated Node #0,3,2: 16:[32, 107] Operation: 9+98=107
Exploring Operation: 98-9=89, Resulting Numbers: [32, 89]
Generated Node #0,3,3: 16:[32, 89] Operation: 98-9=89
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[9, 66], Operations: ['53-21=32', '98-32=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,16 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,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,1
Current State: 16:[98, 23], Operations: ['53-21=32', '32-9=23']
Exploring Operation: 98*23=2254, Resulting Numbers: [2254]
2254,16 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 98+23=121, Resulting Numbers: [121]
121,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,3
Current State: 16:[32, 89], Operations: ['53-21=32', '98-9=89']
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,16 unequal: No Solution
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,16 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,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,2
Current State: 16:[32, 107], Operations: ['53-21=32', '9+98=107']
Exploring Operation: 32+107=139, Resulting Numbers: [139]
139,16 unequal: No Solution
Exploring Operation: 32*107=3424, Resulting Numbers: [3424]
3424,16 unequal: No Solution
Exploring Operation: 107-32=75, Resulting Numbers: [75]
75,16 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: 16:[53, 9, 77], Operations: ['98-21=77']
Exploring Operation: 77-53=24, Resulting Numbers: [9, 24]
Generated Node #0,0,0: 16:[9, 24] Operation: 77-53=24
Exploring Operation: 77-9=68, Resulting Numbers: [53, 68]
Generated Node #0,0,1: 16:[53, 68] Operation: 77-9=68
Exploring Operation: 53-9=44, Resulting Numbers: [77, 44]
Generated Node #0,0,2: 16:[77, 44] Operation: 53-9=44
Exploring Operation: 53+9=62, Resulting Numbers: [77, 62]
Generated Node #0,0,3: 16:[77, 62] Operation: 53+9=62
Moving to Node #0,2
Current State: 16:[98, 21, 44], Operations: ['53-9=44']
Exploring Operation: 98-44=54, Resulting Numbers: [21, 54]
Generated Node #0,2,0: 16:[21, 54] Operation: 98-44=54
Exploring Operation: 44-21=23, Resulting Numbers: [98, 23]
Generated Node #0,2,1: 16:[98, 23] Operation: 44-21=23
Exploring Operation: 98-21=77, Resulting Numbers: [44, 77]
Generated Node #0,2,2: 16:[44, 77] Operation: 98-21=77
Exploring Operation: 98+21=119, Resulting Numbers: [44, 119]
Generated Node #0,2,3: 16:[44, 119] Operation: 98+21=119
Moving to Node #0,1,3
Current State: 16:[21, 5], Operations: ['98-53=45', '45/9=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[53, 9, 98, 21], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [9, 21, 45]
Generated Node #0,1: 16:[9, 21, 45] Operation: 98-53=45
Moving to Node #0,1
Current State: 16:[9, 21, 45], Operations: ['98-53=45']
Exploring Operation: 45/9=5, Resulting Numbers: [21, 5]
Generated Node #0,1,3: 16:[21, 5] Operation: 45/9=5
Moving to Node #0,1,3
Current State: 16:[21, 5], Operations: ['98-53=45', '45/9=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
76,
27,
4,
70
] | 17 | [
"76-27=49",
"70-4=66",
"66-49=17"
] | Current State: 17:[76, 27, 4, 70], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [4, 70, 49]
Generated Node #2: [4, 70, 49] from Operation: 76-27=49
Current State: 17:[4, 70, 49], Operations: ['76-27=49']
Exploring Operation: 70-4=66, Resulting Numbers: [49, 66]
Generated Node #3: [49, 66] from Operation: 70-4=66
Current State: 17:[49, 66], Operations: ['76-27=49', '70-4=66']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[76, 27, 4, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [27, 4, 6]
Generated Node #0,0: 17:[27, 4, 6] Operation: 76-70=6
Exploring Operation: 76/4=19, Resulting Numbers: [27, 70, 19]
Generated Node #0,1: 17:[27, 70, 19] Operation: 76/4=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[27, 4, 6], Operations: ['76-70=6']
Exploring Operation: 27-4=23, Resulting Numbers: [6, 23]
Generated Node #0,0,0: 17:[6, 23] Operation: 27-4=23
Exploring Operation: 27-6=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 17:[4, 21] Operation: 27-6=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[6, 23], Operations: ['76-70=6', '27-4=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[76, 27, 4, 70], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [27, 4, 6]
Generated Node #0,0: 17:[27, 4, 6] Operation: 76-70=6
Moving to Node #0,0
Current State: 17:[27, 4, 6], Operations: ['76-70=6']
Exploring Operation: 27-4=23, Resulting Numbers: [6, 23]
Generated Node #0,0,0: 17:[6, 23] Operation: 27-4=23
Moving to Node #0,0,0
Current State: 17:[6, 23], Operations: ['76-70=6', '27-4=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
44,
46,
73,
75
] | 42 | [
"75-73=2",
"44*2=88",
"88-46=42"
] | Current State: 42:[44, 46, 73, 75], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [44, 46, 2]
Generated Node #2: [44, 46, 2] from Operation: 75-73=2
Current State: 42:[44, 46, 2], Operations: ['75-73=2']
Exploring Operation: 44*2=88, Resulting Numbers: [46, 88]
Generated Node #3: [46, 88] from Operation: 44*2=88
Current State: 42:[46, 88], Operations: ['75-73=2', '44*2=88']
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[44, 46, 73, 75], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [44, 46, 2]
Generated Node #0,0: 42:[44, 46, 2] Operation: 75-73=2
Exploring Operation: 73-46=27, Resulting Numbers: [44, 75, 27]
Generated Node #0,1: 42:[44, 75, 27] Operation: 73-46=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[44, 46, 2], Operations: ['75-73=2']
Exploring Operation: 44-2=42, Resulting Numbers: [46, 42]
Generated Node #0,0,0: 42:[46, 42] Operation: 44-2=42
Exploring Operation: 46-44=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 42:[2, 2] Operation: 46-44=2
Moving to Node #0,0,1
Current State: 42:[2, 2], Operations: ['75-73=2', '46-44=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
Moving to Node #0,0,0
Current State: 42:[46, 42], Operations: ['75-73=2', '44-2=42']
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 46-42=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
Current State: 42:[44, 75, 27], Operations: ['73-46=27']
Exploring Operation: 75-44=31, Resulting Numbers: [27, 31]
Generated Node #0,1,0: 42:[27, 31] Operation: 75-44=31
Exploring Operation: 75-27=48, Resulting Numbers: [44, 48]
Generated Node #0,1,1: 42:[44, 48] Operation: 75-27=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[44, 48], Operations: ['73-46=27', '75-27=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[27, 31], Operations: ['73-46=27', '75-44=31']
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
71,
96,
44,
52
] | 71 | [
"71+96=167",
"44+52=96",
"167-96=71"
] | Current State: 71:[71, 96, 44, 52], Operations: []
Exploring Operation: 71+96=167, Resulting Numbers: [44, 52, 167]
Generated Node #2: [44, 52, 167] from Operation: 71+96=167
Current State: 71:[44, 52, 167], Operations: ['71+96=167']
Exploring Operation: 44+52=96, Resulting Numbers: [167, 96]
Generated Node #3: [167, 96] from Operation: 44+52=96
Current State: 71:[167, 96], Operations: ['71+96=167', '44+52=96']
Exploring Operation: 167-96=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[71, 96, 44, 52], Operations: []
Exploring Operation: 96-44=52, Resulting Numbers: [71, 52, 52]
Generated Node #0,0: 71:[71, 52, 52] Operation: 96-44=52
Exploring Operation: 44+52=96, Resulting Numbers: [71, 96, 96]
Generated Node #0,1: 71:[71, 96, 96] Operation: 44+52=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[71, 52, 52], Operations: ['96-44=52']
Exploring Operation: 52/52=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 71:[71, 1] Operation: 52/52=1
Exploring Operation: 52+52=104, Resulting Numbers: [71, 104]
Generated Node #0,0,1: 71:[71, 104] Operation: 52+52=104
Moving to Node #0,0,1
Current State: 71:[71, 104], Operations: ['96-44=52', '52+52=104']
Exploring Operation: 71+104=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 104-71=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[71, 1], Operations: ['96-44=52', '52/52=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[71, 96, 44, 52], Operations: []
Exploring Operation: 96-44=52, Resulting Numbers: [71, 52, 52]
Generated Node #0,0: 71:[71, 52, 52] Operation: 96-44=52
Moving to Node #0,0
Current State: 71:[71, 52, 52], Operations: ['96-44=52']
Exploring Operation: 52/52=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 71:[71, 1] Operation: 52/52=1
Moving to Node #0,0,0
Current State: 71:[71, 1], Operations: ['96-44=52', '52/52=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
53,
55,
60,
61
] | 91 | [
"55-53=2",
"60/2=30",
"61+30=91"
] | Current State: 91:[53, 55, 60, 61], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [60, 61, 2]
Generated Node #2: [60, 61, 2] from Operation: 55-53=2
Current State: 91:[60, 61, 2], Operations: ['55-53=2']
Exploring Operation: 60/2=30, Resulting Numbers: [61, 30]
Generated Node #3: [61, 30] from Operation: 60/2=30
Current State: 91:[61, 30], Operations: ['55-53=2', '60/2=30']
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[53, 55, 60, 61], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [60, 61, 2]
Generated Node #0,0: 91:[60, 61, 2] Operation: 55-53=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[60, 61, 2], Operations: ['55-53=2']
Exploring Operation: 61-60=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 91:[2, 1] Operation: 61-60=1
Moving to Node #0,0,0
Current State: 91:[2, 1], Operations: ['55-53=2', '61-60=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,91 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 |
[
40,
16,
12,
84
] | 43 | [
"16+12=28",
"84/28=3",
"40+3=43"
] | Current State: 43:[40, 16, 12, 84], Operations: []
Exploring Operation: 16+12=28, Resulting Numbers: [40, 84, 28]
Generated Node #2: [40, 84, 28] from Operation: 16+12=28
Current State: 43:[40, 84, 28], Operations: ['16+12=28']
Exploring Operation: 84/28=3, Resulting Numbers: [40, 3]
Generated Node #3: [40, 3] from Operation: 84/28=3
Current State: 43:[40, 3], Operations: ['16+12=28', '84/28=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[40, 16, 12, 84], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [40, 16, 7]
Generated Node #0,0: 43:[40, 16, 7] Operation: 84/12=7
Exploring Operation: 84-16=68, Resulting Numbers: [40, 12, 68]
Generated Node #0,1: 43:[40, 12, 68] Operation: 84-16=68
Exploring Operation: 84-40=44, Resulting Numbers: [16, 12, 44]
Generated Node #0,2: 43:[16, 12, 44] Operation: 84-40=44
Exploring Operation: 16+12=28, Resulting Numbers: [40, 84, 28]
Generated Node #0,3: 43:[40, 84, 28] Operation: 16+12=28
Exploring Operation: 84-12=72, Resulting Numbers: [40, 16, 72]
Generated Node #0,4: 43:[40, 16, 72] Operation: 84-12=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[40, 12, 68], Operations: ['84-16=68']
Exploring Operation: 40-12=28, Resulting Numbers: [68, 28]
Generated Node #0,1,0: 43:[68, 28] Operation: 40-12=28
Exploring Operation: 68-12=56, Resulting Numbers: [40, 56]
Generated Node #0,1,1: 43:[40, 56] Operation: 68-12=56
Exploring Operation: 68-40=28, Resulting Numbers: [12, 28]
Generated Node #0,1,2: 43:[12, 28] Operation: 68-40=28
Exploring Operation: 12+68=80, Resulting Numbers: [40, 80]
Generated Node #0,1,3: 43:[40, 80] Operation: 12+68=80
Exploring Operation: 40+12=52, Resulting Numbers: [68, 52]
Generated Node #0,1,4: 43:[68, 52] Operation: 40+12=52
Moving to Node #0,1,1
Current State: 43:[40, 56], Operations: ['84-16=68', '68-12=56']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,43 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Moving to Node #0,1,4
Current State: 43:[68, 52], Operations: ['84-16=68', '40+12=52']
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,43 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[68, 28], Operations: ['84-16=68', '40-12=28']
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,43 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[40, 80], Operations: ['84-16=68', '12+68=80']
Exploring Operation: 40+80=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Exploring Operation: 40*80=3200, Resulting Numbers: [3200]
3200,43 unequal: No Solution
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[12, 28], Operations: ['84-16=68', '68-40=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,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:[16, 12, 44], Operations: ['84-40=44']
Exploring Operation: 44-16=28, Resulting Numbers: [12, 28]
Generated Node #0,2,0: 43:[12, 28] Operation: 44-16=28
Exploring Operation: 12+44=56, Resulting Numbers: [16, 56]
Generated Node #0,2,1: 43:[16, 56] Operation: 12+44=56
Exploring Operation: 16+12=28, Resulting Numbers: [44, 28]
Generated Node #0,2,2: 43:[44, 28] Operation: 16+12=28
Exploring Operation: 16-12=4, Resulting Numbers: [44, 4]
Generated Node #0,2,3: 43:[44, 4] Operation: 16-12=4
Exploring Operation: 44-12=32, Resulting Numbers: [16, 32]
Generated Node #0,2,4: 43:[16, 32] Operation: 44-12=32
Moving to Node #0,2,2
Current State: 43:[44, 28], Operations: ['84-40=44', '16+12=28']
Exploring Operation: 44*28=1232, Resulting Numbers: [1232]
1232,43 unequal: No Solution
Exploring Operation: 44+28=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[16, 32], Operations: ['84-40=44', '44-12=32']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,43 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[16, 56], Operations: ['84-40=44', '12+44=56']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[44, 4], Operations: ['84-40=44', '16-12=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,43 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[12, 28], Operations: ['84-40=44', '44-16=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,43 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,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:[40, 84, 28], Operations: ['16+12=28']
Exploring Operation: 84-28=56, Resulting Numbers: [40, 56]
Generated Node #0,3,0: 43:[40, 56] Operation: 84-28=56
Exploring Operation: 40-28=12, Resulting Numbers: [84, 12]
Generated Node #0,3,1: 43:[84, 12] Operation: 40-28=12
Exploring Operation: 84/28=3, Resulting Numbers: [40, 3]
Generated Node #0,3,2: 43:[40, 3] Operation: 84/28=3
Exploring Operation: 40+28=68, Resulting Numbers: [84, 68]
Generated Node #0,3,3: 43:[84, 68] Operation: 40+28=68
Exploring Operation: 84-40=44, Resulting Numbers: [28, 44]
Generated Node #0,3,4: 43:[28, 44] Operation: 84-40=44
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[40, 56], Operations: ['16+12=28', '84-28=56']
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,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,3,4
Current State: 43:[28, 44], Operations: ['16+12=28', '84-40=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,43 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,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,3,2
Current State: 43:[40, 3], Operations: ['16+12=28', '84/28=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[40, 16, 12, 84], Operations: []
Exploring Operation: 16+12=28, Resulting Numbers: [40, 84, 28]
Generated Node #0,3: 43:[40, 84, 28] Operation: 16+12=28
Moving to Node #0,3
Current State: 43:[40, 84, 28], Operations: ['16+12=28']
Exploring Operation: 84/28=3, Resulting Numbers: [40, 3]
Generated Node #0,3,2: 43:[40, 3] Operation: 84/28=3
Moving to Node #0,3,2
Current State: 43:[40, 3], Operations: ['16+12=28', '84/28=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.944444 | hs_5 | sum_heuristic |
[
74,
70,
2,
54
] | 46 | [
"74-70=4",
"2*4=8",
"54-8=46"
] | Current State: 46:[74, 70, 2, 54], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [2, 54, 4]
Generated Node #2: [2, 54, 4] from Operation: 74-70=4
Current State: 46:[2, 54, 4], Operations: ['74-70=4']
Exploring Operation: 2*4=8, Resulting Numbers: [54, 8]
Generated Node #3: [54, 8] from Operation: 2*4=8
Current State: 46:[54, 8], Operations: ['74-70=4', '2*4=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[74, 70, 2, 54], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [70, 2, 20]
Generated Node #0,0: 46:[70, 2, 20] Operation: 74-54=20
Exploring Operation: 74-70=4, Resulting Numbers: [2, 54, 4]
Generated Node #0,1: 46:[2, 54, 4] Operation: 74-70=4
Exploring Operation: 70-54=16, Resulting Numbers: [74, 2, 16]
Generated Node #0,2: 46:[74, 2, 16] Operation: 70-54=16
Moving to Node #0,1
Current State: 46:[2, 54, 4], Operations: ['74-70=4']
Exploring Operation: 54-4=50, Resulting Numbers: [2, 50]
Generated Node #0,1,0: 46:[2, 50] Operation: 54-4=50
Exploring Operation: 54/2=27, Resulting Numbers: [4, 27]
Generated Node #0,1,1: 46:[4, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [4, 52]
Generated Node #0,1,2: 46:[4, 52] Operation: 54-2=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[2, 50], Operations: ['74-70=4', '54-4=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[4, 27], Operations: ['74-70=4', '54/2=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,46 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[4, 52], Operations: ['74-70=4', '54-2=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,46 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: 46:[70, 2, 20], Operations: ['74-54=20']
Exploring Operation: 70-20=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 46:[2, 50] Operation: 70-20=50
Exploring Operation: 70/2=35, Resulting Numbers: [20, 35]
Generated Node #0,0,1: 46:[20, 35] Operation: 70/2=35
Exploring Operation: 70-2=68, Resulting Numbers: [20, 68]
Generated Node #0,0,2: 46:[20, 68] Operation: 70-2=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[2, 50], Operations: ['74-54=20', '70-20=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[20, 35], Operations: ['74-54=20', '70/2=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,46 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[20, 68], Operations: ['74-54=20', '70-2=68']
Exploring Operation: 20*68=1360, Resulting Numbers: [1360]
1360,46 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,46 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: 46:[74, 2, 16], Operations: ['70-54=16']
Exploring Operation: 74-16=58, Resulting Numbers: [2, 58]
Generated Node #0,2,0: 46:[2, 58] Operation: 74-16=58
Exploring Operation: 74/2=37, Resulting Numbers: [16, 37]
Generated Node #0,2,1: 46:[16, 37] Operation: 74/2=37
Exploring Operation: 74-2=72, Resulting Numbers: [16, 72]
Generated Node #0,2,2: 46:[16, 72] Operation: 74-2=72
Moving to Node #0,2,0
Current State: 46:[2, 58], Operations: ['70-54=16', '74-16=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[16, 37], Operations: ['70-54=16', '74/2=37']
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,46 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[16, 72], Operations: ['70-54=16', '74-2=72']
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,46 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,46 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
75,
93,
68
] | 89 | [
"75-11=64",
"93-68=25",
"64+25=89"
] | Current State: 89:[11, 75, 93, 68], Operations: []
Exploring Operation: 75-11=64, Resulting Numbers: [93, 68, 64]
Generated Node #2: [93, 68, 64] from Operation: 75-11=64
Current State: 89:[93, 68, 64], Operations: ['75-11=64']
Exploring Operation: 93-68=25, Resulting Numbers: [64, 25]
Generated Node #3: [64, 25] from Operation: 93-68=25
Current State: 89:[64, 25], Operations: ['75-11=64', '93-68=25']
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[11, 75, 93, 68], Operations: []
Exploring Operation: 11+93=104, Resulting Numbers: [75, 68, 104]
Generated Node #0,0: 89:[75, 68, 104] Operation: 11+93=104
Exploring Operation: 11+68=79, Resulting Numbers: [75, 93, 79]
Generated Node #0,1: 89:[75, 93, 79] Operation: 11+68=79
Exploring Operation: 75-11=64, Resulting Numbers: [93, 68, 64]
Generated Node #0,2: 89:[93, 68, 64] Operation: 75-11=64
Exploring Operation: 11+75=86, Resulting Numbers: [93, 68, 86]
Generated Node #0,3: 89:[93, 68, 86] Operation: 11+75=86
Exploring Operation: 93-11=82, Resulting Numbers: [75, 68, 82]
Generated Node #0,4: 89:[75, 68, 82] Operation: 93-11=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[75, 93, 79], Operations: ['11+68=79']
Exploring Operation: 79-75=4, Resulting Numbers: [93, 4]
Generated Node #0,1,0: 89:[93, 4] Operation: 79-75=4
Exploring Operation: 93-79=14, Resulting Numbers: [75, 14]
Generated Node #0,1,1: 89:[75, 14] Operation: 93-79=14
Exploring Operation: 75+93=168, Resulting Numbers: [79, 168]
Generated Node #0,1,2: 89:[79, 168] Operation: 75+93=168
Exploring Operation: 75+79=154, Resulting Numbers: [93, 154]
Generated Node #0,1,3: 89:[93, 154] Operation: 75+79=154
Exploring Operation: 93-75=18, Resulting Numbers: [79, 18]
Generated Node #0,1,4: 89:[79, 18] Operation: 93-75=18
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[93, 154], Operations: ['11+68=79', '75+79=154']
Exploring Operation: 93+154=247, Resulting Numbers: [247]
247,89 unequal: No Solution
Exploring Operation: 93*154=14322, Resulting Numbers: [14322]
14322,89 unequal: No Solution
Exploring Operation: 154-93=61, Resulting Numbers: [61]
61,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,4
Current State: 89:[79, 18], Operations: ['11+68=79', '93-75=18']
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,89 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,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:[93, 4], Operations: ['11+68=79', '79-75=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[11, 75, 93, 68], Operations: []
Exploring Operation: 11+68=79, Resulting Numbers: [75, 93, 79]
Generated Node #0,1: 89:[75, 93, 79] Operation: 11+68=79
Moving to Node #0,1
Current State: 89:[75, 93, 79], Operations: ['11+68=79']
Exploring Operation: 79-75=4, Resulting Numbers: [93, 4]
Generated Node #0,1,0: 89:[93, 4] Operation: 79-75=4
Moving to Node #0,1,0
Current State: 89:[93, 4], Operations: ['11+68=79', '79-75=4']
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
53,
71,
7,
10
] | 88 | [
"71-53=18",
"7*10=70",
"18+70=88"
] | Current State: 88:[53, 71, 7, 10], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [7, 10, 18]
Generated Node #2: [7, 10, 18] from Operation: 71-53=18
Current State: 88:[7, 10, 18], Operations: ['71-53=18']
Exploring Operation: 7*10=70, Resulting Numbers: [18, 70]
Generated Node #3: [18, 70] from Operation: 7*10=70
Current State: 88:[18, 70], Operations: ['71-53=18', '7*10=70']
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[53, 71, 7, 10], Operations: []
Exploring Operation: 53-7=46, Resulting Numbers: [71, 10, 46]
Generated Node #0,0: 88:[71, 10, 46] Operation: 53-7=46
Exploring Operation: 71+10=81, Resulting Numbers: [53, 7, 81]
Generated Node #0,1: 88:[53, 7, 81] Operation: 71+10=81
Exploring Operation: 53-10=43, Resulting Numbers: [71, 7, 43]
Generated Node #0,2: 88:[71, 7, 43] Operation: 53-10=43
Exploring Operation: 71-53=18, Resulting Numbers: [7, 10, 18]
Generated Node #0,3: 88:[7, 10, 18] Operation: 71-53=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[7, 10, 18], Operations: ['71-53=18']
Exploring Operation: 7+18=25, Resulting Numbers: [10, 25]
Generated Node #0,3,0: 88:[10, 25] Operation: 7+18=25
Exploring Operation: 18-7=11, Resulting Numbers: [10, 11]
Generated Node #0,3,1: 88:[10, 11] Operation: 18-7=11
Exploring Operation: 18-10=8, Resulting Numbers: [7, 8]
Generated Node #0,3,2: 88:[7, 8] Operation: 18-10=8
Exploring Operation: 10-7=3, Resulting Numbers: [18, 3]
Generated Node #0,3,3: 88:[18, 3] Operation: 10-7=3
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[10, 11], Operations: ['71-53=18', '18-7=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,88 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No 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: 88:[7, 8], Operations: ['71-53=18', '18-10=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,88 unequal: No Solution
No 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: 88:[10, 25], Operations: ['71-53=18', '7+18=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,88 unequal: No Solution
No 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: 88:[18, 3], Operations: ['71-53=18', '10-7=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[53, 7, 81], Operations: ['71+10=81']
Exploring Operation: 53+7=60, Resulting Numbers: [81, 60]
Generated Node #0,1,0: 88:[81, 60] Operation: 53+7=60
Exploring Operation: 81-53=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 88:[7, 28] Operation: 81-53=28
Exploring Operation: 53-7=46, Resulting Numbers: [81, 46]
Generated Node #0,1,2: 88:[81, 46] Operation: 53-7=46
Exploring Operation: 7+81=88, Resulting Numbers: [53, 88]
Generated Node #0,1,3: 88:[53, 88] Operation: 7+81=88
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[7, 28], Operations: ['71+10=81', '81-53=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,88 unequal: No Solution
No 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: 88:[81, 46], Operations: ['71+10=81', '53-7=46']
Exploring Operation: 81+46=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 81*46=3726, Resulting Numbers: [3726]
3726,88 unequal: No Solution
No 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: 88:[53, 88], Operations: ['71+10=81', '7+81=88']
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 53+88=141, Resulting Numbers: [141]
141,88 unequal: No Solution
Exploring Operation: 53*88=4664, Resulting Numbers: [4664]
4664,88 unequal: No Solution
No 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: 88:[81, 60], Operations: ['71+10=81', '53+7=60']
Exploring Operation: 81*60=4860, Resulting Numbers: [4860]
4860,88 unequal: No Solution
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 81+60=141, Resulting Numbers: [141]
141,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[71, 7, 43], Operations: ['53-10=43']
Exploring Operation: 71+7=78, Resulting Numbers: [43, 78]
Generated Node #0,2,0: 88:[43, 78] Operation: 71+7=78
Exploring Operation: 71-7=64, Resulting Numbers: [43, 64]
Generated Node #0,2,1: 88:[43, 64] Operation: 71-7=64
Exploring Operation: 71-43=28, Resulting Numbers: [7, 28]
Generated Node #0,2,2: 88:[7, 28] Operation: 71-43=28
Exploring Operation: 7+43=50, Resulting Numbers: [71, 50]
Generated Node #0,2,3: 88:[71, 50] Operation: 7+43=50
Moving to Node #0,2,2
Current State: 88:[7, 28], Operations: ['53-10=43', '71-43=28']
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,88 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[43, 78], Operations: ['53-10=43', '71+7=78']
Exploring Operation: 43*78=3354, Resulting Numbers: [3354]
3354,88 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 43+78=121, Resulting Numbers: [121]
121,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[43, 64], Operations: ['53-10=43', '71-7=64']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,88 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[71, 50], Operations: ['53-10=43', '7+43=50']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 71+50=121, Resulting Numbers: [121]
121,88 unequal: No Solution
Exploring Operation: 71*50=3550, Resulting Numbers: [3550]
3550,88 unequal: No Solution
No 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: 88:[71, 10, 46], Operations: ['53-7=46']
Exploring Operation: 46-10=36, Resulting Numbers: [71, 36]
Generated Node #0,0,0: 88:[71, 36] Operation: 46-10=36
Exploring Operation: 71-46=25, Resulting Numbers: [10, 25]
Generated Node #0,0,1: 88:[10, 25] Operation: 71-46=25
Exploring Operation: 71+10=81, Resulting Numbers: [46, 81]
Generated Node #0,0,2: 88:[46, 81] Operation: 71+10=81
Exploring Operation: 71-10=61, Resulting Numbers: [46, 61]
Generated Node #0,0,3: 88:[46, 61] Operation: 71-10=61
Moving to Node #0,0,1
Current State: 88:[10, 25], Operations: ['53-7=46', '71-46=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[46, 81], Operations: ['53-7=46', '71+10=81']
Exploring Operation: 46*81=3726, Resulting Numbers: [3726]
3726,88 unequal: No Solution
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 46+81=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[46, 61], Operations: ['53-7=46', '71-10=61']
Exploring Operation: 46+61=107, Resulting Numbers: [107]
107,88 unequal: No Solution
Exploring Operation: 46*61=2806, Resulting Numbers: [2806]
2806,88 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[71, 36], Operations: ['53-7=46', '46-10=36']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,88 unequal: No Solution
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
66,
30,
32,
77
] | 88 | [
"32-30=2",
"77*2=154",
"154-66=88"
] | Current State: 88:[66, 30, 32, 77], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [66, 77, 2]
Generated Node #2: [66, 77, 2] from Operation: 32-30=2
Current State: 88:[66, 77, 2], Operations: ['32-30=2']
Exploring Operation: 77*2=154, Resulting Numbers: [66, 154]
Generated Node #3: [66, 154] from Operation: 77*2=154
Current State: 88:[66, 154], Operations: ['32-30=2', '77*2=154']
Exploring Operation: 154-66=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[66, 30, 32, 77], Operations: []
Exploring Operation: 66+32=98, Resulting Numbers: [30, 77, 98]
Generated Node #0,0: 88:[30, 77, 98] Operation: 66+32=98
Exploring Operation: 66+30=96, Resulting Numbers: [32, 77, 96]
Generated Node #0,1: 88:[32, 77, 96] Operation: 66+30=96
Exploring Operation: 66-30=36, Resulting Numbers: [32, 77, 36]
Generated Node #0,2: 88:[32, 77, 36] Operation: 66-30=36
Exploring Operation: 77-66=11, Resulting Numbers: [30, 32, 11]
Generated Node #0,3: 88:[30, 32, 11] Operation: 77-66=11
Moving to Node #0,3
Current State: 88:[30, 32, 11], Operations: ['77-66=11']
Exploring Operation: 32-30=2, Resulting Numbers: [11, 2]
Generated Node #0,3,0: 88:[11, 2] Operation: 32-30=2
Exploring Operation: 32-11=21, Resulting Numbers: [30, 21]
Generated Node #0,3,1: 88:[30, 21] Operation: 32-11=21
Exploring Operation: 32+11=43, Resulting Numbers: [30, 43]
Generated Node #0,3,2: 88:[30, 43] Operation: 32+11=43
Exploring Operation: 30+11=41, Resulting Numbers: [32, 41]
Generated Node #0,3,3: 88:[32, 41] Operation: 30+11=41
Moving to Node #0,1
Current State: 88:[32, 77, 96], Operations: ['66+30=96']
Exploring Operation: 32+77=109, Resulting Numbers: [96, 109]
Generated Node #0,1,0: 88:[96, 109] Operation: 32+77=109
Exploring Operation: 96-77=19, Resulting Numbers: [32, 19]
Generated Node #0,1,1: 88:[32, 19] Operation: 96-77=19
Exploring Operation: 96/32=3, Resulting Numbers: [77, 3]
Generated Node #0,1,2: 88:[77, 3] Operation: 96/32=3
Exploring Operation: 77-32=45, Resulting Numbers: [96, 45]
Generated Node #0,1,3: 88:[96, 45] Operation: 77-32=45
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[96, 45], Operations: ['66+30=96', '77-32=45']
Exploring Operation: 96+45=141, Resulting Numbers: [141]
141,88 unequal: No Solution
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 96*45=4320, Resulting Numbers: [4320]
4320,88 unequal: No Solution
No 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: 88:[77, 3], Operations: ['66+30=96', '96/32=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,88 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,88 unequal: No Solution
No 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: 88:[32, 19], Operations: ['66+30=96', '96-77=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,88 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,88 unequal: No Solution
No 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: 88:[96, 109], Operations: ['66+30=96', '32+77=109']
Exploring Operation: 96+109=205, Resulting Numbers: [205]
205,88 unequal: No Solution
Exploring Operation: 109-96=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 96*109=10464, Resulting Numbers: [10464]
10464,88 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: 88:[30, 77, 98], Operations: ['66+32=98']
Exploring Operation: 98-77=21, Resulting Numbers: [30, 21]
Generated Node #0,0,0: 88:[30, 21] Operation: 98-77=21
Exploring Operation: 77-30=47, Resulting Numbers: [98, 47]
Generated Node #0,0,1: 88:[98, 47] Operation: 77-30=47
Exploring Operation: 30+77=107, Resulting Numbers: [98, 107]
Generated Node #0,0,2: 88:[98, 107] Operation: 30+77=107
Exploring Operation: 98-30=68, Resulting Numbers: [77, 68]
Generated Node #0,0,3: 88:[77, 68] Operation: 98-30=68
Moving to Node #0,2
Current State: 88:[32, 77, 36], Operations: ['66-30=36']
Exploring Operation: 77-36=41, Resulting Numbers: [32, 41]
Generated Node #0,2,0: 88:[32, 41] Operation: 77-36=41
Exploring Operation: 77-32=45, Resulting Numbers: [36, 45]
Generated Node #0,2,1: 88:[36, 45] Operation: 77-32=45
Exploring Operation: 36-32=4, Resulting Numbers: [77, 4]
Generated Node #0,2,2: 88:[77, 4] Operation: 36-32=4
Exploring Operation: 32+77=109, Resulting Numbers: [36, 109]
Generated Node #0,2,3: 88:[36, 109] Operation: 32+77=109
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[36, 45], Operations: ['66-30=36', '77-32=45']
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,88 unequal: No Solution
No 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: 88:[77, 4], Operations: ['66-30=36', '36-32=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,88 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,88 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,88 unequal: No Solution
No 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: 88:[32, 41], Operations: ['66-30=36', '77-36=41']
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,88 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,88 unequal: No Solution
No 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: 88:[36, 109], Operations: ['66-30=36', '32+77=109']
Exploring Operation: 36+109=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 36*109=3924, Resulting Numbers: [3924]
3924,88 unequal: No Solution
Exploring Operation: 109-36=73, Resulting Numbers: [73]
73,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 88:[11, 2], Operations: ['77-66=11', '32-30=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[30, 43], Operations: ['77-66=11', '32+11=43']
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,88 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[30, 21], Operations: ['77-66=11', '32-11=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,88 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[30, 21], Operations: ['66+32=98', '98-77=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[98, 47], Operations: ['66+32=98', '77-30=47']
Exploring Operation: 98*47=4606, Resulting Numbers: [4606]
4606,88 unequal: No Solution
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 98+47=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[32, 41], Operations: ['77-66=11', '30+11=41']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,88 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[98, 107], Operations: ['66+32=98', '30+77=107']
Exploring Operation: 98*107=10486, Resulting Numbers: [10486]
10486,88 unequal: No Solution
Exploring Operation: 98+107=205, Resulting Numbers: [205]
205,88 unequal: No Solution
Exploring Operation: 107-98=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[77, 68], Operations: ['66+32=98', '98-30=68']
Exploring Operation: 77*68=5236, Resulting Numbers: [5236]
5236,88 unequal: No Solution
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 77+68=145, Resulting Numbers: [145]
145,88 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
6,
14,
62,
10
] | 18 | [
"14-6=8",
"10*8=80",
"80-62=18"
] | Current State: 18:[6, 14, 62, 10], Operations: []
Exploring Operation: 14-6=8, Resulting Numbers: [62, 10, 8]
Generated Node #2: [62, 10, 8] from Operation: 14-6=8
Current State: 18:[62, 10, 8], Operations: ['14-6=8']
Exploring Operation: 10*8=80, Resulting Numbers: [62, 80]
Generated Node #3: [62, 80] from Operation: 10*8=80
Current State: 18:[62, 80], Operations: ['14-6=8', '10*8=80']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[6, 14, 62, 10], Operations: []
Exploring Operation: 14-6=8, Resulting Numbers: [62, 10, 8]
Generated Node #0,0: 18:[62, 10, 8] Operation: 14-6=8
Exploring Operation: 14-10=4, Resulting Numbers: [6, 62, 4]
Generated Node #0,1: 18:[6, 62, 4] Operation: 14-10=4
Exploring Operation: 62-6=56, Resulting Numbers: [14, 10, 56]
Generated Node #0,2: 18:[14, 10, 56] Operation: 62-6=56
Exploring Operation: 62-10=52, Resulting Numbers: [6, 14, 52]
Generated Node #0,3: 18:[6, 14, 52] Operation: 62-10=52
Exploring Operation: 62-14=48, Resulting Numbers: [6, 10, 48]
Generated Node #0,4: 18:[6, 10, 48] Operation: 62-14=48
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[6, 10, 48], Operations: ['62-14=48']
Exploring Operation: 6+10=16, Resulting Numbers: [48, 16]
Generated Node #0,4,0: 18:[48, 16] Operation: 6+10=16
Exploring Operation: 48-6=42, Resulting Numbers: [10, 42]
Generated Node #0,4,1: 18:[10, 42] Operation: 48-6=42
Exploring Operation: 10-6=4, Resulting Numbers: [48, 4]
Generated Node #0,4,2: 18:[48, 4] Operation: 10-6=4
Exploring Operation: 48/6=8, Resulting Numbers: [10, 8]
Generated Node #0,4,3: 18:[10, 8] Operation: 48/6=8
Exploring Operation: 48-10=38, Resulting Numbers: [6, 38]
Generated Node #0,4,4: 18:[6, 38] Operation: 48-10=38
Moving to Node #0,4,3
Current State: 18:[10, 8], Operations: ['62-14=48', '48/6=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[6, 14, 62, 10], Operations: []
Exploring Operation: 62-14=48, Resulting Numbers: [6, 10, 48]
Generated Node #0,4: 18:[6, 10, 48] Operation: 62-14=48
Moving to Node #0,4
Current State: 18:[6, 10, 48], Operations: ['62-14=48']
Exploring Operation: 48/6=8, Resulting Numbers: [10, 8]
Generated Node #0,4,3: 18:[10, 8] Operation: 48/6=8
Moving to Node #0,4,3
Current State: 18:[10, 8], Operations: ['62-14=48', '48/6=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
38,
54,
76,
8
] | 38 | [
"54-38=16",
"76*8=608",
"608/16=38"
] | Current State: 38:[38, 54, 76, 8], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [76, 8, 16]
Generated Node #2: [76, 8, 16] from Operation: 54-38=16
Current State: 38:[76, 8, 16], Operations: ['54-38=16']
Exploring Operation: 76*8=608, Resulting Numbers: [16, 608]
Generated Node #3: [16, 608] from Operation: 76*8=608
Current State: 38:[16, 608], Operations: ['54-38=16', '76*8=608']
Exploring Operation: 608/16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[38, 54, 76, 8], Operations: []
Exploring Operation: 76-38=38, Resulting Numbers: [54, 8, 38]
Generated Node #0,0: 38:[54, 8, 38] Operation: 76-38=38
Exploring Operation: 76/38=2, Resulting Numbers: [54, 8, 2]
Generated Node #0,1: 38:[54, 8, 2] Operation: 76/38=2
Exploring Operation: 76-54=22, Resulting Numbers: [38, 8, 22]
Generated Node #0,2: 38:[38, 8, 22] Operation: 76-54=22
Moving to Node #0,2
Current State: 38:[38, 8, 22], Operations: ['76-54=22']
Exploring Operation: 22-8=14, Resulting Numbers: [38, 14]
Generated Node #0,2,0: 38:[38, 14] Operation: 22-8=14
Exploring Operation: 8+22=30, Resulting Numbers: [38, 30]
Generated Node #0,2,1: 38:[38, 30] Operation: 8+22=30
Exploring Operation: 38-22=16, Resulting Numbers: [8, 16]
Generated Node #0,2,2: 38:[8, 16] Operation: 38-22=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[38, 14], Operations: ['76-54=22', '22-8=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,38 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,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,2,1
Current State: 38:[38, 30], Operations: ['76-54=22', '8+22=30']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,38 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,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,2,2
Current State: 38:[8, 16], Operations: ['76-54=22', '38-22=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,38 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: 38:[54, 8, 38], Operations: ['76-38=38']
Exploring Operation: 54-8=46, Resulting Numbers: [38, 46]
Generated Node #0,0,0: 38:[38, 46] Operation: 54-8=46
Exploring Operation: 54+8=62, Resulting Numbers: [38, 62]
Generated Node #0,0,1: 38:[38, 62] Operation: 54+8=62
Exploring Operation: 54-38=16, Resulting Numbers: [8, 16]
Generated Node #0,0,2: 38:[8, 16] Operation: 54-38=16
Moving to Node #0,1
Current State: 38:[54, 8, 2], Operations: ['76/38=2']
Exploring Operation: 8/2=4, Resulting Numbers: [54, 4]
Generated Node #0,1,0: 38:[54, 4] Operation: 8/2=4
Exploring Operation: 54-8=46, Resulting Numbers: [2, 46]
Generated Node #0,1,1: 38:[2, 46] Operation: 54-8=46
Exploring Operation: 54/2=27, Resulting Numbers: [8, 27]
Generated Node #0,1,2: 38:[8, 27] Operation: 54/2=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[2, 46], Operations: ['76/38=2', '54-8=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,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,2
Current State: 38:[8, 27], Operations: ['76/38=2', '54/2=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,38 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,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,0
Current State: 38:[54, 4], Operations: ['76/38=2', '8/2=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,38 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,38 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: 38:[38, 46], Operations: ['76-38=38', '54-8=46']
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,38 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[8, 16], Operations: ['76-38=38', '54-38=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[38, 62], Operations: ['76-38=38', '54+8=62']
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,38 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
89,
81,
75
] | 69 | [
"89-81=8",
"48/8=6",
"75-6=69"
] | Current State: 69:[48, 89, 81, 75], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [48, 75, 8]
Generated Node #2: [48, 75, 8] from Operation: 89-81=8
Current State: 69:[48, 75, 8], Operations: ['89-81=8']
Exploring Operation: 48/8=6, Resulting Numbers: [75, 6]
Generated Node #3: [75, 6] from Operation: 48/8=6
Current State: 69:[75, 6], Operations: ['89-81=8', '48/8=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[48, 89, 81, 75], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [89, 75, 33]
Generated Node #0,0: 69:[89, 75, 33] Operation: 81-48=33
Exploring Operation: 75-48=27, Resulting Numbers: [89, 81, 27]
Generated Node #0,1: 69:[89, 81, 27] Operation: 75-48=27
Exploring Operation: 89-48=41, Resulting Numbers: [81, 75, 41]
Generated Node #0,2: 69:[81, 75, 41] Operation: 89-48=41
Exploring Operation: 89-75=14, Resulting Numbers: [48, 81, 14]
Generated Node #0,3: 69:[48, 81, 14] Operation: 89-75=14
Exploring Operation: 89-81=8, Resulting Numbers: [48, 75, 8]
Generated Node #0,4: 69:[48, 75, 8] Operation: 89-81=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 69:[48, 75, 8], Operations: ['89-81=8']
Exploring Operation: 48-8=40, Resulting Numbers: [75, 40]
Generated Node #0,4,0: 69:[75, 40] Operation: 48-8=40
Exploring Operation: 48+8=56, Resulting Numbers: [75, 56]
Generated Node #0,4,1: 69:[75, 56] Operation: 48+8=56
Exploring Operation: 75-8=67, Resulting Numbers: [48, 67]
Generated Node #0,4,2: 69:[48, 67] Operation: 75-8=67
Exploring Operation: 75-48=27, Resulting Numbers: [8, 27]
Generated Node #0,4,3: 69:[8, 27] Operation: 75-48=27
Exploring Operation: 48/8=6, Resulting Numbers: [75, 6]
Generated Node #0,4,4: 69:[75, 6] Operation: 48/8=6
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 69:[8, 27], Operations: ['89-81=8', '75-48=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,69 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,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,4,4
Current State: 69:[75, 6], Operations: ['89-81=8', '48/8=6']
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,69 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[48, 89, 81, 75], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [48, 75, 8]
Generated Node #0,4: 69:[48, 75, 8] Operation: 89-81=8
Moving to Node #0,4
Current State: 69:[48, 75, 8], Operations: ['89-81=8']
Exploring Operation: 48/8=6, Resulting Numbers: [75, 6]
Generated Node #0,4,4: 69:[75, 6] Operation: 48/8=6
Moving to Node #0,4,4
Current State: 69:[75, 6], Operations: ['89-81=8', '48/8=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
85,
48,
81,
38
] | 14 | [
"85+48=133",
"81+38=119",
"133-119=14"
] | Current State: 14:[85, 48, 81, 38], Operations: []
Exploring Operation: 85+48=133, Resulting Numbers: [81, 38, 133]
Generated Node #2: [81, 38, 133] from Operation: 85+48=133
Current State: 14:[81, 38, 133], Operations: ['85+48=133']
Exploring Operation: 81+38=119, Resulting Numbers: [133, 119]
Generated Node #3: [133, 119] from Operation: 81+38=119
Current State: 14:[133, 119], Operations: ['85+48=133', '81+38=119']
Exploring Operation: 133-119=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[85, 48, 81, 38], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [85, 38, 33]
Generated Node #0,0: 14:[85, 38, 33] Operation: 81-48=33
Exploring Operation: 85-38=47, Resulting Numbers: [48, 81, 47]
Generated Node #0,1: 14:[48, 81, 47] Operation: 85-38=47
Exploring Operation: 81-38=43, Resulting Numbers: [85, 48, 43]
Generated Node #0,2: 14:[85, 48, 43] Operation: 81-38=43
Exploring Operation: 85-48=37, Resulting Numbers: [81, 38, 37]
Generated Node #0,3: 14:[81, 38, 37] Operation: 85-48=37
Exploring Operation: 85-81=4, Resulting Numbers: [48, 38, 4]
Generated Node #0,4: 14:[48, 38, 4] Operation: 85-81=4
Moving to Node #0,4
Current State: 14:[48, 38, 4], Operations: ['85-81=4']
Exploring Operation: 48-38=10, Resulting Numbers: [4, 10]
Generated Node #0,4,0: 14:[4, 10] Operation: 48-38=10
Exploring Operation: 48+4=52, Resulting Numbers: [38, 52]
Generated Node #0,4,1: 14:[38, 52] Operation: 48+4=52
Exploring Operation: 48-4=44, Resulting Numbers: [38, 44]
Generated Node #0,4,2: 14:[38, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [38, 12]
Generated Node #0,4,3: 14:[38, 12] Operation: 48/4=12
Exploring Operation: 38-4=34, Resulting Numbers: [48, 34]
Generated Node #0,4,4: 14:[48, 34] Operation: 38-4=34
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[4, 10], Operations: ['85-81=4', '48-38=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[85, 48, 81, 38], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [48, 38, 4]
Generated Node #0,4: 14:[48, 38, 4] Operation: 85-81=4
Moving to Node #0,4
Current State: 14:[48, 38, 4], Operations: ['85-81=4']
Exploring Operation: 48-38=10, Resulting Numbers: [4, 10]
Generated Node #0,4,0: 14:[4, 10] Operation: 48-38=10
Moving to Node #0,4,0
Current State: 14:[4, 10], Operations: ['85-81=4', '48-38=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
86,
30,
13,
38
] | 40 | [
"30+13=43",
"86/43=2",
"38+2=40"
] | Current State: 40:[86, 30, 13, 38], Operations: []
Exploring Operation: 30+13=43, Resulting Numbers: [86, 38, 43]
Generated Node #2: [86, 38, 43] from Operation: 30+13=43
Current State: 40:[86, 38, 43], Operations: ['30+13=43']
Exploring Operation: 86/43=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 86/43=2
Current State: 40:[38, 2], Operations: ['30+13=43', '86/43=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[86, 30, 13, 38], Operations: []
Exploring Operation: 86-38=48, Resulting Numbers: [30, 13, 48]
Generated Node #0,0: 40:[30, 13, 48] Operation: 86-38=48
Exploring Operation: 86-13=73, Resulting Numbers: [30, 38, 73]
Generated Node #0,1: 40:[30, 38, 73] Operation: 86-13=73
Exploring Operation: 86-30=56, Resulting Numbers: [13, 38, 56]
Generated Node #0,2: 40:[13, 38, 56] Operation: 86-30=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[30, 13, 48], Operations: ['86-38=48']
Exploring Operation: 30+13=43, Resulting Numbers: [48, 43]
Generated Node #0,0,0: 40:[48, 43] Operation: 30+13=43
Exploring Operation: 48-30=18, Resulting Numbers: [13, 18]
Generated Node #0,0,1: 40:[13, 18] Operation: 48-30=18
Exploring Operation: 30-13=17, Resulting Numbers: [48, 17]
Generated Node #0,0,2: 40:[48, 17] Operation: 30-13=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[13, 18], Operations: ['86-38=48', '48-30=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,40 unequal: No Solution
No 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: 40:[48, 43], Operations: ['86-38=48', '30+13=43']
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,40 unequal: No Solution
No 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: 40:[48, 17], Operations: ['86-38=48', '30-13=17']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,40 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,40 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: 40:[13, 38, 56], Operations: ['86-30=56']
Exploring Operation: 56-13=43, Resulting Numbers: [38, 43]
Generated Node #0,2,0: 40:[38, 43] Operation: 56-13=43
Exploring Operation: 38-13=25, Resulting Numbers: [56, 25]
Generated Node #0,2,1: 40:[56, 25] Operation: 38-13=25
Exploring Operation: 56-38=18, Resulting Numbers: [13, 18]
Generated Node #0,2,2: 40:[13, 18] Operation: 56-38=18
Moving to Node #0,2,0
Current State: 40:[38, 43], Operations: ['86-30=56', '56-13=43']
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[13, 18], Operations: ['86-30=56', '56-38=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,40 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[56, 25], Operations: ['86-30=56', '38-13=25']
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,40 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,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
Current State: 40:[30, 38, 73], Operations: ['86-13=73']
Exploring Operation: 73-38=35, Resulting Numbers: [30, 35]
Generated Node #0,1,0: 40:[30, 35] Operation: 73-38=35
Exploring Operation: 73-30=43, Resulting Numbers: [38, 43]
Generated Node #0,1,1: 40:[38, 43] Operation: 73-30=43
Exploring Operation: 38-30=8, Resulting Numbers: [73, 8]
Generated Node #0,1,2: 40:[73, 8] Operation: 38-30=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[38, 43], Operations: ['86-13=73', '73-30=43']
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,40 unequal: No Solution
No 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: 40:[30, 35], Operations: ['86-13=73', '73-38=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,40 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,40 unequal: No Solution
No 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: 40:[73, 8], Operations: ['86-13=73', '38-30=8']
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,40 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 |
[
12,
19,
38,
27
] | 18 | [
"19-12=7",
"38-27=11",
"7+11=18"
] | Current State: 18:[12, 19, 38, 27], Operations: []
Exploring Operation: 19-12=7, Resulting Numbers: [38, 27, 7]
Generated Node #2: [38, 27, 7] from Operation: 19-12=7
Current State: 18:[38, 27, 7], Operations: ['19-12=7']
Exploring Operation: 38-27=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 38-27=11
Current State: 18:[7, 11], Operations: ['19-12=7', '38-27=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[12, 19, 38, 27], Operations: []
Exploring Operation: 38-27=11, Resulting Numbers: [12, 19, 11]
Generated Node #0,0: 18:[12, 19, 11] Operation: 38-27=11
Exploring Operation: 38-19=19, Resulting Numbers: [12, 27, 19]
Generated Node #0,1: 18:[12, 27, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [12, 27, 2]
Generated Node #0,2: 18:[12, 27, 2] Operation: 38/19=2
Moving to Node #0,0
Current State: 18:[12, 19, 11], Operations: ['38-27=11']
Exploring Operation: 12-11=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 18:[19, 1] Operation: 12-11=1
Exploring Operation: 19-11=8, Resulting Numbers: [12, 8]
Generated Node #0,0,1: 18:[12, 8] Operation: 19-11=8
Exploring Operation: 19-12=7, Resulting Numbers: [11, 7]
Generated Node #0,0,2: 18:[11, 7] Operation: 19-12=7
Moving to Node #0,2
Current State: 18:[12, 27, 2], Operations: ['38/19=2']
Exploring Operation: 12-2=10, Resulting Numbers: [27, 10]
Generated Node #0,2,0: 18:[27, 10] Operation: 12-2=10
Exploring Operation: 27-12=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 18:[2, 15] Operation: 27-12=15
Exploring Operation: 12/2=6, Resulting Numbers: [27, 6]
Generated Node #0,2,2: 18:[27, 6] Operation: 12/2=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[2, 15], Operations: ['38/19=2', '27-12=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,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,2
Current State: 18:[27, 6], Operations: ['38/19=2', '12/2=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,18 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,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,0
Current State: 18:[27, 10], Operations: ['38/19=2', '12-2=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,18 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,18 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: 18:[12, 27, 19], Operations: ['38-19=19']
Exploring Operation: 27-19=8, Resulting Numbers: [12, 8]
Generated Node #0,1,0: 18:[12, 8] Operation: 27-19=8
Exploring Operation: 19-12=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 18:[27, 7] Operation: 19-12=7
Exploring Operation: 27-12=15, Resulting Numbers: [19, 15]
Generated Node #0,1,2: 18:[19, 15] Operation: 27-12=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[12, 8], Operations: ['38-19=19', '27-19=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,18 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,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:[19, 15], Operations: ['38-19=19', '27-12=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,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,1
Current State: 18:[27, 7], Operations: ['38-19=19', '19-12=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,18 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: 18:[19, 1], Operations: ['38-27=11', '12-11=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[12, 19, 38, 27], Operations: []
Exploring Operation: 38-27=11, Resulting Numbers: [12, 19, 11]
Generated Node #0,0: 18:[12, 19, 11] Operation: 38-27=11
Moving to Node #0,0
Current State: 18:[12, 19, 11], Operations: ['38-27=11']
Exploring Operation: 12-11=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 18:[19, 1] Operation: 12-11=1
Moving to Node #0,0,0
Current State: 18:[19, 1], Operations: ['38-27=11', '12-11=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
47,
74,
19,
22
] | 81 | [
"74-47=27",
"22-19=3",
"27*3=81"
] | Current State: 81:[47, 74, 19, 22], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [19, 22, 27]
Generated Node #2: [19, 22, 27] from Operation: 74-47=27
Current State: 81:[19, 22, 27], Operations: ['74-47=27']
Exploring Operation: 22-19=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 22-19=3
Current State: 81:[27, 3], Operations: ['74-47=27', '22-19=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[47, 74, 19, 22], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [19, 22, 27]
Generated Node #0,0: 81:[19, 22, 27] Operation: 74-47=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[19, 22, 27], Operations: ['74-47=27']
Exploring Operation: 22-19=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 81:[27, 3] Operation: 22-19=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[27, 3], Operations: ['74-47=27', '22-19=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[47, 74, 19, 22], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [19, 22, 27]
Generated Node #0,0: 81:[19, 22, 27] Operation: 74-47=27
Moving to Node #0,0
Current State: 81:[19, 22, 27], Operations: ['74-47=27']
Exploring Operation: 22-19=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 81:[27, 3] Operation: 22-19=3
Moving to Node #0,0,0
Current State: 81:[27, 3], Operations: ['74-47=27', '22-19=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
41,
2,
61,
1
] | 34 | [
"41+61=102",
"2+1=3",
"102/3=34"
] | Current State: 34:[41, 2, 61, 1], Operations: []
Exploring Operation: 41+61=102, Resulting Numbers: [2, 1, 102]
Generated Node #2: [2, 1, 102] from Operation: 41+61=102
Current State: 34:[2, 1, 102], Operations: ['41+61=102']
Exploring Operation: 2+1=3, Resulting Numbers: [102, 3]
Generated Node #3: [102, 3] from Operation: 2+1=3
Current State: 34:[102, 3], Operations: ['41+61=102', '2+1=3']
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[41, 2, 61, 1], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [2, 1, 20]
Generated Node #0,0: 34:[2, 1, 20] Operation: 61-41=20
Exploring Operation: 41-2=39, Resulting Numbers: [61, 1, 39]
Generated Node #0,1: 34:[61, 1, 39] Operation: 41-2=39
Exploring Operation: 41-1=40, Resulting Numbers: [2, 61, 40]
Generated Node #0,2: 34:[2, 61, 40] Operation: 41-1=40
Exploring Operation: 61-2=59, Resulting Numbers: [41, 1, 59]
Generated Node #0,3: 34:[41, 1, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[2, 1, 20], Operations: ['61-41=20']
Exploring Operation: 20-2=18, Resulting Numbers: [1, 18]
Generated Node #0,0,0: 34:[1, 18] Operation: 20-2=18
Exploring Operation: 2*1=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 34:[20, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [20, 2]
Generated Node #0,0,2: 34:[20, 2] Operation: 2/1=2
Exploring Operation: 20-1=19, Resulting Numbers: [2, 19]
Generated Node #0,0,3: 34:[2, 19] Operation: 20-1=19
Moving to Node #0,0,0
Current State: 34:[1, 18], Operations: ['61-41=20', '20-2=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[2, 19], Operations: ['61-41=20', '20-1=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[20, 2], Operations: ['61-41=20', '2/1=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[20, 2], Operations: ['61-41=20', '2*1=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
No 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: 34:[61, 1, 39], Operations: ['41-2=39']
Exploring Operation: 61-39=22, Resulting Numbers: [1, 22]
Generated Node #0,1,0: 34:[1, 22] Operation: 61-39=22
Exploring Operation: 61-1=60, Resulting Numbers: [39, 60]
Generated Node #0,1,1: 34:[39, 60] Operation: 61-1=60
Exploring Operation: 61*1=61, Resulting Numbers: [39, 61]
Generated Node #0,1,2: 34:[39, 61] Operation: 61*1=61
Exploring Operation: 39-1=38, Resulting Numbers: [61, 38]
Generated Node #0,1,3: 34:[61, 38] Operation: 39-1=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[1, 22], Operations: ['41-2=39', '61-39=22']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No 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: 34:[39, 60], Operations: ['41-2=39', '61-1=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,34 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,34 unequal: No Solution
No 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: 34:[61, 38], Operations: ['41-2=39', '39-1=38']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,34 unequal: No Solution
No 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: 34:[39, 61], Operations: ['41-2=39', '61*1=61']
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,34 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: 34:[2, 61, 40], Operations: ['41-1=40']
Exploring Operation: 40/2=20, Resulting Numbers: [61, 20]
Generated Node #0,2,0: 34:[61, 20] Operation: 40/2=20
Exploring Operation: 61-40=21, Resulting Numbers: [2, 21]
Generated Node #0,2,1: 34:[2, 21] Operation: 61-40=21
Exploring Operation: 61-2=59, Resulting Numbers: [40, 59]
Generated Node #0,2,2: 34:[40, 59] Operation: 61-2=59
Exploring Operation: 40-2=38, Resulting Numbers: [61, 38]
Generated Node #0,2,3: 34:[61, 38] Operation: 40-2=38
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[2, 21], Operations: ['41-1=40', '61-40=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,34 unequal: No Solution
No 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: 34:[61, 20], Operations: ['41-1=40', '40/2=20']
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,34 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,34 unequal: No Solution
No 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: 34:[40, 59], Operations: ['41-1=40', '61-2=59']
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,34 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No 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: 34:[61, 38], Operations: ['41-1=40', '40-2=38']
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,34 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,34 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: 34:[41, 1, 59], Operations: ['61-2=59']
Exploring Operation: 41-1=40, Resulting Numbers: [59, 40]
Generated Node #0,3,0: 34:[59, 40] Operation: 41-1=40
Exploring Operation: 59-41=18, Resulting Numbers: [1, 18]
Generated Node #0,3,1: 34:[1, 18] Operation: 59-41=18
Exploring Operation: 41*1=41, Resulting Numbers: [59, 41]
Generated Node #0,3,2: 34:[59, 41] Operation: 41*1=41
Exploring Operation: 59-1=58, Resulting Numbers: [41, 58]
Generated Node #0,3,3: 34:[41, 58] Operation: 59-1=58
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[1, 18], Operations: ['61-2=59', '59-41=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No 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: 34:[59, 40], Operations: ['61-2=59', '41-1=40']
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,34 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,34 unequal: No Solution
No 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: 34:[41, 58], Operations: ['61-2=59', '59-1=58']
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,34 unequal: No Solution
No 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: 34:[59, 41], Operations: ['61-2=59', '41*1=41']
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,34 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,34 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 |
[
22,
21,
87,
21
] | 24 | [
"87-21=66",
"66/22=3",
"21+3=24"
] | Current State: 24:[22, 21, 87, 21], Operations: []
Exploring Operation: 87-21=66, Resulting Numbers: [22, 66]
Generated Node #2: [22, 66] from Operation: 87-21=66
Current State: 24:[22, 66], Operations: ['87-21=66']
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,24 equal: Goal Reached
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[22, 21, 87, 21], Operations: []
Exploring Operation: 87-21=66, Resulting Numbers: [22, 21, 66]
Generated Node #0,0: 24:[22, 21, 66] Operation: 87-21=66
Exploring Operation: 87-22=65, Resulting Numbers: [21, 21, 65]
Generated Node #0,1: 24:[21, 21, 65] Operation: 87-22=65
Exploring Operation: 87-21=66, Resulting Numbers: [22, 21, 66]
Generated Node #0,2: 24:[22, 21, 66] Operation: 87-21=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[22, 21, 66], Operations: ['87-21=66']
Exploring Operation: 66-21=45, Resulting Numbers: [22, 45]
Generated Node #0,0,0: 24:[22, 45] Operation: 66-21=45
Exploring Operation: 66-22=44, Resulting Numbers: [21, 44]
Generated Node #0,0,1: 24:[21, 44] Operation: 66-22=44
Exploring Operation: 66/22=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 24:[21, 3] Operation: 66/22=3
Moving to Node #0,0,2
Current State: 24:[21, 3], Operations: ['87-21=66', '66/22=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[22, 21, 87, 21], Operations: []
Exploring Operation: 87-21=66, Resulting Numbers: [22, 21, 66]
Generated Node #0,0: 24:[22, 21, 66] Operation: 87-21=66
Moving to Node #0,0
Current State: 24:[22, 21, 66], Operations: ['87-21=66']
Exploring Operation: 66/22=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 24:[21, 3] Operation: 66/22=3
Moving to Node #0,0,2
Current State: 24:[21, 3], Operations: ['87-21=66', '66/22=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
53,
6,
51,
46
] | 23 | [
"51-46=5",
"6*5=30",
"53-30=23"
] | Current State: 23:[53, 6, 51, 46], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [53, 6, 5]
Generated Node #2: [53, 6, 5] from Operation: 51-46=5
Current State: 23:[53, 6, 5], Operations: ['51-46=5']
Exploring Operation: 6*5=30, Resulting Numbers: [53, 30]
Generated Node #3: [53, 30] from Operation: 6*5=30
Current State: 23:[53, 30], Operations: ['51-46=5', '6*5=30']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[53, 6, 51, 46], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [53, 6, 5]
Generated Node #0,0: 23:[53, 6, 5] Operation: 51-46=5
Exploring Operation: 53-6=47, Resulting Numbers: [51, 46, 47]
Generated Node #0,1: 23:[51, 46, 47] Operation: 53-6=47
Exploring Operation: 51-6=45, Resulting Numbers: [53, 46, 45]
Generated Node #0,2: 23:[53, 46, 45] Operation: 51-6=45
Exploring Operation: 53-51=2, Resulting Numbers: [6, 46, 2]
Generated Node #0,3: 23:[6, 46, 2] Operation: 53-51=2
Exploring Operation: 53-46=7, Resulting Numbers: [6, 51, 7]
Generated Node #0,4: 23:[6, 51, 7] Operation: 53-46=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[6, 46, 2], Operations: ['53-51=2']
Exploring Operation: 46-2=44, Resulting Numbers: [6, 44]
Generated Node #0,3,0: 23:[6, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [6, 23]
Generated Node #0,3,1: 23:[6, 23] Operation: 46/2=23
Exploring Operation: 46-6=40, Resulting Numbers: [2, 40]
Generated Node #0,3,2: 23:[2, 40] Operation: 46-6=40
Exploring Operation: 6+2=8, Resulting Numbers: [46, 8]
Generated Node #0,3,3: 23:[46, 8] Operation: 6+2=8
Exploring Operation: 6*2=12, Resulting Numbers: [46, 12]
Generated Node #0,3,4: 23:[46, 12] Operation: 6*2=12
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[6, 23], Operations: ['53-51=2', '46/2=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,23 unequal: No Solution
No 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: 23:[46, 12], Operations: ['53-51=2', '6*2=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,23 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,23 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,23 unequal: No Solution
No 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: 23:[6, 44], Operations: ['53-51=2', '46-2=44']
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,23 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,23 unequal: No Solution
No 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: 23:[2, 40], Operations: ['53-51=2', '46-6=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,23 unequal: No Solution
No 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: 23:[46, 8], Operations: ['53-51=2', '6+2=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,23 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,23 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: 23:[6, 51, 7], Operations: ['53-46=7']
Exploring Operation: 51-7=44, Resulting Numbers: [6, 44]
Generated Node #0,4,0: 23:[6, 44] Operation: 51-7=44
Exploring Operation: 6+7=13, Resulting Numbers: [51, 13]
Generated Node #0,4,1: 23:[51, 13] Operation: 6+7=13
Exploring Operation: 51-6=45, Resulting Numbers: [7, 45]
Generated Node #0,4,2: 23:[7, 45] Operation: 51-6=45
Exploring Operation: 6*7=42, Resulting Numbers: [51, 42]
Generated Node #0,4,3: 23:[51, 42] Operation: 6*7=42
Exploring Operation: 6+51=57, Resulting Numbers: [7, 57]
Generated Node #0,4,4: 23:[7, 57] Operation: 6+51=57
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 23:[6, 44], Operations: ['53-46=7', '51-7=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,23 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,23 unequal: No Solution
No 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: 23:[51, 13], Operations: ['53-46=7', '6+7=13']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,23 unequal: No Solution
No 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: 23:[7, 45], Operations: ['53-46=7', '51-6=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,23 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,23 unequal: No Solution
No 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: 23:[51, 42], Operations: ['53-46=7', '6*7=42']
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,23 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 51*42=2142, Resulting Numbers: [2142]
2142,23 unequal: No Solution
No 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: 23:[7, 57], Operations: ['53-46=7', '6+51=57']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,23 unequal: No Solution
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,23 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: 23:[53, 6, 5], Operations: ['51-46=5']
Exploring Operation: 53-5=48, Resulting Numbers: [6, 48]
Generated Node #0,0,0: 23:[6, 48] Operation: 53-5=48
Exploring Operation: 53-6=47, Resulting Numbers: [5, 47]
Generated Node #0,0,1: 23:[5, 47] Operation: 53-6=47
Exploring Operation: 6*5=30, Resulting Numbers: [53, 30]
Generated Node #0,0,2: 23:[53, 30] Operation: 6*5=30
Exploring Operation: 53+5=58, Resulting Numbers: [6, 58]
Generated Node #0,0,3: 23:[6, 58] Operation: 53+5=58
Exploring Operation: 6+5=11, Resulting Numbers: [53, 11]
Generated Node #0,0,4: 23:[53, 11] Operation: 6+5=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[53, 30], Operations: ['51-46=5', '6*5=30']
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,23 unequal: No Solution
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[53, 6, 51, 46], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [53, 6, 5]
Generated Node #0,0: 23:[53, 6, 5] Operation: 51-46=5
Moving to Node #0,0
Current State: 23:[53, 6, 5], Operations: ['51-46=5']
Exploring Operation: 6*5=30, Resulting Numbers: [53, 30]
Generated Node #0,0,2: 23:[53, 30] Operation: 6*5=30
Moving to Node #0,0,2
Current State: 23:[53, 30], Operations: ['51-46=5', '6*5=30']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
19,
37,
46,
31
] | 21 | [
"19+37=56",
"46+31=77",
"77-56=21"
] | Current State: 21:[19, 37, 46, 31], Operations: []
Exploring Operation: 19+37=56, Resulting Numbers: [46, 31, 56]
Generated Node #2: [46, 31, 56] from Operation: 19+37=56
Current State: 21:[46, 31, 56], Operations: ['19+37=56']
Exploring Operation: 46+31=77, Resulting Numbers: [56, 77]
Generated Node #3: [56, 77] from Operation: 46+31=77
Current State: 21:[56, 77], Operations: ['19+37=56', '46+31=77']
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[19, 37, 46, 31], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [19, 46, 6]
Generated Node #0,0: 21:[19, 46, 6] Operation: 37-31=6
Exploring Operation: 46-37=9, Resulting Numbers: [19, 31, 9]
Generated Node #0,1: 21:[19, 31, 9] Operation: 46-37=9
Exploring Operation: 46-19=27, Resulting Numbers: [37, 31, 27]
Generated Node #0,2: 21:[37, 31, 27] Operation: 46-19=27
Exploring Operation: 46-31=15, Resulting Numbers: [19, 37, 15]
Generated Node #0,3: 21:[19, 37, 15] Operation: 46-31=15
Exploring Operation: 37-19=18, Resulting Numbers: [46, 31, 18]
Generated Node #0,4: 21:[46, 31, 18] Operation: 37-19=18
Moving to Node #0,1
Current State: 21:[19, 31, 9], Operations: ['46-37=9']
Exploring Operation: 31-19=12, Resulting Numbers: [9, 12]
Generated Node #0,1,0: 21:[9, 12] Operation: 31-19=12
Exploring Operation: 19-9=10, Resulting Numbers: [31, 10]
Generated Node #0,1,1: 21:[31, 10] Operation: 19-9=10
Exploring Operation: 31-9=22, Resulting Numbers: [19, 22]
Generated Node #0,1,2: 21:[19, 22] Operation: 31-9=22
Exploring Operation: 19+9=28, Resulting Numbers: [31, 28]
Generated Node #0,1,3: 21:[31, 28] Operation: 19+9=28
Exploring Operation: 31+9=40, Resulting Numbers: [19, 40]
Generated Node #0,1,4: 21:[19, 40] Operation: 31+9=40
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[19, 22], Operations: ['46-37=9', '31-9=22']
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,21 unequal: No Solution
No 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: 21:[9, 12], Operations: ['46-37=9', '31-19=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,21 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[19, 37, 46, 31], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [19, 31, 9]
Generated Node #0,1: 21:[19, 31, 9] Operation: 46-37=9
Moving to Node #0,1
Current State: 21:[19, 31, 9], Operations: ['46-37=9']
Exploring Operation: 31-19=12, Resulting Numbers: [9, 12]
Generated Node #0,1,0: 21:[9, 12] Operation: 31-19=12
Moving to Node #0,1,0
Current State: 21:[9, 12], Operations: ['46-37=9', '31-19=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
41,
92,
92,
5
] | 94 | [
"41+5=46",
"92/46=2",
"92+2=94"
] | Current State: 94:[41, 92, 92, 5], Operations: []
Exploring Operation: 41+5=46, Resulting Numbers: [92, 92, 46]
Generated Node #2: [92, 92, 46] from Operation: 41+5=46
Current State: 94:[92, 92, 46], Operations: ['41+5=46']
Exploring Operation: 92/46=2, Resulting Numbers: [2]
2,94 equal: Goal Reached
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[41, 92, 92, 5], Operations: []
Exploring Operation: 92-41=51, Resulting Numbers: [92, 5, 51]
Generated Node #0,0: 94:[92, 5, 51] Operation: 92-41=51
Exploring Operation: 41+5=46, Resulting Numbers: [92, 92, 46]
Generated Node #0,1: 94:[92, 92, 46] Operation: 41+5=46
Moving to Node #0,1
Current State: 94:[92, 92, 46], Operations: ['41+5=46']
Exploring Operation: 92/46=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 94:[92, 2] Operation: 92/46=2
Exploring Operation: 92/92=1, Resulting Numbers: [46, 1]
Generated Node #0,1,1: 94:[46, 1] Operation: 92/92=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[92, 2], Operations: ['41+5=46', '92/46=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[41, 92, 92, 5], Operations: []
Exploring Operation: 41+5=46, Resulting Numbers: [92, 92, 46]
Generated Node #0,1: 94:[92, 92, 46] Operation: 41+5=46
Moving to Node #0,1
Current State: 94:[92, 92, 46], Operations: ['41+5=46']
Exploring Operation: 92/46=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 94:[92, 2] Operation: 92/46=2
Moving to Node #0,1,0
Current State: 94:[92, 2], Operations: ['41+5=46', '92/46=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
65,
15,
42,
30
] | 38 | [
"65-15=50",
"42-30=12",
"50-12=38"
] | Current State: 38:[65, 15, 42, 30], Operations: []
Exploring Operation: 65-15=50, Resulting Numbers: [42, 30, 50]
Generated Node #2: [42, 30, 50] from Operation: 65-15=50
Current State: 38:[42, 30, 50], Operations: ['65-15=50']
Exploring Operation: 42-30=12, Resulting Numbers: [50, 12]
Generated Node #3: [50, 12] from Operation: 42-30=12
Current State: 38:[50, 12], Operations: ['65-15=50', '42-30=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[65, 15, 42, 30], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [15, 30, 23]
Generated Node #0,0: 38:[15, 30, 23] Operation: 65-42=23
Exploring Operation: 65-15=50, Resulting Numbers: [42, 30, 50]
Generated Node #0,1: 38:[42, 30, 50] Operation: 65-15=50
Exploring Operation: 65-30=35, Resulting Numbers: [15, 42, 35]
Generated Node #0,2: 38:[15, 42, 35] Operation: 65-30=35
Moving to Node #0,2
Current State: 38:[15, 42, 35], Operations: ['65-30=35']
Exploring Operation: 42-15=27, Resulting Numbers: [35, 27]
Generated Node #0,2,0: 38:[35, 27] Operation: 42-15=27
Exploring Operation: 42-35=7, Resulting Numbers: [15, 7]
Generated Node #0,2,1: 38:[15, 7] Operation: 42-35=7
Exploring Operation: 35-15=20, Resulting Numbers: [42, 20]
Generated Node #0,2,2: 38:[42, 20] Operation: 35-15=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[42, 20], Operations: ['65-30=35', '35-15=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,38 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,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,2,1
Current State: 38:[15, 7], Operations: ['65-30=35', '42-35=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,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,2,0
Current State: 38:[35, 27], Operations: ['65-30=35', '42-15=27']
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,38 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,38 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: 38:[15, 30, 23], Operations: ['65-42=23']
Exploring Operation: 30-15=15, Resulting Numbers: [23, 15]
Generated Node #0,0,0: 38:[23, 15] Operation: 30-15=15
Exploring Operation: 15+23=38, Resulting Numbers: [30, 38]
Generated Node #0,0,1: 38:[30, 38] Operation: 15+23=38
Exploring Operation: 30/15=2, Resulting Numbers: [23, 2]
Generated Node #0,0,2: 38:[23, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[23, 2], Operations: ['65-42=23', '30/15=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[23, 15], Operations: ['65-42=23', '30-15=15']
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,38 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[65, 15, 42, 30], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [15, 30, 23]
Generated Node #0,0: 38:[15, 30, 23] Operation: 65-42=23
Moving to Node #0,0
Current State: 38:[15, 30, 23], Operations: ['65-42=23']
Exploring Operation: 30-15=15, Resulting Numbers: [23, 15]
Generated Node #0,0,0: 38:[23, 15] Operation: 30-15=15
Moving to Node #0,0,0
Current State: 38:[23, 15], Operations: ['65-42=23', '30-15=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
86,
98,
18,
29
] | 50 | [
"86*18=1548",
"1548-98=1450",
"1450/29=50"
] | Current State: 50:[86, 98, 18, 29], Operations: []
Exploring Operation: 86*18=1548, Resulting Numbers: [98, 29, 1548]
Generated Node #2: [98, 29, 1548] from Operation: 86*18=1548
Current State: 50:[98, 29, 1548], Operations: ['86*18=1548']
Exploring Operation: 1548-98=1450, Resulting Numbers: [29, 1450]
Generated Node #3: [29, 1450] from Operation: 1548-98=1450
Current State: 50:[29, 1450], Operations: ['86*18=1548', '1548-98=1450']
Exploring Operation: 1450/29=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[86, 98, 18, 29], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [98, 29, 68]
Generated Node #0,0: 50:[98, 29, 68] Operation: 86-18=68
Exploring Operation: 98-18=80, Resulting Numbers: [86, 29, 80]
Generated Node #0,1: 50:[86, 29, 80] Operation: 98-18=80
Exploring Operation: 98-86=12, Resulting Numbers: [18, 29, 12]
Generated Node #0,2: 50:[18, 29, 12] Operation: 98-86=12
Exploring Operation: 86-29=57, Resulting Numbers: [98, 18, 57]
Generated Node #0,3: 50:[98, 18, 57] Operation: 86-29=57
Exploring Operation: 98-29=69, Resulting Numbers: [86, 18, 69]
Generated Node #0,4: 50:[86, 18, 69] Operation: 98-29=69
Moving to Node #0,2
Current State: 50:[18, 29, 12], Operations: ['98-86=12']
Exploring Operation: 29-12=17, Resulting Numbers: [18, 17]
Generated Node #0,2,0: 50:[18, 17] Operation: 29-12=17
Exploring Operation: 18+29=47, Resulting Numbers: [12, 47]
Generated Node #0,2,1: 50:[12, 47] Operation: 18+29=47
Exploring Operation: 18-12=6, Resulting Numbers: [29, 6]
Generated Node #0,2,2: 50:[29, 6] Operation: 18-12=6
Exploring Operation: 29-18=11, Resulting Numbers: [12, 11]
Generated Node #0,2,3: 50:[12, 11] Operation: 29-18=11
Exploring Operation: 18+12=30, Resulting Numbers: [29, 30]
Generated Node #0,2,4: 50:[29, 30] Operation: 18+12=30
Moving to Node #0,4
Current State: 50:[86, 18, 69], Operations: ['98-29=69']
Exploring Operation: 18+69=87, Resulting Numbers: [86, 87]
Generated Node #0,4,0: 50:[86, 87] Operation: 18+69=87
Exploring Operation: 86-18=68, Resulting Numbers: [69, 68]
Generated Node #0,4,1: 50:[69, 68] Operation: 86-18=68
Exploring Operation: 69-18=51, Resulting Numbers: [86, 51]
Generated Node #0,4,2: 50:[86, 51] Operation: 69-18=51
Exploring Operation: 86+18=104, Resulting Numbers: [69, 104]
Generated Node #0,4,3: 50:[69, 104] Operation: 86+18=104
Exploring Operation: 86-69=17, Resulting Numbers: [18, 17]
Generated Node #0,4,4: 50:[18, 17] Operation: 86-69=17
Moving to Node #0,3
Current State: 50:[98, 18, 57], Operations: ['86-29=57']
Exploring Operation: 98-57=41, Resulting Numbers: [18, 41]
Generated Node #0,3,0: 50:[18, 41] Operation: 98-57=41
Exploring Operation: 57-18=39, Resulting Numbers: [98, 39]
Generated Node #0,3,1: 50:[98, 39] Operation: 57-18=39
Exploring Operation: 98+18=116, Resulting Numbers: [57, 116]
Generated Node #0,3,2: 50:[57, 116] Operation: 98+18=116
Exploring Operation: 98-18=80, Resulting Numbers: [57, 80]
Generated Node #0,3,3: 50:[57, 80] Operation: 98-18=80
Exploring Operation: 18+57=75, Resulting Numbers: [98, 75]
Generated Node #0,3,4: 50:[98, 75] Operation: 18+57=75
Moving to Node #0,0
Current State: 50:[98, 29, 68], Operations: ['86-18=68']
Exploring Operation: 68-29=39, Resulting Numbers: [98, 39]
Generated Node #0,0,0: 50:[98, 39] Operation: 68-29=39
Exploring Operation: 98-68=30, Resulting Numbers: [29, 30]
Generated Node #0,0,1: 50:[29, 30] Operation: 98-68=30
Exploring Operation: 29+68=97, Resulting Numbers: [98, 97]
Generated Node #0,0,2: 50:[98, 97] Operation: 29+68=97
Exploring Operation: 98-29=69, Resulting Numbers: [68, 69]
Generated Node #0,0,3: 50:[68, 69] Operation: 98-29=69
Exploring Operation: 98+29=127, Resulting Numbers: [68, 127]
Generated Node #0,0,4: 50:[68, 127] Operation: 98+29=127
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[29, 30], Operations: ['86-18=68', '98-68=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,50 unequal: No Solution
No 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: 50:[68, 69], Operations: ['86-18=68', '98-29=69']
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,50 unequal: No Solution
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,50 unequal: No Solution
No 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: 50:[98, 39], Operations: ['86-18=68', '68-29=39']
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,50 unequal: No Solution
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,50 unequal: No Solution
No 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: 50:[98, 97], Operations: ['86-18=68', '29+68=97']
Exploring Operation: 98+97=195, Resulting Numbers: [195]
195,50 unequal: No Solution
Exploring Operation: 98*97=9506, Resulting Numbers: [9506]
9506,50 unequal: No Solution
Exploring Operation: 98-97=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No 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: 50:[68, 127], Operations: ['86-18=68', '98+29=127']
Exploring Operation: 68*127=8636, Resulting Numbers: [8636]
8636,50 unequal: No Solution
Exploring Operation: 68+127=195, Resulting Numbers: [195]
195,50 unequal: No Solution
Exploring Operation: 127-68=59, Resulting Numbers: [59]
59,50 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: 50:[86, 29, 80], Operations: ['98-18=80']
Exploring Operation: 29+80=109, Resulting Numbers: [86, 109]
Generated Node #0,1,0: 50:[86, 109] Operation: 29+80=109
Exploring Operation: 86-29=57, Resulting Numbers: [80, 57]
Generated Node #0,1,1: 50:[80, 57] Operation: 86-29=57
Exploring Operation: 86-80=6, Resulting Numbers: [29, 6]
Generated Node #0,1,2: 50:[29, 6] Operation: 86-80=6
Exploring Operation: 80-29=51, Resulting Numbers: [86, 51]
Generated Node #0,1,3: 50:[86, 51] Operation: 80-29=51
Exploring Operation: 86+29=115, Resulting Numbers: [80, 115]
Generated Node #0,1,4: 50:[80, 115] Operation: 86+29=115
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[29, 6], Operations: ['98-18=80', '86-80=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,50 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,50 unequal: No Solution
No 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: 50:[80, 57], Operations: ['98-18=80', '86-29=57']
Exploring Operation: 80+57=137, Resulting Numbers: [137]
137,50 unequal: No Solution
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 80*57=4560, Resulting Numbers: [4560]
4560,50 unequal: No Solution
No 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: 50:[86, 51], Operations: ['98-18=80', '80-29=51']
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 86*51=4386, Resulting Numbers: [4386]
4386,50 unequal: No Solution
Exploring Operation: 86+51=137, Resulting Numbers: [137]
137,50 unequal: No Solution
No 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: 50:[86, 109], Operations: ['98-18=80', '29+80=109']
Exploring Operation: 109-86=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 86+109=195, Resulting Numbers: [195]
195,50 unequal: No Solution
Exploring Operation: 86*109=9374, Resulting Numbers: [9374]
9374,50 unequal: No Solution
No 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: 50:[80, 115], Operations: ['98-18=80', '86+29=115']
Exploring Operation: 80*115=9200, Resulting Numbers: [9200]
9200,50 unequal: No Solution
Exploring Operation: 80+115=195, Resulting Numbers: [195]
195,50 unequal: No Solution
Exploring Operation: 115-80=35, Resulting Numbers: [35]
35,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 50:[12, 11], Operations: ['98-86=12', '29-18=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,50 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[29, 6], Operations: ['98-86=12', '18-12=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,50 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[12, 47], Operations: ['98-86=12', '18+29=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[29, 30], Operations: ['98-86=12', '18+12=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,50 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[18, 17], Operations: ['98-29=69', '86-69=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,50 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[18, 17], Operations: ['98-86=12', '29-12=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,50 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[18, 41], Operations: ['86-29=57', '98-57=41']
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[69, 68], Operations: ['98-29=69', '86-18=68']
Exploring Operation: 69+68=137, Resulting Numbers: [137]
137,50 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 69*68=4692, Resulting Numbers: [4692]
4692,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[57, 80], Operations: ['86-29=57', '98-18=80']
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 57+80=137, Resulting Numbers: [137]
137,50 unequal: No Solution
Exploring Operation: 57*80=4560, Resulting Numbers: [4560]
4560,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[86, 51], Operations: ['98-29=69', '69-18=51']
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 86*51=4386, Resulting Numbers: [4386]
4386,50 unequal: No Solution
Exploring Operation: 86+51=137, Resulting Numbers: [137]
137,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[98, 39], Operations: ['86-29=57', '57-18=39']
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,50 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,50 unequal: No Solution
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[98, 75], Operations: ['86-29=57', '18+57=75']
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 98+75=173, Resulting Numbers: [173]
173,50 unequal: No Solution
Exploring Operation: 98*75=7350, Resulting Numbers: [7350]
7350,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[69, 104], Operations: ['98-29=69', '86+18=104']
Exploring Operation: 104-69=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 69+104=173, Resulting Numbers: [173]
173,50 unequal: No Solution
Exploring Operation: 69*104=7176, Resulting Numbers: [7176]
7176,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[57, 116], Operations: ['86-29=57', '98+18=116']
Exploring Operation: 116-57=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 57+116=173, Resulting Numbers: [173]
173,50 unequal: No Solution
Exploring Operation: 57*116=6612, Resulting Numbers: [6612]
6612,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[86, 87], Operations: ['98-29=69', '18+69=87']
Exploring Operation: 86*87=7482, Resulting Numbers: [7482]
7482,50 unequal: No Solution
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 86+87=173, Resulting Numbers: [173]
173,50 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
41,
11,
93,
96
] | 48 | [
"41*96=3936",
"93-11=82",
"3936/82=48"
] | Current State: 48:[41, 11, 93, 96], Operations: []
Exploring Operation: 41*96=3936, Resulting Numbers: [11, 93, 3936]
Generated Node #2: [11, 93, 3936] from Operation: 41*96=3936
Current State: 48:[11, 93, 3936], Operations: ['41*96=3936']
Exploring Operation: 93-11=82, Resulting Numbers: [3936, 82]
Generated Node #3: [3936, 82] from Operation: 93-11=82
Current State: 48:[3936, 82], Operations: ['41*96=3936', '93-11=82']
Exploring Operation: 3936/82=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[41, 11, 93, 96], Operations: []
Exploring Operation: 96-11=85, Resulting Numbers: [41, 93, 85]
Generated Node #0,0: 48:[41, 93, 85] Operation: 96-11=85
Exploring Operation: 96-93=3, Resulting Numbers: [41, 11, 3]
Generated Node #0,1: 48:[41, 11, 3] Operation: 96-93=3
Exploring Operation: 93-11=82, Resulting Numbers: [41, 96, 82]
Generated Node #0,2: 48:[41, 96, 82] Operation: 93-11=82
Exploring Operation: 93-41=52, Resulting Numbers: [11, 96, 52]
Generated Node #0,3: 48:[11, 96, 52] Operation: 93-41=52
Exploring Operation: 96-41=55, Resulting Numbers: [11, 93, 55]
Generated Node #0,4: 48:[11, 93, 55] Operation: 96-41=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[41, 11, 3], Operations: ['96-93=3']
Exploring Operation: 41+11=52, Resulting Numbers: [3, 52]
Generated Node #0,1,0: 48:[3, 52] Operation: 41+11=52
Exploring Operation: 11-3=8, Resulting Numbers: [41, 8]
Generated Node #0,1,1: 48:[41, 8] Operation: 11-3=8
Exploring Operation: 41+3=44, Resulting Numbers: [11, 44]
Generated Node #0,1,2: 48:[11, 44] Operation: 41+3=44
Exploring Operation: 11+3=14, Resulting Numbers: [41, 14]
Generated Node #0,1,3: 48:[41, 14] Operation: 11+3=14
Exploring Operation: 41-11=30, Resulting Numbers: [3, 30]
Generated Node #0,1,4: 48:[3, 30] Operation: 41-11=30
Moving to Node #0,1,0
Current State: 48:[3, 52], Operations: ['96-93=3', '41+11=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[11, 44], Operations: ['96-93=3', '41+3=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,48 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Moving to Node #0,1,4
Current State: 48:[3, 30], Operations: ['96-93=3', '41-11=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,48 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[41, 8], Operations: ['96-93=3', '11-3=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,48 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[41, 14], Operations: ['96-93=3', '11+3=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,48 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,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,3
Current State: 48:[11, 96, 52], Operations: ['93-41=52']
Exploring Operation: 96-11=85, Resulting Numbers: [52, 85]
Generated Node #0,3,0: 48:[52, 85] Operation: 96-11=85
Exploring Operation: 52-11=41, Resulting Numbers: [96, 41]
Generated Node #0,3,1: 48:[96, 41] Operation: 52-11=41
Exploring Operation: 96-52=44, Resulting Numbers: [11, 44]
Generated Node #0,3,2: 48:[11, 44] Operation: 96-52=44
Exploring Operation: 11+52=63, Resulting Numbers: [96, 63]
Generated Node #0,3,3: 48:[96, 63] Operation: 11+52=63
Exploring Operation: 11+96=107, Resulting Numbers: [52, 107]
Generated Node #0,3,4: 48:[52, 107] Operation: 11+96=107
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 48:[11, 44], Operations: ['93-41=52', '96-52=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,48 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,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,3,0
Current State: 48:[52, 85], Operations: ['93-41=52', '96-11=85']
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,48 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,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,3,1
Current State: 48:[96, 41], Operations: ['93-41=52', '52-11=41']
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,48 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,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,3,3
Current State: 48:[96, 63], Operations: ['93-41=52', '11+52=63']
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 96*63=6048, Resulting Numbers: [6048]
6048,48 unequal: No Solution
Exploring Operation: 96+63=159, Resulting Numbers: [159]
159,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,3,4
Current State: 48:[52, 107], Operations: ['93-41=52', '11+96=107']
Exploring Operation: 52+107=159, Resulting Numbers: [159]
159,48 unequal: No Solution
Exploring Operation: 107-52=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 52*107=5564, Resulting Numbers: [5564]
5564,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,4
Current State: 48:[11, 93, 55], Operations: ['96-41=55']
Exploring Operation: 55-11=44, Resulting Numbers: [93, 44]
Generated Node #0,4,0: 48:[93, 44] Operation: 55-11=44
Exploring Operation: 93-55=38, Resulting Numbers: [11, 38]
Generated Node #0,4,1: 48:[11, 38] Operation: 93-55=38
Exploring Operation: 93-11=82, Resulting Numbers: [55, 82]
Generated Node #0,4,2: 48:[55, 82] Operation: 93-11=82
Exploring Operation: 55/11=5, Resulting Numbers: [93, 5]
Generated Node #0,4,3: 48:[93, 5] Operation: 55/11=5
Exploring Operation: 11+93=104, Resulting Numbers: [55, 104]
Generated Node #0,4,4: 48:[55, 104] Operation: 11+93=104
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 48:[11, 38], Operations: ['96-41=55', '93-55=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,48 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,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,4,2
Current State: 48:[55, 82], Operations: ['96-41=55', '93-11=82']
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,48 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,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,4,3
Current State: 48:[93, 5], Operations: ['96-41=55', '55/11=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,48 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,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,4,0
Current State: 48:[93, 44], Operations: ['96-41=55', '55-11=44']
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,48 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,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,4,4
Current State: 48:[55, 104], Operations: ['96-41=55', '11+93=104']
Exploring Operation: 55+104=159, Resulting Numbers: [159]
159,48 unequal: No Solution
Exploring Operation: 55*104=5720, Resulting Numbers: [5720]
5720,48 unequal: No Solution
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[41, 93, 85], Operations: ['96-11=85']
Exploring Operation: 85-41=44, Resulting Numbers: [93, 44]
Generated Node #0,0,0: 48:[93, 44] Operation: 85-41=44
Exploring Operation: 41+85=126, Resulting Numbers: [93, 126]
Generated Node #0,0,1: 48:[93, 126] Operation: 41+85=126
Exploring Operation: 93-41=52, Resulting Numbers: [85, 52]
Generated Node #0,0,2: 48:[85, 52] Operation: 93-41=52
Exploring Operation: 41+93=134, Resulting Numbers: [85, 134]
Generated Node #0,0,3: 48:[85, 134] Operation: 41+93=134
Exploring Operation: 93-85=8, Resulting Numbers: [41, 8]
Generated Node #0,0,4: 48:[41, 8] Operation: 93-85=8
Moving to Node #0,0,4
Current State: 48:[41, 8], Operations: ['96-11=85', '93-85=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,48 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[85, 52], Operations: ['96-11=85', '93-41=52']
Exploring Operation: 85*52=4420, Resulting Numbers: [4420]
4420,48 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 85+52=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[93, 44], Operations: ['96-11=85', '85-41=44']
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,48 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[93, 126], Operations: ['96-11=85', '41+85=126']
Exploring Operation: 93+126=219, Resulting Numbers: [219]
219,48 unequal: No Solution
Exploring Operation: 93*126=11718, Resulting Numbers: [11718]
11718,48 unequal: No Solution
Exploring Operation: 126-93=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[85, 134], Operations: ['96-11=85', '41+93=134']
Exploring Operation: 85+134=219, Resulting Numbers: [219]
219,48 unequal: No Solution
Exploring Operation: 134-85=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 85*134=11390, Resulting Numbers: [11390]
11390,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[41, 96, 82], Operations: ['93-11=82']
Exploring Operation: 82/41=2, Resulting Numbers: [96, 2]
Generated Node #0,2,0: 48:[96, 2] Operation: 82/41=2
Exploring Operation: 96-41=55, Resulting Numbers: [82, 55]
Generated Node #0,2,1: 48:[82, 55] Operation: 96-41=55
Exploring Operation: 82-41=41, Resulting Numbers: [96, 41]
Generated Node #0,2,2: 48:[96, 41] Operation: 82-41=41
Exploring Operation: 41+96=137, Resulting Numbers: [82, 137]
Generated Node #0,2,3: 48:[82, 137] Operation: 41+96=137
Exploring Operation: 96-82=14, Resulting Numbers: [41, 14]
Generated Node #0,2,4: 48:[41, 14] Operation: 96-82=14
Moving to Node #0,2,4
Current State: 48:[41, 14], Operations: ['93-11=82', '96-82=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[82, 55], Operations: ['93-11=82', '96-41=55']
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,48 unequal: No Solution
Exploring Operation: 82*55=4510, Resulting Numbers: [4510]
4510,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[96, 2], Operations: ['93-11=82', '82/41=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[41, 11, 93, 96], Operations: []
Exploring Operation: 93-11=82, Resulting Numbers: [41, 96, 82]
Generated Node #0,2: 48:[41, 96, 82] Operation: 93-11=82
Moving to Node #0,2
Current State: 48:[41, 96, 82], Operations: ['93-11=82']
Exploring Operation: 82/41=2, Resulting Numbers: [96, 2]
Generated Node #0,2,0: 48:[96, 2] Operation: 82/41=2
Moving to Node #0,2,0
Current State: 48:[96, 2], Operations: ['93-11=82', '82/41=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.908854 | hs_5 | mult_heuristic |
[
2,
48,
26,
32
] | 36 | [
"2*26=52",
"48-32=16",
"52-16=36"
] | Current State: 36:[2, 48, 26, 32], Operations: []
Exploring Operation: 2*26=52, Resulting Numbers: [48, 32, 52]
Generated Node #2: [48, 32, 52] from Operation: 2*26=52
Current State: 36:[48, 32, 52], Operations: ['2*26=52']
Exploring Operation: 48-32=16, Resulting Numbers: [52, 16]
Generated Node #3: [52, 16] from Operation: 48-32=16
Current State: 36:[52, 16], Operations: ['2*26=52', '48-32=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[2, 48, 26, 32], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [2, 48, 6]
Generated Node #0,0: 36:[2, 48, 6] Operation: 32-26=6
Exploring Operation: 48-32=16, Resulting Numbers: [2, 26, 16]
Generated Node #0,1: 36:[2, 26, 16] Operation: 48-32=16
Exploring Operation: 48-26=22, Resulting Numbers: [2, 32, 22]
Generated Node #0,2: 36:[2, 32, 22] Operation: 48-26=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[2, 32, 22], Operations: ['48-26=22']
Exploring Operation: 22/2=11, Resulting Numbers: [32, 11]
Generated Node #0,2,0: 36:[32, 11] Operation: 22/2=11
Exploring Operation: 2+32=34, Resulting Numbers: [22, 34]
Generated Node #0,2,1: 36:[22, 34] Operation: 2+32=34
Exploring Operation: 32-22=10, Resulting Numbers: [2, 10]
Generated Node #0,2,2: 36:[2, 10] Operation: 32-22=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[2, 10], Operations: ['48-26=22', '32-22=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[32, 11], Operations: ['48-26=22', '22/2=11']
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,36 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[22, 34], Operations: ['48-26=22', '2+32=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,36 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[2, 26, 16], Operations: ['48-32=16']
Exploring Operation: 26-16=10, Resulting Numbers: [2, 10]
Generated Node #0,1,0: 36:[2, 10] Operation: 26-16=10
Exploring Operation: 26/2=13, Resulting Numbers: [16, 13]
Generated Node #0,1,1: 36:[16, 13] Operation: 26/2=13
Exploring Operation: 26+16=42, Resulting Numbers: [2, 42]
Generated Node #0,1,2: 36:[2, 42] Operation: 26+16=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[2, 10], Operations: ['48-32=16', '26-16=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,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:[16, 13], Operations: ['48-32=16', '26/2=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,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:[2, 42], Operations: ['48-32=16', '26+16=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[2, 48, 6], Operations: ['32-26=6']
Exploring Operation: 48/6=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 36:[2, 8] Operation: 48/6=8
Exploring Operation: 48/2=24, Resulting Numbers: [6, 24]
Generated Node #0,0,1: 36:[6, 24] Operation: 48/2=24
Exploring Operation: 48-6=42, Resulting Numbers: [2, 42]
Generated Node #0,0,2: 36:[2, 42] Operation: 48-6=42
Moving to Node #0,0,0
Current State: 36:[2, 8], Operations: ['32-26=6', '48/6=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[6, 24], Operations: ['32-26=6', '48/2=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[2, 42], Operations: ['32-26=6', '48-6=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,36 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 |
[
20,
96,
4,
81
] | 31 | [
"20+96=116",
"4+81=85",
"116-85=31"
] | Current State: 31:[20, 96, 4, 81], Operations: []
Exploring Operation: 20+96=116, Resulting Numbers: [4, 81, 116]
Generated Node #2: [4, 81, 116] from Operation: 20+96=116
Current State: 31:[4, 81, 116], Operations: ['20+96=116']
Exploring Operation: 4+81=85, Resulting Numbers: [116, 85]
Generated Node #3: [116, 85] from Operation: 4+81=85
Current State: 31:[116, 85], Operations: ['20+96=116', '4+81=85']
Exploring Operation: 116-85=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[20, 96, 4, 81], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [20, 4, 15]
Generated Node #0,0: 31:[20, 4, 15] Operation: 96-81=15
Exploring Operation: 20+4=24, Resulting Numbers: [96, 81, 24]
Generated Node #0,1: 31:[96, 81, 24] Operation: 20+4=24
Exploring Operation: 81-20=61, Resulting Numbers: [96, 4, 61]
Generated Node #0,2: 31:[96, 4, 61] Operation: 81-20=61
Exploring Operation: 96-20=76, Resulting Numbers: [4, 81, 76]
Generated Node #0,3: 31:[4, 81, 76] Operation: 96-20=76
Exploring Operation: 96/4=24, Resulting Numbers: [20, 81, 24]
Generated Node #0,4: 31:[20, 81, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[20, 4, 15], Operations: ['96-81=15']
Exploring Operation: 20-4=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 31:[15, 16] Operation: 20-4=16
Exploring Operation: 4+15=19, Resulting Numbers: [20, 19]
Generated Node #0,0,1: 31:[20, 19] Operation: 4+15=19
Exploring Operation: 15-4=11, Resulting Numbers: [20, 11]
Generated Node #0,0,2: 31:[20, 11] Operation: 15-4=11
Exploring Operation: 20+15=35, Resulting Numbers: [4, 35]
Generated Node #0,0,3: 31:[4, 35] Operation: 20+15=35
Exploring Operation: 20+4=24, Resulting Numbers: [15, 24]
Generated Node #0,0,4: 31:[15, 24] Operation: 20+4=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[20, 19], Operations: ['96-81=15', '4+15=19']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,31 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No 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: 31:[15, 24], Operations: ['96-81=15', '20+4=24']
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,31 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No 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: 31:[15, 16], Operations: ['96-81=15', '20-4=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,31 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[20, 96, 4, 81], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [20, 4, 15]
Generated Node #0,0: 31:[20, 4, 15] Operation: 96-81=15
Moving to Node #0,0
Current State: 31:[20, 4, 15], Operations: ['96-81=15']
Exploring Operation: 20-4=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 31:[15, 16] Operation: 20-4=16
Moving to Node #0,0,0
Current State: 31:[15, 16], Operations: ['96-81=15', '20-4=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
60,
55,
90,
23
] | 85 | [
"60+55=115",
"115/23=5",
"90-5=85"
] | Current State: 85:[60, 55, 90, 23], Operations: []
Exploring Operation: 60+55=115, Resulting Numbers: [90, 23, 115]
Generated Node #2: [90, 23, 115] from Operation: 60+55=115
Current State: 85:[90, 23, 115], Operations: ['60+55=115']
Exploring Operation: 115/23=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 115/23=5
Current State: 85:[90, 5], Operations: ['60+55=115', '115/23=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[60, 55, 90, 23], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [90, 23, 5]
Generated Node #0,0: 85:[90, 23, 5] Operation: 60-55=5
Exploring Operation: 60+23=83, Resulting Numbers: [55, 90, 83]
Generated Node #0,1: 85:[55, 90, 83] Operation: 60+23=83
Moving to Node #0,0
Current State: 85:[90, 23, 5], Operations: ['60-55=5']
Exploring Operation: 90-5=85, Resulting Numbers: [23, 85]
Generated Node #0,0,0: 85:[23, 85] Operation: 90-5=85
Exploring Operation: 23-5=18, Resulting Numbers: [90, 18]
Generated Node #0,0,1: 85:[90, 18] Operation: 23-5=18
Moving to Node #0,1
Current State: 85:[55, 90, 83], Operations: ['60+23=83']
Exploring Operation: 83-55=28, Resulting Numbers: [90, 28]
Generated Node #0,1,0: 85:[90, 28] Operation: 83-55=28
Exploring Operation: 90-55=35, Resulting Numbers: [83, 35]
Generated Node #0,1,1: 85:[83, 35] Operation: 90-55=35
Moving to Node #0,0,0
Current State: 85:[23, 85], Operations: ['60-55=5', '90-5=85']
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[90, 18], Operations: ['60-55=5', '23-5=18']
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[90, 28], Operations: ['60+23=83', '83-55=28']
Exploring Operation: 90+28=118, Resulting Numbers: [118]
118,85 unequal: No Solution
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[83, 35], Operations: ['60+23=83', '90-55=35']
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,85 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,85 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
62,
46,
99
] | 25 | [
"16+62=78",
"99-46=53",
"78-53=25"
] | Current State: 25:[16, 62, 46, 99], Operations: []
Exploring Operation: 16+62=78, Resulting Numbers: [46, 99, 78]
Generated Node #2: [46, 99, 78] from Operation: 16+62=78
Current State: 25:[46, 99, 78], Operations: ['16+62=78']
Exploring Operation: 99-46=53, Resulting Numbers: [78, 53]
Generated Node #3: [78, 53] from Operation: 99-46=53
Current State: 25:[78, 53], Operations: ['16+62=78', '99-46=53']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[16, 62, 46, 99], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [16, 46, 37]
Generated Node #0,0: 25:[16, 46, 37] Operation: 99-62=37
Exploring Operation: 62-16=46, Resulting Numbers: [46, 99, 46]
Generated Node #0,1: 25:[46, 99, 46] Operation: 62-16=46
Exploring Operation: 99-46=53, Resulting Numbers: [16, 62, 53]
Generated Node #0,2: 25:[16, 62, 53] Operation: 99-46=53
Exploring Operation: 62-46=16, Resulting Numbers: [16, 99, 16]
Generated Node #0,3: 25:[16, 99, 16] Operation: 62-46=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[16, 46, 37], Operations: ['99-62=37']
Exploring Operation: 46-37=9, Resulting Numbers: [16, 9]
Generated Node #0,0,0: 25:[16, 9] Operation: 46-37=9
Exploring Operation: 37-16=21, Resulting Numbers: [46, 21]
Generated Node #0,0,1: 25:[46, 21] Operation: 37-16=21
Exploring Operation: 46-16=30, Resulting Numbers: [37, 30]
Generated Node #0,0,2: 25:[37, 30] Operation: 46-16=30
Exploring Operation: 16+46=62, Resulting Numbers: [37, 62]
Generated Node #0,0,3: 25:[37, 62] Operation: 16+46=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[16, 9], Operations: ['99-62=37', '46-37=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[16, 62, 46, 99], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [16, 46, 37]
Generated Node #0,0: 25:[16, 46, 37] Operation: 99-62=37
Moving to Node #0,0
Current State: 25:[16, 46, 37], Operations: ['99-62=37']
Exploring Operation: 46-37=9, Resulting Numbers: [16, 9]
Generated Node #0,0,0: 25:[16, 9] Operation: 46-37=9
Moving to Node #0,0,0
Current State: 25:[16, 9], Operations: ['99-62=37', '46-37=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
29,
46,
19,
92
] | 90 | [
"46-29=17",
"92-19=73",
"17+73=90"
] | Current State: 90:[29, 46, 19, 92], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [19, 92, 17]
Generated Node #2: [19, 92, 17] from Operation: 46-29=17
Current State: 90:[19, 92, 17], Operations: ['46-29=17']
Exploring Operation: 92-19=73, Resulting Numbers: [17, 73]
Generated Node #3: [17, 73] from Operation: 92-19=73
Current State: 90:[17, 73], Operations: ['46-29=17', '92-19=73']
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[29, 46, 19, 92], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [46, 92, 10]
Generated Node #0,0: 90:[46, 92, 10] Operation: 29-19=10
Exploring Operation: 92/46=2, Resulting Numbers: [29, 19, 2]
Generated Node #0,1: 90:[29, 19, 2] Operation: 92/46=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[29, 19, 2], Operations: ['92/46=2']
Exploring Operation: 29+2=31, Resulting Numbers: [19, 31]
Generated Node #0,1,0: 90:[19, 31] Operation: 29+2=31
Exploring Operation: 29-19=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 90:[2, 10] Operation: 29-19=10
Moving to Node #0,1,1
Current State: 90:[2, 10], Operations: ['92/46=2', '29-19=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[19, 31], Operations: ['92/46=2', '29+2=31']
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[46, 92, 10], Operations: ['29-19=10']
Exploring Operation: 92/46=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 90:[10, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [10, 46]
Generated Node #0,0,1: 90:[10, 46] Operation: 92-46=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[10, 2], Operations: ['29-19=10', '92/46=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,90 unequal: No Solution
No 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: 90:[10, 46], Operations: ['29-19=10', '92-46=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,90 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 |
[
49,
40,
10,
68
] | 32 | [
"40/10=4",
"68/4=17",
"49-17=32"
] | Current State: 32:[49, 40, 10, 68], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [49, 68, 4]
Generated Node #2: [49, 68, 4] from Operation: 40/10=4
Current State: 32:[49, 68, 4], Operations: ['40/10=4']
Exploring Operation: 68/4=17, Resulting Numbers: [49, 17]
Generated Node #3: [49, 17] from Operation: 68/4=17
Current State: 32:[49, 17], Operations: ['40/10=4', '68/4=17']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[49, 40, 10, 68], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [40, 10, 19]
Generated Node #0,0: 32:[40, 10, 19] Operation: 68-49=19
Exploring Operation: 68-40=28, Resulting Numbers: [49, 10, 28]
Generated Node #0,1: 32:[49, 10, 28] Operation: 68-40=28
Moving to Node #0,0
Current State: 32:[40, 10, 19], Operations: ['68-49=19']
Exploring Operation: 40-10=30, Resulting Numbers: [19, 30]
Generated Node #0,0,0: 32:[19, 30] Operation: 40-10=30
Exploring Operation: 40/10=4, Resulting Numbers: [19, 4]
Generated Node #0,0,1: 32:[19, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[19, 4], Operations: ['68-49=19', '40/10=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,32 unequal: No Solution
No 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: 32:[19, 30], Operations: ['68-49=19', '40-10=30']
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,32 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: 32:[49, 10, 28], Operations: ['68-40=28']
Exploring Operation: 49-10=39, Resulting Numbers: [28, 39]
Generated Node #0,1,0: 32:[28, 39] Operation: 49-10=39
Exploring Operation: 49-28=21, Resulting Numbers: [10, 21]
Generated Node #0,1,1: 32:[10, 21] Operation: 49-28=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[10, 21], Operations: ['68-40=28', '49-28=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No 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: 32:[28, 39], Operations: ['68-40=28', '49-10=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,32 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 |
[
93,
58,
96,
70
] | 85 | [
"70-58=12",
"96/12=8",
"93-8=85"
] | Current State: 85:[93, 58, 96, 70], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [93, 96, 12]
Generated Node #2: [93, 96, 12] from Operation: 70-58=12
Current State: 85:[93, 96, 12], Operations: ['70-58=12']
Exploring Operation: 96/12=8, Resulting Numbers: [93, 8]
Generated Node #3: [93, 8] from Operation: 96/12=8
Current State: 85:[93, 8], Operations: ['70-58=12', '96/12=8']
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[93, 58, 96, 70], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [93, 96, 12]
Generated Node #0,0: 85:[93, 96, 12] Operation: 70-58=12
Exploring Operation: 93-58=35, Resulting Numbers: [96, 70, 35]
Generated Node #0,1: 85:[96, 70, 35] Operation: 93-58=35
Moving to Node #0,0
Current State: 85:[93, 96, 12], Operations: ['70-58=12']
Exploring Operation: 96-93=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 85:[12, 3] Operation: 96-93=3
Exploring Operation: 96-12=84, Resulting Numbers: [93, 84]
Generated Node #0,0,1: 85:[93, 84] Operation: 96-12=84
Moving to Node #0,1
Current State: 85:[96, 70, 35], Operations: ['93-58=35']
Exploring Operation: 96-70=26, Resulting Numbers: [35, 26]
Generated Node #0,1,0: 85:[35, 26] Operation: 96-70=26
Exploring Operation: 70/35=2, Resulting Numbers: [96, 2]
Generated Node #0,1,1: 85:[96, 2] Operation: 70/35=2
Moving to Node #0,0,0
Current State: 85:[12, 3], Operations: ['70-58=12', '96-93=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[93, 84], Operations: ['70-58=12', '96-12=84']
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,85 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[96, 2], Operations: ['93-58=35', '70/35=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[35, 26], Operations: ['93-58=35', '96-70=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,85 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
97,
32,
35,
10
] | 90 | [
"97-32=65",
"35-10=25",
"65+25=90"
] | Current State: 90:[97, 32, 35, 10], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [35, 10, 65]
Generated Node #2: [35, 10, 65] from Operation: 97-32=65
Current State: 90:[35, 10, 65], Operations: ['97-32=65']
Exploring Operation: 35-10=25, Resulting Numbers: [65, 25]
Generated Node #3: [65, 25] from Operation: 35-10=25
Current State: 90:[65, 25], Operations: ['97-32=65', '35-10=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[97, 32, 35, 10], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [97, 10, 3]
Generated Node #0,0: 90:[97, 10, 3] Operation: 35-32=3
Moving to Node #0,0
Current State: 90:[97, 10, 3], Operations: ['35-32=3']
Exploring Operation: 97-10=87, Resulting Numbers: [3, 87]
Generated Node #0,0,0: 90:[3, 87] Operation: 97-10=87
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[3, 87], Operations: ['35-32=3', '97-10=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[97, 32, 35, 10], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [97, 10, 3]
Generated Node #0,0: 90:[97, 10, 3] Operation: 35-32=3
Moving to Node #0,0
Current State: 90:[97, 10, 3], Operations: ['35-32=3']
Exploring Operation: 97-10=87, Resulting Numbers: [3, 87]
Generated Node #0,0,0: 90:[3, 87] Operation: 97-10=87
Moving to Node #0,0,0
Current State: 90:[3, 87], Operations: ['35-32=3', '97-10=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
22,
45,
61,
2
] | 12 | [
"22+45=67",
"67-61=6",
"2*6=12"
] | Current State: 12:[22, 45, 61, 2], Operations: []
Exploring Operation: 22+45=67, Resulting Numbers: [61, 2, 67]
Generated Node #2: [61, 2, 67] from Operation: 22+45=67
Current State: 12:[61, 2, 67], Operations: ['22+45=67']
Exploring Operation: 67-61=6, Resulting Numbers: [2, 6]
Generated Node #3: [2, 6] from Operation: 67-61=6
Current State: 12:[2, 6], Operations: ['22+45=67', '67-61=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[22, 45, 61, 2], Operations: []
Exploring Operation: 22/2=11, Resulting Numbers: [45, 61, 11]
Generated Node #0,0: 12:[45, 61, 11] Operation: 22/2=11
Exploring Operation: 45-22=23, Resulting Numbers: [61, 2, 23]
Generated Node #0,1: 12:[61, 2, 23] Operation: 45-22=23
Exploring Operation: 61-45=16, Resulting Numbers: [22, 2, 16]
Generated Node #0,2: 12:[22, 2, 16] Operation: 61-45=16
Exploring Operation: 61-22=39, Resulting Numbers: [45, 2, 39]
Generated Node #0,3: 12:[45, 2, 39] Operation: 61-22=39
Moving to Node #0,2
Current State: 12:[22, 2, 16], Operations: ['61-45=16']
Exploring Operation: 16-2=14, Resulting Numbers: [22, 14]
Generated Node #0,2,0: 12:[22, 14] Operation: 16-2=14
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 12:[2, 6] Operation: 22-16=6
Exploring Operation: 22-2=20, Resulting Numbers: [16, 20]
Generated Node #0,2,2: 12:[16, 20] Operation: 22-2=20
Exploring Operation: 22/2=11, Resulting Numbers: [16, 11]
Generated Node #0,2,3: 12:[16, 11] Operation: 22/2=11
Moving to Node #0,3
Current State: 12:[45, 2, 39], Operations: ['61-22=39']
Exploring Operation: 45-2=43, Resulting Numbers: [39, 43]
Generated Node #0,3,0: 12:[39, 43] Operation: 45-2=43
Exploring Operation: 39-2=37, Resulting Numbers: [45, 37]
Generated Node #0,3,1: 12:[45, 37] Operation: 39-2=37
Exploring Operation: 45+2=47, Resulting Numbers: [39, 47]
Generated Node #0,3,2: 12:[39, 47] Operation: 45+2=47
Exploring Operation: 45-39=6, Resulting Numbers: [2, 6]
Generated Node #0,3,3: 12:[2, 6] Operation: 45-39=6
Moving to Node #0,1
Current State: 12:[61, 2, 23], Operations: ['45-22=23']
Exploring Operation: 61-23=38, Resulting Numbers: [2, 38]
Generated Node #0,1,0: 12:[2, 38] Operation: 61-23=38
Exploring Operation: 23-2=21, Resulting Numbers: [61, 21]
Generated Node #0,1,1: 12:[61, 21] Operation: 23-2=21
Exploring Operation: 61-2=59, Resulting Numbers: [23, 59]
Generated Node #0,1,2: 12:[23, 59] Operation: 61-2=59
Exploring Operation: 61+2=63, Resulting Numbers: [23, 63]
Generated Node #0,1,3: 12:[23, 63] Operation: 61+2=63
Moving to Node #0,0
Current State: 12:[45, 61, 11], Operations: ['22/2=11']
Exploring Operation: 45-11=34, Resulting Numbers: [61, 34]
Generated Node #0,0,0: 12:[61, 34] Operation: 45-11=34
Exploring Operation: 45+11=56, Resulting Numbers: [61, 56]
Generated Node #0,0,1: 12:[61, 56] Operation: 45+11=56
Exploring Operation: 61-11=50, Resulting Numbers: [45, 50]
Generated Node #0,0,2: 12:[45, 50] Operation: 61-11=50
Exploring Operation: 61-45=16, Resulting Numbers: [11, 16]
Generated Node #0,0,3: 12:[11, 16] Operation: 61-45=16
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[11, 16], Operations: ['22/2=11', '61-45=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[61, 34], Operations: ['22/2=11', '45-11=34']
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,12 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,12 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[45, 50], Operations: ['22/2=11', '61-11=50']
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,12 unequal: No Solution
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,12 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[61, 56], Operations: ['22/2=11', '45+11=56']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Exploring Operation: 61*56=3416, Resulting Numbers: [3416]
3416,12 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: 12:[2, 6], Operations: ['61-45=16', '22-16=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[22, 45, 61, 2], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [22, 2, 16]
Generated Node #0,2: 12:[22, 2, 16] Operation: 61-45=16
Moving to Node #0,2
Current State: 12:[22, 2, 16], Operations: ['61-45=16']
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 12:[2, 6] Operation: 22-16=6
Moving to Node #0,2,1
Current State: 12:[2, 6], Operations: ['61-45=16', '22-16=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
89,
20,
4,
7
] | 66 | [
"89-20=69",
"7-4=3",
"69-3=66"
] | Current State: 66:[89, 20, 4, 7], Operations: []
Exploring Operation: 89-20=69, Resulting Numbers: [4, 7, 69]
Generated Node #2: [4, 7, 69] from Operation: 89-20=69
Current State: 66:[4, 7, 69], Operations: ['89-20=69']
Exploring Operation: 7-4=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 7-4=3
Current State: 66:[69, 3], Operations: ['89-20=69', '7-4=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[89, 20, 4, 7], Operations: []
Exploring Operation: 4+7=11, Resulting Numbers: [89, 20, 11]
Generated Node #0,0: 66:[89, 20, 11] Operation: 4+7=11
Exploring Operation: 89-7=82, Resulting Numbers: [20, 4, 82]
Generated Node #0,1: 66:[20, 4, 82] Operation: 89-7=82
Exploring Operation: 89-4=85, Resulting Numbers: [20, 7, 85]
Generated Node #0,2: 66:[20, 7, 85] Operation: 89-4=85
Exploring Operation: 89-20=69, Resulting Numbers: [4, 7, 69]
Generated Node #0,3: 66:[4, 7, 69] Operation: 89-20=69
Exploring Operation: 20/4=5, Resulting Numbers: [89, 7, 5]
Generated Node #0,4: 66:[89, 7, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[4, 7, 69], Operations: ['89-20=69']
Exploring Operation: 4*7=28, Resulting Numbers: [69, 28]
Generated Node #0,3,0: 66:[69, 28] Operation: 4*7=28
Exploring Operation: 69-7=62, Resulting Numbers: [4, 62]
Generated Node #0,3,1: 66:[4, 62] Operation: 69-7=62
Exploring Operation: 4+7=11, Resulting Numbers: [69, 11]
Generated Node #0,3,2: 66:[69, 11] Operation: 4+7=11
Exploring Operation: 7-4=3, Resulting Numbers: [69, 3]
Generated Node #0,3,3: 66:[69, 3] Operation: 7-4=3
Exploring Operation: 69-4=65, Resulting Numbers: [7, 65]
Generated Node #0,3,4: 66:[7, 65] Operation: 69-4=65
Moving to Node #0,3,4
Current State: 66:[7, 65], Operations: ['89-20=69', '69-4=65']
Exploring Operation: 7*65=455, Resulting Numbers: [455]
455,66 unequal: No Solution
Exploring Operation: 7+65=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[69, 3], Operations: ['89-20=69', '7-4=3']
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,66 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[89, 20, 4, 7], Operations: []
Exploring Operation: 89-20=69, Resulting Numbers: [4, 7, 69]
Generated Node #0,3: 66:[4, 7, 69] Operation: 89-20=69
Moving to Node #0,3
Current State: 66:[4, 7, 69], Operations: ['89-20=69']
Exploring Operation: 7-4=3, Resulting Numbers: [69, 3]
Generated Node #0,3,3: 66:[69, 3] Operation: 7-4=3
Moving to Node #0,3,3
Current State: 66:[69, 3], Operations: ['89-20=69', '7-4=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
10,
27,
87,
23
] | 82 | [
"27+23=50",
"50/10=5",
"87-5=82"
] | Current State: 82:[10, 27, 87, 23], Operations: []
Exploring Operation: 27+23=50, Resulting Numbers: [10, 87, 50]
Generated Node #2: [10, 87, 50] from Operation: 27+23=50
Current State: 82:[10, 87, 50], Operations: ['27+23=50']
Exploring Operation: 50/10=5, Resulting Numbers: [87, 5]
Generated Node #3: [87, 5] from Operation: 50/10=5
Current State: 82:[87, 5], Operations: ['27+23=50', '50/10=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[10, 27, 87, 23], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [10, 87, 4]
Generated Node #0,0: 82:[10, 87, 4] Operation: 27-23=4
Exploring Operation: 27+23=50, Resulting Numbers: [10, 87, 50]
Generated Node #0,1: 82:[10, 87, 50] Operation: 27+23=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[10, 87, 4], Operations: ['27-23=4']
Exploring Operation: 10*4=40, Resulting Numbers: [87, 40]
Generated Node #0,0,0: 82:[87, 40] Operation: 10*4=40
Exploring Operation: 87-10=77, Resulting Numbers: [4, 77]
Generated Node #0,0,1: 82:[4, 77] Operation: 87-10=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[87, 40], Operations: ['27-23=4', '10*4=40']
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,82 unequal: No Solution
No 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: 82:[4, 77], Operations: ['27-23=4', '87-10=77']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,82 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: 82:[10, 87, 50], Operations: ['27+23=50']
Exploring Operation: 50/10=5, Resulting Numbers: [87, 5]
Generated Node #0,1,0: 82:[87, 5] Operation: 50/10=5
Exploring Operation: 50-10=40, Resulting Numbers: [87, 40]
Generated Node #0,1,1: 82:[87, 40] Operation: 50-10=40
Moving to Node #0,1,1
Current State: 82:[87, 40], Operations: ['27+23=50', '50-10=40']
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[87, 5], Operations: ['27+23=50', '50/10=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[10, 27, 87, 23], Operations: []
Exploring Operation: 27+23=50, Resulting Numbers: [10, 87, 50]
Generated Node #0,1: 82:[10, 87, 50] Operation: 27+23=50
Moving to Node #0,1
Current State: 82:[10, 87, 50], Operations: ['27+23=50']
Exploring Operation: 50/10=5, Resulting Numbers: [87, 5]
Generated Node #0,1,0: 82:[87, 5] Operation: 50/10=5
Moving to Node #0,1,0
Current State: 82:[87, 5], Operations: ['27+23=50', '50/10=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
2,
49,
38,
58
] | 80 | [
"49-38=11",
"2*11=22",
"58+22=80"
] | Current State: 80:[2, 49, 38, 58], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [2, 58, 11]
Generated Node #2: [2, 58, 11] from Operation: 49-38=11
Current State: 80:[2, 58, 11], Operations: ['49-38=11']
Exploring Operation: 2*11=22, Resulting Numbers: [58, 22]
Generated Node #3: [58, 22] from Operation: 2*11=22
Current State: 80:[58, 22], Operations: ['49-38=11', '2*11=22']
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[2, 49, 38, 58], Operations: []
Exploring Operation: 58-49=9, Resulting Numbers: [2, 38, 9]
Generated Node #0,0: 80:[2, 38, 9] Operation: 58-49=9
Exploring Operation: 58-38=20, Resulting Numbers: [2, 49, 20]
Generated Node #0,1: 80:[2, 49, 20] Operation: 58-38=20
Exploring Operation: 49-38=11, Resulting Numbers: [2, 58, 11]
Generated Node #0,2: 80:[2, 58, 11] Operation: 49-38=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[2, 38, 9], Operations: ['58-49=9']
Exploring Operation: 2+9=11, Resulting Numbers: [38, 11]
Generated Node #0,0,0: 80:[38, 11] Operation: 2+9=11
Exploring Operation: 38/2=19, Resulting Numbers: [9, 19]
Generated Node #0,0,1: 80:[9, 19] Operation: 38/2=19
Exploring Operation: 2+38=40, Resulting Numbers: [9, 40]
Generated Node #0,0,2: 80:[9, 40] Operation: 2+38=40
Moving to Node #0,0,2
Current State: 80:[9, 40], Operations: ['58-49=9', '2+38=40']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,80 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[9, 19], Operations: ['58-49=9', '38/2=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,80 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[38, 11], Operations: ['58-49=9', '2+9=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[2, 49, 20], Operations: ['58-38=20']
Exploring Operation: 2*20=40, Resulting Numbers: [49, 40]
Generated Node #0,1,0: 80:[49, 40] Operation: 2*20=40
Exploring Operation: 20/2=10, Resulting Numbers: [49, 10]
Generated Node #0,1,1: 80:[49, 10] Operation: 20/2=10
Exploring Operation: 49-2=47, Resulting Numbers: [20, 47]
Generated Node #0,1,2: 80:[20, 47] Operation: 49-2=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[20, 47], Operations: ['58-38=20', '49-2=47']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,80 unequal: No Solution
No 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: 80:[49, 40], Operations: ['58-38=20', '2*20=40']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,80 unequal: No Solution
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,80 unequal: No Solution
No 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: 80:[49, 10], Operations: ['58-38=20', '20/2=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,80 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,80 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: 80:[2, 58, 11], Operations: ['49-38=11']
Exploring Operation: 58/2=29, Resulting Numbers: [11, 29]
Generated Node #0,2,0: 80:[11, 29] Operation: 58/2=29
Exploring Operation: 58+11=69, Resulting Numbers: [2, 69]
Generated Node #0,2,1: 80:[2, 69] Operation: 58+11=69
Exploring Operation: 58-11=47, Resulting Numbers: [2, 47]
Generated Node #0,2,2: 80:[2, 47] Operation: 58-11=47
Moving to Node #0,2,2
Current State: 80:[2, 47], Operations: ['49-38=11', '58-11=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,80 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[11, 29], Operations: ['49-38=11', '58/2=29']
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,80 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[2, 69], Operations: ['49-38=11', '58+11=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,80 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,80 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 |
[
57,
54,
57,
12
] | 41 | [
"57/57=1",
"54-12=42",
"42-1=41"
] | Current State: 41:[57, 54, 57, 12], Operations: []
Exploring Operation: 57/57=1, Resulting Numbers: [54, 12, 1]
Generated Node #2: [54, 12, 1] from Operation: 57/57=1
Current State: 41:[54, 12, 1], Operations: ['57/57=1']
Exploring Operation: 54-12=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 54-12=42
Current State: 41:[1, 42], Operations: ['57/57=1', '54-12=42']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[57, 54, 57, 12], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [54, 57, 45]
Generated Node #0,0: 41:[54, 57, 45] Operation: 57-12=45
Exploring Operation: 57-12=45, Resulting Numbers: [57, 54, 45]
Generated Node #0,1: 41:[57, 54, 45] Operation: 57-12=45
Exploring Operation: 54-12=42, Resulting Numbers: [57, 57, 42]
Generated Node #0,2: 41:[57, 57, 42] Operation: 54-12=42
Moving to Node #0,0
Current State: 41:[54, 57, 45], Operations: ['57-12=45']
Exploring Operation: 57-54=3, Resulting Numbers: [45, 3]
Generated Node #0,0,0: 41:[45, 3] Operation: 57-54=3
Exploring Operation: 57-45=12, Resulting Numbers: [54, 12]
Generated Node #0,0,1: 41:[54, 12] Operation: 57-45=12
Exploring Operation: 54-45=9, Resulting Numbers: [57, 9]
Generated Node #0,0,2: 41:[57, 9] Operation: 54-45=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[45, 3], Operations: ['57-12=45', '57-54=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,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,0,1
Current State: 41:[54, 12], Operations: ['57-12=45', '57-45=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,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,0,2
Current State: 41:[57, 9], Operations: ['57-12=45', '54-45=9']
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,41 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[57, 54, 45], Operations: ['57-12=45']
Exploring Operation: 54-45=9, Resulting Numbers: [57, 9]
Generated Node #0,1,0: 41:[57, 9] Operation: 54-45=9
Exploring Operation: 57-54=3, Resulting Numbers: [45, 3]
Generated Node #0,1,1: 41:[45, 3] Operation: 57-54=3
Exploring Operation: 57-45=12, Resulting Numbers: [54, 12]
Generated Node #0,1,2: 41:[54, 12] Operation: 57-45=12
Moving to Node #0,2
Current State: 41:[57, 57, 42], Operations: ['54-12=42']
Exploring Operation: 57/57=1, Resulting Numbers: [42, 1]
Generated Node #0,2,0: 41:[42, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [42, 0]
Generated Node #0,2,1: 41:[42, 0] Operation: 57-57=0
Exploring Operation: 57-42=15, Resulting Numbers: [57, 15]
Generated Node #0,2,2: 41:[57, 15] Operation: 57-42=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[42, 1], Operations: ['54-12=42', '57/57=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[57, 54, 57, 12], Operations: []
Exploring Operation: 54-12=42, Resulting Numbers: [57, 57, 42]
Generated Node #0,2: 41:[57, 57, 42] Operation: 54-12=42
Moving to Node #0,2
Current State: 41:[57, 57, 42], Operations: ['54-12=42']
Exploring Operation: 57/57=1, Resulting Numbers: [42, 1]
Generated Node #0,2,0: 41:[42, 1] Operation: 57/57=1
Moving to Node #0,2,0
Current State: 41:[42, 1], Operations: ['54-12=42', '57/57=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
11,
74,
4,
23
] | 44 | [
"74-11=63",
"23-4=19",
"63-19=44"
] | Current State: 44:[11, 74, 4, 23], Operations: []
Exploring Operation: 74-11=63, Resulting Numbers: [4, 23, 63]
Generated Node #2: [4, 23, 63] from Operation: 74-11=63
Current State: 44:[4, 23, 63], Operations: ['74-11=63']
Exploring Operation: 23-4=19, Resulting Numbers: [63, 19]
Generated Node #3: [63, 19] from Operation: 23-4=19
Current State: 44:[63, 19], Operations: ['74-11=63', '23-4=19']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[11, 74, 4, 23], Operations: []
Exploring Operation: 74-4=70, Resulting Numbers: [11, 23, 70]
Generated Node #0,0: 44:[11, 23, 70] Operation: 74-4=70
Exploring Operation: 74-11=63, Resulting Numbers: [4, 23, 63]
Generated Node #0,1: 44:[4, 23, 63] Operation: 74-11=63
Exploring Operation: 11*4=44, Resulting Numbers: [74, 23, 44]
Generated Node #0,2: 44:[74, 23, 44] Operation: 11*4=44
Exploring Operation: 74-23=51, Resulting Numbers: [11, 4, 51]
Generated Node #0,3: 44:[11, 4, 51] Operation: 74-23=51
Moving to Node #0,3
Current State: 44:[11, 4, 51], Operations: ['74-23=51']
Exploring Operation: 51-4=47, Resulting Numbers: [11, 47]
Generated Node #0,3,0: 44:[11, 47] Operation: 51-4=47
Exploring Operation: 51-11=40, Resulting Numbers: [4, 40]
Generated Node #0,3,1: 44:[4, 40] Operation: 51-11=40
Exploring Operation: 11*4=44, Resulting Numbers: [51, 44]
Generated Node #0,3,2: 44:[51, 44] Operation: 11*4=44
Exploring Operation: 11-4=7, Resulting Numbers: [51, 7]
Generated Node #0,3,3: 44:[51, 7] Operation: 11-4=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[11, 47], Operations: ['74-23=51', '51-4=47']
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,44 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[4, 40], Operations: ['74-23=51', '51-11=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[11, 74, 4, 23], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [11, 4, 51]
Generated Node #0,3: 44:[11, 4, 51] Operation: 74-23=51
Moving to Node #0,3
Current State: 44:[11, 4, 51], Operations: ['74-23=51']
Exploring Operation: 51-11=40, Resulting Numbers: [4, 40]
Generated Node #0,3,1: 44:[4, 40] Operation: 51-11=40
Moving to Node #0,3,1
Current State: 44:[4, 40], Operations: ['74-23=51', '51-11=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
8,
48,
42,
62
] | 36 | [
"8+48=56",
"62-42=20",
"56-20=36"
] | Current State: 36:[8, 48, 42, 62], Operations: []
Exploring Operation: 8+48=56, Resulting Numbers: [42, 62, 56]
Generated Node #2: [42, 62, 56] from Operation: 8+48=56
Current State: 36:[42, 62, 56], Operations: ['8+48=56']
Exploring Operation: 62-42=20, Resulting Numbers: [56, 20]
Generated Node #3: [56, 20] from Operation: 62-42=20
Current State: 36:[56, 20], Operations: ['8+48=56', '62-42=20']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[8, 48, 42, 62], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [8, 42, 14]
Generated Node #0,0: 36:[8, 42, 14] Operation: 62-48=14
Exploring Operation: 62-42=20, Resulting Numbers: [8, 48, 20]
Generated Node #0,1: 36:[8, 48, 20] Operation: 62-42=20
Exploring Operation: 48/8=6, Resulting Numbers: [42, 62, 6]
Generated Node #0,2: 36:[42, 62, 6] Operation: 48/8=6
Exploring Operation: 48-8=40, Resulting Numbers: [42, 62, 40]
Generated Node #0,3: 36:[42, 62, 40] Operation: 48-8=40
Exploring Operation: 48-42=6, Resulting Numbers: [8, 62, 6]
Generated Node #0,4: 36:[8, 62, 6] Operation: 48-42=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[8, 42, 14], Operations: ['62-48=14']
Exploring Operation: 8+14=22, Resulting Numbers: [42, 22]
Generated Node #0,0,0: 36:[42, 22] Operation: 8+14=22
Exploring Operation: 42-8=34, Resulting Numbers: [14, 34]
Generated Node #0,0,1: 36:[14, 34] Operation: 42-8=34
Exploring Operation: 14-8=6, Resulting Numbers: [42, 6]
Generated Node #0,0,2: 36:[42, 6] Operation: 14-8=6
Exploring Operation: 42-14=28, Resulting Numbers: [8, 28]
Generated Node #0,0,3: 36:[8, 28] Operation: 42-14=28
Exploring Operation: 42/14=3, Resulting Numbers: [8, 3]
Generated Node #0,0,4: 36:[8, 3] Operation: 42/14=3
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 36:[8, 3], Operations: ['62-48=14', '42/14=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 8*3=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,0,1
Current State: 36:[14, 34], Operations: ['62-48=14', '42-8=34']
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[42, 6], Operations: ['62-48=14', '14-8=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[8, 48, 42, 62], Operations: []
Exploring Operation: 62-48=14, Resulting Numbers: [8, 42, 14]
Generated Node #0,0: 36:[8, 42, 14] Operation: 62-48=14
Moving to Node #0,0
Current State: 36:[8, 42, 14], Operations: ['62-48=14']
Exploring Operation: 14-8=6, Resulting Numbers: [42, 6]
Generated Node #0,0,2: 36:[42, 6] Operation: 14-8=6
Moving to Node #0,0,2
Current State: 36:[42, 6], Operations: ['62-48=14', '14-8=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
15,
73,
64,
32
] | 71 | [
"73+32=105",
"105/15=7",
"64+7=71"
] | Current State: 71:[15, 73, 64, 32], Operations: []
Exploring Operation: 73+32=105, Resulting Numbers: [15, 64, 105]
Generated Node #2: [15, 64, 105] from Operation: 73+32=105
Current State: 71:[15, 64, 105], Operations: ['73+32=105']
Exploring Operation: 105/15=7, Resulting Numbers: [64, 7]
Generated Node #3: [64, 7] from Operation: 105/15=7
Current State: 71:[64, 7], Operations: ['73+32=105', '105/15=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[15, 73, 64, 32], Operations: []
Exploring Operation: 15+32=47, Resulting Numbers: [73, 64, 47]
Generated Node #0,0: 71:[73, 64, 47] Operation: 15+32=47
Moving to Node #0,0
Current State: 71:[73, 64, 47], Operations: ['15+32=47']
Exploring Operation: 64+47=111, Resulting Numbers: [73, 111]
Generated Node #0,0,0: 71:[73, 111] Operation: 64+47=111
Moving to Node #0,0,0
Current State: 71:[73, 111], Operations: ['15+32=47', '64+47=111']
Exploring Operation: 111-73=38, Resulting Numbers: [38]
38,71 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
69,
3,
81
] | 57 | [
"81/9=9",
"69-3=66",
"66-9=57"
] | Current State: 57:[9, 69, 3, 81], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [69, 3, 9]
Generated Node #2: [69, 3, 9] from Operation: 81/9=9
Current State: 57:[69, 3, 9], Operations: ['81/9=9']
Exploring Operation: 69-3=66, Resulting Numbers: [9, 66]
Generated Node #3: [9, 66] from Operation: 69-3=66
Current State: 57:[9, 66], Operations: ['81/9=9', '69-3=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[9, 69, 3, 81], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [9, 3, 12]
Generated Node #0,0: 57:[9, 3, 12] Operation: 81-69=12
Exploring Operation: 81/9=9, Resulting Numbers: [69, 3, 9]
Generated Node #0,1: 57:[69, 3, 9] Operation: 81/9=9
Moving to Node #0,0
Current State: 57:[9, 3, 12], Operations: ['81-69=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 57:[3, 3] Operation: 12-9=3
Exploring Operation: 9+12=21, Resulting Numbers: [3, 21]
Generated Node #0,0,1: 57:[3, 21] Operation: 9+12=21
Moving to Node #0,1
Current State: 57:[69, 3, 9], Operations: ['81/9=9']
Exploring Operation: 69-9=60, Resulting Numbers: [3, 60]
Generated Node #0,1,0: 57:[3, 60] Operation: 69-9=60
Exploring Operation: 69/3=23, Resulting Numbers: [9, 23]
Generated Node #0,1,1: 57:[9, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[3, 60], Operations: ['81/9=9', '69-9=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[9, 69, 3, 81], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [69, 3, 9]
Generated Node #0,1: 57:[69, 3, 9] Operation: 81/9=9
Moving to Node #0,1
Current State: 57:[69, 3, 9], Operations: ['81/9=9']
Exploring Operation: 69-9=60, Resulting Numbers: [3, 60]
Generated Node #0,1,0: 57:[3, 60] Operation: 69-9=60
Moving to Node #0,1,0
Current State: 57:[3, 60], Operations: ['81/9=9', '69-9=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
8,
54,
21,
98
] | 31 | [
"54-8=46",
"98-21=77",
"77-46=31"
] | Current State: 31:[8, 54, 21, 98], Operations: []
Exploring Operation: 54-8=46, Resulting Numbers: [21, 98, 46]
Generated Node #2: [21, 98, 46] from Operation: 54-8=46
Current State: 31:[21, 98, 46], Operations: ['54-8=46']
Exploring Operation: 98-21=77, Resulting Numbers: [46, 77]
Generated Node #3: [46, 77] from Operation: 98-21=77
Current State: 31:[46, 77], Operations: ['54-8=46', '98-21=77']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[8, 54, 21, 98], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [8, 21, 44]
Generated Node #0,0: 31:[8, 21, 44] Operation: 98-54=44
Moving to Node #0,0
Current State: 31:[8, 21, 44], Operations: ['98-54=44']
Exploring Operation: 8+21=29, Resulting Numbers: [44, 29]
Generated Node #0,0,0: 31:[44, 29] Operation: 8+21=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[44, 29], Operations: ['98-54=44', '8+21=29']
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
43,
30,
62
] | 95 | [
"20+43=63",
"62-30=32",
"63+32=95"
] | Current State: 95:[20, 43, 30, 62], Operations: []
Exploring Operation: 20+43=63, Resulting Numbers: [30, 62, 63]
Generated Node #2: [30, 62, 63] from Operation: 20+43=63
Current State: 95:[30, 62, 63], Operations: ['20+43=63']
Exploring Operation: 62-30=32, Resulting Numbers: [63, 32]
Generated Node #3: [63, 32] from Operation: 62-30=32
Current State: 95:[63, 32], Operations: ['20+43=63', '62-30=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[20, 43, 30, 62], Operations: []
Exploring Operation: 43+62=105, Resulting Numbers: [20, 30, 105]
Generated Node #0,0: 95:[20, 30, 105] Operation: 43+62=105
Exploring Operation: 62-43=19, Resulting Numbers: [20, 30, 19]
Generated Node #0,1: 95:[20, 30, 19] Operation: 62-43=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[20, 30, 19], Operations: ['62-43=19']
Exploring Operation: 30-19=11, Resulting Numbers: [20, 11]
Generated Node #0,1,0: 95:[20, 11] Operation: 30-19=11
Exploring Operation: 30-20=10, Resulting Numbers: [19, 10]
Generated Node #0,1,1: 95:[19, 10] Operation: 30-20=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[19, 10], Operations: ['62-43=19', '30-20=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,95 unequal: No Solution
No 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: 95:[20, 11], Operations: ['62-43=19', '30-19=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,95 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: 95:[20, 30, 105], Operations: ['43+62=105']
Exploring Operation: 30-20=10, Resulting Numbers: [105, 10]
Generated Node #0,0,0: 95:[105, 10] Operation: 30-20=10
Exploring Operation: 105-20=85, Resulting Numbers: [30, 85]
Generated Node #0,0,1: 95:[30, 85] Operation: 105-20=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[105, 10], Operations: ['43+62=105', '30-20=10']
Exploring Operation: 105+10=115, Resulting Numbers: [115]
115,95 unequal: No Solution
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[20, 43, 30, 62], Operations: []
Exploring Operation: 43+62=105, Resulting Numbers: [20, 30, 105]
Generated Node #0,0: 95:[20, 30, 105] Operation: 43+62=105
Moving to Node #0,0
Current State: 95:[20, 30, 105], Operations: ['43+62=105']
Exploring Operation: 30-20=10, Resulting Numbers: [105, 10]
Generated Node #0,0,0: 95:[105, 10] Operation: 30-20=10
Moving to Node #0,0,0
Current State: 95:[105, 10], Operations: ['43+62=105', '30-20=10']
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
58,
91,
29,
66
] | 27 | [
"91-58=33",
"66/33=2",
"29-2=27"
] | Current State: 27:[58, 91, 29, 66], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [29, 66, 33]
Generated Node #2: [29, 66, 33] from Operation: 91-58=33
Current State: 27:[29, 66, 33], Operations: ['91-58=33']
Exploring Operation: 66/33=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 66/33=2
Current State: 27:[29, 2], Operations: ['91-58=33', '66/33=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[58, 91, 29, 66], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [29, 66, 33]
Generated Node #0,0: 27:[29, 66, 33] Operation: 91-58=33
Exploring Operation: 91-66=25, Resulting Numbers: [58, 29, 25]
Generated Node #0,1: 27:[58, 29, 25] Operation: 91-66=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[58, 29, 25], Operations: ['91-66=25']
Exploring Operation: 58/29=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 27:[25, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [25, 29]
Generated Node #0,1,1: 27:[25, 29] Operation: 58-29=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[25, 2], Operations: ['91-66=25', '58/29=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[58, 91, 29, 66], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [58, 29, 25]
Generated Node #0,1: 27:[58, 29, 25] Operation: 91-66=25
Moving to Node #0,1
Current State: 27:[58, 29, 25], Operations: ['91-66=25']
Exploring Operation: 58/29=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 27:[25, 2] Operation: 58/29=2
Moving to Node #0,1,0
Current State: 27:[25, 2], Operations: ['91-66=25', '58/29=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
23,
46,
2,
3
] | 18 | [
"46-23=23",
"2+3=5",
"23-5=18"
] | Current State: 18:[23, 46, 2, 3], Operations: []
Exploring Operation: 46-23=23, Resulting Numbers: [2, 3, 23]
Generated Node #2: [2, 3, 23] from Operation: 46-23=23
Current State: 18:[2, 3, 23], Operations: ['46-23=23']
Exploring Operation: 2+3=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 2+3=5
Current State: 18:[23, 5], Operations: ['46-23=23', '2+3=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[23, 46, 2, 3], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [2, 3, 2]
Generated Node #0,0: 18:[2, 3, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [2, 3, 23]
Generated Node #0,1: 18:[2, 3, 23] Operation: 46-23=23
Moving to Node #0,0
Current State: 18:[2, 3, 2], Operations: ['46/23=2']
Exploring Operation: 3*2=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 18:[2, 6] Operation: 3*2=6
Exploring Operation: 2*3=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 18:[2, 6] Operation: 2*3=6
Moving to Node #0,1
Current State: 18:[2, 3, 23], Operations: ['46-23=23']
Exploring Operation: 23-2=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 18:[3, 21] Operation: 23-2=21
Exploring Operation: 23-3=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 18:[2, 20] Operation: 23-3=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[2, 20], Operations: ['46-23=23', '23-3=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[23, 46, 2, 3], Operations: []
Exploring Operation: 46-23=23, Resulting Numbers: [2, 3, 23]
Generated Node #0,1: 18:[2, 3, 23] Operation: 46-23=23
Moving to Node #0,1
Current State: 18:[2, 3, 23], Operations: ['46-23=23']
Exploring Operation: 23-3=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 18:[2, 20] Operation: 23-3=20
Moving to Node #0,1,1
Current State: 18:[2, 20], Operations: ['46-23=23', '23-3=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
51,
99,
33,
23
] | 25 | [
"51-23=28",
"99/33=3",
"28-3=25"
] | Current State: 25:[51, 99, 33, 23], Operations: []
Exploring Operation: 51-23=28, Resulting Numbers: [99, 33, 28]
Generated Node #2: [99, 33, 28] from Operation: 51-23=28
Current State: 25:[99, 33, 28], Operations: ['51-23=28']
Exploring Operation: 99/33=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 99/33=3
Current State: 25:[28, 3], Operations: ['51-23=28', '99/33=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[51, 99, 33, 23], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [33, 23, 48]
Generated Node #0,0: 25:[33, 23, 48] Operation: 99-51=48
Exploring Operation: 99/33=3, Resulting Numbers: [51, 23, 3]
Generated Node #0,1: 25:[51, 23, 3] Operation: 99/33=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[51, 23, 3], Operations: ['99/33=3']
Exploring Operation: 51/3=17, Resulting Numbers: [23, 17]
Generated Node #0,1,0: 25:[23, 17] Operation: 51/3=17
Exploring Operation: 51-23=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 25:[3, 28] Operation: 51-23=28
Moving to Node #0,1,1
Current State: 25:[3, 28], Operations: ['99/33=3', '51-23=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[51, 99, 33, 23], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [51, 23, 3]
Generated Node #0,1: 25:[51, 23, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 25:[51, 23, 3], Operations: ['99/33=3']
Exploring Operation: 51-23=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 25:[3, 28] Operation: 51-23=28
Moving to Node #0,1,1
Current State: 25:[3, 28], Operations: ['99/33=3', '51-23=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
20,
13,
22,
67
] | 26 | [
"13+67=80",
"80/20=4",
"22+4=26"
] | Current State: 26:[20, 13, 22, 67], Operations: []
Exploring Operation: 13+67=80, Resulting Numbers: [20, 22, 80]
Generated Node #2: [20, 22, 80] from Operation: 13+67=80
Current State: 26:[20, 22, 80], Operations: ['13+67=80']
Exploring Operation: 80/20=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 80/20=4
Current State: 26:[22, 4], Operations: ['13+67=80', '80/20=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[20, 13, 22, 67], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [20, 13, 45]
Generated Node #0,0: 26:[20, 13, 45] Operation: 67-22=45
Exploring Operation: 67-20=47, Resulting Numbers: [13, 22, 47]
Generated Node #0,1: 26:[13, 22, 47] Operation: 67-20=47
Exploring Operation: 67-13=54, Resulting Numbers: [20, 22, 54]
Generated Node #0,2: 26:[20, 22, 54] Operation: 67-13=54
Moving to Node #0,0
Current State: 26:[20, 13, 45], Operations: ['67-22=45']
Exploring Operation: 45-13=32, Resulting Numbers: [20, 32]
Generated Node #0,0,0: 26:[20, 32] Operation: 45-13=32
Exploring Operation: 45-20=25, Resulting Numbers: [13, 25]
Generated Node #0,0,1: 26:[13, 25] Operation: 45-20=25
Exploring Operation: 20-13=7, Resulting Numbers: [45, 7]
Generated Node #0,0,2: 26:[45, 7] Operation: 20-13=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[13, 25], Operations: ['67-22=45', '45-20=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,26 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[20, 32], Operations: ['67-22=45', '45-13=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[45, 7], Operations: ['67-22=45', '20-13=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,26 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,26 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: 26:[13, 22, 47], Operations: ['67-20=47']
Exploring Operation: 47-22=25, Resulting Numbers: [13, 25]
Generated Node #0,1,0: 26:[13, 25] Operation: 47-22=25
Exploring Operation: 47-13=34, Resulting Numbers: [22, 34]
Generated Node #0,1,1: 26:[22, 34] Operation: 47-13=34
Exploring Operation: 22-13=9, Resulting Numbers: [47, 9]
Generated Node #0,1,2: 26:[47, 9] Operation: 22-13=9
Moving to Node #0,2
Current State: 26:[20, 22, 54], Operations: ['67-13=54']
Exploring Operation: 22-20=2, Resulting Numbers: [54, 2]
Generated Node #0,2,0: 26:[54, 2] Operation: 22-20=2
Exploring Operation: 54-20=34, Resulting Numbers: [22, 34]
Generated Node #0,2,1: 26:[22, 34] Operation: 54-20=34
Exploring Operation: 54-22=32, Resulting Numbers: [20, 32]
Generated Node #0,2,2: 26:[20, 32] Operation: 54-22=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[22, 34], Operations: ['67-13=54', '54-20=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[20, 32], Operations: ['67-13=54', '54-22=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[54, 2], Operations: ['67-13=54', '22-20=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,26 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: 26:[13, 25], Operations: ['67-20=47', '47-22=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,26 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[22, 34], Operations: ['67-20=47', '47-13=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[47, 9], Operations: ['67-20=47', '22-13=9']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,26 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
50,
22,
14,
2
] | 20 | [
"50+14=64",
"22*2=44",
"64-44=20"
] | Current State: 20:[50, 22, 14, 2], Operations: []
Exploring Operation: 50+14=64, Resulting Numbers: [22, 2, 64]
Generated Node #2: [22, 2, 64] from Operation: 50+14=64
Current State: 20:[22, 2, 64], Operations: ['50+14=64']
Exploring Operation: 22*2=44, Resulting Numbers: [64, 44]
Generated Node #3: [64, 44] from Operation: 22*2=44
Current State: 20:[64, 44], Operations: ['50+14=64', '22*2=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[50, 22, 14, 2], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [50, 2, 8]
Generated Node #0,0: 20:[50, 2, 8] Operation: 22-14=8
Exploring Operation: 50/2=25, Resulting Numbers: [22, 14, 25]
Generated Node #0,1: 20:[22, 14, 25] Operation: 50/2=25
Exploring Operation: 50-14=36, Resulting Numbers: [22, 2, 36]
Generated Node #0,2: 20:[22, 2, 36] Operation: 50-14=36
Exploring Operation: 50-22=28, Resulting Numbers: [14, 2, 28]
Generated Node #0,3: 20:[14, 2, 28] Operation: 50-22=28
Moving to Node #0,1
Current State: 20:[22, 14, 25], Operations: ['50/2=25']
Exploring Operation: 22-14=8, Resulting Numbers: [25, 8]
Generated Node #0,1,0: 20:[25, 8] Operation: 22-14=8
Exploring Operation: 25-22=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 20:[14, 3] Operation: 25-22=3
Exploring Operation: 22+14=36, Resulting Numbers: [25, 36]
Generated Node #0,1,2: 20:[25, 36] Operation: 22+14=36
Exploring Operation: 25-14=11, Resulting Numbers: [22, 11]
Generated Node #0,1,3: 20:[22, 11] Operation: 25-14=11
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[22, 11], Operations: ['50/2=25', '25-14=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,20 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,20 unequal: No Solution
No 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: 20:[14, 3], Operations: ['50/2=25', '25-22=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,20 unequal: No Solution
No 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: 20:[25, 8], Operations: ['50/2=25', '22-14=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,20 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No 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: 20:[25, 36], Operations: ['50/2=25', '22+14=36']
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,20 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,20 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: 20:[14, 2, 28], Operations: ['50-22=28']
Exploring Operation: 14-2=12, Resulting Numbers: [28, 12]
Generated Node #0,3,0: 20:[28, 12] Operation: 14-2=12
Exploring Operation: 28-14=14, Resulting Numbers: [2, 14]
Generated Node #0,3,1: 20:[2, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [2, 2]
Generated Node #0,3,2: 20:[2, 2] Operation: 28/14=2
Exploring Operation: 28/2=14, Resulting Numbers: [14, 14]
Generated Node #0,3,3: 20:[14, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[2, 2], Operations: ['50-22=28', '28/14=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No 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: 20:[2, 14], Operations: ['50-22=28', '28-14=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,20 unequal: No Solution
No 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: 20:[14, 14], Operations: ['50-22=28', '28/2=14']
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,20 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,20 unequal: No Solution
No 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: 20:[28, 12], Operations: ['50-22=28', '14-2=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,20 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: 20:[22, 2, 36], Operations: ['50-14=36']
Exploring Operation: 22-2=20, Resulting Numbers: [36, 20]
Generated Node #0,2,0: 20:[36, 20] Operation: 22-2=20
Exploring Operation: 36/2=18, Resulting Numbers: [22, 18]
Generated Node #0,2,1: 20:[22, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [22, 34]
Generated Node #0,2,2: 20:[22, 34] Operation: 36-2=34
Exploring Operation: 36-22=14, Resulting Numbers: [2, 14]
Generated Node #0,2,3: 20:[2, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[22, 18], Operations: ['50-14=36', '36/2=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,20 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No 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: 20:[2, 14], Operations: ['50-14=36', '36-22=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,20 unequal: No Solution
No 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: 20:[36, 20], Operations: ['50-14=36', '22-2=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,20 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,20 unequal: No Solution
No 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: 20:[22, 34], Operations: ['50-14=36', '36-2=34']
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,20 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,20 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: 20:[50, 2, 8], Operations: ['22-14=8']
Exploring Operation: 50-8=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 20:[2, 42] Operation: 50-8=42
Exploring Operation: 2+8=10, Resulting Numbers: [50, 10]
Generated Node #0,0,1: 20:[50, 10] Operation: 2+8=10
Exploring Operation: 50/2=25, Resulting Numbers: [8, 25]
Generated Node #0,0,2: 20:[8, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [8, 48]
Generated Node #0,0,3: 20:[8, 48] Operation: 50-2=48
Moving to Node #0,0,2
Current State: 20:[8, 25], Operations: ['22-14=8', '50/2=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[2, 42], Operations: ['22-14=8', '50-8=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[8, 48], Operations: ['22-14=8', '50-2=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,20 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[50, 10], Operations: ['22-14=8', '2+8=10']
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,20 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,20 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.