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 |
---|---|---|---|---|---|---|---|---|
[
19,
25,
98,
86
] | 56 |
[
"19+25=44",
"98-86=12",
"44+12=56"
] |
Current State: 56:[19, 25, 98, 86], Operations: []
Exploring Operation: 19+25=44, Resulting Numbers: [98, 86, 44]
Generated Node #2: [98, 86, 44] from Operation: 19+25=44
Current State: 56:[98, 86, 44], Operations: ['19+25=44']
Exploring Operation: 98-86=12, Resulting Numbers: [44, 12]
Generated Node #3: [44, 12] from Operation: 98-86=12
Current State: 56:[44, 12], Operations: ['19+25=44', '98-86=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[19, 25, 98, 86], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [19, 25, 12]
Generated Node #0,0: 56:[19, 25, 12] Operation: 98-86=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[19, 25, 12], Operations: ['98-86=12']
Exploring Operation: 25-19=6, Resulting Numbers: [12, 6]
Generated Node #0,0,0: 56:[12, 6] Operation: 25-19=6
Moving to Node #0,0,0
Current State: 56:[12, 6], Operations: ['98-86=12', '25-19=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,56 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
|
[
49,
90,
90,
95
] | 95 |
[
"90-90=0",
"49*0=0",
"95+0=95"
] |
Current State: 95:[49, 90, 90, 95], Operations: []
Exploring Operation: 90-90=0, Resulting Numbers: [49, 95, 0]
Generated Node #2: [49, 95, 0] from Operation: 90-90=0
Current State: 95:[49, 95, 0], Operations: ['90-90=0']
Exploring Operation: 49*0=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 49*0=0
Current State: 95:[95, 0], Operations: ['90-90=0', '49*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[49, 90, 90, 95], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [90, 95, 41]
Generated Node #0,0: 95:[90, 95, 41] Operation: 90-49=41
Exploring Operation: 90-90=0, Resulting Numbers: [49, 95, 0]
Generated Node #0,1: 95:[49, 95, 0] Operation: 90-90=0
Exploring Operation: 90/90=1, Resulting Numbers: [49, 95, 1]
Generated Node #0,2: 95:[49, 95, 1] Operation: 90/90=1
Exploring Operation: 90-49=41, Resulting Numbers: [90, 95, 41]
Generated Node #0,3: 95:[90, 95, 41] Operation: 90-49=41
Exploring Operation: 95-90=5, Resulting Numbers: [49, 90, 5]
Generated Node #0,4: 95:[49, 90, 5] Operation: 95-90=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[90, 95, 41], Operations: ['90-49=41']
Exploring Operation: 95+41=136, Resulting Numbers: [90, 136]
Generated Node #0,0,0: 95:[90, 136] Operation: 95+41=136
Exploring Operation: 95-41=54, Resulting Numbers: [90, 54]
Generated Node #0,0,1: 95:[90, 54] Operation: 95-41=54
Exploring Operation: 95-90=5, Resulting Numbers: [41, 5]
Generated Node #0,0,2: 95:[41, 5] Operation: 95-90=5
Exploring Operation: 90-41=49, Resulting Numbers: [95, 49]
Generated Node #0,0,3: 95:[95, 49] Operation: 90-41=49
Exploring Operation: 90+41=131, Resulting Numbers: [95, 131]
Generated Node #0,0,4: 95:[95, 131] Operation: 90+41=131
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[41, 5], Operations: ['90-49=41', '95-90=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,95 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,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,0,3
Current State: 95:[95, 49], Operations: ['90-49=41', '90-41=49']
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,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,0,4
Current State: 95:[95, 131], Operations: ['90-49=41', '90+41=131']
Exploring Operation: 131-95=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 95*131=12445, Resulting Numbers: [12445]
12445,95 unequal: No Solution
Exploring Operation: 95+131=226, Resulting Numbers: [226]
226,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,0,1
Current State: 95:[90, 54], Operations: ['90-49=41', '95-41=54']
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,95 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,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,0,0
Current State: 95:[90, 136], Operations: ['90-49=41', '95+41=136']
Exploring Operation: 90+136=226, Resulting Numbers: [226]
226,95 unequal: No Solution
Exploring Operation: 90*136=12240, Resulting Numbers: [12240]
12240,95 unequal: No Solution
Exploring Operation: 136-90=46, Resulting Numbers: [46]
46,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,3
Current State: 95:[90, 95, 41], Operations: ['90-49=41']
Exploring Operation: 95-90=5, Resulting Numbers: [41, 5]
Generated Node #0,3,0: 95:[41, 5] Operation: 95-90=5
Exploring Operation: 95+41=136, Resulting Numbers: [90, 136]
Generated Node #0,3,1: 95:[90, 136] Operation: 95+41=136
Exploring Operation: 90-41=49, Resulting Numbers: [95, 49]
Generated Node #0,3,2: 95:[95, 49] Operation: 90-41=49
Exploring Operation: 90+41=131, Resulting Numbers: [95, 131]
Generated Node #0,3,3: 95:[95, 131] Operation: 90+41=131
Exploring Operation: 95-41=54, Resulting Numbers: [90, 54]
Generated Node #0,3,4: 95:[90, 54] Operation: 95-41=54
Moving to Node #0,3,0
Current State: 95:[41, 5], Operations: ['90-49=41', '95-90=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,95 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[95, 49], Operations: ['90-49=41', '90-41=49']
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[95, 131], Operations: ['90-49=41', '90+41=131']
Exploring Operation: 131-95=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 95+131=226, Resulting Numbers: [226]
226,95 unequal: No Solution
Exploring Operation: 95*131=12445, Resulting Numbers: [12445]
12445,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[90, 54], Operations: ['90-49=41', '95-41=54']
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[90, 136], Operations: ['90-49=41', '95+41=136']
Exploring Operation: 90+136=226, Resulting Numbers: [226]
226,95 unequal: No Solution
Exploring Operation: 136-90=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 90*136=12240, Resulting Numbers: [12240]
12240,95 unequal: No Solution
No 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: 95:[49, 95, 1], Operations: ['90/90=1']
Exploring Operation: 95/1=95, Resulting Numbers: [49, 95]
Generated Node #0,2,0: 95:[49, 95] Operation: 95/1=95
Exploring Operation: 49/1=49, Resulting Numbers: [95, 49]
Generated Node #0,2,1: 95:[95, 49] Operation: 49/1=49
Exploring Operation: 95*1=95, Resulting Numbers: [49, 95]
Generated Node #0,2,2: 95:[49, 95] Operation: 95*1=95
Exploring Operation: 49-1=48, Resulting Numbers: [95, 48]
Generated Node #0,2,3: 95:[95, 48] Operation: 49-1=48
Exploring Operation: 49*1=49, Resulting Numbers: [95, 49]
Generated Node #0,2,4: 95:[95, 49] Operation: 49*1=49
Moving to Node #0,2,3
Current State: 95:[95, 48], Operations: ['90/90=1', '49-1=48']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,95 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[95, 49], Operations: ['90/90=1', '49/1=49']
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,95 unequal: No Solution
Moving to Node #0,2,4
Current State: 95:[95, 49], Operations: ['90/90=1', '49*1=49']
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,95 unequal: No Solution
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[49, 95], Operations: ['90/90=1', '95/1=95']
Exploring Operation: 49+95=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 49*95=4655, Resulting Numbers: [4655]
4655,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[49, 95], Operations: ['90/90=1', '95*1=95']
Exploring Operation: 49+95=144, Resulting Numbers: [144]
144,95 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 49*95=4655, Resulting Numbers: [4655]
4655,95 unequal: No Solution
No 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: 95:[49, 95, 0], Operations: ['90-90=0']
Exploring Operation: 49*0=0, Resulting Numbers: [95, 0]
Generated Node #0,1,0: 95:[95, 0] Operation: 49*0=0
Exploring Operation: 95-0=95, Resulting Numbers: [49, 95]
Generated Node #0,1,1: 95:[49, 95] Operation: 95-0=95
Exploring Operation: 95+0=95, Resulting Numbers: [49, 95]
Generated Node #0,1,2: 95:[49, 95] Operation: 95+0=95
Exploring Operation: 49-0=49, Resulting Numbers: [95, 49]
Generated Node #0,1,3: 95:[95, 49] Operation: 49-0=49
Exploring Operation: 49+0=49, Resulting Numbers: [95, 49]
Generated Node #0,1,4: 95:[95, 49] Operation: 49+0=49
Moving to Node #0,1,0
Current State: 95:[95, 0], Operations: ['90-90=0', '49*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[49, 90, 90, 95], Operations: []
Exploring Operation: 90-90=0, Resulting Numbers: [49, 95, 0]
Generated Node #0,1: 95:[49, 95, 0] Operation: 90-90=0
Moving to Node #0,1
Current State: 95:[49, 95, 0], Operations: ['90-90=0']
Exploring Operation: 49*0=0, Resulting Numbers: [95, 0]
Generated Node #0,1,0: 95:[95, 0] Operation: 49*0=0
Moving to Node #0,1,0
Current State: 95:[95, 0], Operations: ['90-90=0', '49*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.934896 |
hs_5
|
sum_heuristic
|
[
75,
92,
58,
82
] | 41 |
[
"92-75=17",
"82-58=24",
"17+24=41"
] |
Current State: 41:[75, 92, 58, 82], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [58, 82, 17]
Generated Node #2: [58, 82, 17] from Operation: 92-75=17
Current State: 41:[58, 82, 17], Operations: ['92-75=17']
Exploring Operation: 82-58=24, Resulting Numbers: [17, 24]
Generated Node #3: [17, 24] from Operation: 82-58=24
Current State: 41:[17, 24], Operations: ['92-75=17', '82-58=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[75, 92, 58, 82], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [58, 82, 17]
Generated Node #0,0: 41:[58, 82, 17] Operation: 92-75=17
Moving to Node #0,0
Current State: 41:[58, 82, 17], Operations: ['92-75=17']
Exploring Operation: 82-58=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 41:[17, 24] Operation: 82-58=24
Moving to Node #0,0,0
Current State: 41:[17, 24], Operations: ['92-75=17', '82-58=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[75, 92, 58, 82], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [58, 82, 17]
Generated Node #0,0: 41:[58, 82, 17] Operation: 92-75=17
Moving to Node #0,0
Current State: 41:[58, 82, 17], Operations: ['92-75=17']
Exploring Operation: 82-58=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 41:[17, 24] Operation: 82-58=24
Moving to Node #0,0,0
Current State: 41:[17, 24], Operations: ['92-75=17', '82-58=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
81,
57,
45,
2
] | 12 |
[
"81+45=126",
"57*2=114",
"126-114=12"
] |
Current State: 12:[81, 57, 45, 2], Operations: []
Exploring Operation: 81+45=126, Resulting Numbers: [57, 2, 126]
Generated Node #2: [57, 2, 126] from Operation: 81+45=126
Current State: 12:[57, 2, 126], Operations: ['81+45=126']
Exploring Operation: 57*2=114, Resulting Numbers: [126, 114]
Generated Node #3: [126, 114] from Operation: 57*2=114
Current State: 12:[126, 114], Operations: ['81+45=126', '57*2=114']
Exploring Operation: 126-114=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[81, 57, 45, 2], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [45, 2, 24]
Generated Node #0,0: 12:[45, 2, 24] Operation: 81-57=24
Exploring Operation: 81-45=36, Resulting Numbers: [57, 2, 36]
Generated Node #0,1: 12:[57, 2, 36] Operation: 81-45=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[45, 2, 24], Operations: ['81-57=24']
Exploring Operation: 45-24=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 12:[2, 21] Operation: 45-24=21
Exploring Operation: 24/2=12, Resulting Numbers: [45, 12]
Generated Node #0,0,1: 12:[45, 12] Operation: 24/2=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[2, 21], Operations: ['81-57=24', '45-24=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[45, 12], Operations: ['81-57=24', '24/2=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,12 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: 12:[57, 2, 36], Operations: ['81-45=36']
Exploring Operation: 57-36=21, Resulting Numbers: [2, 21]
Generated Node #0,1,0: 12:[2, 21] Operation: 57-36=21
Exploring Operation: 36/2=18, Resulting Numbers: [57, 18]
Generated Node #0,1,1: 12:[57, 18] Operation: 36/2=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[2, 21], Operations: ['81-45=36', '57-36=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[57, 18], Operations: ['81-45=36', '36/2=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,12 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
|
[
60,
5,
6,
45
] | 81 |
[
"60*6=360",
"45+360=405",
"405/5=81"
] |
Current State: 81:[60, 5, 6, 45], Operations: []
Exploring Operation: 60*6=360, Resulting Numbers: [5, 45, 360]
Generated Node #2: [5, 45, 360] from Operation: 60*6=360
Current State: 81:[5, 45, 360], Operations: ['60*6=360']
Exploring Operation: 45+360=405, Resulting Numbers: [5, 405]
Generated Node #3: [5, 405] from Operation: 45+360=405
Current State: 81:[5, 405], Operations: ['60*6=360', '45+360=405']
Exploring Operation: 405/5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[60, 5, 6, 45], Operations: []
Exploring Operation: 60-45=15, Resulting Numbers: [5, 6, 15]
Generated Node #0,0: 81:[5, 6, 15] Operation: 60-45=15
Exploring Operation: 60/5=12, Resulting Numbers: [6, 45, 12]
Generated Node #0,1: 81:[6, 45, 12] Operation: 60/5=12
Exploring Operation: 60/6=10, Resulting Numbers: [5, 45, 10]
Generated Node #0,2: 81:[5, 45, 10] Operation: 60/6=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[5, 6, 15], Operations: ['60-45=15']
Exploring Operation: 15/5=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 81:[6, 3] Operation: 15/5=3
Exploring Operation: 15-6=9, Resulting Numbers: [5, 9]
Generated Node #0,0,1: 81:[5, 9] Operation: 15-6=9
Exploring Operation: 15-5=10, Resulting Numbers: [6, 10]
Generated Node #0,0,2: 81:[6, 10] Operation: 15-5=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[5, 9], Operations: ['60-45=15', '15-6=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No 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: 81:[6, 3], Operations: ['60-45=15', '15/5=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No 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: 81:[6, 10], Operations: ['60-45=15', '15-5=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[5, 45, 10], Operations: ['60/6=10']
Exploring Operation: 45-5=40, Resulting Numbers: [10, 40]
Generated Node #0,2,0: 81:[10, 40] Operation: 45-5=40
Exploring Operation: 45-10=35, Resulting Numbers: [5, 35]
Generated Node #0,2,1: 81:[5, 35] Operation: 45-10=35
Exploring Operation: 45/5=9, Resulting Numbers: [10, 9]
Generated Node #0,2,2: 81:[10, 9] Operation: 45/5=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[10, 9], Operations: ['60/6=10', '45/5=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,81 unequal: No Solution
No 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: 81:[5, 35], Operations: ['60/6=10', '45-10=35']
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No 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: 81:[10, 40], Operations: ['60/6=10', '45-5=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[6, 45, 12], Operations: ['60/5=12']
Exploring Operation: 45-12=33, Resulting Numbers: [6, 33]
Generated Node #0,1,0: 81:[6, 33] Operation: 45-12=33
Exploring Operation: 45-6=39, Resulting Numbers: [12, 39]
Generated Node #0,1,1: 81:[12, 39] Operation: 45-6=39
Exploring Operation: 12/6=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 81:[45, 2] Operation: 12/6=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[6, 33], Operations: ['60/5=12', '45-12=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,81 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,81 unequal: No Solution
No 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: 81:[12, 39], Operations: ['60/5=12', '45-6=39']
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,81 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,81 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,81 unequal: No Solution
No 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: 81:[45, 2], Operations: ['60/5=12', '12/6=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,81 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,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_3
|
sum_heuristic
|
[
12,
3,
11,
60
] | 64 |
[
"12+3=15",
"60-11=49",
"15+49=64"
] |
Current State: 64:[12, 3, 11, 60], Operations: []
Exploring Operation: 12+3=15, Resulting Numbers: [11, 60, 15]
Generated Node #2: [11, 60, 15] from Operation: 12+3=15
Current State: 64:[11, 60, 15], Operations: ['12+3=15']
Exploring Operation: 60-11=49, Resulting Numbers: [15, 49]
Generated Node #3: [15, 49] from Operation: 60-11=49
Current State: 64:[15, 49], Operations: ['12+3=15', '60-11=49']
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[12, 3, 11, 60], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [3, 11, 5]
Generated Node #0,0: 64:[3, 11, 5] Operation: 60/12=5
Exploring Operation: 12+3=15, Resulting Numbers: [11, 60, 15]
Generated Node #0,1: 64:[11, 60, 15] Operation: 12+3=15
Exploring Operation: 12/3=4, Resulting Numbers: [11, 60, 4]
Generated Node #0,2: 64:[11, 60, 4] Operation: 12/3=4
Exploring Operation: 12-11=1, Resulting Numbers: [3, 60, 1]
Generated Node #0,3: 64:[3, 60, 1] Operation: 12-11=1
Exploring Operation: 12-3=9, Resulting Numbers: [11, 60, 9]
Generated Node #0,4: 64:[11, 60, 9] Operation: 12-3=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[3, 11, 5], Operations: ['60/12=5']
Exploring Operation: 3+5=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 64:[11, 8] Operation: 3+5=8
Exploring Operation: 3*11=33, Resulting Numbers: [5, 33]
Generated Node #0,0,1: 64:[5, 33] Operation: 3*11=33
Exploring Operation: 11+5=16, Resulting Numbers: [3, 16]
Generated Node #0,0,2: 64:[3, 16] Operation: 11+5=16
Exploring Operation: 3+11=14, Resulting Numbers: [5, 14]
Generated Node #0,0,3: 64:[5, 14] Operation: 3+11=14
Exploring Operation: 11-3=8, Resulting Numbers: [5, 8]
Generated Node #0,0,4: 64:[5, 8] Operation: 11-3=8
Moving to Node #0,0,2
Current State: 64:[3, 16], Operations: ['60/12=5', '11+5=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[5, 8], Operations: ['60/12=5', '11-3=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[5, 33], Operations: ['60/12=5', '3*11=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,64 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[11, 8], Operations: ['60/12=5', '3+5=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[5, 14], Operations: ['60/12=5', '3+11=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[3, 60, 1], Operations: ['12-11=1']
Exploring Operation: 3+1=4, Resulting Numbers: [60, 4]
Generated Node #0,3,0: 64:[60, 4] Operation: 3+1=4
Exploring Operation: 60/3=20, Resulting Numbers: [1, 20]
Generated Node #0,3,1: 64:[1, 20] Operation: 60/3=20
Exploring Operation: 3-1=2, Resulting Numbers: [60, 2]
Generated Node #0,3,2: 64:[60, 2] Operation: 3-1=2
Exploring Operation: 60+1=61, Resulting Numbers: [3, 61]
Generated Node #0,3,3: 64:[3, 61] Operation: 60+1=61
Exploring Operation: 3+60=63, Resulting Numbers: [1, 63]
Generated Node #0,3,4: 64:[1, 63] Operation: 3+60=63
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 64:[1, 63], Operations: ['12-11=1', '3+60=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[12, 3, 11, 60], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [3, 60, 1]
Generated Node #0,3: 64:[3, 60, 1] Operation: 12-11=1
Moving to Node #0,3
Current State: 64:[3, 60, 1], Operations: ['12-11=1']
Exploring Operation: 3+60=63, Resulting Numbers: [1, 63]
Generated Node #0,3,4: 64:[1, 63] Operation: 3+60=63
Moving to Node #0,3,4
Current State: 64:[1, 63], Operations: ['12-11=1', '3+60=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 |
hs_5
|
sum_heuristic
|
[
9,
34,
4,
89
] | 81 |
[
"9-4=5",
"34*5=170",
"170-89=81"
] |
Current State: 81:[9, 34, 4, 89], Operations: []
Exploring Operation: 9-4=5, Resulting Numbers: [34, 89, 5]
Generated Node #2: [34, 89, 5] from Operation: 9-4=5
Current State: 81:[34, 89, 5], Operations: ['9-4=5']
Exploring Operation: 34*5=170, Resulting Numbers: [89, 170]
Generated Node #3: [89, 170] from Operation: 34*5=170
Current State: 81:[89, 170], Operations: ['9-4=5', '34*5=170']
Exploring Operation: 170-89=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[9, 34, 4, 89], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [34, 4, 80]
Generated Node #0,0: 81:[34, 4, 80] Operation: 89-9=80
Moving to Node #0,0
Current State: 81:[34, 4, 80], Operations: ['89-9=80']
Exploring Operation: 34-4=30, Resulting Numbers: [80, 30]
Generated Node #0,0,0: 81:[80, 30] Operation: 34-4=30
Moving to Node #0,0,0
Current State: 81:[80, 30], Operations: ['89-9=80', '34-4=30']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,81 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
41,
10,
88,
96
] | 43 |
[
"41+10=51",
"96-88=8",
"51-8=43"
] |
Current State: 43:[41, 10, 88, 96], Operations: []
Exploring Operation: 41+10=51, Resulting Numbers: [88, 96, 51]
Generated Node #2: [88, 96, 51] from Operation: 41+10=51
Current State: 43:[88, 96, 51], Operations: ['41+10=51']
Exploring Operation: 96-88=8, Resulting Numbers: [51, 8]
Generated Node #3: [51, 8] from Operation: 96-88=8
Current State: 43:[51, 8], Operations: ['41+10=51', '96-88=8']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[41, 10, 88, 96], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [41, 10, 8]
Generated Node #0,0: 43:[41, 10, 8] Operation: 96-88=8
Moving to Node #0,0
Current State: 43:[41, 10, 8], Operations: ['96-88=8']
Exploring Operation: 10+8=18, Resulting Numbers: [41, 18]
Generated Node #0,0,0: 43:[41, 18] Operation: 10+8=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[41, 18], Operations: ['96-88=8', '10+8=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
80,
86,
41,
91
] | 34 |
[
"80+86=166",
"41+91=132",
"166-132=34"
] |
Current State: 34:[80, 86, 41, 91], Operations: []
Exploring Operation: 80+86=166, Resulting Numbers: [41, 91, 166]
Generated Node #2: [41, 91, 166] from Operation: 80+86=166
Current State: 34:[41, 91, 166], Operations: ['80+86=166']
Exploring Operation: 41+91=132, Resulting Numbers: [166, 132]
Generated Node #3: [166, 132] from Operation: 41+91=132
Current State: 34:[166, 132], Operations: ['80+86=166', '41+91=132']
Exploring Operation: 166-132=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[80, 86, 41, 91], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [41, 91, 6]
Generated Node #0,0: 34:[41, 91, 6] Operation: 86-80=6
Exploring Operation: 91-86=5, Resulting Numbers: [80, 41, 5]
Generated Node #0,1: 34:[80, 41, 5] Operation: 91-86=5
Exploring Operation: 91-80=11, Resulting Numbers: [86, 41, 11]
Generated Node #0,2: 34:[86, 41, 11] Operation: 91-80=11
Moving to Node #0,1
Current State: 34:[80, 41, 5], Operations: ['91-86=5']
Exploring Operation: 80/5=16, Resulting Numbers: [41, 16]
Generated Node #0,1,0: 34:[41, 16] Operation: 80/5=16
Exploring Operation: 80-5=75, Resulting Numbers: [41, 75]
Generated Node #0,1,1: 34:[41, 75] Operation: 80-5=75
Exploring Operation: 80-41=39, Resulting Numbers: [5, 39]
Generated Node #0,1,2: 34:[5, 39] Operation: 80-41=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[41, 16], Operations: ['91-86=5', '80/5=16']
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,34 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,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,2
Current State: 34:[5, 39], Operations: ['91-86=5', '80-41=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,34 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[80, 86, 41, 91], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [80, 41, 5]
Generated Node #0,1: 34:[80, 41, 5] Operation: 91-86=5
Moving to Node #0,1
Current State: 34:[80, 41, 5], Operations: ['91-86=5']
Exploring Operation: 80-41=39, Resulting Numbers: [5, 39]
Generated Node #0,1,2: 34:[5, 39] Operation: 80-41=39
Moving to Node #0,1,2
Current State: 34:[5, 39], Operations: ['91-86=5', '80-41=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
sum_heuristic
|
[
97,
46,
10,
41
] | 30 |
[
"97+41=138",
"138/46=3",
"10*3=30"
] |
Current State: 30:[97, 46, 10, 41], Operations: []
Exploring Operation: 97+41=138, Resulting Numbers: [46, 10, 138]
Generated Node #2: [46, 10, 138] from Operation: 97+41=138
Current State: 30:[46, 10, 138], Operations: ['97+41=138']
Exploring Operation: 138/46=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 138/46=3
Current State: 30:[10, 3], Operations: ['97+41=138', '138/46=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[97, 46, 10, 41], Operations: []
Exploring Operation: 97-46=51, Resulting Numbers: [10, 41, 51]
Generated Node #0,0: 30:[10, 41, 51] Operation: 97-46=51
Exploring Operation: 97-41=56, Resulting Numbers: [46, 10, 56]
Generated Node #0,1: 30:[46, 10, 56] Operation: 97-41=56
Exploring Operation: 46-10=36, Resulting Numbers: [97, 41, 36]
Generated Node #0,2: 30:[97, 41, 36] Operation: 46-10=36
Exploring Operation: 46-41=5, Resulting Numbers: [97, 10, 5]
Generated Node #0,3: 30:[97, 10, 5] Operation: 46-41=5
Exploring Operation: 97-10=87, Resulting Numbers: [46, 41, 87]
Generated Node #0,4: 30:[46, 41, 87] Operation: 97-10=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[10, 41, 51], Operations: ['97-46=51']
Exploring Operation: 41-10=31, Resulting Numbers: [51, 31]
Generated Node #0,0,0: 30:[51, 31] Operation: 41-10=31
Exploring Operation: 10+41=51, Resulting Numbers: [51, 51]
Generated Node #0,0,1: 30:[51, 51] Operation: 10+41=51
Exploring Operation: 51-41=10, Resulting Numbers: [10, 10]
Generated Node #0,0,2: 30:[10, 10] Operation: 51-41=10
Exploring Operation: 51-10=41, Resulting Numbers: [41, 41]
Generated Node #0,0,3: 30:[41, 41] Operation: 51-10=41
Exploring Operation: 10+51=61, Resulting Numbers: [41, 61]
Generated Node #0,0,4: 30:[41, 61] Operation: 10+51=61
Moving to Node #0,0,2
Current State: 30:[10, 10], Operations: ['97-46=51', '51-41=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,30 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[41, 41], Operations: ['97-46=51', '51-10=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,30 unequal: No Solution
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[51, 31], Operations: ['97-46=51', '41-10=31']
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,30 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,30 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[51, 51], Operations: ['97-46=51', '10+41=51']
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,30 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,0,4
Current State: 30:[41, 61], Operations: ['97-46=51', '10+51=61']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,30 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,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
Current State: 30:[46, 10, 56], Operations: ['97-41=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46, 46]
Generated Node #0,1,0: 30:[46, 46] Operation: 56-10=46
Exploring Operation: 46-10=36, Resulting Numbers: [56, 36]
Generated Node #0,1,1: 30:[56, 36] Operation: 46-10=36
Exploring Operation: 56-46=10, Resulting Numbers: [10, 10]
Generated Node #0,1,2: 30:[10, 10] Operation: 56-46=10
Exploring Operation: 46+10=56, Resulting Numbers: [56, 56]
Generated Node #0,1,3: 30:[56, 56] Operation: 46+10=56
Exploring Operation: 10+56=66, Resulting Numbers: [46, 66]
Generated Node #0,1,4: 30:[46, 66] Operation: 10+56=66
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[10, 10], Operations: ['97-41=56', '56-46=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,30 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[46, 46], Operations: ['97-41=56', '56-10=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[56, 36], Operations: ['97-41=56', '46-10=36']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,30 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 30:[56, 56], Operations: ['97-41=56', '46+10=56']
Exploring Operation: 56*56=3136, Resulting Numbers: [3136]
3136,30 unequal: No Solution
Exploring Operation: 56+56=112, Resulting Numbers: [112]
112,30 unequal: No Solution
Exploring Operation: 56/56=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 56-56=0, Resulting Numbers: [0]
0,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 30:[46, 66], Operations: ['97-41=56', '10+56=66']
Exploring Operation: 46*66=3036, Resulting Numbers: [3036]
3036,30 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 46+66=112, Resulting Numbers: [112]
112,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[97, 10, 5], Operations: ['46-41=5']
Exploring Operation: 10/5=2, Resulting Numbers: [97, 2]
Generated Node #0,3,0: 30:[97, 2] Operation: 10/5=2
Exploring Operation: 97-10=87, Resulting Numbers: [5, 87]
Generated Node #0,3,1: 30:[5, 87] Operation: 97-10=87
Exploring Operation: 10-5=5, Resulting Numbers: [97, 5]
Generated Node #0,3,2: 30:[97, 5] Operation: 10-5=5
Exploring Operation: 97-5=92, Resulting Numbers: [10, 92]
Generated Node #0,3,3: 30:[10, 92] Operation: 97-5=92
Exploring Operation: 10+5=15, Resulting Numbers: [97, 15]
Generated Node #0,3,4: 30:[97, 15] Operation: 10+5=15
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 30:[5, 87], Operations: ['46-41=5', '97-10=87']
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 5*87=435, Resulting Numbers: [435]
435,30 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 30:[10, 92], Operations: ['46-41=5', '97-5=92']
Exploring Operation: 10+92=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,30 unequal: No Solution
Exploring Operation: 10*92=920, Resulting Numbers: [920]
920,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[97, 2], Operations: ['46-41=5', '10/5=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,30 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[97, 5], Operations: ['46-41=5', '10-5=5']
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 30:[97, 15], Operations: ['46-41=5', '10+5=15']
Exploring Operation: 97+15=112, Resulting Numbers: [112]
112,30 unequal: No Solution
Exploring Operation: 97*15=1455, Resulting Numbers: [1455]
1455,30 unequal: No Solution
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[97, 41, 36], Operations: ['46-10=36']
Exploring Operation: 97-41=56, Resulting Numbers: [36, 56]
Generated Node #0,2,0: 30:[36, 56] Operation: 97-41=56
Exploring Operation: 97+36=133, Resulting Numbers: [41, 133]
Generated Node #0,2,1: 30:[41, 133] Operation: 97+36=133
Exploring Operation: 97-36=61, Resulting Numbers: [41, 61]
Generated Node #0,2,2: 30:[41, 61] Operation: 97-36=61
Exploring Operation: 41-36=5, Resulting Numbers: [97, 5]
Generated Node #0,2,3: 30:[97, 5] Operation: 41-36=5
Exploring Operation: 97+41=138, Resulting Numbers: [36, 138]
Generated Node #0,2,4: 30:[36, 138] Operation: 97+41=138
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 30:[36, 56], Operations: ['46-10=36', '97-41=56']
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,30 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 30:[41, 61], Operations: ['46-10=36', '97-36=61']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 30:[97, 5], Operations: ['46-10=36', '41-36=5']
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,30 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 30:[41, 133], Operations: ['46-10=36', '97+36=133']
Exploring Operation: 41*133=5453, Resulting Numbers: [5453]
5453,30 unequal: No Solution
Exploring Operation: 41+133=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 133-41=92, Resulting Numbers: [92]
92,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 30:[36, 138], Operations: ['46-10=36', '97+41=138']
Exploring Operation: 138-36=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 36+138=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 36*138=4968, Resulting Numbers: [4968]
4968,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[46, 41, 87], Operations: ['97-10=87']
Exploring Operation: 46-41=5, Resulting Numbers: [87, 5]
Generated Node #0,4,0: 30:[87, 5] Operation: 46-41=5
Exploring Operation: 46+87=133, Resulting Numbers: [41, 133]
Generated Node #0,4,1: 30:[41, 133] Operation: 46+87=133
Exploring Operation: 87-41=46, Resulting Numbers: [46, 46]
Generated Node #0,4,2: 30:[46, 46] Operation: 87-41=46
Exploring Operation: 87-46=41, Resulting Numbers: [41, 41]
Generated Node #0,4,3: 30:[41, 41] Operation: 87-46=41
Exploring Operation: 46+41=87, Resulting Numbers: [87, 87]
Generated Node #0,4,4: 30:[87, 87] Operation: 46+41=87
Moving to Node #0,4,3
Current State: 30:[41, 41], Operations: ['97-10=87', '87-46=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,30 unequal: No Solution
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,30 unequal: No Solution
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[46, 46], Operations: ['97-10=87', '87-41=46']
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[87, 5], Operations: ['97-10=87', '46-41=5']
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,30 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[41, 133], Operations: ['97-10=87', '46+87=133']
Exploring Operation: 41+133=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 41*133=5453, Resulting Numbers: [5453]
5453,30 unequal: No Solution
Exploring Operation: 133-41=92, Resulting Numbers: [92]
92,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[87, 87], Operations: ['97-10=87', '46+41=87']
Exploring Operation: 87-87=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 87+87=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 87*87=7569, Resulting Numbers: [7569]
7569,30 unequal: No Solution
Exploring Operation: 87/87=1, Resulting Numbers: [1]
1,30 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
|
[
10,
18,
50,
96
] | 18 |
[
"10+18=28",
"96-50=46",
"46-28=18"
] |
Current State: 18:[10, 18, 50, 96], Operations: []
Exploring Operation: 10+18=28, Resulting Numbers: [50, 96, 28]
Generated Node #2: [50, 96, 28] from Operation: 10+18=28
Current State: 18:[50, 96, 28], Operations: ['10+18=28']
Exploring Operation: 96-50=46, Resulting Numbers: [28, 46]
Generated Node #3: [28, 46] from Operation: 96-50=46
Current State: 18:[28, 46], Operations: ['10+18=28', '96-50=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[10, 18, 50, 96], Operations: []
Exploring Operation: 50-18=32, Resulting Numbers: [10, 96, 32]
Generated Node #0,0: 18:[10, 96, 32] Operation: 50-18=32
Exploring Operation: 96-50=46, Resulting Numbers: [10, 18, 46]
Generated Node #0,1: 18:[10, 18, 46] Operation: 96-50=46
Exploring Operation: 96-18=78, Resulting Numbers: [10, 50, 78]
Generated Node #0,2: 18:[10, 50, 78] Operation: 96-18=78
Exploring Operation: 50/10=5, Resulting Numbers: [18, 96, 5]
Generated Node #0,3: 18:[18, 96, 5] Operation: 50/10=5
Moving to Node #0,1
Current State: 18:[10, 18, 46], Operations: ['96-50=46']
Exploring Operation: 18-10=8, Resulting Numbers: [46, 8]
Generated Node #0,1,0: 18:[46, 8] Operation: 18-10=8
Exploring Operation: 10+18=28, Resulting Numbers: [46, 28]
Generated Node #0,1,1: 18:[46, 28] Operation: 10+18=28
Exploring Operation: 46-18=28, Resulting Numbers: [10, 28]
Generated Node #0,1,2: 18:[10, 28] Operation: 46-18=28
Exploring Operation: 46-10=36, Resulting Numbers: [18, 36]
Generated Node #0,1,3: 18:[18, 36] Operation: 46-10=36
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[10, 28], Operations: ['96-50=46', '46-18=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,18 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[10, 18, 50, 96], Operations: []
Exploring Operation: 96-50=46, Resulting Numbers: [10, 18, 46]
Generated Node #0,1: 18:[10, 18, 46] Operation: 96-50=46
Moving to Node #0,1
Current State: 18:[10, 18, 46], Operations: ['96-50=46']
Exploring Operation: 46-18=28, Resulting Numbers: [10, 28]
Generated Node #0,1,2: 18:[10, 28] Operation: 46-18=28
Moving to Node #0,1,2
Current State: 18:[10, 28], Operations: ['96-50=46', '46-18=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
mult_heuristic
|
[
58,
39,
61,
48
] | 61 |
[
"61-58=3",
"39/3=13",
"48+13=61"
] |
Current State: 61:[58, 39, 61, 48], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [39, 48, 3]
Generated Node #2: [39, 48, 3] from Operation: 61-58=3
Current State: 61:[39, 48, 3], Operations: ['61-58=3']
Exploring Operation: 39/3=13, Resulting Numbers: [48, 13]
Generated Node #3: [48, 13] from Operation: 39/3=13
Current State: 61:[48, 13], Operations: ['61-58=3', '39/3=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[58, 39, 61, 48], Operations: []
Exploring Operation: 58+39=97, Resulting Numbers: [61, 48, 97]
Generated Node #0,0: 61:[61, 48, 97] Operation: 58+39=97
Exploring Operation: 39+48=87, Resulting Numbers: [58, 61, 87]
Generated Node #0,1: 61:[58, 61, 87] Operation: 39+48=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[58, 61, 87], Operations: ['39+48=87']
Exploring Operation: 87-61=26, Resulting Numbers: [58, 26]
Generated Node #0,1,0: 61:[58, 26] Operation: 87-61=26
Exploring Operation: 87-58=29, Resulting Numbers: [61, 29]
Generated Node #0,1,1: 61:[61, 29] Operation: 87-58=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[61, 29], Operations: ['39+48=87', '87-58=29']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[58, 26], Operations: ['39+48=87', '87-61=26']
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[61, 48, 97], Operations: ['58+39=97']
Exploring Operation: 97-48=49, Resulting Numbers: [61, 49]
Generated Node #0,0,0: 61:[61, 49] Operation: 97-48=49
Exploring Operation: 97-61=36, Resulting Numbers: [48, 36]
Generated Node #0,0,1: 61:[48, 36] Operation: 97-61=36
Moving to Node #0,0,0
Current State: 61:[61, 49], Operations: ['58+39=97', '97-48=49']
Exploring Operation: 61+49=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[48, 36], Operations: ['58+39=97', '97-61=36']
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
12,
35,
3,
8
] | 21 |
[
"35-8=27",
"27/3=9",
"12+9=21"
] |
Current State: 21:[12, 35, 3, 8], Operations: []
Exploring Operation: 35-8=27, Resulting Numbers: [12, 3, 27]
Generated Node #2: [12, 3, 27] from Operation: 35-8=27
Current State: 21:[12, 3, 27], Operations: ['35-8=27']
Exploring Operation: 27/3=9, Resulting Numbers: [12, 9]
Generated Node #3: [12, 9] from Operation: 27/3=9
Current State: 21:[12, 9], Operations: ['35-8=27', '27/3=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[12, 35, 3, 8], Operations: []
Exploring Operation: 35-8=27, Resulting Numbers: [12, 3, 27]
Generated Node #0,0: 21:[12, 3, 27] Operation: 35-8=27
Exploring Operation: 12+8=20, Resulting Numbers: [35, 3, 20]
Generated Node #0,1: 21:[35, 3, 20] Operation: 12+8=20
Exploring Operation: 12-8=4, Resulting Numbers: [35, 3, 4]
Generated Node #0,2: 21:[35, 3, 4] Operation: 12-8=4
Exploring Operation: 35-12=23, Resulting Numbers: [3, 8, 23]
Generated Node #0,3: 21:[3, 8, 23] Operation: 35-12=23
Moving to Node #0,3
Current State: 21:[3, 8, 23], Operations: ['35-12=23']
Exploring Operation: 3*8=24, Resulting Numbers: [23, 24]
Generated Node #0,3,0: 21:[23, 24] Operation: 3*8=24
Exploring Operation: 23-3=20, Resulting Numbers: [8, 20]
Generated Node #0,3,1: 21:[8, 20] Operation: 23-3=20
Exploring Operation: 3+8=11, Resulting Numbers: [23, 11]
Generated Node #0,3,2: 21:[23, 11] Operation: 3+8=11
Exploring Operation: 8-3=5, Resulting Numbers: [23, 5]
Generated Node #0,3,3: 21:[23, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[8, 20], Operations: ['35-12=23', '23-3=20']
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,21 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,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,3,3
Current State: 21:[23, 5], Operations: ['35-12=23', '8-3=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,21 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,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,3,0
Current State: 21:[23, 24], Operations: ['35-12=23', '3*8=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,21 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,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,3,2
Current State: 21:[23, 11], Operations: ['35-12=23', '3+8=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,21 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: 21:[12, 3, 27], Operations: ['35-8=27']
Exploring Operation: 27-12=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 21:[3, 15] Operation: 27-12=15
Exploring Operation: 27/3=9, Resulting Numbers: [12, 9]
Generated Node #0,0,1: 21:[12, 9] Operation: 27/3=9
Exploring Operation: 12-3=9, Resulting Numbers: [27, 9]
Generated Node #0,0,2: 21:[27, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [27, 4]
Generated Node #0,0,3: 21:[27, 4] Operation: 12/3=4
Moving to Node #0,2
Current State: 21:[35, 3, 4], Operations: ['12-8=4']
Exploring Operation: 3+4=7, Resulting Numbers: [35, 7]
Generated Node #0,2,0: 21:[35, 7] Operation: 3+4=7
Exploring Operation: 35-3=32, Resulting Numbers: [4, 32]
Generated Node #0,2,1: 21:[4, 32] Operation: 35-3=32
Exploring Operation: 4-3=1, Resulting Numbers: [35, 1]
Generated Node #0,2,2: 21:[35, 1] Operation: 4-3=1
Exploring Operation: 35-4=31, Resulting Numbers: [3, 31]
Generated Node #0,2,3: 21:[3, 31] Operation: 35-4=31
Moving to Node #0,1
Current State: 21:[35, 3, 20], Operations: ['12+8=20']
Exploring Operation: 35-3=32, Resulting Numbers: [20, 32]
Generated Node #0,1,0: 21:[20, 32] Operation: 35-3=32
Exploring Operation: 35+3=38, Resulting Numbers: [20, 38]
Generated Node #0,1,1: 21:[20, 38] Operation: 35+3=38
Exploring Operation: 35-20=15, Resulting Numbers: [3, 15]
Generated Node #0,1,2: 21:[3, 15] Operation: 35-20=15
Exploring Operation: 3+20=23, Resulting Numbers: [35, 23]
Generated Node #0,1,3: 21:[35, 23] Operation: 3+20=23
Moving to Node #0,0,0
Current State: 21:[3, 15], Operations: ['35-8=27', '27-12=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[3, 15], Operations: ['12+8=20', '35-20=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[27, 4], Operations: ['35-8=27', '12/3=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,21 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[12, 9], Operations: ['35-8=27', '27/3=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,21 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[12, 35, 3, 8], Operations: []
Exploring Operation: 35-8=27, Resulting Numbers: [12, 3, 27]
Generated Node #0,0: 21:[12, 3, 27] Operation: 35-8=27
Moving to Node #0,0
Current State: 21:[12, 3, 27], Operations: ['35-8=27']
Exploring Operation: 27/3=9, Resulting Numbers: [12, 9]
Generated Node #0,0,1: 21:[12, 9] Operation: 27/3=9
Moving to Node #0,0,1
Current State: 21:[12, 9], Operations: ['35-8=27', '27/3=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.956597 |
hs_4
|
sum_heuristic
|
[
24,
78,
26,
97
] | 89 |
[
"24*26=624",
"624/78=8",
"97-8=89"
] |
Current State: 89:[24, 78, 26, 97], Operations: []
Exploring Operation: 24*26=624, Resulting Numbers: [78, 97, 624]
Generated Node #2: [78, 97, 624] from Operation: 24*26=624
Current State: 89:[78, 97, 624], Operations: ['24*26=624']
Exploring Operation: 624/78=8, Resulting Numbers: [97, 8]
Generated Node #3: [97, 8] from Operation: 624/78=8
Current State: 89:[97, 8], Operations: ['24*26=624', '624/78=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[24, 78, 26, 97], Operations: []
Exploring Operation: 24+26=50, Resulting Numbers: [78, 97, 50]
Generated Node #0,0: 89:[78, 97, 50] Operation: 24+26=50
Moving to Node #0,0
Current State: 89:[78, 97, 50], Operations: ['24+26=50']
Exploring Operation: 78+50=128, Resulting Numbers: [97, 128]
Generated Node #0,0,0: 89:[97, 128] Operation: 78+50=128
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[97, 128], Operations: ['24+26=50', '78+50=128']
Exploring Operation: 128-97=31, Resulting Numbers: [31]
31,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
|
[
32,
50,
68,
26
] | 40 |
[
"32+50=82",
"68-26=42",
"82-42=40"
] |
Current State: 40:[32, 50, 68, 26], Operations: []
Exploring Operation: 32+50=82, Resulting Numbers: [68, 26, 82]
Generated Node #2: [68, 26, 82] from Operation: 32+50=82
Current State: 40:[68, 26, 82], Operations: ['32+50=82']
Exploring Operation: 68-26=42, Resulting Numbers: [82, 42]
Generated Node #3: [82, 42] from Operation: 68-26=42
Current State: 40:[82, 42], Operations: ['32+50=82', '68-26=42']
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[32, 50, 68, 26], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [50, 68, 6]
Generated Node #0,0: 40:[50, 68, 6] Operation: 32-26=6
Exploring Operation: 68-26=42, Resulting Numbers: [32, 50, 42]
Generated Node #0,1: 40:[32, 50, 42] Operation: 68-26=42
Exploring Operation: 68-50=18, Resulting Numbers: [32, 26, 18]
Generated Node #0,2: 40:[32, 26, 18] Operation: 68-50=18
Exploring Operation: 68-32=36, Resulting Numbers: [50, 26, 36]
Generated Node #0,3: 40:[50, 26, 36] Operation: 68-32=36
Exploring Operation: 50-32=18, Resulting Numbers: [68, 26, 18]
Generated Node #0,4: 40:[68, 26, 18] Operation: 50-32=18
Moving to Node #0,2
Current State: 40:[32, 26, 18], Operations: ['68-50=18']
Exploring Operation: 32-26=6, Resulting Numbers: [18, 6]
Generated Node #0,2,0: 40:[18, 6] Operation: 32-26=6
Exploring Operation: 32+18=50, Resulting Numbers: [26, 50]
Generated Node #0,2,1: 40:[26, 50] Operation: 32+18=50
Exploring Operation: 26-18=8, Resulting Numbers: [32, 8]
Generated Node #0,2,2: 40:[32, 8] Operation: 26-18=8
Exploring Operation: 26+18=44, Resulting Numbers: [32, 44]
Generated Node #0,2,3: 40:[32, 44] Operation: 26+18=44
Exploring Operation: 32-18=14, Resulting Numbers: [26, 14]
Generated Node #0,2,4: 40:[26, 14] Operation: 32-18=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[18, 6], Operations: ['68-50=18', '32-26=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[32, 8], Operations: ['68-50=18', '26-18=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,40 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[32, 50, 68, 26], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [32, 26, 18]
Generated Node #0,2: 40:[32, 26, 18] Operation: 68-50=18
Moving to Node #0,2
Current State: 40:[32, 26, 18], Operations: ['68-50=18']
Exploring Operation: 26-18=8, Resulting Numbers: [32, 8]
Generated Node #0,2,2: 40:[32, 8] Operation: 26-18=8
Moving to Node #0,2,2
Current State: 40:[32, 8], Operations: ['68-50=18', '26-18=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 |
hs_5
|
sum_heuristic
|
[
8,
54,
43,
27
] | 52 |
[
"43-27=16",
"16/8=2",
"54-2=52"
] |
Current State: 52:[8, 54, 43, 27], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [8, 54, 16]
Generated Node #2: [8, 54, 16] from Operation: 43-27=16
Current State: 52:[8, 54, 16], Operations: ['43-27=16']
Exploring Operation: 16/8=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 16/8=2
Current State: 52:[54, 2], Operations: ['43-27=16', '16/8=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[8, 54, 43, 27], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [8, 43, 2]
Generated Node #0,0: 52:[8, 43, 2] Operation: 54/27=2
Exploring Operation: 43-8=35, Resulting Numbers: [54, 27, 35]
Generated Node #0,1: 52:[54, 27, 35] Operation: 43-8=35
Exploring Operation: 8+43=51, Resulting Numbers: [54, 27, 51]
Generated Node #0,2: 52:[54, 27, 51] Operation: 8+43=51
Exploring Operation: 54-43=11, Resulting Numbers: [8, 27, 11]
Generated Node #0,3: 52:[8, 27, 11] Operation: 54-43=11
Exploring Operation: 43-27=16, Resulting Numbers: [8, 54, 16]
Generated Node #0,4: 52:[8, 54, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[54, 27, 51], Operations: ['8+43=51']
Exploring Operation: 54/27=2, Resulting Numbers: [51, 2]
Generated Node #0,2,0: 52:[51, 2] Operation: 54/27=2
Exploring Operation: 27+51=78, Resulting Numbers: [54, 78]
Generated Node #0,2,1: 52:[54, 78] Operation: 27+51=78
Exploring Operation: 51-27=24, Resulting Numbers: [54, 24]
Generated Node #0,2,2: 52:[54, 24] Operation: 51-27=24
Exploring Operation: 54-27=27, Resulting Numbers: [51, 27]
Generated Node #0,2,3: 52:[51, 27] Operation: 54-27=27
Exploring Operation: 54-51=3, Resulting Numbers: [27, 3]
Generated Node #0,2,4: 52:[27, 3] Operation: 54-51=3
Moving to Node #0,2,0
Current State: 52:[51, 2], Operations: ['8+43=51', '54/27=2']
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,52 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[27, 3], Operations: ['8+43=51', '54-51=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[51, 27], Operations: ['8+43=51', '54-27=27']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 51*27=1377, Resulting Numbers: [1377]
1377,52 unequal: No Solution
Exploring Operation: 51+27=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[54, 24], Operations: ['8+43=51', '51-27=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[54, 78], Operations: ['8+43=51', '27+51=78']
Exploring Operation: 54*78=4212, Resulting Numbers: [4212]
4212,52 unequal: No Solution
Exploring Operation: 54+78=132, Resulting Numbers: [132]
132,52 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[8, 27, 11], Operations: ['54-43=11']
Exploring Operation: 11-8=3, Resulting Numbers: [27, 3]
Generated Node #0,3,0: 52:[27, 3] Operation: 11-8=3
Exploring Operation: 8+11=19, Resulting Numbers: [27, 19]
Generated Node #0,3,1: 52:[27, 19] Operation: 8+11=19
Exploring Operation: 27-11=16, Resulting Numbers: [8, 16]
Generated Node #0,3,2: 52:[8, 16] Operation: 27-11=16
Exploring Operation: 27-8=19, Resulting Numbers: [11, 19]
Generated Node #0,3,3: 52:[11, 19] Operation: 27-8=19
Exploring Operation: 8+27=35, Resulting Numbers: [11, 35]
Generated Node #0,3,4: 52:[11, 35] Operation: 8+27=35
Moving to Node #0,3,0
Current State: 52:[27, 3], Operations: ['54-43=11', '11-8=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[8, 16], Operations: ['54-43=11', '27-11=16']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,52 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[27, 19], Operations: ['54-43=11', '8+11=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[11, 19], Operations: ['54-43=11', '27-8=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,52 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[11, 35], Operations: ['54-43=11', '8+27=35']
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,52 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[8, 54, 16], Operations: ['43-27=16']
Exploring Operation: 8+54=62, Resulting Numbers: [16, 62]
Generated Node #0,4,0: 52:[16, 62] Operation: 8+54=62
Exploring Operation: 54-8=46, Resulting Numbers: [16, 46]
Generated Node #0,4,1: 52:[16, 46] Operation: 54-8=46
Exploring Operation: 16/8=2, Resulting Numbers: [54, 2]
Generated Node #0,4,2: 52:[54, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [54, 8]
Generated Node #0,4,3: 52:[54, 8] Operation: 16-8=8
Exploring Operation: 8+16=24, Resulting Numbers: [54, 24]
Generated Node #0,4,4: 52:[54, 24] Operation: 8+16=24
Moving to Node #0,4,2
Current State: 52:[54, 2], Operations: ['43-27=16', '16/8=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[8, 54, 43, 27], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [8, 54, 16]
Generated Node #0,4: 52:[8, 54, 16] Operation: 43-27=16
Moving to Node #0,4
Current State: 52:[8, 54, 16], Operations: ['43-27=16']
Exploring Operation: 16/8=2, Resulting Numbers: [54, 2]
Generated Node #0,4,2: 52:[54, 2] Operation: 16/8=2
Moving to Node #0,4,2
Current State: 52:[54, 2], Operations: ['43-27=16', '16/8=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 |
hs_5
|
sum_heuristic
|
[
35,
60,
63,
27
] | 81 |
[
"60*63=3780",
"3780/35=108",
"108-27=81"
] |
Current State: 81:[35, 60, 63, 27], Operations: []
Exploring Operation: 60*63=3780, Resulting Numbers: [35, 27, 3780]
Generated Node #2: [35, 27, 3780] from Operation: 60*63=3780
Current State: 81:[35, 27, 3780], Operations: ['60*63=3780']
Exploring Operation: 3780/35=108, Resulting Numbers: [27, 108]
Generated Node #3: [27, 108] from Operation: 3780/35=108
Current State: 81:[27, 108], Operations: ['60*63=3780', '3780/35=108']
Exploring Operation: 108-27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[35, 60, 63, 27], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [35, 27, 3]
Generated Node #0,0: 81:[35, 27, 3] Operation: 63-60=3
Exploring Operation: 63-35=28, Resulting Numbers: [60, 27, 28]
Generated Node #0,1: 81:[60, 27, 28] Operation: 63-35=28
Exploring Operation: 60-35=25, Resulting Numbers: [63, 27, 25]
Generated Node #0,2: 81:[63, 27, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[35, 27, 3], Operations: ['63-60=3']
Exploring Operation: 35-27=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 81:[3, 8] Operation: 35-27=8
Exploring Operation: 27*3=81, Resulting Numbers: [35, 81]
Generated Node #0,0,1: 81:[35, 81] Operation: 27*3=81
Exploring Operation: 35-3=32, Resulting Numbers: [27, 32]
Generated Node #0,0,2: 81:[27, 32] Operation: 35-3=32
Moving to Node #0,0,0
Current State: 81:[3, 8], Operations: ['63-60=3', '35-27=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[27, 32], Operations: ['63-60=3', '35-3=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,81 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[35, 81], Operations: ['63-60=3', '27*3=81']
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,81 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,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,2
Current State: 81:[63, 27, 25], Operations: ['60-35=25']
Exploring Operation: 63+27=90, Resulting Numbers: [25, 90]
Generated Node #0,2,0: 81:[25, 90] Operation: 63+27=90
Exploring Operation: 63-27=36, Resulting Numbers: [25, 36]
Generated Node #0,2,1: 81:[25, 36] Operation: 63-27=36
Exploring Operation: 63+25=88, Resulting Numbers: [27, 88]
Generated Node #0,2,2: 81:[27, 88] Operation: 63+25=88
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[27, 88], Operations: ['60-35=25', '63+25=88']
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,81 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,81 unequal: No Solution
No 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: 81:[25, 90], Operations: ['60-35=25', '63+27=90']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 25*90=2250, Resulting Numbers: [2250]
2250,81 unequal: No Solution
Exploring Operation: 25+90=115, Resulting Numbers: [115]
115,81 unequal: No Solution
No 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: 81:[25, 36], Operations: ['60-35=25', '63-27=36']
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[60, 27, 28], Operations: ['63-35=28']
Exploring Operation: 60-27=33, Resulting Numbers: [28, 33]
Generated Node #0,1,0: 81:[28, 33] Operation: 60-27=33
Exploring Operation: 60+27=87, Resulting Numbers: [28, 87]
Generated Node #0,1,1: 81:[28, 87] Operation: 60+27=87
Exploring Operation: 60-28=32, Resulting Numbers: [27, 32]
Generated Node #0,1,2: 81:[27, 32] Operation: 60-28=32
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[27, 32], Operations: ['63-35=28', '60-28=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,81 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,81 unequal: No Solution
No 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: 81:[28, 33], Operations: ['63-35=28', '60-27=33']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,81 unequal: No Solution
No 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: 81:[28, 87], Operations: ['63-35=28', '60+27=87']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,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_3
|
sum_heuristic
|
[
88,
92,
14,
4
] | 56 |
[
"88/4=22",
"92-14=78",
"78-22=56"
] |
Current State: 56:[88, 92, 14, 4], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [92, 14, 22]
Generated Node #2: [92, 14, 22] from Operation: 88/4=22
Current State: 56:[92, 14, 22], Operations: ['88/4=22']
Exploring Operation: 92-14=78, Resulting Numbers: [22, 78]
Generated Node #3: [22, 78] from Operation: 92-14=78
Current State: 56:[22, 78], Operations: ['88/4=22', '92-14=78']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[88, 92, 14, 4], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [14, 4, 4]
Generated Node #0,0: 56:[14, 4, 4] Operation: 92-88=4
Moving to Node #0,0
Current State: 56:[14, 4, 4], Operations: ['92-88=4']
Exploring Operation: 14*4=56, Resulting Numbers: [4, 56]
Generated Node #0,0,0: 56:[4, 56] Operation: 14*4=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[4, 56], Operations: ['92-88=4', '14*4=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,56 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
|
[
18,
71,
8,
20
] | 61 |
[
"18+71=89",
"8+20=28",
"89-28=61"
] |
Current State: 61:[18, 71, 8, 20], Operations: []
Exploring Operation: 18+71=89, Resulting Numbers: [8, 20, 89]
Generated Node #2: [8, 20, 89] from Operation: 18+71=89
Current State: 61:[8, 20, 89], Operations: ['18+71=89']
Exploring Operation: 8+20=28, Resulting Numbers: [89, 28]
Generated Node #3: [89, 28] from Operation: 8+20=28
Current State: 61:[89, 28], Operations: ['18+71=89', '8+20=28']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[18, 71, 8, 20], Operations: []
Exploring Operation: 18+8=26, Resulting Numbers: [71, 20, 26]
Generated Node #0,0: 61:[71, 20, 26] Operation: 18+8=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[71, 20, 26], Operations: ['18+8=26']
Exploring Operation: 20+26=46, Resulting Numbers: [71, 46]
Generated Node #0,0,0: 61:[71, 46] Operation: 20+26=46
Moving to Node #0,0,0
Current State: 61:[71, 46], Operations: ['18+8=26', '20+26=46']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,61 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
|
[
22,
74,
80,
8
] | 22 |
[
"22+74=96",
"80+96=176",
"176/8=22"
] |
Current State: 22:[22, 74, 80, 8], Operations: []
Exploring Operation: 22+74=96, Resulting Numbers: [80, 8, 96]
Generated Node #2: [80, 8, 96] from Operation: 22+74=96
Current State: 22:[80, 8, 96], Operations: ['22+74=96']
Exploring Operation: 80+96=176, Resulting Numbers: [8, 176]
Generated Node #3: [8, 176] from Operation: 80+96=176
Current State: 22:[8, 176], Operations: ['22+74=96', '80+96=176']
Exploring Operation: 176/8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[22, 74, 80, 8], Operations: []
Exploring Operation: 74-22=52, Resulting Numbers: [80, 8, 52]
Generated Node #0,0: 22:[80, 8, 52] Operation: 74-22=52
Exploring Operation: 80/8=10, Resulting Numbers: [22, 74, 10]
Generated Node #0,1: 22:[22, 74, 10] Operation: 80/8=10
Exploring Operation: 80-22=58, Resulting Numbers: [74, 8, 58]
Generated Node #0,2: 22:[74, 8, 58] Operation: 80-22=58
Exploring Operation: 80-74=6, Resulting Numbers: [22, 8, 6]
Generated Node #0,3: 22:[22, 8, 6] Operation: 80-74=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[22, 8, 6], Operations: ['80-74=6']
Exploring Operation: 8+6=14, Resulting Numbers: [22, 14]
Generated Node #0,3,0: 22:[22, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [22, 2]
Generated Node #0,3,1: 22:[22, 2] Operation: 8-6=2
Exploring Operation: 22-8=14, Resulting Numbers: [6, 14]
Generated Node #0,3,2: 22:[6, 14] Operation: 22-8=14
Exploring Operation: 22-6=16, Resulting Numbers: [8, 16]
Generated Node #0,3,3: 22:[8, 16] Operation: 22-6=16
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 22:[22, 2], Operations: ['80-74=6', '8-6=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 22:[22, 14], Operations: ['80-74=6', '8+6=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,22 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 22:[6, 14], Operations: ['80-74=6', '22-8=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 22:[8, 16], Operations: ['80-74=6', '22-6=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[22, 74, 10], Operations: ['80/8=10']
Exploring Operation: 74-22=52, Resulting Numbers: [10, 52]
Generated Node #0,1,0: 22:[10, 52] Operation: 74-22=52
Exploring Operation: 22-10=12, Resulting Numbers: [74, 12]
Generated Node #0,1,1: 22:[74, 12] Operation: 22-10=12
Exploring Operation: 74-10=64, Resulting Numbers: [22, 64]
Generated Node #0,1,2: 22:[22, 64] Operation: 74-10=64
Exploring Operation: 22+10=32, Resulting Numbers: [74, 32]
Generated Node #0,1,3: 22:[74, 32] Operation: 22+10=32
Moving to Node #0,1,0
Current State: 22:[10, 52], Operations: ['80/8=10', '74-22=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[22, 64], Operations: ['80/8=10', '74-10=64']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 22*64=1408, Resulting Numbers: [1408]
1408,22 unequal: No Solution
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[74, 12], Operations: ['80/8=10', '22-10=12']
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,22 unequal: No Solution
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,22 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[74, 32], Operations: ['80/8=10', '22+10=32']
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,22 unequal: No Solution
No 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: 22:[80, 8, 52], Operations: ['74-22=52']
Exploring Operation: 80-8=72, Resulting Numbers: [52, 72]
Generated Node #0,0,0: 22:[52, 72] Operation: 80-8=72
Exploring Operation: 80-52=28, Resulting Numbers: [8, 28]
Generated Node #0,0,1: 22:[8, 28] Operation: 80-52=28
Exploring Operation: 80/8=10, Resulting Numbers: [52, 10]
Generated Node #0,0,2: 22:[52, 10] Operation: 80/8=10
Exploring Operation: 52-8=44, Resulting Numbers: [80, 44]
Generated Node #0,0,3: 22:[80, 44] Operation: 52-8=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[8, 28], Operations: ['74-22=52', '80-52=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,22 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[52, 10], Operations: ['74-22=52', '80/8=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[52, 72], Operations: ['74-22=52', '80-8=72']
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,22 unequal: No Solution
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,22 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 22:[80, 44], Operations: ['74-22=52', '52-8=44']
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 80*44=3520, Resulting Numbers: [3520]
3520,22 unequal: No Solution
Exploring Operation: 80+44=124, Resulting Numbers: [124]
124,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[74, 8, 58], Operations: ['80-22=58']
Exploring Operation: 58-8=50, Resulting Numbers: [74, 50]
Generated Node #0,2,0: 22:[74, 50] Operation: 58-8=50
Exploring Operation: 74-58=16, Resulting Numbers: [8, 16]
Generated Node #0,2,1: 22:[8, 16] Operation: 74-58=16
Exploring Operation: 74+8=82, Resulting Numbers: [58, 82]
Generated Node #0,2,2: 22:[58, 82] Operation: 74+8=82
Exploring Operation: 74-8=66, Resulting Numbers: [58, 66]
Generated Node #0,2,3: 22:[58, 66] Operation: 74-8=66
Moving to Node #0,2,1
Current State: 22:[8, 16], Operations: ['80-22=58', '74-58=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,22 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[58, 66], Operations: ['80-22=58', '74-8=66']
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,22 unequal: No Solution
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[74, 50], Operations: ['80-22=58', '58-8=50']
Exploring Operation: 74*50=3700, Resulting Numbers: [3700]
3700,22 unequal: No Solution
Exploring Operation: 74+50=124, Resulting Numbers: [124]
124,22 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[58, 82], Operations: ['80-22=58', '74+8=82']
Exploring Operation: 58*82=4756, Resulting Numbers: [4756]
4756,22 unequal: No Solution
Exploring Operation: 58+82=140, Resulting Numbers: [140]
140,22 unequal: No Solution
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,22 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
|
[
3,
78,
26,
75
] | 87 |
[
"3+26=29",
"78-75=3",
"29*3=87"
] |
Current State: 87:[3, 78, 26, 75], Operations: []
Exploring Operation: 3+26=29, Resulting Numbers: [78, 75, 29]
Generated Node #2: [78, 75, 29] from Operation: 3+26=29
Current State: 87:[78, 75, 29], Operations: ['3+26=29']
Exploring Operation: 78-75=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 78-75=3
Current State: 87:[29, 3], Operations: ['3+26=29', '78-75=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 |
Current State: 87:[3, 78, 26, 75], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [78, 26, 25]
Generated Node #0,0: 87:[78, 26, 25] Operation: 75/3=25
Exploring Operation: 78-75=3, Resulting Numbers: [3, 26, 3]
Generated Node #0,1: 87:[3, 26, 3] Operation: 78-75=3
Exploring Operation: 78/26=3, Resulting Numbers: [3, 75, 3]
Generated Node #0,2: 87:[3, 75, 3] Operation: 78/26=3
Moving to Node #0,1
Current State: 87:[3, 26, 3], Operations: ['78-75=3']
Exploring Operation: 26+3=29, Resulting Numbers: [3, 29]
Generated Node #0,1,0: 87:[3, 29] Operation: 26+3=29
Exploring Operation: 3/3=1, Resulting Numbers: [26, 1]
Generated Node #0,1,1: 87:[26, 1] Operation: 3/3=1
Exploring Operation: 3+26=29, Resulting Numbers: [3, 29]
Generated Node #0,1,2: 87:[3, 29] Operation: 3+26=29
Moving to Node #0,2
Current State: 87:[3, 75, 3], Operations: ['78/26=3']
Exploring Operation: 3+75=78, Resulting Numbers: [3, 78]
Generated Node #0,2,0: 87:[3, 78] Operation: 3+75=78
Exploring Operation: 75/3=25, Resulting Numbers: [3, 25]
Generated Node #0,2,1: 87:[3, 25] Operation: 75/3=25
Exploring Operation: 75/3=25, Resulting Numbers: [3, 25]
Generated Node #0,2,2: 87:[3, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[3, 25], Operations: ['78/26=3', '75/3=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,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:[3, 25], Operations: ['78/26=3', '75/3=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[3, 78], Operations: ['78/26=3', '3+75=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 87:[78, 26, 25], Operations: ['75/3=25']
Exploring Operation: 78+25=103, Resulting Numbers: [26, 103]
Generated Node #0,0,0: 87:[26, 103] Operation: 78+25=103
Exploring Operation: 78/26=3, Resulting Numbers: [25, 3]
Generated Node #0,0,1: 87:[25, 3] Operation: 78/26=3
Exploring Operation: 26-25=1, Resulting Numbers: [78, 1]
Generated Node #0,0,2: 87:[78, 1] Operation: 26-25=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[25, 3], Operations: ['75/3=25', '78/26=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,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:[78, 1], Operations: ['75/3=25', '26-25=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,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:[26, 103], Operations: ['75/3=25', '78+25=103']
Exploring Operation: 103-26=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 26*103=2678, Resulting Numbers: [2678]
2678,87 unequal: No Solution
Exploring Operation: 26+103=129, Resulting Numbers: [129]
129,87 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: 87:[3, 29], Operations: ['78-75=3', '26+3=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[3, 78, 26, 75], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [3, 26, 3]
Generated Node #0,1: 87:[3, 26, 3] Operation: 78-75=3
Moving to Node #0,1
Current State: 87:[3, 26, 3], Operations: ['78-75=3']
Exploring Operation: 26+3=29, Resulting Numbers: [3, 29]
Generated Node #0,1,0: 87:[3, 29] Operation: 26+3=29
Moving to Node #0,1,0
Current State: 87:[3, 29], Operations: ['78-75=3', '26+3=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.96875 |
hs_3
|
sum_heuristic
|
[
10,
9,
23,
13
] | 29 |
[
"10+9=19",
"23-13=10",
"19+10=29"
] |
Current State: 29:[10, 9, 23, 13], Operations: []
Exploring Operation: 10+9=19, Resulting Numbers: [23, 13, 19]
Generated Node #2: [23, 13, 19] from Operation: 10+9=19
Current State: 29:[23, 13, 19], Operations: ['10+9=19']
Exploring Operation: 23-13=10, Resulting Numbers: [19, 10]
Generated Node #3: [19, 10] from Operation: 23-13=10
Current State: 29:[19, 10], Operations: ['10+9=19', '23-13=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[10, 9, 23, 13], Operations: []
Exploring Operation: 10+13=23, Resulting Numbers: [9, 23, 23]
Generated Node #0,0: 29:[9, 23, 23] Operation: 10+13=23
Exploring Operation: 10+9=19, Resulting Numbers: [23, 13, 19]
Generated Node #0,1: 29:[23, 13, 19] Operation: 10+9=19
Moving to Node #0,0
Current State: 29:[9, 23, 23], Operations: ['10+13=23']
Exploring Operation: 9+23=32, Resulting Numbers: [23, 32]
Generated Node #0,0,0: 29:[23, 32] Operation: 9+23=32
Exploring Operation: 9+23=32, Resulting Numbers: [23, 32]
Generated Node #0,0,1: 29:[23, 32] Operation: 9+23=32
Moving to Node #0,1
Current State: 29:[23, 13, 19], Operations: ['10+9=19']
Exploring Operation: 13+19=32, Resulting Numbers: [23, 32]
Generated Node #0,1,0: 29:[23, 32] Operation: 13+19=32
Exploring Operation: 23+13=36, Resulting Numbers: [19, 36]
Generated Node #0,1,1: 29:[19, 36] Operation: 23+13=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[23, 32], Operations: ['10+9=19', '13+19=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[19, 36], Operations: ['10+9=19', '23+13=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,29 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: 29:[23, 32], Operations: ['10+13=23', '9+23=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[23, 32], Operations: ['10+13=23', '9+23=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,29 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
66,
24,
23,
46
] | 21 |
[
"66+24=90",
"23+46=69",
"90-69=21"
] |
Current State: 21:[66, 24, 23, 46], Operations: []
Exploring Operation: 66+24=90, Resulting Numbers: [23, 46, 90]
Generated Node #2: [23, 46, 90] from Operation: 66+24=90
Current State: 21:[23, 46, 90], Operations: ['66+24=90']
Exploring Operation: 23+46=69, Resulting Numbers: [90, 69]
Generated Node #3: [90, 69] from Operation: 23+46=69
Current State: 21:[90, 69], Operations: ['66+24=90', '23+46=69']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[66, 24, 23, 46], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [23, 46, 42]
Generated Node #0,0: 21:[23, 46, 42] Operation: 66-24=42
Exploring Operation: 46/23=2, Resulting Numbers: [66, 24, 2]
Generated Node #0,1: 21:[66, 24, 2] Operation: 46/23=2
Exploring Operation: 46-24=22, Resulting Numbers: [66, 23, 22]
Generated Node #0,2: 21:[66, 23, 22] Operation: 46-24=22
Exploring Operation: 66-23=43, Resulting Numbers: [24, 46, 43]
Generated Node #0,3: 21:[24, 46, 43] Operation: 66-23=43
Exploring Operation: 66-46=20, Resulting Numbers: [24, 23, 20]
Generated Node #0,4: 21:[24, 23, 20] Operation: 66-46=20
Moving to Node #0,4
Current State: 21:[24, 23, 20], Operations: ['66-46=20']
Exploring Operation: 24+20=44, Resulting Numbers: [23, 44]
Generated Node #0,4,0: 21:[23, 44] Operation: 24+20=44
Exploring Operation: 23+20=43, Resulting Numbers: [24, 43]
Generated Node #0,4,1: 21:[24, 43] Operation: 23+20=43
Exploring Operation: 24-20=4, Resulting Numbers: [23, 4]
Generated Node #0,4,2: 21:[23, 4] Operation: 24-20=4
Exploring Operation: 23-20=3, Resulting Numbers: [24, 3]
Generated Node #0,4,3: 21:[24, 3] Operation: 23-20=3
Exploring Operation: 24-23=1, Resulting Numbers: [20, 1]
Generated Node #0,4,4: 21:[20, 1] Operation: 24-23=1
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 21:[23, 4], Operations: ['66-46=20', '24-20=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,21 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,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,4,3
Current State: 21:[24, 3], Operations: ['66-46=20', '23-20=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[66, 24, 23, 46], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [24, 23, 20]
Generated Node #0,4: 21:[24, 23, 20] Operation: 66-46=20
Moving to Node #0,4
Current State: 21:[24, 23, 20], Operations: ['66-46=20']
Exploring Operation: 23-20=3, Resulting Numbers: [24, 3]
Generated Node #0,4,3: 21:[24, 3] Operation: 23-20=3
Moving to Node #0,4,3
Current State: 21:[24, 3], Operations: ['66-46=20', '23-20=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_5
|
mult_heuristic
|
[
20,
25,
28,
33
] | 25 |
[
"25-20=5",
"33-28=5",
"5*5=25"
] |
Current State: 25:[20, 25, 28, 33], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [28, 33, 5]
Generated Node #2: [28, 33, 5] from Operation: 25-20=5
Current State: 25:[28, 33, 5], Operations: ['25-20=5']
Exploring Operation: 33-28=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 33-28=5
Current State: 25:[5, 5], Operations: ['25-20=5', '33-28=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[20, 25, 28, 33], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [28, 33, 5]
Generated Node #0,0: 25:[28, 33, 5] Operation: 25-20=5
Exploring Operation: 33-28=5, Resulting Numbers: [20, 25, 5]
Generated Node #0,1: 25:[20, 25, 5] Operation: 33-28=5
Exploring Operation: 28-20=8, Resulting Numbers: [25, 33, 8]
Generated Node #0,2: 25:[25, 33, 8] Operation: 28-20=8
Moving to Node #0,1
Current State: 25:[20, 25, 5], Operations: ['33-28=5']
Exploring Operation: 25-20=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 25:[5, 5] Operation: 25-20=5
Exploring Operation: 20+5=25, Resulting Numbers: [25, 25]
Generated Node #0,1,1: 25:[25, 25] Operation: 20+5=25
Exploring Operation: 20/5=4, Resulting Numbers: [25, 4]
Generated Node #0,1,2: 25:[25, 4] Operation: 20/5=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[5, 5], Operations: ['33-28=5', '25-20=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[20, 25, 28, 33], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [20, 25, 5]
Generated Node #0,1: 25:[20, 25, 5] Operation: 33-28=5
Moving to Node #0,1
Current State: 25:[20, 25, 5], Operations: ['33-28=5']
Exploring Operation: 25-20=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 25:[5, 5] Operation: 25-20=5
Moving to Node #0,1,0
Current State: 25:[5, 5], Operations: ['33-28=5', '25-20=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
72,
9,
27,
55
] | 90 |
[
"72/9=8",
"27+55=82",
"8+82=90"
] |
Current State: 90:[72, 9, 27, 55], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [27, 55, 8]
Generated Node #2: [27, 55, 8] from Operation: 72/9=8
Current State: 90:[27, 55, 8], Operations: ['72/9=8']
Exploring Operation: 27+55=82, Resulting Numbers: [8, 82]
Generated Node #3: [8, 82] from Operation: 27+55=82
Current State: 90:[8, 82], Operations: ['72/9=8', '27+55=82']
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[72, 9, 27, 55], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [9, 27, 17]
Generated Node #0,0: 90:[9, 27, 17] Operation: 72-55=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[9, 27, 17], Operations: ['72-55=17']
Exploring Operation: 27-17=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 90:[9, 10] Operation: 27-17=10
Moving to Node #0,0,0
Current State: 90:[9, 10], Operations: ['72-55=17', '27-17=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[72, 9, 27, 55], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [9, 27, 17]
Generated Node #0,0: 90:[9, 27, 17] Operation: 72-55=17
Moving to Node #0,0
Current State: 90:[9, 27, 17], Operations: ['72-55=17']
Exploring Operation: 27-17=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 90:[9, 10] Operation: 27-17=10
Moving to Node #0,0,0
Current State: 90:[9, 10], Operations: ['72-55=17', '27-17=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
48,
21,
21,
21
] | 28 |
[
"48-21=27",
"21/21=1",
"27+1=28"
] |
Current State: 28:[48, 21, 21, 21], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,28 equal: Goal Reached
Exploring Operation: 21/21=1, Resulting Numbers: [27, 1]
Generated Node #2: [27, 1] from Operation: 21/21=1
Current State: 28:[27, 1], Operations: ['21/21=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[48, 21, 21, 21], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [21, 21, 27]
Generated Node #0,0: 28:[21, 21, 27] Operation: 48-21=27
Exploring Operation: 48-21=27, Resulting Numbers: [21, 21, 27]
Generated Node #0,1: 28:[21, 21, 27] Operation: 48-21=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[21, 21, 27], Operations: ['48-21=27']
Exploring Operation: 21/21=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 28:[27, 1] Operation: 21/21=1
Exploring Operation: 21-21=0, Resulting Numbers: [27, 0]
Generated Node #0,0,1: 28:[27, 0] Operation: 21-21=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[27, 1], Operations: ['48-21=27', '21/21=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[48, 21, 21, 21], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [21, 21, 27]
Generated Node #0,0: 28:[21, 21, 27] Operation: 48-21=27
Moving to Node #0,0
Current State: 28:[21, 21, 27], Operations: ['48-21=27']
Exploring Operation: 21/21=1, Resulting Numbers: [27, 1]
Generated Node #0,0,0: 28:[27, 1] Operation: 21/21=1
Moving to Node #0,0,0
Current State: 28:[27, 1], Operations: ['48-21=27', '21/21=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
8,
72,
50,
28
] | 86 |
[
"72-8=64",
"50-28=22",
"64+22=86"
] |
Current State: 86:[8, 72, 50, 28], Operations: []
Exploring Operation: 72-8=64, Resulting Numbers: [50, 28, 64]
Generated Node #2: [50, 28, 64] from Operation: 72-8=64
Current State: 86:[50, 28, 64], Operations: ['72-8=64']
Exploring Operation: 50-28=22, Resulting Numbers: [64, 22]
Generated Node #3: [64, 22] from Operation: 50-28=22
Current State: 86:[64, 22], Operations: ['72-8=64', '50-28=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[8, 72, 50, 28], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [8, 50, 44]
Generated Node #0,0: 86:[8, 50, 44] Operation: 72-28=44
Moving to Node #0,0
Current State: 86:[8, 50, 44], Operations: ['72-28=44']
Exploring Operation: 50-8=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 86:[44, 42] Operation: 50-8=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[44, 42], Operations: ['72-28=44', '50-8=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[8, 72, 50, 28], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [8, 50, 44]
Generated Node #0,0: 86:[8, 50, 44] Operation: 72-28=44
Moving to Node #0,0
Current State: 86:[8, 50, 44], Operations: ['72-28=44']
Exploring Operation: 50-8=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 86:[44, 42] Operation: 50-8=42
Moving to Node #0,0,0
Current State: 86:[44, 42], Operations: ['72-28=44', '50-8=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
61,
74,
86,
94
] | 45 |
[
"61+74=135",
"86+94=180",
"180-135=45"
] |
Current State: 45:[61, 74, 86, 94], Operations: []
Exploring Operation: 61+74=135, Resulting Numbers: [86, 94, 135]
Generated Node #2: [86, 94, 135] from Operation: 61+74=135
Current State: 45:[86, 94, 135], Operations: ['61+74=135']
Exploring Operation: 86+94=180, Resulting Numbers: [135, 180]
Generated Node #3: [135, 180] from Operation: 86+94=180
Current State: 45:[135, 180], Operations: ['61+74=135', '86+94=180']
Exploring Operation: 180-135=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[61, 74, 86, 94], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [61, 74, 8]
Generated Node #0,0: 45:[61, 74, 8] Operation: 94-86=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[61, 74, 8], Operations: ['94-86=8']
Exploring Operation: 74-61=13, Resulting Numbers: [8, 13]
Generated Node #0,0,0: 45:[8, 13] Operation: 74-61=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[8, 13], Operations: ['94-86=8', '74-61=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,45 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
|
[
49,
36,
60,
57
] | 32 |
[
"49+36=85",
"60+57=117",
"117-85=32"
] |
Current State: 32:[49, 36, 60, 57], Operations: []
Exploring Operation: 49+36=85, Resulting Numbers: [60, 57, 85]
Generated Node #2: [60, 57, 85] from Operation: 49+36=85
Current State: 32:[60, 57, 85], Operations: ['49+36=85']
Exploring Operation: 60+57=117, Resulting Numbers: [85, 117]
Generated Node #3: [85, 117] from Operation: 60+57=117
Current State: 32:[85, 117], Operations: ['49+36=85', '60+57=117']
Exploring Operation: 117-85=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[49, 36, 60, 57], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [49, 60, 21]
Generated Node #0,0: 32:[49, 60, 21] Operation: 57-36=21
Exploring Operation: 60-57=3, Resulting Numbers: [49, 36, 3]
Generated Node #0,1: 32:[49, 36, 3] Operation: 60-57=3
Exploring Operation: 60-49=11, Resulting Numbers: [36, 57, 11]
Generated Node #0,2: 32:[36, 57, 11] Operation: 60-49=11
Exploring Operation: 60-36=24, Resulting Numbers: [49, 57, 24]
Generated Node #0,3: 32:[49, 57, 24] Operation: 60-36=24
Exploring Operation: 57-49=8, Resulting Numbers: [36, 60, 8]
Generated Node #0,4: 32:[36, 60, 8] Operation: 57-49=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[49, 36, 3], Operations: ['60-57=3']
Exploring Operation: 49-36=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 32:[3, 13] Operation: 49-36=13
Exploring Operation: 36/3=12, Resulting Numbers: [49, 12]
Generated Node #0,1,1: 32:[49, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [49, 33]
Generated Node #0,1,2: 32:[49, 33] Operation: 36-3=33
Exploring Operation: 49-3=46, Resulting Numbers: [36, 46]
Generated Node #0,1,3: 32:[36, 46] Operation: 49-3=46
Exploring Operation: 49+3=52, Resulting Numbers: [36, 52]
Generated Node #0,1,4: 32:[36, 52] Operation: 49+3=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[3, 13], Operations: ['60-57=3', '49-36=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[49, 33], Operations: ['60-57=3', '36-3=33']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,32 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,32 unequal: No Solution
No 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: 32:[36, 46], Operations: ['60-57=3', '49-3=46']
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,32 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,32 unequal: No Solution
No 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: 32:[49, 12], Operations: ['60-57=3', '36/3=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,32 unequal: No Solution
No 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: 32:[36, 52], Operations: ['60-57=3', '49+3=52']
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,32 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,32 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: 32:[36, 57, 11], Operations: ['60-49=11']
Exploring Operation: 36+11=47, Resulting Numbers: [57, 47]
Generated Node #0,2,0: 32:[57, 47] Operation: 36+11=47
Exploring Operation: 57-11=46, Resulting Numbers: [36, 46]
Generated Node #0,2,1: 32:[36, 46] Operation: 57-11=46
Exploring Operation: 57-36=21, Resulting Numbers: [11, 21]
Generated Node #0,2,2: 32:[11, 21] Operation: 57-36=21
Exploring Operation: 57+11=68, Resulting Numbers: [36, 68]
Generated Node #0,2,3: 32:[36, 68] Operation: 57+11=68
Exploring Operation: 36-11=25, Resulting Numbers: [57, 25]
Generated Node #0,2,4: 32:[57, 25] Operation: 36-11=25
Moving to Node #0,2,2
Current State: 32:[11, 21], Operations: ['60-49=11', '57-36=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[49, 36, 60, 57], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [36, 57, 11]
Generated Node #0,2: 32:[36, 57, 11] Operation: 60-49=11
Moving to Node #0,2
Current State: 32:[36, 57, 11], Operations: ['60-49=11']
Exploring Operation: 57-36=21, Resulting Numbers: [11, 21]
Generated Node #0,2,2: 32:[11, 21] Operation: 57-36=21
Moving to Node #0,2,2
Current State: 32:[11, 21], Operations: ['60-49=11', '57-36=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 |
hs_5
|
mult_heuristic
|
[
6,
52,
7,
98
] | 72 |
[
"6+52=58",
"98/7=14",
"58+14=72"
] |
Current State: 72:[6, 52, 7, 98], Operations: []
Exploring Operation: 6+52=58, Resulting Numbers: [7, 98, 58]
Generated Node #2: [7, 98, 58] from Operation: 6+52=58
Current State: 72:[7, 98, 58], Operations: ['6+52=58']
Exploring Operation: 98/7=14, Resulting Numbers: [58, 14]
Generated Node #3: [58, 14] from Operation: 98/7=14
Current State: 72:[58, 14], Operations: ['6+52=58', '98/7=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[6, 52, 7, 98], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [6, 7, 46]
Generated Node #0,0: 72:[6, 7, 46] Operation: 98-52=46
Exploring Operation: 98/7=14, Resulting Numbers: [6, 52, 14]
Generated Node #0,1: 72:[6, 52, 14] Operation: 98/7=14
Moving to Node #0,0
Current State: 72:[6, 7, 46], Operations: ['98-52=46']
Exploring Operation: 46-7=39, Resulting Numbers: [6, 39]
Generated Node #0,0,0: 72:[6, 39] Operation: 46-7=39
Exploring Operation: 46-6=40, Resulting Numbers: [7, 40]
Generated Node #0,0,1: 72:[7, 40] Operation: 46-6=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[6, 39], Operations: ['98-52=46', '46-7=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[7, 40], Operations: ['98-52=46', '46-6=40']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,72 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: 72:[6, 52, 14], Operations: ['98/7=14']
Exploring Operation: 52+14=66, Resulting Numbers: [6, 66]
Generated Node #0,1,0: 72:[6, 66] Operation: 52+14=66
Exploring Operation: 52-14=38, Resulting Numbers: [6, 38]
Generated Node #0,1,1: 72:[6, 38] Operation: 52-14=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[6, 38], Operations: ['98/7=14', '52-14=38']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[6, 66], Operations: ['98/7=14', '52+14=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[6, 52, 7, 98], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [6, 52, 14]
Generated Node #0,1: 72:[6, 52, 14] Operation: 98/7=14
Moving to Node #0,1
Current State: 72:[6, 52, 14], Operations: ['98/7=14']
Exploring Operation: 52+14=66, Resulting Numbers: [6, 66]
Generated Node #0,1,0: 72:[6, 66] Operation: 52+14=66
Moving to Node #0,1,0
Current State: 72:[6, 66], Operations: ['98/7=14', '52+14=66']
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_2
|
sum_heuristic
|
[
20,
25,
43,
2
] | 53 |
[
"25-20=5",
"2*5=10",
"43+10=53"
] |
Current State: 53:[20, 25, 43, 2], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [43, 2, 5]
Generated Node #2: [43, 2, 5] from Operation: 25-20=5
Current State: 53:[43, 2, 5], Operations: ['25-20=5']
Exploring Operation: 2*5=10, Resulting Numbers: [43, 10]
Generated Node #3: [43, 10] from Operation: 2*5=10
Current State: 53:[43, 10], Operations: ['25-20=5', '2*5=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[20, 25, 43, 2], Operations: []
Exploring Operation: 25*2=50, Resulting Numbers: [20, 43, 50]
Generated Node #0,0: 53:[20, 43, 50] Operation: 25*2=50
Moving to Node #0,0
Current State: 53:[20, 43, 50], Operations: ['25*2=50']
Exploring Operation: 20+43=63, Resulting Numbers: [50, 63]
Generated Node #0,0,0: 53:[50, 63] Operation: 20+43=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[50, 63], Operations: ['25*2=50', '20+43=63']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,53 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
|
[
44,
38,
69,
21
] | 96 |
[
"44-38=6",
"69+21=90",
"6+90=96"
] |
Current State: 96:[44, 38, 69, 21], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [69, 21, 6]
Generated Node #2: [69, 21, 6] from Operation: 44-38=6
Current State: 96:[69, 21, 6], Operations: ['44-38=6']
Exploring Operation: 69+21=90, Resulting Numbers: [6, 90]
Generated Node #3: [6, 90] from Operation: 69+21=90
Current State: 96:[6, 90], Operations: ['44-38=6', '69+21=90']
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[44, 38, 69, 21], Operations: []
Exploring Operation: 69-21=48, Resulting Numbers: [44, 38, 48]
Generated Node #0,0: 96:[44, 38, 48] Operation: 69-21=48
Exploring Operation: 69-44=25, Resulting Numbers: [38, 21, 25]
Generated Node #0,1: 96:[38, 21, 25] Operation: 69-44=25
Exploring Operation: 69-38=31, Resulting Numbers: [44, 21, 31]
Generated Node #0,2: 96:[44, 21, 31] Operation: 69-38=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[44, 21, 31], Operations: ['69-38=31']
Exploring Operation: 44-21=23, Resulting Numbers: [31, 23]
Generated Node #0,2,0: 96:[31, 23] Operation: 44-21=23
Exploring Operation: 44-31=13, Resulting Numbers: [21, 13]
Generated Node #0,2,1: 96:[21, 13] Operation: 44-31=13
Exploring Operation: 31-21=10, Resulting Numbers: [44, 10]
Generated Node #0,2,2: 96:[44, 10] Operation: 31-21=10
Moving to Node #0,2,0
Current State: 96:[31, 23], Operations: ['69-38=31', '44-21=23']
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,96 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[21, 13], Operations: ['69-38=31', '44-31=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[44, 10], Operations: ['69-38=31', '31-21=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[44, 38, 48], Operations: ['69-21=48']
Exploring Operation: 44-38=6, Resulting Numbers: [48, 6]
Generated Node #0,0,0: 96:[48, 6] Operation: 44-38=6
Exploring Operation: 48-38=10, Resulting Numbers: [44, 10]
Generated Node #0,0,1: 96:[44, 10] Operation: 48-38=10
Exploring Operation: 48-44=4, Resulting Numbers: [38, 4]
Generated Node #0,0,2: 96:[38, 4] Operation: 48-44=4
Moving to Node #0,0,0
Current State: 96:[48, 6], Operations: ['69-21=48', '44-38=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[44, 10], Operations: ['69-21=48', '48-38=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[38, 4], Operations: ['69-21=48', '48-44=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,96 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[38, 21, 25], Operations: ['69-44=25']
Exploring Operation: 38-25=13, Resulting Numbers: [21, 13]
Generated Node #0,1,0: 96:[21, 13] Operation: 38-25=13
Exploring Operation: 38-21=17, Resulting Numbers: [25, 17]
Generated Node #0,1,1: 96:[25, 17] Operation: 38-21=17
Exploring Operation: 25-21=4, Resulting Numbers: [38, 4]
Generated Node #0,1,2: 96:[38, 4] Operation: 25-21=4
Moving to Node #0,1,1
Current State: 96:[25, 17], Operations: ['69-44=25', '38-21=17']
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,96 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[21, 13], Operations: ['69-44=25', '38-25=13']
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,96 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[38, 4], Operations: ['69-44=25', '25-21=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,96 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,96 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
|
[
56,
77,
87,
10
] | 57 |
[
"87-77=10",
"10/10=1",
"56+1=57"
] |
Current State: 57:[56, 77, 87, 10], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [56, 10, 10]
Generated Node #2: [56, 10, 10] from Operation: 87-77=10
Current State: 57:[56, 10, 10], Operations: ['87-77=10']
Exploring Operation: 10/10=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 10/10=1
Current State: 57:[56, 1], Operations: ['87-77=10', '10/10=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[56, 77, 87, 10], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [87, 10, 21]
Generated Node #0,0: 57:[87, 10, 21] Operation: 77-56=21
Exploring Operation: 87-56=31, Resulting Numbers: [77, 10, 31]
Generated Node #0,1: 57:[77, 10, 31] Operation: 87-56=31
Exploring Operation: 87-77=10, Resulting Numbers: [56, 10, 10]
Generated Node #0,2: 57:[56, 10, 10] Operation: 87-77=10
Exploring Operation: 77-10=67, Resulting Numbers: [56, 87, 67]
Generated Node #0,3: 57:[56, 87, 67] Operation: 77-10=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[56, 10, 10], Operations: ['87-77=10']
Exploring Operation: 56+10=66, Resulting Numbers: [10, 66]
Generated Node #0,2,0: 57:[10, 66] Operation: 56+10=66
Exploring Operation: 10+10=20, Resulting Numbers: [56, 20]
Generated Node #0,2,1: 57:[56, 20] Operation: 10+10=20
Exploring Operation: 10/10=1, Resulting Numbers: [56, 1]
Generated Node #0,2,2: 57:[56, 1] Operation: 10/10=1
Exploring Operation: 10-10=0, Resulting Numbers: [56, 0]
Generated Node #0,2,3: 57:[56, 0] Operation: 10-10=0
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[56, 20], Operations: ['87-77=10', '10+10=20']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,57 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No 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: 57:[56, 1], Operations: ['87-77=10', '10/10=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[56, 77, 87, 10], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [56, 10, 10]
Generated Node #0,2: 57:[56, 10, 10] Operation: 87-77=10
Moving to Node #0,2
Current State: 57:[56, 10, 10], Operations: ['87-77=10']
Exploring Operation: 10/10=1, Resulting Numbers: [56, 1]
Generated Node #0,2,2: 57:[56, 1] Operation: 10/10=1
Moving to Node #0,2,2
Current State: 57:[56, 1], Operations: ['87-77=10', '10/10=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 |
hs_4
|
mult_heuristic
|
[
76,
77,
2,
30
] | 18 |
[
"77-30=47",
"2*47=94",
"94-76=18"
] |
Current State: 18:[76, 77, 2, 30], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [76, 2, 47]
Generated Node #2: [76, 2, 47] from Operation: 77-30=47
Current State: 18:[76, 2, 47], Operations: ['77-30=47']
Exploring Operation: 2*47=94, Resulting Numbers: [76, 94]
Generated Node #3: [76, 94] from Operation: 2*47=94
Current State: 18:[76, 94], Operations: ['77-30=47', '2*47=94']
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[76, 77, 2, 30], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [2, 30, 1]
Generated Node #0,0: 18:[2, 30, 1] Operation: 77-76=1
Exploring Operation: 76-30=46, Resulting Numbers: [77, 2, 46]
Generated Node #0,1: 18:[77, 2, 46] Operation: 76-30=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[2, 30, 1], Operations: ['77-76=1']
Exploring Operation: 30-2=28, Resulting Numbers: [1, 28]
Generated Node #0,0,0: 18:[1, 28] Operation: 30-2=28
Exploring Operation: 30/2=15, Resulting Numbers: [1, 15]
Generated Node #0,0,1: 18:[1, 15] Operation: 30/2=15
Moving to Node #0,0,1
Current State: 18:[1, 15], Operations: ['77-76=1', '30/2=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[1, 28], Operations: ['77-76=1', '30-2=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,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
Current State: 18:[77, 2, 46], Operations: ['76-30=46']
Exploring Operation: 46/2=23, Resulting Numbers: [77, 23]
Generated Node #0,1,0: 18:[77, 23] Operation: 46/2=23
Exploring Operation: 77-46=31, Resulting Numbers: [2, 31]
Generated Node #0,1,1: 18:[2, 31] Operation: 77-46=31
Moving to Node #0,1,1
Current State: 18:[2, 31], Operations: ['76-30=46', '77-46=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[77, 23], Operations: ['76-30=46', '46/2=23']
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,18 unequal: No Solution
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
18,
80,
56,
49
] | 43 |
[
"80-18=62",
"56+49=105",
"105-62=43"
] |
Current State: 43:[18, 80, 56, 49], Operations: []
Exploring Operation: 80-18=62, Resulting Numbers: [56, 49, 62]
Generated Node #2: [56, 49, 62] from Operation: 80-18=62
Current State: 43:[56, 49, 62], Operations: ['80-18=62']
Exploring Operation: 56+49=105, Resulting Numbers: [62, 105]
Generated Node #3: [62, 105] from Operation: 56+49=105
Current State: 43:[62, 105], Operations: ['80-18=62', '56+49=105']
Exploring Operation: 105-62=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[18, 80, 56, 49], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [18, 49, 24]
Generated Node #0,0: 43:[18, 49, 24] Operation: 80-56=24
Exploring Operation: 80-18=62, Resulting Numbers: [56, 49, 62]
Generated Node #0,1: 43:[56, 49, 62] Operation: 80-18=62
Exploring Operation: 56-18=38, Resulting Numbers: [80, 49, 38]
Generated Node #0,2: 43:[80, 49, 38] Operation: 56-18=38
Moving to Node #0,1
Current State: 43:[56, 49, 62], Operations: ['80-18=62']
Exploring Operation: 62-49=13, Resulting Numbers: [56, 13]
Generated Node #0,1,0: 43:[56, 13] Operation: 62-49=13
Exploring Operation: 62-56=6, Resulting Numbers: [49, 6]
Generated Node #0,1,1: 43:[49, 6] Operation: 62-56=6
Exploring Operation: 56-49=7, Resulting Numbers: [62, 7]
Generated Node #0,1,2: 43:[62, 7] Operation: 56-49=7
Moving to Node #0,2
Current State: 43:[80, 49, 38], Operations: ['56-18=38']
Exploring Operation: 80-49=31, Resulting Numbers: [38, 31]
Generated Node #0,2,0: 43:[38, 31] Operation: 80-49=31
Exploring Operation: 80-38=42, Resulting Numbers: [49, 42]
Generated Node #0,2,1: 43:[49, 42] Operation: 80-38=42
Exploring Operation: 49-38=11, Resulting Numbers: [80, 11]
Generated Node #0,2,2: 43:[80, 11] Operation: 49-38=11
Moving to Node #0,0
Current State: 43:[18, 49, 24], Operations: ['80-56=24']
Exploring Operation: 18+24=42, Resulting Numbers: [49, 42]
Generated Node #0,0,0: 43:[49, 42] Operation: 18+24=42
Exploring Operation: 18+49=67, Resulting Numbers: [24, 67]
Generated Node #0,0,1: 43:[24, 67] Operation: 18+49=67
Exploring Operation: 49-18=31, Resulting Numbers: [24, 31]
Generated Node #0,0,2: 43:[24, 31] Operation: 49-18=31
Moving to Node #0,2,1
Current State: 43:[49, 42], Operations: ['56-18=38', '80-38=42']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,43 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[49, 42], Operations: ['80-56=24', '18+24=42']
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,43 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[38, 31], Operations: ['56-18=38', '80-49=31']
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,43 unequal: No Solution
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[24, 31], Operations: ['80-56=24', '49-18=31']
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,43 unequal: No Solution
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[24, 67], Operations: ['80-56=24', '18+49=67']
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,43 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[18, 80, 56, 49], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [18, 49, 24]
Generated Node #0,0: 43:[18, 49, 24] Operation: 80-56=24
Moving to Node #0,0
Current State: 43:[18, 49, 24], Operations: ['80-56=24']
Exploring Operation: 18+49=67, Resulting Numbers: [24, 67]
Generated Node #0,0,1: 43:[24, 67] Operation: 18+49=67
Moving to Node #0,0,1
Current State: 43:[24, 67], Operations: ['80-56=24', '18+49=67']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.97309 |
hs_3
|
mult_heuristic
|
[
26,
2,
19,
76
] | 96 |
[
"26-2=24",
"76/19=4",
"24*4=96"
] |
Current State: 96:[26, 2, 19, 76], Operations: []
Exploring Operation: 26-2=24, Resulting Numbers: [19, 76, 24]
Generated Node #2: [19, 76, 24] from Operation: 26-2=24
Current State: 96:[19, 76, 24], Operations: ['26-2=24']
Exploring Operation: 76/19=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 76/19=4
Current State: 96:[24, 4], Operations: ['26-2=24', '76/19=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[26, 2, 19, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [26, 2, 4]
Generated Node #0,0: 96:[26, 2, 4] Operation: 76/19=4
Exploring Operation: 19+76=95, Resulting Numbers: [26, 2, 95]
Generated Node #0,1: 96:[26, 2, 95] Operation: 19+76=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[26, 2, 4], Operations: ['76/19=4']
Exploring Operation: 26/2=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 96:[4, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 96:[4, 24] Operation: 26-2=24
Moving to Node #0,0,1
Current State: 96:[4, 24], Operations: ['76/19=4', '26-2=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[26, 2, 19, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [26, 2, 4]
Generated Node #0,0: 96:[26, 2, 4] Operation: 76/19=4
Moving to Node #0,0
Current State: 96:[26, 2, 4], Operations: ['76/19=4']
Exploring Operation: 26-2=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 96:[4, 24] Operation: 26-2=24
Moving to Node #0,0,1
Current State: 96:[4, 24], Operations: ['76/19=4', '26-2=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
70,
53,
45,
56
] | 85 |
[
"56-53=3",
"45/3=15",
"70+15=85"
] |
Current State: 85:[70, 53, 45, 56], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [70, 45, 3]
Generated Node #2: [70, 45, 3] from Operation: 56-53=3
Current State: 85:[70, 45, 3], Operations: ['56-53=3']
Exploring Operation: 45/3=15, Resulting Numbers: [70, 15]
Generated Node #3: [70, 15] from Operation: 45/3=15
Current State: 85:[70, 15], Operations: ['56-53=3', '45/3=15']
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[70, 53, 45, 56], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [45, 56, 17]
Generated Node #0,0: 85:[45, 56, 17] Operation: 70-53=17
Exploring Operation: 56-45=11, Resulting Numbers: [70, 53, 11]
Generated Node #0,1: 85:[70, 53, 11] Operation: 56-45=11
Exploring Operation: 53-45=8, Resulting Numbers: [70, 56, 8]
Generated Node #0,2: 85:[70, 56, 8] Operation: 53-45=8
Exploring Operation: 56-53=3, Resulting Numbers: [70, 45, 3]
Generated Node #0,3: 85:[70, 45, 3] Operation: 56-53=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[70, 45, 3], Operations: ['56-53=3']
Exploring Operation: 70-45=25, Resulting Numbers: [3, 25]
Generated Node #0,3,0: 85:[3, 25] Operation: 70-45=25
Exploring Operation: 70+3=73, Resulting Numbers: [45, 73]
Generated Node #0,3,1: 85:[45, 73] Operation: 70+3=73
Exploring Operation: 70+45=115, Resulting Numbers: [3, 115]
Generated Node #0,3,2: 85:[3, 115] Operation: 70+45=115
Exploring Operation: 45/3=15, Resulting Numbers: [70, 15]
Generated Node #0,3,3: 85:[70, 15] Operation: 45/3=15
Moving to Node #0,3,0
Current State: 85:[3, 25], Operations: ['56-53=3', '70-45=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[70, 15], Operations: ['56-53=3', '45/3=15']
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,85 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[70, 53, 45, 56], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [70, 45, 3]
Generated Node #0,3: 85:[70, 45, 3] Operation: 56-53=3
Moving to Node #0,3
Current State: 85:[70, 45, 3], Operations: ['56-53=3']
Exploring Operation: 45/3=15, Resulting Numbers: [70, 15]
Generated Node #0,3,3: 85:[70, 15] Operation: 45/3=15
Moving to Node #0,3,3
Current State: 85:[70, 15], Operations: ['56-53=3', '45/3=15']
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_4
|
mult_heuristic
|
[
46,
32,
13,
30
] | 30 |
[
"46-32=14",
"14-13=1",
"30*1=30"
] |
Current State: 30:[46, 32, 13, 30], Operations: []
Exploring Operation: 46-32=14, Resulting Numbers: [13, 30, 14]
Generated Node #2: [13, 30, 14] from Operation: 46-32=14
Current State: 30:[13, 30, 14], Operations: ['46-32=14']
Exploring Operation: 14-13=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 14-13=1
Current State: 30:[30, 1], Operations: ['46-32=14', '14-13=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[46, 32, 13, 30], Operations: []
Exploring Operation: 46-32=14, Resulting Numbers: [13, 30, 14]
Generated Node #0,0: 30:[13, 30, 14] Operation: 46-32=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[13, 30, 14], Operations: ['46-32=14']
Exploring Operation: 14-13=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 30:[30, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 30:[30, 1], Operations: ['46-32=14', '14-13=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[46, 32, 13, 30], Operations: []
Exploring Operation: 46-32=14, Resulting Numbers: [13, 30, 14]
Generated Node #0,0: 30:[13, 30, 14] Operation: 46-32=14
Moving to Node #0,0
Current State: 30:[13, 30, 14], Operations: ['46-32=14']
Exploring Operation: 14-13=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 30:[30, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 30:[30, 1], Operations: ['46-32=14', '14-13=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
56,
4,
52,
34
] | 50 |
[
"56-52=4",
"4*4=16",
"34+16=50"
] |
Current State: 50:[56, 4, 52, 34], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [4, 34, 4]
Generated Node #2: [4, 34, 4] from Operation: 56-52=4
Current State: 50:[4, 34, 4], Operations: ['56-52=4']
Exploring Operation: 4*4=16, Resulting Numbers: [34, 16]
Generated Node #3: [34, 16] from Operation: 4*4=16
Current State: 50:[34, 16], Operations: ['56-52=4', '4*4=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[56, 4, 52, 34], Operations: []
Exploring Operation: 56-4=52, Resulting Numbers: [52, 34, 52]
Generated Node #0,0: 50:[52, 34, 52] Operation: 56-4=52
Exploring Operation: 56-52=4, Resulting Numbers: [4, 34, 4]
Generated Node #0,1: 50:[4, 34, 4] Operation: 56-52=4
Exploring Operation: 56-34=22, Resulting Numbers: [4, 52, 22]
Generated Node #0,2: 50:[4, 52, 22] Operation: 56-34=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[4, 52, 22], Operations: ['56-34=22']
Exploring Operation: 4+22=26, Resulting Numbers: [52, 26]
Generated Node #0,2,0: 50:[52, 26] Operation: 4+22=26
Exploring Operation: 52-4=48, Resulting Numbers: [22, 48]
Generated Node #0,2,1: 50:[22, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [22, 13]
Generated Node #0,2,2: 50:[22, 13] Operation: 52/4=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[52, 26], Operations: ['56-34=22', '4+22=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[22, 48], Operations: ['56-34=22', '52-4=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[22, 13], Operations: ['56-34=22', '52/4=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,50 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: 50:[4, 34, 4], Operations: ['56-52=4']
Exploring Operation: 34-4=30, Resulting Numbers: [4, 30]
Generated Node #0,1,0: 50:[4, 30] Operation: 34-4=30
Exploring Operation: 4/4=1, Resulting Numbers: [34, 1]
Generated Node #0,1,1: 50:[34, 1] Operation: 4/4=1
Exploring Operation: 34-4=30, Resulting Numbers: [4, 30]
Generated Node #0,1,2: 50:[4, 30] Operation: 34-4=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[4, 30], Operations: ['56-52=4', '34-4=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,50 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[4, 30], Operations: ['56-52=4', '34-4=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,50 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[34, 1], Operations: ['56-52=4', '4/4=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,50 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: 50:[52, 34, 52], Operations: ['56-4=52']
Exploring Operation: 52-34=18, Resulting Numbers: [52, 18]
Generated Node #0,0,0: 50:[52, 18] Operation: 52-34=18
Exploring Operation: 52/52=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 50:[34, 1] Operation: 52/52=1
Exploring Operation: 52-34=18, Resulting Numbers: [52, 18]
Generated Node #0,0,2: 50:[52, 18] Operation: 52-34=18
Moving to Node #0,0,0
Current State: 50:[52, 18], Operations: ['56-4=52', '52-34=18']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[52, 18], Operations: ['56-4=52', '52-34=18']
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,50 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[34, 1], Operations: ['56-4=52', '52/52=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,50 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
|
[
69,
7,
27,
53
] | 77 |
[
"69-27=42",
"53-42=11",
"7*11=77"
] |
Current State: 77:[69, 7, 27, 53], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [7, 53, 42]
Generated Node #2: [7, 53, 42] from Operation: 69-27=42
Current State: 77:[7, 53, 42], Operations: ['69-27=42']
Exploring Operation: 53-42=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 53-42=11
Current State: 77:[7, 11], Operations: ['69-27=42', '53-42=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 |
Current State: 77:[69, 7, 27, 53], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [7, 27, 16]
Generated Node #0,0: 77:[7, 27, 16] Operation: 69-53=16
Exploring Operation: 53-27=26, Resulting Numbers: [69, 7, 26]
Generated Node #0,1: 77:[69, 7, 26] Operation: 53-27=26
Exploring Operation: 27+53=80, Resulting Numbers: [69, 7, 80]
Generated Node #0,2: 77:[69, 7, 80] Operation: 27+53=80
Exploring Operation: 69+7=76, Resulting Numbers: [27, 53, 76]
Generated Node #0,3: 77:[27, 53, 76] Operation: 69+7=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[69, 7, 80], Operations: ['27+53=80']
Exploring Operation: 80-7=73, Resulting Numbers: [69, 73]
Generated Node #0,2,0: 77:[69, 73] Operation: 80-7=73
Exploring Operation: 69+7=76, Resulting Numbers: [80, 76]
Generated Node #0,2,1: 77:[80, 76] Operation: 69+7=76
Exploring Operation: 80-69=11, Resulting Numbers: [7, 11]
Generated Node #0,2,2: 77:[7, 11] Operation: 80-69=11
Exploring Operation: 69-7=62, Resulting Numbers: [80, 62]
Generated Node #0,2,3: 77:[80, 62] Operation: 69-7=62
Moving to Node #0,2,2
Current State: 77:[7, 11], Operations: ['27+53=80', '80-69=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[69, 7, 27, 53], Operations: []
Exploring Operation: 27+53=80, Resulting Numbers: [69, 7, 80]
Generated Node #0,2: 77:[69, 7, 80] Operation: 27+53=80
Moving to Node #0,2
Current State: 77:[69, 7, 80], Operations: ['27+53=80']
Exploring Operation: 80-69=11, Resulting Numbers: [7, 11]
Generated Node #0,2,2: 77:[7, 11] Operation: 80-69=11
Moving to Node #0,2,2
Current State: 77:[7, 11], Operations: ['27+53=80', '80-69=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_4
|
sum_heuristic
|
[
93,
40,
53,
42
] | 13 |
[
"42-40=2",
"53*2=106",
"106-93=13"
] |
Current State: 13:[93, 40, 53, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [93, 53, 2]
Generated Node #2: [93, 53, 2] from Operation: 42-40=2
Current State: 13:[93, 53, 2], Operations: ['42-40=2']
Exploring Operation: 53*2=106, Resulting Numbers: [93, 106]
Generated Node #3: [93, 106] from Operation: 53*2=106
Current State: 13:[93, 106], Operations: ['42-40=2', '53*2=106']
Exploring Operation: 106-93=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[93, 40, 53, 42], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [40, 53, 51]
Generated Node #0,0: 13:[40, 53, 51] Operation: 93-42=51
Exploring Operation: 93-53=40, Resulting Numbers: [40, 42, 40]
Generated Node #0,1: 13:[40, 42, 40] Operation: 93-53=40
Exploring Operation: 93-40=53, Resulting Numbers: [53, 42, 53]
Generated Node #0,2: 13:[53, 42, 53] Operation: 93-40=53
Exploring Operation: 53-40=13, Resulting Numbers: [93, 42, 13]
Generated Node #0,3: 13:[93, 42, 13] Operation: 53-40=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[40, 42, 40], Operations: ['93-53=40']
Exploring Operation: 40/40=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 13:[42, 1] Operation: 40/40=1
Exploring Operation: 42-40=2, Resulting Numbers: [40, 2]
Generated Node #0,1,1: 13:[40, 2] Operation: 42-40=2
Exploring Operation: 42-40=2, Resulting Numbers: [40, 2]
Generated Node #0,1,2: 13:[40, 2] Operation: 42-40=2
Exploring Operation: 40-40=0, Resulting Numbers: [42, 0]
Generated Node #0,1,3: 13:[42, 0] Operation: 40-40=0
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[40, 2], Operations: ['93-53=40', '42-40=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,13 unequal: No Solution
No 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: 13:[40, 2], Operations: ['93-53=40', '42-40=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,13 unequal: No Solution
No 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: 13:[42, 1], Operations: ['93-53=40', '40/40=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,13 unequal: No Solution
No 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: 13:[42, 0], Operations: ['93-53=40', '40-40=0']
Exploring Operation: 42+0=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 42-0=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 42*0=0, Resulting Numbers: [0]
0,13 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: 13:[40, 53, 51], Operations: ['93-42=51']
Exploring Operation: 53-40=13, Resulting Numbers: [51, 13]
Generated Node #0,0,0: 13:[51, 13] Operation: 53-40=13
Exploring Operation: 51-40=11, Resulting Numbers: [53, 11]
Generated Node #0,0,1: 13:[53, 11] Operation: 51-40=11
Exploring Operation: 53-51=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 13:[40, 2] Operation: 53-51=2
Exploring Operation: 40+53=93, Resulting Numbers: [51, 93]
Generated Node #0,0,3: 13:[51, 93] Operation: 40+53=93
Moving to Node #0,0,0
Current State: 13:[51, 13], Operations: ['93-42=51', '53-40=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,13 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[40, 2], Operations: ['93-42=51', '53-51=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[53, 11], Operations: ['93-42=51', '51-40=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,13 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[51, 93], Operations: ['93-42=51', '40+53=93']
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,13 unequal: No Solution
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,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,2
Current State: 13:[53, 42, 53], Operations: ['93-40=53']
Exploring Operation: 53/53=1, Resulting Numbers: [42, 1]
Generated Node #0,2,0: 13:[42, 1] Operation: 53/53=1
Exploring Operation: 53-42=11, Resulting Numbers: [53, 11]
Generated Node #0,2,1: 13:[53, 11] Operation: 53-42=11
Exploring Operation: 53-53=0, Resulting Numbers: [42, 0]
Generated Node #0,2,2: 13:[42, 0] Operation: 53-53=0
Exploring Operation: 53-42=11, Resulting Numbers: [53, 11]
Generated Node #0,2,3: 13:[53, 11] Operation: 53-42=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[42, 1], Operations: ['93-40=53', '53/53=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,13 unequal: No Solution
No 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: 13:[53, 11], Operations: ['93-40=53', '53-42=11']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,13 unequal: No Solution
No 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: 13:[42, 0], Operations: ['93-40=53', '53-53=0']
Exploring Operation: 42-0=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 42*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 42+0=42, Resulting Numbers: [42]
42,13 unequal: No Solution
No 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: 13:[53, 11], Operations: ['93-40=53', '53-42=11']
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,13 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,13 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: 13:[93, 42, 13], Operations: ['53-40=13']
Exploring Operation: 93-42=51, Resulting Numbers: [13, 51]
Generated Node #0,3,0: 13:[13, 51] Operation: 93-42=51
Exploring Operation: 42-13=29, Resulting Numbers: [93, 29]
Generated Node #0,3,1: 13:[93, 29] Operation: 42-13=29
Exploring Operation: 93-13=80, Resulting Numbers: [42, 80]
Generated Node #0,3,2: 13:[42, 80] Operation: 93-13=80
Exploring Operation: 93+42=135, Resulting Numbers: [13, 135]
Generated Node #0,3,3: 13:[13, 135] Operation: 93+42=135
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[13, 51], Operations: ['53-40=13', '93-42=51']
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,13 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No 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: 13:[93, 29], Operations: ['53-40=13', '42-13=29']
Exploring Operation: 93+29=122, Resulting Numbers: [122]
122,13 unequal: No Solution
Exploring Operation: 93*29=2697, Resulting Numbers: [2697]
2697,13 unequal: No Solution
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No 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: 13:[42, 80], Operations: ['53-40=13', '93-13=80']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 42+80=122, Resulting Numbers: [122]
122,13 unequal: No Solution
Exploring Operation: 42*80=3360, Resulting Numbers: [3360]
3360,13 unequal: No Solution
No 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: 13:[13, 135], Operations: ['53-40=13', '93+42=135']
Exploring Operation: 135-13=122, Resulting Numbers: [122]
122,13 unequal: No Solution
Exploring Operation: 13*135=1755, Resulting Numbers: [1755]
1755,13 unequal: No Solution
Exploring Operation: 13+135=148, Resulting Numbers: [148]
148,13 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
|
[
61,
54,
62,
26
] | 95 |
[
"61-54=7",
"62+26=88",
"7+88=95"
] |
Current State: 95:[61, 54, 62, 26], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [62, 26, 7]
Generated Node #2: [62, 26, 7] from Operation: 61-54=7
Current State: 95:[62, 26, 7], Operations: ['61-54=7']
Exploring Operation: 62+26=88, Resulting Numbers: [7, 88]
Generated Node #3: [7, 88] from Operation: 62+26=88
Current State: 95:[7, 88], Operations: ['61-54=7', '62+26=88']
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[61, 54, 62, 26], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [62, 26, 7]
Generated Node #0,0: 95:[62, 26, 7] Operation: 61-54=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[62, 26, 7], Operations: ['61-54=7']
Exploring Operation: 62+26=88, Resulting Numbers: [7, 88]
Generated Node #0,0,0: 95:[7, 88] Operation: 62+26=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[7, 88], Operations: ['61-54=7', '62+26=88']
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[61, 54, 62, 26], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [62, 26, 7]
Generated Node #0,0: 95:[62, 26, 7] Operation: 61-54=7
Moving to Node #0,0
Current State: 95:[62, 26, 7], Operations: ['61-54=7']
Exploring Operation: 62+26=88, Resulting Numbers: [7, 88]
Generated Node #0,0,0: 95:[7, 88] Operation: 62+26=88
Moving to Node #0,0,0
Current State: 95:[7, 88], Operations: ['61-54=7', '62+26=88']
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
56,
58,
67,
69
] | 86 |
[
"69-67=2",
"56/2=28",
"58+28=86"
] |
Current State: 86:[56, 58, 67, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [56, 58, 2]
Generated Node #2: [56, 58, 2] from Operation: 69-67=2
Current State: 86:[56, 58, 2], Operations: ['69-67=2']
Exploring Operation: 56/2=28, Resulting Numbers: [58, 28]
Generated Node #3: [58, 28] from Operation: 56/2=28
Current State: 86:[58, 28], Operations: ['69-67=2', '56/2=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[56, 58, 67, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [56, 58, 2]
Generated Node #0,0: 86:[56, 58, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 86:[56, 58, 2], Operations: ['69-67=2']
Exploring Operation: 58-56=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 86:[2, 2] Operation: 58-56=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[2, 2], Operations: ['69-67=2', '58-56=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
41,
45,
25,
82
] | 61 |
[
"45-41=4",
"82-25=57",
"4+57=61"
] |
Current State: 61:[41, 45, 25, 82], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [25, 82, 4]
Generated Node #2: [25, 82, 4] from Operation: 45-41=4
Current State: 61:[25, 82, 4], Operations: ['45-41=4']
Exploring Operation: 82-25=57, Resulting Numbers: [4, 57]
Generated Node #3: [4, 57] from Operation: 82-25=57
Current State: 61:[4, 57], Operations: ['45-41=4', '82-25=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[41, 45, 25, 82], Operations: []
Exploring Operation: 41+25=66, Resulting Numbers: [45, 82, 66]
Generated Node #0,0: 61:[45, 82, 66] Operation: 41+25=66
Exploring Operation: 82-25=57, Resulting Numbers: [41, 45, 57]
Generated Node #0,1: 61:[41, 45, 57] Operation: 82-25=57
Moving to Node #0,1
Current State: 61:[41, 45, 57], Operations: ['82-25=57']
Exploring Operation: 41+57=98, Resulting Numbers: [45, 98]
Generated Node #0,1,0: 61:[45, 98] Operation: 41+57=98
Exploring Operation: 41+45=86, Resulting Numbers: [57, 86]
Generated Node #0,1,1: 61:[57, 86] Operation: 41+45=86
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[57, 86], Operations: ['82-25=57', '41+45=86']
Exploring Operation: 57+86=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[45, 98], Operations: ['82-25=57', '41+57=98']
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,61 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: 61:[45, 82, 66], Operations: ['41+25=66']
Exploring Operation: 82-45=37, Resulting Numbers: [66, 37]
Generated Node #0,0,0: 61:[66, 37] Operation: 82-45=37
Exploring Operation: 66-45=21, Resulting Numbers: [82, 21]
Generated Node #0,0,1: 61:[82, 21] Operation: 66-45=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[66, 37], Operations: ['41+25=66', '82-45=37']
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 66+37=103, Resulting Numbers: [103]
103,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[82, 21], Operations: ['41+25=66', '66-45=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[41, 45, 25, 82], Operations: []
Exploring Operation: 41+25=66, Resulting Numbers: [45, 82, 66]
Generated Node #0,0: 61:[45, 82, 66] Operation: 41+25=66
Moving to Node #0,0
Current State: 61:[45, 82, 66], Operations: ['41+25=66']
Exploring Operation: 66-45=21, Resulting Numbers: [82, 21]
Generated Node #0,0,1: 61:[82, 21] Operation: 66-45=21
Moving to Node #0,0,1
Current State: 61:[82, 21], Operations: ['41+25=66', '66-45=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_2
|
sum_heuristic
|
[
3,
11,
6,
48
] | 22 |
[
"3+11=14",
"48/6=8",
"14+8=22"
] |
Current State: 22:[3, 11, 6, 48], Operations: []
Exploring Operation: 3+11=14, Resulting Numbers: [6, 48, 14]
Generated Node #2: [6, 48, 14] from Operation: 3+11=14
Current State: 22:[6, 48, 14], Operations: ['3+11=14']
Exploring Operation: 48/6=8, Resulting Numbers: [14, 8]
Generated Node #3: [14, 8] from Operation: 48/6=8
Current State: 22:[14, 8], Operations: ['3+11=14', '48/6=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[3, 11, 6, 48], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [11, 6, 16]
Generated Node #0,0: 22:[11, 6, 16] Operation: 48/3=16
Exploring Operation: 48/6=8, Resulting Numbers: [3, 11, 8]
Generated Node #0,1: 22:[3, 11, 8] Operation: 48/6=8
Moving to Node #0,1
Current State: 22:[3, 11, 8], Operations: ['48/6=8']
Exploring Operation: 3*8=24, Resulting Numbers: [11, 24]
Generated Node #0,1,0: 22:[11, 24] Operation: 3*8=24
Exploring Operation: 3+8=11, Resulting Numbers: [11, 11]
Generated Node #0,1,1: 22:[11, 11] Operation: 3+8=11
Moving to Node #0,0
Current State: 22:[11, 6, 16], Operations: ['48/3=16']
Exploring Operation: 16-6=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 22:[11, 10] Operation: 16-6=10
Exploring Operation: 6+16=22, Resulting Numbers: [11, 22]
Generated Node #0,0,1: 22:[11, 22] Operation: 6+16=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[11, 22], Operations: ['48/3=16', '6+16=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No 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: 22:[11, 10], Operations: ['48/3=16', '16-6=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 22:[11, 11], Operations: ['48/6=8', '3+8=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[3, 11, 6, 48], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [3, 11, 8]
Generated Node #0,1: 22:[3, 11, 8] Operation: 48/6=8
Moving to Node #0,1
Current State: 22:[3, 11, 8], Operations: ['48/6=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11, 11]
Generated Node #0,1,1: 22:[11, 11] Operation: 3+8=11
Moving to Node #0,1,1
Current State: 22:[11, 11], Operations: ['48/6=8', '3+8=11']
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.986111 |
hs_2
|
sum_heuristic
|
[
37,
1,
56,
69
] | 89 |
[
"37-1=36",
"56+69=125",
"125-36=89"
] |
Current State: 89:[37, 1, 56, 69], Operations: []
Exploring Operation: 37-1=36, Resulting Numbers: [56, 69, 36]
Generated Node #2: [56, 69, 36] from Operation: 37-1=36
Current State: 89:[56, 69, 36], Operations: ['37-1=36']
Exploring Operation: 56+69=125, Resulting Numbers: [36, 125]
Generated Node #3: [36, 125] from Operation: 56+69=125
Current State: 89:[36, 125], Operations: ['37-1=36', '56+69=125']
Exploring Operation: 125-36=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[37, 1, 56, 69], Operations: []
Exploring Operation: 37+1=38, Resulting Numbers: [56, 69, 38]
Generated Node #0,0: 89:[56, 69, 38] Operation: 37+1=38
Exploring Operation: 1+56=57, Resulting Numbers: [37, 69, 57]
Generated Node #0,1: 89:[37, 69, 57] Operation: 1+56=57
Moving to Node #0,0
Current State: 89:[56, 69, 38], Operations: ['37+1=38']
Exploring Operation: 69+38=107, Resulting Numbers: [56, 107]
Generated Node #0,0,0: 89:[56, 107] Operation: 69+38=107
Exploring Operation: 56+38=94, Resulting Numbers: [69, 94]
Generated Node #0,0,1: 89:[69, 94] Operation: 56+38=94
Moving to Node #0,1
Current State: 89:[37, 69, 57], Operations: ['1+56=57']
Exploring Operation: 37+69=106, Resulting Numbers: [57, 106]
Generated Node #0,1,0: 89:[57, 106] Operation: 37+69=106
Exploring Operation: 37+57=94, Resulting Numbers: [69, 94]
Generated Node #0,1,1: 89:[69, 94] Operation: 37+57=94
Moving to Node #0,0,1
Current State: 89:[69, 94], Operations: ['37+1=38', '56+38=94']
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[69, 94], Operations: ['1+56=57', '37+57=94']
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[57, 106], Operations: ['1+56=57', '37+69=106']
Exploring Operation: 106-57=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 57+106=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[56, 107], Operations: ['37+1=38', '69+38=107']
Exploring Operation: 56+107=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 107-56=51, Resulting Numbers: [51]
51,89 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
29,
17,
9,
27
] | 97 |
[
"29+27=56",
"17*9=153",
"153-56=97"
] |
Current State: 97:[29, 17, 9, 27], Operations: []
Exploring Operation: 29+27=56, Resulting Numbers: [17, 9, 56]
Generated Node #2: [17, 9, 56] from Operation: 29+27=56
Current State: 97:[17, 9, 56], Operations: ['29+27=56']
Exploring Operation: 17*9=153, Resulting Numbers: [56, 153]
Generated Node #3: [56, 153] from Operation: 17*9=153
Current State: 97:[56, 153], Operations: ['29+27=56', '17*9=153']
Exploring Operation: 153-56=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[29, 17, 9, 27], Operations: []
Exploring Operation: 29+17=46, Resulting Numbers: [9, 27, 46]
Generated Node #0,0: 97:[9, 27, 46] Operation: 29+17=46
Exploring Operation: 17*9=153, Resulting Numbers: [29, 27, 153]
Generated Node #0,1: 97:[29, 27, 153] Operation: 17*9=153
Moving to Node #0,1
Current State: 97:[29, 27, 153], Operations: ['17*9=153']
Exploring Operation: 29+27=56, Resulting Numbers: [153, 56]
Generated Node #0,1,0: 97:[153, 56] Operation: 29+27=56
Exploring Operation: 153-29=124, Resulting Numbers: [27, 124]
Generated Node #0,1,1: 97:[27, 124] Operation: 153-29=124
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[153, 56], Operations: ['17*9=153', '29+27=56']
Exploring Operation: 153+56=209, Resulting Numbers: [209]
209,97 unequal: No Solution
Exploring Operation: 153-56=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[29, 17, 9, 27], Operations: []
Exploring Operation: 17*9=153, Resulting Numbers: [29, 27, 153]
Generated Node #0,1: 97:[29, 27, 153] Operation: 17*9=153
Moving to Node #0,1
Current State: 97:[29, 27, 153], Operations: ['17*9=153']
Exploring Operation: 29+27=56, Resulting Numbers: [153, 56]
Generated Node #0,1,0: 97:[153, 56] Operation: 29+27=56
Moving to Node #0,1,0
Current State: 97:[153, 56], Operations: ['17*9=153', '29+27=56']
Exploring Operation: 153-56=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
70,
80,
9,
78
] | 88 |
[
"80-78=2",
"9*2=18",
"70+18=88"
] |
Current State: 88:[70, 80, 9, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [70, 9, 2]
Generated Node #2: [70, 9, 2] from Operation: 80-78=2
Current State: 88:[70, 9, 2], Operations: ['80-78=2']
Exploring Operation: 9*2=18, Resulting Numbers: [70, 18]
Generated Node #3: [70, 18] from Operation: 9*2=18
Current State: 88:[70, 18], Operations: ['80-78=2', '9*2=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[70, 80, 9, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [70, 9, 2]
Generated Node #0,0: 88:[70, 9, 2] Operation: 80-78=2
Exploring Operation: 80-70=10, Resulting Numbers: [9, 78, 10]
Generated Node #0,1: 88:[9, 78, 10] Operation: 80-70=10
Exploring Operation: 78-70=8, Resulting Numbers: [80, 9, 8]
Generated Node #0,2: 88:[80, 9, 8] Operation: 78-70=8
Exploring Operation: 70+9=79, Resulting Numbers: [80, 78, 79]
Generated Node #0,3: 88:[80, 78, 79] Operation: 70+9=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[80, 9, 8], Operations: ['78-70=8']
Exploring Operation: 9-8=1, Resulting Numbers: [80, 1]
Generated Node #0,2,0: 88:[80, 1] Operation: 9-8=1
Exploring Operation: 80/8=10, Resulting Numbers: [9, 10]
Generated Node #0,2,1: 88:[9, 10] Operation: 80/8=10
Exploring Operation: 80+8=88, Resulting Numbers: [9, 88]
Generated Node #0,2,2: 88:[9, 88] Operation: 80+8=88
Exploring Operation: 80+9=89, Resulting Numbers: [8, 89]
Generated Node #0,2,3: 88:[8, 89] Operation: 80+9=89
Moving to Node #0,2,2
Current State: 88:[9, 88], Operations: ['78-70=8', '80+8=88']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,88 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[8, 89], Operations: ['78-70=8', '80+9=89']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[9, 10], Operations: ['78-70=8', '80/8=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[80, 1], Operations: ['78-70=8', '9-8=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,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
Current State: 88:[9, 78, 10], Operations: ['80-70=10']
Exploring Operation: 78+10=88, Resulting Numbers: [9, 88]
Generated Node #0,1,0: 88:[9, 88] Operation: 78+10=88
Exploring Operation: 9*10=90, Resulting Numbers: [78, 90]
Generated Node #0,1,1: 88:[78, 90] Operation: 9*10=90
Exploring Operation: 9+78=87, Resulting Numbers: [10, 87]
Generated Node #0,1,2: 88:[10, 87] Operation: 9+78=87
Exploring Operation: 10-9=1, Resulting Numbers: [78, 1]
Generated Node #0,1,3: 88:[78, 1] Operation: 10-9=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[9, 88], Operations: ['80-70=10', '78+10=88']
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,88 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,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:[10, 87], Operations: ['80-70=10', '9+78=87']
Exploring Operation: 10+87=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 10*87=870, Resulting Numbers: [870]
870,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:[78, 1], Operations: ['80-70=10', '10-9=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,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,1
Current State: 88:[78, 90], Operations: ['80-70=10', '9*10=90']
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 78*90=7020, Resulting Numbers: [7020]
7020,88 unequal: No Solution
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,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,0
Current State: 88:[70, 9, 2], Operations: ['80-78=2']
Exploring Operation: 70+9=79, Resulting Numbers: [2, 79]
Generated Node #0,0,0: 88:[2, 79] Operation: 70+9=79
Exploring Operation: 70+2=72, Resulting Numbers: [9, 72]
Generated Node #0,0,1: 88:[9, 72] Operation: 70+2=72
Exploring Operation: 70-9=61, Resulting Numbers: [2, 61]
Generated Node #0,0,2: 88:[2, 61] Operation: 70-9=61
Exploring Operation: 70/2=35, Resulting Numbers: [9, 35]
Generated Node #0,0,3: 88:[9, 35] Operation: 70/2=35
Moving to Node #0,0,0
Current State: 88:[2, 79], Operations: ['80-78=2', '70+9=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[9, 35], Operations: ['80-78=2', '70/2=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[2, 61], Operations: ['80-78=2', '70-9=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[9, 72], Operations: ['80-78=2', '70+2=72']
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,88 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,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,3
Current State: 88:[80, 78, 79], Operations: ['70+9=79']
Exploring Operation: 80-78=2, Resulting Numbers: [79, 2]
Generated Node #0,3,0: 88:[79, 2] Operation: 80-78=2
Exploring Operation: 80-79=1, Resulting Numbers: [78, 1]
Generated Node #0,3,1: 88:[78, 1] Operation: 80-79=1
Exploring Operation: 79-78=1, Resulting Numbers: [80, 1]
Generated Node #0,3,2: 88:[80, 1] Operation: 79-78=1
Exploring Operation: 78+79=157, Resulting Numbers: [80, 157]
Generated Node #0,3,3: 88:[80, 157] Operation: 78+79=157
Moving to Node #0,3,0
Current State: 88:[79, 2], Operations: ['70+9=79', '80-78=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[80, 1], Operations: ['70+9=79', '79-78=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[78, 1], Operations: ['70+9=79', '80-79=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[80, 157], Operations: ['70+9=79', '78+79=157']
Exploring Operation: 80+157=237, Resulting Numbers: [237]
237,88 unequal: No Solution
Exploring Operation: 157-80=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Exploring Operation: 80*157=12560, Resulting Numbers: [12560]
12560,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
|
mult_heuristic
|
[
17,
72,
96,
42
] | 39 |
[
"96*42=4032",
"4032/72=56",
"56-17=39"
] |
Current State: 39:[17, 72, 96, 42], Operations: []
Exploring Operation: 96*42=4032, Resulting Numbers: [17, 72, 4032]
Generated Node #2: [17, 72, 4032] from Operation: 96*42=4032
Current State: 39:[17, 72, 4032], Operations: ['96*42=4032']
Exploring Operation: 4032/72=56, Resulting Numbers: [17, 56]
Generated Node #3: [17, 56] from Operation: 4032/72=56
Current State: 39:[17, 56], Operations: ['96*42=4032', '4032/72=56']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[17, 72, 96, 42], Operations: []
Exploring Operation: 72-17=55, Resulting Numbers: [96, 42, 55]
Generated Node #0,0: 39:[96, 42, 55] Operation: 72-17=55
Exploring Operation: 96-72=24, Resulting Numbers: [17, 42, 24]
Generated Node #0,1: 39:[17, 42, 24] Operation: 96-72=24
Exploring Operation: 96-42=54, Resulting Numbers: [17, 72, 54]
Generated Node #0,2: 39:[17, 72, 54] Operation: 96-42=54
Exploring Operation: 72-42=30, Resulting Numbers: [17, 96, 30]
Generated Node #0,3: 39:[17, 96, 30] Operation: 72-42=30
Moving to Node #0,1
Current State: 39:[17, 42, 24], Operations: ['96-72=24']
Exploring Operation: 17+24=41, Resulting Numbers: [42, 41]
Generated Node #0,1,0: 39:[42, 41] Operation: 17+24=41
Exploring Operation: 42-24=18, Resulting Numbers: [17, 18]
Generated Node #0,1,1: 39:[17, 18] Operation: 42-24=18
Exploring Operation: 42-17=25, Resulting Numbers: [24, 25]
Generated Node #0,1,2: 39:[24, 25] Operation: 42-17=25
Exploring Operation: 24-17=7, Resulting Numbers: [42, 7]
Generated Node #0,1,3: 39:[42, 7] Operation: 24-17=7
Moving to Node #0,2
Current State: 39:[17, 72, 54], Operations: ['96-42=54']
Exploring Operation: 54-17=37, Resulting Numbers: [72, 37]
Generated Node #0,2,0: 39:[72, 37] Operation: 54-17=37
Exploring Operation: 17+72=89, Resulting Numbers: [54, 89]
Generated Node #0,2,1: 39:[54, 89] Operation: 17+72=89
Exploring Operation: 72-54=18, Resulting Numbers: [17, 18]
Generated Node #0,2,2: 39:[17, 18] Operation: 72-54=18
Exploring Operation: 72-17=55, Resulting Numbers: [54, 55]
Generated Node #0,2,3: 39:[54, 55] Operation: 72-17=55
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[17, 18], Operations: ['96-42=54', '72-54=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,39 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,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,2,3
Current State: 39:[54, 55], Operations: ['96-42=54', '72-17=55']
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,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,2,0
Current State: 39:[72, 37], Operations: ['96-42=54', '54-17=37']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,39 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,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,2,1
Current State: 39:[54, 89], Operations: ['96-42=54', '17+72=89']
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,39 unequal: No Solution
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,39 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: 39:[17, 96, 30], Operations: ['72-42=30']
Exploring Operation: 17+30=47, Resulting Numbers: [96, 47]
Generated Node #0,3,0: 39:[96, 47] Operation: 17+30=47
Exploring Operation: 96-30=66, Resulting Numbers: [17, 66]
Generated Node #0,3,1: 39:[17, 66] Operation: 96-30=66
Exploring Operation: 30-17=13, Resulting Numbers: [96, 13]
Generated Node #0,3,2: 39:[96, 13] Operation: 30-17=13
Exploring Operation: 96-17=79, Resulting Numbers: [30, 79]
Generated Node #0,3,3: 39:[30, 79] Operation: 96-17=79
Moving to Node #0,0
Current State: 39:[96, 42, 55], Operations: ['72-17=55']
Exploring Operation: 96-55=41, Resulting Numbers: [42, 41]
Generated Node #0,0,0: 39:[42, 41] Operation: 96-55=41
Exploring Operation: 55-42=13, Resulting Numbers: [96, 13]
Generated Node #0,0,1: 39:[96, 13] Operation: 55-42=13
Exploring Operation: 96+42=138, Resulting Numbers: [55, 138]
Generated Node #0,0,2: 39:[55, 138] Operation: 96+42=138
Exploring Operation: 96-42=54, Resulting Numbers: [55, 54]
Generated Node #0,0,3: 39:[55, 54] Operation: 96-42=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[42, 41], Operations: ['72-17=55', '96-55=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,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,0,3
Current State: 39:[55, 54], Operations: ['72-17=55', '96-42=54']
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,39 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,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,0,1
Current State: 39:[96, 13], Operations: ['72-17=55', '55-42=13']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,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,0,2
Current State: 39:[55, 138], Operations: ['72-17=55', '96+42=138']
Exploring Operation: 55*138=7590, Resulting Numbers: [7590]
7590,39 unequal: No Solution
Exploring Operation: 55+138=193, Resulting Numbers: [193]
193,39 unequal: No Solution
Exploring Operation: 138-55=83, Resulting Numbers: [83]
83,39 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: 39:[42, 41], Operations: ['96-72=24', '17+24=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[42, 7], Operations: ['96-72=24', '24-17=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,39 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[17, 18], Operations: ['96-72=24', '42-24=18']
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,39 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[24, 25], Operations: ['96-72=24', '42-17=25']
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,39 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[17, 66], Operations: ['72-42=30', '96-30=66']
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 17*66=1122, Resulting Numbers: [1122]
1122,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[30, 79], Operations: ['72-42=30', '96-17=79']
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[96, 13], Operations: ['72-42=30', '30-17=13']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,39 unequal: No Solution
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[96, 47], Operations: ['72-42=30', '17+30=47']
Exploring Operation: 96-47=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 96+47=143, Resulting Numbers: [143]
143,39 unequal: No Solution
Exploring Operation: 96*47=4512, Resulting Numbers: [4512]
4512,39 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
4,
75,
49,
85
] | 43 |
[
"4+75=79",
"85-49=36",
"79-36=43"
] |
Current State: 43:[4, 75, 49, 85], Operations: []
Exploring Operation: 4+75=79, Resulting Numbers: [49, 85, 79]
Generated Node #2: [49, 85, 79] from Operation: 4+75=79
Current State: 43:[49, 85, 79], Operations: ['4+75=79']
Exploring Operation: 85-49=36, Resulting Numbers: [79, 36]
Generated Node #3: [79, 36] from Operation: 85-49=36
Current State: 43:[79, 36], Operations: ['4+75=79', '85-49=36']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[4, 75, 49, 85], Operations: []
Exploring Operation: 85-4=81, Resulting Numbers: [75, 49, 81]
Generated Node #0,0: 43:[75, 49, 81] Operation: 85-4=81
Exploring Operation: 85-75=10, Resulting Numbers: [4, 49, 10]
Generated Node #0,1: 43:[4, 49, 10] Operation: 85-75=10
Exploring Operation: 49-4=45, Resulting Numbers: [75, 85, 45]
Generated Node #0,2: 43:[75, 85, 45] Operation: 49-4=45
Exploring Operation: 75-4=71, Resulting Numbers: [49, 85, 71]
Generated Node #0,3: 43:[49, 85, 71] Operation: 75-4=71
Moving to Node #0,0
Current State: 43:[75, 49, 81], Operations: ['85-4=81']
Exploring Operation: 81-75=6, Resulting Numbers: [49, 6]
Generated Node #0,0,0: 43:[49, 6] Operation: 81-75=6
Exploring Operation: 75+49=124, Resulting Numbers: [81, 124]
Generated Node #0,0,1: 43:[81, 124] Operation: 75+49=124
Exploring Operation: 81-49=32, Resulting Numbers: [75, 32]
Generated Node #0,0,2: 43:[75, 32] Operation: 81-49=32
Exploring Operation: 75-49=26, Resulting Numbers: [81, 26]
Generated Node #0,0,3: 43:[81, 26] Operation: 75-49=26
Moving to Node #0,3
Current State: 43:[49, 85, 71], Operations: ['75-4=71']
Exploring Operation: 49+85=134, Resulting Numbers: [71, 134]
Generated Node #0,3,0: 43:[71, 134] Operation: 49+85=134
Exploring Operation: 85-49=36, Resulting Numbers: [71, 36]
Generated Node #0,3,1: 43:[71, 36] Operation: 85-49=36
Exploring Operation: 71-49=22, Resulting Numbers: [85, 22]
Generated Node #0,3,2: 43:[85, 22] Operation: 71-49=22
Exploring Operation: 85-71=14, Resulting Numbers: [49, 14]
Generated Node #0,3,3: 43:[49, 14] Operation: 85-71=14
Moving to Node #0,2
Current State: 43:[75, 85, 45], Operations: ['49-4=45']
Exploring Operation: 75+85=160, Resulting Numbers: [45, 160]
Generated Node #0,2,0: 43:[45, 160] Operation: 75+85=160
Exploring Operation: 75-45=30, Resulting Numbers: [85, 30]
Generated Node #0,2,1: 43:[85, 30] Operation: 75-45=30
Exploring Operation: 85-45=40, Resulting Numbers: [75, 40]
Generated Node #0,2,2: 43:[75, 40] Operation: 85-45=40
Exploring Operation: 85-75=10, Resulting Numbers: [45, 10]
Generated Node #0,2,3: 43:[45, 10] Operation: 85-75=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[75, 40], Operations: ['49-4=45', '85-45=40']
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,43 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,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,3
Current State: 43:[45, 10], Operations: ['49-4=45', '85-75=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,43 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,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,1
Current State: 43:[85, 30], Operations: ['49-4=45', '75-45=30']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,43 unequal: No Solution
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,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,0
Current State: 43:[45, 160], Operations: ['49-4=45', '75+85=160']
Exploring Operation: 160-45=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 45+160=205, Resulting Numbers: [205]
205,43 unequal: No Solution
Exploring Operation: 45*160=7200, Resulting Numbers: [7200]
7200,43 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: 43:[4, 49, 10], Operations: ['85-75=10']
Exploring Operation: 4+49=53, Resulting Numbers: [10, 53]
Generated Node #0,1,0: 43:[10, 53] Operation: 4+49=53
Exploring Operation: 49-4=45, Resulting Numbers: [10, 45]
Generated Node #0,1,1: 43:[10, 45] Operation: 49-4=45
Exploring Operation: 4+10=14, Resulting Numbers: [49, 14]
Generated Node #0,1,2: 43:[49, 14] Operation: 4+10=14
Exploring Operation: 4*10=40, Resulting Numbers: [49, 40]
Generated Node #0,1,3: 43:[49, 40] Operation: 4*10=40
Moving to Node #0,1,3
Current State: 43:[49, 40], Operations: ['85-75=10', '4*10=40']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[49, 14], Operations: ['75-4=71', '85-71=14']
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,43 unequal: No Solution
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[71, 36], Operations: ['75-4=71', '85-49=36']
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,43 unequal: No Solution
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[10, 45], Operations: ['85-75=10', '49-4=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[49, 14], Operations: ['85-75=10', '4+10=14']
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,43 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[10, 53], Operations: ['85-75=10', '4+49=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[4, 75, 49, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [4, 49, 10]
Generated Node #0,1: 43:[4, 49, 10] Operation: 85-75=10
Moving to Node #0,1
Current State: 43:[4, 49, 10], Operations: ['85-75=10']
Exploring Operation: 4+49=53, Resulting Numbers: [10, 53]
Generated Node #0,1,0: 43:[10, 53] Operation: 4+49=53
Moving to Node #0,1,0
Current State: 43:[10, 53], Operations: ['85-75=10', '4+49=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.954861 |
hs_4
|
sum_heuristic
|
[
94,
22,
11,
90
] | 22 |
[
"94-90=4",
"11*4=44",
"44-22=22"
] |
Current State: 22:[94, 22, 11, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [22, 11, 4]
Generated Node #2: [22, 11, 4] from Operation: 94-90=4
Current State: 22:[22, 11, 4], Operations: ['94-90=4']
Exploring Operation: 11*4=44, Resulting Numbers: [22, 44]
Generated Node #3: [22, 44] from Operation: 11*4=44
Current State: 22:[22, 44], Operations: ['94-90=4', '11*4=44']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[94, 22, 11, 90], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [94, 11, 68]
Generated Node #0,0: 22:[94, 11, 68] Operation: 90-22=68
Exploring Operation: 94-11=83, Resulting Numbers: [22, 90, 83]
Generated Node #0,1: 22:[22, 90, 83] Operation: 94-11=83
Exploring Operation: 90-11=79, Resulting Numbers: [94, 22, 79]
Generated Node #0,2: 22:[94, 22, 79] Operation: 90-11=79
Exploring Operation: 94-90=4, Resulting Numbers: [22, 11, 4]
Generated Node #0,3: 22:[22, 11, 4] Operation: 94-90=4
Exploring Operation: 94-22=72, Resulting Numbers: [11, 90, 72]
Generated Node #0,4: 22:[11, 90, 72] Operation: 94-22=72
Moving to Node #0,3
Current State: 22:[22, 11, 4], Operations: ['94-90=4']
Exploring Operation: 22+4=26, Resulting Numbers: [11, 26]
Generated Node #0,3,0: 22:[11, 26] Operation: 22+4=26
Exploring Operation: 22-11=11, Resulting Numbers: [4, 11]
Generated Node #0,3,1: 22:[4, 11] Operation: 22-11=11
Exploring Operation: 22-4=18, Resulting Numbers: [11, 18]
Generated Node #0,3,2: 22:[11, 18] Operation: 22-4=18
Exploring Operation: 11+4=15, Resulting Numbers: [22, 15]
Generated Node #0,3,3: 22:[22, 15] Operation: 11+4=15
Exploring Operation: 22/11=2, Resulting Numbers: [4, 2]
Generated Node #0,3,4: 22:[4, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[4, 11], Operations: ['94-90=4', '22-11=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,22 unequal: No Solution
No 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: 22:[4, 2], Operations: ['94-90=4', '22/11=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,22 unequal: No Solution
No 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: 22:[11, 26], Operations: ['94-90=4', '22+4=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,22 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No 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: 22:[11, 18], Operations: ['94-90=4', '22-4=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,22 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No 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: 22:[22, 15], Operations: ['94-90=4', '11+4=15']
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,22 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,22 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: 22:[11, 90, 72], Operations: ['94-22=72']
Exploring Operation: 11+90=101, Resulting Numbers: [72, 101]
Generated Node #0,4,0: 22:[72, 101] Operation: 11+90=101
Exploring Operation: 90-11=79, Resulting Numbers: [72, 79]
Generated Node #0,4,1: 22:[72, 79] Operation: 90-11=79
Exploring Operation: 11+72=83, Resulting Numbers: [90, 83]
Generated Node #0,4,2: 22:[90, 83] Operation: 11+72=83
Exploring Operation: 72-11=61, Resulting Numbers: [90, 61]
Generated Node #0,4,3: 22:[90, 61] Operation: 72-11=61
Exploring Operation: 90-72=18, Resulting Numbers: [11, 18]
Generated Node #0,4,4: 22:[11, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 22:[94, 11, 68], Operations: ['90-22=68']
Exploring Operation: 11+68=79, Resulting Numbers: [94, 79]
Generated Node #0,0,0: 22:[94, 79] Operation: 11+68=79
Exploring Operation: 94+11=105, Resulting Numbers: [68, 105]
Generated Node #0,0,1: 22:[68, 105] Operation: 94+11=105
Exploring Operation: 94-68=26, Resulting Numbers: [11, 26]
Generated Node #0,0,2: 22:[11, 26] Operation: 94-68=26
Exploring Operation: 68-11=57, Resulting Numbers: [94, 57]
Generated Node #0,0,3: 22:[94, 57] Operation: 68-11=57
Exploring Operation: 94-11=83, Resulting Numbers: [68, 83]
Generated Node #0,0,4: 22:[68, 83] Operation: 94-11=83
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[11, 26], Operations: ['90-22=68', '94-68=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,22 unequal: No Solution
No 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: 22:[94, 57], Operations: ['90-22=68', '68-11=57']
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 94+57=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Exploring Operation: 94*57=5358, Resulting Numbers: [5358]
5358,22 unequal: No Solution
No 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: 22:[68, 83], Operations: ['90-22=68', '94-11=83']
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 68*83=5644, Resulting Numbers: [5644]
5644,22 unequal: No Solution
Exploring Operation: 68+83=151, Resulting Numbers: [151]
151,22 unequal: No Solution
No 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: 22:[94, 79], Operations: ['90-22=68', '11+68=79']
Exploring Operation: 94*79=7426, Resulting Numbers: [7426]
7426,22 unequal: No Solution
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 94+79=173, Resulting Numbers: [173]
173,22 unequal: No Solution
No 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: 22:[68, 105], Operations: ['90-22=68', '94+11=105']
Exploring Operation: 105-68=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 68*105=7140, Resulting Numbers: [7140]
7140,22 unequal: No Solution
Exploring Operation: 68+105=173, Resulting Numbers: [173]
173,22 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: 22:[22, 90, 83], Operations: ['94-11=83']
Exploring Operation: 22+90=112, Resulting Numbers: [83, 112]
Generated Node #0,1,0: 22:[83, 112] Operation: 22+90=112
Exploring Operation: 90-22=68, Resulting Numbers: [83, 68]
Generated Node #0,1,1: 22:[83, 68] Operation: 90-22=68
Exploring Operation: 83-22=61, Resulting Numbers: [90, 61]
Generated Node #0,1,2: 22:[90, 61] Operation: 83-22=61
Exploring Operation: 22+83=105, Resulting Numbers: [90, 105]
Generated Node #0,1,3: 22:[90, 105] Operation: 22+83=105
Exploring Operation: 90-83=7, Resulting Numbers: [22, 7]
Generated Node #0,1,4: 22:[22, 7] Operation: 90-83=7
Moving to Node #0,2
Current State: 22:[94, 22, 79], Operations: ['90-11=79']
Exploring Operation: 94+22=116, Resulting Numbers: [79, 116]
Generated Node #0,2,0: 22:[79, 116] Operation: 94+22=116
Exploring Operation: 94+79=173, Resulting Numbers: [22, 173]
Generated Node #0,2,1: 22:[22, 173] Operation: 94+79=173
Exploring Operation: 94-79=15, Resulting Numbers: [22, 15]
Generated Node #0,2,2: 22:[22, 15] Operation: 94-79=15
Exploring Operation: 79-22=57, Resulting Numbers: [94, 57]
Generated Node #0,2,3: 22:[94, 57] Operation: 79-22=57
Exploring Operation: 94-22=72, Resulting Numbers: [79, 72]
Generated Node #0,2,4: 22:[79, 72] Operation: 94-22=72
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[22, 15], Operations: ['90-11=79', '94-79=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,22 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No 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: 22:[94, 57], Operations: ['90-11=79', '79-22=57']
Exploring Operation: 94*57=5358, Resulting Numbers: [5358]
5358,22 unequal: No Solution
Exploring Operation: 94+57=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,22 unequal: No Solution
No 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: 22:[79, 72], Operations: ['90-11=79', '94-22=72']
Exploring Operation: 79+72=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Exploring Operation: 79*72=5688, Resulting Numbers: [5688]
5688,22 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No 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: 22:[79, 116], Operations: ['90-11=79', '94+22=116']
Exploring Operation: 79*116=9164, Resulting Numbers: [9164]
9164,22 unequal: No Solution
Exploring Operation: 116-79=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 79+116=195, Resulting Numbers: [195]
195,22 unequal: No Solution
No 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: 22:[22, 173], Operations: ['90-11=79', '94+79=173']
Exploring Operation: 173-22=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Exploring Operation: 22*173=3806, Resulting Numbers: [3806]
3806,22 unequal: No Solution
Exploring Operation: 22+173=195, Resulting Numbers: [195]
195,22 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: 22:[11, 18], Operations: ['94-22=72', '90-72=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[22, 7], Operations: ['94-11=83', '90-83=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,22 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[83, 68], Operations: ['94-11=83', '90-22=68']
Exploring Operation: 83*68=5644, Resulting Numbers: [5644]
5644,22 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 83+68=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[90, 61], Operations: ['94-22=72', '72-11=61']
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,22 unequal: No Solution
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[72, 79], Operations: ['94-22=72', '90-11=79']
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[90, 61], Operations: ['94-11=83', '83-22=61']
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,22 unequal: No Solution
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,22 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[72, 101], Operations: ['94-22=72', '11+90=101']
Exploring Operation: 101-72=29, Resulting Numbers: [29]
29,22 unequal: No Solution
Exploring Operation: 72+101=173, Resulting Numbers: [173]
173,22 unequal: No Solution
Exploring Operation: 72*101=7272, Resulting Numbers: [7272]
7272,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[90, 83], Operations: ['94-22=72', '11+72=83']
Exploring Operation: 90+83=173, Resulting Numbers: [173]
173,22 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 90*83=7470, Resulting Numbers: [7470]
7470,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[90, 105], Operations: ['94-11=83', '22+83=105']
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,22 unequal: No Solution
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 90*105=9450, Resulting Numbers: [9450]
9450,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[83, 112], Operations: ['94-11=83', '22+90=112']
Exploring Operation: 83*112=9296, Resulting Numbers: [9296]
9296,22 unequal: No Solution
Exploring Operation: 83+112=195, Resulting Numbers: [195]
195,22 unequal: No Solution
Exploring Operation: 112-83=29, Resulting Numbers: [29]
29,22 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
48,
24,
51,
10
] | 11 |
[
"48+24=72",
"51+10=61",
"72-61=11"
] |
Current State: 11:[48, 24, 51, 10], Operations: []
Exploring Operation: 48+24=72, Resulting Numbers: [51, 10, 72]
Generated Node #2: [51, 10, 72] from Operation: 48+24=72
Current State: 11:[51, 10, 72], Operations: ['48+24=72']
Exploring Operation: 51+10=61, Resulting Numbers: [72, 61]
Generated Node #3: [72, 61] from Operation: 51+10=61
Current State: 11:[72, 61], Operations: ['48+24=72', '51+10=61']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[48, 24, 51, 10], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [24, 10, 3]
Generated Node #0,0: 11:[24, 10, 3] Operation: 51-48=3
Moving to Node #0,0
Current State: 11:[24, 10, 3], Operations: ['51-48=3']
Exploring Operation: 24/3=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 11:[10, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[10, 8], Operations: ['51-48=3', '24/3=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,11 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
|
[
33,
62,
35,
66
] | 60 |
[
"62-33=29",
"66-35=31",
"29+31=60"
] |
Current State: 60:[33, 62, 35, 66], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [35, 66, 29]
Generated Node #2: [35, 66, 29] from Operation: 62-33=29
Current State: 60:[35, 66, 29], Operations: ['62-33=29']
Exploring Operation: 66-35=31, Resulting Numbers: [29, 31]
Generated Node #3: [29, 31] from Operation: 66-35=31
Current State: 60:[29, 31], Operations: ['62-33=29', '66-35=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[33, 62, 35, 66], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [33, 62, 31]
Generated Node #0,0: 60:[33, 62, 31] Operation: 66-35=31
Exploring Operation: 66/33=2, Resulting Numbers: [62, 35, 2]
Generated Node #0,1: 60:[62, 35, 2] Operation: 66/33=2
Moving to Node #0,0
Current State: 60:[33, 62, 31], Operations: ['66-35=31']
Exploring Operation: 62-33=29, Resulting Numbers: [31, 29]
Generated Node #0,0,0: 60:[31, 29] Operation: 62-33=29
Exploring Operation: 33-31=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 60:[62, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[31, 29], Operations: ['66-35=31', '62-33=29']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[33, 62, 35, 66], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [33, 62, 31]
Generated Node #0,0: 60:[33, 62, 31] Operation: 66-35=31
Moving to Node #0,0
Current State: 60:[33, 62, 31], Operations: ['66-35=31']
Exploring Operation: 62-33=29, Resulting Numbers: [31, 29]
Generated Node #0,0,0: 60:[31, 29] Operation: 62-33=29
Moving to Node #0,0,0
Current State: 60:[31, 29], Operations: ['66-35=31', '62-33=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
13,
30,
64,
7
] | 88 |
[
"30-13=17",
"64+7=71",
"17+71=88"
] |
Current State: 88:[13, 30, 64, 7], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [64, 7, 17]
Generated Node #2: [64, 7, 17] from Operation: 30-13=17
Current State: 88:[64, 7, 17], Operations: ['30-13=17']
Exploring Operation: 64+7=71, Resulting Numbers: [17, 71]
Generated Node #3: [17, 71] from Operation: 64+7=71
Current State: 88:[17, 71], Operations: ['30-13=17', '64+7=71']
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[13, 30, 64, 7], Operations: []
Exploring Operation: 64-30=34, Resulting Numbers: [13, 7, 34]
Generated Node #0,0: 88:[13, 7, 34] Operation: 64-30=34
Exploring Operation: 30+64=94, Resulting Numbers: [13, 7, 94]
Generated Node #0,1: 88:[13, 7, 94] Operation: 30+64=94
Moving to Node #0,1
Current State: 88:[13, 7, 94], Operations: ['30+64=94']
Exploring Operation: 13+7=20, Resulting Numbers: [94, 20]
Generated Node #0,1,0: 88:[94, 20] Operation: 13+7=20
Exploring Operation: 94-7=87, Resulting Numbers: [13, 87]
Generated Node #0,1,1: 88:[13, 87] Operation: 94-7=87
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[13, 87], Operations: ['30+64=94', '94-7=87']
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,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:[94, 20], Operations: ['30+64=94', '13+7=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,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:[13, 7, 34], Operations: ['64-30=34']
Exploring Operation: 13+34=47, Resulting Numbers: [7, 47]
Generated Node #0,0,0: 88:[7, 47] Operation: 13+34=47
Exploring Operation: 34-13=21, Resulting Numbers: [7, 21]
Generated Node #0,0,1: 88:[7, 21] Operation: 34-13=21
Moving to Node #0,0,1
Current State: 88:[7, 21], Operations: ['64-30=34', '34-13=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[7, 47], Operations: ['64-30=34', '13+34=47']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,88 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
8,
30,
23,
62
] | 27 |
[
"62-30=32",
"32/8=4",
"23+4=27"
] |
Current State: 27:[8, 30, 23, 62], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [8, 23, 32]
Generated Node #2: [8, 23, 32] from Operation: 62-30=32
Current State: 27:[8, 23, 32], Operations: ['62-30=32']
Exploring Operation: 32/8=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 32/8=4
Current State: 27:[23, 4], Operations: ['62-30=32', '32/8=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[8, 30, 23, 62], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [8, 30, 39]
Generated Node #0,0: 27:[8, 30, 39] Operation: 62-23=39
Exploring Operation: 62-30=32, Resulting Numbers: [8, 23, 32]
Generated Node #0,1: 27:[8, 23, 32] Operation: 62-30=32
Moving to Node #0,1
Current State: 27:[8, 23, 32], Operations: ['62-30=32']
Exploring Operation: 32/8=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 27:[23, 4] Operation: 32/8=4
Exploring Operation: 32-23=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 27:[8, 9] Operation: 32-23=9
Moving to Node #0,0
Current State: 27:[8, 30, 39], Operations: ['62-23=39']
Exploring Operation: 39-30=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 27:[8, 9] Operation: 39-30=9
Exploring Operation: 39-8=31, Resulting Numbers: [30, 31]
Generated Node #0,0,1: 27:[30, 31] Operation: 39-8=31
Moving to Node #0,1,1
Current State: 27:[8, 9], Operations: ['62-30=32', '32-23=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[8, 9], Operations: ['62-23=39', '39-30=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[23, 4], Operations: ['62-30=32', '32/8=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[8, 30, 23, 62], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [8, 23, 32]
Generated Node #0,1: 27:[8, 23, 32] Operation: 62-30=32
Moving to Node #0,1
Current State: 27:[8, 23, 32], Operations: ['62-30=32']
Exploring Operation: 32/8=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 27:[23, 4] Operation: 32/8=4
Moving to Node #0,1,0
Current State: 27:[23, 4], Operations: ['62-30=32', '32/8=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.986979 |
hs_2
|
mult_heuristic
|
[
74,
70,
14,
43
] | 61 |
[
"74-70=4",
"14+43=57",
"4+57=61"
] |
Current State: 61:[74, 70, 14, 43], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [14, 43, 4]
Generated Node #2: [14, 43, 4] from Operation: 74-70=4
Current State: 61:[14, 43, 4], Operations: ['74-70=4']
Exploring Operation: 14+43=57, Resulting Numbers: [4, 57]
Generated Node #3: [4, 57] from Operation: 14+43=57
Current State: 61:[4, 57], Operations: ['74-70=4', '14+43=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[74, 70, 14, 43], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [70, 43, 60]
Generated Node #0,0: 61:[70, 43, 60] Operation: 74-14=60
Exploring Operation: 74+14=88, Resulting Numbers: [70, 43, 88]
Generated Node #0,1: 61:[70, 43, 88] Operation: 74+14=88
Exploring Operation: 70-14=56, Resulting Numbers: [74, 43, 56]
Generated Node #0,2: 61:[74, 43, 56] Operation: 70-14=56
Exploring Operation: 14+43=57, Resulting Numbers: [74, 70, 57]
Generated Node #0,3: 61:[74, 70, 57] Operation: 14+43=57
Moving to Node #0,3
Current State: 61:[74, 70, 57], Operations: ['14+43=57']
Exploring Operation: 74-70=4, Resulting Numbers: [57, 4]
Generated Node #0,3,0: 61:[57, 4] Operation: 74-70=4
Exploring Operation: 74+57=131, Resulting Numbers: [70, 131]
Generated Node #0,3,1: 61:[70, 131] Operation: 74+57=131
Exploring Operation: 74-57=17, Resulting Numbers: [70, 17]
Generated Node #0,3,2: 61:[70, 17] Operation: 74-57=17
Exploring Operation: 70-57=13, Resulting Numbers: [74, 13]
Generated Node #0,3,3: 61:[74, 13] Operation: 70-57=13
Moving to Node #0,0
Current State: 61:[70, 43, 60], Operations: ['74-14=60']
Exploring Operation: 70-43=27, Resulting Numbers: [60, 27]
Generated Node #0,0,0: 61:[60, 27] Operation: 70-43=27
Exploring Operation: 43+60=103, Resulting Numbers: [70, 103]
Generated Node #0,0,1: 61:[70, 103] Operation: 43+60=103
Exploring Operation: 60-43=17, Resulting Numbers: [70, 17]
Generated Node #0,0,2: 61:[70, 17] Operation: 60-43=17
Exploring Operation: 70+43=113, Resulting Numbers: [60, 113]
Generated Node #0,0,3: 61:[60, 113] Operation: 70+43=113
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[60, 27], Operations: ['74-14=60', '70-43=27']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[70, 103], Operations: ['74-14=60', '43+60=103']
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,61 unequal: No Solution
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,61 unequal: No Solution
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[70, 17], Operations: ['74-14=60', '60-43=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,61 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[60, 113], Operations: ['74-14=60', '70+43=113']
Exploring Operation: 60+113=173, Resulting Numbers: [173]
173,61 unequal: No Solution
Exploring Operation: 60*113=6780, Resulting Numbers: [6780]
6780,61 unequal: No Solution
Exploring Operation: 113-60=53, Resulting Numbers: [53]
53,61 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: 61:[74, 43, 56], Operations: ['70-14=56']
Exploring Operation: 74-43=31, Resulting Numbers: [56, 31]
Generated Node #0,2,0: 61:[56, 31] Operation: 74-43=31
Exploring Operation: 74+43=117, Resulting Numbers: [56, 117]
Generated Node #0,2,1: 61:[56, 117] Operation: 74+43=117
Exploring Operation: 43+56=99, Resulting Numbers: [74, 99]
Generated Node #0,2,2: 61:[74, 99] Operation: 43+56=99
Exploring Operation: 74-56=18, Resulting Numbers: [43, 18]
Generated Node #0,2,3: 61:[43, 18] Operation: 74-56=18
Moving to Node #0,1
Current State: 61:[70, 43, 88], Operations: ['74+14=88']
Exploring Operation: 70+43=113, Resulting Numbers: [88, 113]
Generated Node #0,1,0: 61:[88, 113] Operation: 70+43=113
Exploring Operation: 88-70=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 61:[43, 18] Operation: 88-70=18
Exploring Operation: 88-43=45, Resulting Numbers: [70, 45]
Generated Node #0,1,2: 61:[70, 45] Operation: 88-43=45
Exploring Operation: 70-43=27, Resulting Numbers: [88, 27]
Generated Node #0,1,3: 61:[88, 27] Operation: 70-43=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[70, 45], Operations: ['74+14=88', '88-43=45']
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 70*45=3150, Resulting Numbers: [3150]
3150,61 unequal: No Solution
Exploring Operation: 70+45=115, Resulting Numbers: [115]
115,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[43, 18], Operations: ['74+14=88', '88-70=18']
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,61 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[74, 70, 14, 43], Operations: []
Exploring Operation: 74+14=88, Resulting Numbers: [70, 43, 88]
Generated Node #0,1: 61:[70, 43, 88] Operation: 74+14=88
Moving to Node #0,1
Current State: 61:[70, 43, 88], Operations: ['74+14=88']
Exploring Operation: 88-70=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 61:[43, 18] Operation: 88-70=18
Moving to Node #0,1,1
Current State: 61:[43, 18], Operations: ['74+14=88', '88-70=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 |
hs_4
|
mult_heuristic
|
[
47,
4,
13,
39
] | 95 |
[
"47-4=43",
"13+39=52",
"43+52=95"
] |
Current State: 95:[47, 4, 13, 39], Operations: []
Exploring Operation: 47-4=43, Resulting Numbers: [13, 39, 43]
Generated Node #2: [13, 39, 43] from Operation: 47-4=43
Current State: 95:[13, 39, 43], Operations: ['47-4=43']
Exploring Operation: 13+39=52, Resulting Numbers: [43, 52]
Generated Node #3: [43, 52] from Operation: 13+39=52
Current State: 95:[43, 52], Operations: ['47-4=43', '13+39=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[47, 4, 13, 39], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [4, 13, 8]
Generated Node #0,0: 95:[4, 13, 8] Operation: 47-39=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[4, 13, 8], Operations: ['47-39=8']
Exploring Operation: 13-8=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 95:[4, 5] Operation: 13-8=5
Moving to Node #0,0,0
Current State: 95:[4, 5], Operations: ['47-39=8', '13-8=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,95 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
|
[
36,
48,
86,
15
] | 30 |
[
"36+48=84",
"86-84=2",
"15*2=30"
] |
Current State: 30:[36, 48, 86, 15], Operations: []
Exploring Operation: 36+48=84, Resulting Numbers: [86, 15, 84]
Generated Node #2: [86, 15, 84] from Operation: 36+48=84
Current State: 30:[86, 15, 84], Operations: ['36+48=84']
Exploring Operation: 86-84=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 86-84=2
Current State: 30:[15, 2], Operations: ['36+48=84', '86-84=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[36, 48, 86, 15], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [36, 15, 38]
Generated Node #0,0: 30:[36, 15, 38] Operation: 86-48=38
Exploring Operation: 48-36=12, Resulting Numbers: [86, 15, 12]
Generated Node #0,1: 30:[86, 15, 12] Operation: 48-36=12
Exploring Operation: 86-36=50, Resulting Numbers: [48, 15, 50]
Generated Node #0,2: 30:[48, 15, 50] Operation: 86-36=50
Moving to Node #0,0
Current State: 30:[36, 15, 38], Operations: ['86-48=38']
Exploring Operation: 36-15=21, Resulting Numbers: [38, 21]
Generated Node #0,0,0: 30:[38, 21] Operation: 36-15=21
Exploring Operation: 38-15=23, Resulting Numbers: [36, 23]
Generated Node #0,0,1: 30:[36, 23] Operation: 38-15=23
Exploring Operation: 38-36=2, Resulting Numbers: [15, 2]
Generated Node #0,0,2: 30:[15, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[15, 2], Operations: ['86-48=38', '38-36=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[36, 48, 86, 15], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [36, 15, 38]
Generated Node #0,0: 30:[36, 15, 38] Operation: 86-48=38
Moving to Node #0,0
Current State: 30:[36, 15, 38], Operations: ['86-48=38']
Exploring Operation: 38-36=2, Resulting Numbers: [15, 2]
Generated Node #0,0,2: 30:[15, 2] Operation: 38-36=2
Moving to Node #0,0,2
Current State: 30:[15, 2], Operations: ['86-48=38', '38-36=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
36,
3,
4,
26
] | 94 |
[
"36+4=40",
"3*40=120",
"120-26=94"
] |
Current State: 94:[36, 3, 4, 26], Operations: []
Exploring Operation: 36+4=40, Resulting Numbers: [3, 26, 40]
Generated Node #2: [3, 26, 40] from Operation: 36+4=40
Current State: 94:[3, 26, 40], Operations: ['36+4=40']
Exploring Operation: 3*40=120, Resulting Numbers: [26, 120]
Generated Node #3: [26, 120] from Operation: 3*40=120
Current State: 94:[26, 120], Operations: ['36+4=40', '3*40=120']
Exploring Operation: 120-26=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[36, 3, 4, 26], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [3, 4, 10]
Generated Node #0,0: 94:[3, 4, 10] Operation: 36-26=10
Exploring Operation: 36+26=62, Resulting Numbers: [3, 4, 62]
Generated Node #0,1: 94:[3, 4, 62] Operation: 36+26=62
Moving to Node #0,0
Current State: 94:[3, 4, 10], Operations: ['36-26=10']
Exploring Operation: 10-4=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 94:[3, 6] Operation: 10-4=6
Exploring Operation: 10-3=7, Resulting Numbers: [4, 7]
Generated Node #0,0,1: 94:[4, 7] Operation: 10-3=7
Moving to Node #0,1
Current State: 94:[3, 4, 62], Operations: ['36+26=62']
Exploring Operation: 62-3=59, Resulting Numbers: [4, 59]
Generated Node #0,1,0: 94:[4, 59] Operation: 62-3=59
Exploring Operation: 62-4=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 94:[3, 58] Operation: 62-4=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[3, 58], Operations: ['36+26=62', '62-4=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[4, 59], Operations: ['36+26=62', '62-3=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,94 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: 94:[3, 6], Operations: ['36-26=10', '10-4=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[4, 7], Operations: ['36-26=10', '10-3=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,94 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
85,
14,
91,
87
] | 75 |
[
"85-14=71",
"91-87=4",
"71+4=75"
] |
Current State: 75:[85, 14, 91, 87], Operations: []
Exploring Operation: 85-14=71, Resulting Numbers: [91, 87, 71]
Generated Node #2: [91, 87, 71] from Operation: 85-14=71
Current State: 75:[91, 87, 71], Operations: ['85-14=71']
Exploring Operation: 91-87=4, Resulting Numbers: [71, 4]
Generated Node #3: [71, 4] from Operation: 91-87=4
Current State: 75:[71, 4], Operations: ['85-14=71', '91-87=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[85, 14, 91, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [85, 14, 4]
Generated Node #0,0: 75:[85, 14, 4] Operation: 91-87=4
Exploring Operation: 91-85=6, Resulting Numbers: [14, 87, 6]
Generated Node #0,1: 75:[14, 87, 6] Operation: 91-85=6
Exploring Operation: 87-85=2, Resulting Numbers: [14, 91, 2]
Generated Node #0,2: 75:[14, 91, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[85, 14, 4], Operations: ['91-87=4']
Exploring Operation: 85-4=81, Resulting Numbers: [14, 81]
Generated Node #0,0,0: 75:[14, 81] Operation: 85-4=81
Exploring Operation: 14+4=18, Resulting Numbers: [85, 18]
Generated Node #0,0,1: 75:[85, 18] Operation: 14+4=18
Exploring Operation: 85-14=71, Resulting Numbers: [4, 71]
Generated Node #0,0,2: 75:[4, 71] Operation: 85-14=71
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[4, 71], Operations: ['91-87=4', '85-14=71']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 4*71=284, Resulting Numbers: [284]
284,75 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[85, 14, 91, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [85, 14, 4]
Generated Node #0,0: 75:[85, 14, 4] Operation: 91-87=4
Moving to Node #0,0
Current State: 75:[85, 14, 4], Operations: ['91-87=4']
Exploring Operation: 85-14=71, Resulting Numbers: [4, 71]
Generated Node #0,0,2: 75:[4, 71] Operation: 85-14=71
Moving to Node #0,0,2
Current State: 75:[4, 71], Operations: ['91-87=4', '85-14=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
8,
56,
83,
78
] | 93 |
[
"78-56=22",
"8*22=176",
"176-83=93"
] |
Current State: 93:[8, 56, 83, 78], Operations: []
Exploring Operation: 78-56=22, Resulting Numbers: [8, 83, 22]
Generated Node #2: [8, 83, 22] from Operation: 78-56=22
Current State: 93:[8, 83, 22], Operations: ['78-56=22']
Exploring Operation: 8*22=176, Resulting Numbers: [83, 176]
Generated Node #3: [83, 176] from Operation: 8*22=176
Current State: 93:[83, 176], Operations: ['78-56=22', '8*22=176']
Exploring Operation: 176-83=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 |
Current State: 93:[8, 56, 83, 78], Operations: []
Exploring Operation: 83-56=27, Resulting Numbers: [8, 78, 27]
Generated Node #0,0: 93:[8, 78, 27] Operation: 83-56=27
Moving to Node #0,0
Current State: 93:[8, 78, 27], Operations: ['83-56=27']
Exploring Operation: 8+78=86, Resulting Numbers: [27, 86]
Generated Node #0,0,0: 93:[27, 86] Operation: 8+78=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[27, 86], Operations: ['83-56=27', '8+78=86']
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
1,
46,
39,
68
] | 26 |
[
"1+68=69",
"46*39=1794",
"1794/69=26"
] |
Current State: 26:[1, 46, 39, 68], Operations: []
Exploring Operation: 1+68=69, Resulting Numbers: [46, 39, 69]
Generated Node #2: [46, 39, 69] from Operation: 1+68=69
Current State: 26:[46, 39, 69], Operations: ['1+68=69']
Exploring Operation: 46*39=1794, Resulting Numbers: [69, 1794]
Generated Node #3: [69, 1794] from Operation: 46*39=1794
Current State: 26:[69, 1794], Operations: ['1+68=69', '46*39=1794']
Exploring Operation: 1794/69=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[1, 46, 39, 68], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [1, 39, 22]
Generated Node #0,0: 26:[1, 39, 22] Operation: 68-46=22
Moving to Node #0,0
Current State: 26:[1, 39, 22], Operations: ['68-46=22']
Exploring Operation: 39-22=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 26:[1, 17] Operation: 39-22=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[1, 17], Operations: ['68-46=22', '39-22=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,26 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
|
[
23,
57,
26,
74
] | 51 |
[
"26-23=3",
"74-57=17",
"3*17=51"
] |
Current State: 51:[23, 57, 26, 74], Operations: []
Exploring Operation: 26-23=3, Resulting Numbers: [57, 74, 3]
Generated Node #2: [57, 74, 3] from Operation: 26-23=3
Current State: 51:[57, 74, 3], Operations: ['26-23=3']
Exploring Operation: 74-57=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 74-57=17
Current State: 51:[3, 17], Operations: ['26-23=3', '74-57=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[23, 57, 26, 74], Operations: []
Exploring Operation: 74-23=51, Resulting Numbers: [57, 26, 51]
Generated Node #0,0: 51:[57, 26, 51] Operation: 74-23=51
Exploring Operation: 74-57=17, Resulting Numbers: [23, 26, 17]
Generated Node #0,1: 51:[23, 26, 17] Operation: 74-57=17
Exploring Operation: 74-26=48, Resulting Numbers: [23, 57, 48]
Generated Node #0,2: 51:[23, 57, 48] Operation: 74-26=48
Moving to Node #0,0
Current State: 51:[57, 26, 51], Operations: ['74-23=51']
Exploring Operation: 51-26=25, Resulting Numbers: [57, 25]
Generated Node #0,0,0: 51:[57, 25] Operation: 51-26=25
Exploring Operation: 57-26=31, Resulting Numbers: [51, 31]
Generated Node #0,0,1: 51:[51, 31] Operation: 57-26=31
Exploring Operation: 57-51=6, Resulting Numbers: [26, 6]
Generated Node #0,0,2: 51:[26, 6] Operation: 57-51=6
Moving to Node #0,1
Current State: 51:[23, 26, 17], Operations: ['74-57=17']
Exploring Operation: 26-23=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 51:[17, 3] Operation: 26-23=3
Exploring Operation: 23-17=6, Resulting Numbers: [26, 6]
Generated Node #0,1,1: 51:[26, 6] Operation: 23-17=6
Exploring Operation: 23+26=49, Resulting Numbers: [17, 49]
Generated Node #0,1,2: 51:[17, 49] Operation: 23+26=49
Moving to Node #0,2
Current State: 51:[23, 57, 48], Operations: ['74-26=48']
Exploring Operation: 57-23=34, Resulting Numbers: [48, 34]
Generated Node #0,2,0: 51:[48, 34] Operation: 57-23=34
Exploring Operation: 48-23=25, Resulting Numbers: [57, 25]
Generated Node #0,2,1: 51:[57, 25] Operation: 48-23=25
Exploring Operation: 57-48=9, Resulting Numbers: [23, 9]
Generated Node #0,2,2: 51:[23, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[23, 9], Operations: ['74-26=48', '57-48=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[57, 25], Operations: ['74-26=48', '48-23=25']
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,51 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[48, 34], Operations: ['74-26=48', '57-23=34']
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,51 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,51 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: 51:[17, 3], Operations: ['74-57=17', '26-23=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[23, 57, 26, 74], Operations: []
Exploring Operation: 74-57=17, Resulting Numbers: [23, 26, 17]
Generated Node #0,1: 51:[23, 26, 17] Operation: 74-57=17
Moving to Node #0,1
Current State: 51:[23, 26, 17], Operations: ['74-57=17']
Exploring Operation: 26-23=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 51:[17, 3] Operation: 26-23=3
Moving to Node #0,1,0
Current State: 51:[17, 3], Operations: ['74-57=17', '26-23=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.977431 |
hs_3
|
mult_heuristic
|
[
66,
81,
34,
53
] | 11 |
[
"81-34=47",
"53-47=6",
"66/6=11"
] |
Current State: 11:[66, 81, 34, 53], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [66, 53, 47]
Generated Node #2: [66, 53, 47] from Operation: 81-34=47
Current State: 11:[66, 53, 47], Operations: ['81-34=47']
Exploring Operation: 53-47=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 53-47=6
Current State: 11:[66, 6], Operations: ['81-34=47', '53-47=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[66, 81, 34, 53], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [81, 34, 13]
Generated Node #0,0: 11:[81, 34, 13] Operation: 66-53=13
Exploring Operation: 81-53=28, Resulting Numbers: [66, 34, 28]
Generated Node #0,1: 11:[66, 34, 28] Operation: 81-53=28
Exploring Operation: 81-66=15, Resulting Numbers: [34, 53, 15]
Generated Node #0,2: 11:[34, 53, 15] Operation: 81-66=15
Exploring Operation: 66-34=32, Resulting Numbers: [81, 53, 32]
Generated Node #0,3: 11:[81, 53, 32] Operation: 66-34=32
Moving to Node #0,2
Current State: 11:[34, 53, 15], Operations: ['81-66=15']
Exploring Operation: 34-15=19, Resulting Numbers: [53, 19]
Generated Node #0,2,0: 11:[53, 19] Operation: 34-15=19
Exploring Operation: 34+53=87, Resulting Numbers: [15, 87]
Generated Node #0,2,1: 11:[15, 87] Operation: 34+53=87
Exploring Operation: 53-34=19, Resulting Numbers: [15, 19]
Generated Node #0,2,2: 11:[15, 19] Operation: 53-34=19
Exploring Operation: 53-15=38, Resulting Numbers: [34, 38]
Generated Node #0,2,3: 11:[34, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[15, 19], Operations: ['81-66=15', '53-34=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,11 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[53, 19], Operations: ['81-66=15', '34-15=19']
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 11:[34, 38], Operations: ['81-66=15', '53-15=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,11 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[15, 87], Operations: ['81-66=15', '34+53=87']
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,11 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,11 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: 11:[66, 34, 28], Operations: ['81-53=28']
Exploring Operation: 34-28=6, Resulting Numbers: [66, 6]
Generated Node #0,1,0: 11:[66, 6] Operation: 34-28=6
Exploring Operation: 66+34=100, Resulting Numbers: [28, 100]
Generated Node #0,1,1: 11:[28, 100] Operation: 66+34=100
Exploring Operation: 66-28=38, Resulting Numbers: [34, 38]
Generated Node #0,1,2: 11:[34, 38] Operation: 66-28=38
Exploring Operation: 66-34=32, Resulting Numbers: [28, 32]
Generated Node #0,1,3: 11:[28, 32] Operation: 66-34=32
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[28, 32], Operations: ['81-53=28', '66-34=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[34, 38], Operations: ['81-53=28', '66-28=38']
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,11 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[66, 6], Operations: ['81-53=28', '34-28=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[66, 81, 34, 53], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [66, 34, 28]
Generated Node #0,1: 11:[66, 34, 28] Operation: 81-53=28
Moving to Node #0,1
Current State: 11:[66, 34, 28], Operations: ['81-53=28']
Exploring Operation: 34-28=6, Resulting Numbers: [66, 6]
Generated Node #0,1,0: 11:[66, 6] Operation: 34-28=6
Moving to Node #0,1,0
Current State: 11:[66, 6], Operations: ['81-53=28', '34-28=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 |
hs_4
|
mult_heuristic
|
[
60,
48,
74,
50
] | 88 |
[
"50-48=2",
"74*2=148",
"148-60=88"
] |
Current State: 88:[60, 48, 74, 50], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [60, 74, 2]
Generated Node #2: [60, 74, 2] from Operation: 50-48=2
Current State: 88:[60, 74, 2], Operations: ['50-48=2']
Exploring Operation: 74*2=148, Resulting Numbers: [60, 148]
Generated Node #3: [60, 148] from Operation: 74*2=148
Current State: 88:[60, 148], Operations: ['50-48=2', '74*2=148']
Exploring Operation: 148-60=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[60, 48, 74, 50], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [48, 50, 14]
Generated Node #0,0: 88:[48, 50, 14] Operation: 74-60=14
Exploring Operation: 60-50=10, Resulting Numbers: [48, 74, 10]
Generated Node #0,1: 88:[48, 74, 10] Operation: 60-50=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[48, 50, 14], Operations: ['74-60=14']
Exploring Operation: 50-48=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 88:[14, 2] Operation: 50-48=2
Exploring Operation: 50-14=36, Resulting Numbers: [48, 36]
Generated Node #0,0,1: 88:[48, 36] Operation: 50-14=36
Moving to Node #0,0,0
Current State: 88:[14, 2], Operations: ['74-60=14', '50-48=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,88 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[48, 36], Operations: ['74-60=14', '50-14=36']
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,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
Current State: 88:[48, 74, 10], Operations: ['60-50=10']
Exploring Operation: 74-48=26, Resulting Numbers: [10, 26]
Generated Node #0,1,0: 88:[10, 26] Operation: 74-48=26
Exploring Operation: 74+10=84, Resulting Numbers: [48, 84]
Generated Node #0,1,1: 88:[48, 84] Operation: 74+10=84
Moving to Node #0,1,0
Current State: 88:[10, 26], Operations: ['60-50=10', '74-48=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[48, 84], Operations: ['60-50=10', '74+10=84']
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,88 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
|
[
51,
4,
32,
40
] | 73 |
[
"51+32=83",
"40/4=10",
"83-10=73"
] |
Current State: 73:[51, 4, 32, 40], Operations: []
Exploring Operation: 51+32=83, Resulting Numbers: [4, 40, 83]
Generated Node #2: [4, 40, 83] from Operation: 51+32=83
Current State: 73:[4, 40, 83], Operations: ['51+32=83']
Exploring Operation: 40/4=10, Resulting Numbers: [83, 10]
Generated Node #3: [83, 10] from Operation: 40/4=10
Current State: 73:[83, 10], Operations: ['51+32=83', '40/4=10']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[51, 4, 32, 40], Operations: []
Exploring Operation: 4+32=36, Resulting Numbers: [51, 40, 36]
Generated Node #0,0: 73:[51, 40, 36] Operation: 4+32=36
Exploring Operation: 32+40=72, Resulting Numbers: [51, 4, 72]
Generated Node #0,1: 73:[51, 4, 72] Operation: 32+40=72
Exploring Operation: 51+4=55, Resulting Numbers: [32, 40, 55]
Generated Node #0,2: 73:[32, 40, 55] Operation: 51+4=55
Exploring Operation: 51-4=47, Resulting Numbers: [32, 40, 47]
Generated Node #0,3: 73:[32, 40, 47] Operation: 51-4=47
Exploring Operation: 4+40=44, Resulting Numbers: [51, 32, 44]
Generated Node #0,4: 73:[51, 32, 44] Operation: 4+40=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[51, 40, 36], Operations: ['4+32=36']
Exploring Operation: 51+36=87, Resulting Numbers: [40, 87]
Generated Node #0,0,0: 73:[40, 87] Operation: 51+36=87
Exploring Operation: 40-36=4, Resulting Numbers: [51, 4]
Generated Node #0,0,1: 73:[51, 4] Operation: 40-36=4
Exploring Operation: 51-36=15, Resulting Numbers: [40, 15]
Generated Node #0,0,2: 73:[40, 15] Operation: 51-36=15
Exploring Operation: 51+40=91, Resulting Numbers: [36, 91]
Generated Node #0,0,3: 73:[36, 91] Operation: 51+40=91
Exploring Operation: 40+36=76, Resulting Numbers: [51, 76]
Generated Node #0,0,4: 73:[51, 76] Operation: 40+36=76
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 73:[51, 76], Operations: ['4+32=36', '40+36=76']
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,73 unequal: No Solution
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[40, 87], Operations: ['4+32=36', '51+36=87']
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 40+87=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 40*87=3480, Resulting Numbers: [3480]
3480,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[36, 91], Operations: ['4+32=36', '51+40=91']
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 36*91=3276, Resulting Numbers: [3276]
3276,73 unequal: No Solution
Exploring Operation: 36+91=127, Resulting Numbers: [127]
127,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[51, 4], Operations: ['4+32=36', '40-36=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[40, 15], Operations: ['4+32=36', '51-36=15']
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,73 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[51, 4, 72], Operations: ['32+40=72']
Exploring Operation: 72/4=18, Resulting Numbers: [51, 18]
Generated Node #0,1,0: 73:[51, 18] Operation: 72/4=18
Exploring Operation: 51+4=55, Resulting Numbers: [72, 55]
Generated Node #0,1,1: 73:[72, 55] Operation: 51+4=55
Exploring Operation: 51-4=47, Resulting Numbers: [72, 47]
Generated Node #0,1,2: 73:[72, 47] Operation: 51-4=47
Exploring Operation: 4+72=76, Resulting Numbers: [51, 76]
Generated Node #0,1,3: 73:[51, 76] Operation: 4+72=76
Exploring Operation: 72-4=68, Resulting Numbers: [51, 68]
Generated Node #0,1,4: 73:[51, 68] Operation: 72-4=68
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[72, 55], Operations: ['32+40=72', '51+4=55']
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,73 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[51, 76], Operations: ['32+40=72', '4+72=76']
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[72, 47], Operations: ['32+40=72', '51-4=47']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,73 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[51, 68], Operations: ['32+40=72', '72-4=68']
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,73 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[51, 18], Operations: ['32+40=72', '72/4=18']
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,73 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[32, 40, 55], Operations: ['51+4=55']
Exploring Operation: 55-32=23, Resulting Numbers: [40, 23]
Generated Node #0,2,0: 73:[40, 23] Operation: 55-32=23
Exploring Operation: 32+55=87, Resulting Numbers: [40, 87]
Generated Node #0,2,1: 73:[40, 87] Operation: 32+55=87
Exploring Operation: 40-32=8, Resulting Numbers: [55, 8]
Generated Node #0,2,2: 73:[55, 8] Operation: 40-32=8
Exploring Operation: 32+40=72, Resulting Numbers: [55, 72]
Generated Node #0,2,3: 73:[55, 72] Operation: 32+40=72
Exploring Operation: 40+55=95, Resulting Numbers: [32, 95]
Generated Node #0,2,4: 73:[32, 95] Operation: 40+55=95
Moving to Node #0,2,3
Current State: 73:[55, 72], Operations: ['51+4=55', '32+40=72']
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 55*72=3960, Resulting Numbers: [3960]
3960,73 unequal: No Solution
Exploring Operation: 55+72=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[40, 87], Operations: ['51+4=55', '32+55=87']
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 40+87=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 40*87=3480, Resulting Numbers: [3480]
3480,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[32, 95], Operations: ['51+4=55', '40+55=95']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 32+95=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 32*95=3040, Resulting Numbers: [3040]
3040,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[40, 23], Operations: ['51+4=55', '55-32=23']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,73 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[55, 8], Operations: ['51+4=55', '40-32=8']
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[51, 32, 44], Operations: ['4+40=44']
Exploring Operation: 44-32=12, Resulting Numbers: [51, 12]
Generated Node #0,4,0: 73:[51, 12] Operation: 44-32=12
Exploring Operation: 51-32=19, Resulting Numbers: [44, 19]
Generated Node #0,4,1: 73:[44, 19] Operation: 51-32=19
Exploring Operation: 32+44=76, Resulting Numbers: [51, 76]
Generated Node #0,4,2: 73:[51, 76] Operation: 32+44=76
Exploring Operation: 51+32=83, Resulting Numbers: [44, 83]
Generated Node #0,4,3: 73:[44, 83] Operation: 51+32=83
Exploring Operation: 51+44=95, Resulting Numbers: [32, 95]
Generated Node #0,4,4: 73:[32, 95] Operation: 51+44=95
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 73:[51, 76], Operations: ['4+40=44', '32+44=76']
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 73:[44, 83], Operations: ['4+40=44', '51+32=83']
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 44*83=3652, Resulting Numbers: [3652]
3652,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 73:[32, 95], Operations: ['4+40=44', '51+44=95']
Exploring Operation: 32+95=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 32*95=3040, Resulting Numbers: [3040]
3040,73 unequal: No Solution
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 73:[51, 12], Operations: ['4+40=44', '44-32=12']
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,73 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 73:[44, 19], Operations: ['4+40=44', '51-32=19']
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,73 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[32, 40, 47], Operations: ['51-4=47']
Exploring Operation: 40+47=87, Resulting Numbers: [32, 87]
Generated Node #0,3,0: 73:[32, 87] Operation: 40+47=87
Exploring Operation: 32+47=79, Resulting Numbers: [40, 79]
Generated Node #0,3,1: 73:[40, 79] Operation: 32+47=79
Exploring Operation: 40-32=8, Resulting Numbers: [47, 8]
Generated Node #0,3,2: 73:[47, 8] Operation: 40-32=8
Exploring Operation: 32+40=72, Resulting Numbers: [47, 72]
Generated Node #0,3,3: 73:[47, 72] Operation: 32+40=72
Exploring Operation: 47-32=15, Resulting Numbers: [40, 15]
Generated Node #0,3,4: 73:[40, 15] Operation: 47-32=15
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[47, 72], Operations: ['51-4=47', '32+40=72']
Exploring Operation: 47*72=3384, Resulting Numbers: [3384]
3384,73 unequal: No Solution
Exploring Operation: 47+72=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[40, 79], Operations: ['51-4=47', '32+47=79']
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,73 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[32, 87], Operations: ['51-4=47', '40+47=87']
Exploring Operation: 32*87=2784, Resulting Numbers: [2784]
2784,73 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 32+87=119, Resulting Numbers: [119]
119,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[47, 8], Operations: ['51-4=47', '40-32=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 73:[40, 15], Operations: ['51-4=47', '47-32=15']
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,73 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
62,
51,
69,
12
] | 72 |
[
"51+69=120",
"120/12=10",
"62+10=72"
] |
Current State: 72:[62, 51, 69, 12], Operations: []
Exploring Operation: 51+69=120, Resulting Numbers: [62, 12, 120]
Generated Node #2: [62, 12, 120] from Operation: 51+69=120
Current State: 72:[62, 12, 120], Operations: ['51+69=120']
Exploring Operation: 120/12=10, Resulting Numbers: [62, 10]
Generated Node #3: [62, 10] from Operation: 120/12=10
Current State: 72:[62, 10], Operations: ['51+69=120', '120/12=10']
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[62, 51, 69, 12], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [69, 12, 11]
Generated Node #0,0: 72:[69, 12, 11] Operation: 62-51=11
Moving to Node #0,0
Current State: 72:[69, 12, 11], Operations: ['62-51=11']
Exploring Operation: 12+11=23, Resulting Numbers: [69, 23]
Generated Node #0,0,0: 72:[69, 23] Operation: 12+11=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[69, 23], Operations: ['62-51=11', '12+11=23']
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
7,
30,
1,
2
] | 97 |
[
"1+2=3",
"30*3=90",
"7+90=97"
] |
Current State: 97:[7, 30, 1, 2], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [7, 30, 3]
Generated Node #2: [7, 30, 3] from Operation: 1+2=3
Current State: 97:[7, 30, 3], Operations: ['1+2=3']
Exploring Operation: 30*3=90, Resulting Numbers: [7, 90]
Generated Node #3: [7, 90] from Operation: 30*3=90
Current State: 97:[7, 90], Operations: ['1+2=3', '30*3=90']
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 |
Current State: 97:[7, 30, 1, 2], Operations: []
Exploring Operation: 7*2=14, Resulting Numbers: [30, 1, 14]
Generated Node #0,0: 97:[30, 1, 14] Operation: 7*2=14
Exploring Operation: 30*2=60, Resulting Numbers: [7, 1, 60]
Generated Node #0,1: 97:[7, 1, 60] Operation: 30*2=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[7, 1, 60], Operations: ['30*2=60']
Exploring Operation: 7+60=67, Resulting Numbers: [1, 67]
Generated Node #0,1,0: 97:[1, 67] Operation: 7+60=67
Exploring Operation: 7+1=8, Resulting Numbers: [60, 8]
Generated Node #0,1,1: 97:[60, 8] Operation: 7+1=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[1, 67], Operations: ['30*2=60', '7+60=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[60, 8], Operations: ['30*2=60', '7+1=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[30, 1, 14], Operations: ['7*2=14']
Exploring Operation: 30+1=31, Resulting Numbers: [14, 31]
Generated Node #0,0,0: 97:[14, 31] Operation: 30+1=31
Exploring Operation: 30+14=44, Resulting Numbers: [1, 44]
Generated Node #0,0,1: 97:[1, 44] Operation: 30+14=44
Moving to Node #0,0,0
Current State: 97:[14, 31], Operations: ['7*2=14', '30+1=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[1, 44], Operations: ['7*2=14', '30+14=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
56,
79,
37,
44
] | 58 |
[
"79-56=23",
"37+44=81",
"81-23=58"
] |
Current State: 58:[56, 79, 37, 44], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [37, 44, 23]
Generated Node #2: [37, 44, 23] from Operation: 79-56=23
Current State: 58:[37, 44, 23], Operations: ['79-56=23']
Exploring Operation: 37+44=81, Resulting Numbers: [23, 81]
Generated Node #3: [23, 81] from Operation: 37+44=81
Current State: 58:[23, 81], Operations: ['79-56=23', '37+44=81']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[56, 79, 37, 44], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [37, 44, 23]
Generated Node #0,0: 58:[37, 44, 23] Operation: 79-56=23
Exploring Operation: 79-44=35, Resulting Numbers: [56, 37, 35]
Generated Node #0,1: 58:[56, 37, 35] Operation: 79-44=35
Moving to Node #0,1
Current State: 58:[56, 37, 35], Operations: ['79-44=35']
Exploring Operation: 37-35=2, Resulting Numbers: [56, 2]
Generated Node #0,1,0: 58:[56, 2] Operation: 37-35=2
Exploring Operation: 56-37=19, Resulting Numbers: [35, 19]
Generated Node #0,1,1: 58:[35, 19] Operation: 56-37=19
Moving to Node #0,0
Current State: 58:[37, 44, 23], Operations: ['79-56=23']
Exploring Operation: 44-37=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 58:[23, 7] Operation: 44-37=7
Exploring Operation: 37+23=60, Resulting Numbers: [44, 60]
Generated Node #0,0,1: 58:[44, 60] Operation: 37+23=60
Moving to Node #0,1,0
Current State: 58:[56, 2], Operations: ['79-44=35', '37-35=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[56, 79, 37, 44], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [56, 37, 35]
Generated Node #0,1: 58:[56, 37, 35] Operation: 79-44=35
Moving to Node #0,1
Current State: 58:[56, 37, 35], Operations: ['79-44=35']
Exploring Operation: 37-35=2, Resulting Numbers: [56, 2]
Generated Node #0,1,0: 58:[56, 2] Operation: 37-35=2
Moving to Node #0,1,0
Current State: 58:[56, 2], Operations: ['79-44=35', '37-35=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.990451 |
hs_2
|
mult_heuristic
|
[
46,
21,
76,
10
] | 24 |
[
"76-46=30",
"30/10=3",
"21+3=24"
] |
Current State: 24:[46, 21, 76, 10], Operations: []
Exploring Operation: 76-46=30, Resulting Numbers: [21, 10, 30]
Generated Node #2: [21, 10, 30] from Operation: 76-46=30
Current State: 24:[21, 10, 30], Operations: ['76-46=30']
Exploring Operation: 30/10=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 30/10=3
Current State: 24:[21, 3], Operations: ['76-46=30', '30/10=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[46, 21, 76, 10], Operations: []
Exploring Operation: 76-46=30, Resulting Numbers: [21, 10, 30]
Generated Node #0,0: 24:[21, 10, 30] Operation: 76-46=30
Exploring Operation: 46-21=25, Resulting Numbers: [76, 10, 25]
Generated Node #0,1: 24:[76, 10, 25] Operation: 46-21=25
Exploring Operation: 46-10=36, Resulting Numbers: [21, 76, 36]
Generated Node #0,2: 24:[21, 76, 36] Operation: 46-10=36
Exploring Operation: 76-21=55, Resulting Numbers: [46, 10, 55]
Generated Node #0,3: 24:[46, 10, 55] Operation: 76-21=55
Exploring Operation: 76-10=66, Resulting Numbers: [46, 21, 66]
Generated Node #0,4: 24:[46, 21, 66] Operation: 76-10=66
Moving to Node #0,0
Current State: 24:[21, 10, 30], Operations: ['76-46=30']
Exploring Operation: 30-10=20, Resulting Numbers: [21, 20]
Generated Node #0,0,0: 24:[21, 20] Operation: 30-10=20
Exploring Operation: 30-21=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 24:[10, 9] Operation: 30-21=9
Exploring Operation: 21+10=31, Resulting Numbers: [30, 31]
Generated Node #0,0,2: 24:[30, 31] Operation: 21+10=31
Exploring Operation: 30/10=3, Resulting Numbers: [21, 3]
Generated Node #0,0,3: 24:[21, 3] Operation: 30/10=3
Exploring Operation: 21-10=11, Resulting Numbers: [30, 11]
Generated Node #0,0,4: 24:[30, 11] Operation: 21-10=11
Moving to Node #0,3
Current State: 24:[46, 10, 55], Operations: ['76-21=55']
Exploring Operation: 55-10=45, Resulting Numbers: [46, 45]
Generated Node #0,3,0: 24:[46, 45] Operation: 55-10=45
Exploring Operation: 10+55=65, Resulting Numbers: [46, 65]
Generated Node #0,3,1: 24:[46, 65] Operation: 10+55=65
Exploring Operation: 55-46=9, Resulting Numbers: [10, 9]
Generated Node #0,3,2: 24:[10, 9] Operation: 55-46=9
Exploring Operation: 46-10=36, Resulting Numbers: [55, 36]
Generated Node #0,3,3: 24:[55, 36] Operation: 46-10=36
Exploring Operation: 46+10=56, Resulting Numbers: [55, 56]
Generated Node #0,3,4: 24:[55, 56] Operation: 46+10=56
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[10, 9], Operations: ['76-21=55', '55-46=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,24 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No 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: 24:[46, 45], Operations: ['76-21=55', '55-10=45']
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,24 unequal: No Solution
No 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: 24:[55, 36], Operations: ['76-21=55', '46-10=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,24 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,24 unequal: No Solution
No 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: 24:[46, 65], Operations: ['76-21=55', '10+55=65']
Exploring Operation: 46*65=2990, Resulting Numbers: [2990]
2990,24 unequal: No Solution
Exploring Operation: 46+65=111, Resulting Numbers: [111]
111,24 unequal: No Solution
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,24 unequal: No Solution
No 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: 24:[55, 56], Operations: ['76-21=55', '46+10=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,24 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,24 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: 24:[76, 10, 25], Operations: ['46-21=25']
Exploring Operation: 25-10=15, Resulting Numbers: [76, 15]
Generated Node #0,1,0: 24:[76, 15] Operation: 25-10=15
Exploring Operation: 76-10=66, Resulting Numbers: [25, 66]
Generated Node #0,1,1: 24:[25, 66] Operation: 76-10=66
Exploring Operation: 76-25=51, Resulting Numbers: [10, 51]
Generated Node #0,1,2: 24:[10, 51] Operation: 76-25=51
Exploring Operation: 10+25=35, Resulting Numbers: [76, 35]
Generated Node #0,1,3: 24:[76, 35] Operation: 10+25=35
Exploring Operation: 76+10=86, Resulting Numbers: [25, 86]
Generated Node #0,1,4: 24:[25, 86] Operation: 76+10=86
Moving to Node #0,2
Current State: 24:[21, 76, 36], Operations: ['46-10=36']
Exploring Operation: 76-21=55, Resulting Numbers: [36, 55]
Generated Node #0,2,0: 24:[36, 55] Operation: 76-21=55
Exploring Operation: 21+36=57, Resulting Numbers: [76, 57]
Generated Node #0,2,1: 24:[76, 57] Operation: 21+36=57
Exploring Operation: 36-21=15, Resulting Numbers: [76, 15]
Generated Node #0,2,2: 24:[76, 15] Operation: 36-21=15
Exploring Operation: 21+76=97, Resulting Numbers: [36, 97]
Generated Node #0,2,3: 24:[36, 97] Operation: 21+76=97
Exploring Operation: 76-36=40, Resulting Numbers: [21, 40]
Generated Node #0,2,4: 24:[21, 40] Operation: 76-36=40
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 24:[21, 40], Operations: ['46-10=36', '76-36=40']
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,24 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,24 unequal: No Solution
No 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: 24:[36, 55], Operations: ['46-10=36', '76-21=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,24 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,24 unequal: No Solution
No 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: 24:[76, 15], Operations: ['46-10=36', '36-21=15']
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,24 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,24 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,24 unequal: No Solution
No 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: 24:[76, 57], Operations: ['46-10=36', '21+36=57']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,24 unequal: No Solution
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,24 unequal: No Solution
No 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: 24:[36, 97], Operations: ['46-10=36', '21+76=97']
Exploring Operation: 36*97=3492, Resulting Numbers: [3492]
3492,24 unequal: No Solution
Exploring Operation: 36+97=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,24 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: 24:[46, 21, 66], Operations: ['76-10=66']
Exploring Operation: 66-46=20, Resulting Numbers: [21, 20]
Generated Node #0,4,0: 24:[21, 20] Operation: 66-46=20
Exploring Operation: 46+21=67, Resulting Numbers: [66, 67]
Generated Node #0,4,1: 24:[66, 67] Operation: 46+21=67
Exploring Operation: 66-21=45, Resulting Numbers: [46, 45]
Generated Node #0,4,2: 24:[46, 45] Operation: 66-21=45
Exploring Operation: 21+66=87, Resulting Numbers: [46, 87]
Generated Node #0,4,3: 24:[46, 87] Operation: 21+66=87
Exploring Operation: 46-21=25, Resulting Numbers: [66, 25]
Generated Node #0,4,4: 24:[66, 25] Operation: 46-21=25
Moving to Node #0,0,1
Current State: 24:[10, 9], Operations: ['76-46=30', '30-21=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,24 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[21, 3], Operations: ['76-46=30', '30/10=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,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:[46, 21, 76, 10], Operations: []
Exploring Operation: 76-46=30, Resulting Numbers: [21, 10, 30]
Generated Node #0,0: 24:[21, 10, 30] Operation: 76-46=30
Moving to Node #0,0
Current State: 24:[21, 10, 30], Operations: ['76-46=30']
Exploring Operation: 30/10=3, Resulting Numbers: [21, 3]
Generated Node #0,0,3: 24:[21, 3] Operation: 30/10=3
Moving to Node #0,0,3
Current State: 24:[21, 3], Operations: ['76-46=30', '30/10=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.939236 |
hs_5
|
sum_heuristic
|
[
80,
96,
81,
84
] | 76 |
[
"80*81=6480",
"6480-96=6384",
"6384/84=76"
] |
Current State: 76:[80, 96, 81, 84], Operations: []
Exploring Operation: 80*81=6480, Resulting Numbers: [96, 84, 6480]
Generated Node #2: [96, 84, 6480] from Operation: 80*81=6480
Current State: 76:[96, 84, 6480], Operations: ['80*81=6480']
Exploring Operation: 6480-96=6384, Resulting Numbers: [84, 6384]
Generated Node #3: [84, 6384] from Operation: 6480-96=6384
Current State: 76:[84, 6384], Operations: ['80*81=6480', '6480-96=6384']
Exploring Operation: 6384/84=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[80, 96, 81, 84], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [81, 84, 16]
Generated Node #0,0: 76:[81, 84, 16] Operation: 96-80=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[81, 84, 16], Operations: ['96-80=16']
Exploring Operation: 84-81=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 76:[16, 3] Operation: 84-81=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[16, 3], Operations: ['96-80=16', '84-81=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
49,
86,
42,
87
] | 91 |
[
"49+42=91",
"87-86=1",
"91*1=91"
] |
Current State: 91:[49, 86, 42, 87], Operations: []
Exploring Operation: 49+42=91, Resulting Numbers: [86, 87, 91]
Generated Node #2: [86, 87, 91] from Operation: 49+42=91
Current State: 91:[86, 87, 91], Operations: ['49+42=91']
Exploring Operation: 87-86=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 87-86=1
Current State: 91:[91, 1], Operations: ['49+42=91', '87-86=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[49, 86, 42, 87], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [86, 87, 7]
Generated Node #0,0: 91:[86, 87, 7] Operation: 49-42=7
Exploring Operation: 49+42=91, Resulting Numbers: [86, 87, 91]
Generated Node #0,1: 91:[86, 87, 91] Operation: 49+42=91
Exploring Operation: 86-49=37, Resulting Numbers: [42, 87, 37]
Generated Node #0,2: 91:[42, 87, 37] Operation: 86-49=37
Exploring Operation: 87-49=38, Resulting Numbers: [86, 42, 38]
Generated Node #0,3: 91:[86, 42, 38] Operation: 87-49=38
Moving to Node #0,0
Current State: 91:[86, 87, 7], Operations: ['49-42=7']
Exploring Operation: 86+7=93, Resulting Numbers: [87, 93]
Generated Node #0,0,0: 91:[87, 93] Operation: 86+7=93
Exploring Operation: 87+7=94, Resulting Numbers: [86, 94]
Generated Node #0,0,1: 91:[86, 94] Operation: 87+7=94
Exploring Operation: 86-7=79, Resulting Numbers: [87, 79]
Generated Node #0,0,2: 91:[87, 79] Operation: 86-7=79
Exploring Operation: 87-86=1, Resulting Numbers: [7, 1]
Generated Node #0,0,3: 91:[7, 1] Operation: 87-86=1
Moving to Node #0,1
Current State: 91:[86, 87, 91], Operations: ['49+42=91']
Exploring Operation: 91-86=5, Resulting Numbers: [87, 5]
Generated Node #0,1,0: 91:[87, 5] Operation: 91-86=5
Exploring Operation: 86+87=173, Resulting Numbers: [91, 173]
Generated Node #0,1,1: 91:[91, 173] Operation: 86+87=173
Exploring Operation: 87-86=1, Resulting Numbers: [91, 1]
Generated Node #0,1,2: 91:[91, 1] Operation: 87-86=1
Exploring Operation: 91-87=4, Resulting Numbers: [86, 4]
Generated Node #0,1,3: 91:[86, 4] Operation: 91-87=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[87, 5], Operations: ['49+42=91', '91-86=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,91 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[91, 1], Operations: ['49+42=91', '87-86=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[49, 86, 42, 87], Operations: []
Exploring Operation: 49+42=91, Resulting Numbers: [86, 87, 91]
Generated Node #0,1: 91:[86, 87, 91] Operation: 49+42=91
Moving to Node #0,1
Current State: 91:[86, 87, 91], Operations: ['49+42=91']
Exploring Operation: 87-86=1, Resulting Numbers: [91, 1]
Generated Node #0,1,2: 91:[91, 1] Operation: 87-86=1
Moving to Node #0,1,2
Current State: 91:[91, 1], Operations: ['49+42=91', '87-86=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_4
|
mult_heuristic
|
[
4,
46,
25,
6
] | 81 |
[
"4+46=50",
"25+6=31",
"50+31=81"
] |
Current State: 81:[4, 46, 25, 6], Operations: []
Exploring Operation: 4+46=50, Resulting Numbers: [25, 6, 50]
Generated Node #2: [25, 6, 50] from Operation: 4+46=50
Current State: 81:[25, 6, 50], Operations: ['4+46=50']
Exploring Operation: 25+6=31, Resulting Numbers: [50, 31]
Generated Node #3: [50, 31] from Operation: 25+6=31
Current State: 81:[50, 31], Operations: ['4+46=50', '25+6=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[4, 46, 25, 6], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [4, 6, 21]
Generated Node #0,0: 81:[4, 6, 21] Operation: 46-25=21
Exploring Operation: 46+25=71, Resulting Numbers: [4, 6, 71]
Generated Node #0,1: 81:[4, 6, 71] Operation: 46+25=71
Moving to Node #0,0
Current State: 81:[4, 6, 21], Operations: ['46-25=21']
Exploring Operation: 4+21=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 81:[6, 25] Operation: 4+21=25
Exploring Operation: 6+21=27, Resulting Numbers: [4, 27]
Generated Node #0,0,1: 81:[4, 27] Operation: 6+21=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[4, 27], Operations: ['46-25=21', '6+21=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[6, 25], Operations: ['46-25=21', '4+21=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,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:[4, 6, 71], Operations: ['46+25=71']
Exploring Operation: 6+71=77, Resulting Numbers: [4, 77]
Generated Node #0,1,0: 81:[4, 77] Operation: 6+71=77
Exploring Operation: 4+71=75, Resulting Numbers: [6, 75]
Generated Node #0,1,1: 81:[6, 75] Operation: 4+71=75
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[4, 77], Operations: ['46+25=71', '6+71=77']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[4, 46, 25, 6], Operations: []
Exploring Operation: 46+25=71, Resulting Numbers: [4, 6, 71]
Generated Node #0,1: 81:[4, 6, 71] Operation: 46+25=71
Moving to Node #0,1
Current State: 81:[4, 6, 71], Operations: ['46+25=71']
Exploring Operation: 6+71=77, Resulting Numbers: [4, 77]
Generated Node #0,1,0: 81:[4, 77] Operation: 6+71=77
Moving to Node #0,1,0
Current State: 81:[4, 77], Operations: ['46+25=71', '6+71=77']
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_2
|
sum_heuristic
|
[
16,
40,
52,
27
] | 12 |
[
"40-27=13",
"52/13=4",
"16-4=12"
] |
Current State: 12:[16, 40, 52, 27], Operations: []
Exploring Operation: 40-27=13, Resulting Numbers: [16, 52, 13]
Generated Node #2: [16, 52, 13] from Operation: 40-27=13
Current State: 12:[16, 52, 13], Operations: ['40-27=13']
Exploring Operation: 52/13=4, Resulting Numbers: [16, 4]
Generated Node #3: [16, 4] from Operation: 52/13=4
Current State: 12:[16, 4], Operations: ['40-27=13', '52/13=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 |
Current State: 12:[16, 40, 52, 27], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [16, 27, 12]
Generated Node #0,0: 12:[16, 27, 12] Operation: 52-40=12
Exploring Operation: 52-27=25, Resulting Numbers: [16, 40, 25]
Generated Node #0,1: 12:[16, 40, 25] Operation: 52-27=25
Exploring Operation: 40-27=13, Resulting Numbers: [16, 52, 13]
Generated Node #0,2: 12:[16, 52, 13] Operation: 40-27=13
Moving to Node #0,0
Current State: 12:[16, 27, 12], Operations: ['52-40=12']
Exploring Operation: 16-12=4, Resulting Numbers: [27, 4]
Generated Node #0,0,0: 12:[27, 4] Operation: 16-12=4
Exploring Operation: 27-16=11, Resulting Numbers: [12, 11]
Generated Node #0,0,1: 12:[12, 11] Operation: 27-16=11
Exploring Operation: 27-12=15, Resulting Numbers: [16, 15]
Generated Node #0,0,2: 12:[16, 15] Operation: 27-12=15
Moving to Node #0,1
Current State: 12:[16, 40, 25], Operations: ['52-27=25']
Exploring Operation: 25-16=9, Resulting Numbers: [40, 9]
Generated Node #0,1,0: 12:[40, 9] Operation: 25-16=9
Exploring Operation: 40-16=24, Resulting Numbers: [25, 24]
Generated Node #0,1,1: 12:[25, 24] Operation: 40-16=24
Exploring Operation: 40-25=15, Resulting Numbers: [16, 15]
Generated Node #0,1,2: 12:[16, 15] Operation: 40-25=15
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[16, 15], Operations: ['52-27=25', '40-25=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,12 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[25, 24], Operations: ['52-27=25', '40-16=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[40, 9], Operations: ['52-27=25', '25-16=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,12 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,12 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: 12:[16, 52, 13], Operations: ['40-27=13']
Exploring Operation: 52/13=4, Resulting Numbers: [16, 4]
Generated Node #0,2,0: 12:[16, 4] Operation: 52/13=4
Exploring Operation: 52-13=39, Resulting Numbers: [16, 39]
Generated Node #0,2,1: 12:[16, 39] Operation: 52-13=39
Exploring Operation: 52-16=36, Resulting Numbers: [13, 36]
Generated Node #0,2,2: 12:[13, 36] Operation: 52-16=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[16, 4], Operations: ['40-27=13', '52/13=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[16, 40, 52, 27], Operations: []
Exploring Operation: 40-27=13, Resulting Numbers: [16, 52, 13]
Generated Node #0,2: 12:[16, 52, 13] Operation: 40-27=13
Moving to Node #0,2
Current State: 12:[16, 52, 13], Operations: ['40-27=13']
Exploring Operation: 52/13=4, Resulting Numbers: [16, 4]
Generated Node #0,2,0: 12:[16, 4] Operation: 52/13=4
Moving to Node #0,2,0
Current State: 12:[16, 4], Operations: ['40-27=13', '52/13=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 |
hs_3
|
mult_heuristic
|
[
39,
42,
41,
46
] | 29 |
[
"42-39=3",
"41+46=87",
"87/3=29"
] |
Current State: 29:[39, 42, 41, 46], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [41, 46, 3]
Generated Node #2: [41, 46, 3] from Operation: 42-39=3
Current State: 29:[41, 46, 3], Operations: ['42-39=3']
Exploring Operation: 41+46=87, Resulting Numbers: [3, 87]
Generated Node #3: [3, 87] from Operation: 41+46=87
Current State: 29:[3, 87], Operations: ['42-39=3', '41+46=87']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[39, 42, 41, 46], Operations: []
Exploring Operation: 42-41=1, Resulting Numbers: [39, 46, 1]
Generated Node #0,0: 29:[39, 46, 1] Operation: 42-41=1
Exploring Operation: 46-41=5, Resulting Numbers: [39, 42, 5]
Generated Node #0,1: 29:[39, 42, 5] Operation: 46-41=5
Exploring Operation: 46-42=4, Resulting Numbers: [39, 41, 4]
Generated Node #0,2: 29:[39, 41, 4] Operation: 46-42=4
Exploring Operation: 42-39=3, Resulting Numbers: [41, 46, 3]
Generated Node #0,3: 29:[41, 46, 3] Operation: 42-39=3
Exploring Operation: 46-39=7, Resulting Numbers: [42, 41, 7]
Generated Node #0,4: 29:[42, 41, 7] Operation: 46-39=7
Moving to Node #0,1
Current State: 29:[39, 42, 5], Operations: ['46-41=5']
Exploring Operation: 42+5=47, Resulting Numbers: [39, 47]
Generated Node #0,1,0: 29:[39, 47] Operation: 42+5=47
Exploring Operation: 42-39=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 29:[5, 3] Operation: 42-39=3
Exploring Operation: 39+5=44, Resulting Numbers: [42, 44]
Generated Node #0,1,2: 29:[42, 44] Operation: 39+5=44
Exploring Operation: 39-5=34, Resulting Numbers: [42, 34]
Generated Node #0,1,3: 29:[42, 34] Operation: 39-5=34
Exploring Operation: 42-5=37, Resulting Numbers: [39, 37]
Generated Node #0,1,4: 29:[39, 37] Operation: 42-5=37
Moving to Node #0,4
Current State: 29:[42, 41, 7], Operations: ['46-39=7']
Exploring Operation: 42/7=6, Resulting Numbers: [41, 6]
Generated Node #0,4,0: 29:[41, 6] Operation: 42/7=6
Exploring Operation: 41-7=34, Resulting Numbers: [42, 34]
Generated Node #0,4,1: 29:[42, 34] Operation: 41-7=34
Exploring Operation: 42-7=35, Resulting Numbers: [41, 35]
Generated Node #0,4,2: 29:[41, 35] Operation: 42-7=35
Exploring Operation: 41+7=48, Resulting Numbers: [42, 48]
Generated Node #0,4,3: 29:[42, 48] Operation: 41+7=48
Exploring Operation: 42+7=49, Resulting Numbers: [41, 49]
Generated Node #0,4,4: 29:[41, 49] Operation: 42+7=49
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 29:[42, 34], Operations: ['46-39=7', '41-7=34']
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,29 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[41, 35], Operations: ['46-39=7', '42-7=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[42, 48], Operations: ['46-39=7', '41+7=48']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 29:[41, 49], Operations: ['46-39=7', '42+7=49']
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,29 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[41, 6], Operations: ['46-39=7', '42/7=6']
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,29 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 29:[39, 41, 4], Operations: ['46-42=4']
Exploring Operation: 39-4=35, Resulting Numbers: [41, 35]
Generated Node #0,2,0: 29:[41, 35] Operation: 39-4=35
Exploring Operation: 41+4=45, Resulting Numbers: [39, 45]
Generated Node #0,2,1: 29:[39, 45] Operation: 41+4=45
Exploring Operation: 41-4=37, Resulting Numbers: [39, 37]
Generated Node #0,2,2: 29:[39, 37] Operation: 41-4=37
Exploring Operation: 39+4=43, Resulting Numbers: [41, 43]
Generated Node #0,2,3: 29:[41, 43] Operation: 39+4=43
Exploring Operation: 41-39=2, Resulting Numbers: [4, 2]
Generated Node #0,2,4: 29:[4, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[41, 35], Operations: ['46-42=4', '39-4=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,29 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[39, 37], Operations: ['46-42=4', '41-4=37']
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,29 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[39, 45], Operations: ['46-42=4', '41+4=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[41, 43], Operations: ['46-42=4', '39+4=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,29 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 29:[4, 2], Operations: ['46-42=4', '41-39=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 29:[39, 46, 1], Operations: ['42-41=1']
Exploring Operation: 39-1=38, Resulting Numbers: [46, 38]
Generated Node #0,0,0: 29:[46, 38] Operation: 39-1=38
Exploring Operation: 46-1=45, Resulting Numbers: [39, 45]
Generated Node #0,0,1: 29:[39, 45] Operation: 46-1=45
Exploring Operation: 39*1=39, Resulting Numbers: [46, 39]
Generated Node #0,0,2: 29:[46, 39] Operation: 39*1=39
Exploring Operation: 46*1=46, Resulting Numbers: [39, 46]
Generated Node #0,0,3: 29:[39, 46] Operation: 46*1=46
Exploring Operation: 39/1=39, Resulting Numbers: [46, 39]
Generated Node #0,0,4: 29:[46, 39] Operation: 39/1=39
Moving to Node #0,3
Current State: 29:[41, 46, 3], Operations: ['42-39=3']
Exploring Operation: 46-3=43, Resulting Numbers: [41, 43]
Generated Node #0,3,0: 29:[41, 43] Operation: 46-3=43
Exploring Operation: 41+3=44, Resulting Numbers: [46, 44]
Generated Node #0,3,1: 29:[46, 44] Operation: 41+3=44
Exploring Operation: 41-3=38, Resulting Numbers: [46, 38]
Generated Node #0,3,2: 29:[46, 38] Operation: 41-3=38
Exploring Operation: 46+3=49, Resulting Numbers: [41, 49]
Generated Node #0,3,3: 29:[41, 49] Operation: 46+3=49
Exploring Operation: 46-41=5, Resulting Numbers: [3, 5]
Generated Node #0,3,4: 29:[3, 5] Operation: 46-41=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[41, 43], Operations: ['42-39=3', '46-3=43']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,29 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,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:[46, 38], Operations: ['42-39=3', '41-3=38']
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,29 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,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, 44], Operations: ['42-39=3', '41+3=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,29 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,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:[41, 49], Operations: ['42-39=3', '46+3=49']
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,29 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,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:[3, 5], Operations: ['42-39=3', '46-41=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,29 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: 29:[42, 34], Operations: ['46-41=5', '39-5=34']
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[39, 37], Operations: ['46-41=5', '42-5=37']
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,29 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[46, 38], Operations: ['42-41=1', '39-1=38']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,29 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[39, 45], Operations: ['42-41=1', '46-1=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[39, 46], Operations: ['42-41=1', '46*1=46']
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,29 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[46, 39], Operations: ['42-41=1', '39/1=39']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,29 unequal: No Solution
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[46, 39], Operations: ['42-41=1', '39*1=39']
Exploring Operation: 46*39=1794, Resulting Numbers: [1794]
1794,29 unequal: No Solution
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[39, 47], Operations: ['46-41=5', '42+5=47']
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Exploring Operation: 39*47=1833, Resulting Numbers: [1833]
1833,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[42, 44], Operations: ['46-41=5', '39+5=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[5, 3], Operations: ['46-41=5', '42-39=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
26,
76,
89,
84
] | 54 |
[
"89-84=5",
"26*5=130",
"130-76=54"
] |
Current State: 54:[26, 76, 89, 84], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [26, 76, 5]
Generated Node #2: [26, 76, 5] from Operation: 89-84=5
Current State: 54:[26, 76, 5], Operations: ['89-84=5']
Exploring Operation: 26*5=130, Resulting Numbers: [76, 130]
Generated Node #3: [76, 130] from Operation: 26*5=130
Current State: 54:[76, 130], Operations: ['89-84=5', '26*5=130']
Exploring Operation: 130-76=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[26, 76, 89, 84], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [26, 84, 13]
Generated Node #0,0: 54:[26, 84, 13] Operation: 89-76=13
Exploring Operation: 84-76=8, Resulting Numbers: [26, 89, 8]
Generated Node #0,1: 54:[26, 89, 8] Operation: 84-76=8
Exploring Operation: 89-84=5, Resulting Numbers: [26, 76, 5]
Generated Node #0,2: 54:[26, 76, 5] Operation: 89-84=5
Moving to Node #0,2
Current State: 54:[26, 76, 5], Operations: ['89-84=5']
Exploring Operation: 76-5=71, Resulting Numbers: [26, 71]
Generated Node #0,2,0: 54:[26, 71] Operation: 76-5=71
Exploring Operation: 76-26=50, Resulting Numbers: [5, 50]
Generated Node #0,2,1: 54:[5, 50] Operation: 76-26=50
Exploring Operation: 26-5=21, Resulting Numbers: [76, 21]
Generated Node #0,2,2: 54:[76, 21] Operation: 26-5=21
Moving to Node #0,0
Current State: 54:[26, 84, 13], Operations: ['89-76=13']
Exploring Operation: 84-26=58, Resulting Numbers: [13, 58]
Generated Node #0,0,0: 54:[13, 58] Operation: 84-26=58
Exploring Operation: 26/13=2, Resulting Numbers: [84, 2]
Generated Node #0,0,1: 54:[84, 2] Operation: 26/13=2
Exploring Operation: 84-13=71, Resulting Numbers: [26, 71]
Generated Node #0,0,2: 54:[26, 71] Operation: 84-13=71
Moving to Node #0,1
Current State: 54:[26, 89, 8], Operations: ['84-76=8']
Exploring Operation: 89-26=63, Resulting Numbers: [8, 63]
Generated Node #0,1,0: 54:[8, 63] Operation: 89-26=63
Exploring Operation: 89-8=81, Resulting Numbers: [26, 81]
Generated Node #0,1,1: 54:[26, 81] Operation: 89-8=81
Exploring Operation: 26-8=18, Resulting Numbers: [89, 18]
Generated Node #0,1,2: 54:[89, 18] Operation: 26-8=18
Moving to Node #0,2,1
Current State: 54:[5, 50], Operations: ['89-84=5', '76-26=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[13, 58], Operations: ['89-76=13', '84-26=58']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[8, 63], Operations: ['84-76=8', '89-26=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,54 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[26, 71], Operations: ['89-76=13', '84-13=71']
Exploring Operation: 26*71=1846, Resulting Numbers: [1846]
1846,54 unequal: No Solution
Exploring Operation: 26+71=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[26, 71], Operations: ['89-84=5', '76-5=71']
Exploring Operation: 26*71=1846, Resulting Numbers: [1846]
1846,54 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 26+71=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[76, 21], Operations: ['89-84=5', '26-5=21']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 76+21=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 76*21=1596, Resulting Numbers: [1596]
1596,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[26, 81], Operations: ['84-76=8', '89-8=81']
Exploring Operation: 26*81=2106, Resulting Numbers: [2106]
2106,54 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 26+81=107, Resulting Numbers: [107]
107,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[84, 2], Operations: ['89-76=13', '26/13=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,54 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[89, 18], Operations: ['84-76=8', '26-8=18']
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,54 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,54 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
14,
3,
21,
35
] | 57 |
[
"3+35=38",
"21*38=798",
"798/14=57"
] |
Current State: 57:[14, 3, 21, 35], Operations: []
Exploring Operation: 3+35=38, Resulting Numbers: [14, 21, 38]
Generated Node #2: [14, 21, 38] from Operation: 3+35=38
Current State: 57:[14, 21, 38], Operations: ['3+35=38']
Exploring Operation: 21*38=798, Resulting Numbers: [14, 798]
Generated Node #3: [14, 798] from Operation: 21*38=798
Current State: 57:[14, 798], Operations: ['3+35=38', '21*38=798']
Exploring Operation: 798/14=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[14, 3, 21, 35], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [14, 3, 14]
Generated Node #0,0: 57:[14, 3, 14] Operation: 35-21=14
Exploring Operation: 35-14=21, Resulting Numbers: [3, 21, 21]
Generated Node #0,1: 57:[3, 21, 21] Operation: 35-14=21
Exploring Operation: 14+35=49, Resulting Numbers: [3, 21, 49]
Generated Node #0,2: 57:[3, 21, 49] Operation: 14+35=49
Exploring Operation: 21+35=56, Resulting Numbers: [14, 3, 56]
Generated Node #0,3: 57:[14, 3, 56] Operation: 21+35=56
Moving to Node #0,1
Current State: 57:[3, 21, 21], Operations: ['35-14=21']
Exploring Operation: 21-21=0, Resulting Numbers: [3, 0]
Generated Node #0,1,0: 57:[3, 0] Operation: 21-21=0
Exploring Operation: 21-3=18, Resulting Numbers: [21, 18]
Generated Node #0,1,1: 57:[21, 18] Operation: 21-3=18
Exploring Operation: 21-3=18, Resulting Numbers: [21, 18]
Generated Node #0,1,2: 57:[21, 18] Operation: 21-3=18
Exploring Operation: 21/21=1, Resulting Numbers: [3, 1]
Generated Node #0,1,3: 57:[3, 1] Operation: 21/21=1
Moving to Node #0,3
Current State: 57:[14, 3, 56], Operations: ['21+35=56']
Exploring Operation: 56/14=4, Resulting Numbers: [3, 4]
Generated Node #0,3,0: 57:[3, 4] Operation: 56/14=4
Exploring Operation: 14+3=17, Resulting Numbers: [56, 17]
Generated Node #0,3,1: 57:[56, 17] Operation: 14+3=17
Exploring Operation: 14-3=11, Resulting Numbers: [56, 11]
Generated Node #0,3,2: 57:[56, 11] Operation: 14-3=11
Exploring Operation: 3+56=59, Resulting Numbers: [14, 59]
Generated Node #0,3,3: 57:[14, 59] Operation: 3+56=59
Moving to Node #0,2
Current State: 57:[3, 21, 49], Operations: ['14+35=49']
Exploring Operation: 21-3=18, Resulting Numbers: [49, 18]
Generated Node #0,2,0: 57:[49, 18] Operation: 21-3=18
Exploring Operation: 3+49=52, Resulting Numbers: [21, 52]
Generated Node #0,2,1: 57:[21, 52] Operation: 3+49=52
Exploring Operation: 49-21=28, Resulting Numbers: [3, 28]
Generated Node #0,2,2: 57:[3, 28] Operation: 49-21=28
Exploring Operation: 21/3=7, Resulting Numbers: [49, 7]
Generated Node #0,2,3: 57:[49, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[21, 52], Operations: ['14+35=49', '3+49=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,57 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[49, 18], Operations: ['14+35=49', '21-3=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[3, 28], Operations: ['14+35=49', '49-21=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[49, 7], Operations: ['14+35=49', '21/3=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,57 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,57 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: 57:[14, 3, 14], Operations: ['35-21=14']
Exploring Operation: 3+14=17, Resulting Numbers: [14, 17]
Generated Node #0,0,0: 57:[14, 17] Operation: 3+14=17
Exploring Operation: 14/14=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 57:[3, 1] Operation: 14/14=1
Exploring Operation: 14+3=17, Resulting Numbers: [14, 17]
Generated Node #0,0,2: 57:[14, 17] Operation: 14+3=17
Exploring Operation: 14-14=0, Resulting Numbers: [3, 0]
Generated Node #0,0,3: 57:[3, 0] Operation: 14-14=0
Moving to Node #0,3,0
Current State: 57:[3, 4], Operations: ['21+35=56', '56/14=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[3, 1], Operations: ['35-14=21', '21/21=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[3, 1], Operations: ['35-21=14', '14/14=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[21, 18], Operations: ['35-14=21', '21-3=18']
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,57 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[56, 17], Operations: ['21+35=56', '14+3=17']
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,57 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[3, 0], Operations: ['35-14=21', '21-21=0']
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[3, 0], Operations: ['35-21=14', '14-14=0']
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[21, 18], Operations: ['35-14=21', '21-3=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,57 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[14, 59], Operations: ['21+35=56', '3+56=59']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,57 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[14, 17], Operations: ['35-21=14', '14+3=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,57 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[14, 17], Operations: ['35-21=14', '3+14=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,57 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[56, 11], Operations: ['21+35=56', '14-3=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,57 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,57 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
50,
13,
94,
34
] | 48 |
[
"13+34=47",
"94/47=2",
"50-2=48"
] |
Current State: 48:[50, 13, 94, 34], Operations: []
Exploring Operation: 13+34=47, Resulting Numbers: [50, 94, 47]
Generated Node #2: [50, 94, 47] from Operation: 13+34=47
Current State: 48:[50, 94, 47], Operations: ['13+34=47']
Exploring Operation: 94/47=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 94/47=2
Current State: 48:[50, 2], Operations: ['13+34=47', '94/47=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[50, 13, 94, 34], Operations: []
Exploring Operation: 94-50=44, Resulting Numbers: [13, 34, 44]
Generated Node #0,0: 48:[13, 34, 44] Operation: 94-50=44
Moving to Node #0,0
Current State: 48:[13, 34, 44], Operations: ['94-50=44']
Exploring Operation: 44-34=10, Resulting Numbers: [13, 10]
Generated Node #0,0,0: 48:[13, 10] Operation: 44-34=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[13, 10], Operations: ['94-50=44', '44-34=10']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
87,
40,
12,
25
] | 34 |
[
"87-40=47",
"25-12=13",
"47-13=34"
] |
Current State: 34:[87, 40, 12, 25], Operations: []
Exploring Operation: 87-40=47, Resulting Numbers: [12, 25, 47]
Generated Node #2: [12, 25, 47] from Operation: 87-40=47
Current State: 34:[12, 25, 47], Operations: ['87-40=47']
Exploring Operation: 25-12=13, Resulting Numbers: [47, 13]
Generated Node #3: [47, 13] from Operation: 25-12=13
Current State: 34:[47, 13], Operations: ['87-40=47', '25-12=13']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[87, 40, 12, 25], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [40, 25, 75]
Generated Node #0,0: 34:[40, 25, 75] Operation: 87-12=75
Exploring Operation: 87-40=47, Resulting Numbers: [12, 25, 47]
Generated Node #0,1: 34:[12, 25, 47] Operation: 87-40=47
Exploring Operation: 87-25=62, Resulting Numbers: [40, 12, 62]
Generated Node #0,2: 34:[40, 12, 62] Operation: 87-25=62
Exploring Operation: 40-25=15, Resulting Numbers: [87, 12, 15]
Generated Node #0,3: 34:[87, 12, 15] Operation: 40-25=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[12, 25, 47], Operations: ['87-40=47']
Exploring Operation: 25-12=13, Resulting Numbers: [47, 13]
Generated Node #0,1,0: 34:[47, 13] Operation: 25-12=13
Exploring Operation: 12+25=37, Resulting Numbers: [47, 37]
Generated Node #0,1,1: 34:[47, 37] Operation: 12+25=37
Exploring Operation: 47-12=35, Resulting Numbers: [25, 35]
Generated Node #0,1,2: 34:[25, 35] Operation: 47-12=35
Exploring Operation: 47-25=22, Resulting Numbers: [12, 22]
Generated Node #0,1,3: 34:[12, 22] Operation: 47-25=22
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[25, 35], Operations: ['87-40=47', '47-12=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,34 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,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:[12, 22], Operations: ['87-40=47', '47-25=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[87, 40, 12, 25], Operations: []
Exploring Operation: 87-40=47, Resulting Numbers: [12, 25, 47]
Generated Node #0,1: 34:[12, 25, 47] Operation: 87-40=47
Moving to Node #0,1
Current State: 34:[12, 25, 47], Operations: ['87-40=47']
Exploring Operation: 47-25=22, Resulting Numbers: [12, 22]
Generated Node #0,1,3: 34:[12, 22] Operation: 47-25=22
Moving to Node #0,1,3
Current State: 34:[12, 22], Operations: ['87-40=47', '47-25=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_4
|
mult_heuristic
|
[
31,
37,
81,
56
] | 84 |
[
"37+56=93",
"93/31=3",
"81+3=84"
] |
Current State: 84:[31, 37, 81, 56], Operations: []
Exploring Operation: 37+56=93, Resulting Numbers: [31, 81, 93]
Generated Node #2: [31, 81, 93] from Operation: 37+56=93
Current State: 84:[31, 81, 93], Operations: ['37+56=93']
Exploring Operation: 93/31=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 93/31=3
Current State: 84:[81, 3], Operations: ['37+56=93', '93/31=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[31, 37, 81, 56], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [31, 81, 19]
Generated Node #0,0: 84:[31, 81, 19] Operation: 56-37=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[31, 81, 19], Operations: ['56-37=19']
Exploring Operation: 31-19=12, Resulting Numbers: [81, 12]
Generated Node #0,0,0: 84:[81, 12] Operation: 31-19=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[81, 12], Operations: ['56-37=19', '31-19=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
54,
40,
38,
18
] | 34 |
[
"54-40=14",
"38-18=20",
"14+20=34"
] |
Current State: 34:[54, 40, 38, 18], Operations: []
Exploring Operation: 54-40=14, Resulting Numbers: [38, 18, 14]
Generated Node #2: [38, 18, 14] from Operation: 54-40=14
Current State: 34:[38, 18, 14], Operations: ['54-40=14']
Exploring Operation: 38-18=20, Resulting Numbers: [14, 20]
Generated Node #3: [14, 20] from Operation: 38-18=20
Current State: 34:[14, 20], Operations: ['54-40=14', '38-18=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[54, 40, 38, 18], Operations: []
Exploring Operation: 54-40=14, Resulting Numbers: [38, 18, 14]
Generated Node #0,0: 34:[38, 18, 14] Operation: 54-40=14
Moving to Node #0,0
Current State: 34:[38, 18, 14], Operations: ['54-40=14']
Exploring Operation: 38-18=20, Resulting Numbers: [14, 20]
Generated Node #0,0,0: 34:[14, 20] Operation: 38-18=20
Moving to Node #0,0,0
Current State: 34:[14, 20], Operations: ['54-40=14', '38-18=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[54, 40, 38, 18], Operations: []
Exploring Operation: 54-40=14, Resulting Numbers: [38, 18, 14]
Generated Node #0,0: 34:[38, 18, 14] Operation: 54-40=14
Moving to Node #0,0
Current State: 34:[38, 18, 14], Operations: ['54-40=14']
Exploring Operation: 38-18=20, Resulting Numbers: [14, 20]
Generated Node #0,0,0: 34:[14, 20] Operation: 38-18=20
Moving to Node #0,0,0
Current State: 34:[14, 20], Operations: ['54-40=14', '38-18=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
85,
44,
4,
53
] | 16 |
[
"85-44=41",
"4+53=57",
"57-41=16"
] |
Current State: 16:[85, 44, 4, 53], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [4, 53, 41]
Generated Node #2: [4, 53, 41] from Operation: 85-44=41
Current State: 16:[4, 53, 41], Operations: ['85-44=41']
Exploring Operation: 4+53=57, Resulting Numbers: [41, 57]
Generated Node #3: [41, 57] from Operation: 4+53=57
Current State: 16:[41, 57], Operations: ['85-44=41', '4+53=57']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[85, 44, 4, 53], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [4, 53, 41]
Generated Node #0,0: 16:[4, 53, 41] Operation: 85-44=41
Exploring Operation: 53-44=9, Resulting Numbers: [85, 4, 9]
Generated Node #0,1: 16:[85, 4, 9] Operation: 53-44=9
Exploring Operation: 85-53=32, Resulting Numbers: [44, 4, 32]
Generated Node #0,2: 16:[44, 4, 32] Operation: 85-53=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[44, 4, 32], Operations: ['85-53=32']
Exploring Operation: 44/4=11, Resulting Numbers: [32, 11]
Generated Node #0,2,0: 16:[32, 11] Operation: 44/4=11
Exploring Operation: 32/4=8, Resulting Numbers: [44, 8]
Generated Node #0,2,1: 16:[44, 8] Operation: 32/4=8
Exploring Operation: 44-32=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 16:[4, 12] Operation: 44-32=12
Moving to Node #0,2,2
Current State: 16:[4, 12], Operations: ['85-53=32', '44-32=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[85, 44, 4, 53], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [44, 4, 32]
Generated Node #0,2: 16:[44, 4, 32] Operation: 85-53=32
Moving to Node #0,2
Current State: 16:[44, 4, 32], Operations: ['85-53=32']
Exploring Operation: 44-32=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 16:[4, 12] Operation: 44-32=12
Moving to Node #0,2,2
Current State: 16:[4, 12], Operations: ['85-53=32', '44-32=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
sum_heuristic
|
[
56,
69,
48,
91
] | 41 |
[
"69-56=13",
"91/13=7",
"48-7=41"
] |
Current State: 41:[56, 69, 48, 91], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [48, 91, 13]
Generated Node #2: [48, 91, 13] from Operation: 69-56=13
Current State: 41:[48, 91, 13], Operations: ['69-56=13']
Exploring Operation: 91/13=7, Resulting Numbers: [48, 7]
Generated Node #3: [48, 7] from Operation: 91/13=7
Current State: 41:[48, 7], Operations: ['69-56=13', '91/13=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[56, 69, 48, 91], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [69, 48, 35]
Generated Node #0,0: 41:[69, 48, 35] Operation: 91-56=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[69, 48, 35], Operations: ['91-56=35']
Exploring Operation: 69-35=34, Resulting Numbers: [48, 34]
Generated Node #0,0,0: 41:[48, 34] Operation: 69-35=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[48, 34], Operations: ['91-56=35', '69-35=34']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
12,
56,
74,
39
] | 40 |
[
"56+74=130",
"12*130=1560",
"1560/39=40"
] |
Current State: 40:[12, 56, 74, 39], Operations: []
Exploring Operation: 56+74=130, Resulting Numbers: [12, 39, 130]
Generated Node #2: [12, 39, 130] from Operation: 56+74=130
Current State: 40:[12, 39, 130], Operations: ['56+74=130']
Exploring Operation: 12*130=1560, Resulting Numbers: [39, 1560]
Generated Node #3: [39, 1560] from Operation: 12*130=1560
Current State: 40:[39, 1560], Operations: ['56+74=130', '12*130=1560']
Exploring Operation: 1560/39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[12, 56, 74, 39], Operations: []
Exploring Operation: 74-39=35, Resulting Numbers: [12, 56, 35]
Generated Node #0,0: 40:[12, 56, 35] Operation: 74-39=35
Exploring Operation: 74-56=18, Resulting Numbers: [12, 39, 18]
Generated Node #0,1: 40:[12, 39, 18] Operation: 74-56=18
Exploring Operation: 74-12=62, Resulting Numbers: [56, 39, 62]
Generated Node #0,2: 40:[56, 39, 62] Operation: 74-12=62
Exploring Operation: 56-12=44, Resulting Numbers: [74, 39, 44]
Generated Node #0,3: 40:[74, 39, 44] Operation: 56-12=44
Moving to Node #0,1
Current State: 40:[12, 39, 18], Operations: ['74-56=18']
Exploring Operation: 18-12=6, Resulting Numbers: [39, 6]
Generated Node #0,1,0: 40:[39, 6] Operation: 18-12=6
Exploring Operation: 12+18=30, Resulting Numbers: [39, 30]
Generated Node #0,1,1: 40:[39, 30] Operation: 12+18=30
Exploring Operation: 39-12=27, Resulting Numbers: [18, 27]
Generated Node #0,1,2: 40:[18, 27] Operation: 39-12=27
Exploring Operation: 39-18=21, Resulting Numbers: [12, 21]
Generated Node #0,1,3: 40:[12, 21] Operation: 39-18=21
Moving to Node #0,0
Current State: 40:[12, 56, 35], Operations: ['74-39=35']
Exploring Operation: 56-12=44, Resulting Numbers: [35, 44]
Generated Node #0,0,0: 40:[35, 44] Operation: 56-12=44
Exploring Operation: 12+35=47, Resulting Numbers: [56, 47]
Generated Node #0,0,1: 40:[56, 47] Operation: 12+35=47
Exploring Operation: 56-35=21, Resulting Numbers: [12, 21]
Generated Node #0,0,2: 40:[12, 21] Operation: 56-35=21
Exploring Operation: 35-12=23, Resulting Numbers: [56, 23]
Generated Node #0,0,3: 40:[56, 23] Operation: 35-12=23
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[12, 21], Operations: ['74-39=35', '56-35=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,40 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[35, 44], Operations: ['74-39=35', '56-12=44']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,40 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[56, 23], Operations: ['74-39=35', '35-12=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[56, 47], Operations: ['74-39=35', '12+35=47']
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,40 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,40 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: 40:[74, 39, 44], Operations: ['56-12=44']
Exploring Operation: 74-44=30, Resulting Numbers: [39, 30]
Generated Node #0,3,0: 40:[39, 30] Operation: 74-44=30
Exploring Operation: 74+39=113, Resulting Numbers: [44, 113]
Generated Node #0,3,1: 40:[44, 113] Operation: 74+39=113
Exploring Operation: 74-39=35, Resulting Numbers: [44, 35]
Generated Node #0,3,2: 40:[44, 35] Operation: 74-39=35
Exploring Operation: 44-39=5, Resulting Numbers: [74, 5]
Generated Node #0,3,3: 40:[74, 5] Operation: 44-39=5
Moving to Node #0,2
Current State: 40:[56, 39, 62], Operations: ['74-12=62']
Exploring Operation: 62-56=6, Resulting Numbers: [39, 6]
Generated Node #0,2,0: 40:[39, 6] Operation: 62-56=6
Exploring Operation: 56+39=95, Resulting Numbers: [62, 95]
Generated Node #0,2,1: 40:[62, 95] Operation: 56+39=95
Exploring Operation: 56-39=17, Resulting Numbers: [62, 17]
Generated Node #0,2,2: 40:[62, 17] Operation: 56-39=17
Exploring Operation: 62-39=23, Resulting Numbers: [56, 23]
Generated Node #0,2,3: 40:[56, 23] Operation: 62-39=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[39, 6], Operations: ['74-12=62', '62-56=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,40 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[56, 23], Operations: ['74-12=62', '62-39=23']
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,40 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[62, 17], Operations: ['74-12=62', '56-39=17']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,40 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[62, 95], Operations: ['74-12=62', '56+39=95']
Exploring Operation: 62+95=157, Resulting Numbers: [157]
157,40 unequal: No Solution
Exploring Operation: 62*95=5890, Resulting Numbers: [5890]
5890,40 unequal: No Solution
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,40 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: 40:[39, 6], Operations: ['74-56=18', '18-12=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[12, 21], Operations: ['74-56=18', '39-18=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[18, 27], Operations: ['74-56=18', '39-12=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,40 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[44, 35], Operations: ['56-12=44', '74-39=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,40 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[39, 30], Operations: ['56-12=44', '74-44=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,40 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[39, 30], Operations: ['74-56=18', '12+18=30']
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,40 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[74, 5], Operations: ['56-12=44', '44-39=5']
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,40 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,40 unequal: No Solution
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[44, 113], Operations: ['56-12=44', '74+39=113']
Exploring Operation: 113-44=69, Resulting Numbers: [69]
69,40 unequal: No Solution
Exploring Operation: 44+113=157, Resulting Numbers: [157]
157,40 unequal: No Solution
Exploring Operation: 44*113=4972, Resulting Numbers: [4972]
4972,40 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
4,
42,
73,
25
] | 75 |
[
"25-4=21",
"42/21=2",
"73+2=75"
] |
Current State: 75:[4, 42, 73, 25], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [42, 73, 21]
Generated Node #2: [42, 73, 21] from Operation: 25-4=21
Current State: 75:[42, 73, 21], Operations: ['25-4=21']
Exploring Operation: 42/21=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 42/21=2
Current State: 75:[73, 2], Operations: ['25-4=21', '42/21=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 |
Current State: 75:[4, 42, 73, 25], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [4, 25, 31]
Generated Node #0,0: 75:[4, 25, 31] Operation: 73-42=31
Exploring Operation: 42-25=17, Resulting Numbers: [4, 73, 17]
Generated Node #0,1: 75:[4, 73, 17] Operation: 42-25=17
Exploring Operation: 42+25=67, Resulting Numbers: [4, 73, 67]
Generated Node #0,2: 75:[4, 73, 67] Operation: 42+25=67
Exploring Operation: 4+73=77, Resulting Numbers: [42, 25, 77]
Generated Node #0,3: 75:[42, 25, 77] Operation: 4+73=77
Exploring Operation: 42-4=38, Resulting Numbers: [73, 25, 38]
Generated Node #0,4: 75:[73, 25, 38] Operation: 42-4=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[4, 73, 17], Operations: ['42-25=17']
Exploring Operation: 4*17=68, Resulting Numbers: [73, 68]
Generated Node #0,1,0: 75:[73, 68] Operation: 4*17=68
Exploring Operation: 4+17=21, Resulting Numbers: [73, 21]
Generated Node #0,1,1: 75:[73, 21] Operation: 4+17=21
Exploring Operation: 73-4=69, Resulting Numbers: [17, 69]
Generated Node #0,1,2: 75:[17, 69] Operation: 73-4=69
Exploring Operation: 4+73=77, Resulting Numbers: [17, 77]
Generated Node #0,1,3: 75:[17, 77] Operation: 4+73=77
Exploring Operation: 17-4=13, Resulting Numbers: [73, 13]
Generated Node #0,1,4: 75:[73, 13] Operation: 17-4=13
Moving to Node #0,1,3
Current State: 75:[17, 77], Operations: ['42-25=17', '4+73=77']
Exploring Operation: 17*77=1309, Resulting Numbers: [1309]
1309,75 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 17+77=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[73, 13], Operations: ['42-25=17', '17-4=13']
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,75 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[73, 21], Operations: ['42-25=17', '4+17=21']
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,75 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[17, 69], Operations: ['42-25=17', '73-4=69']
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,75 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[73, 68], Operations: ['42-25=17', '4*17=68']
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,75 unequal: No Solution
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,75 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,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:[4, 25, 31], Operations: ['73-42=31']
Exploring Operation: 31-25=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 75:[4, 6] Operation: 31-25=6
Exploring Operation: 4+25=29, Resulting Numbers: [31, 29]
Generated Node #0,0,1: 75:[31, 29] Operation: 4+25=29
Exploring Operation: 4+31=35, Resulting Numbers: [25, 35]
Generated Node #0,0,2: 75:[25, 35] Operation: 4+31=35
Exploring Operation: 25-4=21, Resulting Numbers: [31, 21]
Generated Node #0,0,3: 75:[31, 21] Operation: 25-4=21
Exploring Operation: 31-4=27, Resulting Numbers: [25, 27]
Generated Node #0,0,4: 75:[25, 27] Operation: 31-4=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[4, 6], Operations: ['73-42=31', '31-25=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,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,4
Current State: 75:[25, 27], Operations: ['73-42=31', '31-4=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,75 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,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:[31, 29], Operations: ['73-42=31', '4+25=29']
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,75 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,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:[25, 35], Operations: ['73-42=31', '4+31=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,75 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,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,3
Current State: 75:[31, 21], Operations: ['73-42=31', '25-4=21']
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,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,2
Current State: 75:[4, 73, 67], Operations: ['42+25=67']
Exploring Operation: 4+67=71, Resulting Numbers: [73, 71]
Generated Node #0,2,0: 75:[73, 71] Operation: 4+67=71
Exploring Operation: 4+73=77, Resulting Numbers: [67, 77]
Generated Node #0,2,1: 75:[67, 77] Operation: 4+73=77
Exploring Operation: 73-4=69, Resulting Numbers: [67, 69]
Generated Node #0,2,2: 75:[67, 69] Operation: 73-4=69
Exploring Operation: 73-67=6, Resulting Numbers: [4, 6]
Generated Node #0,2,3: 75:[4, 6] Operation: 73-67=6
Exploring Operation: 67-4=63, Resulting Numbers: [73, 63]
Generated Node #0,2,4: 75:[73, 63] Operation: 67-4=63
Moving to Node #0,2,3
Current State: 75:[4, 6], Operations: ['42+25=67', '73-67=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[73, 71], Operations: ['42+25=67', '4+67=71']
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 73*71=5183, Resulting Numbers: [5183]
5183,75 unequal: No Solution
Exploring Operation: 73+71=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[67, 77], Operations: ['42+25=67', '4+73=77']
Exploring Operation: 67+77=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 67*77=5159, Resulting Numbers: [5159]
5159,75 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[67, 69], Operations: ['42+25=67', '73-4=69']
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,75 unequal: No Solution
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,75 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[73, 63], Operations: ['42+25=67', '67-4=63']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,75 unequal: No Solution
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,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,4
Current State: 75:[73, 25, 38], Operations: ['42-4=38']
Exploring Operation: 73-25=48, Resulting Numbers: [38, 48]
Generated Node #0,4,0: 75:[38, 48] Operation: 73-25=48
Exploring Operation: 73+25=98, Resulting Numbers: [38, 98]
Generated Node #0,4,1: 75:[38, 98] Operation: 73+25=98
Exploring Operation: 38-25=13, Resulting Numbers: [73, 13]
Generated Node #0,4,2: 75:[73, 13] Operation: 38-25=13
Exploring Operation: 73-38=35, Resulting Numbers: [25, 35]
Generated Node #0,4,3: 75:[25, 35] Operation: 73-38=35
Exploring Operation: 25+38=63, Resulting Numbers: [73, 63]
Generated Node #0,4,4: 75:[73, 63] Operation: 25+38=63
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 75:[73, 13], Operations: ['42-4=38', '38-25=13']
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,75 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,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,4,3
Current State: 75:[25, 35], Operations: ['42-4=38', '73-38=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,75 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,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,4,4
Current State: 75:[73, 63], Operations: ['42-4=38', '25+38=63']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 73+63=136, Resulting Numbers: [136]
136,75 unequal: No Solution
Exploring Operation: 73*63=4599, Resulting Numbers: [4599]
4599,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,4,0
Current State: 75:[38, 48], Operations: ['42-4=38', '73-25=48']
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,75 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,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,4,1
Current State: 75:[38, 98], Operations: ['42-4=38', '73+25=98']
Exploring Operation: 38*98=3724, Resulting Numbers: [3724]
3724,75 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 38+98=136, Resulting Numbers: [136]
136,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,3
Current State: 75:[42, 25, 77], Operations: ['4+73=77']
Exploring Operation: 42-25=17, Resulting Numbers: [77, 17]
Generated Node #0,3,0: 75:[77, 17] Operation: 42-25=17
Exploring Operation: 42+25=67, Resulting Numbers: [77, 67]
Generated Node #0,3,1: 75:[77, 67] Operation: 42+25=67
Exploring Operation: 77-42=35, Resulting Numbers: [25, 35]
Generated Node #0,3,2: 75:[25, 35] Operation: 77-42=35
Exploring Operation: 77-25=52, Resulting Numbers: [42, 52]
Generated Node #0,3,3: 75:[42, 52] Operation: 77-25=52
Exploring Operation: 42+77=119, Resulting Numbers: [25, 119]
Generated Node #0,3,4: 75:[25, 119] Operation: 42+77=119
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[77, 17], Operations: ['4+73=77', '42-25=17']
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,75 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,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,3,1
Current State: 75:[77, 67], Operations: ['4+73=77', '42+25=67']
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 77+67=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 77*67=5159, Resulting Numbers: [5159]
5159,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,3,2
Current State: 75:[25, 35], Operations: ['4+73=77', '77-42=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,75 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,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,3,3
Current State: 75:[42, 52], Operations: ['4+73=77', '77-25=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,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,3,4
Current State: 75:[25, 119], Operations: ['4+73=77', '42+77=119']
Exploring Operation: 119-25=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 25*119=2975, Resulting Numbers: [2975]
2975,75 unequal: No Solution
Exploring Operation: 25+119=144, Resulting Numbers: [144]
144,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
50,
57,
6,
56
] | 93 |
[
"56-50=6",
"6*6=36",
"57+36=93"
] |
Current State: 93:[50, 57, 6, 56], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [57, 6, 6]
Generated Node #2: [57, 6, 6] from Operation: 56-50=6
Current State: 93:[57, 6, 6], Operations: ['56-50=6']
Exploring Operation: 6*6=36, Resulting Numbers: [57, 36]
Generated Node #3: [57, 36] from Operation: 6*6=36
Current State: 93:[57, 36], Operations: ['56-50=6', '6*6=36']
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 |
Current State: 93:[50, 57, 6, 56], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [57, 6, 6]
Generated Node #0,0: 93:[57, 6, 6] Operation: 56-50=6
Exploring Operation: 50+56=106, Resulting Numbers: [57, 6, 106]
Generated Node #0,1: 93:[57, 6, 106] Operation: 50+56=106
Exploring Operation: 50+57=107, Resulting Numbers: [6, 56, 107]
Generated Node #0,2: 93:[6, 56, 107] Operation: 50+57=107
Exploring Operation: 57-56=1, Resulting Numbers: [50, 6, 1]
Generated Node #0,3: 93:[50, 6, 1] Operation: 57-56=1
Exploring Operation: 57-50=7, Resulting Numbers: [6, 56, 7]
Generated Node #0,4: 93:[6, 56, 7] Operation: 57-50=7
Moving to Node #0,3
Current State: 93:[50, 6, 1], Operations: ['57-56=1']
Exploring Operation: 50*1=50, Resulting Numbers: [6, 50]
Generated Node #0,3,0: 93:[6, 50] Operation: 50*1=50
Exploring Operation: 50/1=50, Resulting Numbers: [6, 50]
Generated Node #0,3,1: 93:[6, 50] Operation: 50/1=50
Exploring Operation: 50-6=44, Resulting Numbers: [1, 44]
Generated Node #0,3,2: 93:[1, 44] Operation: 50-6=44
Exploring Operation: 50-1=49, Resulting Numbers: [6, 49]
Generated Node #0,3,3: 93:[6, 49] Operation: 50-1=49
Exploring Operation: 6-1=5, Resulting Numbers: [50, 5]
Generated Node #0,3,4: 93:[50, 5] Operation: 6-1=5
Moving to Node #0,4
Current State: 93:[6, 56, 7], Operations: ['57-50=7']
Exploring Operation: 56/7=8, Resulting Numbers: [6, 8]
Generated Node #0,4,0: 93:[6, 8] Operation: 56/7=8
Exploring Operation: 56-6=50, Resulting Numbers: [7, 50]
Generated Node #0,4,1: 93:[7, 50] Operation: 56-6=50
Exploring Operation: 56-7=49, Resulting Numbers: [6, 49]
Generated Node #0,4,2: 93:[6, 49] Operation: 56-7=49
Exploring Operation: 56+7=63, Resulting Numbers: [6, 63]
Generated Node #0,4,3: 93:[6, 63] Operation: 56+7=63
Exploring Operation: 7-6=1, Resulting Numbers: [56, 1]
Generated Node #0,4,4: 93:[56, 1] Operation: 7-6=1
Moving to Node #0,0
Current State: 93:[57, 6, 6], Operations: ['56-50=6']
Exploring Operation: 57-6=51, Resulting Numbers: [6, 51]
Generated Node #0,0,0: 93:[6, 51] Operation: 57-6=51
Exploring Operation: 6-6=0, Resulting Numbers: [57, 0]
Generated Node #0,0,1: 93:[57, 0] Operation: 6-6=0
Exploring Operation: 6/6=1, Resulting Numbers: [57, 1]
Generated Node #0,0,2: 93:[57, 1] Operation: 6/6=1
Exploring Operation: 6*6=36, Resulting Numbers: [57, 36]
Generated Node #0,0,3: 93:[57, 36] Operation: 6*6=36
Exploring Operation: 57-6=51, Resulting Numbers: [6, 51]
Generated Node #0,0,4: 93:[6, 51] Operation: 57-6=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[6, 51], Operations: ['56-50=6', '57-6=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 93:[6, 51], Operations: ['56-50=6', '57-6=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,93 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[57, 1], Operations: ['56-50=6', '6/6=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[57, 0], Operations: ['56-50=6', '6-6=0']
Exploring Operation: 57+0=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 57-0=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 57*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[57, 36], Operations: ['56-50=6', '6*6=36']
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[50, 57, 6, 56], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [57, 6, 6]
Generated Node #0,0: 93:[57, 6, 6] Operation: 56-50=6
Moving to Node #0,0
Current State: 93:[57, 6, 6], Operations: ['56-50=6']
Exploring Operation: 6*6=36, Resulting Numbers: [57, 36]
Generated Node #0,0,3: 93:[57, 36] Operation: 6*6=36
Moving to Node #0,0,3
Current State: 93:[57, 36], Operations: ['56-50=6', '6*6=36']
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 |
hs_5
|
mult_heuristic
|
[
45,
30,
95,
10
] | 44 |
[
"45+95=140",
"140/10=14",
"30+14=44"
] |
Current State: 44:[45, 30, 95, 10], Operations: []
Exploring Operation: 45+95=140, Resulting Numbers: [30, 10, 140]
Generated Node #2: [30, 10, 140] from Operation: 45+95=140
Current State: 44:[30, 10, 140], Operations: ['45+95=140']
Exploring Operation: 140/10=14, Resulting Numbers: [30, 14]
Generated Node #3: [30, 14] from Operation: 140/10=14
Current State: 44:[30, 14], Operations: ['45+95=140', '140/10=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[45, 30, 95, 10], Operations: []
Exploring Operation: 95-10=85, Resulting Numbers: [45, 30, 85]
Generated Node #0,0: 44:[45, 30, 85] Operation: 95-10=85
Exploring Operation: 95-45=50, Resulting Numbers: [30, 10, 50]
Generated Node #0,1: 44:[30, 10, 50] Operation: 95-45=50
Exploring Operation: 95-30=65, Resulting Numbers: [45, 10, 65]
Generated Node #0,2: 44:[45, 10, 65] Operation: 95-30=65
Exploring Operation: 30/10=3, Resulting Numbers: [45, 95, 3]
Generated Node #0,3: 44:[45, 95, 3] Operation: 30/10=3
Moving to Node #0,1
Current State: 44:[30, 10, 50], Operations: ['95-45=50']
Exploring Operation: 50-30=20, Resulting Numbers: [10, 20]
Generated Node #0,1,0: 44:[10, 20] Operation: 50-30=20
Exploring Operation: 50/10=5, Resulting Numbers: [30, 5]
Generated Node #0,1,1: 44:[30, 5] Operation: 50/10=5
Exploring Operation: 30-10=20, Resulting Numbers: [50, 20]
Generated Node #0,1,2: 44:[50, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [50, 3]
Generated Node #0,1,3: 44:[50, 3] Operation: 30/10=3
Moving to Node #0,2
Current State: 44:[45, 10, 65], Operations: ['95-30=65']
Exploring Operation: 45-10=35, Resulting Numbers: [65, 35]
Generated Node #0,2,0: 44:[65, 35] Operation: 45-10=35
Exploring Operation: 65-45=20, Resulting Numbers: [10, 20]
Generated Node #0,2,1: 44:[10, 20] Operation: 65-45=20
Exploring Operation: 65-10=55, Resulting Numbers: [45, 55]
Generated Node #0,2,2: 44:[45, 55] Operation: 65-10=55
Exploring Operation: 45+10=55, Resulting Numbers: [65, 55]
Generated Node #0,2,3: 44:[65, 55] Operation: 45+10=55
Moving to Node #0,0
Current State: 44:[45, 30, 85], Operations: ['95-10=85']
Exploring Operation: 85-30=55, Resulting Numbers: [45, 55]
Generated Node #0,0,0: 44:[45, 55] Operation: 85-30=55
Exploring Operation: 45-30=15, Resulting Numbers: [85, 15]
Generated Node #0,0,1: 44:[85, 15] Operation: 45-30=15
Exploring Operation: 45+30=75, Resulting Numbers: [85, 75]
Generated Node #0,0,2: 44:[85, 75] Operation: 45+30=75
Exploring Operation: 85-45=40, Resulting Numbers: [30, 40]
Generated Node #0,0,3: 44:[30, 40] Operation: 85-45=40
Moving to Node #0,3
Current State: 44:[45, 95, 3], Operations: ['30/10=3']
Exploring Operation: 95-3=92, Resulting Numbers: [45, 92]
Generated Node #0,3,0: 44:[45, 92] Operation: 95-3=92
Exploring Operation: 95-45=50, Resulting Numbers: [3, 50]
Generated Node #0,3,1: 44:[3, 50] Operation: 95-45=50
Exploring Operation: 45-3=42, Resulting Numbers: [95, 42]
Generated Node #0,3,2: 44:[95, 42] Operation: 45-3=42
Exploring Operation: 45+3=48, Resulting Numbers: [95, 48]
Generated Node #0,3,3: 44:[95, 48] Operation: 45+3=48
Moving to Node #0,1,0
Current State: 44:[10, 20], Operations: ['95-45=50', '50-30=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,44 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[10, 20], Operations: ['95-30=65', '65-45=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[3, 50], Operations: ['30/10=3', '95-45=50']
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[50, 3], Operations: ['95-45=50', '30/10=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[50, 20], Operations: ['95-45=50', '30-10=20']
Exploring Operation: 50*20=1000, Resulting Numbers: [1000]
1000,44 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[30, 5], Operations: ['95-45=50', '50/10=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,44 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[45, 55], Operations: ['95-30=65', '65-10=55']
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,44 unequal: No Solution
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[30, 40], Operations: ['95-10=85', '85-45=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[45, 55], Operations: ['95-10=85', '85-30=55']
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,44 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[65, 35], Operations: ['95-30=65', '45-10=35']
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,44 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[65, 55], Operations: ['95-30=65', '45+10=55']
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 65+55=120, Resulting Numbers: [120]
120,44 unequal: No Solution
Exploring Operation: 65*55=3575, Resulting Numbers: [3575]
3575,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[85, 15], Operations: ['95-10=85', '45-30=15']
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,44 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[45, 92], Operations: ['30/10=3', '95-3=92']
Exploring Operation: 45*92=4140, Resulting Numbers: [4140]
4140,44 unequal: No Solution
Exploring Operation: 45+92=137, Resulting Numbers: [137]
137,44 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[95, 42], Operations: ['30/10=3', '45-3=42']
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,44 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,44 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[95, 48], Operations: ['30/10=3', '45+3=48']
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,44 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,44 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[85, 75], Operations: ['95-10=85', '45+30=75']
Exploring Operation: 85+75=160, Resulting Numbers: [160]
160,44 unequal: No Solution
Exploring Operation: 85*75=6375, Resulting Numbers: [6375]
6375,44 unequal: No Solution
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
62,
66,
52,
76
] | 89 |
[
"66-62=4",
"52/4=13",
"76+13=89"
] |
Current State: 89:[62, 66, 52, 76], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [52, 76, 4]
Generated Node #2: [52, 76, 4] from Operation: 66-62=4
Current State: 89:[52, 76, 4], Operations: ['66-62=4']
Exploring Operation: 52/4=13, Resulting Numbers: [76, 13]
Generated Node #3: [76, 13] from Operation: 52/4=13
Current State: 89:[76, 13], Operations: ['66-62=4', '52/4=13']
Exploring Operation: 76+13=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[62, 66, 52, 76], Operations: []
Exploring Operation: 66+52=118, Resulting Numbers: [62, 76, 118]
Generated Node #0,0: 89:[62, 76, 118] Operation: 66+52=118
Exploring Operation: 62+52=114, Resulting Numbers: [66, 76, 114]
Generated Node #0,1: 89:[66, 76, 114] Operation: 62+52=114
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[66, 76, 114], Operations: ['62+52=114']
Exploring Operation: 114-66=48, Resulting Numbers: [76, 48]
Generated Node #0,1,0: 89:[76, 48] Operation: 114-66=48
Exploring Operation: 114-76=38, Resulting Numbers: [66, 38]
Generated Node #0,1,1: 89:[66, 38] Operation: 114-76=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[76, 48], Operations: ['62+52=114', '114-66=48']
Exploring Operation: 76+48=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[66, 38], Operations: ['62+52=114', '114-76=38']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[62, 76, 118], Operations: ['66+52=118']
Exploring Operation: 118-76=42, Resulting Numbers: [62, 42]
Generated Node #0,0,0: 89:[62, 42] Operation: 118-76=42
Exploring Operation: 118-62=56, Resulting Numbers: [76, 56]
Generated Node #0,0,1: 89:[76, 56] Operation: 118-62=56
Moving to Node #0,0,1
Current State: 89:[76, 56], Operations: ['66+52=118', '118-62=56']
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[62, 42], Operations: ['66+52=118', '118-76=42']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,89 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
|
[
14,
36,
40,
34
] | 28 |
[
"36-14=22",
"40-34=6",
"22+6=28"
] |
Current State: 28:[14, 36, 40, 34], Operations: []
Exploring Operation: 36-14=22, Resulting Numbers: [40, 34, 22]
Generated Node #2: [40, 34, 22] from Operation: 36-14=22
Current State: 28:[40, 34, 22], Operations: ['36-14=22']
Exploring Operation: 40-34=6, Resulting Numbers: [22, 6]
Generated Node #3: [22, 6] from Operation: 40-34=6
Current State: 28:[22, 6], Operations: ['36-14=22', '40-34=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[14, 36, 40, 34], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [14, 36, 6]
Generated Node #0,0: 28:[14, 36, 6] Operation: 40-34=6
Exploring Operation: 36-34=2, Resulting Numbers: [14, 40, 2]
Generated Node #0,1: 28:[14, 40, 2] Operation: 36-34=2
Exploring Operation: 40-36=4, Resulting Numbers: [14, 34, 4]
Generated Node #0,2: 28:[14, 34, 4] Operation: 40-36=4
Moving to Node #0,2
Current State: 28:[14, 34, 4], Operations: ['40-36=4']
Exploring Operation: 34-14=20, Resulting Numbers: [4, 20]
Generated Node #0,2,0: 28:[4, 20] Operation: 34-14=20
Exploring Operation: 34-4=30, Resulting Numbers: [14, 30]
Generated Node #0,2,1: 28:[14, 30] Operation: 34-4=30
Exploring Operation: 14-4=10, Resulting Numbers: [34, 10]
Generated Node #0,2,2: 28:[34, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[14, 30], Operations: ['40-36=4', '34-4=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,28 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[4, 20], Operations: ['40-36=4', '34-14=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[34, 10], Operations: ['40-36=4', '14-4=10']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,28 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: 28:[14, 36, 6], Operations: ['40-34=6']
Exploring Operation: 36-14=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 28:[6, 22] Operation: 36-14=22
Exploring Operation: 36/6=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 28:[14, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [14, 30]
Generated Node #0,0,2: 28:[14, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[14, 6], Operations: ['40-34=6', '36/6=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,28 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[14, 30], Operations: ['40-34=6', '36-6=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,28 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[6, 22], Operations: ['40-34=6', '36-14=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[14, 36, 40, 34], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [14, 36, 6]
Generated Node #0,0: 28:[14, 36, 6] Operation: 40-34=6
Moving to Node #0,0
Current State: 28:[14, 36, 6], Operations: ['40-34=6']
Exploring Operation: 36-14=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 28:[6, 22] Operation: 36-14=22
Moving to Node #0,0,0
Current State: 28:[6, 22], Operations: ['40-34=6', '36-14=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 |
hs_3
|
mult_heuristic
|
[
66,
54,
48,
78
] | 74 |
[
"66-54=12",
"48/12=4",
"78-4=74"
] |
Current State: 74:[66, 54, 48, 78], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [48, 78, 12]
Generated Node #2: [48, 78, 12] from Operation: 66-54=12
Current State: 74:[48, 78, 12], Operations: ['66-54=12']
Exploring Operation: 48/12=4, Resulting Numbers: [78, 4]
Generated Node #3: [78, 4] from Operation: 48/12=4
Current State: 74:[78, 4], Operations: ['66-54=12', '48/12=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[66, 54, 48, 78], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [66, 78, 6]
Generated Node #0,0: 74:[66, 78, 6] Operation: 54-48=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[66, 78, 6], Operations: ['54-48=6']
Exploring Operation: 66+6=72, Resulting Numbers: [78, 72]
Generated Node #0,0,0: 74:[78, 72] Operation: 66+6=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[78, 72], Operations: ['54-48=6', '66+6=72']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
92,
13,
84,
62
] | 42 |
[
"92-84=8",
"13*8=104",
"104-62=42"
] |
Current State: 42:[92, 13, 84, 62], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [13, 62, 8]
Generated Node #2: [13, 62, 8] from Operation: 92-84=8
Current State: 42:[13, 62, 8], Operations: ['92-84=8']
Exploring Operation: 13*8=104, Resulting Numbers: [62, 104]
Generated Node #3: [62, 104] from Operation: 13*8=104
Current State: 42:[62, 104], Operations: ['92-84=8', '13*8=104']
Exploring Operation: 104-62=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[92, 13, 84, 62], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [13, 62, 8]
Generated Node #0,0: 42:[13, 62, 8] Operation: 92-84=8
Exploring Operation: 92-62=30, Resulting Numbers: [13, 84, 30]
Generated Node #0,1: 42:[13, 84, 30] Operation: 92-62=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[13, 62, 8], Operations: ['92-84=8']
Exploring Operation: 62-13=49, Resulting Numbers: [8, 49]
Generated Node #0,0,0: 42:[8, 49] Operation: 62-13=49
Exploring Operation: 62-8=54, Resulting Numbers: [13, 54]
Generated Node #0,0,1: 42:[13, 54] Operation: 62-8=54
Moving to Node #0,0,0
Current State: 42:[8, 49], Operations: ['92-84=8', '62-13=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[13, 54], Operations: ['92-84=8', '62-8=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,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:[13, 84, 30], Operations: ['92-62=30']
Exploring Operation: 84-13=71, Resulting Numbers: [30, 71]
Generated Node #0,1,0: 42:[30, 71] Operation: 84-13=71
Exploring Operation: 84-30=54, Resulting Numbers: [13, 54]
Generated Node #0,1,1: 42:[13, 54] Operation: 84-30=54
Moving to Node #0,1,1
Current State: 42:[13, 54], Operations: ['92-62=30', '84-30=54']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[30, 71], Operations: ['92-62=30', '84-13=71']
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,42 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
27,
21,
49,
54
] | 40 |
[
"27-21=6",
"54/6=9",
"49-9=40"
] |
Current State: 40:[27, 21, 49, 54], Operations: []
Exploring Operation: 27-21=6, Resulting Numbers: [49, 54, 6]
Generated Node #2: [49, 54, 6] from Operation: 27-21=6
Current State: 40:[49, 54, 6], Operations: ['27-21=6']
Exploring Operation: 54/6=9, Resulting Numbers: [49, 9]
Generated Node #3: [49, 9] from Operation: 54/6=9
Current State: 40:[49, 9], Operations: ['27-21=6', '54/6=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[27, 21, 49, 54], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [27, 21, 5]
Generated Node #0,0: 40:[27, 21, 5] Operation: 54-49=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[27, 21, 5], Operations: ['54-49=5']
Exploring Operation: 27-21=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 40:[5, 6] Operation: 27-21=6
Moving to Node #0,0,0
Current State: 40:[5, 6], Operations: ['54-49=5', '27-21=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,40 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,
25,
75,
61
] | 57 |
[
"61-42=19",
"75/25=3",
"19*3=57"
] |
Current State: 57:[42, 25, 75, 61], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [25, 75, 19]
Generated Node #2: [25, 75, 19] from Operation: 61-42=19
Current State: 57:[25, 75, 19], Operations: ['61-42=19']
Exploring Operation: 75/25=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 75/25=3
Current State: 57:[19, 3], Operations: ['61-42=19', '75/25=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[42, 25, 75, 61], Operations: []
Exploring Operation: 42-25=17, Resulting Numbers: [75, 61, 17]
Generated Node #0,0: 57:[75, 61, 17] Operation: 42-25=17
Exploring Operation: 75/25=3, Resulting Numbers: [42, 61, 3]
Generated Node #0,1: 57:[42, 61, 3] Operation: 75/25=3
Exploring Operation: 75-25=50, Resulting Numbers: [42, 61, 50]
Generated Node #0,2: 57:[42, 61, 50] Operation: 75-25=50
Exploring Operation: 75-42=33, Resulting Numbers: [25, 61, 33]
Generated Node #0,3: 57:[25, 61, 33] Operation: 75-42=33
Exploring Operation: 61-42=19, Resulting Numbers: [25, 75, 19]
Generated Node #0,4: 57:[25, 75, 19] Operation: 61-42=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[42, 61, 3], Operations: ['75/25=3']
Exploring Operation: 42-3=39, Resulting Numbers: [61, 39]
Generated Node #0,1,0: 57:[61, 39] Operation: 42-3=39
Exploring Operation: 42+3=45, Resulting Numbers: [61, 45]
Generated Node #0,1,1: 57:[61, 45] Operation: 42+3=45
Exploring Operation: 42/3=14, Resulting Numbers: [61, 14]
Generated Node #0,1,2: 57:[61, 14] Operation: 42/3=14
Exploring Operation: 61-42=19, Resulting Numbers: [3, 19]
Generated Node #0,1,3: 57:[3, 19] Operation: 61-42=19
Exploring Operation: 61-3=58, Resulting Numbers: [42, 58]
Generated Node #0,1,4: 57:[42, 58] Operation: 61-3=58
Moving to Node #0,1,3
Current State: 57:[3, 19], Operations: ['75/25=3', '61-42=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[42, 25, 75, 61], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [42, 61, 3]
Generated Node #0,1: 57:[42, 61, 3] Operation: 75/25=3
Moving to Node #0,1
Current State: 57:[42, 61, 3], Operations: ['75/25=3']
Exploring Operation: 61-42=19, Resulting Numbers: [3, 19]
Generated Node #0,1,3: 57:[3, 19] Operation: 61-42=19
Moving to Node #0,1,3
Current State: 57:[3, 19], Operations: ['75/25=3', '61-42=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
sum_heuristic
|
[
52,
75,
8,
42
] | 27 |
[
"75-52=23",
"8+42=50",
"50-23=27"
] |
Current State: 27:[52, 75, 8, 42], Operations: []
Exploring Operation: 75-52=23, Resulting Numbers: [8, 42, 23]
Generated Node #2: [8, 42, 23] from Operation: 75-52=23
Current State: 27:[8, 42, 23], Operations: ['75-52=23']
Exploring Operation: 8+42=50, Resulting Numbers: [23, 50]
Generated Node #3: [23, 50] from Operation: 8+42=50
Current State: 27:[23, 50], Operations: ['75-52=23', '8+42=50']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[52, 75, 8, 42], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [52, 8, 33]
Generated Node #0,0: 27:[52, 8, 33] Operation: 75-42=33
Exploring Operation: 75-52=23, Resulting Numbers: [8, 42, 23]
Generated Node #0,1: 27:[8, 42, 23] Operation: 75-52=23
Exploring Operation: 52-42=10, Resulting Numbers: [75, 8, 10]
Generated Node #0,2: 27:[75, 8, 10] Operation: 52-42=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[8, 42, 23], Operations: ['75-52=23']
Exploring Operation: 42-8=34, Resulting Numbers: [23, 34]
Generated Node #0,1,0: 27:[23, 34] Operation: 42-8=34
Exploring Operation: 8+23=31, Resulting Numbers: [42, 31]
Generated Node #0,1,1: 27:[42, 31] Operation: 8+23=31
Exploring Operation: 42-23=19, Resulting Numbers: [8, 19]
Generated Node #0,1,2: 27:[8, 19] Operation: 42-23=19
Moving to Node #0,1,2
Current State: 27:[8, 19], Operations: ['75-52=23', '42-23=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,27 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[52, 75, 8, 42], Operations: []
Exploring Operation: 75-52=23, Resulting Numbers: [8, 42, 23]
Generated Node #0,1: 27:[8, 42, 23] Operation: 75-52=23
Moving to Node #0,1
Current State: 27:[8, 42, 23], Operations: ['75-52=23']
Exploring Operation: 42-23=19, Resulting Numbers: [8, 19]
Generated Node #0,1,2: 27:[8, 19] Operation: 42-23=19
Moving to Node #0,1,2
Current State: 27:[8, 19], Operations: ['75-52=23', '42-23=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
mult_heuristic
|
[
90,
4,
47,
86
] | 48 |
[
"90-4=86",
"86/86=1",
"47+1=48"
] |
Current State: 48:[90, 4, 47, 86], Operations: []
Exploring Operation: 90-4=86, Resulting Numbers: [47, 86, 86]
Generated Node #2: [47, 86, 86] from Operation: 90-4=86
Current State: 48:[47, 86, 86], Operations: ['90-4=86']
Exploring Operation: 86/86=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 86/86=1
Current State: 48:[47, 1], Operations: ['90-4=86', '86/86=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[90, 4, 47, 86], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [4, 47, 4]
Generated Node #0,0: 48:[4, 47, 4] Operation: 90-86=4
Exploring Operation: 90-47=43, Resulting Numbers: [4, 86, 43]
Generated Node #0,1: 48:[4, 86, 43] Operation: 90-47=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[4, 47, 4], Operations: ['90-86=4']
Exploring Operation: 4+4=8, Resulting Numbers: [47, 8]
Generated Node #0,0,0: 48:[47, 8] Operation: 4+4=8
Exploring Operation: 4*4=16, Resulting Numbers: [47, 16]
Generated Node #0,0,1: 48:[47, 16] Operation: 4*4=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[47, 8], Operations: ['90-86=4', '4+4=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[47, 16], Operations: ['90-86=4', '4*4=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,48 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[4, 86, 43], Operations: ['90-47=43']
Exploring Operation: 86/43=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 48:[4, 2] Operation: 86/43=2
Exploring Operation: 86-43=43, Resulting Numbers: [4, 43]
Generated Node #0,1,1: 48:[4, 43] Operation: 86-43=43
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[4, 2], Operations: ['90-47=43', '86/43=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[4, 43], Operations: ['90-47=43', '86-43=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
68,
21,
75,
72
] | 92 |
[
"68+21=89",
"75-72=3",
"89+3=92"
] |
Current State: 92:[68, 21, 75, 72], Operations: []
Exploring Operation: 68+21=89, Resulting Numbers: [75, 72, 89]
Generated Node #2: [75, 72, 89] from Operation: 68+21=89
Current State: 92:[75, 72, 89], Operations: ['68+21=89']
Exploring Operation: 75-72=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 75-72=3
Current State: 92:[89, 3], Operations: ['68+21=89', '75-72=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[68, 21, 75, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [21, 75, 4]
Generated Node #0,0: 92:[21, 75, 4] Operation: 72-68=4
Moving to Node #0,0
Current State: 92:[21, 75, 4], Operations: ['72-68=4']
Exploring Operation: 21+75=96, Resulting Numbers: [4, 96]
Generated Node #0,0,0: 92:[4, 96] Operation: 21+75=96
Moving to Node #0,0,0
Current State: 92:[4, 96], Operations: ['72-68=4', '21+75=96']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[68, 21, 75, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [21, 75, 4]
Generated Node #0,0: 92:[21, 75, 4] Operation: 72-68=4
Moving to Node #0,0
Current State: 92:[21, 75, 4], Operations: ['72-68=4']
Exploring Operation: 21+75=96, Resulting Numbers: [4, 96]
Generated Node #0,0,0: 92:[4, 96] Operation: 21+75=96
Moving to Node #0,0,0
Current State: 92:[4, 96], Operations: ['72-68=4', '21+75=96']
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
72,
22,
2,
77
] | 74 |
[
"22+2=24",
"72/24=3",
"77-3=74"
] |
Current State: 74:[72, 22, 2, 77], Operations: []
Exploring Operation: 22+2=24, Resulting Numbers: [72, 77, 24]
Generated Node #2: [72, 77, 24] from Operation: 22+2=24
Current State: 74:[72, 77, 24], Operations: ['22+2=24']
Exploring Operation: 72/24=3, Resulting Numbers: [77, 3]
Generated Node #3: [77, 3] from Operation: 72/24=3
Current State: 74:[77, 3], Operations: ['22+2=24', '72/24=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[72, 22, 2, 77], Operations: []
Exploring Operation: 22/2=11, Resulting Numbers: [72, 77, 11]
Generated Node #0,0: 74:[72, 77, 11] Operation: 22/2=11
Exploring Operation: 22*2=44, Resulting Numbers: [72, 77, 44]
Generated Node #0,1: 74:[72, 77, 44] Operation: 22*2=44
Moving to Node #0,1
Current State: 74:[72, 77, 44], Operations: ['22*2=44']
Exploring Operation: 77-72=5, Resulting Numbers: [44, 5]
Generated Node #0,1,0: 74:[44, 5] Operation: 77-72=5
Exploring Operation: 77-44=33, Resulting Numbers: [72, 33]
Generated Node #0,1,1: 74:[72, 33] Operation: 77-44=33
Moving to Node #0,0
Current State: 74:[72, 77, 11], Operations: ['22/2=11']
Exploring Operation: 77-11=66, Resulting Numbers: [72, 66]
Generated Node #0,0,0: 74:[72, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [72, 7]
Generated Node #0,0,1: 74:[72, 7] Operation: 77/11=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[72, 7], Operations: ['22/2=11', '77/11=7']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[72, 66], Operations: ['22/2=11', '77-11=66']
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,74 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 74:[72, 33], Operations: ['22*2=44', '77-44=33']
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[44, 5], Operations: ['22*2=44', '77-72=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,74 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
88,
81,
12,
79
] | 94 |
[
"81-79=2",
"12/2=6",
"88+6=94"
] |
Current State: 94:[88, 81, 12, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [88, 12, 2]
Generated Node #2: [88, 12, 2] from Operation: 81-79=2
Current State: 94:[88, 12, 2], Operations: ['81-79=2']
Exploring Operation: 12/2=6, Resulting Numbers: [88, 6]
Generated Node #3: [88, 6] from Operation: 12/2=6
Current State: 94:[88, 6], Operations: ['81-79=2', '12/2=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[88, 81, 12, 79], Operations: []
Exploring Operation: 81+12=93, Resulting Numbers: [88, 79, 93]
Generated Node #0,0: 94:[88, 79, 93] Operation: 81+12=93
Exploring Operation: 81-79=2, Resulting Numbers: [88, 12, 2]
Generated Node #0,1: 94:[88, 12, 2] Operation: 81-79=2
Exploring Operation: 12+79=91, Resulting Numbers: [88, 81, 91]
Generated Node #0,2: 94:[88, 81, 91] Operation: 12+79=91
Exploring Operation: 88-81=7, Resulting Numbers: [12, 79, 7]
Generated Node #0,3: 94:[12, 79, 7] Operation: 88-81=7
Moving to Node #0,1
Current State: 94:[88, 12, 2], Operations: ['81-79=2']
Exploring Operation: 88+12=100, Resulting Numbers: [2, 100]
Generated Node #0,1,0: 94:[2, 100] Operation: 88+12=100
Exploring Operation: 12/2=6, Resulting Numbers: [88, 6]
Generated Node #0,1,1: 94:[88, 6] Operation: 12/2=6
Exploring Operation: 88+2=90, Resulting Numbers: [12, 90]
Generated Node #0,1,2: 94:[12, 90] Operation: 88+2=90
Exploring Operation: 88/2=44, Resulting Numbers: [12, 44]
Generated Node #0,1,3: 94:[12, 44] Operation: 88/2=44
Moving to Node #0,2
Current State: 94:[88, 81, 91], Operations: ['12+79=91']
Exploring Operation: 91-81=10, Resulting Numbers: [88, 10]
Generated Node #0,2,0: 94:[88, 10] Operation: 91-81=10
Exploring Operation: 88+81=169, Resulting Numbers: [91, 169]
Generated Node #0,2,1: 94:[91, 169] Operation: 88+81=169
Exploring Operation: 88-81=7, Resulting Numbers: [91, 7]
Generated Node #0,2,2: 94:[91, 7] Operation: 88-81=7
Exploring Operation: 91-88=3, Resulting Numbers: [81, 3]
Generated Node #0,2,3: 94:[81, 3] Operation: 91-88=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[91, 7], Operations: ['12+79=91', '88-81=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,94 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[88, 10], Operations: ['12+79=91', '91-81=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,94 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[81, 3], Operations: ['12+79=91', '91-88=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,94 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,94 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[91, 169], Operations: ['12+79=91', '88+81=169']
Exploring Operation: 169-91=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 91*169=15379, Resulting Numbers: [15379]
15379,94 unequal: No Solution
Exploring Operation: 91+169=260, Resulting Numbers: [260]
260,94 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: 94:[88, 79, 93], Operations: ['81+12=93']
Exploring Operation: 93-88=5, Resulting Numbers: [79, 5]
Generated Node #0,0,0: 94:[79, 5] Operation: 93-88=5
Exploring Operation: 93-79=14, Resulting Numbers: [88, 14]
Generated Node #0,0,1: 94:[88, 14] Operation: 93-79=14
Exploring Operation: 88+79=167, Resulting Numbers: [93, 167]
Generated Node #0,0,2: 94:[93, 167] Operation: 88+79=167
Exploring Operation: 88-79=9, Resulting Numbers: [93, 9]
Generated Node #0,0,3: 94:[93, 9] Operation: 88-79=9
Moving to Node #0,3
Current State: 94:[12, 79, 7], Operations: ['88-81=7']
Exploring Operation: 79-12=67, Resulting Numbers: [7, 67]
Generated Node #0,3,0: 94:[7, 67] Operation: 79-12=67
Exploring Operation: 12+79=91, Resulting Numbers: [7, 91]
Generated Node #0,3,1: 94:[7, 91] Operation: 12+79=91
Exploring Operation: 79+7=86, Resulting Numbers: [12, 86]
Generated Node #0,3,2: 94:[12, 86] Operation: 79+7=86
Exploring Operation: 12-7=5, Resulting Numbers: [79, 5]
Generated Node #0,3,3: 94:[79, 5] Operation: 12-7=5
Moving to Node #0,1,0
Current State: 94:[2, 100], Operations: ['81-79=2', '88+12=100']
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 2*100=200, Resulting Numbers: [200]
200,94 unequal: No Solution
Exploring Operation: 2+100=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[93, 9], Operations: ['81+12=93', '88-79=9']
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[7, 91], Operations: ['88-81=7', '12+79=91']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 7*91=637, Resulting Numbers: [637]
637,94 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[88, 6], Operations: ['81-79=2', '12/2=6']
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,94 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[88, 81, 12, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [88, 12, 2]
Generated Node #0,1: 94:[88, 12, 2] Operation: 81-79=2
Moving to Node #0,1
Current State: 94:[88, 12, 2], Operations: ['81-79=2']
Exploring Operation: 12/2=6, Resulting Numbers: [88, 6]
Generated Node #0,1,1: 94:[88, 6] Operation: 12/2=6
Moving to Node #0,1,1
Current State: 94:[88, 6], Operations: ['81-79=2', '12/2=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.955729 |
hs_4
|
mult_heuristic
|
[
5,
50,
80,
32
] | 30 |
[
"5*32=160",
"50+80=130",
"160-130=30"
] |
Current State: 30:[5, 50, 80, 32], Operations: []
Exploring Operation: 5*32=160, Resulting Numbers: [50, 80, 160]
Generated Node #2: [50, 80, 160] from Operation: 5*32=160
Current State: 30:[50, 80, 160], Operations: ['5*32=160']
Exploring Operation: 50+80=130, Resulting Numbers: [160, 130]
Generated Node #3: [160, 130] from Operation: 50+80=130
Current State: 30:[160, 130], Operations: ['5*32=160', '50+80=130']
Exploring Operation: 160-130=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[5, 50, 80, 32], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [5, 32, 30]
Generated Node #0,0: 30:[5, 32, 30] Operation: 80-50=30
Exploring Operation: 80-32=48, Resulting Numbers: [5, 50, 48]
Generated Node #0,1: 30:[5, 50, 48] Operation: 80-32=48
Exploring Operation: 80/5=16, Resulting Numbers: [50, 32, 16]
Generated Node #0,2: 30:[50, 32, 16] Operation: 80/5=16
Moving to Node #0,0
Current State: 30:[5, 32, 30], Operations: ['80-50=30']
Exploring Operation: 32-5=27, Resulting Numbers: [30, 27]
Generated Node #0,0,0: 30:[30, 27] Operation: 32-5=27
Exploring Operation: 30/5=6, Resulting Numbers: [32, 6]
Generated Node #0,0,1: 30:[32, 6] Operation: 30/5=6
Exploring Operation: 32-30=2, Resulting Numbers: [5, 2]
Generated Node #0,0,2: 30:[5, 2] Operation: 32-30=2
Moving to Node #0,2
Current State: 30:[50, 32, 16], Operations: ['80/5=16']
Exploring Operation: 50-32=18, Resulting Numbers: [16, 18]
Generated Node #0,2,0: 30:[16, 18] Operation: 50-32=18
Exploring Operation: 32/16=2, Resulting Numbers: [50, 2]
Generated Node #0,2,1: 30:[50, 2] Operation: 32/16=2
Exploring Operation: 50-16=34, Resulting Numbers: [32, 34]
Generated Node #0,2,2: 30:[32, 34] Operation: 50-16=34
Moving to Node #0,1
Current State: 30:[5, 50, 48], Operations: ['80-32=48']
Exploring Operation: 50-5=45, Resulting Numbers: [48, 45]
Generated Node #0,1,0: 30:[48, 45] Operation: 50-5=45
Exploring Operation: 50-48=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 30:[5, 2] Operation: 50-48=2
Exploring Operation: 50/5=10, Resulting Numbers: [48, 10]
Generated Node #0,1,2: 30:[48, 10] Operation: 50/5=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[5, 2], Operations: ['80-32=48', '50-48=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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:[48, 10], Operations: ['80-32=48', '50/5=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,30 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,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:[48, 45], Operations: ['80-32=48', '50-5=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 30:[5, 2], Operations: ['80-50=30', '32-30=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[32, 6], Operations: ['80-50=30', '30/5=6']
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,30 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[30, 27], Operations: ['80-50=30', '32-5=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,30 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[16, 18], Operations: ['80/5=16', '50-32=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[32, 34], Operations: ['80/5=16', '50-16=34']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,30 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[50, 2], Operations: ['80/5=16', '32/16=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,30 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
83,
77,
43,
41
] | 78 |
[
"83-77=6",
"43+41=84",
"84-6=78"
] |
Current State: 78:[83, 77, 43, 41], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [43, 41, 6]
Generated Node #2: [43, 41, 6] from Operation: 83-77=6
Current State: 78:[43, 41, 6], Operations: ['83-77=6']
Exploring Operation: 43+41=84, Resulting Numbers: [6, 84]
Generated Node #3: [6, 84] from Operation: 43+41=84
Current State: 78:[6, 84], Operations: ['83-77=6', '43+41=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[83, 77, 43, 41], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [43, 41, 6]
Generated Node #0,0: 78:[43, 41, 6] Operation: 83-77=6
Exploring Operation: 43-41=2, Resulting Numbers: [83, 77, 2]
Generated Node #0,1: 78:[83, 77, 2] Operation: 43-41=2
Exploring Operation: 83-41=42, Resulting Numbers: [77, 43, 42]
Generated Node #0,2: 78:[77, 43, 42] Operation: 83-41=42
Exploring Operation: 83-43=40, Resulting Numbers: [77, 41, 40]
Generated Node #0,3: 78:[77, 41, 40] Operation: 83-43=40
Moving to Node #0,3
Current State: 78:[77, 41, 40], Operations: ['83-43=40']
Exploring Operation: 41+40=81, Resulting Numbers: [77, 81]
Generated Node #0,3,0: 78:[77, 81] Operation: 41+40=81
Exploring Operation: 77-41=36, Resulting Numbers: [40, 36]
Generated Node #0,3,1: 78:[40, 36] Operation: 77-41=36
Exploring Operation: 41-40=1, Resulting Numbers: [77, 1]
Generated Node #0,3,2: 78:[77, 1] Operation: 41-40=1
Exploring Operation: 77-40=37, Resulting Numbers: [41, 37]
Generated Node #0,3,3: 78:[41, 37] Operation: 77-40=37
Moving to Node #0,1
Current State: 78:[83, 77, 2], Operations: ['43-41=2']
Exploring Operation: 83+2=85, Resulting Numbers: [77, 85]
Generated Node #0,1,0: 78:[77, 85] Operation: 83+2=85
Exploring Operation: 83-2=81, Resulting Numbers: [77, 81]
Generated Node #0,1,1: 78:[77, 81] Operation: 83-2=81
Exploring Operation: 77+2=79, Resulting Numbers: [83, 79]
Generated Node #0,1,2: 78:[83, 79] Operation: 77+2=79
Exploring Operation: 83-77=6, Resulting Numbers: [2, 6]
Generated Node #0,1,3: 78:[2, 6] Operation: 83-77=6
Moving to Node #0,0
Current State: 78:[43, 41, 6], Operations: ['83-77=6']
Exploring Operation: 43+41=84, Resulting Numbers: [6, 84]
Generated Node #0,0,0: 78:[6, 84] Operation: 43+41=84
Exploring Operation: 41-6=35, Resulting Numbers: [43, 35]
Generated Node #0,0,1: 78:[43, 35] Operation: 41-6=35
Exploring Operation: 43-41=2, Resulting Numbers: [6, 2]
Generated Node #0,0,2: 78:[6, 2] Operation: 43-41=2
Exploring Operation: 43-6=37, Resulting Numbers: [41, 37]
Generated Node #0,0,3: 78:[41, 37] Operation: 43-6=37
Moving to Node #0,2
Current State: 78:[77, 43, 42], Operations: ['83-41=42']
Exploring Operation: 43+42=85, Resulting Numbers: [77, 85]
Generated Node #0,2,0: 78:[77, 85] Operation: 43+42=85
Exploring Operation: 77-43=34, Resulting Numbers: [42, 34]
Generated Node #0,2,1: 78:[42, 34] Operation: 77-43=34
Exploring Operation: 43-42=1, Resulting Numbers: [77, 1]
Generated Node #0,2,2: 78:[77, 1] Operation: 43-42=1
Exploring Operation: 77-42=35, Resulting Numbers: [43, 35]
Generated Node #0,2,3: 78:[43, 35] Operation: 77-42=35
Moving to Node #0,1,3
Current State: 78:[2, 6], Operations: ['43-41=2', '83-77=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[6, 2], Operations: ['83-77=6', '43-41=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[77, 1], Operations: ['83-41=42', '43-42=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[83, 77, 43, 41], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [77, 43, 42]
Generated Node #0,2: 78:[77, 43, 42] Operation: 83-41=42
Moving to Node #0,2
Current State: 78:[77, 43, 42], Operations: ['83-41=42']
Exploring Operation: 43-42=1, Resulting Numbers: [77, 1]
Generated Node #0,2,2: 78:[77, 1] Operation: 43-42=1
Moving to Node #0,2,2
Current State: 78:[77, 1], Operations: ['83-41=42', '43-42=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.969618 |
hs_4
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.