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 |
---|---|---|---|---|---|---|---|---|
[
10,
92,
21,
20
] | 81 |
[
"92-10=82",
"21-20=1",
"82-1=81"
] |
Current State: 81:[10, 92, 21, 20], Operations: []
Exploring Operation: 92-10=82, Resulting Numbers: [21, 20, 82]
Generated Node #2: [21, 20, 82] from Operation: 92-10=82
Current State: 81:[21, 20, 82], Operations: ['92-10=82']
Exploring Operation: 21-20=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 21-20=1
Current State: 81:[82, 1], Operations: ['92-10=82', '21-20=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[10, 92, 21, 20], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [92, 21, 2]
Generated Node #0,0: 81:[92, 21, 2] Operation: 20/10=2
Exploring Operation: 92-20=72, Resulting Numbers: [10, 21, 72]
Generated Node #0,1: 81:[10, 21, 72] Operation: 92-20=72
Exploring Operation: 20-10=10, Resulting Numbers: [92, 21, 10]
Generated Node #0,2: 81:[92, 21, 10] Operation: 20-10=10
Exploring Operation: 21-20=1, Resulting Numbers: [10, 92, 1]
Generated Node #0,3: 81:[10, 92, 1] Operation: 21-20=1
Exploring Operation: 92-10=82, Resulting Numbers: [21, 20, 82]
Generated Node #0,4: 81:[21, 20, 82] Operation: 92-10=82
Moving to Node #0,3
Current State: 81:[10, 92, 1], Operations: ['21-20=1']
Exploring Operation: 10/1=10, Resulting Numbers: [92, 10]
Generated Node #0,3,0: 81:[92, 10] Operation: 10/1=10
Exploring Operation: 10*1=10, Resulting Numbers: [92, 10]
Generated Node #0,3,1: 81:[92, 10] Operation: 10*1=10
Exploring Operation: 92-1=91, Resulting Numbers: [10, 91]
Generated Node #0,3,2: 81:[10, 91] Operation: 92-1=91
Exploring Operation: 10-1=9, Resulting Numbers: [92, 9]
Generated Node #0,3,3: 81:[92, 9] Operation: 10-1=9
Exploring Operation: 92-10=82, Resulting Numbers: [1, 82]
Generated Node #0,3,4: 81:[1, 82] Operation: 92-10=82
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 81:[1, 82], Operations: ['21-20=1', '92-10=82']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 1+82=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[10, 92, 21, 20], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [10, 92, 1]
Generated Node #0,3: 81:[10, 92, 1] Operation: 21-20=1
Moving to Node #0,3
Current State: 81:[10, 92, 1], Operations: ['21-20=1']
Exploring Operation: 92-10=82, Resulting Numbers: [1, 82]
Generated Node #0,3,4: 81:[1, 82] Operation: 92-10=82
Moving to Node #0,3,4
Current State: 81:[1, 82], Operations: ['21-20=1', '92-10=82']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_5
|
mult_heuristic
|
[
45,
73,
5,
73
] | 41 |
[
"45-5=40",
"73/73=1",
"40+1=41"
] |
Current State: 41:[45, 73, 5, 73], Operations: []
Exploring Operation: 45-5=40, Resulting Numbers: [73, 73, 40]
Generated Node #2: [73, 73, 40] from Operation: 45-5=40
Current State: 41:[73, 73, 40], Operations: ['45-5=40']
Exploring Operation: 73/73=1, Resulting Numbers: [40, 1]
Generated Node #3: [40, 1] from Operation: 73/73=1
Current State: 41:[40, 1], Operations: ['45-5=40', '73/73=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 |
Current State: 41:[45, 73, 5, 73], Operations: []
Exploring Operation: 73-5=68, Resulting Numbers: [45, 73, 68]
Generated Node #0,0: 41:[45, 73, 68] Operation: 73-5=68
Exploring Operation: 73-5=68, Resulting Numbers: [45, 73, 68]
Generated Node #0,1: 41:[45, 73, 68] Operation: 73-5=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[45, 73, 68], Operations: ['73-5=68']
Exploring Operation: 73-68=5, Resulting Numbers: [45, 5]
Generated Node #0,0,0: 41:[45, 5] Operation: 73-68=5
Exploring Operation: 73-45=28, Resulting Numbers: [68, 28]
Generated Node #0,0,1: 41:[68, 28] Operation: 73-45=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[45, 5], Operations: ['73-5=68', '73-68=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[68, 28], Operations: ['73-5=68', '73-45=28']
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[45, 73, 68], Operations: ['73-5=68']
Exploring Operation: 73-45=28, Resulting Numbers: [68, 28]
Generated Node #0,1,0: 41:[68, 28] Operation: 73-45=28
Exploring Operation: 73-68=5, Resulting Numbers: [45, 5]
Generated Node #0,1,1: 41:[45, 5] Operation: 73-68=5
Moving to Node #0,1,0
Current State: 41:[68, 28], Operations: ['73-5=68', '73-45=28']
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[45, 5], Operations: ['73-5=68', '73-68=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,41 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
|
[
90,
16,
85,
20
] | 60 |
[
"90-85=5",
"16*5=80",
"80-20=60"
] |
Current State: 60:[90, 16, 85, 20], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [16, 20, 5]
Generated Node #2: [16, 20, 5] from Operation: 90-85=5
Current State: 60:[16, 20, 5], Operations: ['90-85=5']
Exploring Operation: 16*5=80, Resulting Numbers: [20, 80]
Generated Node #3: [20, 80] from Operation: 16*5=80
Current State: 60:[20, 80], Operations: ['90-85=5', '16*5=80']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[90, 16, 85, 20], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [16, 20, 5]
Generated Node #0,0: 60:[16, 20, 5] Operation: 90-85=5
Exploring Operation: 90-20=70, Resulting Numbers: [16, 85, 70]
Generated Node #0,1: 60:[16, 85, 70] Operation: 90-20=70
Exploring Operation: 90-16=74, Resulting Numbers: [85, 20, 74]
Generated Node #0,2: 60:[85, 20, 74] Operation: 90-16=74
Exploring Operation: 85-20=65, Resulting Numbers: [90, 16, 65]
Generated Node #0,3: 60:[90, 16, 65] Operation: 85-20=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[16, 20, 5], Operations: ['90-85=5']
Exploring Operation: 20-16=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 60:[5, 4] Operation: 20-16=4
Exploring Operation: 20-5=15, Resulting Numbers: [16, 15]
Generated Node #0,0,1: 60:[16, 15] Operation: 20-5=15
Exploring Operation: 16+5=21, Resulting Numbers: [20, 21]
Generated Node #0,0,2: 60:[20, 21] Operation: 16+5=21
Exploring Operation: 16-5=11, Resulting Numbers: [20, 11]
Generated Node #0,0,3: 60:[20, 11] Operation: 16-5=11
Moving to Node #0,0,0
Current State: 60:[5, 4], Operations: ['90-85=5', '20-16=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[20, 21], Operations: ['90-85=5', '16+5=21']
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,60 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[16, 15], Operations: ['90-85=5', '20-5=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,60 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[20, 11], Operations: ['90-85=5', '16-5=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,60 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[16, 85, 70], Operations: ['90-20=70']
Exploring Operation: 16+85=101, Resulting Numbers: [70, 101]
Generated Node #0,1,0: 60:[70, 101] Operation: 16+85=101
Exploring Operation: 85-70=15, Resulting Numbers: [16, 15]
Generated Node #0,1,1: 60:[16, 15] Operation: 85-70=15
Exploring Operation: 70-16=54, Resulting Numbers: [85, 54]
Generated Node #0,1,2: 60:[85, 54] Operation: 70-16=54
Exploring Operation: 85-16=69, Resulting Numbers: [70, 69]
Generated Node #0,1,3: 60:[70, 69] Operation: 85-16=69
Moving to Node #0,1,1
Current State: 60:[16, 15], Operations: ['90-20=70', '85-70=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,60 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[70, 69], Operations: ['90-20=70', '85-16=69']
Exploring Operation: 70-69=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 70*69=4830, Resulting Numbers: [4830]
4830,60 unequal: No Solution
Exploring Operation: 70+69=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[85, 54], Operations: ['90-20=70', '70-16=54']
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,60 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[70, 101], Operations: ['90-20=70', '16+85=101']
Exploring Operation: 70*101=7070, Resulting Numbers: [7070]
7070,60 unequal: No Solution
Exploring Operation: 101-70=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 70+101=171, Resulting Numbers: [171]
171,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[90, 16, 65], Operations: ['85-20=65']
Exploring Operation: 90-65=25, Resulting Numbers: [16, 25]
Generated Node #0,3,0: 60:[16, 25] Operation: 90-65=25
Exploring Operation: 90+16=106, Resulting Numbers: [65, 106]
Generated Node #0,3,1: 60:[65, 106] Operation: 90+16=106
Exploring Operation: 65-16=49, Resulting Numbers: [90, 49]
Generated Node #0,3,2: 60:[90, 49] Operation: 65-16=49
Exploring Operation: 90-16=74, Resulting Numbers: [65, 74]
Generated Node #0,3,3: 60:[65, 74] Operation: 90-16=74
Moving to Node #0,3,0
Current State: 60:[16, 25], Operations: ['85-20=65', '90-65=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[65, 74], Operations: ['85-20=65', '90-16=74']
Exploring Operation: 65*74=4810, Resulting Numbers: [4810]
4810,60 unequal: No Solution
Exploring Operation: 65+74=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 74-65=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[90, 49], Operations: ['85-20=65', '65-16=49']
Exploring Operation: 90+49=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 90*49=4410, Resulting Numbers: [4410]
4410,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[65, 106], Operations: ['85-20=65', '90+16=106']
Exploring Operation: 65+106=171, Resulting Numbers: [171]
171,60 unequal: No Solution
Exploring Operation: 106-65=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 65*106=6890, Resulting Numbers: [6890]
6890,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[85, 20, 74], Operations: ['90-16=74']
Exploring Operation: 85-74=11, Resulting Numbers: [20, 11]
Generated Node #0,2,0: 60:[20, 11] Operation: 85-74=11
Exploring Operation: 85+20=105, Resulting Numbers: [74, 105]
Generated Node #0,2,1: 60:[74, 105] Operation: 85+20=105
Exploring Operation: 74-20=54, Resulting Numbers: [85, 54]
Generated Node #0,2,2: 60:[85, 54] Operation: 74-20=54
Exploring Operation: 85-20=65, Resulting Numbers: [74, 65]
Generated Node #0,2,3: 60:[74, 65] Operation: 85-20=65
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[20, 11], Operations: ['90-16=74', '85-74=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,60 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[74, 65], Operations: ['90-16=74', '85-20=65']
Exploring Operation: 74*65=4810, Resulting Numbers: [4810]
4810,60 unequal: No Solution
Exploring Operation: 74+65=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 74-65=9, Resulting Numbers: [9]
9,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[85, 54], Operations: ['90-16=74', '74-20=54']
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[74, 105], Operations: ['90-16=74', '85+20=105']
Exploring Operation: 105-74=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 74+105=179, Resulting Numbers: [179]
179,60 unequal: No Solution
Exploring Operation: 74*105=7770, Resulting Numbers: [7770]
7770,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
38,
60,
2,
79
] | 35 |
[
"60-38=22",
"2*22=44",
"79-44=35"
] |
Current State: 35:[38, 60, 2, 79], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [2, 79, 22]
Generated Node #2: [2, 79, 22] from Operation: 60-38=22
Current State: 35:[2, 79, 22], Operations: ['60-38=22']
Exploring Operation: 2*22=44, Resulting Numbers: [79, 44]
Generated Node #3: [79, 44] from Operation: 2*22=44
Current State: 35:[79, 44], Operations: ['60-38=22', '2*22=44']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[38, 60, 2, 79], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [2, 79, 22]
Generated Node #0,0: 35:[2, 79, 22] Operation: 60-38=22
Exploring Operation: 79-60=19, Resulting Numbers: [38, 2, 19]
Generated Node #0,1: 35:[38, 2, 19] Operation: 79-60=19
Exploring Operation: 60/2=30, Resulting Numbers: [38, 79, 30]
Generated Node #0,2: 35:[38, 79, 30] Operation: 60/2=30
Exploring Operation: 79-38=41, Resulting Numbers: [60, 2, 41]
Generated Node #0,3: 35:[60, 2, 41] Operation: 79-38=41
Exploring Operation: 38-2=36, Resulting Numbers: [60, 79, 36]
Generated Node #0,4: 35:[60, 79, 36] Operation: 38-2=36
Moving to Node #0,1
Current State: 35:[38, 2, 19], Operations: ['79-60=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38, 38]
Generated Node #0,1,0: 35:[38, 38] Operation: 2*19=38
Exploring Operation: 38-2=36, Resulting Numbers: [19, 36]
Generated Node #0,1,1: 35:[19, 36] Operation: 38-2=36
Exploring Operation: 38-19=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 35:[2, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [2, 2]
Generated Node #0,1,3: 35:[2, 2] Operation: 38/19=2
Exploring Operation: 19-2=17, Resulting Numbers: [38, 17]
Generated Node #0,1,4: 35:[38, 17] Operation: 19-2=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[38, 38], Operations: ['79-60=19', '2*19=38']
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,35 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 35:[2, 2], Operations: ['79-60=19', '38/19=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[19, 36], Operations: ['79-60=19', '38-2=36']
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,35 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 35:[38, 17], Operations: ['79-60=19', '19-2=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[2, 19], Operations: ['79-60=19', '38-19=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,35 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: 35:[60, 2, 41], Operations: ['79-38=41']
Exploring Operation: 60-41=19, Resulting Numbers: [2, 19]
Generated Node #0,3,0: 35:[2, 19] Operation: 60-41=19
Exploring Operation: 60-2=58, Resulting Numbers: [41, 58]
Generated Node #0,3,1: 35:[41, 58] Operation: 60-2=58
Exploring Operation: 60+2=62, Resulting Numbers: [41, 62]
Generated Node #0,3,2: 35:[41, 62] Operation: 60+2=62
Exploring Operation: 60/2=30, Resulting Numbers: [41, 30]
Generated Node #0,3,3: 35:[41, 30] Operation: 60/2=30
Exploring Operation: 41-2=39, Resulting Numbers: [60, 39]
Generated Node #0,3,4: 35:[60, 39] Operation: 41-2=39
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[41, 30], Operations: ['79-38=41', '60/2=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[2, 19], Operations: ['79-38=41', '60-41=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[41, 58], Operations: ['79-38=41', '60-2=58']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[60, 39], Operations: ['79-38=41', '41-2=39']
Exploring Operation: 60+39=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 60*39=2340, Resulting Numbers: [2340]
2340,35 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[41, 62], Operations: ['79-38=41', '60+2=62']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,35 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 35:[38, 79, 30], Operations: ['60/2=30']
Exploring Operation: 79+30=109, Resulting Numbers: [38, 109]
Generated Node #0,2,0: 35:[38, 109] Operation: 79+30=109
Exploring Operation: 38+30=68, Resulting Numbers: [79, 68]
Generated Node #0,2,1: 35:[79, 68] Operation: 38+30=68
Exploring Operation: 38-30=8, Resulting Numbers: [79, 8]
Generated Node #0,2,2: 35:[79, 8] Operation: 38-30=8
Exploring Operation: 79-30=49, Resulting Numbers: [38, 49]
Generated Node #0,2,3: 35:[38, 49] Operation: 79-30=49
Exploring Operation: 79-38=41, Resulting Numbers: [30, 41]
Generated Node #0,2,4: 35:[30, 41] Operation: 79-38=41
Moving to Node #0,0
Current State: 35:[2, 79, 22], Operations: ['60-38=22']
Exploring Operation: 2+22=24, Resulting Numbers: [79, 24]
Generated Node #0,0,0: 35:[79, 24] Operation: 2+22=24
Exploring Operation: 2*22=44, Resulting Numbers: [79, 44]
Generated Node #0,0,1: 35:[79, 44] Operation: 2*22=44
Exploring Operation: 22/2=11, Resulting Numbers: [79, 11]
Generated Node #0,0,2: 35:[79, 11] Operation: 22/2=11
Exploring Operation: 79-22=57, Resulting Numbers: [2, 57]
Generated Node #0,0,3: 35:[2, 57] Operation: 79-22=57
Exploring Operation: 79-2=77, Resulting Numbers: [22, 77]
Generated Node #0,0,4: 35:[22, 77] Operation: 79-2=77
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[2, 57], Operations: ['60-38=22', '79-22=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[79, 11], Operations: ['60-38=22', '22/2=11']
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[79, 44], Operations: ['60-38=22', '2*22=44']
Exploring Operation: 79*44=3476, Resulting Numbers: [3476]
3476,35 unequal: No Solution
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,35 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[38, 60, 2, 79], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [2, 79, 22]
Generated Node #0,0: 35:[2, 79, 22] Operation: 60-38=22
Moving to Node #0,0
Current State: 35:[2, 79, 22], Operations: ['60-38=22']
Exploring Operation: 2*22=44, Resulting Numbers: [79, 44]
Generated Node #0,0,1: 35:[79, 44] Operation: 2*22=44
Moving to Node #0,0,1
Current State: 35:[79, 44], Operations: ['60-38=22', '2*22=44']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.939236 |
hs_5
|
mult_heuristic
|
[
25,
18,
20,
74
] | 62 |
[
"20-18=2",
"74/2=37",
"25+37=62"
] |
Current State: 62:[25, 18, 20, 74], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [25, 74, 2]
Generated Node #2: [25, 74, 2] from Operation: 20-18=2
Current State: 62:[25, 74, 2], Operations: ['20-18=2']
Exploring Operation: 74/2=37, Resulting Numbers: [25, 37]
Generated Node #3: [25, 37] from Operation: 74/2=37
Current State: 62:[25, 37], Operations: ['20-18=2', '74/2=37']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 |
Current State: 62:[25, 18, 20, 74], Operations: []
Exploring Operation: 25-18=7, Resulting Numbers: [20, 74, 7]
Generated Node #0,0: 62:[20, 74, 7] Operation: 25-18=7
Exploring Operation: 74-20=54, Resulting Numbers: [25, 18, 54]
Generated Node #0,1: 62:[25, 18, 54] Operation: 74-20=54
Exploring Operation: 20-18=2, Resulting Numbers: [25, 74, 2]
Generated Node #0,2: 62:[25, 74, 2] Operation: 20-18=2
Exploring Operation: 18+20=38, Resulting Numbers: [25, 74, 38]
Generated Node #0,3: 62:[25, 74, 38] Operation: 18+20=38
Exploring Operation: 74-18=56, Resulting Numbers: [25, 20, 56]
Generated Node #0,4: 62:[25, 20, 56] Operation: 74-18=56
Moving to Node #0,2
Current State: 62:[25, 74, 2], Operations: ['20-18=2']
Exploring Operation: 74/2=37, Resulting Numbers: [25, 37]
Generated Node #0,2,0: 62:[25, 37] Operation: 74/2=37
Exploring Operation: 25+2=27, Resulting Numbers: [74, 27]
Generated Node #0,2,1: 62:[74, 27] Operation: 25+2=27
Exploring Operation: 74-25=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 62:[2, 49] Operation: 74-25=49
Exploring Operation: 74-2=72, Resulting Numbers: [25, 72]
Generated Node #0,2,3: 62:[25, 72] Operation: 74-2=72
Exploring Operation: 25-2=23, Resulting Numbers: [74, 23]
Generated Node #0,2,4: 62:[74, 23] Operation: 25-2=23
Moving to Node #0,4
Current State: 62:[25, 20, 56], Operations: ['74-18=56']
Exploring Operation: 56-25=31, Resulting Numbers: [20, 31]
Generated Node #0,4,0: 62:[20, 31] Operation: 56-25=31
Exploring Operation: 25+20=45, Resulting Numbers: [56, 45]
Generated Node #0,4,1: 62:[56, 45] Operation: 25+20=45
Exploring Operation: 25-20=5, Resulting Numbers: [56, 5]
Generated Node #0,4,2: 62:[56, 5] Operation: 25-20=5
Exploring Operation: 20+56=76, Resulting Numbers: [25, 76]
Generated Node #0,4,3: 62:[25, 76] Operation: 20+56=76
Exploring Operation: 56-20=36, Resulting Numbers: [25, 36]
Generated Node #0,4,4: 62:[25, 36] Operation: 56-20=36
Moving to Node #0,3
Current State: 62:[25, 74, 38], Operations: ['18+20=38']
Exploring Operation: 74-25=49, Resulting Numbers: [38, 49]
Generated Node #0,3,0: 62:[38, 49] Operation: 74-25=49
Exploring Operation: 74-38=36, Resulting Numbers: [25, 36]
Generated Node #0,3,1: 62:[25, 36] Operation: 74-38=36
Exploring Operation: 25+74=99, Resulting Numbers: [38, 99]
Generated Node #0,3,2: 62:[38, 99] Operation: 25+74=99
Exploring Operation: 38-25=13, Resulting Numbers: [74, 13]
Generated Node #0,3,3: 62:[74, 13] Operation: 38-25=13
Exploring Operation: 25+38=63, Resulting Numbers: [74, 63]
Generated Node #0,3,4: 62:[74, 63] Operation: 25+38=63
Moving to Node #0,1
Current State: 62:[25, 18, 54], Operations: ['74-20=54']
Exploring Operation: 54/18=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 62:[25, 3] Operation: 54/18=3
Exploring Operation: 54-25=29, Resulting Numbers: [18, 29]
Generated Node #0,1,1: 62:[18, 29] Operation: 54-25=29
Exploring Operation: 25-18=7, Resulting Numbers: [54, 7]
Generated Node #0,1,2: 62:[54, 7] Operation: 25-18=7
Exploring Operation: 18+54=72, Resulting Numbers: [25, 72]
Generated Node #0,1,3: 62:[25, 72] Operation: 18+54=72
Exploring Operation: 54-18=36, Resulting Numbers: [25, 36]
Generated Node #0,1,4: 62:[25, 36] Operation: 54-18=36
Moving to Node #0,0
Current State: 62:[20, 74, 7], Operations: ['25-18=7']
Exploring Operation: 74-20=54, Resulting Numbers: [7, 54]
Generated Node #0,0,0: 62:[7, 54] Operation: 74-20=54
Exploring Operation: 74-7=67, Resulting Numbers: [20, 67]
Generated Node #0,0,1: 62:[20, 67] Operation: 74-7=67
Exploring Operation: 20+7=27, Resulting Numbers: [74, 27]
Generated Node #0,0,2: 62:[74, 27] Operation: 20+7=27
Exploring Operation: 20-7=13, Resulting Numbers: [74, 13]
Generated Node #0,0,3: 62:[74, 13] Operation: 20-7=13
Exploring Operation: 74+7=81, Resulting Numbers: [20, 81]
Generated Node #0,0,4: 62:[20, 81] Operation: 74+7=81
Moving to Node #0,1,0
Current State: 62:[25, 3], Operations: ['74-20=54', '54/18=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[56, 5], Operations: ['74-18=56', '25-20=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,62 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Moving to Node #0,4,0
Current State: 62:[20, 31], Operations: ['74-18=56', '56-25=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,62 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[25, 36], Operations: ['18+20=38', '74-38=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,62 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Moving to Node #0,4,4
Current State: 62:[25, 36], Operations: ['74-18=56', '56-20=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[25, 36], Operations: ['74-20=54', '54-18=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,62 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[25, 37], Operations: ['20-18=2', '74/2=37']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[25, 18, 20, 74], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [25, 74, 2]
Generated Node #0,2: 62:[25, 74, 2] Operation: 20-18=2
Moving to Node #0,2
Current State: 62:[25, 74, 2], Operations: ['20-18=2']
Exploring Operation: 74/2=37, Resulting Numbers: [25, 37]
Generated Node #0,2,0: 62:[25, 37] Operation: 74/2=37
Moving to Node #0,2,0
Current State: 62:[25, 37], Operations: ['20-18=2', '74/2=37']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.953993 |
hs_5
|
sum_heuristic
|
[
13,
15,
13,
45
] | 59 |
[
"13/13=1",
"15+45=60",
"60-1=59"
] |
Current State: 59:[13, 15, 13, 45], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [15, 45, 1]
Generated Node #2: [15, 45, 1] from Operation: 13/13=1
Current State: 59:[15, 45, 1], Operations: ['13/13=1']
Exploring Operation: 15+45=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 15+45=60
Current State: 59:[1, 60], Operations: ['13/13=1', '15+45=60']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[13, 15, 13, 45], Operations: []
Exploring Operation: 13+15=28, Resulting Numbers: [13, 45, 28]
Generated Node #0,0: 59:[13, 45, 28] Operation: 13+15=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[13, 45, 28], Operations: ['13+15=28']
Exploring Operation: 13+45=58, Resulting Numbers: [28, 58]
Generated Node #0,0,0: 59:[28, 58] Operation: 13+45=58
Moving to Node #0,0,0
Current State: 59:[28, 58], Operations: ['13+15=28', '13+45=58']
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
11,
37,
62,
52
] | 64 |
[
"37-11=26",
"52/26=2",
"62+2=64"
] |
Current State: 64:[11, 37, 62, 52], Operations: []
Exploring Operation: 37-11=26, Resulting Numbers: [62, 52, 26]
Generated Node #2: [62, 52, 26] from Operation: 37-11=26
Current State: 64:[62, 52, 26], Operations: ['37-11=26']
Exploring Operation: 52/26=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 52/26=2
Current State: 64:[62, 2], Operations: ['37-11=26', '52/26=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 |
Current State: 64:[11, 37, 62, 52], Operations: []
Exploring Operation: 62-52=10, Resulting Numbers: [11, 37, 10]
Generated Node #0,0: 64:[11, 37, 10] Operation: 62-52=10
Exploring Operation: 52-37=15, Resulting Numbers: [11, 62, 15]
Generated Node #0,1: 64:[11, 62, 15] Operation: 52-37=15
Exploring Operation: 52-11=41, Resulting Numbers: [37, 62, 41]
Generated Node #0,2: 64:[37, 62, 41] Operation: 52-11=41
Exploring Operation: 11+52=63, Resulting Numbers: [37, 62, 63]
Generated Node #0,3: 64:[37, 62, 63] Operation: 11+52=63
Exploring Operation: 37-11=26, Resulting Numbers: [62, 52, 26]
Generated Node #0,4: 64:[62, 52, 26] Operation: 37-11=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[11, 62, 15], Operations: ['52-37=15']
Exploring Operation: 11+62=73, Resulting Numbers: [15, 73]
Generated Node #0,1,0: 64:[15, 73] Operation: 11+62=73
Exploring Operation: 15-11=4, Resulting Numbers: [62, 4]
Generated Node #0,1,1: 64:[62, 4] Operation: 15-11=4
Exploring Operation: 11+15=26, Resulting Numbers: [62, 26]
Generated Node #0,1,2: 64:[62, 26] Operation: 11+15=26
Exploring Operation: 62-11=51, Resulting Numbers: [15, 51]
Generated Node #0,1,3: 64:[15, 51] Operation: 62-11=51
Exploring Operation: 62+15=77, Resulting Numbers: [11, 77]
Generated Node #0,1,4: 64:[11, 77] Operation: 62+15=77
Moving to Node #0,1,1
Current State: 64:[62, 4], Operations: ['52-37=15', '15-11=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,64 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[62, 26], Operations: ['52-37=15', '11+15=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[15, 73], Operations: ['52-37=15', '11+62=73']
Exploring Operation: 15*73=1095, Resulting Numbers: [1095]
1095,64 unequal: No Solution
Exploring Operation: 15+73=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[15, 51], Operations: ['52-37=15', '62-11=51']
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,64 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[11, 77], Operations: ['52-37=15', '62+15=77']
Exploring Operation: 11*77=847, Resulting Numbers: [847]
847,64 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,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:[37, 62, 63], Operations: ['11+52=63']
Exploring Operation: 37+62=99, Resulting Numbers: [63, 99]
Generated Node #0,3,0: 64:[63, 99] Operation: 37+62=99
Exploring Operation: 62-37=25, Resulting Numbers: [63, 25]
Generated Node #0,3,1: 64:[63, 25] Operation: 62-37=25
Exploring Operation: 37+63=100, Resulting Numbers: [62, 100]
Generated Node #0,3,2: 64:[62, 100] Operation: 37+63=100
Exploring Operation: 63-37=26, Resulting Numbers: [62, 26]
Generated Node #0,3,3: 64:[62, 26] Operation: 63-37=26
Exploring Operation: 63-62=1, Resulting Numbers: [37, 1]
Generated Node #0,3,4: 64:[37, 1] Operation: 63-62=1
Moving to Node #0,3,4
Current State: 64:[37, 1], Operations: ['11+52=63', '63-62=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[62, 26], Operations: ['11+52=63', '63-37=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[63, 25], Operations: ['11+52=63', '62-37=25']
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,64 unequal: No Solution
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[63, 99], Operations: ['11+52=63', '37+62=99']
Exploring Operation: 63*99=6237, Resulting Numbers: [6237]
6237,64 unequal: No Solution
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 63+99=162, Resulting Numbers: [162]
162,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[62, 100], Operations: ['11+52=63', '37+63=100']
Exploring Operation: 62+100=162, Resulting Numbers: [162]
162,64 unequal: No Solution
Exploring Operation: 62*100=6200, Resulting Numbers: [6200]
6200,64 unequal: No Solution
Exploring Operation: 100-62=38, Resulting Numbers: [38]
38,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[11, 37, 10], Operations: ['62-52=10']
Exploring Operation: 11-10=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 64:[37, 1] Operation: 11-10=1
Exploring Operation: 37-10=27, Resulting Numbers: [11, 27]
Generated Node #0,0,1: 64:[11, 27] Operation: 37-10=27
Exploring Operation: 11+10=21, Resulting Numbers: [37, 21]
Generated Node #0,0,2: 64:[37, 21] Operation: 11+10=21
Exploring Operation: 37-11=26, Resulting Numbers: [10, 26]
Generated Node #0,0,3: 64:[10, 26] Operation: 37-11=26
Exploring Operation: 11+37=48, Resulting Numbers: [10, 48]
Generated Node #0,0,4: 64:[10, 48] Operation: 11+37=48
Moving to Node #0,0,0
Current State: 64:[37, 1], Operations: ['62-52=10', '11-10=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[10, 26], Operations: ['62-52=10', '37-11=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,64 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[11, 27], Operations: ['62-52=10', '37-10=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,64 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[37, 21], Operations: ['62-52=10', '11+10=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[10, 48], Operations: ['62-52=10', '11+37=48']
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,64 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[37, 62, 41], Operations: ['52-11=41']
Exploring Operation: 37+62=99, Resulting Numbers: [41, 99]
Generated Node #0,2,0: 64:[41, 99] Operation: 37+62=99
Exploring Operation: 62-37=25, Resulting Numbers: [41, 25]
Generated Node #0,2,1: 64:[41, 25] Operation: 62-37=25
Exploring Operation: 37+41=78, Resulting Numbers: [62, 78]
Generated Node #0,2,2: 64:[62, 78] Operation: 37+41=78
Exploring Operation: 62-41=21, Resulting Numbers: [37, 21]
Generated Node #0,2,3: 64:[37, 21] Operation: 62-41=21
Exploring Operation: 41-37=4, Resulting Numbers: [62, 4]
Generated Node #0,2,4: 64:[62, 4] Operation: 41-37=4
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 64:[62, 4], Operations: ['52-11=41', '41-37=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,64 unequal: No Solution
No 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: 64:[37, 21], Operations: ['52-11=41', '62-41=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,64 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No 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: 64:[41, 25], Operations: ['52-11=41', '62-37=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,64 unequal: No Solution
No 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: 64:[62, 78], Operations: ['52-11=41', '37+41=78']
Exploring Operation: 62+78=140, Resulting Numbers: [140]
140,64 unequal: No Solution
Exploring Operation: 62*78=4836, Resulting Numbers: [4836]
4836,64 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No 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: 64:[41, 99], Operations: ['52-11=41', '37+62=99']
Exploring Operation: 41*99=4059, Resulting Numbers: [4059]
4059,64 unequal: No Solution
Exploring Operation: 41+99=140, Resulting Numbers: [140]
140,64 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,64 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: 64:[62, 52, 26], Operations: ['37-11=26']
Exploring Operation: 52+26=78, Resulting Numbers: [62, 78]
Generated Node #0,4,0: 64:[62, 78] Operation: 52+26=78
Exploring Operation: 62-26=36, Resulting Numbers: [52, 36]
Generated Node #0,4,1: 64:[52, 36] Operation: 62-26=36
Exploring Operation: 52/26=2, Resulting Numbers: [62, 2]
Generated Node #0,4,2: 64:[62, 2] Operation: 52/26=2
Exploring Operation: 62-52=10, Resulting Numbers: [26, 10]
Generated Node #0,4,3: 64:[26, 10] Operation: 62-52=10
Exploring Operation: 52-26=26, Resulting Numbers: [62, 26]
Generated Node #0,4,4: 64:[62, 26] Operation: 52-26=26
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 64:[62, 2], Operations: ['37-11=26', '52/26=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,64 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[11, 37, 62, 52], Operations: []
Exploring Operation: 37-11=26, Resulting Numbers: [62, 52, 26]
Generated Node #0,4: 64:[62, 52, 26] Operation: 37-11=26
Moving to Node #0,4
Current State: 64:[62, 52, 26], Operations: ['37-11=26']
Exploring Operation: 52/26=2, Resulting Numbers: [62, 2]
Generated Node #0,4,2: 64:[62, 2] Operation: 52/26=2
Moving to Node #0,4,2
Current State: 64:[62, 2], Operations: ['37-11=26', '52/26=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.912326 |
hs_5
|
mult_heuristic
|
[
67,
34,
34,
8
] | 60 |
[
"67-8=59",
"34/34=1",
"59+1=60"
] |
Current State: 60:[67, 34, 34, 8], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [34, 34, 59]
Generated Node #2: [34, 34, 59] from Operation: 67-8=59
Current State: 60:[34, 34, 59], Operations: ['67-8=59']
Exploring Operation: 34/34=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 34/34=1
Current State: 60:[59, 1], Operations: ['67-8=59', '34/34=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 |
Current State: 60:[67, 34, 34, 8], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [34, 34, 59]
Generated Node #0,0: 60:[34, 34, 59] Operation: 67-8=59
Exploring Operation: 67-34=33, Resulting Numbers: [34, 8, 33]
Generated Node #0,1: 60:[34, 8, 33] Operation: 67-34=33
Exploring Operation: 67-34=33, Resulting Numbers: [34, 8, 33]
Generated Node #0,2: 60:[34, 8, 33] Operation: 67-34=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[34, 34, 59], Operations: ['67-8=59']
Exploring Operation: 34-34=0, Resulting Numbers: [59, 0]
Generated Node #0,0,0: 60:[59, 0] Operation: 34-34=0
Exploring Operation: 34/34=1, Resulting Numbers: [59, 1]
Generated Node #0,0,1: 60:[59, 1] Operation: 34/34=1
Exploring Operation: 34+34=68, Resulting Numbers: [59, 68]
Generated Node #0,0,2: 60:[59, 68] Operation: 34+34=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[59, 1], Operations: ['67-8=59', '34/34=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[67, 34, 34, 8], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [34, 34, 59]
Generated Node #0,0: 60:[34, 34, 59] Operation: 67-8=59
Moving to Node #0,0
Current State: 60:[34, 34, 59], Operations: ['67-8=59']
Exploring Operation: 34/34=1, Resulting Numbers: [59, 1]
Generated Node #0,0,1: 60:[59, 1] Operation: 34/34=1
Moving to Node #0,0,1
Current State: 60:[59, 1], Operations: ['67-8=59', '34/34=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
sum_heuristic
|
[
8,
60,
8,
22
] | 10 |
[
"8+8=16",
"22-16=6",
"60/6=10"
] |
Current State: 10:[8, 60, 8, 22], Operations: []
Exploring Operation: 8+8=16, Resulting Numbers: [60, 22, 16]
Generated Node #2: [60, 22, 16] from Operation: 8+8=16
Current State: 10:[60, 22, 16], Operations: ['8+8=16']
Exploring Operation: 22-16=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 22-16=6
Current State: 10:[60, 6], Operations: ['8+8=16', '22-16=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[8, 60, 8, 22], Operations: []
Exploring Operation: 60-22=38, Resulting Numbers: [8, 8, 38]
Generated Node #0,0: 10:[8, 8, 38] Operation: 60-22=38
Exploring Operation: 60-8=52, Resulting Numbers: [8, 22, 52]
Generated Node #0,1: 10:[8, 22, 52] Operation: 60-8=52
Exploring Operation: 22-8=14, Resulting Numbers: [60, 8, 14]
Generated Node #0,2: 10:[60, 8, 14] Operation: 22-8=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[8, 8, 38], Operations: ['60-22=38']
Exploring Operation: 8/8=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 10:[38, 1] Operation: 8/8=1
Exploring Operation: 38-8=30, Resulting Numbers: [8, 30]
Generated Node #0,0,1: 10:[8, 30] Operation: 38-8=30
Exploring Operation: 38-8=30, Resulting Numbers: [8, 30]
Generated Node #0,0,2: 10:[8, 30] Operation: 38-8=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[8, 30], Operations: ['60-22=38', '38-8=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[8, 30], Operations: ['60-22=38', '38-8=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[38, 1], Operations: ['60-22=38', '8/8=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[8, 22, 52], Operations: ['60-8=52']
Exploring Operation: 22-8=14, Resulting Numbers: [52, 14]
Generated Node #0,1,0: 10:[52, 14] Operation: 22-8=14
Exploring Operation: 52-22=30, Resulting Numbers: [8, 30]
Generated Node #0,1,1: 10:[8, 30] Operation: 52-22=30
Exploring Operation: 52-8=44, Resulting Numbers: [22, 44]
Generated Node #0,1,2: 10:[22, 44] Operation: 52-8=44
Moving to Node #0,1,1
Current State: 10:[8, 30], Operations: ['60-8=52', '52-22=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[52, 14], Operations: ['60-8=52', '22-8=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[22, 44], Operations: ['60-8=52', '52-8=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[60, 8, 14], Operations: ['22-8=14']
Exploring Operation: 60-14=46, Resulting Numbers: [8, 46]
Generated Node #0,2,0: 10:[8, 46] Operation: 60-14=46
Exploring Operation: 60-8=52, Resulting Numbers: [14, 52]
Generated Node #0,2,1: 10:[14, 52] Operation: 60-8=52
Exploring Operation: 14-8=6, Resulting Numbers: [60, 6]
Generated Node #0,2,2: 10:[60, 6] Operation: 14-8=6
Moving to Node #0,2,0
Current State: 10:[8, 46], Operations: ['22-8=14', '60-14=46']
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,10 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[14, 52], Operations: ['22-8=14', '60-8=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[60, 6], Operations: ['22-8=14', '14-8=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[8, 60, 8, 22], Operations: []
Exploring Operation: 22-8=14, Resulting Numbers: [60, 8, 14]
Generated Node #0,2: 10:[60, 8, 14] Operation: 22-8=14
Moving to Node #0,2
Current State: 10:[60, 8, 14], Operations: ['22-8=14']
Exploring Operation: 14-8=6, Resulting Numbers: [60, 6]
Generated Node #0,2,2: 10:[60, 6] Operation: 14-8=6
Moving to Node #0,2,2
Current State: 10:[60, 6], Operations: ['22-8=14', '14-8=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 |
hs_3
|
mult_heuristic
|
[
76,
2,
80,
14
] | 92 |
[
"76+80=156",
"156/2=78",
"14+78=92"
] |
Current State: 92:[76, 2, 80, 14], Operations: []
Exploring Operation: 76+80=156, Resulting Numbers: [2, 14, 156]
Generated Node #2: [2, 14, 156] from Operation: 76+80=156
Current State: 92:[2, 14, 156], Operations: ['76+80=156']
Exploring Operation: 156/2=78, Resulting Numbers: [14, 78]
Generated Node #3: [14, 78] from Operation: 156/2=78
Current State: 92:[14, 78], Operations: ['76+80=156', '156/2=78']
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 |
Current State: 92:[76, 2, 80, 14], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [2, 14, 4]
Generated Node #0,0: 92:[2, 14, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[2, 14, 4], Operations: ['80-76=4']
Exploring Operation: 14/2=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 92:[4, 7] Operation: 14/2=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[4, 7], Operations: ['80-76=4', '14/2=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
30,
83,
72,
4
] | 71 |
[
"83-30=53",
"72/4=18",
"53+18=71"
] |
Current State: 71:[30, 83, 72, 4], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [72, 4, 53]
Generated Node #2: [72, 4, 53] from Operation: 83-30=53
Current State: 71:[72, 4, 53], Operations: ['83-30=53']
Exploring Operation: 72/4=18, Resulting Numbers: [53, 18]
Generated Node #3: [53, 18] from Operation: 72/4=18
Current State: 71:[53, 18], Operations: ['83-30=53', '72/4=18']
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[30, 83, 72, 4], Operations: []
Exploring Operation: 30+4=34, Resulting Numbers: [83, 72, 34]
Generated Node #0,0: 71:[83, 72, 34] Operation: 30+4=34
Exploring Operation: 83-4=79, Resulting Numbers: [30, 72, 79]
Generated Node #0,1: 71:[30, 72, 79] Operation: 83-4=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[83, 72, 34], Operations: ['30+4=34']
Exploring Operation: 72-34=38, Resulting Numbers: [83, 38]
Generated Node #0,0,0: 71:[83, 38] Operation: 72-34=38
Exploring Operation: 83-34=49, Resulting Numbers: [72, 49]
Generated Node #0,0,1: 71:[72, 49] Operation: 83-34=49
Moving to Node #0,0,1
Current State: 71:[72, 49], Operations: ['30+4=34', '83-34=49']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[83, 38], Operations: ['30+4=34', '72-34=38']
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 83+38=121, Resulting Numbers: [121]
121,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[30, 72, 79], Operations: ['83-4=79']
Exploring Operation: 72-30=42, Resulting Numbers: [79, 42]
Generated Node #0,1,0: 71:[79, 42] Operation: 72-30=42
Exploring Operation: 79-30=49, Resulting Numbers: [72, 49]
Generated Node #0,1,1: 71:[72, 49] Operation: 79-30=49
Moving to Node #0,1,1
Current State: 71:[72, 49], Operations: ['83-4=79', '79-30=49']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[79, 42], Operations: ['83-4=79', '72-30=42']
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
51,
52,
56,
36
] | 91 |
[
"52-51=1",
"56+36=92",
"92-1=91"
] |
Current State: 91:[51, 52, 56, 36], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [56, 36, 1]
Generated Node #2: [56, 36, 1] from Operation: 52-51=1
Current State: 91:[56, 36, 1], Operations: ['52-51=1']
Exploring Operation: 56+36=92, Resulting Numbers: [1, 92]
Generated Node #3: [1, 92] from Operation: 56+36=92
Current State: 91:[1, 92], Operations: ['52-51=1', '56+36=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[51, 52, 56, 36], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [56, 36, 1]
Generated Node #0,0: 91:[56, 36, 1] Operation: 52-51=1
Exploring Operation: 56-51=5, Resulting Numbers: [52, 36, 5]
Generated Node #0,1: 91:[52, 36, 5] Operation: 56-51=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[56, 36, 1], Operations: ['52-51=1']
Exploring Operation: 56-36=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 91:[1, 20] Operation: 56-36=20
Exploring Operation: 56+36=92, Resulting Numbers: [1, 92]
Generated Node #0,0,1: 91:[1, 92] Operation: 56+36=92
Moving to Node #0,0,1
Current State: 91:[1, 92], Operations: ['52-51=1', '56+36=92']
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[51, 52, 56, 36], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [56, 36, 1]
Generated Node #0,0: 91:[56, 36, 1] Operation: 52-51=1
Moving to Node #0,0
Current State: 91:[56, 36, 1], Operations: ['52-51=1']
Exploring Operation: 56+36=92, Resulting Numbers: [1, 92]
Generated Node #0,0,1: 91:[1, 92] Operation: 56+36=92
Moving to Node #0,0,1
Current State: 91:[1, 92], Operations: ['52-51=1', '56+36=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
1,
51,
3,
31
] | 59 |
[
"51-31=20",
"3*20=60",
"60-1=59"
] |
Current State: 59:[1, 51, 3, 31], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [1, 3, 20]
Generated Node #2: [1, 3, 20] from Operation: 51-31=20
Current State: 59:[1, 3, 20], Operations: ['51-31=20']
Exploring Operation: 3*20=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 3*20=60
Current State: 59:[1, 60], Operations: ['51-31=20', '3*20=60']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[1, 51, 3, 31], Operations: []
Exploring Operation: 1+3=4, Resulting Numbers: [51, 31, 4]
Generated Node #0,0: 59:[51, 31, 4] Operation: 1+3=4
Exploring Operation: 1+51=52, Resulting Numbers: [3, 31, 52]
Generated Node #0,1: 59:[3, 31, 52] Operation: 1+51=52
Exploring Operation: 1+31=32, Resulting Numbers: [51, 3, 32]
Generated Node #0,2: 59:[51, 3, 32] Operation: 1+31=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[51, 31, 4], Operations: ['1+3=4']
Exploring Operation: 51+4=55, Resulting Numbers: [31, 55]
Generated Node #0,0,0: 59:[31, 55] Operation: 51+4=55
Exploring Operation: 31+4=35, Resulting Numbers: [51, 35]
Generated Node #0,0,1: 59:[51, 35] Operation: 31+4=35
Exploring Operation: 51-4=47, Resulting Numbers: [31, 47]
Generated Node #0,0,2: 59:[31, 47] Operation: 51-4=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[31, 55], Operations: ['1+3=4', '51+4=55']
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,59 unequal: No Solution
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[51, 35], Operations: ['1+3=4', '31+4=35']
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,59 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[31, 47], Operations: ['1+3=4', '51-4=47']
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,59 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[3, 31, 52], Operations: ['1+51=52']
Exploring Operation: 3+31=34, Resulting Numbers: [52, 34]
Generated Node #0,1,0: 59:[52, 34] Operation: 3+31=34
Exploring Operation: 3+52=55, Resulting Numbers: [31, 55]
Generated Node #0,1,1: 59:[31, 55] Operation: 3+52=55
Exploring Operation: 31-3=28, Resulting Numbers: [52, 28]
Generated Node #0,1,2: 59:[52, 28] Operation: 31-3=28
Moving to Node #0,1,0
Current State: 59:[52, 34], Operations: ['1+51=52', '3+31=34']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[31, 55], Operations: ['1+51=52', '3+52=55']
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,59 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[52, 28], Operations: ['1+51=52', '31-3=28']
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,59 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[51, 3, 32], Operations: ['1+31=32']
Exploring Operation: 51+3=54, Resulting Numbers: [32, 54]
Generated Node #0,2,0: 59:[32, 54] Operation: 51+3=54
Exploring Operation: 3+32=35, Resulting Numbers: [51, 35]
Generated Node #0,2,1: 59:[51, 35] Operation: 3+32=35
Exploring Operation: 51-3=48, Resulting Numbers: [32, 48]
Generated Node #0,2,2: 59:[32, 48] Operation: 51-3=48
Moving to Node #0,2,0
Current State: 59:[32, 54], Operations: ['1+31=32', '51+3=54']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,59 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[51, 35], Operations: ['1+31=32', '3+32=35']
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,59 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[32, 48], Operations: ['1+31=32', '51-3=48']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,59 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
|
[
59,
38,
52,
60
] | 13 |
[
"59-38=21",
"60-52=8",
"21-8=13"
] |
Current State: 13:[59, 38, 52, 60], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [52, 60, 21]
Generated Node #2: [52, 60, 21] from Operation: 59-38=21
Current State: 13:[52, 60, 21], Operations: ['59-38=21']
Exploring Operation: 60-52=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 60-52=8
Current State: 13:[21, 8], Operations: ['59-38=21', '60-52=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[59, 38, 52, 60], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [59, 38, 8]
Generated Node #0,0: 13:[59, 38, 8] Operation: 60-52=8
Exploring Operation: 59-52=7, Resulting Numbers: [38, 60, 7]
Generated Node #0,1: 13:[38, 60, 7] Operation: 59-52=7
Exploring Operation: 60-59=1, Resulting Numbers: [38, 52, 1]
Generated Node #0,2: 13:[38, 52, 1] Operation: 60-59=1
Moving to Node #0,0
Current State: 13:[59, 38, 8], Operations: ['60-52=8']
Exploring Operation: 38-8=30, Resulting Numbers: [59, 30]
Generated Node #0,0,0: 13:[59, 30] Operation: 38-8=30
Exploring Operation: 59-38=21, Resulting Numbers: [8, 21]
Generated Node #0,0,1: 13:[8, 21] Operation: 59-38=21
Exploring Operation: 59-8=51, Resulting Numbers: [38, 51]
Generated Node #0,0,2: 13:[38, 51] Operation: 59-8=51
Moving to Node #0,2
Current State: 13:[38, 52, 1], Operations: ['60-59=1']
Exploring Operation: 52-38=14, Resulting Numbers: [1, 14]
Generated Node #0,2,0: 13:[1, 14] Operation: 52-38=14
Exploring Operation: 38-1=37, Resulting Numbers: [52, 37]
Generated Node #0,2,1: 13:[52, 37] Operation: 38-1=37
Exploring Operation: 52-1=51, Resulting Numbers: [38, 51]
Generated Node #0,2,2: 13:[38, 51] Operation: 52-1=51
Moving to Node #0,1
Current State: 13:[38, 60, 7], Operations: ['59-52=7']
Exploring Operation: 60-7=53, Resulting Numbers: [38, 53]
Generated Node #0,1,0: 13:[38, 53] Operation: 60-7=53
Exploring Operation: 60-38=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 13:[7, 22] Operation: 60-38=22
Exploring Operation: 38-7=31, Resulting Numbers: [60, 31]
Generated Node #0,1,2: 13:[60, 31] Operation: 38-7=31
Moving to Node #0,0,1
Current State: 13:[8, 21], Operations: ['60-52=8', '59-38=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[59, 38, 52, 60], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [59, 38, 8]
Generated Node #0,0: 13:[59, 38, 8] Operation: 60-52=8
Moving to Node #0,0
Current State: 13:[59, 38, 8], Operations: ['60-52=8']
Exploring Operation: 59-38=21, Resulting Numbers: [8, 21]
Generated Node #0,0,1: 13:[8, 21] Operation: 59-38=21
Moving to Node #0,0,1
Current State: 13:[8, 21], Operations: ['60-52=8', '59-38=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.985243 |
hs_3
|
mult_heuristic
|
[
73,
2,
8,
27
] | 30 |
[
"73-27=46",
"2*8=16",
"46-16=30"
] |
Current State: 30:[73, 2, 8, 27], Operations: []
Exploring Operation: 73-27=46, Resulting Numbers: [2, 8, 46]
Generated Node #2: [2, 8, 46] from Operation: 73-27=46
Current State: 30:[2, 8, 46], Operations: ['73-27=46']
Exploring Operation: 2*8=16, Resulting Numbers: [46, 16]
Generated Node #3: [46, 16] from Operation: 2*8=16
Current State: 30:[46, 16], Operations: ['73-27=46', '2*8=16']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[73, 2, 8, 27], Operations: []
Exploring Operation: 73-27=46, Resulting Numbers: [2, 8, 46]
Generated Node #0,0: 30:[2, 8, 46] Operation: 73-27=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[2, 8, 46], Operations: ['73-27=46']
Exploring Operation: 46-8=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 30:[2, 38] Operation: 46-8=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[2, 38], Operations: ['73-27=46', '46-8=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
51,
61,
97,
99
] | 71 |
[
"99-97=2",
"61*2=122",
"122-51=71"
] |
Current State: 71:[51, 61, 97, 99], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [51, 61, 2]
Generated Node #2: [51, 61, 2] from Operation: 99-97=2
Current State: 71:[51, 61, 2], Operations: ['99-97=2']
Exploring Operation: 61*2=122, Resulting Numbers: [51, 122]
Generated Node #3: [51, 122] from Operation: 61*2=122
Current State: 71:[51, 122], Operations: ['99-97=2', '61*2=122']
Exploring Operation: 122-51=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[51, 61, 97, 99], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [61, 97, 48]
Generated Node #0,0: 71:[61, 97, 48] Operation: 99-51=48
Moving to Node #0,0
Current State: 71:[61, 97, 48], Operations: ['99-51=48']
Exploring Operation: 97-48=49, Resulting Numbers: [61, 49]
Generated Node #0,0,0: 71:[61, 49] Operation: 97-48=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[61, 49], Operations: ['99-51=48', '97-48=49']
Exploring Operation: 61+49=110, Resulting Numbers: [110]
110,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
61,
34,
92,
44
] | 65 |
[
"92+44=136",
"136/34=4",
"61+4=65"
] |
Current State: 65:[61, 34, 92, 44], Operations: []
Exploring Operation: 92+44=136, Resulting Numbers: [61, 34, 136]
Generated Node #2: [61, 34, 136] from Operation: 92+44=136
Current State: 65:[61, 34, 136], Operations: ['92+44=136']
Exploring Operation: 136/34=4, Resulting Numbers: [61, 4]
Generated Node #3: [61, 4] from Operation: 136/34=4
Current State: 65:[61, 4], Operations: ['92+44=136', '136/34=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[61, 34, 92, 44], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [61, 92, 10]
Generated Node #0,0: 65:[61, 92, 10] Operation: 44-34=10
Exploring Operation: 92-44=48, Resulting Numbers: [61, 34, 48]
Generated Node #0,1: 65:[61, 34, 48] Operation: 92-44=48
Exploring Operation: 92-34=58, Resulting Numbers: [61, 44, 58]
Generated Node #0,2: 65:[61, 44, 58] Operation: 92-34=58
Exploring Operation: 34+44=78, Resulting Numbers: [61, 92, 78]
Generated Node #0,3: 65:[61, 92, 78] Operation: 34+44=78
Exploring Operation: 61-44=17, Resulting Numbers: [34, 92, 17]
Generated Node #0,4: 65:[34, 92, 17] Operation: 61-44=17
Moving to Node #0,2
Current State: 65:[61, 44, 58], Operations: ['92-34=58']
Exploring Operation: 61-44=17, Resulting Numbers: [58, 17]
Generated Node #0,2,0: 65:[58, 17] Operation: 61-44=17
Exploring Operation: 58-44=14, Resulting Numbers: [61, 14]
Generated Node #0,2,1: 65:[61, 14] Operation: 58-44=14
Exploring Operation: 61-58=3, Resulting Numbers: [44, 3]
Generated Node #0,2,2: 65:[44, 3] Operation: 61-58=3
Exploring Operation: 44+58=102, Resulting Numbers: [61, 102]
Generated Node #0,2,3: 65:[61, 102] Operation: 44+58=102
Exploring Operation: 61+44=105, Resulting Numbers: [58, 105]
Generated Node #0,2,4: 65:[58, 105] Operation: 61+44=105
Moving to Node #0,0
Current State: 65:[61, 92, 10], Operations: ['44-34=10']
Exploring Operation: 61+10=71, Resulting Numbers: [92, 71]
Generated Node #0,0,0: 65:[92, 71] Operation: 61+10=71
Exploring Operation: 92-61=31, Resulting Numbers: [10, 31]
Generated Node #0,0,1: 65:[10, 31] Operation: 92-61=31
Exploring Operation: 92-10=82, Resulting Numbers: [61, 82]
Generated Node #0,0,2: 65:[61, 82] Operation: 92-10=82
Exploring Operation: 92+10=102, Resulting Numbers: [61, 102]
Generated Node #0,0,3: 65:[61, 102] Operation: 92+10=102
Exploring Operation: 61-10=51, Resulting Numbers: [92, 51]
Generated Node #0,0,4: 65:[92, 51] Operation: 61-10=51
Moving to Node #0,1
Current State: 65:[61, 34, 48], Operations: ['92-44=48']
Exploring Operation: 48-34=14, Resulting Numbers: [61, 14]
Generated Node #0,1,0: 65:[61, 14] Operation: 48-34=14
Exploring Operation: 34+48=82, Resulting Numbers: [61, 82]
Generated Node #0,1,1: 65:[61, 82] Operation: 34+48=82
Exploring Operation: 61-48=13, Resulting Numbers: [34, 13]
Generated Node #0,1,2: 65:[34, 13] Operation: 61-48=13
Exploring Operation: 61+34=95, Resulting Numbers: [48, 95]
Generated Node #0,1,3: 65:[48, 95] Operation: 61+34=95
Exploring Operation: 61-34=27, Resulting Numbers: [48, 27]
Generated Node #0,1,4: 65:[48, 27] Operation: 61-34=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[61, 14], Operations: ['92-44=48', '48-34=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,65 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[61, 82], Operations: ['92-44=48', '34+48=82']
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 61+82=143, Resulting Numbers: [143]
143,65 unequal: No Solution
Exploring Operation: 61*82=5002, Resulting Numbers: [5002]
5002,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[34, 13], Operations: ['92-44=48', '61-48=13']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 65:[48, 27], Operations: ['92-44=48', '61-34=27']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[48, 95], Operations: ['92-44=48', '61+34=95']
Exploring Operation: 48+95=143, Resulting Numbers: [143]
143,65 unequal: No Solution
Exploring Operation: 48*95=4560, Resulting Numbers: [4560]
4560,65 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,65 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: 65:[61, 92, 78], Operations: ['34+44=78']
Exploring Operation: 61+92=153, Resulting Numbers: [78, 153]
Generated Node #0,3,0: 65:[78, 153] Operation: 61+92=153
Exploring Operation: 78-61=17, Resulting Numbers: [92, 17]
Generated Node #0,3,1: 65:[92, 17] Operation: 78-61=17
Exploring Operation: 92-78=14, Resulting Numbers: [61, 14]
Generated Node #0,3,2: 65:[61, 14] Operation: 92-78=14
Exploring Operation: 92-61=31, Resulting Numbers: [78, 31]
Generated Node #0,3,3: 65:[78, 31] Operation: 92-61=31
Exploring Operation: 61+78=139, Resulting Numbers: [92, 139]
Generated Node #0,3,4: 65:[92, 139] Operation: 61+78=139
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[61, 14], Operations: ['34+44=78', '92-78=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,65 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[92, 17], Operations: ['34+44=78', '78-61=17']
Exploring Operation: 92+17=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 92*17=1564, Resulting Numbers: [1564]
1564,65 unequal: No Solution
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[78, 31], Operations: ['34+44=78', '92-61=31']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,65 unequal: No Solution
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[78, 153], Operations: ['34+44=78', '61+92=153']
Exploring Operation: 153-78=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 78+153=231, Resulting Numbers: [231]
231,65 unequal: No Solution
Exploring Operation: 78*153=11934, Resulting Numbers: [11934]
11934,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[92, 139], Operations: ['34+44=78', '61+78=139']
Exploring Operation: 139-92=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 92+139=231, Resulting Numbers: [231]
231,65 unequal: No Solution
Exploring Operation: 92*139=12788, Resulting Numbers: [12788]
12788,65 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: 65:[34, 92, 17], Operations: ['61-44=17']
Exploring Operation: 34-17=17, Resulting Numbers: [92, 17]
Generated Node #0,4,0: 65:[92, 17] Operation: 34-17=17
Exploring Operation: 34/17=2, Resulting Numbers: [92, 2]
Generated Node #0,4,1: 65:[92, 2] Operation: 34/17=2
Exploring Operation: 34+17=51, Resulting Numbers: [92, 51]
Generated Node #0,4,2: 65:[92, 51] Operation: 34+17=51
Exploring Operation: 92-34=58, Resulting Numbers: [17, 58]
Generated Node #0,4,3: 65:[17, 58] Operation: 92-34=58
Exploring Operation: 92-17=75, Resulting Numbers: [34, 75]
Generated Node #0,4,4: 65:[34, 75] Operation: 92-17=75
Moving to Node #0,2,1
Current State: 65:[61, 14], Operations: ['92-34=58', '58-44=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,65 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[58, 17], Operations: ['92-34=58', '61-44=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,65 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[17, 58], Operations: ['61-44=17', '92-34=58']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,65 unequal: No Solution
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[10, 31], Operations: ['44-34=10', '92-61=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[61, 82], Operations: ['44-34=10', '92-10=82']
Exploring Operation: 61+82=143, Resulting Numbers: [143]
143,65 unequal: No Solution
Exploring Operation: 61*82=5002, Resulting Numbers: [5002]
5002,65 unequal: No Solution
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[44, 3], Operations: ['92-34=58', '61-58=3']
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,65 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[92, 2], Operations: ['61-44=17', '34/17=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[92, 17], Operations: ['61-44=17', '34-17=17']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 92*17=1564, Resulting Numbers: [1564]
1564,65 unequal: No Solution
Exploring Operation: 92+17=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[34, 75], Operations: ['61-44=17', '92-17=75']
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,65 unequal: No Solution
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,65 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[92, 71], Operations: ['44-34=10', '61+10=71']
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,65 unequal: No Solution
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[92, 51], Operations: ['61-44=17', '34+17=51']
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,65 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,65 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[61, 102], Operations: ['44-34=10', '92+10=102']
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 61*102=6222, Resulting Numbers: [6222]
6222,65 unequal: No Solution
Exploring Operation: 61+102=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[92, 51], Operations: ['44-34=10', '61-10=51']
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,65 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[61, 102], Operations: ['92-34=58', '44+58=102']
Exploring Operation: 61+102=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 61*102=6222, Resulting Numbers: [6222]
6222,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[58, 105], Operations: ['92-34=58', '61+44=105']
Exploring Operation: 58+105=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 58*105=6090, Resulting Numbers: [6090]
6090,65 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
4,
34,
16,
99
] | 53 |
[
"4*34=136",
"99-16=83",
"136-83=53"
] |
Current State: 53:[4, 34, 16, 99], Operations: []
Exploring Operation: 4*34=136, Resulting Numbers: [16, 99, 136]
Generated Node #2: [16, 99, 136] from Operation: 4*34=136
Current State: 53:[16, 99, 136], Operations: ['4*34=136']
Exploring Operation: 99-16=83, Resulting Numbers: [136, 83]
Generated Node #3: [136, 83] from Operation: 99-16=83
Current State: 53:[136, 83], Operations: ['4*34=136', '99-16=83']
Exploring Operation: 136-83=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[4, 34, 16, 99], Operations: []
Exploring Operation: 34+16=50, Resulting Numbers: [4, 99, 50]
Generated Node #0,0: 53:[4, 99, 50] Operation: 34+16=50
Exploring Operation: 99-4=95, Resulting Numbers: [34, 16, 95]
Generated Node #0,1: 53:[34, 16, 95] Operation: 99-4=95
Exploring Operation: 4*16=64, Resulting Numbers: [34, 99, 64]
Generated Node #0,2: 53:[34, 99, 64] Operation: 4*16=64
Exploring Operation: 4+16=20, Resulting Numbers: [34, 99, 20]
Generated Node #0,3: 53:[34, 99, 20] Operation: 4+16=20
Exploring Operation: 4+34=38, Resulting Numbers: [16, 99, 38]
Generated Node #0,4: 53:[16, 99, 38] Operation: 4+34=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[34, 99, 64], Operations: ['4*16=64']
Exploring Operation: 99-64=35, Resulting Numbers: [34, 35]
Generated Node #0,2,0: 53:[34, 35] Operation: 99-64=35
Exploring Operation: 34+64=98, Resulting Numbers: [99, 98]
Generated Node #0,2,1: 53:[99, 98] Operation: 34+64=98
Exploring Operation: 34+99=133, Resulting Numbers: [64, 133]
Generated Node #0,2,2: 53:[64, 133] Operation: 34+99=133
Exploring Operation: 99-34=65, Resulting Numbers: [64, 65]
Generated Node #0,2,3: 53:[64, 65] Operation: 99-34=65
Exploring Operation: 64-34=30, Resulting Numbers: [99, 30]
Generated Node #0,2,4: 53:[99, 30] Operation: 64-34=30
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 53:[64, 65], Operations: ['4*16=64', '99-34=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,53 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[34, 35], Operations: ['4*16=64', '99-64=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,53 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 53:[99, 30], Operations: ['4*16=64', '64-34=30']
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,53 unequal: No Solution
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[99, 98], Operations: ['4*16=64', '34+64=98']
Exploring Operation: 99*98=9702, Resulting Numbers: [9702]
9702,53 unequal: No Solution
Exploring Operation: 99+98=197, Resulting Numbers: [197]
197,53 unequal: No Solution
Exploring Operation: 99-98=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[64, 133], Operations: ['4*16=64', '34+99=133']
Exploring Operation: 64*133=8512, Resulting Numbers: [8512]
8512,53 unequal: No Solution
Exploring Operation: 64+133=197, Resulting Numbers: [197]
197,53 unequal: No Solution
Exploring Operation: 133-64=69, Resulting Numbers: [69]
69,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[4, 99, 50], Operations: ['34+16=50']
Exploring Operation: 99-50=49, Resulting Numbers: [4, 49]
Generated Node #0,0,0: 53:[4, 49] Operation: 99-50=49
Exploring Operation: 99-4=95, Resulting Numbers: [50, 95]
Generated Node #0,0,1: 53:[50, 95] Operation: 99-4=95
Exploring Operation: 4+99=103, Resulting Numbers: [50, 103]
Generated Node #0,0,2: 53:[50, 103] Operation: 4+99=103
Exploring Operation: 50-4=46, Resulting Numbers: [99, 46]
Generated Node #0,0,3: 53:[99, 46] Operation: 50-4=46
Exploring Operation: 4+50=54, Resulting Numbers: [99, 54]
Generated Node #0,0,4: 53:[99, 54] Operation: 4+50=54
Moving to Node #0,0,1
Current State: 53:[50, 95], Operations: ['34+16=50', '99-4=95']
Exploring Operation: 50+95=145, Resulting Numbers: [145]
145,53 unequal: No Solution
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,53 unequal: No Solution
Exploring Operation: 50*95=4750, Resulting Numbers: [4750]
4750,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[99, 54], Operations: ['34+16=50', '4+50=54']
Exploring Operation: 99+54=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Exploring Operation: 99-54=45, Resulting Numbers: [45]
45,53 unequal: No Solution
Exploring Operation: 99*54=5346, Resulting Numbers: [5346]
5346,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[4, 49], Operations: ['34+16=50', '99-50=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[4, 34, 16, 99], Operations: []
Exploring Operation: 34+16=50, Resulting Numbers: [4, 99, 50]
Generated Node #0,0: 53:[4, 99, 50] Operation: 34+16=50
Moving to Node #0,0
Current State: 53:[4, 99, 50], Operations: ['34+16=50']
Exploring Operation: 99-50=49, Resulting Numbers: [4, 49]
Generated Node #0,0,0: 53:[4, 49] Operation: 99-50=49
Moving to Node #0,0,0
Current State: 53:[4, 49], Operations: ['34+16=50', '99-50=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 |
hs_5
|
sum_heuristic
|
[
46,
40,
64,
2
] | 95 |
[
"46+64=110",
"110/2=55",
"40+55=95"
] |
Current State: 95:[46, 40, 64, 2], Operations: []
Exploring Operation: 46+64=110, Resulting Numbers: [40, 2, 110]
Generated Node #2: [40, 2, 110] from Operation: 46+64=110
Current State: 95:[40, 2, 110], Operations: ['46+64=110']
Exploring Operation: 110/2=55, Resulting Numbers: [40, 55]
Generated Node #3: [40, 55] from Operation: 110/2=55
Current State: 95:[40, 55], Operations: ['46+64=110', '110/2=55']
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[46, 40, 64, 2], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [40, 2, 18]
Generated Node #0,0: 95:[40, 2, 18] Operation: 64-46=18
Exploring Operation: 46-40=6, Resulting Numbers: [64, 2, 6]
Generated Node #0,1: 95:[64, 2, 6] Operation: 46-40=6
Moving to Node #0,0
Current State: 95:[40, 2, 18], Operations: ['64-46=18']
Exploring Operation: 40-18=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 95:[2, 22] Operation: 40-18=22
Exploring Operation: 40/2=20, Resulting Numbers: [18, 20]
Generated Node #0,0,1: 95:[18, 20] Operation: 40/2=20
Moving to Node #0,1
Current State: 95:[64, 2, 6], Operations: ['46-40=6']
Exploring Operation: 64/2=32, Resulting Numbers: [6, 32]
Generated Node #0,1,0: 95:[6, 32] Operation: 64/2=32
Exploring Operation: 64+6=70, Resulting Numbers: [2, 70]
Generated Node #0,1,1: 95:[2, 70] Operation: 64+6=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[6, 32], Operations: ['46-40=6', '64/2=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,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,1
Current State: 95:[2, 70], Operations: ['46-40=6', '64+6=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 95:[18, 20], Operations: ['64-46=18', '40/2=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[2, 22], Operations: ['64-46=18', '40-18=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
53,
39,
5,
19
] | 78 |
[
"53+39=92",
"19-5=14",
"92-14=78"
] |
Current State: 78:[53, 39, 5, 19], Operations: []
Exploring Operation: 53+39=92, Resulting Numbers: [5, 19, 92]
Generated Node #2: [5, 19, 92] from Operation: 53+39=92
Current State: 78:[5, 19, 92], Operations: ['53+39=92']
Exploring Operation: 19-5=14, Resulting Numbers: [92, 14]
Generated Node #3: [92, 14] from Operation: 19-5=14
Current State: 78:[92, 14], Operations: ['53+39=92', '19-5=14']
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[53, 39, 5, 19], Operations: []
Exploring Operation: 53+19=72, Resulting Numbers: [39, 5, 72]
Generated Node #0,0: 78:[39, 5, 72] Operation: 53+19=72
Exploring Operation: 53-39=14, Resulting Numbers: [5, 19, 14]
Generated Node #0,1: 78:[5, 19, 14] Operation: 53-39=14
Exploring Operation: 19-5=14, Resulting Numbers: [53, 39, 14]
Generated Node #0,2: 78:[53, 39, 14] Operation: 19-5=14
Exploring Operation: 53-19=34, Resulting Numbers: [39, 5, 34]
Generated Node #0,3: 78:[39, 5, 34] Operation: 53-19=34
Exploring Operation: 53-5=48, Resulting Numbers: [39, 19, 48]
Generated Node #0,4: 78:[39, 19, 48] Operation: 53-5=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[39, 5, 34], Operations: ['53-19=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39, 39]
Generated Node #0,3,0: 78:[39, 39] Operation: 5+34=39
Exploring Operation: 39+34=73, Resulting Numbers: [5, 73]
Generated Node #0,3,1: 78:[5, 73] Operation: 39+34=73
Exploring Operation: 39+5=44, Resulting Numbers: [34, 44]
Generated Node #0,3,2: 78:[34, 44] Operation: 39+5=44
Exploring Operation: 34-5=29, Resulting Numbers: [39, 29]
Generated Node #0,3,3: 78:[39, 29] Operation: 34-5=29
Exploring Operation: 39-34=5, Resulting Numbers: [5, 5]
Generated Node #0,3,4: 78:[5, 5] Operation: 39-34=5
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 78:[39, 39], Operations: ['53-19=34', '5+34=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[53, 39, 5, 19], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [39, 5, 34]
Generated Node #0,3: 78:[39, 5, 34] Operation: 53-19=34
Moving to Node #0,3
Current State: 78:[39, 5, 34], Operations: ['53-19=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39, 39]
Generated Node #0,3,0: 78:[39, 39] Operation: 5+34=39
Moving to Node #0,3,0
Current State: 78:[39, 39], Operations: ['53-19=34', '5+34=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
7,
80,
64,
72
] | 79 |
[
"7+80=87",
"72-64=8",
"87-8=79"
] |
Current State: 79:[7, 80, 64, 72], Operations: []
Exploring Operation: 7+80=87, Resulting Numbers: [64, 72, 87]
Generated Node #2: [64, 72, 87] from Operation: 7+80=87
Current State: 79:[64, 72, 87], Operations: ['7+80=87']
Exploring Operation: 72-64=8, Resulting Numbers: [87, 8]
Generated Node #3: [87, 8] from Operation: 72-64=8
Current State: 79:[87, 8], Operations: ['7+80=87', '72-64=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[7, 80, 64, 72], Operations: []
Exploring Operation: 7+64=71, Resulting Numbers: [80, 72, 71]
Generated Node #0,0: 79:[80, 72, 71] Operation: 7+64=71
Moving to Node #0,0
Current State: 79:[80, 72, 71], Operations: ['7+64=71']
Exploring Operation: 72+71=143, Resulting Numbers: [80, 143]
Generated Node #0,0,0: 79:[80, 143] Operation: 72+71=143
Moving to Node #0,0,0
Current State: 79:[80, 143], Operations: ['7+64=71', '72+71=143']
Exploring Operation: 143-80=63, Resulting Numbers: [63]
63,79 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
49,
48,
89,
48
] | 42 |
[
"49-48=1",
"89-48=41",
"1+41=42"
] |
Current State: 42:[49, 48, 89, 48], Operations: []
Exploring Operation: 49-48=1, Resulting Numbers: [89, 1]
Generated Node #2: [89, 1] from Operation: 49-48=1
Current State: 42:[89, 1], Operations: ['49-48=1']
Exploring Operation: 89-48=41, Resulting Numbers: [1, 41]
Generated Node #3: [1, 41] from Operation: 89-48=41
Current State: 42:[1, 41], Operations: ['49-48=1', '89-48=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[49, 48, 89, 48], Operations: []
Exploring Operation: 89-48=41, Resulting Numbers: [49, 48, 41]
Generated Node #0,0: 42:[49, 48, 41] Operation: 89-48=41
Exploring Operation: 89-49=40, Resulting Numbers: [48, 48, 40]
Generated Node #0,1: 42:[48, 48, 40] Operation: 89-49=40
Moving to Node #0,0
Current State: 42:[49, 48, 41], Operations: ['89-48=41']
Exploring Operation: 49-41=8, Resulting Numbers: [48, 8]
Generated Node #0,0,0: 42:[48, 8] Operation: 49-41=8
Exploring Operation: 49-48=1, Resulting Numbers: [41, 1]
Generated Node #0,0,1: 42:[41, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[41, 1], Operations: ['89-48=41', '49-48=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[49, 48, 89, 48], Operations: []
Exploring Operation: 89-48=41, Resulting Numbers: [49, 48, 41]
Generated Node #0,0: 42:[49, 48, 41] Operation: 89-48=41
Moving to Node #0,0
Current State: 42:[49, 48, 41], Operations: ['89-48=41']
Exploring Operation: 49-48=1, Resulting Numbers: [41, 1]
Generated Node #0,0,1: 42:[41, 1] Operation: 49-48=1
Moving to Node #0,0,1
Current State: 42:[41, 1], Operations: ['89-48=41', '49-48=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
70,
19,
72,
40
] | 52 |
[
"19+72=91",
"40*91=3640",
"3640/70=52"
] |
Current State: 52:[70, 19, 72, 40], Operations: []
Exploring Operation: 19+72=91, Resulting Numbers: [70, 40, 91]
Generated Node #2: [70, 40, 91] from Operation: 19+72=91
Current State: 52:[70, 40, 91], Operations: ['19+72=91']
Exploring Operation: 40*91=3640, Resulting Numbers: [70, 3640]
Generated Node #3: [70, 3640] from Operation: 40*91=3640
Current State: 52:[70, 3640], Operations: ['19+72=91', '40*91=3640']
Exploring Operation: 3640/70=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[70, 19, 72, 40], Operations: []
Exploring Operation: 72-40=32, Resulting Numbers: [70, 19, 32]
Generated Node #0,0: 52:[70, 19, 32] Operation: 72-40=32
Exploring Operation: 70-40=30, Resulting Numbers: [19, 72, 30]
Generated Node #0,1: 52:[19, 72, 30] Operation: 70-40=30
Exploring Operation: 72-70=2, Resulting Numbers: [19, 40, 2]
Generated Node #0,2: 52:[19, 40, 2] Operation: 72-70=2
Exploring Operation: 72-19=53, Resulting Numbers: [70, 40, 53]
Generated Node #0,3: 52:[70, 40, 53] Operation: 72-19=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[19, 40, 2], Operations: ['72-70=2']
Exploring Operation: 40-19=21, Resulting Numbers: [2, 21]
Generated Node #0,2,0: 52:[2, 21] Operation: 40-19=21
Exploring Operation: 40/2=20, Resulting Numbers: [19, 20]
Generated Node #0,2,1: 52:[19, 20] Operation: 40/2=20
Exploring Operation: 19-2=17, Resulting Numbers: [40, 17]
Generated Node #0,2,2: 52:[40, 17] Operation: 19-2=17
Exploring Operation: 19+40=59, Resulting Numbers: [2, 59]
Generated Node #0,2,3: 52:[2, 59] Operation: 19+40=59
Moving to Node #0,2,0
Current State: 52:[2, 21], Operations: ['72-70=2', '40-19=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[2, 59], Operations: ['72-70=2', '19+40=59']
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,52 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[19, 20], Operations: ['72-70=2', '40/2=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[40, 17], Operations: ['72-70=2', '19-2=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,52 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[70, 19, 32], Operations: ['72-40=32']
Exploring Operation: 19+32=51, Resulting Numbers: [70, 51]
Generated Node #0,0,0: 52:[70, 51] Operation: 19+32=51
Exploring Operation: 32-19=13, Resulting Numbers: [70, 13]
Generated Node #0,0,1: 52:[70, 13] Operation: 32-19=13
Exploring Operation: 70-19=51, Resulting Numbers: [32, 51]
Generated Node #0,0,2: 52:[32, 51] Operation: 70-19=51
Exploring Operation: 70-32=38, Resulting Numbers: [19, 38]
Generated Node #0,0,3: 52:[19, 38] Operation: 70-32=38
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 52:[32, 51], Operations: ['72-40=32', '70-19=51']
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,52 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[70, 13], Operations: ['72-40=32', '32-19=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 52:[19, 38], Operations: ['72-40=32', '70-32=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[70, 51], Operations: ['72-40=32', '19+32=51']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,52 unequal: No Solution
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[19, 72, 30], Operations: ['70-40=30']
Exploring Operation: 72-30=42, Resulting Numbers: [19, 42]
Generated Node #0,1,0: 52:[19, 42] Operation: 72-30=42
Exploring Operation: 72-19=53, Resulting Numbers: [30, 53]
Generated Node #0,1,1: 52:[30, 53] Operation: 72-19=53
Exploring Operation: 19+30=49, Resulting Numbers: [72, 49]
Generated Node #0,1,2: 52:[72, 49] Operation: 19+30=49
Exploring Operation: 30-19=11, Resulting Numbers: [72, 11]
Generated Node #0,1,3: 52:[72, 11] Operation: 30-19=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[30, 53], Operations: ['70-40=30', '72-19=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,52 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[19, 42], Operations: ['70-40=30', '72-30=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,52 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[72, 11], Operations: ['70-40=30', '30-19=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,52 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[72, 49], Operations: ['70-40=30', '19+30=49']
Exploring Operation: 72*49=3528, Resulting Numbers: [3528]
3528,52 unequal: No Solution
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[70, 40, 53], Operations: ['72-19=53']
Exploring Operation: 70+40=110, Resulting Numbers: [53, 110]
Generated Node #0,3,0: 52:[53, 110] Operation: 70+40=110
Exploring Operation: 70-40=30, Resulting Numbers: [53, 30]
Generated Node #0,3,1: 52:[53, 30] Operation: 70-40=30
Exploring Operation: 70-53=17, Resulting Numbers: [40, 17]
Generated Node #0,3,2: 52:[40, 17] Operation: 70-53=17
Exploring Operation: 53-40=13, Resulting Numbers: [70, 13]
Generated Node #0,3,3: 52:[70, 13] Operation: 53-40=13
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 52:[53, 30], Operations: ['72-19=53', '70-40=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,52 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 52:[40, 17], Operations: ['72-19=53', '70-53=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,52 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 52:[70, 13], Operations: ['72-19=53', '53-40=13']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,52 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[53, 110], Operations: ['72-19=53', '70+40=110']
Exploring Operation: 53+110=163, Resulting Numbers: [163]
163,52 unequal: No Solution
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 53*110=5830, Resulting Numbers: [5830]
5830,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
43,
57,
14,
25
] | 11 |
[
"43*14=602",
"25+602=627",
"627/57=11"
] |
Current State: 11:[43, 57, 14, 25], Operations: []
Exploring Operation: 43*14=602, Resulting Numbers: [57, 25, 602]
Generated Node #2: [57, 25, 602] from Operation: 43*14=602
Current State: 11:[57, 25, 602], Operations: ['43*14=602']
Exploring Operation: 25+602=627, Resulting Numbers: [57, 627]
Generated Node #3: [57, 627] from Operation: 25+602=627
Current State: 11:[57, 627], Operations: ['43*14=602', '25+602=627']
Exploring Operation: 627/57=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[43, 57, 14, 25], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [14, 25, 14]
Generated Node #0,0: 11:[14, 25, 14] Operation: 57-43=14
Exploring Operation: 57-25=32, Resulting Numbers: [43, 14, 32]
Generated Node #0,1: 11:[43, 14, 32] Operation: 57-25=32
Exploring Operation: 43-14=29, Resulting Numbers: [57, 25, 29]
Generated Node #0,2: 11:[57, 25, 29] Operation: 43-14=29
Exploring Operation: 43-25=18, Resulting Numbers: [57, 14, 18]
Generated Node #0,3: 11:[57, 14, 18] Operation: 43-25=18
Moving to Node #0,0
Current State: 11:[14, 25, 14], Operations: ['57-43=14']
Exploring Operation: 25-14=11, Resulting Numbers: [14, 11]
Generated Node #0,0,0: 11:[14, 11] Operation: 25-14=11
Exploring Operation: 14-14=0, Resulting Numbers: [25, 0]
Generated Node #0,0,1: 11:[25, 0] Operation: 14-14=0
Exploring Operation: 14/14=1, Resulting Numbers: [25, 1]
Generated Node #0,0,2: 11:[25, 1] Operation: 14/14=1
Exploring Operation: 25-14=11, Resulting Numbers: [14, 11]
Generated Node #0,0,3: 11:[14, 11] Operation: 25-14=11
Moving to Node #0,3
Current State: 11:[57, 14, 18], Operations: ['43-25=18']
Exploring Operation: 57-14=43, Resulting Numbers: [18, 43]
Generated Node #0,3,0: 11:[18, 43] Operation: 57-14=43
Exploring Operation: 57+14=71, Resulting Numbers: [18, 71]
Generated Node #0,3,1: 11:[18, 71] Operation: 57+14=71
Exploring Operation: 57-18=39, Resulting Numbers: [14, 39]
Generated Node #0,3,2: 11:[14, 39] Operation: 57-18=39
Exploring Operation: 18-14=4, Resulting Numbers: [57, 4]
Generated Node #0,3,3: 11:[57, 4] Operation: 18-14=4
Moving to Node #0,1
Current State: 11:[43, 14, 32], Operations: ['57-25=32']
Exploring Operation: 43-14=29, Resulting Numbers: [32, 29]
Generated Node #0,1,0: 11:[32, 29] Operation: 43-14=29
Exploring Operation: 32-14=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 11:[43, 18] Operation: 32-14=18
Exploring Operation: 43-32=11, Resulting Numbers: [14, 11]
Generated Node #0,1,2: 11:[14, 11] Operation: 43-32=11
Exploring Operation: 43+14=57, Resulting Numbers: [32, 57]
Generated Node #0,1,3: 11:[32, 57] Operation: 43+14=57
Moving to Node #0,2
Current State: 11:[57, 25, 29], Operations: ['43-14=29']
Exploring Operation: 57-25=32, Resulting Numbers: [29, 32]
Generated Node #0,2,0: 11:[29, 32] Operation: 57-25=32
Exploring Operation: 29-25=4, Resulting Numbers: [57, 4]
Generated Node #0,2,1: 11:[57, 4] Operation: 29-25=4
Exploring Operation: 57+25=82, Resulting Numbers: [29, 82]
Generated Node #0,2,2: 11:[29, 82] Operation: 57+25=82
Exploring Operation: 57-29=28, Resulting Numbers: [25, 28]
Generated Node #0,2,3: 11:[25, 28] Operation: 57-29=28
Moving to Node #0,0,0
Current State: 11:[14, 11], Operations: ['57-43=14', '25-14=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,11 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[14, 11], Operations: ['57-43=14', '25-14=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,11 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[14, 11], Operations: ['57-25=32', '43-32=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,11 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[25, 1], Operations: ['57-43=14', '14/14=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[25, 0], Operations: ['57-43=14', '14-14=0']
Exploring Operation: 25+0=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 25-0=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 25*0=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[25, 28], Operations: ['43-14=29', '57-29=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,11 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[14, 39], Operations: ['43-25=18', '57-18=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[29, 32], Operations: ['43-14=29', '57-25=32']
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,11 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[18, 43], Operations: ['43-25=18', '57-14=43']
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,11 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[43, 18], Operations: ['57-25=32', '32-14=18']
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,11 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[32, 29], Operations: ['57-25=32', '43-14=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,11 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[57, 4], Operations: ['43-25=18', '18-14=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[57, 4], Operations: ['43-14=29', '29-25=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,11 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[32, 57], Operations: ['57-25=32', '43+14=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[18, 71], Operations: ['43-25=18', '57+14=71']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Exploring Operation: 18*71=1278, Resulting Numbers: [1278]
1278,11 unequal: No Solution
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[29, 82], Operations: ['43-14=29', '57+25=82']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,11 unequal: No Solution
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,11 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,11 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
43,
1,
52,
56
] | 47 |
[
"43*1=43",
"56-52=4",
"43+4=47"
] |
Current State: 47:[43, 1, 52, 56], Operations: []
Exploring Operation: 43*1=43, Resulting Numbers: [52, 56, 43]
Generated Node #2: [52, 56, 43] from Operation: 43*1=43
Current State: 47:[52, 56, 43], Operations: ['43*1=43']
Exploring Operation: 56-52=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 56-52=4
Current State: 47:[43, 4], Operations: ['43*1=43', '56-52=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 |
Current State: 47:[43, 1, 52, 56], Operations: []
Exploring Operation: 52-1=51, Resulting Numbers: [43, 56, 51]
Generated Node #0,0: 47:[43, 56, 51] Operation: 52-1=51
Exploring Operation: 43+1=44, Resulting Numbers: [52, 56, 44]
Generated Node #0,1: 47:[52, 56, 44] Operation: 43+1=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[43, 56, 51], Operations: ['52-1=51']
Exploring Operation: 56-43=13, Resulting Numbers: [51, 13]
Generated Node #0,0,0: 47:[51, 13] Operation: 56-43=13
Exploring Operation: 56-51=5, Resulting Numbers: [43, 5]
Generated Node #0,0,1: 47:[43, 5] Operation: 56-51=5
Moving to Node #0,0,0
Current State: 47:[51, 13], Operations: ['52-1=51', '56-43=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[43, 5], Operations: ['52-1=51', '56-51=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[52, 56, 44], Operations: ['43+1=44']
Exploring Operation: 56-52=4, Resulting Numbers: [44, 4]
Generated Node #0,1,0: 47:[44, 4] Operation: 56-52=4
Exploring Operation: 56-44=12, Resulting Numbers: [52, 12]
Generated Node #0,1,1: 47:[52, 12] Operation: 56-44=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[52, 12], Operations: ['43+1=44', '56-44=12']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,47 unequal: No Solution
No 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: 47:[44, 4], Operations: ['43+1=44', '56-52=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,47 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
|
[
13,
16,
15,
3
] | 81 |
[
"13*15=195",
"195/3=65",
"16+65=81"
] |
Current State: 81:[13, 16, 15, 3], Operations: []
Exploring Operation: 13*15=195, Resulting Numbers: [16, 3, 195]
Generated Node #2: [16, 3, 195] from Operation: 13*15=195
Current State: 81:[16, 3, 195], Operations: ['13*15=195']
Exploring Operation: 195/3=65, Resulting Numbers: [16, 65]
Generated Node #3: [16, 65] from Operation: 195/3=65
Current State: 81:[16, 65], Operations: ['13*15=195', '195/3=65']
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[13, 16, 15, 3], Operations: []
Exploring Operation: 16-13=3, Resulting Numbers: [15, 3, 3]
Generated Node #0,0: 81:[15, 3, 3] Operation: 16-13=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[15, 3, 3], Operations: ['16-13=3']
Exploring Operation: 15/3=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 81:[3, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[3, 5], Operations: ['16-13=3', '15/3=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
76,
14,
96,
56
] | 22 |
[
"76-14=62",
"96-56=40",
"62-40=22"
] |
Current State: 22:[76, 14, 96, 56], Operations: []
Exploring Operation: 76-14=62, Resulting Numbers: [96, 56, 62]
Generated Node #2: [96, 56, 62] from Operation: 76-14=62
Current State: 22:[96, 56, 62], Operations: ['76-14=62']
Exploring Operation: 96-56=40, Resulting Numbers: [62, 40]
Generated Node #3: [62, 40] from Operation: 96-56=40
Current State: 22:[62, 40], Operations: ['76-14=62', '96-56=40']
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[76, 14, 96, 56], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [14, 96, 20]
Generated Node #0,0: 22:[14, 96, 20] Operation: 76-56=20
Exploring Operation: 76-14=62, Resulting Numbers: [96, 56, 62]
Generated Node #0,1: 22:[96, 56, 62] Operation: 76-14=62
Exploring Operation: 56/14=4, Resulting Numbers: [76, 96, 4]
Generated Node #0,2: 22:[76, 96, 4] Operation: 56/14=4
Exploring Operation: 96-76=20, Resulting Numbers: [14, 56, 20]
Generated Node #0,3: 22:[14, 56, 20] Operation: 96-76=20
Exploring Operation: 96-56=40, Resulting Numbers: [76, 14, 40]
Generated Node #0,4: 22:[76, 14, 40] Operation: 96-56=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[14, 56, 20], Operations: ['96-76=20']
Exploring Operation: 14+20=34, Resulting Numbers: [56, 34]
Generated Node #0,3,0: 22:[56, 34] Operation: 14+20=34
Exploring Operation: 56-20=36, Resulting Numbers: [14, 36]
Generated Node #0,3,1: 22:[14, 36] Operation: 56-20=36
Exploring Operation: 56-14=42, Resulting Numbers: [20, 42]
Generated Node #0,3,2: 22:[20, 42] Operation: 56-14=42
Exploring Operation: 20-14=6, Resulting Numbers: [56, 6]
Generated Node #0,3,3: 22:[56, 6] Operation: 20-14=6
Exploring Operation: 56/14=4, Resulting Numbers: [20, 4]
Generated Node #0,3,4: 22:[20, 4] Operation: 56/14=4
Moving to Node #0,3,4
Current State: 22:[20, 4], Operations: ['96-76=20', '56/14=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[14, 36], Operations: ['96-76=20', '56-20=36']
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,22 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[76, 14, 96, 56], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [14, 56, 20]
Generated Node #0,3: 22:[14, 56, 20] Operation: 96-76=20
Moving to Node #0,3
Current State: 22:[14, 56, 20], Operations: ['96-76=20']
Exploring Operation: 56-20=36, Resulting Numbers: [14, 36]
Generated Node #0,3,1: 22:[14, 36] Operation: 56-20=36
Moving to Node #0,3,1
Current State: 22:[14, 36], Operations: ['96-76=20', '56-20=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_5
|
mult_heuristic
|
[
66,
49,
29,
2
] | 45 |
[
"66/2=33",
"49+29=78",
"78-33=45"
] |
Current State: 45:[66, 49, 29, 2], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [49, 29, 33]
Generated Node #2: [49, 29, 33] from Operation: 66/2=33
Current State: 45:[49, 29, 33], Operations: ['66/2=33']
Exploring Operation: 49+29=78, Resulting Numbers: [33, 78]
Generated Node #3: [33, 78] from Operation: 49+29=78
Current State: 45:[33, 78], Operations: ['66/2=33', '49+29=78']
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[66, 49, 29, 2], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [66, 2, 20]
Generated Node #0,0: 45:[66, 2, 20] Operation: 49-29=20
Exploring Operation: 66-49=17, Resulting Numbers: [29, 2, 17]
Generated Node #0,1: 45:[29, 2, 17] Operation: 66-49=17
Exploring Operation: 66/2=33, Resulting Numbers: [49, 29, 33]
Generated Node #0,2: 45:[49, 29, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [49, 29, 64]
Generated Node #0,3: 45:[49, 29, 64] Operation: 66-2=64
Exploring Operation: 66-29=37, Resulting Numbers: [49, 2, 37]
Generated Node #0,4: 45:[49, 2, 37] Operation: 66-29=37
Start Sub Search at level 1: Moving to Node #0,4
Current State: 45:[49, 2, 37], Operations: ['66-29=37']
Exploring Operation: 49-37=12, Resulting Numbers: [2, 12]
Generated Node #0,4,0: 45:[2, 12] Operation: 49-37=12
Exploring Operation: 37-2=35, Resulting Numbers: [49, 35]
Generated Node #0,4,1: 45:[49, 35] Operation: 37-2=35
Exploring Operation: 2+37=39, Resulting Numbers: [49, 39]
Generated Node #0,4,2: 45:[49, 39] Operation: 2+37=39
Exploring Operation: 49+2=51, Resulting Numbers: [37, 51]
Generated Node #0,4,3: 45:[37, 51] Operation: 49+2=51
Exploring Operation: 49-2=47, Resulting Numbers: [37, 47]
Generated Node #0,4,4: 45:[37, 47] Operation: 49-2=47
Moving to Node #0,4,0
Current State: 45:[2, 12], Operations: ['66-29=37', '49-37=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[37, 47], Operations: ['66-29=37', '49-2=47']
Exploring Operation: 37*47=1739, Resulting Numbers: [1739]
1739,45 unequal: No Solution
Exploring Operation: 37+47=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[49, 39], Operations: ['66-29=37', '2+37=39']
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,45 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[49, 35], Operations: ['66-29=37', '37-2=35']
Exploring Operation: 49*35=1715, Resulting Numbers: [1715]
1715,45 unequal: No Solution
Exploring Operation: 49+35=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[37, 51], Operations: ['66-29=37', '49+2=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,45 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[29, 2, 17], Operations: ['66-49=17']
Exploring Operation: 29+17=46, Resulting Numbers: [2, 46]
Generated Node #0,1,0: 45:[2, 46] Operation: 29+17=46
Exploring Operation: 29-17=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 45:[2, 12] Operation: 29-17=12
Exploring Operation: 29*2=58, Resulting Numbers: [17, 58]
Generated Node #0,1,2: 45:[17, 58] Operation: 29*2=58
Exploring Operation: 17-2=15, Resulting Numbers: [29, 15]
Generated Node #0,1,3: 45:[29, 15] Operation: 17-2=15
Exploring Operation: 29-2=27, Resulting Numbers: [17, 27]
Generated Node #0,1,4: 45:[17, 27] Operation: 29-2=27
Moving to Node #0,1,0
Current State: 45:[2, 46], Operations: ['66-49=17', '29+17=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[2, 12], Operations: ['66-49=17', '29-17=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[29, 15], Operations: ['66-49=17', '17-2=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,45 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[17, 27], Operations: ['66-49=17', '29-2=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[17, 58], Operations: ['66-49=17', '29*2=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,45 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,45 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[66, 2, 20], Operations: ['49-29=20']
Exploring Operation: 66/2=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 45:[20, 33] Operation: 66/2=33
Exploring Operation: 20/2=10, Resulting Numbers: [66, 10]
Generated Node #0,0,1: 45:[66, 10] Operation: 20/2=10
Exploring Operation: 66-20=46, Resulting Numbers: [2, 46]
Generated Node #0,0,2: 45:[2, 46] Operation: 66-20=46
Exploring Operation: 20-2=18, Resulting Numbers: [66, 18]
Generated Node #0,0,3: 45:[66, 18] Operation: 20-2=18
Exploring Operation: 66-2=64, Resulting Numbers: [20, 64]
Generated Node #0,0,4: 45:[20, 64] Operation: 66-2=64
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[2, 46], Operations: ['49-29=20', '66-20=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,45 unequal: No Solution
No 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: 45:[20, 33], Operations: ['49-29=20', '66/2=33']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,45 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,45 unequal: No Solution
No 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: 45:[66, 10], Operations: ['49-29=20', '20/2=10']
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 66*10=660, Resulting Numbers: [660]
660,45 unequal: No Solution
No 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: 45:[66, 18], Operations: ['49-29=20', '20-2=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,45 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,45 unequal: No Solution
No 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: 45:[20, 64], Operations: ['49-29=20', '66-2=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[49, 29, 33], Operations: ['66/2=33']
Exploring Operation: 49-33=16, Resulting Numbers: [29, 16]
Generated Node #0,2,0: 45:[29, 16] Operation: 49-33=16
Exploring Operation: 29+33=62, Resulting Numbers: [49, 62]
Generated Node #0,2,1: 45:[49, 62] Operation: 29+33=62
Exploring Operation: 33-29=4, Resulting Numbers: [49, 4]
Generated Node #0,2,2: 45:[49, 4] Operation: 33-29=4
Exploring Operation: 49+29=78, Resulting Numbers: [33, 78]
Generated Node #0,2,3: 45:[33, 78] Operation: 49+29=78
Exploring Operation: 49-29=20, Resulting Numbers: [33, 20]
Generated Node #0,2,4: 45:[33, 20] Operation: 49-29=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[49, 4], Operations: ['66/2=33', '33-29=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[66, 49, 29, 2], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [49, 29, 33]
Generated Node #0,2: 45:[49, 29, 33] Operation: 66/2=33
Moving to Node #0,2
Current State: 45:[49, 29, 33], Operations: ['66/2=33']
Exploring Operation: 33-29=4, Resulting Numbers: [49, 4]
Generated Node #0,2,2: 45:[49, 4] Operation: 33-29=4
Moving to Node #0,2,2
Current State: 45:[49, 4], Operations: ['66/2=33', '33-29=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.931424 |
hs_5
|
sum_heuristic
|
[
2,
38,
47,
78
] | 94 |
[
"2*38=76",
"78-76=2",
"47*2=94"
] |
Current State: 94:[2, 38, 47, 78], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [47, 78, 76]
Generated Node #2: [47, 78, 76] from Operation: 2*38=76
Current State: 94:[47, 78, 76], Operations: ['2*38=76']
Exploring Operation: 78-76=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 78-76=2
Current State: 94:[47, 2], Operations: ['2*38=76', '78-76=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[2, 38, 47, 78], Operations: []
Exploring Operation: 2+38=40, Resulting Numbers: [47, 78, 40]
Generated Node #0,0: 94:[47, 78, 40] Operation: 2+38=40
Exploring Operation: 78-38=40, Resulting Numbers: [2, 47, 40]
Generated Node #0,1: 94:[2, 47, 40] Operation: 78-38=40
Exploring Operation: 38+78=116, Resulting Numbers: [2, 47, 116]
Generated Node #0,2: 94:[2, 47, 116] Operation: 38+78=116
Exploring Operation: 78/2=39, Resulting Numbers: [38, 47, 39]
Generated Node #0,3: 94:[38, 47, 39] Operation: 78/2=39
Moving to Node #0,1
Current State: 94:[2, 47, 40], Operations: ['78-38=40']
Exploring Operation: 47+40=87, Resulting Numbers: [2, 87]
Generated Node #0,1,0: 94:[2, 87] Operation: 47+40=87
Exploring Operation: 2+40=42, Resulting Numbers: [47, 42]
Generated Node #0,1,1: 94:[47, 42] Operation: 2+40=42
Exploring Operation: 2*47=94, Resulting Numbers: [40, 94]
Generated Node #0,1,2: 94:[40, 94] Operation: 2*47=94
Exploring Operation: 47-40=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 94:[2, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[47, 42], Operations: ['78-38=40', '2+40=42']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,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,3
Current State: 94:[2, 7], Operations: ['78-38=40', '47-40=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,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:[2, 87], Operations: ['78-38=40', '47+40=87']
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,94 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,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,2
Current State: 94:[40, 94], Operations: ['78-38=40', '2*47=94']
Exploring Operation: 40+94=134, Resulting Numbers: [134]
134,94 unequal: No Solution
Exploring Operation: 94-40=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 40*94=3760, Resulting Numbers: [3760]
3760,94 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: 94:[38, 47, 39], Operations: ['78/2=39']
Exploring Operation: 47-38=9, Resulting Numbers: [39, 9]
Generated Node #0,3,0: 94:[39, 9] Operation: 47-38=9
Exploring Operation: 39-38=1, Resulting Numbers: [47, 1]
Generated Node #0,3,1: 94:[47, 1] Operation: 39-38=1
Exploring Operation: 38+47=85, Resulting Numbers: [39, 85]
Generated Node #0,3,2: 94:[39, 85] Operation: 38+47=85
Exploring Operation: 47-39=8, Resulting Numbers: [38, 8]
Generated Node #0,3,3: 94:[38, 8] Operation: 47-39=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 94:[47, 1], Operations: ['78/2=39', '39-38=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[39, 9], Operations: ['78/2=39', '47-38=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,94 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 94:[38, 8], Operations: ['78/2=39', '47-39=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,94 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 94:[39, 85], Operations: ['78/2=39', '38+47=85']
Exploring Operation: 39*85=3315, Resulting Numbers: [3315]
3315,94 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 39+85=124, Resulting Numbers: [124]
124,94 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: 94:[2, 47, 116], Operations: ['38+78=116']
Exploring Operation: 116/2=58, Resulting Numbers: [47, 58]
Generated Node #0,2,0: 94:[47, 58] Operation: 116/2=58
Exploring Operation: 2*47=94, Resulting Numbers: [116, 94]
Generated Node #0,2,1: 94:[116, 94] Operation: 2*47=94
Exploring Operation: 116-2=114, Resulting Numbers: [47, 114]
Generated Node #0,2,2: 94:[47, 114] Operation: 116-2=114
Exploring Operation: 116-47=69, Resulting Numbers: [2, 69]
Generated Node #0,2,3: 94:[2, 69] Operation: 116-47=69
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[47, 58], Operations: ['38+78=116', '116/2=58']
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,94 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,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,2
Current State: 94:[47, 114], Operations: ['38+78=116', '116-2=114']
Exploring Operation: 47+114=161, Resulting Numbers: [161]
161,94 unequal: No Solution
Exploring Operation: 47*114=5358, Resulting Numbers: [5358]
5358,94 unequal: No Solution
Exploring Operation: 114-47=67, Resulting Numbers: [67]
67,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:[116, 94], Operations: ['38+78=116', '2*47=94']
Exploring Operation: 116-94=22, Resulting Numbers: [22]
22,94 unequal: No Solution
Exploring Operation: 116*94=10904, Resulting Numbers: [10904]
10904,94 unequal: No Solution
Exploring Operation: 116+94=210, Resulting Numbers: [210]
210,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:[2, 69], Operations: ['38+78=116', '116-47=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,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:[47, 78, 40], Operations: ['2+38=40']
Exploring Operation: 78-47=31, Resulting Numbers: [40, 31]
Generated Node #0,0,0: 94:[40, 31] Operation: 78-47=31
Exploring Operation: 78-40=38, Resulting Numbers: [47, 38]
Generated Node #0,0,1: 94:[47, 38] Operation: 78-40=38
Exploring Operation: 47+40=87, Resulting Numbers: [78, 87]
Generated Node #0,0,2: 94:[78, 87] Operation: 47+40=87
Exploring Operation: 47-40=7, Resulting Numbers: [78, 7]
Generated Node #0,0,3: 94:[78, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[47, 38], Operations: ['2+38=40', '78-40=38']
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,94 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,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,0,3
Current State: 94:[78, 7], Operations: ['2+38=40', '47-40=7']
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,94 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,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,0,0
Current State: 94:[40, 31], Operations: ['2+38=40', '78-47=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,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,0,2
Current State: 94:[78, 87], Operations: ['2+38=40', '47+40=87']
Exploring Operation: 78*87=6786, Resulting Numbers: [6786]
6786,94 unequal: No Solution
Exploring Operation: 78+87=165, Resulting Numbers: [165]
165,94 unequal: No Solution
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,94 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
|
[
34,
60,
79,
40
] | 13 |
[
"60-34=26",
"79-40=39",
"39-26=13"
] |
Current State: 13:[34, 60, 79, 40], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [79, 40, 26]
Generated Node #2: [79, 40, 26] from Operation: 60-34=26
Current State: 13:[79, 40, 26], Operations: ['60-34=26']
Exploring Operation: 79-40=39, Resulting Numbers: [26, 39]
Generated Node #3: [26, 39] from Operation: 79-40=39
Current State: 13:[26, 39], Operations: ['60-34=26', '79-40=39']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[34, 60, 79, 40], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [34, 79, 20]
Generated Node #0,0: 13:[34, 79, 20] Operation: 60-40=20
Exploring Operation: 79-60=19, Resulting Numbers: [34, 40, 19]
Generated Node #0,1: 13:[34, 40, 19] Operation: 79-60=19
Exploring Operation: 79-40=39, Resulting Numbers: [34, 60, 39]
Generated Node #0,2: 13:[34, 60, 39] Operation: 79-40=39
Moving to Node #0,1
Current State: 13:[34, 40, 19], Operations: ['79-60=19']
Exploring Operation: 34-19=15, Resulting Numbers: [40, 15]
Generated Node #0,1,0: 13:[40, 15] Operation: 34-19=15
Exploring Operation: 40-34=6, Resulting Numbers: [19, 6]
Generated Node #0,1,1: 13:[19, 6] Operation: 40-34=6
Exploring Operation: 40-19=21, Resulting Numbers: [34, 21]
Generated Node #0,1,2: 13:[34, 21] Operation: 40-19=21
Moving to Node #0,0
Current State: 13:[34, 79, 20], Operations: ['60-40=20']
Exploring Operation: 34-20=14, Resulting Numbers: [79, 14]
Generated Node #0,0,0: 13:[79, 14] Operation: 34-20=14
Exploring Operation: 79-20=59, Resulting Numbers: [34, 59]
Generated Node #0,0,1: 13:[34, 59] Operation: 79-20=59
Exploring Operation: 79-34=45, Resulting Numbers: [20, 45]
Generated Node #0,0,2: 13:[20, 45] Operation: 79-34=45
Moving to Node #0,2
Current State: 13:[34, 60, 39], Operations: ['79-40=39']
Exploring Operation: 60-34=26, Resulting Numbers: [39, 26]
Generated Node #0,2,0: 13:[39, 26] Operation: 60-34=26
Exploring Operation: 39-34=5, Resulting Numbers: [60, 5]
Generated Node #0,2,1: 13:[60, 5] Operation: 39-34=5
Exploring Operation: 60-39=21, Resulting Numbers: [34, 21]
Generated Node #0,2,2: 13:[34, 21] Operation: 60-39=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[34, 21], Operations: ['79-40=39', '60-39=21']
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,13 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,13 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[34, 60, 79, 40], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [34, 60, 39]
Generated Node #0,2: 13:[34, 60, 39] Operation: 79-40=39
Moving to Node #0,2
Current State: 13:[34, 60, 39], Operations: ['79-40=39']
Exploring Operation: 60-39=21, Resulting Numbers: [34, 21]
Generated Node #0,2,2: 13:[34, 21] Operation: 60-39=21
Moving to Node #0,2,2
Current State: 13:[34, 21], Operations: ['79-40=39', '60-39=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_3
|
mult_heuristic
|
[
38,
96,
67,
46
] | 23 |
[
"38+96=134",
"67*46=3082",
"3082/134=23"
] |
Current State: 23:[38, 96, 67, 46], Operations: []
Exploring Operation: 38+96=134, Resulting Numbers: [67, 46, 134]
Generated Node #2: [67, 46, 134] from Operation: 38+96=134
Current State: 23:[67, 46, 134], Operations: ['38+96=134']
Exploring Operation: 67*46=3082, Resulting Numbers: [134, 3082]
Generated Node #3: [134, 3082] from Operation: 67*46=3082
Current State: 23:[134, 3082], Operations: ['38+96=134', '67*46=3082']
Exploring Operation: 3082/134=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[38, 96, 67, 46], Operations: []
Exploring Operation: 96-46=50, Resulting Numbers: [38, 67, 50]
Generated Node #0,0: 23:[38, 67, 50] Operation: 96-46=50
Exploring Operation: 96-67=29, Resulting Numbers: [38, 46, 29]
Generated Node #0,1: 23:[38, 46, 29] Operation: 96-67=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[38, 46, 29], Operations: ['96-67=29']
Exploring Operation: 46-38=8, Resulting Numbers: [29, 8]
Generated Node #0,1,0: 23:[29, 8] Operation: 46-38=8
Exploring Operation: 46-29=17, Resulting Numbers: [38, 17]
Generated Node #0,1,1: 23:[38, 17] Operation: 46-29=17
Moving to Node #0,1,0
Current State: 23:[29, 8], Operations: ['96-67=29', '46-38=8']
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[38, 17], Operations: ['96-67=29', '46-29=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[38, 67, 50], Operations: ['96-46=50']
Exploring Operation: 67-50=17, Resulting Numbers: [38, 17]
Generated Node #0,0,0: 23:[38, 17] Operation: 67-50=17
Exploring Operation: 67-38=29, Resulting Numbers: [50, 29]
Generated Node #0,0,1: 23:[50, 29] Operation: 67-38=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[38, 17], Operations: ['96-46=50', '67-50=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[50, 29], Operations: ['96-46=50', '67-38=29']
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
47,
68,
15,
78
] | 13 |
[
"68-47=21",
"21-15=6",
"78/6=13"
] |
Current State: 13:[47, 68, 15, 78], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [15, 78, 21]
Generated Node #2: [15, 78, 21] from Operation: 68-47=21
Current State: 13:[15, 78, 21], Operations: ['68-47=21']
Exploring Operation: 21-15=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 21-15=6
Current State: 13:[78, 6], Operations: ['68-47=21', '21-15=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 |
Current State: 13:[47, 68, 15, 78], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [15, 78, 21]
Generated Node #0,0: 13:[15, 78, 21] Operation: 68-47=21
Exploring Operation: 78-68=10, Resulting Numbers: [47, 15, 10]
Generated Node #0,1: 13:[47, 15, 10] Operation: 78-68=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[47, 15, 10], Operations: ['78-68=10']
Exploring Operation: 47-15=32, Resulting Numbers: [10, 32]
Generated Node #0,1,0: 13:[10, 32] Operation: 47-15=32
Exploring Operation: 47-10=37, Resulting Numbers: [15, 37]
Generated Node #0,1,1: 13:[15, 37] Operation: 47-10=37
Moving to Node #0,1,0
Current State: 13:[10, 32], Operations: ['78-68=10', '47-15=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[15, 37], Operations: ['78-68=10', '47-10=37']
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[15, 78, 21], Operations: ['68-47=21']
Exploring Operation: 78-15=63, Resulting Numbers: [21, 63]
Generated Node #0,0,0: 13:[21, 63] Operation: 78-15=63
Exploring Operation: 78-21=57, Resulting Numbers: [15, 57]
Generated Node #0,0,1: 13:[15, 57] Operation: 78-21=57
Moving to Node #0,0,1
Current State: 13:[15, 57], Operations: ['68-47=21', '78-21=57']
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[21, 63], Operations: ['68-47=21', '78-15=63']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
63,
20,
88,
35
] | 91 |
[
"88*35=3080",
"3080/20=154",
"154-63=91"
] |
Current State: 91:[63, 20, 88, 35], Operations: []
Exploring Operation: 88*35=3080, Resulting Numbers: [63, 20, 3080]
Generated Node #2: [63, 20, 3080] from Operation: 88*35=3080
Current State: 91:[63, 20, 3080], Operations: ['88*35=3080']
Exploring Operation: 3080/20=154, Resulting Numbers: [63, 154]
Generated Node #3: [63, 154] from Operation: 3080/20=154
Current State: 91:[63, 154], Operations: ['88*35=3080', '3080/20=154']
Exploring Operation: 154-63=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[63, 20, 88, 35], Operations: []
Exploring Operation: 63+35=98, Resulting Numbers: [20, 88, 98]
Generated Node #0,0: 91:[20, 88, 98] Operation: 63+35=98
Moving to Node #0,0
Current State: 91:[20, 88, 98], Operations: ['63+35=98']
Exploring Operation: 98-88=10, Resulting Numbers: [20, 10]
Generated Node #0,0,0: 91:[20, 10] Operation: 98-88=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[20, 10], Operations: ['63+35=98', '98-88=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
93,
28,
66,
84
] | 29 |
[
"93+28=121",
"66+84=150",
"150-121=29"
] |
Current State: 29:[93, 28, 66, 84], Operations: []
Exploring Operation: 93+28=121, Resulting Numbers: [66, 84, 121]
Generated Node #2: [66, 84, 121] from Operation: 93+28=121
Current State: 29:[66, 84, 121], Operations: ['93+28=121']
Exploring Operation: 66+84=150, Resulting Numbers: [121, 150]
Generated Node #3: [121, 150] from Operation: 66+84=150
Current State: 29:[121, 150], Operations: ['93+28=121', '66+84=150']
Exploring Operation: 150-121=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[93, 28, 66, 84], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [28, 84, 27]
Generated Node #0,0: 29:[28, 84, 27] Operation: 93-66=27
Exploring Operation: 93-84=9, Resulting Numbers: [28, 66, 9]
Generated Node #0,1: 29:[28, 66, 9] Operation: 93-84=9
Exploring Operation: 84-66=18, Resulting Numbers: [93, 28, 18]
Generated Node #0,2: 29:[93, 28, 18] Operation: 84-66=18
Moving to Node #0,0
Current State: 29:[28, 84, 27], Operations: ['93-66=27']
Exploring Operation: 84-28=56, Resulting Numbers: [27, 56]
Generated Node #0,0,0: 29:[27, 56] Operation: 84-28=56
Exploring Operation: 84/28=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 29:[27, 3] Operation: 84/28=3
Exploring Operation: 84-27=57, Resulting Numbers: [28, 57]
Generated Node #0,0,2: 29:[28, 57] Operation: 84-27=57
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[27, 3], Operations: ['93-66=27', '84/28=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[27, 56], Operations: ['93-66=27', '84-28=56']
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,29 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[93, 28, 66, 84], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [28, 84, 27]
Generated Node #0,0: 29:[28, 84, 27] Operation: 93-66=27
Moving to Node #0,0
Current State: 29:[28, 84, 27], Operations: ['93-66=27']
Exploring Operation: 84-28=56, Resulting Numbers: [27, 56]
Generated Node #0,0,0: 29:[27, 56] Operation: 84-28=56
Moving to Node #0,0,0
Current State: 29:[27, 56], Operations: ['93-66=27', '84-28=56']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
mult_heuristic
|
[
13,
90,
17,
81
] | 21 |
[
"90-13=77",
"17+81=98",
"98-77=21"
] |
Current State: 21:[13, 90, 17, 81], Operations: []
Exploring Operation: 90-13=77, Resulting Numbers: [17, 81, 77]
Generated Node #2: [17, 81, 77] from Operation: 90-13=77
Current State: 21:[17, 81, 77], Operations: ['90-13=77']
Exploring Operation: 17+81=98, Resulting Numbers: [77, 98]
Generated Node #3: [77, 98] from Operation: 17+81=98
Current State: 21:[77, 98], Operations: ['90-13=77', '17+81=98']
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[13, 90, 17, 81], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [13, 17, 9]
Generated Node #0,0: 21:[13, 17, 9] Operation: 90-81=9
Moving to Node #0,0
Current State: 21:[13, 17, 9], Operations: ['90-81=9']
Exploring Operation: 17-13=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 21:[9, 4] Operation: 17-13=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[9, 4], Operations: ['90-81=9', '17-13=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,21 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
|
[
35,
91,
46,
81
] | 63 |
[
"35*81=2835",
"91-46=45",
"2835/45=63"
] |
Current State: 63:[35, 91, 46, 81], Operations: []
Exploring Operation: 35*81=2835, Resulting Numbers: [91, 46, 2835]
Generated Node #2: [91, 46, 2835] from Operation: 35*81=2835
Current State: 63:[91, 46, 2835], Operations: ['35*81=2835']
Exploring Operation: 91-46=45, Resulting Numbers: [2835, 45]
Generated Node #3: [2835, 45] from Operation: 91-46=45
Current State: 63:[2835, 45], Operations: ['35*81=2835', '91-46=45']
Exploring Operation: 2835/45=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 |
Current State: 63:[35, 91, 46, 81], Operations: []
Exploring Operation: 91-35=56, Resulting Numbers: [46, 81, 56]
Generated Node #0,0: 63:[46, 81, 56] Operation: 91-35=56
Exploring Operation: 91-81=10, Resulting Numbers: [35, 46, 10]
Generated Node #0,1: 63:[35, 46, 10] Operation: 91-81=10
Exploring Operation: 46-35=11, Resulting Numbers: [91, 81, 11]
Generated Node #0,2: 63:[91, 81, 11] Operation: 46-35=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[35, 46, 10], Operations: ['91-81=10']
Exploring Operation: 46-35=11, Resulting Numbers: [10, 11]
Generated Node #0,1,0: 63:[10, 11] Operation: 46-35=11
Exploring Operation: 35-10=25, Resulting Numbers: [46, 25]
Generated Node #0,1,1: 63:[46, 25] Operation: 35-10=25
Exploring Operation: 35+46=81, Resulting Numbers: [10, 81]
Generated Node #0,1,2: 63:[10, 81] Operation: 35+46=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[10, 11], Operations: ['91-81=10', '46-35=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[10, 81], Operations: ['91-81=10', '35+46=81']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Exploring Operation: 10*81=810, Resulting Numbers: [810]
810,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[46, 25], Operations: ['91-81=10', '35-10=25']
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,63 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[46, 81, 56], Operations: ['91-35=56']
Exploring Operation: 81-46=35, Resulting Numbers: [56, 35]
Generated Node #0,0,0: 63:[56, 35] Operation: 81-46=35
Exploring Operation: 81-56=25, Resulting Numbers: [46, 25]
Generated Node #0,0,1: 63:[46, 25] Operation: 81-56=25
Exploring Operation: 56-46=10, Resulting Numbers: [81, 10]
Generated Node #0,0,2: 63:[81, 10] Operation: 56-46=10
Moving to Node #0,0,2
Current State: 63:[81, 10], Operations: ['91-35=56', '56-46=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 81*10=810, Resulting Numbers: [810]
810,63 unequal: No Solution
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[56, 35], Operations: ['91-35=56', '81-46=35']
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,63 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[46, 25], Operations: ['91-35=56', '81-56=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,63 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[91, 81, 11], Operations: ['46-35=11']
Exploring Operation: 91-11=80, Resulting Numbers: [81, 80]
Generated Node #0,2,0: 63:[81, 80] Operation: 91-11=80
Exploring Operation: 91-81=10, Resulting Numbers: [11, 10]
Generated Node #0,2,1: 63:[11, 10] Operation: 91-81=10
Exploring Operation: 81-11=70, Resulting Numbers: [91, 70]
Generated Node #0,2,2: 63:[91, 70] Operation: 81-11=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[11, 10], Operations: ['46-35=11', '91-81=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 63:[81, 80], Operations: ['46-35=11', '91-11=80']
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,63 unequal: No Solution
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[91, 70], Operations: ['46-35=11', '81-11=70']
Exploring Operation: 91+70=161, Resulting Numbers: [161]
161,63 unequal: No Solution
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Exploring Operation: 91*70=6370, Resulting Numbers: [6370]
6370,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
38,
14,
2,
45
] | 71 |
[
"38+14=52",
"52/2=26",
"45+26=71"
] |
Current State: 71:[38, 14, 2, 45], Operations: []
Exploring Operation: 38+14=52, Resulting Numbers: [2, 45, 52]
Generated Node #2: [2, 45, 52] from Operation: 38+14=52
Current State: 71:[2, 45, 52], Operations: ['38+14=52']
Exploring Operation: 52/2=26, Resulting Numbers: [45, 26]
Generated Node #3: [45, 26] from Operation: 52/2=26
Current State: 71:[45, 26], Operations: ['38+14=52', '52/2=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 |
Current State: 71:[38, 14, 2, 45], Operations: []
Exploring Operation: 38+14=52, Resulting Numbers: [2, 45, 52]
Generated Node #0,0: 71:[2, 45, 52] Operation: 38+14=52
Exploring Operation: 38+2=40, Resulting Numbers: [14, 45, 40]
Generated Node #0,1: 71:[14, 45, 40] Operation: 38+2=40
Exploring Operation: 38*2=76, Resulting Numbers: [14, 45, 76]
Generated Node #0,2: 71:[14, 45, 76] Operation: 38*2=76
Exploring Operation: 2*45=90, Resulting Numbers: [38, 14, 90]
Generated Node #0,3: 71:[38, 14, 90] Operation: 2*45=90
Exploring Operation: 14*2=28, Resulting Numbers: [38, 45, 28]
Generated Node #0,4: 71:[38, 45, 28] Operation: 14*2=28
Moving to Node #0,2
Current State: 71:[14, 45, 76], Operations: ['38*2=76']
Exploring Operation: 76-45=31, Resulting Numbers: [14, 31]
Generated Node #0,2,0: 71:[14, 31] Operation: 76-45=31
Exploring Operation: 45-14=31, Resulting Numbers: [76, 31]
Generated Node #0,2,1: 71:[76, 31] Operation: 45-14=31
Exploring Operation: 76-14=62, Resulting Numbers: [45, 62]
Generated Node #0,2,2: 71:[45, 62] Operation: 76-14=62
Exploring Operation: 14+76=90, Resulting Numbers: [45, 90]
Generated Node #0,2,3: 71:[45, 90] Operation: 14+76=90
Exploring Operation: 14+45=59, Resulting Numbers: [76, 59]
Generated Node #0,2,4: 71:[76, 59] Operation: 14+45=59
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[76, 59], Operations: ['38*2=76', '14+45=59']
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,71 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[45, 62], Operations: ['38*2=76', '76-14=62']
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[76, 31], Operations: ['38*2=76', '45-14=31']
Exploring Operation: 76*31=2356, Resulting Numbers: [2356]
2356,71 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 76+31=107, Resulting Numbers: [107]
107,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[45, 90], Operations: ['38*2=76', '14+76=90']
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 45*90=4050, Resulting Numbers: [4050]
4050,71 unequal: No Solution
Exploring Operation: 45+90=135, Resulting Numbers: [135]
135,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[14, 31], Operations: ['38*2=76', '76-45=31']
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,71 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,71 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: 71:[38, 45, 28], Operations: ['14*2=28']
Exploring Operation: 38+28=66, Resulting Numbers: [45, 66]
Generated Node #0,4,0: 71:[45, 66] Operation: 38+28=66
Exploring Operation: 45+28=73, Resulting Numbers: [38, 73]
Generated Node #0,4,1: 71:[38, 73] Operation: 45+28=73
Exploring Operation: 38+45=83, Resulting Numbers: [28, 83]
Generated Node #0,4,2: 71:[28, 83] Operation: 38+45=83
Exploring Operation: 38-28=10, Resulting Numbers: [45, 10]
Generated Node #0,4,3: 71:[45, 10] Operation: 38-28=10
Exploring Operation: 45-28=17, Resulting Numbers: [38, 17]
Generated Node #0,4,4: 71:[38, 17] Operation: 45-28=17
Moving to Node #0,3
Current State: 71:[38, 14, 90], Operations: ['2*45=90']
Exploring Operation: 14+90=104, Resulting Numbers: [38, 104]
Generated Node #0,3,0: 71:[38, 104] Operation: 14+90=104
Exploring Operation: 90-38=52, Resulting Numbers: [14, 52]
Generated Node #0,3,1: 71:[14, 52] Operation: 90-38=52
Exploring Operation: 38+14=52, Resulting Numbers: [90, 52]
Generated Node #0,3,2: 71:[90, 52] Operation: 38+14=52
Exploring Operation: 90-14=76, Resulting Numbers: [38, 76]
Generated Node #0,3,3: 71:[38, 76] Operation: 90-14=76
Exploring Operation: 38-14=24, Resulting Numbers: [90, 24]
Generated Node #0,3,4: 71:[90, 24] Operation: 38-14=24
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[90, 52], Operations: ['2*45=90', '38+14=52']
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,71 unequal: No Solution
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[38, 76], Operations: ['2*45=90', '90-14=76']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,71 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,71 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[38, 104], Operations: ['2*45=90', '14+90=104']
Exploring Operation: 38+104=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 104-38=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 38*104=3952, Resulting Numbers: [3952]
3952,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[90, 24], Operations: ['2*45=90', '38-14=24']
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,71 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[14, 52], Operations: ['2*45=90', '90-38=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,71 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,71 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,71 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: 71:[2, 45, 52], Operations: ['38+14=52']
Exploring Operation: 2*45=90, Resulting Numbers: [52, 90]
Generated Node #0,0,0: 71:[52, 90] Operation: 2*45=90
Exploring Operation: 2+45=47, Resulting Numbers: [52, 47]
Generated Node #0,0,1: 71:[52, 47] Operation: 2+45=47
Exploring Operation: 52-2=50, Resulting Numbers: [45, 50]
Generated Node #0,0,2: 71:[45, 50] Operation: 52-2=50
Exploring Operation: 2+52=54, Resulting Numbers: [45, 54]
Generated Node #0,0,3: 71:[45, 54] Operation: 2+52=54
Exploring Operation: 45-2=43, Resulting Numbers: [52, 43]
Generated Node #0,0,4: 71:[52, 43] Operation: 45-2=43
Moving to Node #0,1
Current State: 71:[14, 45, 40], Operations: ['38+2=40']
Exploring Operation: 14+40=54, Resulting Numbers: [45, 54]
Generated Node #0,1,0: 71:[45, 54] Operation: 14+40=54
Exploring Operation: 45+40=85, Resulting Numbers: [14, 85]
Generated Node #0,1,1: 71:[14, 85] Operation: 45+40=85
Exploring Operation: 40-14=26, Resulting Numbers: [45, 26]
Generated Node #0,1,2: 71:[45, 26] Operation: 40-14=26
Exploring Operation: 14+45=59, Resulting Numbers: [40, 59]
Generated Node #0,1,3: 71:[40, 59] Operation: 14+45=59
Exploring Operation: 45-14=31, Resulting Numbers: [40, 31]
Generated Node #0,1,4: 71:[40, 31] Operation: 45-14=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[45, 54], Operations: ['38+2=40', '14+40=54']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,71 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[40, 59], Operations: ['38+2=40', '14+45=59']
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,71 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[14, 85], Operations: ['38+2=40', '45+40=85']
Exploring Operation: 14+85=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[38, 14, 2, 45], Operations: []
Exploring Operation: 38+2=40, Resulting Numbers: [14, 45, 40]
Generated Node #0,1: 71:[14, 45, 40] Operation: 38+2=40
Moving to Node #0,1
Current State: 71:[14, 45, 40], Operations: ['38+2=40']
Exploring Operation: 45+40=85, Resulting Numbers: [14, 85]
Generated Node #0,1,1: 71:[14, 85] Operation: 45+40=85
Moving to Node #0,1,1
Current State: 71:[14, 85], Operations: ['38+2=40', '45+40=85']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.935764 |
hs_5
|
mult_heuristic
|
[
94,
81,
35,
41
] | 36 |
[
"94+81=175",
"175/35=5",
"41-5=36"
] |
Current State: 36:[94, 81, 35, 41], Operations: []
Exploring Operation: 94+81=175, Resulting Numbers: [35, 41, 175]
Generated Node #2: [35, 41, 175] from Operation: 94+81=175
Current State: 36:[35, 41, 175], Operations: ['94+81=175']
Exploring Operation: 175/35=5, Resulting Numbers: [41, 5]
Generated Node #3: [41, 5] from Operation: 175/35=5
Current State: 36:[41, 5], Operations: ['94+81=175', '175/35=5']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[94, 81, 35, 41], Operations: []
Exploring Operation: 94-41=53, Resulting Numbers: [81, 35, 53]
Generated Node #0,0: 36:[81, 35, 53] Operation: 94-41=53
Exploring Operation: 81-41=40, Resulting Numbers: [94, 35, 40]
Generated Node #0,1: 36:[94, 35, 40] Operation: 81-41=40
Exploring Operation: 94-35=59, Resulting Numbers: [81, 41, 59]
Generated Node #0,2: 36:[81, 41, 59] Operation: 94-35=59
Exploring Operation: 94-81=13, Resulting Numbers: [35, 41, 13]
Generated Node #0,3: 36:[35, 41, 13] Operation: 94-81=13
Moving to Node #0,3
Current State: 36:[35, 41, 13], Operations: ['94-81=13']
Exploring Operation: 41-35=6, Resulting Numbers: [13, 6]
Generated Node #0,3,0: 36:[13, 6] Operation: 41-35=6
Exploring Operation: 41-13=28, Resulting Numbers: [35, 28]
Generated Node #0,3,1: 36:[35, 28] Operation: 41-13=28
Exploring Operation: 35-13=22, Resulting Numbers: [41, 22]
Generated Node #0,3,2: 36:[41, 22] Operation: 35-13=22
Exploring Operation: 35+13=48, Resulting Numbers: [41, 48]
Generated Node #0,3,3: 36:[41, 48] Operation: 35+13=48
Moving to Node #0,1
Current State: 36:[94, 35, 40], Operations: ['81-41=40']
Exploring Operation: 94-35=59, Resulting Numbers: [40, 59]
Generated Node #0,1,0: 36:[40, 59] Operation: 94-35=59
Exploring Operation: 94-40=54, Resulting Numbers: [35, 54]
Generated Node #0,1,1: 36:[35, 54] Operation: 94-40=54
Exploring Operation: 40-35=5, Resulting Numbers: [94, 5]
Generated Node #0,1,2: 36:[94, 5] Operation: 40-35=5
Exploring Operation: 94+35=129, Resulting Numbers: [40, 129]
Generated Node #0,1,3: 36:[40, 129] Operation: 94+35=129
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[35, 54], Operations: ['81-41=40', '94-40=54']
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[40, 59], Operations: ['81-41=40', '94-35=59']
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,36 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[94, 5], Operations: ['81-41=40', '40-35=5']
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,36 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[40, 129], Operations: ['81-41=40', '94+35=129']
Exploring Operation: 129-40=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 40*129=5160, Resulting Numbers: [5160]
5160,36 unequal: No Solution
Exploring Operation: 40+129=169, Resulting Numbers: [169]
169,36 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: 36:[81, 35, 53], Operations: ['94-41=53']
Exploring Operation: 81-35=46, Resulting Numbers: [53, 46]
Generated Node #0,0,0: 36:[53, 46] Operation: 81-35=46
Exploring Operation: 81-53=28, Resulting Numbers: [35, 28]
Generated Node #0,0,1: 36:[35, 28] Operation: 81-53=28
Exploring Operation: 53-35=18, Resulting Numbers: [81, 18]
Generated Node #0,0,2: 36:[81, 18] Operation: 53-35=18
Exploring Operation: 81+35=116, Resulting Numbers: [53, 116]
Generated Node #0,0,3: 36:[53, 116] Operation: 81+35=116
Moving to Node #0,2
Current State: 36:[81, 41, 59], Operations: ['94-35=59']
Exploring Operation: 81-59=22, Resulting Numbers: [41, 22]
Generated Node #0,2,0: 36:[41, 22] Operation: 81-59=22
Exploring Operation: 81+41=122, Resulting Numbers: [59, 122]
Generated Node #0,2,1: 36:[59, 122] Operation: 81+41=122
Exploring Operation: 59-41=18, Resulting Numbers: [81, 18]
Generated Node #0,2,2: 36:[81, 18] Operation: 59-41=18
Exploring Operation: 81-41=40, Resulting Numbers: [59, 40]
Generated Node #0,2,3: 36:[59, 40] Operation: 81-41=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[41, 22], Operations: ['94-35=59', '81-59=22']
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,36 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[59, 40], Operations: ['94-35=59', '81-41=40']
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[81, 18], Operations: ['94-35=59', '59-41=18']
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,36 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[59, 122], Operations: ['94-35=59', '81+41=122']
Exploring Operation: 59*122=7198, Resulting Numbers: [7198]
7198,36 unequal: No Solution
Exploring Operation: 122-59=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 59+122=181, Resulting Numbers: [181]
181,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 36:[13, 6], Operations: ['94-81=13', '41-35=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[41, 22], Operations: ['94-81=13', '35-13=22']
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,36 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[35, 28], Operations: ['94-81=13', '41-13=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,36 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[35, 28], Operations: ['94-41=53', '81-53=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[41, 48], Operations: ['94-81=13', '35+13=48']
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[53, 46], Operations: ['94-41=53', '81-35=46']
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,36 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[81, 18], Operations: ['94-41=53', '53-35=18']
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,36 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[53, 116], Operations: ['94-41=53', '81+35=116']
Exploring Operation: 116-53=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 53+116=169, Resulting Numbers: [169]
169,36 unequal: No Solution
Exploring Operation: 53*116=6148, Resulting Numbers: [6148]
6148,36 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
11,
49,
98,
87
] | 49 |
[
"11+49=60",
"98-87=11",
"60-11=49"
] |
Current State: 49:[11, 49, 98, 87], Operations: []
Exploring Operation: 11+49=60, Resulting Numbers: [98, 87, 60]
Generated Node #2: [98, 87, 60] from Operation: 11+49=60
Current State: 49:[98, 87, 60], Operations: ['11+49=60']
Exploring Operation: 98-87=11, Resulting Numbers: [60, 11]
Generated Node #3: [60, 11] from Operation: 98-87=11
Current State: 49:[60, 11], Operations: ['11+49=60', '98-87=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[11, 49, 98, 87], Operations: []
Exploring Operation: 87-49=38, Resulting Numbers: [11, 98, 38]
Generated Node #0,0: 49:[11, 98, 38] Operation: 87-49=38
Exploring Operation: 98-49=49, Resulting Numbers: [11, 87, 49]
Generated Node #0,1: 49:[11, 87, 49] Operation: 98-49=49
Exploring Operation: 98-87=11, Resulting Numbers: [11, 49, 11]
Generated Node #0,2: 49:[11, 49, 11] Operation: 98-87=11
Exploring Operation: 98-11=87, Resulting Numbers: [49, 87, 87]
Generated Node #0,3: 49:[49, 87, 87] Operation: 98-11=87
Exploring Operation: 98/49=2, Resulting Numbers: [11, 87, 2]
Generated Node #0,4: 49:[11, 87, 2] Operation: 98/49=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[11, 49, 11], Operations: ['98-87=11']
Exploring Operation: 11/11=1, Resulting Numbers: [49, 1]
Generated Node #0,2,0: 49:[49, 1] Operation: 11/11=1
Exploring Operation: 11+49=60, Resulting Numbers: [11, 60]
Generated Node #0,2,1: 49:[11, 60] Operation: 11+49=60
Exploring Operation: 11-11=0, Resulting Numbers: [49, 0]
Generated Node #0,2,2: 49:[49, 0] Operation: 11-11=0
Exploring Operation: 49-11=38, Resulting Numbers: [11, 38]
Generated Node #0,2,3: 49:[11, 38] Operation: 49-11=38
Exploring Operation: 11+11=22, Resulting Numbers: [49, 22]
Generated Node #0,2,4: 49:[49, 22] Operation: 11+11=22
Moving to Node #0,2,0
Current State: 49:[49, 1], Operations: ['98-87=11', '11/11=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[11, 49, 98, 87], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [11, 49, 11]
Generated Node #0,2: 49:[11, 49, 11] Operation: 98-87=11
Moving to Node #0,2
Current State: 49:[11, 49, 11], Operations: ['98-87=11']
Exploring Operation: 11/11=1, Resulting Numbers: [49, 1]
Generated Node #0,2,0: 49:[49, 1] Operation: 11/11=1
Moving to Node #0,2,0
Current State: 49:[49, 1], Operations: ['98-87=11', '11/11=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_5
|
mult_heuristic
|
[
36,
6,
93,
6
] | 57 |
[
"36+6=42",
"93+6=99",
"99-42=57"
] |
Current State: 57:[36, 6, 93, 6], Operations: []
Exploring Operation: 36+6=42, Resulting Numbers: [93, 42]
Generated Node #2: [93, 42] from Operation: 36+6=42
Current State: 57:[93, 42], Operations: ['36+6=42']
Exploring Operation: 93+6=99, Resulting Numbers: [42, 99]
Generated Node #3: [42, 99] from Operation: 93+6=99
Current State: 57:[42, 99], Operations: ['36+6=42', '93+6=99']
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[36, 6, 93, 6], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [6, 6, 57]
Generated Node #0,0: 57:[6, 6, 57] Operation: 93-36=57
Moving to Node #0,0
Current State: 57:[6, 6, 57], Operations: ['93-36=57']
Exploring Operation: 6/6=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 57:[57, 1] Operation: 6/6=1
Moving to Node #0,0,0
Current State: 57:[57, 1], Operations: ['93-36=57', '6/6=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[36, 6, 93, 6], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [6, 6, 57]
Generated Node #0,0: 57:[6, 6, 57] Operation: 93-36=57
Moving to Node #0,0
Current State: 57:[6, 6, 57], Operations: ['93-36=57']
Exploring Operation: 6/6=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 57:[57, 1] Operation: 6/6=1
Moving to Node #0,0,0
Current State: 57:[57, 1], Operations: ['93-36=57', '6/6=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
9,
23,
32,
22
] | 31 |
[
"32*22=704",
"9+704=713",
"713/23=31"
] |
Current State: 31:[9, 23, 32, 22], Operations: []
Exploring Operation: 32*22=704, Resulting Numbers: [9, 23, 704]
Generated Node #2: [9, 23, 704] from Operation: 32*22=704
Current State: 31:[9, 23, 704], Operations: ['32*22=704']
Exploring Operation: 9+704=713, Resulting Numbers: [23, 713]
Generated Node #3: [23, 713] from Operation: 9+704=713
Current State: 31:[23, 713], Operations: ['32*22=704', '9+704=713']
Exploring Operation: 713/23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[9, 23, 32, 22], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [32, 22, 32]
Generated Node #0,0: 31:[32, 22, 32] Operation: 9+23=32
Exploring Operation: 9+32=41, Resulting Numbers: [23, 22, 41]
Generated Node #0,1: 31:[23, 22, 41] Operation: 9+32=41
Exploring Operation: 9+22=31, Resulting Numbers: [23, 32, 31]
Generated Node #0,2: 31:[23, 32, 31] Operation: 9+22=31
Exploring Operation: 23-9=14, Resulting Numbers: [32, 22, 14]
Generated Node #0,3: 31:[32, 22, 14] Operation: 23-9=14
Exploring Operation: 32-9=23, Resulting Numbers: [23, 22, 23]
Generated Node #0,4: 31:[23, 22, 23] Operation: 32-9=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[23, 32, 31], Operations: ['9+22=31']
Exploring Operation: 32-23=9, Resulting Numbers: [31, 9]
Generated Node #0,2,0: 31:[31, 9] Operation: 32-23=9
Exploring Operation: 31-23=8, Resulting Numbers: [32, 8]
Generated Node #0,2,1: 31:[32, 8] Operation: 31-23=8
Exploring Operation: 23+31=54, Resulting Numbers: [32, 54]
Generated Node #0,2,2: 31:[32, 54] Operation: 23+31=54
Exploring Operation: 32-31=1, Resulting Numbers: [23, 1]
Generated Node #0,2,3: 31:[23, 1] Operation: 32-31=1
Exploring Operation: 23+32=55, Resulting Numbers: [31, 55]
Generated Node #0,2,4: 31:[31, 55] Operation: 23+32=55
Moving to Node #0,2,0
Current State: 31:[31, 9], Operations: ['9+22=31', '32-23=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,31 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[32, 54], Operations: ['9+22=31', '23+31=54']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[32, 8], Operations: ['9+22=31', '31-23=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[31, 55], Operations: ['9+22=31', '23+32=55']
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[23, 1], Operations: ['9+22=31', '32-31=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[32, 22, 32], Operations: ['9+23=32']
Exploring Operation: 32/32=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 31:[22, 1] Operation: 32/32=1
Exploring Operation: 22+32=54, Resulting Numbers: [32, 54]
Generated Node #0,0,1: 31:[32, 54] Operation: 22+32=54
Exploring Operation: 32-22=10, Resulting Numbers: [32, 10]
Generated Node #0,0,2: 31:[32, 10] Operation: 32-22=10
Exploring Operation: 32-22=10, Resulting Numbers: [32, 10]
Generated Node #0,0,3: 31:[32, 10] Operation: 32-22=10
Exploring Operation: 32+22=54, Resulting Numbers: [32, 54]
Generated Node #0,0,4: 31:[32, 54] Operation: 32+22=54
Moving to Node #0,0,2
Current State: 31:[32, 10], Operations: ['9+23=32', '32-22=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,31 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[32, 10], Operations: ['9+23=32', '32-22=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[32, 54], Operations: ['9+23=32', '22+32=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,31 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[32, 54], Operations: ['9+23=32', '32+22=54']
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[22, 1], Operations: ['9+23=32', '32/32=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[23, 22, 23], Operations: ['32-9=23']
Exploring Operation: 22+23=45, Resulting Numbers: [23, 45]
Generated Node #0,4,0: 31:[23, 45] Operation: 22+23=45
Exploring Operation: 23-22=1, Resulting Numbers: [23, 1]
Generated Node #0,4,1: 31:[23, 1] Operation: 23-22=1
Exploring Operation: 23+23=46, Resulting Numbers: [22, 46]
Generated Node #0,4,2: 31:[22, 46] Operation: 23+23=46
Exploring Operation: 23-22=1, Resulting Numbers: [23, 1]
Generated Node #0,4,3: 31:[23, 1] Operation: 23-22=1
Exploring Operation: 23+22=45, Resulting Numbers: [23, 45]
Generated Node #0,4,4: 31:[23, 45] Operation: 23+22=45
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 31:[23, 45], Operations: ['32-9=23', '22+23=45']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,31 unequal: No Solution
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 31:[23, 45], Operations: ['32-9=23', '23+22=45']
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,31 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 31:[22, 46], Operations: ['32-9=23', '23+23=46']
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,31 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 31:[23, 1], Operations: ['32-9=23', '23-22=1']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 31:[23, 1], Operations: ['32-9=23', '23-22=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[23, 22, 41], Operations: ['9+32=41']
Exploring Operation: 23+22=45, Resulting Numbers: [41, 45]
Generated Node #0,1,0: 31:[41, 45] Operation: 23+22=45
Exploring Operation: 22+41=63, Resulting Numbers: [23, 63]
Generated Node #0,1,1: 31:[23, 63] Operation: 22+41=63
Exploring Operation: 41-23=18, Resulting Numbers: [22, 18]
Generated Node #0,1,2: 31:[22, 18] Operation: 41-23=18
Exploring Operation: 41-22=19, Resulting Numbers: [23, 19]
Generated Node #0,1,3: 31:[23, 19] Operation: 41-22=19
Exploring Operation: 23-22=1, Resulting Numbers: [41, 1]
Generated Node #0,1,4: 31:[41, 1] Operation: 23-22=1
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 31:[23, 19], Operations: ['9+32=41', '41-22=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,31 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[22, 18], Operations: ['9+32=41', '41-23=18']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,31 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[41, 45], Operations: ['9+32=41', '23+22=45']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,31 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[23, 63], Operations: ['9+32=41', '22+41=63']
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,31 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 31:[41, 1], Operations: ['9+32=41', '23-22=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,31 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[32, 22, 14], Operations: ['23-9=14']
Exploring Operation: 22-14=8, Resulting Numbers: [32, 8]
Generated Node #0,3,0: 31:[32, 8] Operation: 22-14=8
Exploring Operation: 32+14=46, Resulting Numbers: [22, 46]
Generated Node #0,3,1: 31:[22, 46] Operation: 32+14=46
Exploring Operation: 32-14=18, Resulting Numbers: [22, 18]
Generated Node #0,3,2: 31:[22, 18] Operation: 32-14=18
Exploring Operation: 22+14=36, Resulting Numbers: [32, 36]
Generated Node #0,3,3: 31:[32, 36] Operation: 22+14=36
Exploring Operation: 32-22=10, Resulting Numbers: [14, 10]
Generated Node #0,3,4: 31:[14, 10] Operation: 32-22=10
Moving to Node #0,3,3
Current State: 31:[32, 36], Operations: ['23-9=14', '22+14=36']
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,31 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[22, 18], Operations: ['23-9=14', '32-14=18']
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,31 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[32, 8], Operations: ['23-9=14', '22-14=8']
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,31 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[22, 46], Operations: ['23-9=14', '32+14=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,31 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[14, 10], Operations: ['23-9=14', '32-22=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,31 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,31 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
|
[
27,
7,
20,
60
] | 37 |
[
"27+7=34",
"60/20=3",
"34+3=37"
] |
Current State: 37:[27, 7, 20, 60], Operations: []
Exploring Operation: 27+7=34, Resulting Numbers: [20, 60, 34]
Generated Node #2: [20, 60, 34] from Operation: 27+7=34
Current State: 37:[20, 60, 34], Operations: ['27+7=34']
Exploring Operation: 60/20=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 60/20=3
Current State: 37:[34, 3], Operations: ['27+7=34', '60/20=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[27, 7, 20, 60], Operations: []
Exploring Operation: 27+7=34, Resulting Numbers: [20, 60, 34]
Generated Node #0,0: 37:[20, 60, 34] Operation: 27+7=34
Exploring Operation: 7+20=27, Resulting Numbers: [27, 60, 27]
Generated Node #0,1: 37:[27, 60, 27] Operation: 7+20=27
Exploring Operation: 60-7=53, Resulting Numbers: [27, 20, 53]
Generated Node #0,2: 37:[27, 20, 53] Operation: 60-7=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[20, 60, 34], Operations: ['27+7=34']
Exploring Operation: 60-20=40, Resulting Numbers: [34, 40]
Generated Node #0,0,0: 37:[34, 40] Operation: 60-20=40
Exploring Operation: 60-34=26, Resulting Numbers: [20, 26]
Generated Node #0,0,1: 37:[20, 26] Operation: 60-34=26
Exploring Operation: 60/20=3, Resulting Numbers: [34, 3]
Generated Node #0,0,2: 37:[34, 3] Operation: 60/20=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[34, 40], Operations: ['27+7=34', '60-20=40']
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,37 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,37 unequal: No Solution
No 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: 37:[20, 26], Operations: ['27+7=34', '60-34=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,37 unequal: No Solution
No 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: 37:[34, 3], Operations: ['27+7=34', '60/20=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[27, 7, 20, 60], Operations: []
Exploring Operation: 27+7=34, Resulting Numbers: [20, 60, 34]
Generated Node #0,0: 37:[20, 60, 34] Operation: 27+7=34
Moving to Node #0,0
Current State: 37:[20, 60, 34], Operations: ['27+7=34']
Exploring Operation: 60/20=3, Resulting Numbers: [34, 3]
Generated Node #0,0,2: 37:[34, 3] Operation: 60/20=3
Moving to Node #0,0,2
Current State: 37:[34, 3], Operations: ['27+7=34', '60/20=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
mult_heuristic
|
[
44,
98,
29,
10
] | 31 |
[
"98-10=88",
"88/44=2",
"29+2=31"
] |
Current State: 31:[44, 98, 29, 10], Operations: []
Exploring Operation: 98-10=88, Resulting Numbers: [44, 29, 88]
Generated Node #2: [44, 29, 88] from Operation: 98-10=88
Current State: 31:[44, 29, 88], Operations: ['98-10=88']
Exploring Operation: 88/44=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 88/44=2
Current State: 31:[29, 2], Operations: ['98-10=88', '88/44=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[44, 98, 29, 10], Operations: []
Exploring Operation: 44-10=34, Resulting Numbers: [98, 29, 34]
Generated Node #0,0: 31:[98, 29, 34] Operation: 44-10=34
Exploring Operation: 98-44=54, Resulting Numbers: [29, 10, 54]
Generated Node #0,1: 31:[29, 10, 54] Operation: 98-44=54
Exploring Operation: 98-29=69, Resulting Numbers: [44, 10, 69]
Generated Node #0,2: 31:[44, 10, 69] Operation: 98-29=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[29, 10, 54], Operations: ['98-44=54']
Exploring Operation: 29+10=39, Resulting Numbers: [54, 39]
Generated Node #0,1,0: 31:[54, 39] Operation: 29+10=39
Exploring Operation: 54-29=25, Resulting Numbers: [10, 25]
Generated Node #0,1,1: 31:[10, 25] Operation: 54-29=25
Exploring Operation: 54-10=44, Resulting Numbers: [29, 44]
Generated Node #0,1,2: 31:[29, 44] Operation: 54-10=44
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[29, 44], Operations: ['98-44=54', '54-10=44']
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[10, 25], Operations: ['98-44=54', '54-29=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,31 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[54, 39], Operations: ['98-44=54', '29+10=39']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,31 unequal: No Solution
Exploring Operation: 54*39=2106, Resulting Numbers: [2106]
2106,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[98, 29, 34], Operations: ['44-10=34']
Exploring Operation: 34-29=5, Resulting Numbers: [98, 5]
Generated Node #0,0,0: 31:[98, 5] Operation: 34-29=5
Exploring Operation: 98-29=69, Resulting Numbers: [34, 69]
Generated Node #0,0,1: 31:[34, 69] Operation: 98-29=69
Exploring Operation: 98-34=64, Resulting Numbers: [29, 64]
Generated Node #0,0,2: 31:[29, 64] Operation: 98-34=64
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[29, 64], Operations: ['44-10=34', '98-34=64']
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,31 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,31 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[34, 69], Operations: ['44-10=34', '98-29=69']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 34+69=103, Resulting Numbers: [103]
103,31 unequal: No Solution
Exploring Operation: 34*69=2346, Resulting Numbers: [2346]
2346,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[98, 5], Operations: ['44-10=34', '34-29=5']
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,31 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,31 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[44, 10, 69], Operations: ['98-29=69']
Exploring Operation: 69-44=25, Resulting Numbers: [10, 25]
Generated Node #0,2,0: 31:[10, 25] Operation: 69-44=25
Exploring Operation: 44-10=34, Resulting Numbers: [69, 34]
Generated Node #0,2,1: 31:[69, 34] Operation: 44-10=34
Exploring Operation: 69-10=59, Resulting Numbers: [44, 59]
Generated Node #0,2,2: 31:[44, 59] Operation: 69-10=59
Moving to Node #0,2,0
Current State: 31:[10, 25], Operations: ['98-29=69', '69-44=25']
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,31 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[69, 34], Operations: ['98-29=69', '44-10=34']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,31 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[44, 59], Operations: ['98-29=69', '69-10=59']
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,31 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,31 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
|
[
67,
37,
83,
7
] | 46 |
[
"67-37=30",
"83-7=76",
"76-30=46"
] |
Current State: 46:[67, 37, 83, 7], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [83, 7, 30]
Generated Node #2: [83, 7, 30] from Operation: 67-37=30
Current State: 46:[83, 7, 30], Operations: ['67-37=30']
Exploring Operation: 83-7=76, Resulting Numbers: [30, 76]
Generated Node #3: [30, 76] from Operation: 83-7=76
Current State: 46:[30, 76], Operations: ['67-37=30', '83-7=76']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[67, 37, 83, 7], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [83, 7, 30]
Generated Node #0,0: 46:[83, 7, 30] Operation: 67-37=30
Exploring Operation: 83-37=46, Resulting Numbers: [67, 7, 46]
Generated Node #0,1: 46:[67, 7, 46] Operation: 83-37=46
Exploring Operation: 83-67=16, Resulting Numbers: [37, 7, 16]
Generated Node #0,2: 46:[37, 7, 16] Operation: 83-67=16
Moving to Node #0,2
Current State: 46:[37, 7, 16], Operations: ['83-67=16']
Exploring Operation: 7+16=23, Resulting Numbers: [37, 23]
Generated Node #0,2,0: 46:[37, 23] Operation: 7+16=23
Exploring Operation: 37-16=21, Resulting Numbers: [7, 21]
Generated Node #0,2,1: 46:[7, 21] Operation: 37-16=21
Exploring Operation: 37+7=44, Resulting Numbers: [16, 44]
Generated Node #0,2,2: 46:[16, 44] Operation: 37+7=44
Moving to Node #0,1
Current State: 46:[67, 7, 46], Operations: ['83-37=46']
Exploring Operation: 67-46=21, Resulting Numbers: [7, 21]
Generated Node #0,1,0: 46:[7, 21] Operation: 67-46=21
Exploring Operation: 67-7=60, Resulting Numbers: [46, 60]
Generated Node #0,1,1: 46:[46, 60] Operation: 67-7=60
Exploring Operation: 67+7=74, Resulting Numbers: [46, 74]
Generated Node #0,1,2: 46:[46, 74] Operation: 67+7=74
Moving to Node #0,0
Current State: 46:[83, 7, 30], Operations: ['67-37=30']
Exploring Operation: 83-30=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 46:[7, 53] Operation: 83-30=53
Exploring Operation: 30-7=23, Resulting Numbers: [83, 23]
Generated Node #0,0,1: 46:[83, 23] Operation: 30-7=23
Exploring Operation: 83-7=76, Resulting Numbers: [30, 76]
Generated Node #0,0,2: 46:[30, 76] Operation: 83-7=76
Moving to Node #0,2,1
Current State: 46:[7, 21], Operations: ['83-67=16', '37-16=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[7, 21], Operations: ['83-37=46', '67-46=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[16, 44], Operations: ['83-67=16', '37+7=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[37, 23], Operations: ['83-67=16', '7+16=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[7, 53], Operations: ['67-37=30', '83-30=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[67, 37, 83, 7], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [83, 7, 30]
Generated Node #0,0: 46:[83, 7, 30] Operation: 67-37=30
Moving to Node #0,0
Current State: 46:[83, 7, 30], Operations: ['67-37=30']
Exploring Operation: 83-30=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 46:[7, 53] Operation: 83-30=53
Moving to Node #0,0,0
Current State: 46:[7, 53], Operations: ['67-37=30', '83-30=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.973958 |
hs_3
|
mult_heuristic
|
[
64,
51,
8,
75
] | 17 |
[
"64+8=72",
"75-72=3",
"51/3=17"
] |
Current State: 17:[64, 51, 8, 75], Operations: []
Exploring Operation: 64+8=72, Resulting Numbers: [51, 75, 72]
Generated Node #2: [51, 75, 72] from Operation: 64+8=72
Current State: 17:[51, 75, 72], Operations: ['64+8=72']
Exploring Operation: 75-72=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 75-72=3
Current State: 17:[51, 3], Operations: ['64+8=72', '75-72=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[64, 51, 8, 75], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [51, 8, 11]
Generated Node #0,0: 17:[51, 8, 11] Operation: 75-64=11
Moving to Node #0,0
Current State: 17:[51, 8, 11], Operations: ['75-64=11']
Exploring Operation: 51-8=43, Resulting Numbers: [11, 43]
Generated Node #0,0,0: 17:[11, 43] Operation: 51-8=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[11, 43], Operations: ['75-64=11', '51-8=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,17 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
|
[
78,
32,
1,
63
] | 46 |
[
"78+32=110",
"1+63=64",
"110-64=46"
] |
Current State: 46:[78, 32, 1, 63], Operations: []
Exploring Operation: 78+32=110, Resulting Numbers: [1, 63, 110]
Generated Node #2: [1, 63, 110] from Operation: 78+32=110
Current State: 46:[1, 63, 110], Operations: ['78+32=110']
Exploring Operation: 1+63=64, Resulting Numbers: [110, 64]
Generated Node #3: [110, 64] from Operation: 1+63=64
Current State: 46:[110, 64], Operations: ['78+32=110', '1+63=64']
Exploring Operation: 110-64=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[78, 32, 1, 63], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [32, 1, 15]
Generated Node #0,0: 46:[32, 1, 15] Operation: 78-63=15
Exploring Operation: 78-32=46, Resulting Numbers: [1, 63, 46]
Generated Node #0,1: 46:[1, 63, 46] Operation: 78-32=46
Moving to Node #0,0
Current State: 46:[32, 1, 15], Operations: ['78-63=15']
Exploring Operation: 32-15=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 46:[1, 17] Operation: 32-15=17
Exploring Operation: 32+15=47, Resulting Numbers: [1, 47]
Generated Node #0,0,1: 46:[1, 47] Operation: 32+15=47
Moving to Node #0,1
Current State: 46:[1, 63, 46], Operations: ['78-32=46']
Exploring Operation: 63-46=17, Resulting Numbers: [1, 17]
Generated Node #0,1,0: 46:[1, 17] Operation: 63-46=17
Exploring Operation: 63-1=62, Resulting Numbers: [46, 62]
Generated Node #0,1,1: 46:[46, 62] Operation: 63-1=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[1, 17], Operations: ['78-32=46', '63-46=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[46, 62], Operations: ['78-32=46', '63-1=62']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 46:[1, 47], Operations: ['78-63=15', '32+15=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[78, 32, 1, 63], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [32, 1, 15]
Generated Node #0,0: 46:[32, 1, 15] Operation: 78-63=15
Moving to Node #0,0
Current State: 46:[32, 1, 15], Operations: ['78-63=15']
Exploring Operation: 32+15=47, Resulting Numbers: [1, 47]
Generated Node #0,0,1: 46:[1, 47] Operation: 32+15=47
Moving to Node #0,0,1
Current State: 46:[1, 47], Operations: ['78-63=15', '32+15=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.986979 |
hs_2
|
mult_heuristic
|
[
11,
2,
22,
65
] | 30 |
[
"11+2=13",
"65-22=43",
"43-13=30"
] |
Current State: 30:[11, 2, 22, 65], Operations: []
Exploring Operation: 11+2=13, Resulting Numbers: [22, 65, 13]
Generated Node #2: [22, 65, 13] from Operation: 11+2=13
Current State: 30:[22, 65, 13], Operations: ['11+2=13']
Exploring Operation: 65-22=43, Resulting Numbers: [13, 43]
Generated Node #3: [13, 43] from Operation: 65-22=43
Current State: 30:[13, 43], Operations: ['11+2=13', '65-22=43']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[11, 2, 22, 65], Operations: []
Exploring Operation: 65-22=43, Resulting Numbers: [11, 2, 43]
Generated Node #0,0: 30:[11, 2, 43] Operation: 65-22=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[11, 2, 43], Operations: ['65-22=43']
Exploring Operation: 43-11=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 30:[2, 32] Operation: 43-11=32
Moving to Node #0,0,0
Current State: 30:[2, 32], Operations: ['65-22=43', '43-11=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[11, 2, 22, 65], Operations: []
Exploring Operation: 65-22=43, Resulting Numbers: [11, 2, 43]
Generated Node #0,0: 30:[11, 2, 43] Operation: 65-22=43
Moving to Node #0,0
Current State: 30:[11, 2, 43], Operations: ['65-22=43']
Exploring Operation: 43-11=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 30:[2, 32] Operation: 43-11=32
Moving to Node #0,0,0
Current State: 30:[2, 32], Operations: ['65-22=43', '43-11=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
62,
45,
3,
63
] | 16 |
[
"63-62=1",
"45/3=15",
"1+15=16"
] |
Current State: 16:[62, 45, 3, 63], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [45, 3, 1]
Generated Node #2: [45, 3, 1] from Operation: 63-62=1
Current State: 16:[45, 3, 1], Operations: ['63-62=1']
Exploring Operation: 45/3=15, Resulting Numbers: [1, 15]
Generated Node #3: [1, 15] from Operation: 45/3=15
Current State: 16:[1, 15], Operations: ['63-62=1', '45/3=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[62, 45, 3, 63], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [45, 3, 1]
Generated Node #0,0: 16:[45, 3, 1] Operation: 63-62=1
Exploring Operation: 62-45=17, Resulting Numbers: [3, 63, 17]
Generated Node #0,1: 16:[3, 63, 17] Operation: 62-45=17
Exploring Operation: 63-45=18, Resulting Numbers: [62, 3, 18]
Generated Node #0,2: 16:[62, 3, 18] Operation: 63-45=18
Exploring Operation: 63/3=21, Resulting Numbers: [62, 45, 21]
Generated Node #0,3: 16:[62, 45, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[45, 3, 1], Operations: ['63-62=1']
Exploring Operation: 3+1=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 16:[45, 4] Operation: 3+1=4
Exploring Operation: 45-1=44, Resulting Numbers: [3, 44]
Generated Node #0,0,1: 16:[3, 44] Operation: 45-1=44
Exploring Operation: 45/3=15, Resulting Numbers: [1, 15]
Generated Node #0,0,2: 16:[1, 15] Operation: 45/3=15
Exploring Operation: 45-3=42, Resulting Numbers: [1, 42]
Generated Node #0,0,3: 16:[1, 42] Operation: 45-3=42
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[1, 15], Operations: ['63-62=1', '45/3=15']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[62, 45, 3, 63], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [45, 3, 1]
Generated Node #0,0: 16:[45, 3, 1] Operation: 63-62=1
Moving to Node #0,0
Current State: 16:[45, 3, 1], Operations: ['63-62=1']
Exploring Operation: 45/3=15, Resulting Numbers: [1, 15]
Generated Node #0,0,2: 16:[1, 15] Operation: 45/3=15
Moving to Node #0,0,2
Current State: 16:[1, 15], Operations: ['63-62=1', '45/3=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
8,
60,
44,
58
] | 26 |
[
"8+44=52",
"60-58=2",
"52/2=26"
] |
Current State: 26:[8, 60, 44, 58], Operations: []
Exploring Operation: 8+44=52, Resulting Numbers: [60, 58, 52]
Generated Node #2: [60, 58, 52] from Operation: 8+44=52
Current State: 26:[60, 58, 52], Operations: ['8+44=52']
Exploring Operation: 60-58=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 60-58=2
Current State: 26:[52, 2], Operations: ['8+44=52', '60-58=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 |
Current State: 26:[8, 60, 44, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [8, 44, 2]
Generated Node #0,0: 26:[8, 44, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 26:[8, 44, 2], Operations: ['60-58=2']
Exploring Operation: 44/2=22, Resulting Numbers: [8, 22]
Generated Node #0,0,0: 26:[8, 22] Operation: 44/2=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[8, 22], Operations: ['60-58=2', '44/2=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,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
|
sum_heuristic
|
[
36,
19,
28,
26
] | 74 |
[
"28-26=2",
"19*2=38",
"36+38=74"
] |
Current State: 74:[36, 19, 28, 26], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [36, 19, 2]
Generated Node #2: [36, 19, 2] from Operation: 28-26=2
Current State: 74:[36, 19, 2], Operations: ['28-26=2']
Exploring Operation: 19*2=38, Resulting Numbers: [36, 38]
Generated Node #3: [36, 38] from Operation: 19*2=38
Current State: 74:[36, 38], Operations: ['28-26=2', '19*2=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 |
Current State: 74:[36, 19, 28, 26], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [36, 28, 7]
Generated Node #0,0: 74:[36, 28, 7] Operation: 26-19=7
Exploring Operation: 19+26=45, Resulting Numbers: [36, 28, 45]
Generated Node #0,1: 74:[36, 28, 45] Operation: 19+26=45
Exploring Operation: 28-26=2, Resulting Numbers: [36, 19, 2]
Generated Node #0,2: 74:[36, 19, 2] Operation: 28-26=2
Exploring Operation: 28-19=9, Resulting Numbers: [36, 26, 9]
Generated Node #0,3: 74:[36, 26, 9] Operation: 28-19=9
Exploring Operation: 19+28=47, Resulting Numbers: [36, 26, 47]
Generated Node #0,4: 74:[36, 26, 47] Operation: 19+28=47
Moving to Node #0,0
Current State: 74:[36, 28, 7], Operations: ['26-19=7']
Exploring Operation: 36+28=64, Resulting Numbers: [7, 64]
Generated Node #0,0,0: 74:[7, 64] Operation: 36+28=64
Exploring Operation: 28/7=4, Resulting Numbers: [36, 4]
Generated Node #0,0,1: 74:[36, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [36, 35]
Generated Node #0,0,2: 74:[36, 35] Operation: 28+7=35
Exploring Operation: 36-28=8, Resulting Numbers: [7, 8]
Generated Node #0,0,3: 74:[7, 8] Operation: 36-28=8
Exploring Operation: 36+7=43, Resulting Numbers: [28, 43]
Generated Node #0,0,4: 74:[28, 43] Operation: 36+7=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[36, 4], Operations: ['26-19=7', '28/7=4']
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[36, 35], Operations: ['26-19=7', '28+7=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,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,3
Current State: 74:[7, 8], Operations: ['26-19=7', '36-28=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,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:[7, 64], Operations: ['26-19=7', '36+28=64']
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,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,4
Current State: 74:[28, 43], Operations: ['26-19=7', '36+7=43']
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,74 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 74:[36, 19, 2], Operations: ['28-26=2']
Exploring Operation: 19*2=38, Resulting Numbers: [36, 38]
Generated Node #0,2,0: 74:[36, 38] Operation: 19*2=38
Exploring Operation: 19-2=17, Resulting Numbers: [36, 17]
Generated Node #0,2,1: 74:[36, 17] Operation: 19-2=17
Exploring Operation: 36-19=17, Resulting Numbers: [2, 17]
Generated Node #0,2,2: 74:[2, 17] Operation: 36-19=17
Exploring Operation: 36+19=55, Resulting Numbers: [2, 55]
Generated Node #0,2,3: 74:[2, 55] Operation: 36+19=55
Exploring Operation: 19+2=21, Resulting Numbers: [36, 21]
Generated Node #0,2,4: 74:[36, 21] Operation: 19+2=21
Moving to Node #0,1
Current State: 74:[36, 28, 45], Operations: ['19+26=45']
Exploring Operation: 45-28=17, Resulting Numbers: [36, 17]
Generated Node #0,1,0: 74:[36, 17] Operation: 45-28=17
Exploring Operation: 45-36=9, Resulting Numbers: [28, 9]
Generated Node #0,1,1: 74:[28, 9] Operation: 45-36=9
Exploring Operation: 28+45=73, Resulting Numbers: [36, 73]
Generated Node #0,1,2: 74:[36, 73] Operation: 28+45=73
Exploring Operation: 36+45=81, Resulting Numbers: [28, 81]
Generated Node #0,1,3: 74:[28, 81] Operation: 36+45=81
Exploring Operation: 36-28=8, Resulting Numbers: [45, 8]
Generated Node #0,1,4: 74:[45, 8] Operation: 36-28=8
Moving to Node #0,3
Current State: 74:[36, 26, 9], Operations: ['28-19=9']
Exploring Operation: 36+26=62, Resulting Numbers: [9, 62]
Generated Node #0,3,0: 74:[9, 62] Operation: 36+26=62
Exploring Operation: 26-9=17, Resulting Numbers: [36, 17]
Generated Node #0,3,1: 74:[36, 17] Operation: 26-9=17
Exploring Operation: 36/9=4, Resulting Numbers: [26, 4]
Generated Node #0,3,2: 74:[26, 4] Operation: 36/9=4
Exploring Operation: 36-26=10, Resulting Numbers: [9, 10]
Generated Node #0,3,3: 74:[9, 10] Operation: 36-26=10
Exploring Operation: 26+9=35, Resulting Numbers: [36, 35]
Generated Node #0,3,4: 74:[36, 35] Operation: 26+9=35
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[36, 35], Operations: ['28-19=9', '26+9=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,74 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,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,3,2
Current State: 74:[26, 4], Operations: ['28-19=9', '36/9=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,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,3,3
Current State: 74:[9, 10], Operations: ['28-19=9', '36-26=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,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,3,1
Current State: 74:[36, 17], Operations: ['28-19=9', '26-9=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,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,3,0
Current State: 74:[9, 62], Operations: ['28-19=9', '36+26=62']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,74 unequal: No Solution
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,74 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: 74:[36, 26, 47], Operations: ['19+28=47']
Exploring Operation: 36-26=10, Resulting Numbers: [47, 10]
Generated Node #0,4,0: 74:[47, 10] Operation: 36-26=10
Exploring Operation: 47-26=21, Resulting Numbers: [36, 21]
Generated Node #0,4,1: 74:[36, 21] Operation: 47-26=21
Exploring Operation: 26+47=73, Resulting Numbers: [36, 73]
Generated Node #0,4,2: 74:[36, 73] Operation: 26+47=73
Exploring Operation: 36+47=83, Resulting Numbers: [26, 83]
Generated Node #0,4,3: 74:[26, 83] Operation: 36+47=83
Exploring Operation: 47-36=11, Resulting Numbers: [26, 11]
Generated Node #0,4,4: 74:[26, 11] Operation: 47-36=11
Moving to Node #0,2,0
Current State: 74:[36, 38], Operations: ['28-26=2', '19*2=38']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,74 unequal: No Solution
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[36, 19, 28, 26], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [36, 19, 2]
Generated Node #0,2: 74:[36, 19, 2] Operation: 28-26=2
Moving to Node #0,2
Current State: 74:[36, 19, 2], Operations: ['28-26=2']
Exploring Operation: 19*2=38, Resulting Numbers: [36, 38]
Generated Node #0,2,0: 74:[36, 38] Operation: 19*2=38
Moving to Node #0,2,0
Current State: 74:[36, 38], Operations: ['28-26=2', '19*2=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.940972 |
hs_5
|
sum_heuristic
|
[
91,
29,
98,
49
] | 33 |
[
"29*98=2842",
"2842/49=58",
"91-58=33"
] |
Current State: 33:[91, 29, 98, 49], Operations: []
Exploring Operation: 29*98=2842, Resulting Numbers: [91, 49, 2842]
Generated Node #2: [91, 49, 2842] from Operation: 29*98=2842
Current State: 33:[91, 49, 2842], Operations: ['29*98=2842']
Exploring Operation: 2842/49=58, Resulting Numbers: [91, 58]
Generated Node #3: [91, 58] from Operation: 2842/49=58
Current State: 33:[91, 58], Operations: ['29*98=2842', '2842/49=58']
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[91, 29, 98, 49], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [29, 49, 7]
Generated Node #0,0: 33:[29, 49, 7] Operation: 98-91=7
Moving to Node #0,0
Current State: 33:[29, 49, 7], Operations: ['98-91=7']
Exploring Operation: 49/7=7, Resulting Numbers: [29, 7]
Generated Node #0,0,0: 33:[29, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[29, 7], Operations: ['98-91=7', '49/7=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,33 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
|
[
49,
7,
6,
12
] | 79 |
[
"49/7=7",
"6*12=72",
"7+72=79"
] |
Current State: 79:[49, 7, 6, 12], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [6, 12, 7]
Generated Node #2: [6, 12, 7] from Operation: 49/7=7
Current State: 79:[6, 12, 7], Operations: ['49/7=7']
Exploring Operation: 6*12=72, Resulting Numbers: [7, 72]
Generated Node #3: [7, 72] from Operation: 6*12=72
Current State: 79:[7, 72], Operations: ['49/7=7', '6*12=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[49, 7, 6, 12], Operations: []
Exploring Operation: 7*12=84, Resulting Numbers: [49, 6, 84]
Generated Node #0,0: 79:[49, 6, 84] Operation: 7*12=84
Moving to Node #0,0
Current State: 79:[49, 6, 84], Operations: ['7*12=84']
Exploring Operation: 49+6=55, Resulting Numbers: [84, 55]
Generated Node #0,0,0: 79:[84, 55] Operation: 49+6=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[84, 55], Operations: ['7*12=84', '49+6=55']
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,79 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
|
[
16,
42,
36,
21
] | 18 |
[
"36-16=20",
"42/21=2",
"20-2=18"
] |
Current State: 18:[16, 42, 36, 21], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [42, 21, 20]
Generated Node #2: [42, 21, 20] from Operation: 36-16=20
Current State: 18:[42, 21, 20], Operations: ['36-16=20']
Exploring Operation: 42/21=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 42/21=2
Current State: 18:[20, 2], Operations: ['36-16=20', '42/21=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 |
Current State: 18:[16, 42, 36, 21], Operations: []
Exploring Operation: 42-16=26, Resulting Numbers: [36, 21, 26]
Generated Node #0,0: 18:[36, 21, 26] Operation: 42-16=26
Exploring Operation: 36-16=20, Resulting Numbers: [42, 21, 20]
Generated Node #0,1: 18:[42, 21, 20] Operation: 36-16=20
Exploring Operation: 42-21=21, Resulting Numbers: [16, 36, 21]
Generated Node #0,2: 18:[16, 36, 21] Operation: 42-21=21
Exploring Operation: 42-36=6, Resulting Numbers: [16, 21, 6]
Generated Node #0,3: 18:[16, 21, 6] Operation: 42-36=6
Exploring Operation: 42/21=2, Resulting Numbers: [16, 36, 2]
Generated Node #0,4: 18:[16, 36, 2] Operation: 42/21=2
Moving to Node #0,3
Current State: 18:[16, 21, 6], Operations: ['42-36=6']
Exploring Operation: 21+6=27, Resulting Numbers: [16, 27]
Generated Node #0,3,0: 18:[16, 27] Operation: 21+6=27
Exploring Operation: 21-16=5, Resulting Numbers: [6, 5]
Generated Node #0,3,1: 18:[6, 5] Operation: 21-16=5
Exploring Operation: 16+6=22, Resulting Numbers: [21, 22]
Generated Node #0,3,2: 18:[21, 22] Operation: 16+6=22
Exploring Operation: 21-6=15, Resulting Numbers: [16, 15]
Generated Node #0,3,3: 18:[16, 15] Operation: 21-6=15
Exploring Operation: 16-6=10, Resulting Numbers: [21, 10]
Generated Node #0,3,4: 18:[21, 10] Operation: 16-6=10
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[6, 5], Operations: ['42-36=6', '21-16=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,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,3,4
Current State: 18:[21, 10], Operations: ['42-36=6', '16-6=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,18 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,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,3,3
Current State: 18:[16, 15], Operations: ['42-36=6', '21-6=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,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,3,2
Current State: 18:[21, 22], Operations: ['42-36=6', '16+6=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,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,3,0
Current State: 18:[16, 27], Operations: ['42-36=6', '21+6=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,18 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,18 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: 18:[16, 36, 2], Operations: ['42/21=2']
Exploring Operation: 36/2=18, Resulting Numbers: [16, 18]
Generated Node #0,4,0: 18:[16, 18] Operation: 36/2=18
Exploring Operation: 36-16=20, Resulting Numbers: [2, 20]
Generated Node #0,4,1: 18:[2, 20] Operation: 36-16=20
Exploring Operation: 36-2=34, Resulting Numbers: [16, 34]
Generated Node #0,4,2: 18:[16, 34] Operation: 36-2=34
Exploring Operation: 16+2=18, Resulting Numbers: [36, 18]
Generated Node #0,4,3: 18:[36, 18] Operation: 16+2=18
Exploring Operation: 16/2=8, Resulting Numbers: [36, 8]
Generated Node #0,4,4: 18:[36, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[16, 18], Operations: ['42/21=2', '36/2=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,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,4,1
Current State: 18:[2, 20], Operations: ['42/21=2', '36-16=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[16, 42, 36, 21], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [16, 36, 2]
Generated Node #0,4: 18:[16, 36, 2] Operation: 42/21=2
Moving to Node #0,4
Current State: 18:[16, 36, 2], Operations: ['42/21=2']
Exploring Operation: 36-16=20, Resulting Numbers: [2, 20]
Generated Node #0,4,1: 18:[2, 20] Operation: 36-16=20
Moving to Node #0,4,1
Current State: 18:[2, 20], Operations: ['42/21=2', '36-16=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 |
hs_5
|
mult_heuristic
|
[
62,
38,
14,
65
] | 67 |
[
"62+14=76",
"76/38=2",
"65+2=67"
] |
Current State: 67:[62, 38, 14, 65], Operations: []
Exploring Operation: 62+14=76, Resulting Numbers: [38, 65, 76]
Generated Node #2: [38, 65, 76] from Operation: 62+14=76
Current State: 67:[38, 65, 76], Operations: ['62+14=76']
Exploring Operation: 76/38=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 76/38=2
Current State: 67:[65, 2], Operations: ['62+14=76', '76/38=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[62, 38, 14, 65], Operations: []
Exploring Operation: 62+14=76, Resulting Numbers: [38, 65, 76]
Generated Node #0,0: 67:[38, 65, 76] Operation: 62+14=76
Exploring Operation: 14+65=79, Resulting Numbers: [62, 38, 79]
Generated Node #0,1: 67:[62, 38, 79] Operation: 14+65=79
Exploring Operation: 38+14=52, Resulting Numbers: [62, 65, 52]
Generated Node #0,2: 67:[62, 65, 52] Operation: 38+14=52
Moving to Node #0,2
Current State: 67:[62, 65, 52], Operations: ['38+14=52']
Exploring Operation: 65+52=117, Resulting Numbers: [62, 117]
Generated Node #0,2,0: 67:[62, 117] Operation: 65+52=117
Exploring Operation: 62+52=114, Resulting Numbers: [65, 114]
Generated Node #0,2,1: 67:[65, 114] Operation: 62+52=114
Exploring Operation: 62-52=10, Resulting Numbers: [65, 10]
Generated Node #0,2,2: 67:[65, 10] Operation: 62-52=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[65, 114], Operations: ['38+14=52', '62+52=114']
Exploring Operation: 114-65=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 65+114=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Exploring Operation: 65*114=7410, Resulting Numbers: [7410]
7410,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[62, 117], Operations: ['38+14=52', '65+52=117']
Exploring Operation: 117-62=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 62+117=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Exploring Operation: 62*117=7254, Resulting Numbers: [7254]
7254,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[65, 10], Operations: ['38+14=52', '62-52=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,67 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,67 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: 67:[38, 65, 76], Operations: ['62+14=76']
Exploring Operation: 65-38=27, Resulting Numbers: [76, 27]
Generated Node #0,0,0: 67:[76, 27] Operation: 65-38=27
Exploring Operation: 38+65=103, Resulting Numbers: [76, 103]
Generated Node #0,0,1: 67:[76, 103] Operation: 38+65=103
Exploring Operation: 76-38=38, Resulting Numbers: [65, 38]
Generated Node #0,0,2: 67:[65, 38] Operation: 76-38=38
Moving to Node #0,1
Current State: 67:[62, 38, 79], Operations: ['14+65=79']
Exploring Operation: 79-38=41, Resulting Numbers: [62, 41]
Generated Node #0,1,0: 67:[62, 41] Operation: 79-38=41
Exploring Operation: 62+38=100, Resulting Numbers: [79, 100]
Generated Node #0,1,1: 67:[79, 100] Operation: 62+38=100
Exploring Operation: 62-38=24, Resulting Numbers: [79, 24]
Generated Node #0,1,2: 67:[79, 24] Operation: 62-38=24
Moving to Node #0,0,2
Current State: 67:[65, 38], Operations: ['62+14=76', '76-38=38']
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,67 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[62, 41], Operations: ['14+65=79', '79-38=41']
Exploring Operation: 62+41=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 62*41=2542, Resulting Numbers: [2542]
2542,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[79, 100], Operations: ['14+65=79', '62+38=100']
Exploring Operation: 79*100=7900, Resulting Numbers: [7900]
7900,67 unequal: No Solution
Exploring Operation: 100-79=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 79+100=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[76, 103], Operations: ['62+14=76', '38+65=103']
Exploring Operation: 103-76=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 76*103=7828, Resulting Numbers: [7828]
7828,67 unequal: No Solution
Exploring Operation: 76+103=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[76, 27], Operations: ['62+14=76', '65-38=27']
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,67 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[79, 24], Operations: ['14+65=79', '62-38=24']
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,67 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,67 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
19,
45,
83,
48
] | 61 |
[
"45-19=26",
"83-48=35",
"26+35=61"
] |
Current State: 61:[19, 45, 83, 48], Operations: []
Exploring Operation: 45-19=26, Resulting Numbers: [83, 48, 26]
Generated Node #2: [83, 48, 26] from Operation: 45-19=26
Current State: 61:[83, 48, 26], Operations: ['45-19=26']
Exploring Operation: 83-48=35, Resulting Numbers: [26, 35]
Generated Node #3: [26, 35] from Operation: 83-48=35
Current State: 61:[26, 35], Operations: ['45-19=26', '83-48=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[19, 45, 83, 48], Operations: []
Exploring Operation: 19+83=102, Resulting Numbers: [45, 48, 102]
Generated Node #0,0: 61:[45, 48, 102] Operation: 19+83=102
Exploring Operation: 45-19=26, Resulting Numbers: [83, 48, 26]
Generated Node #0,1: 61:[83, 48, 26] Operation: 45-19=26
Exploring Operation: 83-19=64, Resulting Numbers: [45, 48, 64]
Generated Node #0,2: 61:[45, 48, 64] Operation: 83-19=64
Exploring Operation: 19+45=64, Resulting Numbers: [83, 48, 64]
Generated Node #0,3: 61:[83, 48, 64] Operation: 19+45=64
Exploring Operation: 19+48=67, Resulting Numbers: [45, 83, 67]
Generated Node #0,4: 61:[45, 83, 67] Operation: 19+48=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[45, 48, 64], Operations: ['83-19=64']
Exploring Operation: 48-45=3, Resulting Numbers: [64, 3]
Generated Node #0,2,0: 61:[64, 3] Operation: 48-45=3
Exploring Operation: 64-45=19, Resulting Numbers: [48, 19]
Generated Node #0,2,1: 61:[48, 19] Operation: 64-45=19
Exploring Operation: 45+64=109, Resulting Numbers: [48, 109]
Generated Node #0,2,2: 61:[48, 109] Operation: 45+64=109
Exploring Operation: 45+48=93, Resulting Numbers: [64, 93]
Generated Node #0,2,3: 61:[64, 93] Operation: 45+48=93
Exploring Operation: 64-48=16, Resulting Numbers: [45, 16]
Generated Node #0,2,4: 61:[45, 16] Operation: 64-48=16
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[64, 93], Operations: ['83-19=64', '45+48=93']
Exploring Operation: 64*93=5952, Resulting Numbers: [5952]
5952,61 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 64+93=157, Resulting Numbers: [157]
157,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[48, 19], Operations: ['83-19=64', '64-45=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,61 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[64, 3], Operations: ['83-19=64', '48-45=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[19, 45, 83, 48], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [45, 48, 64]
Generated Node #0,2: 61:[45, 48, 64] Operation: 83-19=64
Moving to Node #0,2
Current State: 61:[45, 48, 64], Operations: ['83-19=64']
Exploring Operation: 48-45=3, Resulting Numbers: [64, 3]
Generated Node #0,2,0: 61:[64, 3] Operation: 48-45=3
Moving to Node #0,2,0
Current State: 61:[64, 3], Operations: ['83-19=64', '48-45=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 |
hs_5
|
mult_heuristic
|
[
42,
32,
28,
52
] | 22 |
[
"42*28=1176",
"1176-32=1144",
"1144/52=22"
] |
Current State: 22:[42, 32, 28, 52], Operations: []
Exploring Operation: 42*28=1176, Resulting Numbers: [32, 52, 1176]
Generated Node #2: [32, 52, 1176] from Operation: 42*28=1176
Current State: 22:[32, 52, 1176], Operations: ['42*28=1176']
Exploring Operation: 1176-32=1144, Resulting Numbers: [52, 1144]
Generated Node #3: [52, 1144] from Operation: 1176-32=1144
Current State: 22:[52, 1144], Operations: ['42*28=1176', '1176-32=1144']
Exploring Operation: 1144/52=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 |
Current State: 22:[42, 32, 28, 52], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [32, 28, 10]
Generated Node #0,0: 22:[32, 28, 10] Operation: 52-42=10
Exploring Operation: 52-32=20, Resulting Numbers: [42, 28, 20]
Generated Node #0,1: 22:[42, 28, 20] Operation: 52-32=20
Exploring Operation: 52-28=24, Resulting Numbers: [42, 32, 24]
Generated Node #0,2: 22:[42, 32, 24] Operation: 52-28=24
Moving to Node #0,0
Current State: 22:[32, 28, 10], Operations: ['52-42=10']
Exploring Operation: 32-28=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 22:[10, 4] Operation: 32-28=4
Exploring Operation: 28-10=18, Resulting Numbers: [32, 18]
Generated Node #0,0,1: 22:[32, 18] Operation: 28-10=18
Exploring Operation: 32-10=22, Resulting Numbers: [28, 22]
Generated Node #0,0,2: 22:[28, 22] Operation: 32-10=22
Moving to Node #0,1
Current State: 22:[42, 28, 20], Operations: ['52-32=20']
Exploring Operation: 28-20=8, Resulting Numbers: [42, 8]
Generated Node #0,1,0: 22:[42, 8] Operation: 28-20=8
Exploring Operation: 42-28=14, Resulting Numbers: [20, 14]
Generated Node #0,1,1: 22:[20, 14] Operation: 42-28=14
Exploring Operation: 42-20=22, Resulting Numbers: [28, 22]
Generated Node #0,1,2: 22:[28, 22] Operation: 42-20=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[20, 14], Operations: ['52-32=20', '42-28=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,22 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,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,1,2
Current State: 22:[28, 22], Operations: ['52-32=20', '42-20=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,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,1,0
Current State: 22:[42, 8], Operations: ['52-32=20', '28-20=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,22 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,22 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: 22:[42, 32, 24], Operations: ['52-28=24']
Exploring Operation: 32-24=8, Resulting Numbers: [42, 8]
Generated Node #0,2,0: 22:[42, 8] Operation: 32-24=8
Exploring Operation: 42-32=10, Resulting Numbers: [24, 10]
Generated Node #0,2,1: 22:[24, 10] Operation: 42-32=10
Exploring Operation: 42-24=18, Resulting Numbers: [32, 18]
Generated Node #0,2,2: 22:[32, 18] Operation: 42-24=18
Moving to Node #0,0,0
Current State: 22:[10, 4], Operations: ['52-42=10', '32-28=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[24, 10], Operations: ['52-28=24', '42-32=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[28, 22], Operations: ['52-42=10', '32-10=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[32, 18], Operations: ['52-42=10', '28-10=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[32, 18], Operations: ['52-28=24', '42-24=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,22 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[42, 8], Operations: ['52-28=24', '32-24=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,22 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,22 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
8,
31,
15,
30
] | 84 |
[
"8+31=39",
"15+30=45",
"39+45=84"
] |
Current State: 84:[8, 31, 15, 30], Operations: []
Exploring Operation: 8+31=39, Resulting Numbers: [15, 30, 39]
Generated Node #2: [15, 30, 39] from Operation: 8+31=39
Current State: 84:[15, 30, 39], Operations: ['8+31=39']
Exploring Operation: 15+30=45, Resulting Numbers: [39, 45]
Generated Node #3: [39, 45] from Operation: 15+30=45
Current State: 84:[39, 45], Operations: ['8+31=39', '15+30=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[8, 31, 15, 30], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [8, 15, 1]
Generated Node #0,0: 84:[8, 15, 1] Operation: 31-30=1
Exploring Operation: 15-8=7, Resulting Numbers: [31, 30, 7]
Generated Node #0,1: 84:[31, 30, 7] Operation: 15-8=7
Exploring Operation: 30/15=2, Resulting Numbers: [8, 31, 2]
Generated Node #0,2: 84:[8, 31, 2] Operation: 30/15=2
Exploring Operation: 31-8=23, Resulting Numbers: [15, 30, 23]
Generated Node #0,3: 84:[15, 30, 23] Operation: 31-8=23
Exploring Operation: 30-8=22, Resulting Numbers: [31, 15, 22]
Generated Node #0,4: 84:[31, 15, 22] Operation: 30-8=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[8, 15, 1], Operations: ['31-30=1']
Exploring Operation: 8/1=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 84:[15, 8] Operation: 8/1=8
Exploring Operation: 8*1=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 84:[15, 8] Operation: 8*1=8
Exploring Operation: 15-1=14, Resulting Numbers: [8, 14]
Generated Node #0,0,2: 84:[8, 14] Operation: 15-1=14
Exploring Operation: 15-8=7, Resulting Numbers: [1, 7]
Generated Node #0,0,3: 84:[1, 7] Operation: 15-8=7
Exploring Operation: 8-1=7, Resulting Numbers: [15, 7]
Generated Node #0,0,4: 84:[15, 7] Operation: 8-1=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[8, 14], Operations: ['31-30=1', '15-1=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 84:[1, 7], Operations: ['31-30=1', '15-8=7']
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 84:[15, 7], Operations: ['31-30=1', '8-1=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[15, 8], Operations: ['31-30=1', '8/1=8']
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[15, 8], Operations: ['31-30=1', '8*1=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[8, 31, 2], Operations: ['30/15=2']
Exploring Operation: 8+31=39, Resulting Numbers: [2, 39]
Generated Node #0,2,0: 84:[2, 39] Operation: 8+31=39
Exploring Operation: 8/2=4, Resulting Numbers: [31, 4]
Generated Node #0,2,1: 84:[31, 4] Operation: 8/2=4
Exploring Operation: 31-8=23, Resulting Numbers: [2, 23]
Generated Node #0,2,2: 84:[2, 23] Operation: 31-8=23
Exploring Operation: 8-2=6, Resulting Numbers: [31, 6]
Generated Node #0,2,3: 84:[31, 6] Operation: 8-2=6
Exploring Operation: 31-2=29, Resulting Numbers: [8, 29]
Generated Node #0,2,4: 84:[8, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[2, 23], Operations: ['30/15=2', '31-8=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 84:[8, 29], Operations: ['30/15=2', '31-2=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,84 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[2, 39], Operations: ['30/15=2', '8+31=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[31, 4], Operations: ['30/15=2', '8/2=4']
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,84 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[31, 6], Operations: ['30/15=2', '8-2=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,84 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[31, 30, 7], Operations: ['15-8=7']
Exploring Operation: 31-7=24, Resulting Numbers: [30, 24]
Generated Node #0,1,0: 84:[30, 24] Operation: 31-7=24
Exploring Operation: 30-7=23, Resulting Numbers: [31, 23]
Generated Node #0,1,1: 84:[31, 23] Operation: 30-7=23
Exploring Operation: 30+7=37, Resulting Numbers: [31, 37]
Generated Node #0,1,2: 84:[31, 37] Operation: 30+7=37
Exploring Operation: 31-30=1, Resulting Numbers: [7, 1]
Generated Node #0,1,3: 84:[7, 1] Operation: 31-30=1
Exploring Operation: 31+7=38, Resulting Numbers: [30, 38]
Generated Node #0,1,4: 84:[30, 38] Operation: 31+7=38
Moving to Node #0,1,3
Current State: 84:[7, 1], Operations: ['15-8=7', '31-30=1']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[31, 23], Operations: ['15-8=7', '30-7=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,84 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,84 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[30, 24], Operations: ['15-8=7', '31-7=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,84 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[30, 38], Operations: ['15-8=7', '31+7=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,84 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[31, 37], Operations: ['15-8=7', '30+7=37']
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[15, 30, 23], Operations: ['31-8=23']
Exploring Operation: 30/15=2, Resulting Numbers: [23, 2]
Generated Node #0,3,0: 84:[23, 2] Operation: 30/15=2
Exploring Operation: 15+30=45, Resulting Numbers: [23, 45]
Generated Node #0,3,1: 84:[23, 45] Operation: 15+30=45
Exploring Operation: 30-15=15, Resulting Numbers: [23, 15]
Generated Node #0,3,2: 84:[23, 15] Operation: 30-15=15
Exploring Operation: 30-23=7, Resulting Numbers: [15, 7]
Generated Node #0,3,3: 84:[15, 7] Operation: 30-23=7
Exploring Operation: 23-15=8, Resulting Numbers: [30, 8]
Generated Node #0,3,4: 84:[30, 8] Operation: 23-15=8
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[15, 7], Operations: ['31-8=23', '30-23=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,84 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 84:[23, 2], Operations: ['31-8=23', '30/15=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 84:[23, 15], Operations: ['31-8=23', '30-15=15']
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,84 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 84:[30, 8], Operations: ['31-8=23', '23-15=8']
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,84 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 84:[23, 45], Operations: ['31-8=23', '15+30=45']
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,84 unequal: No Solution
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[31, 15, 22], Operations: ['30-8=22']
Exploring Operation: 22-15=7, Resulting Numbers: [31, 7]
Generated Node #0,4,0: 84:[31, 7] Operation: 22-15=7
Exploring Operation: 31-22=9, Resulting Numbers: [15, 9]
Generated Node #0,4,1: 84:[15, 9] Operation: 31-22=9
Exploring Operation: 31+15=46, Resulting Numbers: [22, 46]
Generated Node #0,4,2: 84:[22, 46] Operation: 31+15=46
Exploring Operation: 15+22=37, Resulting Numbers: [31, 37]
Generated Node #0,4,3: 84:[31, 37] Operation: 15+22=37
Exploring Operation: 31-15=16, Resulting Numbers: [22, 16]
Generated Node #0,4,4: 84:[22, 16] Operation: 31-15=16
Moving to Node #0,4,0
Current State: 84:[31, 7], Operations: ['30-8=22', '22-15=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,84 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Moving to Node #0,4,4
Current State: 84:[22, 16], Operations: ['30-8=22', '31-15=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,84 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,4,1
Current State: 84:[15, 9], Operations: ['30-8=22', '31-22=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,84 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Moving to Node #0,4,2
Current State: 84:[22, 46], Operations: ['30-8=22', '31+15=46']
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,84 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Moving to Node #0,4,3
Current State: 84:[31, 37], Operations: ['30-8=22', '15+22=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,84 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
2,
12,
18,
26
] | 76 |
[
"18+26=44",
"2*44=88",
"88-12=76"
] |
Current State: 76:[2, 12, 18, 26], Operations: []
Exploring Operation: 18+26=44, Resulting Numbers: [2, 12, 44]
Generated Node #2: [2, 12, 44] from Operation: 18+26=44
Current State: 76:[2, 12, 44], Operations: ['18+26=44']
Exploring Operation: 2*44=88, Resulting Numbers: [12, 88]
Generated Node #3: [12, 88] from Operation: 2*44=88
Current State: 76:[12, 88], Operations: ['18+26=44', '2*44=88']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[2, 12, 18, 26], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [18, 26, 6]
Generated Node #0,0: 76:[18, 26, 6] Operation: 12/2=6
Exploring Operation: 26-12=14, Resulting Numbers: [2, 18, 14]
Generated Node #0,1: 76:[2, 18, 14] Operation: 26-12=14
Exploring Operation: 18-12=6, Resulting Numbers: [2, 26, 6]
Generated Node #0,2: 76:[2, 26, 6] Operation: 18-12=6
Exploring Operation: 12+26=38, Resulting Numbers: [2, 18, 38]
Generated Node #0,3: 76:[2, 18, 38] Operation: 12+26=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[2, 18, 38], Operations: ['12+26=38']
Exploring Operation: 38-18=20, Resulting Numbers: [2, 20]
Generated Node #0,3,0: 76:[2, 20] Operation: 38-18=20
Exploring Operation: 2+18=20, Resulting Numbers: [38, 20]
Generated Node #0,3,1: 76:[38, 20] Operation: 2+18=20
Exploring Operation: 38/2=19, Resulting Numbers: [18, 19]
Generated Node #0,3,2: 76:[18, 19] Operation: 38/2=19
Exploring Operation: 2*38=76, Resulting Numbers: [18, 76]
Generated Node #0,3,3: 76:[18, 76] Operation: 2*38=76
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[2, 20], Operations: ['12+26=38', '38-18=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[38, 20], Operations: ['12+26=38', '2+18=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 38*20=760, Resulting Numbers: [760]
760,76 unequal: No Solution
Exploring Operation: 38+20=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 76:[18, 19], Operations: ['12+26=38', '38/2=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 76:[18, 76], Operations: ['12+26=38', '2*38=76']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[2, 18, 14], Operations: ['26-12=14']
Exploring Operation: 2+18=20, Resulting Numbers: [14, 20]
Generated Node #0,1,0: 76:[14, 20] Operation: 2+18=20
Exploring Operation: 2+14=16, Resulting Numbers: [18, 16]
Generated Node #0,1,1: 76:[18, 16] Operation: 2+14=16
Exploring Operation: 14/2=7, Resulting Numbers: [18, 7]
Generated Node #0,1,2: 76:[18, 7] Operation: 14/2=7
Exploring Operation: 18-14=4, Resulting Numbers: [2, 4]
Generated Node #0,1,3: 76:[2, 4] Operation: 18-14=4
Moving to Node #0,1,3
Current State: 76:[2, 4], Operations: ['26-12=14', '18-14=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[18, 7], Operations: ['26-12=14', '14/2=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,76 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[18, 16], Operations: ['26-12=14', '2+14=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[14, 20], Operations: ['26-12=14', '2+18=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,76 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No 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: 76:[2, 26, 6], Operations: ['18-12=6']
Exploring Operation: 26-6=20, Resulting Numbers: [2, 20]
Generated Node #0,2,0: 76:[2, 20] Operation: 26-6=20
Exploring Operation: 6-2=4, Resulting Numbers: [26, 4]
Generated Node #0,2,1: 76:[26, 4] Operation: 6-2=4
Exploring Operation: 26+6=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 76:[2, 32] Operation: 26+6=32
Exploring Operation: 26-2=24, Resulting Numbers: [6, 24]
Generated Node #0,2,3: 76:[6, 24] Operation: 26-2=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[2, 20], Operations: ['18-12=6', '26-6=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[2, 32], Operations: ['18-12=6', '26+6=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[26, 4], Operations: ['18-12=6', '6-2=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[6, 24], Operations: ['18-12=6', '26-2=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[18, 26, 6], Operations: ['12/2=6']
Exploring Operation: 26-6=20, Resulting Numbers: [18, 20]
Generated Node #0,0,0: 76:[18, 20] Operation: 26-6=20
Exploring Operation: 18+26=44, Resulting Numbers: [6, 44]
Generated Node #0,0,1: 76:[6, 44] Operation: 18+26=44
Exploring Operation: 26-18=8, Resulting Numbers: [6, 8]
Generated Node #0,0,2: 76:[6, 8] Operation: 26-18=8
Exploring Operation: 26+6=32, Resulting Numbers: [18, 32]
Generated Node #0,0,3: 76:[18, 32] Operation: 26+6=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[18, 20], Operations: ['12/2=6', '26-6=20']
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,76 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[6, 8], Operations: ['12/2=6', '26-18=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[18, 32], Operations: ['12/2=6', '26+6=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,76 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[6, 44], Operations: ['12/2=6', '18+26=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,76 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,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_4
|
sum_heuristic
|
[
69,
65,
2,
51
] | 81 |
[
"69+65=134",
"2+51=53",
"134-53=81"
] |
Current State: 81:[69, 65, 2, 51], Operations: []
Exploring Operation: 69+65=134, Resulting Numbers: [2, 51, 134]
Generated Node #2: [2, 51, 134] from Operation: 69+65=134
Current State: 81:[2, 51, 134], Operations: ['69+65=134']
Exploring Operation: 2+51=53, Resulting Numbers: [134, 53]
Generated Node #3: [134, 53] from Operation: 2+51=53
Current State: 81:[134, 53], Operations: ['69+65=134', '2+51=53']
Exploring Operation: 134-53=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[69, 65, 2, 51], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [69, 2, 14]
Generated Node #0,0: 81:[69, 2, 14] Operation: 65-51=14
Exploring Operation: 69-65=4, Resulting Numbers: [2, 51, 4]
Generated Node #0,1: 81:[2, 51, 4] Operation: 69-65=4
Moving to Node #0,0
Current State: 81:[69, 2, 14], Operations: ['65-51=14']
Exploring Operation: 2*14=28, Resulting Numbers: [69, 28]
Generated Node #0,0,0: 81:[69, 28] Operation: 2*14=28
Exploring Operation: 69+14=83, Resulting Numbers: [2, 83]
Generated Node #0,0,1: 81:[2, 83] Operation: 69+14=83
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[2, 83], Operations: ['65-51=14', '69+14=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[69, 65, 2, 51], Operations: []
Exploring Operation: 65-51=14, Resulting Numbers: [69, 2, 14]
Generated Node #0,0: 81:[69, 2, 14] Operation: 65-51=14
Moving to Node #0,0
Current State: 81:[69, 2, 14], Operations: ['65-51=14']
Exploring Operation: 69+14=83, Resulting Numbers: [2, 83]
Generated Node #0,0,1: 81:[2, 83] Operation: 69+14=83
Moving to Node #0,0,1
Current State: 81:[2, 83], Operations: ['65-51=14', '69+14=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
26,
61,
28,
93
] | 29 |
[
"28-26=2",
"61*2=122",
"122-93=29"
] |
Current State: 29:[26, 61, 28, 93], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [61, 93, 2]
Generated Node #2: [61, 93, 2] from Operation: 28-26=2
Current State: 29:[61, 93, 2], Operations: ['28-26=2']
Exploring Operation: 61*2=122, Resulting Numbers: [93, 122]
Generated Node #3: [93, 122] from Operation: 61*2=122
Current State: 29:[93, 122], Operations: ['28-26=2', '61*2=122']
Exploring Operation: 122-93=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[26, 61, 28, 93], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [26, 28, 32]
Generated Node #0,0: 29:[26, 28, 32] Operation: 93-61=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[26, 28, 32], Operations: ['93-61=32']
Exploring Operation: 32-26=6, Resulting Numbers: [28, 6]
Generated Node #0,0,0: 29:[28, 6] Operation: 32-26=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[28, 6], Operations: ['93-61=32', '32-26=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
20,
69,
49,
13
] | 85 |
[
"69-20=49",
"49-13=36",
"49+36=85"
] |
Current State: 85:[20, 69, 49, 13], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [49, 13, 49]
Generated Node #2: [49, 13, 49] from Operation: 69-20=49
Current State: 85:[49, 13, 49], Operations: ['69-20=49']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,85 equal: Goal Reached
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[20, 69, 49, 13], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [69, 13, 29]
Generated Node #0,0: 85:[69, 13, 29] Operation: 49-20=29
Exploring Operation: 69-49=20, Resulting Numbers: [20, 13, 20]
Generated Node #0,1: 85:[20, 13, 20] Operation: 69-49=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[20, 13, 20], Operations: ['69-49=20']
Exploring Operation: 20-13=7, Resulting Numbers: [20, 7]
Generated Node #0,1,0: 85:[20, 7] Operation: 20-13=7
Exploring Operation: 20-13=7, Resulting Numbers: [20, 7]
Generated Node #0,1,1: 85:[20, 7] Operation: 20-13=7
Moving to Node #0,1,0
Current State: 85:[20, 7], Operations: ['69-49=20', '20-13=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[20, 7], Operations: ['69-49=20', '20-13=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[69, 13, 29], Operations: ['49-20=29']
Exploring Operation: 69+29=98, Resulting Numbers: [13, 98]
Generated Node #0,0,0: 85:[13, 98] Operation: 69+29=98
Exploring Operation: 69+13=82, Resulting Numbers: [29, 82]
Generated Node #0,0,1: 85:[29, 82] Operation: 69+13=82
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[29, 82], Operations: ['49-20=29', '69+13=82']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[13, 98], Operations: ['49-20=29', '69+29=98']
Exploring Operation: 13+98=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[20, 69, 49, 13], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [69, 13, 29]
Generated Node #0,0: 85:[69, 13, 29] Operation: 49-20=29
Moving to Node #0,0
Current State: 85:[69, 13, 29], Operations: ['49-20=29']
Exploring Operation: 69+29=98, Resulting Numbers: [13, 98]
Generated Node #0,0,0: 85:[13, 98] Operation: 69+29=98
Moving to Node #0,0,0
Current State: 85:[13, 98], Operations: ['49-20=29', '69+29=98']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 |
hs_2
|
sum_heuristic
|
[
87,
52,
4,
97
] | 24 |
[
"87+97=184",
"52*4=208",
"208-184=24"
] |
Current State: 24:[87, 52, 4, 97], Operations: []
Exploring Operation: 87+97=184, Resulting Numbers: [52, 4, 184]
Generated Node #2: [52, 4, 184] from Operation: 87+97=184
Current State: 24:[52, 4, 184], Operations: ['87+97=184']
Exploring Operation: 52*4=208, Resulting Numbers: [184, 208]
Generated Node #3: [184, 208] from Operation: 52*4=208
Current State: 24:[184, 208], Operations: ['87+97=184', '52*4=208']
Exploring Operation: 208-184=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[87, 52, 4, 97], Operations: []
Exploring Operation: 52/4=13, Resulting Numbers: [87, 97, 13]
Generated Node #0,0: 24:[87, 97, 13] Operation: 52/4=13
Exploring Operation: 87-52=35, Resulting Numbers: [4, 97, 35]
Generated Node #0,1: 24:[4, 97, 35] Operation: 87-52=35
Exploring Operation: 97-52=45, Resulting Numbers: [87, 4, 45]
Generated Node #0,2: 24:[87, 4, 45] Operation: 97-52=45
Exploring Operation: 97-87=10, Resulting Numbers: [52, 4, 10]
Generated Node #0,3: 24:[52, 4, 10] Operation: 97-87=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[52, 4, 10], Operations: ['97-87=10']
Exploring Operation: 52/4=13, Resulting Numbers: [10, 13]
Generated Node #0,3,0: 24:[10, 13] Operation: 52/4=13
Exploring Operation: 52-4=48, Resulting Numbers: [10, 48]
Generated Node #0,3,1: 24:[10, 48] Operation: 52-4=48
Exploring Operation: 10-4=6, Resulting Numbers: [52, 6]
Generated Node #0,3,2: 24:[52, 6] Operation: 10-4=6
Exploring Operation: 52-10=42, Resulting Numbers: [4, 42]
Generated Node #0,3,3: 24:[4, 42] Operation: 52-10=42
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 24:[10, 13], Operations: ['97-87=10', '52/4=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,24 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No 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: 24:[4, 42], Operations: ['97-87=10', '52-10=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,24 unequal: No Solution
No 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: 24:[10, 48], Operations: ['97-87=10', '52-4=48']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,24 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,24 unequal: No Solution
No 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: 24:[52, 6], Operations: ['97-87=10', '10-4=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,24 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,24 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: 24:[4, 97, 35], Operations: ['87-52=35']
Exploring Operation: 97-4=93, Resulting Numbers: [35, 93]
Generated Node #0,1,0: 24:[35, 93] Operation: 97-4=93
Exploring Operation: 97-35=62, Resulting Numbers: [4, 62]
Generated Node #0,1,1: 24:[4, 62] Operation: 97-35=62
Exploring Operation: 4+97=101, Resulting Numbers: [35, 101]
Generated Node #0,1,2: 24:[35, 101] Operation: 4+97=101
Exploring Operation: 35-4=31, Resulting Numbers: [97, 31]
Generated Node #0,1,3: 24:[97, 31] Operation: 35-4=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[4, 62], Operations: ['87-52=35', '97-35=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,24 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,24 unequal: No Solution
No 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: 24:[35, 93], Operations: ['87-52=35', '97-4=93']
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 35*93=3255, Resulting Numbers: [3255]
3255,24 unequal: No Solution
Exploring Operation: 35+93=128, Resulting Numbers: [128]
128,24 unequal: No Solution
No 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: 24:[97, 31], Operations: ['87-52=35', '35-4=31']
Exploring Operation: 97*31=3007, Resulting Numbers: [3007]
3007,24 unequal: No Solution
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 97+31=128, Resulting Numbers: [128]
128,24 unequal: No Solution
No 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: 24:[35, 101], Operations: ['87-52=35', '4+97=101']
Exploring Operation: 101-35=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 35*101=3535, Resulting Numbers: [3535]
3535,24 unequal: No Solution
Exploring Operation: 35+101=136, Resulting Numbers: [136]
136,24 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: 24:[87, 4, 45], Operations: ['97-52=45']
Exploring Operation: 87-4=83, Resulting Numbers: [45, 83]
Generated Node #0,2,0: 24:[45, 83] Operation: 87-4=83
Exploring Operation: 87+4=91, Resulting Numbers: [45, 91]
Generated Node #0,2,1: 24:[45, 91] Operation: 87+4=91
Exploring Operation: 45-4=41, Resulting Numbers: [87, 41]
Generated Node #0,2,2: 24:[87, 41] Operation: 45-4=41
Exploring Operation: 87-45=42, Resulting Numbers: [4, 42]
Generated Node #0,2,3: 24:[4, 42] Operation: 87-45=42
Moving to Node #0,2,3
Current State: 24:[4, 42], Operations: ['97-52=45', '87-45=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[87, 41], Operations: ['97-52=45', '45-4=41']
Exploring Operation: 87+41=128, Resulting Numbers: [128]
128,24 unequal: No Solution
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 87*41=3567, Resulting Numbers: [3567]
3567,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[45, 83], Operations: ['97-52=45', '87-4=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,24 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,24 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[45, 91], Operations: ['97-52=45', '87+4=91']
Exploring Operation: 45+91=136, Resulting Numbers: [136]
136,24 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 45*91=4095, Resulting Numbers: [4095]
4095,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,0
Current State: 24:[87, 97, 13], Operations: ['52/4=13']
Exploring Operation: 97-87=10, Resulting Numbers: [13, 10]
Generated Node #0,0,0: 24:[13, 10] Operation: 97-87=10
Exploring Operation: 87+13=100, Resulting Numbers: [97, 100]
Generated Node #0,0,1: 24:[97, 100] Operation: 87+13=100
Exploring Operation: 87-13=74, Resulting Numbers: [97, 74]
Generated Node #0,0,2: 24:[97, 74] Operation: 87-13=74
Exploring Operation: 97-13=84, Resulting Numbers: [87, 84]
Generated Node #0,0,3: 24:[87, 84] Operation: 97-13=84
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[13, 10], Operations: ['52/4=13', '97-87=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,24 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No 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: 24:[97, 74], Operations: ['52/4=13', '87-13=74']
Exploring Operation: 97+74=171, Resulting Numbers: [171]
171,24 unequal: No Solution
Exploring Operation: 97*74=7178, Resulting Numbers: [7178]
7178,24 unequal: No Solution
Exploring Operation: 97-74=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No 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: 24:[87, 84], Operations: ['52/4=13', '97-13=84']
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 87+84=171, Resulting Numbers: [171]
171,24 unequal: No Solution
Exploring Operation: 87*84=7308, Resulting Numbers: [7308]
7308,24 unequal: No Solution
No 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: 24:[97, 100], Operations: ['52/4=13', '87+13=100']
Exploring Operation: 100-97=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 97*100=9700, Resulting Numbers: [9700]
9700,24 unequal: No Solution
Exploring Operation: 97+100=197, Resulting Numbers: [197]
197,24 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
|
[
96,
83,
23,
80
] | 72 |
[
"83-23=60",
"96*60=5760",
"5760/80=72"
] |
Current State: 72:[96, 83, 23, 80], Operations: []
Exploring Operation: 83-23=60, Resulting Numbers: [96, 80, 60]
Generated Node #2: [96, 80, 60] from Operation: 83-23=60
Current State: 72:[96, 80, 60], Operations: ['83-23=60']
Exploring Operation: 96*60=5760, Resulting Numbers: [80, 5760]
Generated Node #3: [80, 5760] from Operation: 96*60=5760
Current State: 72:[80, 5760], Operations: ['83-23=60', '96*60=5760']
Exploring Operation: 5760/80=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[96, 83, 23, 80], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [83, 23, 16]
Generated Node #0,0: 72:[83, 23, 16] Operation: 96-80=16
Exploring Operation: 96-23=73, Resulting Numbers: [83, 80, 73]
Generated Node #0,1: 72:[83, 80, 73] Operation: 96-23=73
Exploring Operation: 83-80=3, Resulting Numbers: [96, 23, 3]
Generated Node #0,2: 72:[96, 23, 3] Operation: 83-80=3
Exploring Operation: 83-23=60, Resulting Numbers: [96, 80, 60]
Generated Node #0,3: 72:[96, 80, 60] Operation: 83-23=60
Exploring Operation: 96-83=13, Resulting Numbers: [23, 80, 13]
Generated Node #0,4: 72:[23, 80, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[23, 80, 13], Operations: ['96-83=13']
Exploring Operation: 80-13=67, Resulting Numbers: [23, 67]
Generated Node #0,4,0: 72:[23, 67] Operation: 80-13=67
Exploring Operation: 23-13=10, Resulting Numbers: [80, 10]
Generated Node #0,4,1: 72:[80, 10] Operation: 23-13=10
Exploring Operation: 23+13=36, Resulting Numbers: [80, 36]
Generated Node #0,4,2: 72:[80, 36] Operation: 23+13=36
Exploring Operation: 80-23=57, Resulting Numbers: [13, 57]
Generated Node #0,4,3: 72:[13, 57] Operation: 80-23=57
Exploring Operation: 80+13=93, Resulting Numbers: [23, 93]
Generated Node #0,4,4: 72:[23, 93] Operation: 80+13=93
Moving to Node #0,4,0
Current State: 72:[23, 67], Operations: ['96-83=13', '80-13=67']
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,72 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Moving to Node #0,4,2
Current State: 72:[80, 36], Operations: ['96-83=13', '23+13=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,72 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Moving to Node #0,4,1
Current State: 72:[80, 10], Operations: ['96-83=13', '23-13=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,72 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,4,3
Current State: 72:[13, 57], Operations: ['96-83=13', '80-23=57']
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,72 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Moving to Node #0,4,4
Current State: 72:[23, 93], Operations: ['96-83=13', '80+13=93']
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[83, 23, 16], Operations: ['96-80=16']
Exploring Operation: 83-23=60, Resulting Numbers: [16, 60]
Generated Node #0,0,0: 72:[16, 60] Operation: 83-23=60
Exploring Operation: 83+16=99, Resulting Numbers: [23, 99]
Generated Node #0,0,1: 72:[23, 99] Operation: 83+16=99
Exploring Operation: 83-16=67, Resulting Numbers: [23, 67]
Generated Node #0,0,2: 72:[23, 67] Operation: 83-16=67
Exploring Operation: 23-16=7, Resulting Numbers: [83, 7]
Generated Node #0,0,3: 72:[83, 7] Operation: 23-16=7
Exploring Operation: 23+16=39, Resulting Numbers: [83, 39]
Generated Node #0,0,4: 72:[83, 39] Operation: 23+16=39
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[23, 67], Operations: ['96-80=16', '83-16=67']
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,72 unequal: No Solution
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 72:[83, 7], Operations: ['96-80=16', '23-16=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[16, 60], Operations: ['96-80=16', '83-23=60']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 72:[83, 39], Operations: ['96-80=16', '23+16=39']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,72 unequal: No Solution
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[23, 99], Operations: ['96-80=16', '83+16=99']
Exploring Operation: 23*99=2277, Resulting Numbers: [2277]
2277,72 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 23+99=122, Resulting Numbers: [122]
122,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[83, 80, 73], Operations: ['96-23=73']
Exploring Operation: 83+80=163, Resulting Numbers: [73, 163]
Generated Node #0,1,0: 72:[73, 163] Operation: 83+80=163
Exploring Operation: 83-73=10, Resulting Numbers: [80, 10]
Generated Node #0,1,1: 72:[80, 10] Operation: 83-73=10
Exploring Operation: 83-80=3, Resulting Numbers: [73, 3]
Generated Node #0,1,2: 72:[73, 3] Operation: 83-80=3
Exploring Operation: 83+73=156, Resulting Numbers: [80, 156]
Generated Node #0,1,3: 72:[80, 156] Operation: 83+73=156
Exploring Operation: 80-73=7, Resulting Numbers: [83, 7]
Generated Node #0,1,4: 72:[83, 7] Operation: 80-73=7
Moving to Node #0,1,2
Current State: 72:[73, 3], Operations: ['96-23=73', '83-80=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,72 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[80, 10], Operations: ['96-23=73', '83-73=10']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,72 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[83, 7], Operations: ['96-23=73', '80-73=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,72 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[73, 163], Operations: ['96-23=73', '83+80=163']
Exploring Operation: 73*163=11899, Resulting Numbers: [11899]
11899,72 unequal: No Solution
Exploring Operation: 163-73=90, Resulting Numbers: [90]
90,72 unequal: No Solution
Exploring Operation: 73+163=236, Resulting Numbers: [236]
236,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[80, 156], Operations: ['96-23=73', '83+73=156']
Exploring Operation: 80*156=12480, Resulting Numbers: [12480]
12480,72 unequal: No Solution
Exploring Operation: 80+156=236, Resulting Numbers: [236]
236,72 unequal: No Solution
Exploring Operation: 156-80=76, Resulting Numbers: [76]
76,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[96, 23, 3], Operations: ['83-80=3']
Exploring Operation: 96-3=93, Resulting Numbers: [23, 93]
Generated Node #0,2,0: 72:[23, 93] Operation: 96-3=93
Exploring Operation: 96-23=73, Resulting Numbers: [3, 73]
Generated Node #0,2,1: 72:[3, 73] Operation: 96-23=73
Exploring Operation: 23+3=26, Resulting Numbers: [96, 26]
Generated Node #0,2,2: 72:[96, 26] Operation: 23+3=26
Exploring Operation: 96/3=32, Resulting Numbers: [23, 32]
Generated Node #0,2,3: 72:[23, 32] Operation: 96/3=32
Exploring Operation: 23-3=20, Resulting Numbers: [96, 20]
Generated Node #0,2,4: 72:[96, 20] Operation: 23-3=20
Moving to Node #0,2,1
Current State: 72:[3, 73], Operations: ['83-80=3', '96-23=73']
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,72 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[23, 32], Operations: ['83-80=3', '96/3=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,72 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[23, 93], Operations: ['83-80=3', '96-3=93']
Exploring Operation: 23+93=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 23*93=2139, Resulting Numbers: [2139]
2139,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[96, 26], Operations: ['83-80=3', '23+3=26']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,72 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[96, 20], Operations: ['83-80=3', '23-3=20']
Exploring Operation: 96*20=1920, Resulting Numbers: [1920]
1920,72 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,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,3
Current State: 72:[96, 80, 60], Operations: ['83-23=60']
Exploring Operation: 80+60=140, Resulting Numbers: [96, 140]
Generated Node #0,3,0: 72:[96, 140] Operation: 80+60=140
Exploring Operation: 96-60=36, Resulting Numbers: [80, 36]
Generated Node #0,3,1: 72:[80, 36] Operation: 96-60=36
Exploring Operation: 96+60=156, Resulting Numbers: [80, 156]
Generated Node #0,3,2: 72:[80, 156] Operation: 96+60=156
Exploring Operation: 80-60=20, Resulting Numbers: [96, 20]
Generated Node #0,3,3: 72:[96, 20] Operation: 80-60=20
Exploring Operation: 96-80=16, Resulting Numbers: [60, 16]
Generated Node #0,3,4: 72:[60, 16] Operation: 96-80=16
Moving to Node #0,3,1
Current State: 72:[80, 36], Operations: ['83-23=60', '96-60=36']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[60, 16], Operations: ['83-23=60', '96-80=16']
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[96, 20], Operations: ['83-23=60', '80-60=20']
Exploring Operation: 96+20=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 96*20=1920, Resulting Numbers: [1920]
1920,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[96, 140], Operations: ['83-23=60', '80+60=140']
Exploring Operation: 96*140=13440, Resulting Numbers: [13440]
13440,72 unequal: No Solution
Exploring Operation: 140-96=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 96+140=236, Resulting Numbers: [236]
236,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[80, 156], Operations: ['83-23=60', '96+60=156']
Exploring Operation: 156-80=76, Resulting Numbers: [76]
76,72 unequal: No Solution
Exploring Operation: 80*156=12480, Resulting Numbers: [12480]
12480,72 unequal: No Solution
Exploring Operation: 80+156=236, Resulting Numbers: [236]
236,72 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
|
[
40,
87,
68,
34
] | 67 |
[
"40*34=1360",
"1360/68=20",
"87-20=67"
] |
Current State: 67:[40, 87, 68, 34], Operations: []
Exploring Operation: 40*34=1360, Resulting Numbers: [87, 68, 1360]
Generated Node #2: [87, 68, 1360] from Operation: 40*34=1360
Current State: 67:[87, 68, 1360], Operations: ['40*34=1360']
Exploring Operation: 1360/68=20, Resulting Numbers: [87, 20]
Generated Node #3: [87, 20] from Operation: 1360/68=20
Current State: 67:[87, 20], Operations: ['40*34=1360', '1360/68=20']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[40, 87, 68, 34], Operations: []
Exploring Operation: 40+34=74, Resulting Numbers: [87, 68, 74]
Generated Node #0,0: 67:[87, 68, 74] Operation: 40+34=74
Moving to Node #0,0
Current State: 67:[87, 68, 74], Operations: ['40+34=74']
Exploring Operation: 87-68=19, Resulting Numbers: [74, 19]
Generated Node #0,0,0: 67:[74, 19] Operation: 87-68=19
Moving to Node #0,0,0
Current State: 67:[74, 19], Operations: ['40+34=74', '87-68=19']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
5,
85,
31,
3
] | 20 |
[
"85/5=17",
"3*17=51",
"51-31=20"
] |
Current State: 20:[5, 85, 31, 3], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [31, 3, 17]
Generated Node #2: [31, 3, 17] from Operation: 85/5=17
Current State: 20:[31, 3, 17], Operations: ['85/5=17']
Exploring Operation: 3*17=51, Resulting Numbers: [31, 51]
Generated Node #3: [31, 51] from Operation: 3*17=51
Current State: 20:[31, 51], Operations: ['85/5=17', '3*17=51']
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[5, 85, 31, 3], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [31, 3, 17]
Generated Node #0,0: 20:[31, 3, 17] Operation: 85/5=17
Moving to Node #0,0
Current State: 20:[31, 3, 17], Operations: ['85/5=17']
Exploring Operation: 31-17=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 20:[3, 14] Operation: 31-17=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[3, 14], Operations: ['85/5=17', '31-17=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,20 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
|
[
51,
86,
50,
25
] | 10 |
[
"86-51=35",
"50-25=25",
"35-25=10"
] |
Current State: 10:[51, 86, 50, 25], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [50, 25, 35]
Generated Node #2: [50, 25, 35] from Operation: 86-51=35
Current State: 10:[50, 25, 35], Operations: ['86-51=35']
Exploring Operation: 50-25=25, Resulting Numbers: [35, 25]
Generated Node #3: [35, 25] from Operation: 50-25=25
Current State: 10:[35, 25], Operations: ['86-51=35', '50-25=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[51, 86, 50, 25], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [86, 25, 1]
Generated Node #0,0: 10:[86, 25, 1] Operation: 51-50=1
Exploring Operation: 86-51=35, Resulting Numbers: [50, 25, 35]
Generated Node #0,1: 10:[50, 25, 35] Operation: 86-51=35
Exploring Operation: 86-50=36, Resulting Numbers: [51, 25, 36]
Generated Node #0,2: 10:[51, 25, 36] Operation: 86-50=36
Exploring Operation: 50/25=2, Resulting Numbers: [51, 86, 2]
Generated Node #0,3: 10:[51, 86, 2] Operation: 50/25=2
Moving to Node #0,1
Current State: 10:[50, 25, 35], Operations: ['86-51=35']
Exploring Operation: 35-25=10, Resulting Numbers: [50, 10]
Generated Node #0,1,0: 10:[50, 10] Operation: 35-25=10
Exploring Operation: 50-25=25, Resulting Numbers: [35, 25]
Generated Node #0,1,1: 10:[35, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [35, 2]
Generated Node #0,1,2: 10:[35, 2] Operation: 50/25=2
Exploring Operation: 50-35=15, Resulting Numbers: [25, 15]
Generated Node #0,1,3: 10:[25, 15] Operation: 50-35=15
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[25, 15], Operations: ['86-51=35', '50-35=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[51, 86, 50, 25], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [50, 25, 35]
Generated Node #0,1: 10:[50, 25, 35] Operation: 86-51=35
Moving to Node #0,1
Current State: 10:[50, 25, 35], Operations: ['86-51=35']
Exploring Operation: 50-35=15, Resulting Numbers: [25, 15]
Generated Node #0,1,3: 10:[25, 15] Operation: 50-35=15
Moving to Node #0,1,3
Current State: 10:[25, 15], Operations: ['86-51=35', '50-35=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
mult_heuristic
|
[
44,
36,
14,
74
] | 35 |
[
"36+74=110",
"14*110=1540",
"1540/44=35"
] |
Current State: 35:[44, 36, 14, 74], Operations: []
Exploring Operation: 36+74=110, Resulting Numbers: [44, 14, 110]
Generated Node #2: [44, 14, 110] from Operation: 36+74=110
Current State: 35:[44, 14, 110], Operations: ['36+74=110']
Exploring Operation: 14*110=1540, Resulting Numbers: [44, 1540]
Generated Node #3: [44, 1540] from Operation: 14*110=1540
Current State: 35:[44, 1540], Operations: ['36+74=110', '14*110=1540']
Exploring Operation: 1540/44=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[44, 36, 14, 74], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [44, 36, 60]
Generated Node #0,0: 35:[44, 36, 60] Operation: 74-14=60
Exploring Operation: 44-14=30, Resulting Numbers: [36, 74, 30]
Generated Node #0,1: 35:[36, 74, 30] Operation: 44-14=30
Exploring Operation: 74-44=30, Resulting Numbers: [36, 14, 30]
Generated Node #0,2: 35:[36, 14, 30] Operation: 74-44=30
Exploring Operation: 74-36=38, Resulting Numbers: [44, 14, 38]
Generated Node #0,3: 35:[44, 14, 38] Operation: 74-36=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[36, 14, 30], Operations: ['74-44=30']
Exploring Operation: 36-30=6, Resulting Numbers: [14, 6]
Generated Node #0,2,0: 35:[14, 6] Operation: 36-30=6
Exploring Operation: 14+30=44, Resulting Numbers: [36, 44]
Generated Node #0,2,1: 35:[36, 44] Operation: 14+30=44
Exploring Operation: 30-14=16, Resulting Numbers: [36, 16]
Generated Node #0,2,2: 35:[36, 16] Operation: 30-14=16
Exploring Operation: 36-14=22, Resulting Numbers: [30, 22]
Generated Node #0,2,3: 35:[30, 22] Operation: 36-14=22
Moving to Node #0,2,0
Current State: 35:[14, 6], Operations: ['74-44=30', '36-30=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[36, 16], Operations: ['74-44=30', '30-14=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[36, 44], Operations: ['74-44=30', '14+30=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[30, 22], Operations: ['74-44=30', '36-14=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[44, 14, 38], Operations: ['74-36=38']
Exploring Operation: 44+14=58, Resulting Numbers: [38, 58]
Generated Node #0,3,0: 35:[38, 58] Operation: 44+14=58
Exploring Operation: 44-38=6, Resulting Numbers: [14, 6]
Generated Node #0,3,1: 35:[14, 6] Operation: 44-38=6
Exploring Operation: 44-14=30, Resulting Numbers: [38, 30]
Generated Node #0,3,2: 35:[38, 30] Operation: 44-14=30
Exploring Operation: 38-14=24, Resulting Numbers: [44, 24]
Generated Node #0,3,3: 35:[44, 24] Operation: 38-14=24
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[14, 6], Operations: ['74-36=38', '44-38=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[38, 30], Operations: ['74-36=38', '44-14=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[44, 24], Operations: ['74-36=38', '38-14=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,35 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[38, 58], Operations: ['74-36=38', '44+14=58']
Exploring Operation: 38*58=2204, Resulting Numbers: [2204]
2204,35 unequal: No Solution
Exploring Operation: 38+58=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[44, 36, 60], Operations: ['74-14=60']
Exploring Operation: 44+36=80, Resulting Numbers: [60, 80]
Generated Node #0,0,0: 35:[60, 80] Operation: 44+36=80
Exploring Operation: 44-36=8, Resulting Numbers: [60, 8]
Generated Node #0,0,1: 35:[60, 8] Operation: 44-36=8
Exploring Operation: 60-36=24, Resulting Numbers: [44, 24]
Generated Node #0,0,2: 35:[44, 24] Operation: 60-36=24
Exploring Operation: 60-44=16, Resulting Numbers: [36, 16]
Generated Node #0,0,3: 35:[36, 16] Operation: 60-44=16
Moving to Node #0,0,3
Current State: 35:[36, 16], Operations: ['74-14=60', '60-44=16']
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,35 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[44, 24], Operations: ['74-14=60', '60-36=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,35 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[60, 8], Operations: ['74-14=60', '44-36=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[60, 80], Operations: ['74-14=60', '44+36=80']
Exploring Operation: 60*80=4800, Resulting Numbers: [4800]
4800,35 unequal: No Solution
Exploring Operation: 60+80=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[36, 74, 30], Operations: ['44-14=30']
Exploring Operation: 74-36=38, Resulting Numbers: [30, 38]
Generated Node #0,1,0: 35:[30, 38] Operation: 74-36=38
Exploring Operation: 36-30=6, Resulting Numbers: [74, 6]
Generated Node #0,1,1: 35:[74, 6] Operation: 36-30=6
Exploring Operation: 36+30=66, Resulting Numbers: [74, 66]
Generated Node #0,1,2: 35:[74, 66] Operation: 36+30=66
Exploring Operation: 74-30=44, Resulting Numbers: [36, 44]
Generated Node #0,1,3: 35:[36, 44] Operation: 74-30=44
Moving to Node #0,1,0
Current State: 35:[30, 38], Operations: ['44-14=30', '74-36=38']
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,35 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[36, 44], Operations: ['44-14=30', '74-30=44']
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[74, 6], Operations: ['44-14=30', '36-30=6']
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,35 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[74, 66], Operations: ['44-14=30', '36+30=66']
Exploring Operation: 74*66=4884, Resulting Numbers: [4884]
4884,35 unequal: No Solution
Exploring Operation: 74+66=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,35 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
|
[
29,
63,
48,
72
] | 58 |
[
"63-29=34",
"72-48=24",
"34+24=58"
] |
Current State: 58:[29, 63, 48, 72], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [48, 72, 34]
Generated Node #2: [48, 72, 34] from Operation: 63-29=34
Current State: 58:[48, 72, 34], Operations: ['63-29=34']
Exploring Operation: 72-48=24, Resulting Numbers: [34, 24]
Generated Node #3: [34, 24] from Operation: 72-48=24
Current State: 58:[34, 24], Operations: ['63-29=34', '72-48=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 |
Current State: 58:[29, 63, 48, 72], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [29, 72, 15]
Generated Node #0,0: 58:[29, 72, 15] Operation: 63-48=15
Exploring Operation: 72-48=24, Resulting Numbers: [29, 63, 24]
Generated Node #0,1: 58:[29, 63, 24] Operation: 72-48=24
Exploring Operation: 72-63=9, Resulting Numbers: [29, 48, 9]
Generated Node #0,2: 58:[29, 48, 9] Operation: 72-63=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[29, 63, 24], Operations: ['72-48=24']
Exploring Operation: 29+24=53, Resulting Numbers: [63, 53]
Generated Node #0,1,0: 58:[63, 53] Operation: 29+24=53
Exploring Operation: 29-24=5, Resulting Numbers: [63, 5]
Generated Node #0,1,1: 58:[63, 5] Operation: 29-24=5
Exploring Operation: 63-29=34, Resulting Numbers: [24, 34]
Generated Node #0,1,2: 58:[24, 34] Operation: 63-29=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[63, 5], Operations: ['72-48=24', '29-24=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,58 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[29, 63, 48, 72], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [29, 63, 24]
Generated Node #0,1: 58:[29, 63, 24] Operation: 72-48=24
Moving to Node #0,1
Current State: 58:[29, 63, 24], Operations: ['72-48=24']
Exploring Operation: 29-24=5, Resulting Numbers: [63, 5]
Generated Node #0,1,1: 58:[63, 5] Operation: 29-24=5
Moving to Node #0,1,1
Current State: 58:[63, 5], Operations: ['72-48=24', '29-24=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
43,
41,
93,
65
] | 56 |
[
"43+41=84",
"93-65=28",
"84-28=56"
] |
Current State: 56:[43, 41, 93, 65], Operations: []
Exploring Operation: 43+41=84, Resulting Numbers: [93, 65, 84]
Generated Node #2: [93, 65, 84] from Operation: 43+41=84
Current State: 56:[93, 65, 84], Operations: ['43+41=84']
Exploring Operation: 93-65=28, Resulting Numbers: [84, 28]
Generated Node #3: [84, 28] from Operation: 93-65=28
Current State: 56:[84, 28], Operations: ['43+41=84', '93-65=28']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[43, 41, 93, 65], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [41, 65, 50]
Generated Node #0,0: 56:[41, 65, 50] Operation: 93-43=50
Exploring Operation: 93-41=52, Resulting Numbers: [43, 65, 52]
Generated Node #0,1: 56:[43, 65, 52] Operation: 93-41=52
Exploring Operation: 93-65=28, Resulting Numbers: [43, 41, 28]
Generated Node #0,2: 56:[43, 41, 28] Operation: 93-65=28
Moving to Node #0,1
Current State: 56:[43, 65, 52], Operations: ['93-41=52']
Exploring Operation: 65-43=22, Resulting Numbers: [52, 22]
Generated Node #0,1,0: 56:[52, 22] Operation: 65-43=22
Exploring Operation: 52-43=9, Resulting Numbers: [65, 9]
Generated Node #0,1,1: 56:[65, 9] Operation: 52-43=9
Exploring Operation: 65-52=13, Resulting Numbers: [43, 13]
Generated Node #0,1,2: 56:[43, 13] Operation: 65-52=13
Moving to Node #0,2
Current State: 56:[43, 41, 28], Operations: ['93-65=28']
Exploring Operation: 43-41=2, Resulting Numbers: [28, 2]
Generated Node #0,2,0: 56:[28, 2] Operation: 43-41=2
Exploring Operation: 43-28=15, Resulting Numbers: [41, 15]
Generated Node #0,2,1: 56:[41, 15] Operation: 43-28=15
Exploring Operation: 41-28=13, Resulting Numbers: [43, 13]
Generated Node #0,2,2: 56:[43, 13] Operation: 41-28=13
Moving to Node #0,0
Current State: 56:[41, 65, 50], Operations: ['93-43=50']
Exploring Operation: 65-50=15, Resulting Numbers: [41, 15]
Generated Node #0,0,0: 56:[41, 15] Operation: 65-50=15
Exploring Operation: 65-41=24, Resulting Numbers: [50, 24]
Generated Node #0,0,1: 56:[50, 24] Operation: 65-41=24
Exploring Operation: 50-41=9, Resulting Numbers: [65, 9]
Generated Node #0,0,2: 56:[65, 9] Operation: 50-41=9
Moving to Node #0,2,0
Current State: 56:[28, 2], Operations: ['93-65=28', '43-41=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[43, 41, 93, 65], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [43, 41, 28]
Generated Node #0,2: 56:[43, 41, 28] Operation: 93-65=28
Moving to Node #0,2
Current State: 56:[43, 41, 28], Operations: ['93-65=28']
Exploring Operation: 43-41=2, Resulting Numbers: [28, 2]
Generated Node #0,2,0: 56:[28, 2] Operation: 43-41=2
Moving to Node #0,2,0
Current State: 56:[28, 2], Operations: ['93-65=28', '43-41=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.985243 |
hs_3
|
mult_heuristic
|
[
55,
8,
95,
16
] | 32 |
[
"55-8=47",
"95-16=79",
"79-47=32"
] |
Current State: 32:[55, 8, 95, 16], Operations: []
Exploring Operation: 55-8=47, Resulting Numbers: [95, 16, 47]
Generated Node #2: [95, 16, 47] from Operation: 55-8=47
Current State: 32:[95, 16, 47], Operations: ['55-8=47']
Exploring Operation: 95-16=79, Resulting Numbers: [47, 79]
Generated Node #3: [47, 79] from Operation: 95-16=79
Current State: 32:[47, 79], Operations: ['55-8=47', '95-16=79']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[55, 8, 95, 16], Operations: []
Exploring Operation: 95-16=79, Resulting Numbers: [55, 8, 79]
Generated Node #0,0: 32:[55, 8, 79] Operation: 95-16=79
Exploring Operation: 95-55=40, Resulting Numbers: [8, 16, 40]
Generated Node #0,1: 32:[8, 16, 40] Operation: 95-55=40
Exploring Operation: 55-16=39, Resulting Numbers: [8, 95, 39]
Generated Node #0,2: 32:[8, 95, 39] Operation: 55-16=39
Moving to Node #0,1
Current State: 32:[8, 16, 40], Operations: ['95-55=40']
Exploring Operation: 16-8=8, Resulting Numbers: [40, 8]
Generated Node #0,1,0: 32:[40, 8] Operation: 16-8=8
Exploring Operation: 40/8=5, Resulting Numbers: [16, 5]
Generated Node #0,1,1: 32:[16, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [16, 32]
Generated Node #0,1,2: 32:[16, 32] Operation: 40-8=32
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[16, 32], Operations: ['95-55=40', '40-8=32']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[16, 5], Operations: ['95-55=40', '40/8=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[40, 8], Operations: ['95-55=40', '16-8=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[55, 8, 95, 16], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [8, 16, 40]
Generated Node #0,1: 32:[8, 16, 40] Operation: 95-55=40
Moving to Node #0,1
Current State: 32:[8, 16, 40], Operations: ['95-55=40']
Exploring Operation: 16-8=8, Resulting Numbers: [40, 8]
Generated Node #0,1,0: 32:[40, 8] Operation: 16-8=8
Moving to Node #0,1,0
Current State: 32:[40, 8], Operations: ['95-55=40', '16-8=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
mult_heuristic
|
[
28,
30,
51,
76
] | 33 |
[
"28+30=58",
"76-51=25",
"58-25=33"
] |
Current State: 33:[28, 30, 51, 76], Operations: []
Exploring Operation: 28+30=58, Resulting Numbers: [51, 76, 58]
Generated Node #2: [51, 76, 58] from Operation: 28+30=58
Current State: 33:[51, 76, 58], Operations: ['28+30=58']
Exploring Operation: 76-51=25, Resulting Numbers: [58, 25]
Generated Node #3: [58, 25] from Operation: 76-51=25
Current State: 33:[58, 25], Operations: ['28+30=58', '76-51=25']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[28, 30, 51, 76], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [30, 51, 48]
Generated Node #0,0: 33:[30, 51, 48] Operation: 76-28=48
Exploring Operation: 76-51=25, Resulting Numbers: [28, 30, 25]
Generated Node #0,1: 33:[28, 30, 25] Operation: 76-51=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[28, 30, 25], Operations: ['76-51=25']
Exploring Operation: 28-25=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 33:[30, 3] Operation: 28-25=3
Exploring Operation: 30-25=5, Resulting Numbers: [28, 5]
Generated Node #0,1,1: 33:[28, 5] Operation: 30-25=5
Moving to Node #0,1,0
Current State: 33:[30, 3], Operations: ['76-51=25', '28-25=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[28, 30, 51, 76], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [28, 30, 25]
Generated Node #0,1: 33:[28, 30, 25] Operation: 76-51=25
Moving to Node #0,1
Current State: 33:[28, 30, 25], Operations: ['76-51=25']
Exploring Operation: 28-25=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 33:[30, 3] Operation: 28-25=3
Moving to Node #0,1,0
Current State: 33:[30, 3], Operations: ['76-51=25', '28-25=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
98,
22,
48,
36
] | 36 |
[
"98+22=120",
"48+36=84",
"120-84=36"
] |
Current State: 36:[98, 22, 48, 36], Operations: []
Exploring Operation: 98+22=120, Resulting Numbers: [48, 36, 120]
Generated Node #2: [48, 36, 120] from Operation: 98+22=120
Current State: 36:[48, 36, 120], Operations: ['98+22=120']
Exploring Operation: 48+36=84, Resulting Numbers: [120, 84]
Generated Node #3: [120, 84] from Operation: 48+36=84
Current State: 36:[120, 84], Operations: ['98+22=120', '48+36=84']
Exploring Operation: 120-84=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 |
Current State: 36:[98, 22, 48, 36], Operations: []
Exploring Operation: 98-36=62, Resulting Numbers: [22, 48, 62]
Generated Node #0,0: 36:[22, 48, 62] Operation: 98-36=62
Exploring Operation: 98-22=76, Resulting Numbers: [48, 36, 76]
Generated Node #0,1: 36:[48, 36, 76] Operation: 98-22=76
Exploring Operation: 98-48=50, Resulting Numbers: [22, 36, 50]
Generated Node #0,2: 36:[22, 36, 50] Operation: 98-48=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[22, 36, 50], Operations: ['98-48=50']
Exploring Operation: 36-22=14, Resulting Numbers: [50, 14]
Generated Node #0,2,0: 36:[50, 14] Operation: 36-22=14
Exploring Operation: 50-36=14, Resulting Numbers: [22, 14]
Generated Node #0,2,1: 36:[22, 14] Operation: 50-36=14
Exploring Operation: 50-22=28, Resulting Numbers: [36, 28]
Generated Node #0,2,2: 36:[36, 28] Operation: 50-22=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[22, 14], Operations: ['98-48=50', '50-36=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,36 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[98, 22, 48, 36], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [22, 36, 50]
Generated Node #0,2: 36:[22, 36, 50] Operation: 98-48=50
Moving to Node #0,2
Current State: 36:[22, 36, 50], Operations: ['98-48=50']
Exploring Operation: 50-36=14, Resulting Numbers: [22, 14]
Generated Node #0,2,1: 36:[22, 14] Operation: 50-36=14
Moving to Node #0,2,1
Current State: 36:[22, 14], Operations: ['98-48=50', '50-36=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
sum_heuristic
|
[
7,
89,
45,
96
] | 59 |
[
"89-7=82",
"45+96=141",
"141-82=59"
] |
Current State: 59:[7, 89, 45, 96], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [45, 96, 82]
Generated Node #2: [45, 96, 82] from Operation: 89-7=82
Current State: 59:[45, 96, 82], Operations: ['89-7=82']
Exploring Operation: 45+96=141, Resulting Numbers: [82, 141]
Generated Node #3: [82, 141] from Operation: 45+96=141
Current State: 59:[82, 141], Operations: ['89-7=82', '45+96=141']
Exploring Operation: 141-82=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[7, 89, 45, 96], Operations: []
Exploring Operation: 7+45=52, Resulting Numbers: [89, 96, 52]
Generated Node #0,0: 59:[89, 96, 52] Operation: 7+45=52
Exploring Operation: 96-7=89, Resulting Numbers: [89, 45, 89]
Generated Node #0,1: 59:[89, 45, 89] Operation: 96-7=89
Exploring Operation: 89-7=82, Resulting Numbers: [45, 96, 82]
Generated Node #0,2: 59:[45, 96, 82] Operation: 89-7=82
Exploring Operation: 7+89=96, Resulting Numbers: [45, 96, 96]
Generated Node #0,3: 59:[45, 96, 96] Operation: 7+89=96
Exploring Operation: 45-7=38, Resulting Numbers: [89, 96, 38]
Generated Node #0,4: 59:[89, 96, 38] Operation: 45-7=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[89, 96, 52], Operations: ['7+45=52']
Exploring Operation: 89+52=141, Resulting Numbers: [96, 141]
Generated Node #0,0,0: 59:[96, 141] Operation: 89+52=141
Exploring Operation: 96-52=44, Resulting Numbers: [89, 44]
Generated Node #0,0,1: 59:[89, 44] Operation: 96-52=44
Exploring Operation: 96-89=7, Resulting Numbers: [52, 7]
Generated Node #0,0,2: 59:[52, 7] Operation: 96-89=7
Exploring Operation: 96+52=148, Resulting Numbers: [89, 148]
Generated Node #0,0,3: 59:[89, 148] Operation: 96+52=148
Exploring Operation: 89-52=37, Resulting Numbers: [96, 37]
Generated Node #0,0,4: 59:[96, 37] Operation: 89-52=37
Moving to Node #0,0,1
Current State: 59:[89, 44], Operations: ['7+45=52', '96-52=44']
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 89*44=3916, Resulting Numbers: [3916]
3916,59 unequal: No Solution
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[96, 37], Operations: ['7+45=52', '89-52=37']
Exploring Operation: 96*37=3552, Resulting Numbers: [3552]
3552,59 unequal: No Solution
Exploring Operation: 96+37=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[7, 89, 45, 96], Operations: []
Exploring Operation: 7+45=52, Resulting Numbers: [89, 96, 52]
Generated Node #0,0: 59:[89, 96, 52] Operation: 7+45=52
Moving to Node #0,0
Current State: 59:[89, 96, 52], Operations: ['7+45=52']
Exploring Operation: 89-52=37, Resulting Numbers: [96, 37]
Generated Node #0,0,4: 59:[96, 37] Operation: 89-52=37
Moving to Node #0,0,4
Current State: 59:[96, 37], Operations: ['7+45=52', '89-52=37']
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
sum_heuristic
|
[
99,
77,
61,
87
] | 48 |
[
"99-77=22",
"87-61=26",
"22+26=48"
] |
Current State: 48:[99, 77, 61, 87], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [61, 87, 22]
Generated Node #2: [61, 87, 22] from Operation: 99-77=22
Current State: 48:[61, 87, 22], Operations: ['99-77=22']
Exploring Operation: 87-61=26, Resulting Numbers: [22, 26]
Generated Node #3: [22, 26] from Operation: 87-61=26
Current State: 48:[22, 26], Operations: ['99-77=22', '87-61=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[99, 77, 61, 87], Operations: []
Exploring Operation: 99-87=12, Resulting Numbers: [77, 61, 12]
Generated Node #0,0: 48:[77, 61, 12] Operation: 99-87=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[77, 61, 12], Operations: ['99-87=12']
Exploring Operation: 77-61=16, Resulting Numbers: [12, 16]
Generated Node #0,0,0: 48:[12, 16] Operation: 77-61=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[12, 16], Operations: ['99-87=12', '77-61=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,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_1
|
mult_heuristic
|
[
51,
84,
20,
60
] | 79 |
[
"84*20=1680",
"1680/60=28",
"51+28=79"
] |
Current State: 79:[51, 84, 20, 60], Operations: []
Exploring Operation: 84*20=1680, Resulting Numbers: [51, 60, 1680]
Generated Node #2: [51, 60, 1680] from Operation: 84*20=1680
Current State: 79:[51, 60, 1680], Operations: ['84*20=1680']
Exploring Operation: 1680/60=28, Resulting Numbers: [51, 28]
Generated Node #3: [51, 28] from Operation: 1680/60=28
Current State: 79:[51, 28], Operations: ['84*20=1680', '1680/60=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 |
Current State: 79:[51, 84, 20, 60], Operations: []
Exploring Operation: 51+20=71, Resulting Numbers: [84, 60, 71]
Generated Node #0,0: 79:[84, 60, 71] Operation: 51+20=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[84, 60, 71], Operations: ['51+20=71']
Exploring Operation: 60+71=131, Resulting Numbers: [84, 131]
Generated Node #0,0,0: 79:[84, 131] Operation: 60+71=131
Moving to Node #0,0,0
Current State: 79:[84, 131], Operations: ['51+20=71', '60+71=131']
Exploring Operation: 131-84=47, Resulting Numbers: [47]
47,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
64,
10,
90,
34
] | 80 |
[
"90-64=26",
"34-26=8",
"10*8=80"
] |
Current State: 80:[64, 10, 90, 34], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [10, 34, 26]
Generated Node #2: [10, 34, 26] from Operation: 90-64=26
Current State: 80:[10, 34, 26], Operations: ['90-64=26']
Exploring Operation: 34-26=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 34-26=8
Current State: 80:[10, 8], Operations: ['90-64=26', '34-26=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 |
Current State: 80:[64, 10, 90, 34], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [10, 34, 26]
Generated Node #0,0: 80:[10, 34, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[10, 34, 26], Operations: ['90-64=26']
Exploring Operation: 34-26=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 80:[10, 8] Operation: 34-26=8
Moving to Node #0,0,0
Current State: 80:[10, 8], Operations: ['90-64=26', '34-26=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[64, 10, 90, 34], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [10, 34, 26]
Generated Node #0,0: 80:[10, 34, 26] Operation: 90-64=26
Moving to Node #0,0
Current State: 80:[10, 34, 26], Operations: ['90-64=26']
Exploring Operation: 34-26=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 80:[10, 8] Operation: 34-26=8
Moving to Node #0,0,0
Current State: 80:[10, 8], Operations: ['90-64=26', '34-26=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
18,
90,
15,
96
] | 32 |
[
"90/18=5",
"15/5=3",
"96/3=32"
] |
Current State: 32:[18, 90, 15, 96], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [15, 96, 5]
Generated Node #2: [15, 96, 5] from Operation: 90/18=5
Current State: 32:[15, 96, 5], Operations: ['90/18=5']
Exploring Operation: 15/5=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 15/5=3
Current State: 32:[96, 3], Operations: ['90/18=5', '15/5=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[18, 90, 15, 96], Operations: []
Exploring Operation: 96-18=78, Resulting Numbers: [90, 15, 78]
Generated Node #0,0: 32:[90, 15, 78] Operation: 96-18=78
Exploring Operation: 96-90=6, Resulting Numbers: [18, 15, 6]
Generated Node #0,1: 32:[18, 15, 6] Operation: 96-90=6
Exploring Operation: 90/15=6, Resulting Numbers: [18, 96, 6]
Generated Node #0,2: 32:[18, 96, 6] Operation: 90/15=6
Exploring Operation: 90/18=5, Resulting Numbers: [15, 96, 5]
Generated Node #0,3: 32:[15, 96, 5] Operation: 90/18=5
Exploring Operation: 90-18=72, Resulting Numbers: [15, 96, 72]
Generated Node #0,4: 32:[15, 96, 72] Operation: 90-18=72
Moving to Node #0,1
Current State: 32:[18, 15, 6], Operations: ['96-90=6']
Exploring Operation: 15-6=9, Resulting Numbers: [18, 9]
Generated Node #0,1,0: 32:[18, 9] Operation: 15-6=9
Exploring Operation: 18-6=12, Resulting Numbers: [15, 12]
Generated Node #0,1,1: 32:[15, 12] Operation: 18-6=12
Exploring Operation: 18-15=3, Resulting Numbers: [6, 3]
Generated Node #0,1,2: 32:[6, 3] Operation: 18-15=3
Exploring Operation: 18/6=3, Resulting Numbers: [15, 3]
Generated Node #0,1,3: 32:[15, 3] Operation: 18/6=3
Exploring Operation: 18+15=33, Resulting Numbers: [6, 33]
Generated Node #0,1,4: 32:[6, 33] Operation: 18+15=33
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[15, 3], Operations: ['96-90=6', '18/6=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[18, 9], Operations: ['96-90=6', '15-6=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[6, 3], Operations: ['96-90=6', '18-15=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 32:[6, 33], Operations: ['96-90=6', '18+15=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[15, 12], Operations: ['96-90=6', '18-6=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,32 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,32 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: 32:[15, 96, 5], Operations: ['90/18=5']
Exploring Operation: 15+5=20, Resulting Numbers: [96, 20]
Generated Node #0,3,0: 32:[96, 20] Operation: 15+5=20
Exploring Operation: 96-15=81, Resulting Numbers: [5, 81]
Generated Node #0,3,1: 32:[5, 81] Operation: 96-15=81
Exploring Operation: 15/5=3, Resulting Numbers: [96, 3]
Generated Node #0,3,2: 32:[96, 3] Operation: 15/5=3
Exploring Operation: 96-5=91, Resulting Numbers: [15, 91]
Generated Node #0,3,3: 32:[15, 91] Operation: 96-5=91
Exploring Operation: 15-5=10, Resulting Numbers: [96, 10]
Generated Node #0,3,4: 32:[96, 10] Operation: 15-5=10
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[5, 81], Operations: ['90/18=5', '96-15=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,32 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[15, 91], Operations: ['90/18=5', '96-5=91']
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,32 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[96, 3], Operations: ['90/18=5', '15/5=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,32 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,32 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[18, 90, 15, 96], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [15, 96, 5]
Generated Node #0,3: 32:[15, 96, 5] Operation: 90/18=5
Moving to Node #0,3
Current State: 32:[15, 96, 5], Operations: ['90/18=5']
Exploring Operation: 15/5=3, Resulting Numbers: [96, 3]
Generated Node #0,3,2: 32:[96, 3] Operation: 15/5=3
Moving to Node #0,3,2
Current State: 32:[96, 3], Operations: ['90/18=5', '15/5=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 |
hs_5
|
sum_heuristic
|
[
68,
34,
57,
79
] | 34 |
[
"68+34=102",
"57+79=136",
"136-102=34"
] |
Current State: 34:[68, 34, 57, 79], Operations: []
Exploring Operation: 68+34=102, Resulting Numbers: [57, 79, 102]
Generated Node #2: [57, 79, 102] from Operation: 68+34=102
Current State: 34:[57, 79, 102], Operations: ['68+34=102']
Exploring Operation: 57+79=136, Resulting Numbers: [102, 136]
Generated Node #3: [102, 136] from Operation: 57+79=136
Current State: 34:[102, 136], Operations: ['68+34=102', '57+79=136']
Exploring Operation: 136-102=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 |
Current State: 34:[68, 34, 57, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [34, 57, 11]
Generated Node #0,0: 34:[34, 57, 11] Operation: 79-68=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[34, 57, 11], Operations: ['79-68=11']
Exploring Operation: 57-34=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 34:[11, 23] Operation: 57-34=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[11, 23], Operations: ['79-68=11', '57-34=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[68, 34, 57, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [34, 57, 11]
Generated Node #0,0: 34:[34, 57, 11] Operation: 79-68=11
Moving to Node #0,0
Current State: 34:[34, 57, 11], Operations: ['79-68=11']
Exploring Operation: 57-34=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 34:[11, 23] Operation: 57-34=23
Moving to Node #0,0,0
Current State: 34:[11, 23], Operations: ['79-68=11', '57-34=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
44,
34,
31,
22
] | 66 |
[
"44-22=22",
"34-31=3",
"22*3=66"
] |
Current State: 66:[44, 34, 31, 22], Operations: []
Exploring Operation: 44-22=22, Resulting Numbers: [34, 31, 22]
Generated Node #2: [34, 31, 22] from Operation: 44-22=22
Current State: 66:[34, 31, 22], Operations: ['44-22=22']
Exploring Operation: 34-31=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 34-31=3
Current State: 66:[22, 3], Operations: ['44-22=22', '34-31=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[44, 34, 31, 22], Operations: []
Exploring Operation: 44+22=66, Resulting Numbers: [34, 31, 66]
Generated Node #0,0: 66:[34, 31, 66] Operation: 44+22=66
Exploring Operation: 44-34=10, Resulting Numbers: [31, 22, 10]
Generated Node #0,1: 66:[31, 22, 10] Operation: 44-34=10
Exploring Operation: 44-31=13, Resulting Numbers: [34, 22, 13]
Generated Node #0,2: 66:[34, 22, 13] Operation: 44-31=13
Exploring Operation: 44-22=22, Resulting Numbers: [34, 31, 22]
Generated Node #0,3: 66:[34, 31, 22] Operation: 44-22=22
Moving to Node #0,0
Current State: 66:[34, 31, 66], Operations: ['44+22=66']
Exploring Operation: 66-31=35, Resulting Numbers: [34, 35]
Generated Node #0,0,0: 66:[34, 35] Operation: 66-31=35
Exploring Operation: 34+31=65, Resulting Numbers: [66, 65]
Generated Node #0,0,1: 66:[66, 65] Operation: 34+31=65
Exploring Operation: 34-31=3, Resulting Numbers: [66, 3]
Generated Node #0,0,2: 66:[66, 3] Operation: 34-31=3
Exploring Operation: 66-34=32, Resulting Numbers: [31, 32]
Generated Node #0,0,3: 66:[31, 32] Operation: 66-34=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[66, 3], Operations: ['44+22=66', '34-31=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,66 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[66, 65], Operations: ['44+22=66', '34+31=65']
Exploring Operation: 66+65=131, Resulting Numbers: [131]
131,66 unequal: No Solution
Exploring Operation: 66*65=4290, Resulting Numbers: [4290]
4290,66 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[34, 35], Operations: ['44+22=66', '66-31=35']
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,66 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[31, 32], Operations: ['44+22=66', '66-34=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,66 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 66:[34, 22, 13], Operations: ['44-31=13']
Exploring Operation: 22+13=35, Resulting Numbers: [34, 35]
Generated Node #0,2,0: 66:[34, 35] Operation: 22+13=35
Exploring Operation: 34-13=21, Resulting Numbers: [22, 21]
Generated Node #0,2,1: 66:[22, 21] Operation: 34-13=21
Exploring Operation: 22-13=9, Resulting Numbers: [34, 9]
Generated Node #0,2,2: 66:[34, 9] Operation: 22-13=9
Exploring Operation: 34-22=12, Resulting Numbers: [13, 12]
Generated Node #0,2,3: 66:[13, 12] Operation: 34-22=12
Moving to Node #0,1
Current State: 66:[31, 22, 10], Operations: ['44-34=10']
Exploring Operation: 22+10=32, Resulting Numbers: [31, 32]
Generated Node #0,1,0: 66:[31, 32] Operation: 22+10=32
Exploring Operation: 31-22=9, Resulting Numbers: [10, 9]
Generated Node #0,1,1: 66:[10, 9] Operation: 31-22=9
Exploring Operation: 22-10=12, Resulting Numbers: [31, 12]
Generated Node #0,1,2: 66:[31, 12] Operation: 22-10=12
Exploring Operation: 31-10=21, Resulting Numbers: [22, 21]
Generated Node #0,1,3: 66:[22, 21] Operation: 31-10=21
Moving to Node #0,3
Current State: 66:[34, 31, 22], Operations: ['44-22=22']
Exploring Operation: 34-22=12, Resulting Numbers: [31, 12]
Generated Node #0,3,0: 66:[31, 12] Operation: 34-22=12
Exploring Operation: 34+31=65, Resulting Numbers: [22, 65]
Generated Node #0,3,1: 66:[22, 65] Operation: 34+31=65
Exploring Operation: 34-31=3, Resulting Numbers: [22, 3]
Generated Node #0,3,2: 66:[22, 3] Operation: 34-31=3
Exploring Operation: 31-22=9, Resulting Numbers: [34, 9]
Generated Node #0,3,3: 66:[34, 9] Operation: 31-22=9
Moving to Node #0,3,2
Current State: 66:[22, 3], Operations: ['44-22=22', '34-31=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[44, 34, 31, 22], Operations: []
Exploring Operation: 44-22=22, Resulting Numbers: [34, 31, 22]
Generated Node #0,3: 66:[34, 31, 22] Operation: 44-22=22
Moving to Node #0,3
Current State: 66:[34, 31, 22], Operations: ['44-22=22']
Exploring Operation: 34-31=3, Resulting Numbers: [22, 3]
Generated Node #0,3,2: 66:[22, 3] Operation: 34-31=3
Moving to Node #0,3,2
Current State: 66:[22, 3], Operations: ['44-22=22', '34-31=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.967014 |
hs_4
|
mult_heuristic
|
[
93,
76,
7,
72
] | 25 |
[
"93+7=100",
"76-72=4",
"100/4=25"
] |
Current State: 25:[93, 76, 7, 72], Operations: []
Exploring Operation: 93+7=100, Resulting Numbers: [76, 72, 100]
Generated Node #2: [76, 72, 100] from Operation: 93+7=100
Current State: 25:[76, 72, 100], Operations: ['93+7=100']
Exploring Operation: 76-72=4, Resulting Numbers: [100, 4]
Generated Node #3: [100, 4] from Operation: 76-72=4
Current State: 25:[100, 4], Operations: ['93+7=100', '76-72=4']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[93, 76, 7, 72], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [76, 7, 21]
Generated Node #0,0: 25:[76, 7, 21] Operation: 93-72=21
Exploring Operation: 76-72=4, Resulting Numbers: [93, 7, 4]
Generated Node #0,1: 25:[93, 7, 4] Operation: 76-72=4
Exploring Operation: 93-76=17, Resulting Numbers: [7, 72, 17]
Generated Node #0,2: 25:[7, 72, 17] Operation: 93-76=17
Exploring Operation: 76-7=69, Resulting Numbers: [93, 72, 69]
Generated Node #0,3: 25:[93, 72, 69] Operation: 76-7=69
Exploring Operation: 93-7=86, Resulting Numbers: [76, 72, 86]
Generated Node #0,4: 25:[76, 72, 86] Operation: 93-7=86
Moving to Node #0,0
Current State: 25:[76, 7, 21], Operations: ['93-72=21']
Exploring Operation: 21/7=3, Resulting Numbers: [76, 3]
Generated Node #0,0,0: 25:[76, 3] Operation: 21/7=3
Exploring Operation: 7+21=28, Resulting Numbers: [76, 28]
Generated Node #0,0,1: 25:[76, 28] Operation: 7+21=28
Exploring Operation: 76-7=69, Resulting Numbers: [21, 69]
Generated Node #0,0,2: 25:[21, 69] Operation: 76-7=69
Exploring Operation: 21-7=14, Resulting Numbers: [76, 14]
Generated Node #0,0,3: 25:[76, 14] Operation: 21-7=14
Exploring Operation: 76-21=55, Resulting Numbers: [7, 55]
Generated Node #0,0,4: 25:[7, 55] Operation: 76-21=55
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 25:[7, 55], Operations: ['93-72=21', '76-21=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,25 unequal: No Solution
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[21, 69], Operations: ['93-72=21', '76-7=69']
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,25 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[76, 3], Operations: ['93-72=21', '21/7=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,25 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[76, 28], Operations: ['93-72=21', '7+21=28']
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,25 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[76, 14], Operations: ['93-72=21', '21-7=14']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 25:[7, 72, 17], Operations: ['93-76=17']
Exploring Operation: 7+17=24, Resulting Numbers: [72, 24]
Generated Node #0,2,0: 25:[72, 24] Operation: 7+17=24
Exploring Operation: 17-7=10, Resulting Numbers: [72, 10]
Generated Node #0,2,1: 25:[72, 10] Operation: 17-7=10
Exploring Operation: 72-17=55, Resulting Numbers: [7, 55]
Generated Node #0,2,2: 25:[7, 55] Operation: 72-17=55
Exploring Operation: 7+72=79, Resulting Numbers: [17, 79]
Generated Node #0,2,3: 25:[17, 79] Operation: 7+72=79
Exploring Operation: 72-7=65, Resulting Numbers: [17, 65]
Generated Node #0,2,4: 25:[17, 65] Operation: 72-7=65
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[7, 55], Operations: ['93-76=17', '72-17=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[72, 24], Operations: ['93-76=17', '7+17=24']
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 25:[17, 65], Operations: ['93-76=17', '72-7=65']
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,25 unequal: No Solution
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[72, 10], Operations: ['93-76=17', '17-7=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,25 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[17, 79], Operations: ['93-76=17', '7+72=79']
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,25 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: 25:[93, 7, 4], Operations: ['76-72=4']
Exploring Operation: 93-4=89, Resulting Numbers: [7, 89]
Generated Node #0,1,0: 25:[7, 89] Operation: 93-4=89
Exploring Operation: 7-4=3, Resulting Numbers: [93, 3]
Generated Node #0,1,1: 25:[93, 3] Operation: 7-4=3
Exploring Operation: 93-7=86, Resulting Numbers: [4, 86]
Generated Node #0,1,2: 25:[4, 86] Operation: 93-7=86
Exploring Operation: 93+4=97, Resulting Numbers: [7, 97]
Generated Node #0,1,3: 25:[7, 97] Operation: 93+4=97
Exploring Operation: 7*4=28, Resulting Numbers: [93, 28]
Generated Node #0,1,4: 25:[93, 28] Operation: 7*4=28
Moving to Node #0,3
Current State: 25:[93, 72, 69], Operations: ['76-7=69']
Exploring Operation: 93-72=21, Resulting Numbers: [69, 21]
Generated Node #0,3,0: 25:[69, 21] Operation: 93-72=21
Exploring Operation: 93+72=165, Resulting Numbers: [69, 165]
Generated Node #0,3,1: 25:[69, 165] Operation: 93+72=165
Exploring Operation: 93-69=24, Resulting Numbers: [72, 24]
Generated Node #0,3,2: 25:[72, 24] Operation: 93-69=24
Exploring Operation: 72-69=3, Resulting Numbers: [93, 3]
Generated Node #0,3,3: 25:[93, 3] Operation: 72-69=3
Exploring Operation: 93+69=162, Resulting Numbers: [72, 162]
Generated Node #0,3,4: 25:[72, 162] Operation: 93+69=162
Moving to Node #0,4
Current State: 25:[76, 72, 86], Operations: ['93-7=86']
Exploring Operation: 76+72=148, Resulting Numbers: [86, 148]
Generated Node #0,4,0: 25:[86, 148] Operation: 76+72=148
Exploring Operation: 86-72=14, Resulting Numbers: [76, 14]
Generated Node #0,4,1: 25:[76, 14] Operation: 86-72=14
Exploring Operation: 76-72=4, Resulting Numbers: [86, 4]
Generated Node #0,4,2: 25:[86, 4] Operation: 76-72=4
Exploring Operation: 86-76=10, Resulting Numbers: [72, 10]
Generated Node #0,4,3: 25:[72, 10] Operation: 86-76=10
Exploring Operation: 76+86=162, Resulting Numbers: [72, 162]
Generated Node #0,4,4: 25:[72, 162] Operation: 76+86=162
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 25:[72, 10], Operations: ['93-7=86', '86-76=10']
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,25 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 25:[76, 14], Operations: ['93-7=86', '86-72=14']
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,25 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 25:[86, 4], Operations: ['93-7=86', '76-72=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,25 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 25:[86, 148], Operations: ['93-7=86', '76+72=148']
Exploring Operation: 148-86=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 86*148=12728, Resulting Numbers: [12728]
12728,25 unequal: No Solution
Exploring Operation: 86+148=234, Resulting Numbers: [234]
234,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 25:[72, 162], Operations: ['93-7=86', '76+86=162']
Exploring Operation: 72+162=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Exploring Operation: 162-72=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 72*162=11664, Resulting Numbers: [11664]
11664,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 25:[69, 21], Operations: ['76-7=69', '93-72=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[72, 24], Operations: ['76-7=69', '93-69=24']
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,25 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[4, 86], Operations: ['76-72=4', '93-7=86']
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[7, 89], Operations: ['76-72=4', '93-4=89']
Exploring Operation: 7*89=623, Resulting Numbers: [623]
623,25 unequal: No Solution
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[93, 3], Operations: ['76-72=4', '7-4=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[93, 3], Operations: ['76-7=69', '72-69=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,25 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[93, 28], Operations: ['76-72=4', '7*4=28']
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 93*28=2604, Resulting Numbers: [2604]
2604,25 unequal: No Solution
Exploring Operation: 93+28=121, Resulting Numbers: [121]
121,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[7, 97], Operations: ['76-72=4', '93+4=97']
Exploring Operation: 7*97=679, Resulting Numbers: [679]
679,25 unequal: No Solution
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 7+97=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[72, 162], Operations: ['76-7=69', '93+69=162']
Exploring Operation: 72*162=11664, Resulting Numbers: [11664]
11664,25 unequal: No Solution
Exploring Operation: 162-72=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 72+162=234, Resulting Numbers: [234]
234,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[69, 165], Operations: ['76-7=69', '93+72=165']
Exploring Operation: 69*165=11385, Resulting Numbers: [11385]
11385,25 unequal: No Solution
Exploring Operation: 165-69=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 69+165=234, Resulting Numbers: [234]
234,25 unequal: No Solution
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
77,
50,
39,
11
] | 76 |
[
"50-39=11",
"11/11=1",
"77-1=76"
] |
Current State: 76:[77, 50, 39, 11], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [77, 11, 11]
Generated Node #2: [77, 11, 11] from Operation: 50-39=11
Current State: 76:[77, 11, 11], Operations: ['50-39=11']
Exploring Operation: 11/11=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 11/11=1
Current State: 76:[77, 1], Operations: ['50-39=11', '11/11=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 |
Current State: 76:[77, 50, 39, 11], Operations: []
Exploring Operation: 50-11=39, Resulting Numbers: [77, 39, 39]
Generated Node #0,0: 76:[77, 39, 39] Operation: 50-11=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[77, 39, 39], Operations: ['50-11=39']
Exploring Operation: 77-39=38, Resulting Numbers: [39, 38]
Generated Node #0,0,0: 76:[39, 38] Operation: 77-39=38
Moving to Node #0,0,0
Current State: 76:[39, 38], Operations: ['50-11=39', '77-39=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,76 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
|
[
29,
87,
91,
9
] | 23 |
[
"29+87=116",
"91+116=207",
"207/9=23"
] |
Current State: 23:[29, 87, 91, 9], Operations: []
Exploring Operation: 29+87=116, Resulting Numbers: [91, 9, 116]
Generated Node #2: [91, 9, 116] from Operation: 29+87=116
Current State: 23:[91, 9, 116], Operations: ['29+87=116']
Exploring Operation: 91+116=207, Resulting Numbers: [9, 207]
Generated Node #3: [9, 207] from Operation: 91+116=207
Current State: 23:[9, 207], Operations: ['29+87=116', '91+116=207']
Exploring Operation: 207/9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[29, 87, 91, 9], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [91, 9, 3]
Generated Node #0,0: 23:[91, 9, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [91, 9, 58]
Generated Node #0,1: 23:[91, 9, 58] Operation: 87-29=58
Exploring Operation: 91-87=4, Resulting Numbers: [29, 9, 4]
Generated Node #0,2: 23:[29, 9, 4] Operation: 91-87=4
Moving to Node #0,2
Current State: 23:[29, 9, 4], Operations: ['91-87=4']
Exploring Operation: 9*4=36, Resulting Numbers: [29, 36]
Generated Node #0,2,0: 23:[29, 36] Operation: 9*4=36
Exploring Operation: 9+4=13, Resulting Numbers: [29, 13]
Generated Node #0,2,1: 23:[29, 13] Operation: 9+4=13
Exploring Operation: 29-4=25, Resulting Numbers: [9, 25]
Generated Node #0,2,2: 23:[9, 25] Operation: 29-4=25
Moving to Node #0,0
Current State: 23:[91, 9, 3], Operations: ['87/29=3']
Exploring Operation: 91-3=88, Resulting Numbers: [9, 88]
Generated Node #0,0,0: 23:[9, 88] Operation: 91-3=88
Exploring Operation: 9*3=27, Resulting Numbers: [91, 27]
Generated Node #0,0,1: 23:[91, 27] Operation: 9*3=27
Exploring Operation: 91-9=82, Resulting Numbers: [3, 82]
Generated Node #0,0,2: 23:[3, 82] Operation: 91-9=82
Moving to Node #0,1
Current State: 23:[91, 9, 58], Operations: ['87-29=58']
Exploring Operation: 91-9=82, Resulting Numbers: [58, 82]
Generated Node #0,1,0: 23:[58, 82] Operation: 91-9=82
Exploring Operation: 91-58=33, Resulting Numbers: [9, 33]
Generated Node #0,1,1: 23:[9, 33] Operation: 91-58=33
Exploring Operation: 58-9=49, Resulting Numbers: [91, 49]
Generated Node #0,1,2: 23:[91, 49] Operation: 58-9=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[9, 33], Operations: ['87-29=58', '91-58=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[58, 82], Operations: ['87-29=58', '91-9=82']
Exploring Operation: 58+82=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 58*82=4756, Resulting Numbers: [4756]
4756,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[91, 49], Operations: ['87-29=58', '58-9=49']
Exploring Operation: 91*49=4459, Resulting Numbers: [4459]
4459,23 unequal: No Solution
Exploring Operation: 91+49=140, Resulting Numbers: [140]
140,23 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 23:[29, 13], Operations: ['91-87=4', '9+4=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,23 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[9, 25], Operations: ['91-87=4', '29-4=25']
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,23 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[29, 36], Operations: ['91-87=4', '9*4=36']
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,23 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[91, 27], Operations: ['87/29=3', '9*3=27']
Exploring Operation: 91*27=2457, Resulting Numbers: [2457]
2457,23 unequal: No Solution
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 91+27=118, Resulting Numbers: [118]
118,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[3, 82], Operations: ['87/29=3', '91-9=82']
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,23 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[9, 88], Operations: ['87/29=3', '91-3=88']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,23 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,23 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
57,
53,
77,
75
] | 61 |
[
"77-75=2",
"57*2=114",
"114-53=61"
] |
Current State: 61:[57, 53, 77, 75], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [57, 53, 2]
Generated Node #2: [57, 53, 2] from Operation: 77-75=2
Current State: 61:[57, 53, 2], Operations: ['77-75=2']
Exploring Operation: 57*2=114, Resulting Numbers: [53, 114]
Generated Node #3: [53, 114] from Operation: 57*2=114
Current State: 61:[53, 114], Operations: ['77-75=2', '57*2=114']
Exploring Operation: 114-53=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[57, 53, 77, 75], Operations: []
Exploring Operation: 75-53=22, Resulting Numbers: [57, 77, 22]
Generated Node #0,0: 61:[57, 77, 22] Operation: 75-53=22
Exploring Operation: 77-57=20, Resulting Numbers: [53, 75, 20]
Generated Node #0,1: 61:[53, 75, 20] Operation: 77-57=20
Exploring Operation: 77-53=24, Resulting Numbers: [57, 75, 24]
Generated Node #0,2: 61:[57, 75, 24] Operation: 77-53=24
Exploring Operation: 75-57=18, Resulting Numbers: [53, 77, 18]
Generated Node #0,3: 61:[53, 77, 18] Operation: 75-57=18
Exploring Operation: 77-75=2, Resulting Numbers: [57, 53, 2]
Generated Node #0,4: 61:[57, 53, 2] Operation: 77-75=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[57, 75, 24], Operations: ['77-53=24']
Exploring Operation: 75-24=51, Resulting Numbers: [57, 51]
Generated Node #0,2,0: 61:[57, 51] Operation: 75-24=51
Exploring Operation: 57+24=81, Resulting Numbers: [75, 81]
Generated Node #0,2,1: 61:[75, 81] Operation: 57+24=81
Exploring Operation: 75+24=99, Resulting Numbers: [57, 99]
Generated Node #0,2,2: 61:[57, 99] Operation: 75+24=99
Exploring Operation: 57-24=33, Resulting Numbers: [75, 33]
Generated Node #0,2,3: 61:[75, 33] Operation: 57-24=33
Exploring Operation: 75-57=18, Resulting Numbers: [24, 18]
Generated Node #0,2,4: 61:[24, 18] Operation: 75-57=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[57, 51], Operations: ['77-53=24', '75-24=51']
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[75, 81], Operations: ['77-53=24', '57+24=81']
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,61 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[57, 99], Operations: ['77-53=24', '75+24=99']
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,61 unequal: No Solution
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,61 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[75, 33], Operations: ['77-53=24', '57-24=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 61:[24, 18], Operations: ['77-53=24', '75-57=18']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,61 unequal: No Solution
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,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:[57, 77, 22], Operations: ['75-53=22']
Exploring Operation: 77-22=55, Resulting Numbers: [57, 55]
Generated Node #0,0,0: 61:[57, 55] Operation: 77-22=55
Exploring Operation: 57-22=35, Resulting Numbers: [77, 35]
Generated Node #0,0,1: 61:[77, 35] Operation: 57-22=35
Exploring Operation: 77-57=20, Resulting Numbers: [22, 20]
Generated Node #0,0,2: 61:[22, 20] Operation: 77-57=20
Exploring Operation: 57+22=79, Resulting Numbers: [77, 79]
Generated Node #0,0,3: 61:[77, 79] Operation: 57+22=79
Exploring Operation: 77+22=99, Resulting Numbers: [57, 99]
Generated Node #0,0,4: 61:[57, 99] Operation: 77+22=99
Moving to Node #0,0,0
Current State: 61:[57, 55], Operations: ['75-53=22', '77-22=55']
Exploring Operation: 57+55=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 57*55=3135, Resulting Numbers: [3135]
3135,61 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[77, 79], Operations: ['75-53=22', '57+22=79']
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,61 unequal: No Solution
Exploring Operation: 77*79=6083, Resulting Numbers: [6083]
6083,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[77, 35], Operations: ['75-53=22', '57-22=35']
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,61 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[57, 99], Operations: ['75-53=22', '77+22=99']
Exploring Operation: 57+99=156, Resulting Numbers: [156]
156,61 unequal: No Solution
Exploring Operation: 57*99=5643, Resulting Numbers: [5643]
5643,61 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[22, 20], Operations: ['75-53=22', '77-57=20']
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,61 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,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
Current State: 61:[53, 75, 20], Operations: ['77-57=20']
Exploring Operation: 53+20=73, Resulting Numbers: [75, 73]
Generated Node #0,1,0: 61:[75, 73] Operation: 53+20=73
Exploring Operation: 75-53=22, Resulting Numbers: [20, 22]
Generated Node #0,1,1: 61:[20, 22] Operation: 75-53=22
Exploring Operation: 75+20=95, Resulting Numbers: [53, 95]
Generated Node #0,1,2: 61:[53, 95] Operation: 75+20=95
Exploring Operation: 75-20=55, Resulting Numbers: [53, 55]
Generated Node #0,1,3: 61:[53, 55] Operation: 75-20=55
Exploring Operation: 53-20=33, Resulting Numbers: [75, 33]
Generated Node #0,1,4: 61:[75, 33] Operation: 53-20=33
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[53, 55], Operations: ['77-57=20', '75-20=55']
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,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:[75, 73], Operations: ['77-57=20', '53+20=73']
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,61 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,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,2
Current State: 61:[53, 95], Operations: ['77-57=20', '75+20=95']
Exploring Operation: 53*95=5035, Resulting Numbers: [5035]
5035,61 unequal: No Solution
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 61:[75, 33], Operations: ['77-57=20', '53-20=33']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,61 unequal: No Solution
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[20, 22], Operations: ['77-57=20', '75-53=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,61 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[53, 77, 18], Operations: ['75-57=18']
Exploring Operation: 53-18=35, Resulting Numbers: [77, 35]
Generated Node #0,3,0: 61:[77, 35] Operation: 53-18=35
Exploring Operation: 77-18=59, Resulting Numbers: [53, 59]
Generated Node #0,3,1: 61:[53, 59] Operation: 77-18=59
Exploring Operation: 77+18=95, Resulting Numbers: [53, 95]
Generated Node #0,3,2: 61:[53, 95] Operation: 77+18=95
Exploring Operation: 53+18=71, Resulting Numbers: [77, 71]
Generated Node #0,3,3: 61:[77, 71] Operation: 53+18=71
Exploring Operation: 77-53=24, Resulting Numbers: [18, 24]
Generated Node #0,3,4: 61:[18, 24] Operation: 77-53=24
Moving to Node #0,3,1
Current State: 61:[53, 59], Operations: ['75-57=18', '77-18=59']
Exploring Operation: 53+59=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 53*59=3127, Resulting Numbers: [3127]
3127,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[77, 71], Operations: ['75-57=18', '53+18=71']
Exploring Operation: 77+71=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 77*71=5467, Resulting Numbers: [5467]
5467,61 unequal: No Solution
Exploring Operation: 77-71=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[77, 35], Operations: ['75-57=18', '53-18=35']
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,61 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[53, 95], Operations: ['75-57=18', '77+18=95']
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 53*95=5035, Resulting Numbers: [5035]
5035,61 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[18, 24], Operations: ['75-57=18', '77-53=24']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,61 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,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,4
Current State: 61:[57, 53, 2], Operations: ['77-75=2']
Exploring Operation: 57-2=55, Resulting Numbers: [53, 55]
Generated Node #0,4,0: 61:[53, 55] Operation: 57-2=55
Exploring Operation: 53+2=55, Resulting Numbers: [57, 55]
Generated Node #0,4,1: 61:[57, 55] Operation: 53+2=55
Exploring Operation: 57+2=59, Resulting Numbers: [53, 59]
Generated Node #0,4,2: 61:[53, 59] Operation: 57+2=59
Exploring Operation: 53-2=51, Resulting Numbers: [57, 51]
Generated Node #0,4,3: 61:[57, 51] Operation: 53-2=51
Exploring Operation: 53*2=106, Resulting Numbers: [57, 106]
Generated Node #0,4,4: 61:[57, 106] Operation: 53*2=106
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 61:[57, 55], Operations: ['77-75=2', '53+2=55']
Exploring Operation: 57*55=3135, Resulting Numbers: [3135]
3135,61 unequal: No Solution
Exploring Operation: 57+55=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 61:[53, 59], Operations: ['77-75=2', '57+2=59']
Exploring Operation: 53+59=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 53*59=3127, Resulting Numbers: [3127]
3127,61 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 61:[53, 55], Operations: ['77-75=2', '57-2=55']
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,61 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 61:[57, 51], Operations: ['77-75=2', '53-2=51']
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,61 unequal: No Solution
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,61 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 61:[57, 106], Operations: ['77-75=2', '53*2=106']
Exploring Operation: 57*106=6042, Resulting Numbers: [6042]
6042,61 unequal: No Solution
Exploring Operation: 106-57=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 57+106=163, Resulting Numbers: [163]
163,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
mult_heuristic
|
[
50,
35,
4,
16
] | 89 |
[
"50+35=85",
"16/4=4",
"85+4=89"
] |
Current State: 89:[50, 35, 4, 16], Operations: []
Exploring Operation: 50+35=85, Resulting Numbers: [4, 16, 85]
Generated Node #2: [4, 16, 85] from Operation: 50+35=85
Current State: 89:[4, 16, 85], Operations: ['50+35=85']
Exploring Operation: 16/4=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 16/4=4
Current State: 89:[85, 4], Operations: ['50+35=85', '16/4=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 |
Current State: 89:[50, 35, 4, 16], Operations: []
Exploring Operation: 4*16=64, Resulting Numbers: [50, 35, 64]
Generated Node #0,0: 89:[50, 35, 64] Operation: 4*16=64
Exploring Operation: 50+35=85, Resulting Numbers: [4, 16, 85]
Generated Node #0,1: 89:[4, 16, 85] Operation: 50+35=85
Exploring Operation: 50+4=54, Resulting Numbers: [35, 16, 54]
Generated Node #0,2: 89:[35, 16, 54] Operation: 50+4=54
Moving to Node #0,0
Current State: 89:[50, 35, 64], Operations: ['4*16=64']
Exploring Operation: 35+64=99, Resulting Numbers: [50, 99]
Generated Node #0,0,0: 89:[50, 99] Operation: 35+64=99
Exploring Operation: 50+35=85, Resulting Numbers: [64, 85]
Generated Node #0,0,1: 89:[64, 85] Operation: 50+35=85
Exploring Operation: 50+64=114, Resulting Numbers: [35, 114]
Generated Node #0,0,2: 89:[35, 114] Operation: 50+64=114
Moving to Node #0,1
Current State: 89:[4, 16, 85], Operations: ['50+35=85']
Exploring Operation: 4*16=64, Resulting Numbers: [85, 64]
Generated Node #0,1,0: 89:[85, 64] Operation: 4*16=64
Exploring Operation: 4+85=89, Resulting Numbers: [16, 89]
Generated Node #0,1,1: 89:[16, 89] Operation: 4+85=89
Exploring Operation: 4+16=20, Resulting Numbers: [85, 20]
Generated Node #0,1,2: 89:[85, 20] Operation: 4+16=20
Moving to Node #0,2
Current State: 89:[35, 16, 54], Operations: ['50+4=54']
Exploring Operation: 35+54=89, Resulting Numbers: [16, 89]
Generated Node #0,2,0: 89:[16, 89] Operation: 35+54=89
Exploring Operation: 16+54=70, Resulting Numbers: [35, 70]
Generated Node #0,2,1: 89:[35, 70] Operation: 16+54=70
Exploring Operation: 35+16=51, Resulting Numbers: [54, 51]
Generated Node #0,2,2: 89:[54, 51] Operation: 35+16=51
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[16, 89], Operations: ['50+4=54', '35+54=89']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 16*89=1424, Resulting Numbers: [1424]
1424,89 unequal: No Solution
Exploring Operation: 16+89=105, Resulting Numbers: [105]
105,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[35, 70], Operations: ['50+4=54', '16+54=70']
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,89 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[54, 51], Operations: ['50+4=54', '35+16=51']
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,89 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 89:[64, 85], Operations: ['4*16=64', '50+35=85']
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Exploring Operation: 64+85=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 64*85=5440, Resulting Numbers: [5440]
5440,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[85, 64], Operations: ['50+35=85', '4*16=64']
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,89 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[50, 99], Operations: ['4*16=64', '35+64=99']
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 50+99=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 50*99=4950, Resulting Numbers: [4950]
4950,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[85, 20], Operations: ['50+35=85', '4+16=20']
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Exploring Operation: 85*20=1700, Resulting Numbers: [1700]
1700,89 unequal: No Solution
Exploring Operation: 85+20=105, Resulting Numbers: [105]
105,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[16, 89], Operations: ['50+35=85', '4+85=89']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 16*89=1424, Resulting Numbers: [1424]
1424,89 unequal: No Solution
Exploring Operation: 16+89=105, Resulting Numbers: [105]
105,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[35, 114], Operations: ['4*16=64', '50+64=114']
Exploring Operation: 114-35=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 35+114=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 35*114=3990, Resulting Numbers: [3990]
3990,89 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
85,
93,
65,
98
] | 25 |
[
"93-85=8",
"98-65=33",
"33-8=25"
] |
Current State: 25:[85, 93, 65, 98], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [65, 98, 8]
Generated Node #2: [65, 98, 8] from Operation: 93-85=8
Current State: 25:[65, 98, 8], Operations: ['93-85=8']
Exploring Operation: 98-65=33, Resulting Numbers: [8, 33]
Generated Node #3: [8, 33] from Operation: 98-65=33
Current State: 25:[8, 33], Operations: ['93-85=8', '98-65=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[85, 93, 65, 98], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [85, 98, 28]
Generated Node #0,0: 25:[85, 98, 28] Operation: 93-65=28
Exploring Operation: 98-93=5, Resulting Numbers: [85, 65, 5]
Generated Node #0,1: 25:[85, 65, 5] Operation: 98-93=5
Exploring Operation: 98-65=33, Resulting Numbers: [85, 93, 33]
Generated Node #0,2: 25:[85, 93, 33] Operation: 98-65=33
Exploring Operation: 98-85=13, Resulting Numbers: [93, 65, 13]
Generated Node #0,3: 25:[93, 65, 13] Operation: 98-85=13
Exploring Operation: 93-85=8, Resulting Numbers: [65, 98, 8]
Generated Node #0,4: 25:[65, 98, 8] Operation: 93-85=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[85, 65, 5], Operations: ['98-93=5']
Exploring Operation: 85-5=80, Resulting Numbers: [65, 80]
Generated Node #0,1,0: 25:[65, 80] Operation: 85-5=80
Exploring Operation: 85/5=17, Resulting Numbers: [65, 17]
Generated Node #0,1,1: 25:[65, 17] Operation: 85/5=17
Exploring Operation: 65-5=60, Resulting Numbers: [85, 60]
Generated Node #0,1,2: 25:[85, 60] Operation: 65-5=60
Exploring Operation: 85-65=20, Resulting Numbers: [5, 20]
Generated Node #0,1,3: 25:[5, 20] Operation: 85-65=20
Exploring Operation: 65/5=13, Resulting Numbers: [85, 13]
Generated Node #0,1,4: 25:[85, 13] Operation: 65/5=13
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[5, 20], Operations: ['98-93=5', '85-65=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[85, 93, 65, 98], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [85, 65, 5]
Generated Node #0,1: 25:[85, 65, 5] Operation: 98-93=5
Moving to Node #0,1
Current State: 25:[85, 65, 5], Operations: ['98-93=5']
Exploring Operation: 85-65=20, Resulting Numbers: [5, 20]
Generated Node #0,1,3: 25:[5, 20] Operation: 85-65=20
Moving to Node #0,1,3
Current State: 25:[5, 20], Operations: ['98-93=5', '85-65=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
mult_heuristic
|
[
13,
4,
28,
59
] | 16 |
[
"4*59=236",
"236-28=208",
"208/13=16"
] |
Current State: 16:[13, 4, 28, 59], Operations: []
Exploring Operation: 4*59=236, Resulting Numbers: [13, 28, 236]
Generated Node #2: [13, 28, 236] from Operation: 4*59=236
Current State: 16:[13, 28, 236], Operations: ['4*59=236']
Exploring Operation: 236-28=208, Resulting Numbers: [13, 208]
Generated Node #3: [13, 208] from Operation: 236-28=208
Current State: 16:[13, 208], Operations: ['4*59=236', '236-28=208']
Exploring Operation: 208/13=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 |
Current State: 16:[13, 4, 28, 59], Operations: []
Exploring Operation: 59-13=46, Resulting Numbers: [4, 28, 46]
Generated Node #0,0: 16:[4, 28, 46] Operation: 59-13=46
Exploring Operation: 59-28=31, Resulting Numbers: [13, 4, 31]
Generated Node #0,1: 16:[13, 4, 31] Operation: 59-28=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[13, 4, 31], Operations: ['59-28=31']
Exploring Operation: 31-4=27, Resulting Numbers: [13, 27]
Generated Node #0,1,0: 16:[13, 27] Operation: 31-4=27
Exploring Operation: 31-13=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 16:[4, 18] Operation: 31-13=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[4, 18], Operations: ['59-28=31', '31-13=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[13, 27], Operations: ['59-28=31', '31-4=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[4, 28, 46], Operations: ['59-13=46']
Exploring Operation: 28/4=7, Resulting Numbers: [46, 7]
Generated Node #0,0,0: 16:[46, 7] Operation: 28/4=7
Exploring Operation: 46-28=18, Resulting Numbers: [4, 18]
Generated Node #0,0,1: 16:[4, 18] Operation: 46-28=18
Moving to Node #0,0,1
Current State: 16:[4, 18], Operations: ['59-13=46', '46-28=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[46, 7], Operations: ['59-13=46', '28/4=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,16 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
|
[
74,
64,
64,
26
] | 100 |
[
"74+64=138",
"64-26=38",
"138-38=100"
] |
Current State: 100:[74, 64, 64, 26], Operations: []
Exploring Operation: 74+64=138, Resulting Numbers: [26, 138]
Generated Node #2: [26, 138] from Operation: 74+64=138
Current State: 100:[26, 138], Operations: ['74+64=138']
Exploring Operation: 64-26=38, Resulting Numbers: [138, 38]
Generated Node #3: [138, 38] from Operation: 64-26=38
Current State: 100:[138, 38], Operations: ['74+64=138', '64-26=38']
Exploring Operation: 138-38=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[74, 64, 64, 26], Operations: []
Exploring Operation: 74+26=100, Resulting Numbers: [64, 64, 100]
Generated Node #0,0: 100:[64, 64, 100] Operation: 74+26=100
Exploring Operation: 64-64=0, Resulting Numbers: [74, 26, 0]
Generated Node #0,1: 100:[74, 26, 0] Operation: 64-64=0
Exploring Operation: 64/64=1, Resulting Numbers: [74, 26, 1]
Generated Node #0,2: 100:[74, 26, 1] Operation: 64/64=1
Exploring Operation: 74-64=10, Resulting Numbers: [64, 26, 10]
Generated Node #0,3: 100:[64, 26, 10] Operation: 74-64=10
Exploring Operation: 74-64=10, Resulting Numbers: [64, 26, 10]
Generated Node #0,4: 100:[64, 26, 10] Operation: 74-64=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[64, 26, 10], Operations: ['74-64=10']
Exploring Operation: 26-10=16, Resulting Numbers: [64, 16]
Generated Node #0,3,0: 100:[64, 16] Operation: 26-10=16
Exploring Operation: 64-10=54, Resulting Numbers: [26, 54]
Generated Node #0,3,1: 100:[26, 54] Operation: 64-10=54
Exploring Operation: 64-26=38, Resulting Numbers: [10, 38]
Generated Node #0,3,2: 100:[10, 38] Operation: 64-26=38
Exploring Operation: 64+26=90, Resulting Numbers: [10, 90]
Generated Node #0,3,3: 100:[10, 90] Operation: 64+26=90
Exploring Operation: 64+10=74, Resulting Numbers: [26, 74]
Generated Node #0,3,4: 100:[26, 74] Operation: 64+10=74
Moving to Node #0,3,1
Current State: 100:[26, 54], Operations: ['74-64=10', '64-10=54']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[10, 90], Operations: ['74-64=10', '64+26=90']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[74, 64, 64, 26], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [64, 26, 10]
Generated Node #0,3: 100:[64, 26, 10] Operation: 74-64=10
Moving to Node #0,3
Current State: 100:[64, 26, 10], Operations: ['74-64=10']
Exploring Operation: 64+26=90, Resulting Numbers: [10, 90]
Generated Node #0,3,3: 100:[10, 90] Operation: 64+26=90
Moving to Node #0,3,3
Current State: 100:[10, 90], Operations: ['74-64=10', '64+26=90']
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 |
hs_5
|
mult_heuristic
|
[
27,
21,
3,
54
] | 39 |
[
"54/27=2",
"21*2=42",
"42-3=39"
] |
Current State: 39:[27, 21, 3, 54], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [21, 3, 2]
Generated Node #2: [21, 3, 2] from Operation: 54/27=2
Current State: 39:[21, 3, 2], Operations: ['54/27=2']
Exploring Operation: 21*2=42, Resulting Numbers: [3, 42]
Generated Node #3: [3, 42] from Operation: 21*2=42
Current State: 39:[3, 42], Operations: ['54/27=2', '21*2=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[27, 21, 3, 54], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [21, 3, 2]
Generated Node #0,0: 39:[21, 3, 2] Operation: 54/27=2
Exploring Operation: 27-21=6, Resulting Numbers: [3, 54, 6]
Generated Node #0,1: 39:[3, 54, 6] Operation: 27-21=6
Moving to Node #0,0
Current State: 39:[21, 3, 2], Operations: ['54/27=2']
Exploring Operation: 21/3=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 39:[2, 7] Operation: 21/3=7
Exploring Operation: 21*2=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 39:[3, 42] Operation: 21*2=42
Moving to Node #0,1
Current State: 39:[3, 54, 6], Operations: ['27-21=6']
Exploring Operation: 54/6=9, Resulting Numbers: [3, 9]
Generated Node #0,1,0: 39:[3, 9] Operation: 54/6=9
Exploring Operation: 54/3=18, Resulting Numbers: [6, 18]
Generated Node #0,1,1: 39:[6, 18] Operation: 54/3=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[3, 9], Operations: ['27-21=6', '54/6=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[6, 18], Operations: ['27-21=6', '54/3=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 39:[3, 42], Operations: ['54/27=2', '21*2=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[27, 21, 3, 54], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [21, 3, 2]
Generated Node #0,0: 39:[21, 3, 2] Operation: 54/27=2
Moving to Node #0,0
Current State: 39:[21, 3, 2], Operations: ['54/27=2']
Exploring Operation: 21*2=42, Resulting Numbers: [3, 42]
Generated Node #0,0,1: 39:[3, 42] Operation: 21*2=42
Moving to Node #0,0,1
Current State: 39:[3, 42], Operations: ['54/27=2', '21*2=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986111 |
hs_2
|
mult_heuristic
|
[
2,
20,
11,
36
] | 44 |
[
"2*20=40",
"40-36=4",
"11*4=44"
] |
Current State: 44:[2, 20, 11, 36], Operations: []
Exploring Operation: 2*20=40, Resulting Numbers: [11, 36, 40]
Generated Node #2: [11, 36, 40] from Operation: 2*20=40
Current State: 44:[11, 36, 40], Operations: ['2*20=40']
Exploring Operation: 40-36=4, Resulting Numbers: [11, 4]
Generated Node #3: [11, 4] from Operation: 40-36=4
Current State: 44:[11, 4], Operations: ['2*20=40', '40-36=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[2, 20, 11, 36], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [2, 11, 16]
Generated Node #0,0: 44:[2, 11, 16] Operation: 36-20=16
Moving to Node #0,0
Current State: 44:[2, 11, 16], Operations: ['36-20=16']
Exploring Operation: 16-11=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 44:[2, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[2, 5], Operations: ['36-20=16', '16-11=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
13,
70,
84,
37
] | 37 |
[
"13+70=83",
"84-83=1",
"37*1=37"
] |
Current State: 37:[13, 70, 84, 37], Operations: []
Exploring Operation: 13+70=83, Resulting Numbers: [84, 37, 83]
Generated Node #2: [84, 37, 83] from Operation: 13+70=83
Current State: 37:[84, 37, 83], Operations: ['13+70=83']
Exploring Operation: 84-83=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 84-83=1
Current State: 37:[37, 1], Operations: ['13+70=83', '84-83=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[13, 70, 84, 37], Operations: []
Exploring Operation: 84-37=47, Resulting Numbers: [13, 70, 47]
Generated Node #0,0: 37:[13, 70, 47] Operation: 84-37=47
Exploring Operation: 70-13=57, Resulting Numbers: [84, 37, 57]
Generated Node #0,1: 37:[84, 37, 57] Operation: 70-13=57
Exploring Operation: 84-70=14, Resulting Numbers: [13, 37, 14]
Generated Node #0,2: 37:[13, 37, 14] Operation: 84-70=14
Exploring Operation: 70-37=33, Resulting Numbers: [13, 84, 33]
Generated Node #0,3: 37:[13, 84, 33] Operation: 70-37=33
Exploring Operation: 84-13=71, Resulting Numbers: [70, 37, 71]
Generated Node #0,4: 37:[70, 37, 71] Operation: 84-13=71
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[13, 37, 14], Operations: ['84-70=14']
Exploring Operation: 37+14=51, Resulting Numbers: [13, 51]
Generated Node #0,2,0: 37:[13, 51] Operation: 37+14=51
Exploring Operation: 13+14=27, Resulting Numbers: [37, 27]
Generated Node #0,2,1: 37:[37, 27] Operation: 13+14=27
Exploring Operation: 37-13=24, Resulting Numbers: [14, 24]
Generated Node #0,2,2: 37:[14, 24] Operation: 37-13=24
Exploring Operation: 14-13=1, Resulting Numbers: [37, 1]
Generated Node #0,2,3: 37:[37, 1] Operation: 14-13=1
Exploring Operation: 13+37=50, Resulting Numbers: [14, 50]
Generated Node #0,2,4: 37:[14, 50] Operation: 13+37=50
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[37, 27], Operations: ['84-70=14', '13+14=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,37 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,37 unequal: No Solution
No 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: 37:[14, 24], Operations: ['84-70=14', '37-13=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,37 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,37 unequal: No Solution
No 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: 37:[37, 1], Operations: ['84-70=14', '14-13=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[13, 70, 84, 37], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [13, 37, 14]
Generated Node #0,2: 37:[13, 37, 14] Operation: 84-70=14
Moving to Node #0,2
Current State: 37:[13, 37, 14], Operations: ['84-70=14']
Exploring Operation: 14-13=1, Resulting Numbers: [37, 1]
Generated Node #0,2,3: 37:[37, 1] Operation: 14-13=1
Moving to Node #0,2,3
Current State: 37:[37, 1], Operations: ['84-70=14', '14-13=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 |
hs_5
|
sum_heuristic
|
[
28,
11,
49,
58
] | 65 |
[
"28+49=77",
"77/11=7",
"58+7=65"
] |
Current State: 65:[28, 11, 49, 58], Operations: []
Exploring Operation: 28+49=77, Resulting Numbers: [11, 58, 77]
Generated Node #2: [11, 58, 77] from Operation: 28+49=77
Current State: 65:[11, 58, 77], Operations: ['28+49=77']
Exploring Operation: 77/11=7, Resulting Numbers: [58, 7]
Generated Node #3: [58, 7] from Operation: 77/11=7
Current State: 65:[58, 7], Operations: ['28+49=77', '77/11=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[28, 11, 49, 58], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [11, 58, 21]
Generated Node #0,0: 65:[11, 58, 21] Operation: 49-28=21
Exploring Operation: 28+49=77, Resulting Numbers: [11, 58, 77]
Generated Node #0,1: 65:[11, 58, 77] Operation: 28+49=77
Exploring Operation: 58-49=9, Resulting Numbers: [28, 11, 9]
Generated Node #0,2: 65:[28, 11, 9] Operation: 58-49=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[11, 58, 21], Operations: ['49-28=21']
Exploring Operation: 58+21=79, Resulting Numbers: [11, 79]
Generated Node #0,0,0: 65:[11, 79] Operation: 58+21=79
Exploring Operation: 11+58=69, Resulting Numbers: [21, 69]
Generated Node #0,0,1: 65:[21, 69] Operation: 11+58=69
Exploring Operation: 21-11=10, Resulting Numbers: [58, 10]
Generated Node #0,0,2: 65:[58, 10] Operation: 21-11=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[58, 10], Operations: ['49-28=21', '21-11=10']
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,65 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,65 unequal: No Solution
No 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: 65:[21, 69], Operations: ['49-28=21', '11+58=69']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,65 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,65 unequal: No Solution
No 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: 65:[11, 79], Operations: ['49-28=21', '58+21=79']
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,65 unequal: No Solution
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,65 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: 65:[11, 58, 77], Operations: ['28+49=77']
Exploring Operation: 77/11=7, Resulting Numbers: [58, 7]
Generated Node #0,1,0: 65:[58, 7] Operation: 77/11=7
Exploring Operation: 77-58=19, Resulting Numbers: [11, 19]
Generated Node #0,1,1: 65:[11, 19] Operation: 77-58=19
Exploring Operation: 77-11=66, Resulting Numbers: [58, 66]
Generated Node #0,1,2: 65:[58, 66] Operation: 77-11=66
Moving to Node #0,1,1
Current State: 65:[11, 19], Operations: ['28+49=77', '77-58=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,65 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[58, 66], Operations: ['28+49=77', '77-11=66']
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,65 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[58, 7], Operations: ['28+49=77', '77/11=7']
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,65 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[28, 11, 49, 58], Operations: []
Exploring Operation: 28+49=77, Resulting Numbers: [11, 58, 77]
Generated Node #0,1: 65:[11, 58, 77] Operation: 28+49=77
Moving to Node #0,1
Current State: 65:[11, 58, 77], Operations: ['28+49=77']
Exploring Operation: 77/11=7, Resulting Numbers: [58, 7]
Generated Node #0,1,0: 65:[58, 7] Operation: 77/11=7
Moving to Node #0,1,0
Current State: 65:[58, 7], Operations: ['28+49=77', '77/11=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 |
hs_3
|
mult_heuristic
|
[
49,
30,
21,
84
] | 83 |
[
"49+30=79",
"84/21=4",
"79+4=83"
] |
Current State: 83:[49, 30, 21, 84], Operations: []
Exploring Operation: 49+30=79, Resulting Numbers: [21, 84, 79]
Generated Node #2: [21, 84, 79] from Operation: 49+30=79
Current State: 83:[21, 84, 79], Operations: ['49+30=79']
Exploring Operation: 84/21=4, Resulting Numbers: [79, 4]
Generated Node #3: [79, 4] from Operation: 84/21=4
Current State: 83:[79, 4], Operations: ['49+30=79', '84/21=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[49, 30, 21, 84], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [49, 30, 63]
Generated Node #0,0: 83:[49, 30, 63] Operation: 84-21=63
Exploring Operation: 49-21=28, Resulting Numbers: [30, 84, 28]
Generated Node #0,1: 83:[30, 84, 28] Operation: 49-21=28
Exploring Operation: 30+21=51, Resulting Numbers: [49, 84, 51]
Generated Node #0,2: 83:[49, 84, 51] Operation: 30+21=51
Exploring Operation: 49+21=70, Resulting Numbers: [30, 84, 70]
Generated Node #0,3: 83:[30, 84, 70] Operation: 49+21=70
Exploring Operation: 49+30=79, Resulting Numbers: [21, 84, 79]
Generated Node #0,4: 83:[21, 84, 79] Operation: 49+30=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[49, 84, 51], Operations: ['30+21=51']
Exploring Operation: 49+51=100, Resulting Numbers: [84, 100]
Generated Node #0,2,0: 83:[84, 100] Operation: 49+51=100
Exploring Operation: 49+84=133, Resulting Numbers: [51, 133]
Generated Node #0,2,1: 83:[51, 133] Operation: 49+84=133
Exploring Operation: 84-49=35, Resulting Numbers: [51, 35]
Generated Node #0,2,2: 83:[51, 35] Operation: 84-49=35
Exploring Operation: 51-49=2, Resulting Numbers: [84, 2]
Generated Node #0,2,3: 83:[84, 2] Operation: 51-49=2
Exploring Operation: 84-51=33, Resulting Numbers: [49, 33]
Generated Node #0,2,4: 83:[49, 33] Operation: 84-51=33
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[84, 100], Operations: ['30+21=51', '49+51=100']
Exploring Operation: 84*100=8400, Resulting Numbers: [8400]
8400,83 unequal: No Solution
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 84+100=184, Resulting Numbers: [184]
184,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[51, 35], Operations: ['30+21=51', '84-49=35']
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,83 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[51, 133], Operations: ['30+21=51', '49+84=133']
Exploring Operation: 51+133=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 51*133=6783, Resulting Numbers: [6783]
6783,83 unequal: No Solution
Exploring Operation: 133-51=82, Resulting Numbers: [82]
82,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[84, 2], Operations: ['30+21=51', '51-49=2']
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 83:[49, 33], Operations: ['30+21=51', '84-51=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[30, 84, 70], Operations: ['49+21=70']
Exploring Operation: 30+70=100, Resulting Numbers: [84, 100]
Generated Node #0,3,0: 83:[84, 100] Operation: 30+70=100
Exploring Operation: 84-70=14, Resulting Numbers: [30, 14]
Generated Node #0,3,1: 83:[30, 14] Operation: 84-70=14
Exploring Operation: 70-30=40, Resulting Numbers: [84, 40]
Generated Node #0,3,2: 83:[84, 40] Operation: 70-30=40
Exploring Operation: 84-30=54, Resulting Numbers: [70, 54]
Generated Node #0,3,3: 83:[70, 54] Operation: 84-30=54
Exploring Operation: 30+84=114, Resulting Numbers: [70, 114]
Generated Node #0,3,4: 83:[70, 114] Operation: 30+84=114
Moving to Node #0,3,0
Current State: 83:[84, 100], Operations: ['49+21=70', '30+70=100']
Exploring Operation: 84+100=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 84*100=8400, Resulting Numbers: [8400]
8400,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[70, 54], Operations: ['49+21=70', '84-30=54']
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,83 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[84, 40], Operations: ['49+21=70', '70-30=40']
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,83 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[70, 114], Operations: ['49+21=70', '30+84=114']
Exploring Operation: 70*114=7980, Resulting Numbers: [7980]
7980,83 unequal: No Solution
Exploring Operation: 114-70=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 70+114=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[30, 14], Operations: ['49+21=70', '84-70=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,83 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[21, 84, 79], Operations: ['49+30=79']
Exploring Operation: 79-21=58, Resulting Numbers: [84, 58]
Generated Node #0,4,0: 83:[84, 58] Operation: 79-21=58
Exploring Operation: 84-21=63, Resulting Numbers: [79, 63]
Generated Node #0,4,1: 83:[79, 63] Operation: 84-21=63
Exploring Operation: 84/21=4, Resulting Numbers: [79, 4]
Generated Node #0,4,2: 83:[79, 4] Operation: 84/21=4
Exploring Operation: 21+79=100, Resulting Numbers: [84, 100]
Generated Node #0,4,3: 83:[84, 100] Operation: 21+79=100
Exploring Operation: 21+84=105, Resulting Numbers: [79, 105]
Generated Node #0,4,4: 83:[79, 105] Operation: 21+84=105
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 83:[84, 100], Operations: ['49+30=79', '21+79=100']
Exploring Operation: 84*100=8400, Resulting Numbers: [8400]
8400,83 unequal: No Solution
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 84+100=184, Resulting Numbers: [184]
184,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 83:[79, 63], Operations: ['49+30=79', '84-21=63']
Exploring Operation: 79+63=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 79*63=4977, Resulting Numbers: [4977]
4977,83 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 83:[84, 58], Operations: ['49+30=79', '79-21=58']
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 84*58=4872, Resulting Numbers: [4872]
4872,83 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 83:[79, 105], Operations: ['49+30=79', '21+84=105']
Exploring Operation: 105-79=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 79+105=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 79*105=8295, Resulting Numbers: [8295]
8295,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 83:[79, 4], Operations: ['49+30=79', '84/21=4']
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,83 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[49, 30, 21, 84], Operations: []
Exploring Operation: 49+30=79, Resulting Numbers: [21, 84, 79]
Generated Node #0,4: 83:[21, 84, 79] Operation: 49+30=79
Moving to Node #0,4
Current State: 83:[21, 84, 79], Operations: ['49+30=79']
Exploring Operation: 84/21=4, Resulting Numbers: [79, 4]
Generated Node #0,4,2: 83:[79, 4] Operation: 84/21=4
Moving to Node #0,4,2
Current State: 83:[79, 4], Operations: ['49+30=79', '84/21=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940104 |
hs_5
|
mult_heuristic
|
[
48,
66,
23,
8
] | 70 |
[
"48+66=114",
"23*8=184",
"184-114=70"
] |
Current State: 70:[48, 66, 23, 8], Operations: []
Exploring Operation: 48+66=114, Resulting Numbers: [23, 8, 114]
Generated Node #2: [23, 8, 114] from Operation: 48+66=114
Current State: 70:[23, 8, 114], Operations: ['48+66=114']
Exploring Operation: 23*8=184, Resulting Numbers: [114, 184]
Generated Node #3: [114, 184] from Operation: 23*8=184
Current State: 70:[114, 184], Operations: ['48+66=114', '23*8=184']
Exploring Operation: 184-114=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[48, 66, 23, 8], Operations: []
Exploring Operation: 48+23=71, Resulting Numbers: [66, 8, 71]
Generated Node #0,0: 70:[66, 8, 71] Operation: 48+23=71
Exploring Operation: 48-8=40, Resulting Numbers: [66, 23, 40]
Generated Node #0,1: 70:[66, 23, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [66, 23, 6]
Generated Node #0,2: 70:[66, 23, 6] Operation: 48/8=6
Exploring Operation: 48-23=25, Resulting Numbers: [66, 8, 25]
Generated Node #0,3: 70:[66, 8, 25] Operation: 48-23=25
Exploring Operation: 66-48=18, Resulting Numbers: [23, 8, 18]
Generated Node #0,4: 70:[23, 8, 18] Operation: 66-48=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[66, 8, 71], Operations: ['48+23=71']
Exploring Operation: 66+8=74, Resulting Numbers: [71, 74]
Generated Node #0,0,0: 70:[71, 74] Operation: 66+8=74
Exploring Operation: 66-8=58, Resulting Numbers: [71, 58]
Generated Node #0,0,1: 70:[71, 58] Operation: 66-8=58
Exploring Operation: 71-8=63, Resulting Numbers: [66, 63]
Generated Node #0,0,2: 70:[66, 63] Operation: 71-8=63
Exploring Operation: 71-66=5, Resulting Numbers: [8, 5]
Generated Node #0,0,3: 70:[8, 5] Operation: 71-66=5
Exploring Operation: 8+71=79, Resulting Numbers: [66, 79]
Generated Node #0,0,4: 70:[66, 79] Operation: 8+71=79
Moving to Node #0,0,3
Current State: 70:[8, 5], Operations: ['48+23=71', '71-66=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[71, 74], Operations: ['48+23=71', '66+8=74']
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,70 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 71*74=5254, Resulting Numbers: [5254]
5254,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[66, 63], Operations: ['48+23=71', '71-8=63']
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Exploring Operation: 66*63=4158, Resulting Numbers: [4158]
4158,70 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[71, 58], Operations: ['48+23=71', '66-8=58']
Exploring Operation: 71+58=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Exploring Operation: 71*58=4118, Resulting Numbers: [4118]
4118,70 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[66, 79], Operations: ['48+23=71', '8+71=79']
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 66*79=5214, Resulting Numbers: [5214]
5214,70 unequal: No Solution
Exploring Operation: 66+79=145, Resulting Numbers: [145]
145,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[66, 23, 6], Operations: ['48/8=6']
Exploring Operation: 66+6=72, Resulting Numbers: [23, 72]
Generated Node #0,2,0: 70:[23, 72] Operation: 66+6=72
Exploring Operation: 23-6=17, Resulting Numbers: [66, 17]
Generated Node #0,2,1: 70:[66, 17] Operation: 23-6=17
Exploring Operation: 66-23=43, Resulting Numbers: [6, 43]
Generated Node #0,2,2: 70:[6, 43] Operation: 66-23=43
Exploring Operation: 66/6=11, Resulting Numbers: [23, 11]
Generated Node #0,2,3: 70:[23, 11] Operation: 66/6=11
Exploring Operation: 23+6=29, Resulting Numbers: [66, 29]
Generated Node #0,2,4: 70:[66, 29] Operation: 23+6=29
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[66, 17], Operations: ['48/8=6', '23-6=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,70 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[6, 43], Operations: ['48/8=6', '66-23=43']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,70 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[23, 11], Operations: ['48/8=6', '66/6=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,70 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 70:[66, 29], Operations: ['48/8=6', '23+6=29']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,70 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[23, 72], Operations: ['48/8=6', '66+6=72']
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[23, 8, 18], Operations: ['66-48=18']
Exploring Operation: 23-8=15, Resulting Numbers: [18, 15]
Generated Node #0,4,0: 70:[18, 15] Operation: 23-8=15
Exploring Operation: 23-18=5, Resulting Numbers: [8, 5]
Generated Node #0,4,1: 70:[8, 5] Operation: 23-18=5
Exploring Operation: 18-8=10, Resulting Numbers: [23, 10]
Generated Node #0,4,2: 70:[23, 10] Operation: 18-8=10
Exploring Operation: 23+18=41, Resulting Numbers: [8, 41]
Generated Node #0,4,3: 70:[8, 41] Operation: 23+18=41
Exploring Operation: 23+8=31, Resulting Numbers: [18, 31]
Generated Node #0,4,4: 70:[18, 31] Operation: 23+8=31
Moving to Node #0,4,1
Current State: 70:[8, 5], Operations: ['66-48=18', '23-18=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[18, 15], Operations: ['66-48=18', '23-8=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,70 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[8, 41], Operations: ['66-48=18', '23+18=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[18, 31], Operations: ['66-48=18', '23+8=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,70 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[23, 10], Operations: ['66-48=18', '18-8=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[66, 8, 25], Operations: ['48-23=25']
Exploring Operation: 66+8=74, Resulting Numbers: [25, 74]
Generated Node #0,3,0: 70:[25, 74] Operation: 66+8=74
Exploring Operation: 8+25=33, Resulting Numbers: [66, 33]
Generated Node #0,3,1: 70:[66, 33] Operation: 8+25=33
Exploring Operation: 66-25=41, Resulting Numbers: [8, 41]
Generated Node #0,3,2: 70:[8, 41] Operation: 66-25=41
Exploring Operation: 66-8=58, Resulting Numbers: [25, 58]
Generated Node #0,3,3: 70:[25, 58] Operation: 66-8=58
Exploring Operation: 25-8=17, Resulting Numbers: [66, 17]
Generated Node #0,3,4: 70:[66, 17] Operation: 25-8=17
Moving to Node #0,3,1
Current State: 70:[66, 33], Operations: ['48-23=25', '8+25=33']
Exploring Operation: 66*33=2178, Resulting Numbers: [2178]
2178,70 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Moving to Node #0,3,4
Current State: 70:[66, 17], Operations: ['48-23=25', '25-8=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,70 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[8, 41], Operations: ['48-23=25', '66-25=41']
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,70 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[25, 74], Operations: ['48-23=25', '66+8=74']
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[25, 58], Operations: ['48-23=25', '66-8=58']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,70 unequal: No Solution
No 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: 70:[66, 23, 40], Operations: ['48-8=40']
Exploring Operation: 40-23=17, Resulting Numbers: [66, 17]
Generated Node #0,1,0: 70:[66, 17] Operation: 40-23=17
Exploring Operation: 66-23=43, Resulting Numbers: [40, 43]
Generated Node #0,1,1: 70:[40, 43] Operation: 66-23=43
Exploring Operation: 23+40=63, Resulting Numbers: [66, 63]
Generated Node #0,1,2: 70:[66, 63] Operation: 23+40=63
Exploring Operation: 66-40=26, Resulting Numbers: [23, 26]
Generated Node #0,1,3: 70:[23, 26] Operation: 66-40=26
Exploring Operation: 66+23=89, Resulting Numbers: [40, 89]
Generated Node #0,1,4: 70:[40, 89] Operation: 66+23=89
Moving to Node #0,1,0
Current State: 70:[66, 17], Operations: ['48-8=40', '40-23=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,70 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[66, 63], Operations: ['48-8=40', '23+40=63']
Exploring Operation: 66*63=4158, Resulting Numbers: [4158]
4158,70 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[40, 43], Operations: ['48-8=40', '66-23=43']
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,70 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[23, 26], Operations: ['48-8=40', '66-40=26']
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,70 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[40, 89], Operations: ['48-8=40', '66+23=89']
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,70 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_5
|
sum_heuristic
|
[
83,
91,
25,
83
] | 100 |
[
"91-83=8",
"25+83=108",
"108-8=100"
] |
Current State: 100:[83, 91, 25, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [25, 8]
Generated Node #2: [25, 8] from Operation: 91-83=8
Current State: 100:[25, 8], Operations: ['91-83=8']
Exploring Operation: 25+83=108, Resulting Numbers: [8, 108]
Generated Node #3: [8, 108] from Operation: 25+83=108
Current State: 100:[8, 108], Operations: ['91-83=8', '25+83=108']
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 |
Current State: 100:[83, 91, 25, 83], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [91, 25, 1]
Generated Node #0,0: 100:[91, 25, 1] Operation: 83/83=1
Exploring Operation: 83+25=108, Resulting Numbers: [91, 83, 108]
Generated Node #0,1: 100:[91, 83, 108] Operation: 83+25=108
Exploring Operation: 91-83=8, Resulting Numbers: [83, 25, 8]
Generated Node #0,2: 100:[83, 25, 8] Operation: 91-83=8
Exploring Operation: 91-83=8, Resulting Numbers: [25, 83, 8]
Generated Node #0,3: 100:[25, 83, 8] Operation: 91-83=8
Exploring Operation: 83-83=0, Resulting Numbers: [91, 25, 0]
Generated Node #0,4: 100:[91, 25, 0] Operation: 83-83=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[91, 25, 1], Operations: ['83/83=1']
Exploring Operation: 91+1=92, Resulting Numbers: [25, 92]
Generated Node #0,0,0: 100:[25, 92] Operation: 91+1=92
Exploring Operation: 91*1=91, Resulting Numbers: [25, 91]
Generated Node #0,0,1: 100:[25, 91] Operation: 91*1=91
Exploring Operation: 25*1=25, Resulting Numbers: [91, 25]
Generated Node #0,0,2: 100:[91, 25] Operation: 25*1=25
Exploring Operation: 91/1=91, Resulting Numbers: [25, 91]
Generated Node #0,0,3: 100:[25, 91] Operation: 91/1=91
Exploring Operation: 25/1=25, Resulting Numbers: [91, 25]
Generated Node #0,0,4: 100:[91, 25] Operation: 25/1=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[25, 92], Operations: ['83/83=1', '91+1=92']
Exploring Operation: 25+92=117, Resulting Numbers: [117]
117,100 unequal: No Solution
Exploring Operation: 92-25=67, Resulting Numbers: [67]
67,100 unequal: No Solution
Exploring Operation: 25*92=2300, Resulting Numbers: [2300]
2300,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[25, 91], Operations: ['83/83=1', '91*1=91']
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[91, 25], Operations: ['83/83=1', '25*1=25']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 91*25=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Exploring Operation: 91+25=116, Resulting Numbers: [116]
116,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[25, 91], Operations: ['83/83=1', '91/1=91']
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 100:[91, 25], Operations: ['83/83=1', '25/1=25']
Exploring Operation: 91*25=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 91+25=116, Resulting Numbers: [116]
116,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[91, 25, 0], Operations: ['83-83=0']
Exploring Operation: 91+0=91, Resulting Numbers: [25, 91]
Generated Node #0,4,0: 100:[25, 91] Operation: 91+0=91
Exploring Operation: 25-0=25, Resulting Numbers: [91, 25]
Generated Node #0,4,1: 100:[91, 25] Operation: 25-0=25
Exploring Operation: 91-0=91, Resulting Numbers: [25, 91]
Generated Node #0,4,2: 100:[25, 91] Operation: 91-0=91
Exploring Operation: 91*0=0, Resulting Numbers: [25, 0]
Generated Node #0,4,3: 100:[25, 0] Operation: 91*0=0
Exploring Operation: 25+0=25, Resulting Numbers: [91, 25]
Generated Node #0,4,4: 100:[91, 25] Operation: 25+0=25
Moving to Node #0,4,3
Current State: 100:[25, 0], Operations: ['83-83=0', '91*0=0']
Exploring Operation: 25-0=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 25*0=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 25+0=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[91, 25], Operations: ['83-83=0', '25-0=25']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 91*25=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Exploring Operation: 91+25=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[91, 25], Operations: ['83-83=0', '25+0=25']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 91+25=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 91*25=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[25, 91], Operations: ['83-83=0', '91+0=91']
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Moving to Node #0,4,2
Current State: 100:[25, 91], Operations: ['83-83=0', '91-0=91']
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[83, 25, 8], Operations: ['91-83=8']
Exploring Operation: 83+25=108, Resulting Numbers: [8, 108]
Generated Node #0,2,0: 100:[8, 108] Operation: 83+25=108
Exploring Operation: 25-8=17, Resulting Numbers: [83, 17]
Generated Node #0,2,1: 100:[83, 17] Operation: 25-8=17
Exploring Operation: 83-25=58, Resulting Numbers: [8, 58]
Generated Node #0,2,2: 100:[8, 58] Operation: 83-25=58
Exploring Operation: 83+8=91, Resulting Numbers: [25, 91]
Generated Node #0,2,3: 100:[25, 91] Operation: 83+8=91
Exploring Operation: 83-8=75, Resulting Numbers: [25, 75]
Generated Node #0,2,4: 100:[25, 75] Operation: 83-8=75
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[25, 91], Operations: ['91-83=8', '83+8=91']
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,100 unequal: No Solution
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[8, 108], Operations: ['91-83=8', '83+25=108']
Exploring Operation: 8*108=864, Resulting Numbers: [864]
864,100 unequal: No Solution
Exploring Operation: 8+108=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[83, 91, 25, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [83, 25, 8]
Generated Node #0,2: 100:[83, 25, 8] Operation: 91-83=8
Moving to Node #0,2
Current State: 100:[83, 25, 8], Operations: ['91-83=8']
Exploring Operation: 83+25=108, Resulting Numbers: [8, 108]
Generated Node #0,2,0: 100:[8, 108] Operation: 83+25=108
Moving to Node #0,2,0
Current State: 100:[8, 108], Operations: ['91-83=8', '83+25=108']
Exploring Operation: 108-8=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 |
hs_5
|
sum_heuristic
|
[
4,
13,
63,
18
] | 28 |
[
"4+13=17",
"63-18=45",
"45-17=28"
] |
Current State: 28:[4, 13, 63, 18], Operations: []
Exploring Operation: 4+13=17, Resulting Numbers: [63, 18, 17]
Generated Node #2: [63, 18, 17] from Operation: 4+13=17
Current State: 28:[63, 18, 17], Operations: ['4+13=17']
Exploring Operation: 63-18=45, Resulting Numbers: [17, 45]
Generated Node #3: [17, 45] from Operation: 63-18=45
Current State: 28:[17, 45], Operations: ['4+13=17', '63-18=45']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 |
Current State: 28:[4, 13, 63, 18], Operations: []
Exploring Operation: 63-18=45, Resulting Numbers: [4, 13, 45]
Generated Node #0,0: 28:[4, 13, 45] Operation: 63-18=45
Moving to Node #0,0
Current State: 28:[4, 13, 45], Operations: ['63-18=45']
Exploring Operation: 45-13=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 28:[4, 32] Operation: 45-13=32
Moving to Node #0,0,0
Current State: 28:[4, 32], Operations: ['63-18=45', '45-13=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[4, 13, 63, 18], Operations: []
Exploring Operation: 63-18=45, Resulting Numbers: [4, 13, 45]
Generated Node #0,0: 28:[4, 13, 45] Operation: 63-18=45
Moving to Node #0,0
Current State: 28:[4, 13, 45], Operations: ['63-18=45']
Exploring Operation: 45-13=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 28:[4, 32] Operation: 45-13=32
Moving to Node #0,0,0
Current State: 28:[4, 32], Operations: ['63-18=45', '45-13=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 |
hs_1
|
sum_heuristic
|
[
11,
3,
65,
27
] | 46 |
[
"11-3=8",
"65-27=38",
"8+38=46"
] |
Current State: 46:[11, 3, 65, 27], Operations: []
Exploring Operation: 11-3=8, Resulting Numbers: [65, 27, 8]
Generated Node #2: [65, 27, 8] from Operation: 11-3=8
Current State: 46:[65, 27, 8], Operations: ['11-3=8']
Exploring Operation: 65-27=38, Resulting Numbers: [8, 38]
Generated Node #3: [8, 38] from Operation: 65-27=38
Current State: 46:[8, 38], Operations: ['11-3=8', '65-27=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[11, 3, 65, 27], Operations: []
Exploring Operation: 11+27=38, Resulting Numbers: [3, 65, 38]
Generated Node #0,0: 46:[3, 65, 38] Operation: 11+27=38
Exploring Operation: 65-11=54, Resulting Numbers: [3, 27, 54]
Generated Node #0,1: 46:[3, 27, 54] Operation: 65-11=54
Exploring Operation: 27-11=16, Resulting Numbers: [3, 65, 16]
Generated Node #0,2: 46:[3, 65, 16] Operation: 27-11=16
Exploring Operation: 65-27=38, Resulting Numbers: [11, 3, 38]
Generated Node #0,3: 46:[11, 3, 38] Operation: 65-27=38
Moving to Node #0,1
Current State: 46:[3, 27, 54], Operations: ['65-11=54']
Exploring Operation: 27-3=24, Resulting Numbers: [54, 24]
Generated Node #0,1,0: 46:[54, 24] Operation: 27-3=24
Exploring Operation: 54/27=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 46:[3, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [3, 27]
Generated Node #0,1,2: 46:[3, 27] Operation: 54-27=27
Exploring Operation: 54-3=51, Resulting Numbers: [27, 51]
Generated Node #0,1,3: 46:[27, 51] Operation: 54-3=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[3, 2], Operations: ['65-11=54', '54/27=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[3, 27], Operations: ['65-11=54', '54-27=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[54, 24], Operations: ['65-11=54', '27-3=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[27, 51], Operations: ['65-11=54', '54-3=51']
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,46 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,46 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: 46:[11, 3, 38], Operations: ['65-27=38']
Exploring Operation: 3+38=41, Resulting Numbers: [11, 41]
Generated Node #0,3,0: 46:[11, 41] Operation: 3+38=41
Exploring Operation: 11-3=8, Resulting Numbers: [38, 8]
Generated Node #0,3,1: 46:[38, 8] Operation: 11-3=8
Exploring Operation: 11+38=49, Resulting Numbers: [3, 49]
Generated Node #0,3,2: 46:[3, 49] Operation: 11+38=49
Exploring Operation: 38-11=27, Resulting Numbers: [3, 27]
Generated Node #0,3,3: 46:[3, 27] Operation: 38-11=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[3, 49], Operations: ['65-27=38', '11+38=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,46 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[11, 3, 65, 27], Operations: []
Exploring Operation: 65-27=38, Resulting Numbers: [11, 3, 38]
Generated Node #0,3: 46:[11, 3, 38] Operation: 65-27=38
Moving to Node #0,3
Current State: 46:[11, 3, 38], Operations: ['65-27=38']
Exploring Operation: 11+38=49, Resulting Numbers: [3, 49]
Generated Node #0,3,2: 46:[3, 49] Operation: 11+38=49
Moving to Node #0,3,2
Current State: 46:[3, 49], Operations: ['65-27=38', '11+38=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 |
hs_4
|
mult_heuristic
|
[
3,
16,
5,
94
] | 35 |
[
"16-5=11",
"94+11=105",
"105/3=35"
] |
Current State: 35:[3, 16, 5, 94], Operations: []
Exploring Operation: 16-5=11, Resulting Numbers: [3, 94, 11]
Generated Node #2: [3, 94, 11] from Operation: 16-5=11
Current State: 35:[3, 94, 11], Operations: ['16-5=11']
Exploring Operation: 94+11=105, Resulting Numbers: [3, 105]
Generated Node #3: [3, 105] from Operation: 94+11=105
Current State: 35:[3, 105], Operations: ['16-5=11', '94+11=105']
Exploring Operation: 105/3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[3, 16, 5, 94], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [3, 5, 78]
Generated Node #0,0: 35:[3, 5, 78] Operation: 94-16=78
Moving to Node #0,0
Current State: 35:[3, 5, 78], Operations: ['94-16=78']
Exploring Operation: 78/3=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 35:[5, 26] Operation: 78/3=26
Moving to Node #0,0,0
Current State: 35:[5, 26], Operations: ['94-16=78', '78/3=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,35 unequal: No Solution
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
27,
15,
82,
77
] | 21 |
[
"82-27=55",
"15*77=1155",
"1155/55=21"
] |
Current State: 21:[27, 15, 82, 77], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [15, 77, 55]
Generated Node #2: [15, 77, 55] from Operation: 82-27=55
Current State: 21:[15, 77, 55], Operations: ['82-27=55']
Exploring Operation: 15*77=1155, Resulting Numbers: [55, 1155]
Generated Node #3: [55, 1155] from Operation: 15*77=1155
Current State: 21:[55, 1155], Operations: ['82-27=55', '15*77=1155']
Exploring Operation: 1155/55=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[27, 15, 82, 77], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [27, 15, 5]
Generated Node #0,0: 21:[27, 15, 5] Operation: 82-77=5
Exploring Operation: 82-27=55, Resulting Numbers: [15, 77, 55]
Generated Node #0,1: 21:[15, 77, 55] Operation: 82-27=55
Exploring Operation: 77-27=50, Resulting Numbers: [15, 82, 50]
Generated Node #0,2: 21:[15, 82, 50] Operation: 77-27=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[27, 15, 5], Operations: ['82-77=5']
Exploring Operation: 27-5=22, Resulting Numbers: [15, 22]
Generated Node #0,0,0: 21:[15, 22] Operation: 27-5=22
Exploring Operation: 15/5=3, Resulting Numbers: [27, 3]
Generated Node #0,0,1: 21:[27, 3] Operation: 15/5=3
Exploring Operation: 27-15=12, Resulting Numbers: [5, 12]
Generated Node #0,0,2: 21:[5, 12] Operation: 27-15=12
Moving to Node #0,0,1
Current State: 21:[27, 3], Operations: ['82-77=5', '15/5=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[15, 22], Operations: ['82-77=5', '27-5=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[5, 12], Operations: ['82-77=5', '27-15=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[15, 77, 55], Operations: ['82-27=55']
Exploring Operation: 55-15=40, Resulting Numbers: [77, 40]
Generated Node #0,1,0: 21:[77, 40] Operation: 55-15=40
Exploring Operation: 77-15=62, Resulting Numbers: [55, 62]
Generated Node #0,1,1: 21:[55, 62] Operation: 77-15=62
Exploring Operation: 77-55=22, Resulting Numbers: [15, 22]
Generated Node #0,1,2: 21:[15, 22] Operation: 77-55=22
Moving to Node #0,1,2
Current State: 21:[15, 22], Operations: ['82-27=55', '77-55=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,21 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[77, 40], Operations: ['82-27=55', '55-15=40']
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,21 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,21 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[55, 62], Operations: ['82-27=55', '77-15=62']
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 55+62=117, Resulting Numbers: [117]
117,21 unequal: No Solution
Exploring Operation: 55*62=3410, Resulting Numbers: [3410]
3410,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,2
Current State: 21:[15, 82, 50], Operations: ['77-27=50']
Exploring Operation: 50-15=35, Resulting Numbers: [82, 35]
Generated Node #0,2,0: 21:[82, 35] Operation: 50-15=35
Exploring Operation: 82-15=67, Resulting Numbers: [50, 67]
Generated Node #0,2,1: 21:[50, 67] Operation: 82-15=67
Exploring Operation: 82-50=32, Resulting Numbers: [15, 32]
Generated Node #0,2,2: 21:[15, 32] Operation: 82-50=32
Moving to Node #0,2,2
Current State: 21:[15, 32], Operations: ['77-27=50', '82-50=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,21 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[82, 35], Operations: ['77-27=50', '50-15=35']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,21 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[50, 67], Operations: ['77-27=50', '82-15=67']
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,21 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,21 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
|
[
78,
42,
98,
41
] | 93 |
[
"78-42=36",
"98-41=57",
"36+57=93"
] |
Current State: 93:[78, 42, 98, 41], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [98, 41, 36]
Generated Node #2: [98, 41, 36] from Operation: 78-42=36
Current State: 93:[98, 41, 36], Operations: ['78-42=36']
Exploring Operation: 98-41=57, Resulting Numbers: [36, 57]
Generated Node #3: [36, 57] from Operation: 98-41=57
Current State: 93:[36, 57], Operations: ['78-42=36', '98-41=57']
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 |
Current State: 93:[78, 42, 98, 41], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [98, 41, 36]
Generated Node #0,0: 93:[98, 41, 36] Operation: 78-42=36
Exploring Operation: 78-41=37, Resulting Numbers: [42, 98, 37]
Generated Node #0,1: 93:[42, 98, 37] Operation: 78-41=37
Moving to Node #0,0
Current State: 93:[98, 41, 36], Operations: ['78-42=36']
Exploring Operation: 41-36=5, Resulting Numbers: [98, 5]
Generated Node #0,0,0: 93:[98, 5] Operation: 41-36=5
Exploring Operation: 41+36=77, Resulting Numbers: [98, 77]
Generated Node #0,0,1: 93:[98, 77] Operation: 41+36=77
Moving to Node #0,1
Current State: 93:[42, 98, 37], Operations: ['78-41=37']
Exploring Operation: 42-37=5, Resulting Numbers: [98, 5]
Generated Node #0,1,0: 93:[98, 5] Operation: 42-37=5
Exploring Operation: 42+37=79, Resulting Numbers: [98, 79]
Generated Node #0,1,1: 93:[98, 79] Operation: 42+37=79
Moving to Node #0,0,0
Current State: 93:[98, 5], Operations: ['78-42=36', '41-36=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[78, 42, 98, 41], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [98, 41, 36]
Generated Node #0,0: 93:[98, 41, 36] Operation: 78-42=36
Moving to Node #0,0
Current State: 93:[98, 41, 36], Operations: ['78-42=36']
Exploring Operation: 41-36=5, Resulting Numbers: [98, 5]
Generated Node #0,0,0: 93:[98, 5] Operation: 41-36=5
Moving to Node #0,0,0
Current State: 93:[98, 5], Operations: ['78-42=36', '41-36=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.990451 |
hs_2
|
sum_heuristic
|
[
45,
20,
35,
33
] | 43 |
[
"45-20=25",
"35+33=68",
"68-25=43"
] |
Current State: 43:[45, 20, 35, 33], Operations: []
Exploring Operation: 45-20=25, Resulting Numbers: [35, 33, 25]
Generated Node #2: [35, 33, 25] from Operation: 45-20=25
Current State: 43:[35, 33, 25], Operations: ['45-20=25']
Exploring Operation: 35+33=68, Resulting Numbers: [25, 68]
Generated Node #3: [25, 68] from Operation: 35+33=68
Current State: 43:[25, 68], Operations: ['45-20=25', '35+33=68']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 |
Current State: 43:[45, 20, 35, 33], Operations: []
Exploring Operation: 20+33=53, Resulting Numbers: [45, 35, 53]
Generated Node #0,0: 43:[45, 35, 53] Operation: 20+33=53
Exploring Operation: 20+35=55, Resulting Numbers: [45, 33, 55]
Generated Node #0,1: 43:[45, 33, 55] Operation: 20+35=55
Exploring Operation: 45-20=25, Resulting Numbers: [35, 33, 25]
Generated Node #0,2: 43:[35, 33, 25] Operation: 45-20=25
Moving to Node #0,0
Current State: 43:[45, 35, 53], Operations: ['20+33=53']
Exploring Operation: 53-35=18, Resulting Numbers: [45, 18]
Generated Node #0,0,0: 43:[45, 18] Operation: 53-35=18
Exploring Operation: 45-35=10, Resulting Numbers: [53, 10]
Generated Node #0,0,1: 43:[53, 10] Operation: 45-35=10
Exploring Operation: 53-45=8, Resulting Numbers: [35, 8]
Generated Node #0,0,2: 43:[35, 8] Operation: 53-45=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[45, 18], Operations: ['20+33=53', '53-35=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[53, 10], Operations: ['20+33=53', '45-35=10']
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,43 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[45, 20, 35, 33], Operations: []
Exploring Operation: 20+33=53, Resulting Numbers: [45, 35, 53]
Generated Node #0,0: 43:[45, 35, 53] Operation: 20+33=53
Moving to Node #0,0
Current State: 43:[45, 35, 53], Operations: ['20+33=53']
Exploring Operation: 45-35=10, Resulting Numbers: [53, 10]
Generated Node #0,0,1: 43:[53, 10] Operation: 45-35=10
Moving to Node #0,0,1
Current State: 43:[53, 10], Operations: ['20+33=53', '45-35=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
mult_heuristic
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.