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 |
|---|---|---|---|---|---|---|---|---|
[
55,
52,
46,
52
] | 86 | [
"55-52=3",
"46*3=138",
"138-52=86"
] | Current State: 86:[55, 52, 46, 52], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [46, 3]
Generated Node #2: [46, 3] from Operation: 55-52=3
Current State: 86:[46, 3], Operations: ['55-52=3']
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,86 equal: Goal Reached
Exploring Operation: 138-52=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[55, 52, 46, 52], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [52, 46, 3]
Generated Node #0,0: 86:[52, 46, 3] Operation: 55-52=3
Exploring Operation: 52/52=1, Resulting Numbers: [55, 46, 1]
Generated Node #0,1: 86:[55, 46, 1] Operation: 52/52=1
Exploring Operation: 55-52=3, Resulting Numbers: [46, 52, 3]
Generated Node #0,2: 86:[46, 52, 3] Operation: 55-52=3
Moving to Node #0,0
Current State: 86:[52, 46, 3], Operations: ['55-52=3']
Exploring Operation: 52-46=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 86:[3, 6] Operation: 52-46=6
Exploring Operation: 52-3=49, Resulting Numbers: [46, 49]
Generated Node #0,0,1: 86:[46, 49] Operation: 52-3=49
Exploring Operation: 46-3=43, Resulting Numbers: [52, 43]
Generated Node #0,0,2: 86:[52, 43] Operation: 46-3=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[3, 6], Operations: ['55-52=3', '52-46=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[46, 49], Operations: ['55-52=3', '52-3=49']
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,86 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[52, 43], Operations: ['55-52=3', '46-3=43']
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,86 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,86 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: 86:[46, 52, 3], Operations: ['55-52=3']
Exploring Operation: 46-3=43, Resulting Numbers: [52, 43]
Generated Node #0,2,0: 86:[52, 43] Operation: 46-3=43
Exploring Operation: 52-3=49, Resulting Numbers: [46, 49]
Generated Node #0,2,1: 86:[46, 49] Operation: 52-3=49
Exploring Operation: 52-46=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 86:[3, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[3, 6], Operations: ['55-52=3', '52-46=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[52, 43], Operations: ['55-52=3', '46-3=43']
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,86 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,86 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[46, 49], Operations: ['55-52=3', '52-3=49']
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,86 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,86 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: 86:[55, 46, 1], Operations: ['52/52=1']
Exploring Operation: 55-46=9, Resulting Numbers: [1, 9]
Generated Node #0,1,0: 86:[1, 9] Operation: 55-46=9
Exploring Operation: 55-1=54, Resulting Numbers: [46, 54]
Generated Node #0,1,1: 86:[46, 54] Operation: 55-1=54
Exploring Operation: 46-1=45, Resulting Numbers: [55, 45]
Generated Node #0,1,2: 86:[55, 45] Operation: 46-1=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[1, 9], Operations: ['52/52=1', '55-46=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[46, 54], Operations: ['52/52=1', '55-1=54']
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,86 unequal: No Solution
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[55, 45], Operations: ['52/52=1', '46-1=45']
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,86 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
3,
55,
8
] | 39 | [
"6/3=2",
"8*2=16",
"55-16=39"
] | Current State: 39:[6, 3, 55, 8], Operations: []
Exploring Operation: 6/3=2, Resulting Numbers: [55, 8, 2]
Generated Node #2: [55, 8, 2] from Operation: 6/3=2
Current State: 39:[55, 8, 2], Operations: ['6/3=2']
Exploring Operation: 8*2=16, Resulting Numbers: [55, 16]
Generated Node #3: [55, 16] from Operation: 8*2=16
Current State: 39:[55, 16], Operations: ['6/3=2', '8*2=16']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[6, 3, 55, 8], Operations: []
Exploring Operation: 55-6=49, Resulting Numbers: [3, 8, 49]
Generated Node #0,0: 39:[3, 8, 49] Operation: 55-6=49
Exploring Operation: 55-8=47, Resulting Numbers: [6, 3, 47]
Generated Node #0,1: 39:[6, 3, 47] Operation: 55-8=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[6, 3, 47], Operations: ['55-8=47']
Exploring Operation: 6-3=3, Resulting Numbers: [47, 3]
Generated Node #0,1,0: 39:[47, 3] Operation: 6-3=3
Exploring Operation: 47-6=41, Resulting Numbers: [3, 41]
Generated Node #0,1,1: 39:[3, 41] Operation: 47-6=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[3, 41], Operations: ['55-8=47', '47-6=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[47, 3], Operations: ['55-8=47', '6-3=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[3, 8, 49], Operations: ['55-6=49']
Exploring Operation: 3+8=11, Resulting Numbers: [49, 11]
Generated Node #0,0,0: 39:[49, 11] Operation: 3+8=11
Exploring Operation: 49-8=41, Resulting Numbers: [3, 41]
Generated Node #0,0,1: 39:[3, 41] Operation: 49-8=41
Moving to Node #0,0,1
Current State: 39:[3, 41], Operations: ['55-6=49', '49-8=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[49, 11], Operations: ['55-6=49', '3+8=11']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
93,
59,
31,
4
] | 28 | [
"93+59=152",
"31*4=124",
"152-124=28"
] | Current State: 28:[93, 59, 31, 4], Operations: []
Exploring Operation: 93+59=152, Resulting Numbers: [31, 4, 152]
Generated Node #2: [31, 4, 152] from Operation: 93+59=152
Current State: 28:[31, 4, 152], Operations: ['93+59=152']
Exploring Operation: 31*4=124, Resulting Numbers: [152, 124]
Generated Node #3: [152, 124] from Operation: 31*4=124
Current State: 28:[152, 124], Operations: ['93+59=152', '31*4=124']
Exploring Operation: 152-124=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[93, 59, 31, 4], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [31, 4, 34]
Generated Node #0,0: 28:[31, 4, 34] Operation: 93-59=34
Exploring Operation: 93/31=3, Resulting Numbers: [59, 4, 3]
Generated Node #0,1: 28:[59, 4, 3] Operation: 93/31=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[31, 4, 34], Operations: ['93-59=34']
Exploring Operation: 34-31=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 28:[4, 3] Operation: 34-31=3
Exploring Operation: 34-4=30, Resulting Numbers: [31, 30]
Generated Node #0,0,1: 28:[31, 30] Operation: 34-4=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 3], Operations: ['93-59=34', '34-31=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[31, 30], Operations: ['93-59=34', '34-4=30']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[59, 4, 3], Operations: ['93/31=3']
Exploring Operation: 59-4=55, Resulting Numbers: [3, 55]
Generated Node #0,1,0: 28:[3, 55] Operation: 59-4=55
Exploring Operation: 59-3=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 28:[4, 56] Operation: 59-3=56
Moving to Node #0,1,0
Current State: 28:[3, 55], Operations: ['93/31=3', '59-4=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[4, 56], Operations: ['93/31=3', '59-3=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
19,
37,
41
] | 45 | [
"38/19=2",
"41*2=82",
"82-37=45"
] | Current State: 45:[38, 19, 37, 41], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [37, 41, 2]
Generated Node #2: [37, 41, 2] from Operation: 38/19=2
Current State: 45:[37, 41, 2], Operations: ['38/19=2']
Exploring Operation: 41*2=82, Resulting Numbers: [37, 82]
Generated Node #3: [37, 82] from Operation: 41*2=82
Current State: 45:[37, 82], Operations: ['38/19=2', '41*2=82']
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[38, 19, 37, 41], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [37, 41, 2]
Generated Node #0,0: 45:[37, 41, 2] Operation: 38/19=2
Exploring Operation: 38-37=1, Resulting Numbers: [19, 41, 1]
Generated Node #0,1: 45:[19, 41, 1] Operation: 38-37=1
Exploring Operation: 41-38=3, Resulting Numbers: [19, 37, 3]
Generated Node #0,2: 45:[19, 37, 3] Operation: 41-38=3
Exploring Operation: 41-37=4, Resulting Numbers: [38, 19, 4]
Generated Node #0,3: 45:[38, 19, 4] Operation: 41-37=4
Exploring Operation: 37-19=18, Resulting Numbers: [38, 41, 18]
Generated Node #0,4: 45:[38, 41, 18] Operation: 37-19=18
Moving to Node #0,1
Current State: 45:[19, 41, 1], Operations: ['38-37=1']
Exploring Operation: 41+1=42, Resulting Numbers: [19, 42]
Generated Node #0,1,0: 45:[19, 42] Operation: 41+1=42
Exploring Operation: 19/1=19, Resulting Numbers: [41, 19]
Generated Node #0,1,1: 45:[41, 19] Operation: 19/1=19
Exploring Operation: 41*1=41, Resulting Numbers: [19, 41]
Generated Node #0,1,2: 45:[19, 41] Operation: 41*1=41
Exploring Operation: 19*1=19, Resulting Numbers: [41, 19]
Generated Node #0,1,3: 45:[41, 19] Operation: 19*1=19
Exploring Operation: 19-1=18, Resulting Numbers: [41, 18]
Generated Node #0,1,4: 45:[41, 18] Operation: 19-1=18
Moving to Node #0,3
Current State: 45:[38, 19, 4], Operations: ['41-37=4']
Exploring Operation: 38/19=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 45:[4, 2] Operation: 38/19=2
Exploring Operation: 38+4=42, Resulting Numbers: [19, 42]
Generated Node #0,3,1: 45:[19, 42] Operation: 38+4=42
Exploring Operation: 38+19=57, Resulting Numbers: [4, 57]
Generated Node #0,3,2: 45:[4, 57] Operation: 38+19=57
Exploring Operation: 38-19=19, Resulting Numbers: [4, 19]
Generated Node #0,3,3: 45:[4, 19] Operation: 38-19=19
Exploring Operation: 19-4=15, Resulting Numbers: [38, 15]
Generated Node #0,3,4: 45:[38, 15] Operation: 19-4=15
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[4, 2], Operations: ['41-37=4', '38/19=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,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,3,3
Current State: 45:[4, 19], Operations: ['41-37=4', '38-19=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,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,3,1
Current State: 45:[19, 42], Operations: ['41-37=4', '38+4=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,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,3,4
Current State: 45:[38, 15], Operations: ['41-37=4', '19-4=15']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,45 unequal: No Solution
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,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,3,2
Current State: 45:[4, 57], Operations: ['41-37=4', '38+19=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,45 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,45 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: 45:[19, 37, 3], Operations: ['41-38=3']
Exploring Operation: 37+3=40, Resulting Numbers: [19, 40]
Generated Node #0,2,0: 45:[19, 40] Operation: 37+3=40
Exploring Operation: 19+37=56, Resulting Numbers: [3, 56]
Generated Node #0,2,1: 45:[3, 56] Operation: 19+37=56
Exploring Operation: 19-3=16, Resulting Numbers: [37, 16]
Generated Node #0,2,2: 45:[37, 16] Operation: 19-3=16
Exploring Operation: 19+3=22, Resulting Numbers: [37, 22]
Generated Node #0,2,3: 45:[37, 22] Operation: 19+3=22
Exploring Operation: 37-19=18, Resulting Numbers: [3, 18]
Generated Node #0,2,4: 45:[3, 18] Operation: 37-19=18
Moving to Node #0,0
Current State: 45:[37, 41, 2], Operations: ['38/19=2']
Exploring Operation: 37+2=39, Resulting Numbers: [41, 39]
Generated Node #0,0,0: 45:[41, 39] Operation: 37+2=39
Exploring Operation: 41-2=39, Resulting Numbers: [37, 39]
Generated Node #0,0,1: 45:[37, 39] Operation: 41-2=39
Exploring Operation: 37-2=35, Resulting Numbers: [41, 35]
Generated Node #0,0,2: 45:[41, 35] Operation: 37-2=35
Exploring Operation: 41+2=43, Resulting Numbers: [37, 43]
Generated Node #0,0,3: 45:[37, 43] Operation: 41+2=43
Exploring Operation: 41-37=4, Resulting Numbers: [2, 4]
Generated Node #0,0,4: 45:[2, 4] Operation: 41-37=4
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 45:[2, 4], Operations: ['38/19=2', '41-37=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,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,0
Current State: 45:[41, 39], Operations: ['38/19=2', '37+2=39']
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,45 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,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,3
Current State: 45:[37, 43], Operations: ['38/19=2', '41+2=43']
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,45 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,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,1
Current State: 45:[37, 39], Operations: ['38/19=2', '41-2=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,45 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,45 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,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,2
Current State: 45:[41, 35], Operations: ['38/19=2', '37-2=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,45 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,45 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: 45:[38, 41, 18], Operations: ['37-19=18']
Exploring Operation: 38+18=56, Resulting Numbers: [41, 56]
Generated Node #0,4,0: 45:[41, 56] Operation: 38+18=56
Exploring Operation: 41-38=3, Resulting Numbers: [18, 3]
Generated Node #0,4,1: 45:[18, 3] Operation: 41-38=3
Exploring Operation: 38-18=20, Resulting Numbers: [41, 20]
Generated Node #0,4,2: 45:[41, 20] Operation: 38-18=20
Exploring Operation: 41-18=23, Resulting Numbers: [38, 23]
Generated Node #0,4,3: 45:[38, 23] Operation: 41-18=23
Exploring Operation: 41+18=59, Resulting Numbers: [38, 59]
Generated Node #0,4,4: 45:[38, 59] Operation: 41+18=59
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 45:[18, 3], Operations: ['37-19=18', '41-38=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,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,4,2
Current State: 45:[41, 20], Operations: ['37-19=18', '38-18=20']
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,45 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,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,4,0
Current State: 45:[41, 56], Operations: ['37-19=18', '38+18=56']
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 41+56=97, Resulting Numbers: [97]
97,45 unequal: No Solution
Exploring Operation: 41*56=2296, Resulting Numbers: [2296]
2296,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,4,3
Current State: 45:[38, 23], Operations: ['37-19=18', '41-18=23']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,45 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,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,4,4
Current State: 45:[38, 59], Operations: ['37-19=18', '41+18=59']
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,45 unequal: No Solution
Exploring Operation: 38*59=2242, Resulting Numbers: [2242]
2242,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 45:[3, 18], Operations: ['41-38=3', '37-19=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[19, 42], Operations: ['38-37=1', '41+1=42']
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,45 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[41, 18], Operations: ['38-37=1', '19-1=18']
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,45 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[41, 19], Operations: ['38-37=1', '19/1=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,45 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[41, 19], Operations: ['38-37=1', '19*1=19']
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,45 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[19, 41], Operations: ['38-37=1', '41*1=41']
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 19*41=779, Resulting Numbers: [779]
779,45 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[19, 40], Operations: ['41-38=3', '37+3=40']
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,45 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[37, 16], Operations: ['41-38=3', '19-3=16']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,45 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[3, 56], Operations: ['41-38=3', '19+37=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,45 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[37, 22], Operations: ['41-38=3', '19+3=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,45 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,45 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
5,
90,
79
] | 82 | [
"79-15=64",
"90/5=18",
"64+18=82"
] | Current State: 82:[15, 5, 90, 79], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [5, 90, 64]
Generated Node #2: [5, 90, 64] from Operation: 79-15=64
Current State: 82:[5, 90, 64], Operations: ['79-15=64']
Exploring Operation: 90/5=18, Resulting Numbers: [64, 18]
Generated Node #3: [64, 18] from Operation: 90/5=18
Current State: 82:[64, 18], Operations: ['79-15=64', '90/5=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[15, 5, 90, 79], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [5, 79, 6]
Generated Node #0,0: 82:[5, 79, 6] Operation: 90/15=6
Moving to Node #0,0
Current State: 82:[5, 79, 6], Operations: ['90/15=6']
Exploring Operation: 6-5=1, Resulting Numbers: [79, 1]
Generated Node #0,0,0: 82:[79, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[79, 1], Operations: ['90/15=6', '6-5=1']
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,82 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 |
[
77,
7,
88,
18
] | 95 | [
"77/7=11",
"88+18=106",
"106-11=95"
] | Current State: 95:[77, 7, 88, 18], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [88, 18, 11]
Generated Node #2: [88, 18, 11] from Operation: 77/7=11
Current State: 95:[88, 18, 11], Operations: ['77/7=11']
Exploring Operation: 88+18=106, Resulting Numbers: [11, 106]
Generated Node #3: [11, 106] from Operation: 88+18=106
Current State: 95:[11, 106], Operations: ['77/7=11', '88+18=106']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[77, 7, 88, 18], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [7, 18, 11]
Generated Node #0,0: 95:[7, 18, 11] Operation: 88-77=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[7, 18, 11], Operations: ['88-77=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18, 18]
Generated Node #0,0,0: 95:[18, 18] Operation: 7+11=18
Moving to Node #0,0,0
Current State: 95:[18, 18], Operations: ['88-77=11', '7+11=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
97,
84,
27,
26
] | 13 | [
"97-84=13",
"27-26=1",
"13*1=13"
] | Current State: 13:[97, 84, 27, 26], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [27, 26, 13]
Generated Node #2: [27, 26, 13] from Operation: 97-84=13
Current State: 13:[27, 26, 13], Operations: ['97-84=13']
Exploring Operation: 27-26=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 27-26=1
Current State: 13:[13, 1], Operations: ['97-84=13', '27-26=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[97, 84, 27, 26], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [27, 26, 13]
Generated Node #0,0: 13:[27, 26, 13] Operation: 97-84=13
Exploring Operation: 84-26=58, Resulting Numbers: [97, 27, 58]
Generated Node #0,1: 13:[97, 27, 58] Operation: 84-26=58
Exploring Operation: 97-27=70, Resulting Numbers: [84, 26, 70]
Generated Node #0,2: 13:[84, 26, 70] Operation: 97-27=70
Exploring Operation: 84-27=57, Resulting Numbers: [97, 26, 57]
Generated Node #0,3: 13:[97, 26, 57] Operation: 84-27=57
Exploring Operation: 97-26=71, Resulting Numbers: [84, 27, 71]
Generated Node #0,4: 13:[84, 27, 71] Operation: 97-26=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[27, 26, 13], Operations: ['97-84=13']
Exploring Operation: 26/13=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 13:[27, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [27, 13]
Generated Node #0,0,1: 13:[27, 13] Operation: 26-13=13
Exploring Operation: 27+26=53, Resulting Numbers: [13, 53]
Generated Node #0,0,2: 13:[13, 53] Operation: 27+26=53
Exploring Operation: 27-13=14, Resulting Numbers: [26, 14]
Generated Node #0,0,3: 13:[26, 14] Operation: 27-13=14
Exploring Operation: 27-26=1, Resulting Numbers: [13, 1]
Generated Node #0,0,4: 13:[13, 1] Operation: 27-26=1
Moving to Node #0,0,4
Current State: 13:[13, 1], Operations: ['97-84=13', '27-26=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[97, 84, 27, 26], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [27, 26, 13]
Generated Node #0,0: 13:[27, 26, 13] Operation: 97-84=13
Moving to Node #0,0
Current State: 13:[27, 26, 13], Operations: ['97-84=13']
Exploring Operation: 27-26=1, Resulting Numbers: [13, 1]
Generated Node #0,0,4: 13:[13, 1] Operation: 27-26=1
Moving to Node #0,0,4
Current State: 13:[13, 1], Operations: ['97-84=13', '27-26=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
76,
58,
5,
81
] | 94 | [
"76-58=18",
"81-5=76",
"18+76=94"
] | Current State: 94:[76, 58, 5, 81], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [5, 81, 18]
Generated Node #2: [5, 81, 18] from Operation: 76-58=18
Current State: 94:[5, 81, 18], Operations: ['76-58=18']
Exploring Operation: 81-5=76, Resulting Numbers: [18, 76]
Generated Node #3: [18, 76] from Operation: 81-5=76
Current State: 94:[18, 76], Operations: ['76-58=18', '81-5=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[76, 58, 5, 81], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [58, 5, 5]
Generated Node #0,0: 94:[58, 5, 5] Operation: 81-76=5
Moving to Node #0,0
Current State: 94:[58, 5, 5], Operations: ['81-76=5']
Exploring Operation: 58-5=53, Resulting Numbers: [5, 53]
Generated Node #0,0,0: 94:[5, 53] Operation: 58-5=53
Moving to Node #0,0,0
Current State: 94:[5, 53], Operations: ['81-76=5', '58-5=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,94 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
12,
55,
44
] | 86 | [
"87-12=75",
"55-44=11",
"75+11=86"
] | Current State: 86:[87, 12, 55, 44], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [55, 44, 75]
Generated Node #2: [55, 44, 75] from Operation: 87-12=75
Current State: 86:[55, 44, 75], Operations: ['87-12=75']
Exploring Operation: 55-44=11, Resulting Numbers: [75, 11]
Generated Node #3: [75, 11] from Operation: 55-44=11
Current State: 86:[75, 11], Operations: ['87-12=75', '55-44=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[87, 12, 55, 44], Operations: []
Exploring Operation: 87-55=32, Resulting Numbers: [12, 44, 32]
Generated Node #0,0: 86:[12, 44, 32] Operation: 87-55=32
Exploring Operation: 12+55=67, Resulting Numbers: [87, 44, 67]
Generated Node #0,1: 86:[87, 44, 67] Operation: 12+55=67
Exploring Operation: 55-44=11, Resulting Numbers: [87, 12, 11]
Generated Node #0,2: 86:[87, 12, 11] Operation: 55-44=11
Exploring Operation: 87-44=43, Resulting Numbers: [12, 55, 43]
Generated Node #0,3: 86:[12, 55, 43] Operation: 87-44=43
Exploring Operation: 55-12=43, Resulting Numbers: [87, 44, 43]
Generated Node #0,4: 86:[87, 44, 43] Operation: 55-12=43
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[87, 44, 43], Operations: ['55-12=43']
Exploring Operation: 44-43=1, Resulting Numbers: [87, 1]
Generated Node #0,4,0: 86:[87, 1] Operation: 44-43=1
Exploring Operation: 87-43=44, Resulting Numbers: [44, 44]
Generated Node #0,4,1: 86:[44, 44] Operation: 87-43=44
Exploring Operation: 87-44=43, Resulting Numbers: [43, 43]
Generated Node #0,4,2: 86:[43, 43] Operation: 87-44=43
Exploring Operation: 87+44=131, Resulting Numbers: [43, 131]
Generated Node #0,4,3: 86:[43, 131] Operation: 87+44=131
Exploring Operation: 44+43=87, Resulting Numbers: [87, 87]
Generated Node #0,4,4: 86:[87, 87] Operation: 44+43=87
Moving to Node #0,4,2
Current State: 86:[43, 43], Operations: ['55-12=43', '87-44=43']
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,86 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[87, 12, 55, 44], Operations: []
Exploring Operation: 55-12=43, Resulting Numbers: [87, 44, 43]
Generated Node #0,4: 86:[87, 44, 43] Operation: 55-12=43
Moving to Node #0,4
Current State: 86:[87, 44, 43], Operations: ['55-12=43']
Exploring Operation: 87-44=43, Resulting Numbers: [43, 43]
Generated Node #0,4,2: 86:[43, 43] Operation: 87-44=43
Moving to Node #0,4,2
Current State: 86:[43, 43], Operations: ['55-12=43', '87-44=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
40,
62,
46,
20
] | 14 | [
"40/20=2",
"62-46=16",
"16-2=14"
] | Current State: 14:[40, 62, 46, 20], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [62, 46, 2]
Generated Node #2: [62, 46, 2] from Operation: 40/20=2
Current State: 14:[62, 46, 2], Operations: ['40/20=2']
Exploring Operation: 62-46=16, Resulting Numbers: [2, 16]
Generated Node #3: [2, 16] from Operation: 62-46=16
Current State: 14:[2, 16], Operations: ['40/20=2', '62-46=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[40, 62, 46, 20], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [62, 46, 2]
Generated Node #0,0: 14:[62, 46, 2] Operation: 40/20=2
Exploring Operation: 62-40=22, Resulting Numbers: [46, 20, 22]
Generated Node #0,1: 14:[46, 20, 22] Operation: 62-40=22
Exploring Operation: 46-40=6, Resulting Numbers: [62, 20, 6]
Generated Node #0,2: 14:[62, 20, 6] Operation: 46-40=6
Exploring Operation: 62-46=16, Resulting Numbers: [40, 20, 16]
Generated Node #0,3: 14:[40, 20, 16] Operation: 62-46=16
Exploring Operation: 40-20=20, Resulting Numbers: [62, 46, 20]
Generated Node #0,4: 14:[62, 46, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[40, 20, 16], Operations: ['62-46=16']
Exploring Operation: 40/20=2, Resulting Numbers: [16, 2]
Generated Node #0,3,0: 14:[16, 2] Operation: 40/20=2
Exploring Operation: 20-16=4, Resulting Numbers: [40, 4]
Generated Node #0,3,1: 14:[40, 4] Operation: 20-16=4
Exploring Operation: 40-16=24, Resulting Numbers: [20, 24]
Generated Node #0,3,2: 14:[20, 24] Operation: 40-16=24
Exploring Operation: 40+20=60, Resulting Numbers: [16, 60]
Generated Node #0,3,3: 14:[16, 60] Operation: 40+20=60
Exploring Operation: 40-20=20, Resulting Numbers: [16, 20]
Generated Node #0,3,4: 14:[16, 20] Operation: 40-20=20
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[16, 2], Operations: ['62-46=16', '40/20=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[40, 62, 46, 20], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [40, 20, 16]
Generated Node #0,3: 14:[40, 20, 16] Operation: 62-46=16
Moving to Node #0,3
Current State: 14:[40, 20, 16], Operations: ['62-46=16']
Exploring Operation: 40/20=2, Resulting Numbers: [16, 2]
Generated Node #0,3,0: 14:[16, 2] Operation: 40/20=2
Moving to Node #0,3,0
Current State: 14:[16, 2], Operations: ['62-46=16', '40/20=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
33,
62,
30,
98
] | 99 | [
"62-33=29",
"30+98=128",
"128-29=99"
] | Current State: 99:[33, 62, 30, 98], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [30, 98, 29]
Generated Node #2: [30, 98, 29] from Operation: 62-33=29
Current State: 99:[30, 98, 29], Operations: ['62-33=29']
Exploring Operation: 30+98=128, Resulting Numbers: [29, 128]
Generated Node #3: [29, 128] from Operation: 30+98=128
Current State: 99:[29, 128], Operations: ['62-33=29', '30+98=128']
Exploring Operation: 128-29=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[33, 62, 30, 98], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [33, 98, 32]
Generated Node #0,0: 99:[33, 98, 32] Operation: 62-30=32
Exploring Operation: 98-62=36, Resulting Numbers: [33, 30, 36]
Generated Node #0,1: 99:[33, 30, 36] Operation: 98-62=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[33, 98, 32], Operations: ['62-30=32']
Exploring Operation: 98+32=130, Resulting Numbers: [33, 130]
Generated Node #0,0,0: 99:[33, 130] Operation: 98+32=130
Exploring Operation: 33-32=1, Resulting Numbers: [98, 1]
Generated Node #0,0,1: 99:[98, 1] Operation: 33-32=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[98, 1], Operations: ['62-30=32', '33-32=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[33, 62, 30, 98], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [33, 98, 32]
Generated Node #0,0: 99:[33, 98, 32] Operation: 62-30=32
Moving to Node #0,0
Current State: 99:[33, 98, 32], Operations: ['62-30=32']
Exploring Operation: 33-32=1, Resulting Numbers: [98, 1]
Generated Node #0,0,1: 99:[98, 1] Operation: 33-32=1
Moving to Node #0,0,1
Current State: 99:[98, 1], Operations: ['62-30=32', '33-32=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
11,
9,
22,
19
] | 26 | [
"22/11=2",
"9+19=28",
"28-2=26"
] | Current State: 26:[11, 9, 22, 19], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [9, 19, 2]
Generated Node #2: [9, 19, 2] from Operation: 22/11=2
Current State: 26:[9, 19, 2], Operations: ['22/11=2']
Exploring Operation: 9+19=28, Resulting Numbers: [2, 28]
Generated Node #3: [2, 28] from Operation: 9+19=28
Current State: 26:[2, 28], Operations: ['22/11=2', '9+19=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[11, 9, 22, 19], Operations: []
Exploring Operation: 9+19=28, Resulting Numbers: [11, 22, 28]
Generated Node #0,0: 26:[11, 22, 28] Operation: 9+19=28
Exploring Operation: 22-19=3, Resulting Numbers: [11, 9, 3]
Generated Node #0,1: 26:[11, 9, 3] Operation: 22-19=3
Exploring Operation: 22-9=13, Resulting Numbers: [11, 19, 13]
Generated Node #0,2: 26:[11, 19, 13] Operation: 22-9=13
Moving to Node #0,1
Current State: 26:[11, 9, 3], Operations: ['22-19=3']
Exploring Operation: 9+3=12, Resulting Numbers: [11, 12]
Generated Node #0,1,0: 26:[11, 12] Operation: 9+3=12
Exploring Operation: 9*3=27, Resulting Numbers: [11, 27]
Generated Node #0,1,1: 26:[11, 27] Operation: 9*3=27
Exploring Operation: 11-9=2, Resulting Numbers: [3, 2]
Generated Node #0,1,2: 26:[3, 2] Operation: 11-9=2
Moving to Node #0,0
Current State: 26:[11, 22, 28], Operations: ['9+19=28']
Exploring Operation: 22/11=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 26:[28, 2] Operation: 22/11=2
Exploring Operation: 28-22=6, Resulting Numbers: [11, 6]
Generated Node #0,0,1: 26:[11, 6] Operation: 28-22=6
Exploring Operation: 22-11=11, Resulting Numbers: [28, 11]
Generated Node #0,0,2: 26:[28, 11] Operation: 22-11=11
Moving to Node #0,2
Current State: 26:[11, 19, 13], Operations: ['22-9=13']
Exploring Operation: 13-11=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 26:[19, 2] Operation: 13-11=2
Exploring Operation: 11+19=30, Resulting Numbers: [13, 30]
Generated Node #0,2,1: 26:[13, 30] Operation: 11+19=30
Exploring Operation: 19-11=8, Resulting Numbers: [13, 8]
Generated Node #0,2,2: 26:[13, 8] Operation: 19-11=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[13, 30], Operations: ['22-9=13', '11+19=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,26 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[13, 8], Operations: ['22-9=13', '19-11=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,26 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[19, 2], Operations: ['22-9=13', '13-11=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 26:[3, 2], Operations: ['22-19=3', '11-9=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[28, 2], Operations: ['9+19=28', '22/11=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[11, 9, 22, 19], Operations: []
Exploring Operation: 9+19=28, Resulting Numbers: [11, 22, 28]
Generated Node #0,0: 26:[11, 22, 28] Operation: 9+19=28
Moving to Node #0,0
Current State: 26:[11, 22, 28], Operations: ['9+19=28']
Exploring Operation: 22/11=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 26:[28, 2] Operation: 22/11=2
Moving to Node #0,0,0
Current State: 26:[28, 2], Operations: ['9+19=28', '22/11=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
12,
91,
49,
65
] | 95 | [
"91-12=79",
"65-49=16",
"79+16=95"
] | Current State: 95:[12, 91, 49, 65], Operations: []
Exploring Operation: 91-12=79, Resulting Numbers: [49, 65, 79]
Generated Node #2: [49, 65, 79] from Operation: 91-12=79
Current State: 95:[49, 65, 79], Operations: ['91-12=79']
Exploring Operation: 65-49=16, Resulting Numbers: [79, 16]
Generated Node #3: [79, 16] from Operation: 65-49=16
Current State: 95:[79, 16], Operations: ['91-12=79', '65-49=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[12, 91, 49, 65], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [12, 49, 26]
Generated Node #0,0: 95:[12, 49, 26] Operation: 91-65=26
Exploring Operation: 12+65=77, Resulting Numbers: [91, 49, 77]
Generated Node #0,1: 95:[91, 49, 77] Operation: 12+65=77
Exploring Operation: 49-12=37, Resulting Numbers: [91, 65, 37]
Generated Node #0,2: 95:[91, 65, 37] Operation: 49-12=37
Exploring Operation: 49+65=114, Resulting Numbers: [12, 91, 114]
Generated Node #0,3: 95:[12, 91, 114] Operation: 49+65=114
Exploring Operation: 65-49=16, Resulting Numbers: [12, 91, 16]
Generated Node #0,4: 95:[12, 91, 16] Operation: 65-49=16
Moving to Node #0,4
Current State: 95:[12, 91, 16], Operations: ['65-49=16']
Exploring Operation: 91-12=79, Resulting Numbers: [16, 79]
Generated Node #0,4,0: 95:[16, 79] Operation: 91-12=79
Exploring Operation: 91+16=107, Resulting Numbers: [12, 107]
Generated Node #0,4,1: 95:[12, 107] Operation: 91+16=107
Exploring Operation: 16-12=4, Resulting Numbers: [91, 4]
Generated Node #0,4,2: 95:[91, 4] Operation: 16-12=4
Exploring Operation: 12+16=28, Resulting Numbers: [91, 28]
Generated Node #0,4,3: 95:[91, 28] Operation: 12+16=28
Exploring Operation: 12+91=103, Resulting Numbers: [16, 103]
Generated Node #0,4,4: 95:[16, 103] Operation: 12+91=103
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 95:[91, 4], Operations: ['65-49=16', '16-12=4']
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,95 unequal: No Solution
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[12, 91, 49, 65], Operations: []
Exploring Operation: 65-49=16, Resulting Numbers: [12, 91, 16]
Generated Node #0,4: 95:[12, 91, 16] Operation: 65-49=16
Moving to Node #0,4
Current State: 95:[12, 91, 16], Operations: ['65-49=16']
Exploring Operation: 16-12=4, Resulting Numbers: [91, 4]
Generated Node #0,4,2: 95:[91, 4] Operation: 16-12=4
Moving to Node #0,4,2
Current State: 95:[91, 4], Operations: ['65-49=16', '16-12=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
96,
16,
30,
6
] | 30 | [
"96/16=6",
"30+6=36",
"36-6=30"
] | Current State: 30:[96, 16, 30, 6], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [30, 6, 6]
Generated Node #2: [30, 6, 6] from Operation: 96/16=6
Current State: 30:[30, 6, 6], Operations: ['96/16=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,30 equal: Goal Reached
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[96, 16, 30, 6], Operations: []
Exploring Operation: 96-16=80, Resulting Numbers: [30, 6, 80]
Generated Node #0,0: 30:[30, 6, 80] Operation: 96-16=80
Exploring Operation: 96/16=6, Resulting Numbers: [30, 6, 6]
Generated Node #0,1: 30:[30, 6, 6] Operation: 96/16=6
Exploring Operation: 96/6=16, Resulting Numbers: [16, 30, 16]
Generated Node #0,2: 30:[16, 30, 16] Operation: 96/6=16
Exploring Operation: 96-30=66, Resulting Numbers: [16, 6, 66]
Generated Node #0,3: 30:[16, 6, 66] Operation: 96-30=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[30, 6, 6], Operations: ['96/16=6']
Exploring Operation: 6+6=12, Resulting Numbers: [30, 12]
Generated Node #0,1,0: 30:[30, 12] Operation: 6+6=12
Exploring Operation: 30/6=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 30:[6, 5] Operation: 30/6=5
Exploring Operation: 6/6=1, Resulting Numbers: [30, 1]
Generated Node #0,1,2: 30:[30, 1] Operation: 6/6=1
Exploring Operation: 30/6=5, Resulting Numbers: [6, 5]
Generated Node #0,1,3: 30:[6, 5] Operation: 30/6=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[6, 5], Operations: ['96/16=6', '30/6=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[96, 16, 30, 6], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [30, 6, 6]
Generated Node #0,1: 30:[30, 6, 6] Operation: 96/16=6
Moving to Node #0,1
Current State: 30:[30, 6, 6], Operations: ['96/16=6']
Exploring Operation: 30/6=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 30:[6, 5] Operation: 30/6=5
Moving to Node #0,1,1
Current State: 30:[6, 5], Operations: ['96/16=6', '30/6=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
83,
78,
5,
93
] | 28 | [
"93-83=10",
"5*10=50",
"78-50=28"
] | Current State: 28:[83, 78, 5, 93], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [78, 5, 10]
Generated Node #2: [78, 5, 10] from Operation: 93-83=10
Current State: 28:[78, 5, 10], Operations: ['93-83=10']
Exploring Operation: 5*10=50, Resulting Numbers: [78, 50]
Generated Node #3: [78, 50] from Operation: 5*10=50
Current State: 28:[78, 50], Operations: ['93-83=10', '5*10=50']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[83, 78, 5, 93], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [83, 5, 15]
Generated Node #0,0: 28:[83, 5, 15] Operation: 93-78=15
Exploring Operation: 93-83=10, Resulting Numbers: [78, 5, 10]
Generated Node #0,1: 28:[78, 5, 10] Operation: 93-83=10
Exploring Operation: 83-78=5, Resulting Numbers: [5, 93, 5]
Generated Node #0,2: 28:[5, 93, 5] Operation: 83-78=5
Moving to Node #0,1
Current State: 28:[78, 5, 10], Operations: ['93-83=10']
Exploring Operation: 10/5=2, Resulting Numbers: [78, 2]
Generated Node #0,1,0: 28:[78, 2] Operation: 10/5=2
Exploring Operation: 78-5=73, Resulting Numbers: [10, 73]
Generated Node #0,1,1: 28:[10, 73] Operation: 78-5=73
Exploring Operation: 78-10=68, Resulting Numbers: [5, 68]
Generated Node #0,1,2: 28:[5, 68] Operation: 78-10=68
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[5, 68], Operations: ['93-83=10', '78-10=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[10, 73], Operations: ['93-83=10', '78-5=73']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,28 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[78, 2], Operations: ['93-83=10', '10/5=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,28 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[83, 5, 15], Operations: ['93-78=15']
Exploring Operation: 15/5=3, Resulting Numbers: [83, 3]
Generated Node #0,0,0: 28:[83, 3] Operation: 15/5=3
Exploring Operation: 83-15=68, Resulting Numbers: [5, 68]
Generated Node #0,0,1: 28:[5, 68] Operation: 83-15=68
Exploring Operation: 83-5=78, Resulting Numbers: [15, 78]
Generated Node #0,0,2: 28:[15, 78] Operation: 83-5=78
Moving to Node #0,2
Current State: 28:[5, 93, 5], Operations: ['83-78=5']
Exploring Operation: 93-5=88, Resulting Numbers: [5, 88]
Generated Node #0,2,0: 28:[5, 88] Operation: 93-5=88
Exploring Operation: 93-5=88, Resulting Numbers: [5, 88]
Generated Node #0,2,1: 28:[5, 88] Operation: 93-5=88
Exploring Operation: 5/5=1, Resulting Numbers: [93, 1]
Generated Node #0,2,2: 28:[93, 1] Operation: 5/5=1
Moving to Node #0,0,1
Current State: 28:[5, 68], Operations: ['93-78=15', '83-15=68']
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,28 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[15, 78], Operations: ['93-78=15', '83-5=78']
Exploring Operation: 15*78=1170, Resulting Numbers: [1170]
1170,28 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 15+78=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[83, 3], Operations: ['93-78=15', '15/5=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,28 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[5, 88], Operations: ['83-78=5', '93-5=88']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,28 unequal: No Solution
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[5, 88], Operations: ['83-78=5', '93-5=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[93, 1], Operations: ['83-78=5', '5/5=1']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,28 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
74,
80,
18
] | 22 | [
"10+74=84",
"80-18=62",
"84-62=22"
] | Current State: 22:[10, 74, 80, 18], Operations: []
Exploring Operation: 10+74=84, Resulting Numbers: [80, 18, 84]
Generated Node #2: [80, 18, 84] from Operation: 10+74=84
Current State: 22:[80, 18, 84], Operations: ['10+74=84']
Exploring Operation: 80-18=62, Resulting Numbers: [84, 62]
Generated Node #3: [84, 62] from Operation: 80-18=62
Current State: 22:[84, 62], Operations: ['10+74=84', '80-18=62']
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[10, 74, 80, 18], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [10, 18, 6]
Generated Node #0,0: 22:[10, 18, 6] Operation: 80-74=6
Exploring Operation: 80/10=8, Resulting Numbers: [74, 18, 8]
Generated Node #0,1: 22:[74, 18, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[10, 18, 6], Operations: ['80-74=6']
Exploring Operation: 18-6=12, Resulting Numbers: [10, 12]
Generated Node #0,0,0: 22:[10, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [10, 3]
Generated Node #0,0,1: 22:[10, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 22:[10, 12], Operations: ['80-74=6', '18-6=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[10, 74, 80, 18], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [10, 18, 6]
Generated Node #0,0: 22:[10, 18, 6] Operation: 80-74=6
Moving to Node #0,0
Current State: 22:[10, 18, 6], Operations: ['80-74=6']
Exploring Operation: 18-6=12, Resulting Numbers: [10, 12]
Generated Node #0,0,0: 22:[10, 12] Operation: 18-6=12
Moving to Node #0,0,0
Current State: 22:[10, 12], Operations: ['80-74=6', '18-6=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
85,
94,
53,
28
] | 72 | [
"94-85=9",
"53+28=81",
"81-9=72"
] | Current State: 72:[85, 94, 53, 28], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [53, 28, 9]
Generated Node #2: [53, 28, 9] from Operation: 94-85=9
Current State: 72:[53, 28, 9], Operations: ['94-85=9']
Exploring Operation: 53+28=81, Resulting Numbers: [9, 81]
Generated Node #3: [9, 81] from Operation: 53+28=81
Current State: 72:[9, 81], Operations: ['94-85=9', '53+28=81']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[85, 94, 53, 28], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [85, 28, 41]
Generated Node #0,0: 72:[85, 28, 41] Operation: 94-53=41
Exploring Operation: 53-28=25, Resulting Numbers: [85, 94, 25]
Generated Node #0,1: 72:[85, 94, 25] Operation: 53-28=25
Exploring Operation: 94-85=9, Resulting Numbers: [53, 28, 9]
Generated Node #0,2: 72:[53, 28, 9] Operation: 94-85=9
Exploring Operation: 94-28=66, Resulting Numbers: [85, 53, 66]
Generated Node #0,3: 72:[85, 53, 66] Operation: 94-28=66
Exploring Operation: 85-53=32, Resulting Numbers: [94, 28, 32]
Generated Node #0,4: 72:[94, 28, 32] Operation: 85-53=32
Moving to Node #0,2
Current State: 72:[53, 28, 9], Operations: ['94-85=9']
Exploring Operation: 53+28=81, Resulting Numbers: [9, 81]
Generated Node #0,2,0: 72:[9, 81] Operation: 53+28=81
Exploring Operation: 53-9=44, Resulting Numbers: [28, 44]
Generated Node #0,2,1: 72:[28, 44] Operation: 53-9=44
Exploring Operation: 28+9=37, Resulting Numbers: [53, 37]
Generated Node #0,2,2: 72:[53, 37] Operation: 28+9=37
Exploring Operation: 53+9=62, Resulting Numbers: [28, 62]
Generated Node #0,2,3: 72:[28, 62] Operation: 53+9=62
Exploring Operation: 53-28=25, Resulting Numbers: [9, 25]
Generated Node #0,2,4: 72:[9, 25] Operation: 53-28=25
Moving to Node #0,0
Current State: 72:[85, 28, 41], Operations: ['94-53=41']
Exploring Operation: 85-28=57, Resulting Numbers: [41, 57]
Generated Node #0,0,0: 72:[41, 57] Operation: 85-28=57
Exploring Operation: 85+28=113, Resulting Numbers: [41, 113]
Generated Node #0,0,1: 72:[41, 113] Operation: 85+28=113
Exploring Operation: 41-28=13, Resulting Numbers: [85, 13]
Generated Node #0,0,2: 72:[85, 13] Operation: 41-28=13
Exploring Operation: 85-41=44, Resulting Numbers: [28, 44]
Generated Node #0,0,3: 72:[28, 44] Operation: 85-41=44
Exploring Operation: 28+41=69, Resulting Numbers: [85, 69]
Generated Node #0,0,4: 72:[85, 69] Operation: 28+41=69
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[28, 44], Operations: ['94-53=41', '85-41=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,72 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[85, 94, 53, 28], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [85, 28, 41]
Generated Node #0,0: 72:[85, 28, 41] Operation: 94-53=41
Moving to Node #0,0
Current State: 72:[85, 28, 41], Operations: ['94-53=41']
Exploring Operation: 85-41=44, Resulting Numbers: [28, 44]
Generated Node #0,0,3: 72:[28, 44] Operation: 85-41=44
Moving to Node #0,0,3
Current State: 72:[28, 44], Operations: ['94-53=41', '85-41=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
69,
58,
38,
11
] | 38 | [
"69-58=11",
"38+11=49",
"49-11=38"
] | Current State: 38:[69, 58, 38, 11], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [38, 11, 11]
Generated Node #2: [38, 11, 11] from Operation: 69-58=11
Current State: 38:[38, 11, 11], Operations: ['69-58=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,38 equal: Goal Reached
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[69, 58, 38, 11], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [38, 11, 11]
Generated Node #0,0: 38:[38, 11, 11] Operation: 69-58=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[38, 11, 11], Operations: ['69-58=11']
Exploring Operation: 11/11=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 11/11=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['69-58=11', '11/11=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[69, 58, 38, 11], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [38, 11, 11]
Generated Node #0,0: 38:[38, 11, 11] Operation: 69-58=11
Moving to Node #0,0
Current State: 38:[38, 11, 11], Operations: ['69-58=11']
Exploring Operation: 11/11=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 11/11=1
Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['69-58=11', '11/11=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
17,
21,
38,
80
] | 80 | [
"17+21=38",
"38+80=118",
"118-38=80"
] | Current State: 80:[17, 21, 38, 80], Operations: []
Exploring Operation: 17+21=38, Resulting Numbers: [38, 80, 38]
Generated Node #2: [38, 80, 38] from Operation: 17+21=38
Current State: 80:[38, 80, 38], Operations: ['17+21=38']
Exploring Operation: 38+80=118, Resulting Numbers: [118]
118,80 equal: Goal Reached
Exploring Operation: 118-38=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[17, 21, 38, 80], Operations: []
Exploring Operation: 38-17=21, Resulting Numbers: [21, 80, 21]
Generated Node #0,0: 80:[21, 80, 21] Operation: 38-17=21
Exploring Operation: 21-17=4, Resulting Numbers: [38, 80, 4]
Generated Node #0,1: 80:[38, 80, 4] Operation: 21-17=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[21, 80, 21], Operations: ['38-17=21']
Exploring Operation: 21/21=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 80:[80, 1] Operation: 21/21=1
Exploring Operation: 21+21=42, Resulting Numbers: [80, 42]
Generated Node #0,0,1: 80:[80, 42] Operation: 21+21=42
Moving to Node #0,0,0
Current State: 80:[80, 1], Operations: ['38-17=21', '21/21=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[17, 21, 38, 80], Operations: []
Exploring Operation: 38-17=21, Resulting Numbers: [21, 80, 21]
Generated Node #0,0: 80:[21, 80, 21] Operation: 38-17=21
Moving to Node #0,0
Current State: 80:[21, 80, 21], Operations: ['38-17=21']
Exploring Operation: 21/21=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 80:[80, 1] Operation: 21/21=1
Moving to Node #0,0,0
Current State: 80:[80, 1], Operations: ['38-17=21', '21/21=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
8,
44,
2,
64
] | 40 | [
"8+44=52",
"2*52=104",
"104-64=40"
] | Current State: 40:[8, 44, 2, 64], Operations: []
Exploring Operation: 8+44=52, Resulting Numbers: [2, 64, 52]
Generated Node #2: [2, 64, 52] from Operation: 8+44=52
Current State: 40:[2, 64, 52], Operations: ['8+44=52']
Exploring Operation: 2*52=104, Resulting Numbers: [64, 104]
Generated Node #3: [64, 104] from Operation: 2*52=104
Current State: 40:[64, 104], Operations: ['8+44=52', '2*52=104']
Exploring Operation: 104-64=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[8, 44, 2, 64], Operations: []
Exploring Operation: 64-8=56, Resulting Numbers: [44, 2, 56]
Generated Node #0,0: 40:[44, 2, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [44, 2, 8]
Generated Node #0,1: 40:[44, 2, 8] Operation: 64/8=8
Exploring Operation: 64-44=20, Resulting Numbers: [8, 2, 20]
Generated Node #0,2: 40:[8, 2, 20] Operation: 64-44=20
Exploring Operation: 64/2=32, Resulting Numbers: [8, 44, 32]
Generated Node #0,3: 40:[8, 44, 32] Operation: 64/2=32
Moving to Node #0,2
Current State: 40:[8, 2, 20], Operations: ['64-44=20']
Exploring Operation: 8/2=4, Resulting Numbers: [20, 4]
Generated Node #0,2,0: 40:[20, 4] Operation: 8/2=4
Exploring Operation: 2*20=40, Resulting Numbers: [8, 40]
Generated Node #0,2,1: 40:[8, 40] Operation: 2*20=40
Exploring Operation: 20/2=10, Resulting Numbers: [8, 10]
Generated Node #0,2,2: 40:[8, 10] Operation: 20/2=10
Exploring Operation: 8+2=10, Resulting Numbers: [20, 10]
Generated Node #0,2,3: 40:[20, 10] Operation: 8+2=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[20, 4], Operations: ['64-44=20', '8/2=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[8, 40], Operations: ['64-44=20', '2*20=40']
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,40 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[8, 10], Operations: ['64-44=20', '20/2=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[20, 10], Operations: ['64-44=20', '8+2=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,40 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 40:[44, 2, 8], Operations: ['64/8=8']
Exploring Operation: 44/2=22, Resulting Numbers: [8, 22]
Generated Node #0,1,0: 40:[8, 22] Operation: 44/2=22
Exploring Operation: 2+8=10, Resulting Numbers: [44, 10]
Generated Node #0,1,1: 40:[44, 10] Operation: 2+8=10
Exploring Operation: 44-2=42, Resulting Numbers: [8, 42]
Generated Node #0,1,2: 40:[8, 42] Operation: 44-2=42
Exploring Operation: 44-8=36, Resulting Numbers: [2, 36]
Generated Node #0,1,3: 40:[2, 36] Operation: 44-8=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[8, 22], Operations: ['64/8=8', '44/2=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,40 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[8, 42], Operations: ['64/8=8', '44-2=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,40 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[44, 10], Operations: ['64/8=8', '2+8=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,40 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[2, 36], Operations: ['64/8=8', '44-8=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 40:[8, 44, 32], Operations: ['64/2=32']
Exploring Operation: 8+32=40, Resulting Numbers: [44, 40]
Generated Node #0,3,0: 40:[44, 40] Operation: 8+32=40
Exploring Operation: 32-8=24, Resulting Numbers: [44, 24]
Generated Node #0,3,1: 40:[44, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [44, 4]
Generated Node #0,3,2: 40:[44, 4] Operation: 32/8=4
Exploring Operation: 44-32=12, Resulting Numbers: [8, 12]
Generated Node #0,3,3: 40:[8, 12] Operation: 44-32=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 40:[8, 12], Operations: ['64/2=32', '44-32=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,40 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[44, 40], Operations: ['64/2=32', '8+32=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,40 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[44, 4], Operations: ['64/2=32', '32/8=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[8, 44, 2, 64], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [8, 44, 32]
Generated Node #0,3: 40:[8, 44, 32] Operation: 64/2=32
Moving to Node #0,3
Current State: 40:[8, 44, 32], Operations: ['64/2=32']
Exploring Operation: 32/8=4, Resulting Numbers: [44, 4]
Generated Node #0,3,2: 40:[44, 4] Operation: 32/8=4
Moving to Node #0,3,2
Current State: 40:[44, 4], Operations: ['64/2=32', '32/8=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_4 | mult_heuristic |
[
47,
82,
82,
20
] | 28 | [
"47-20=27",
"82/82=1",
"27+1=28"
] | Current State: 28:[47, 82, 82, 20], Operations: []
Exploring Operation: 47-20=27, Resulting Numbers: [82, 82, 27]
Generated Node #2: [82, 82, 27] from Operation: 47-20=27
Current State: 28:[82, 82, 27], Operations: ['47-20=27']
Exploring Operation: 82/82=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 82/82=1
Current State: 28:[27, 1], Operations: ['47-20=27', '82/82=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[47, 82, 82, 20], Operations: []
Exploring Operation: 82-82=0, Resulting Numbers: [47, 20, 0]
Generated Node #0,0: 28:[47, 20, 0] Operation: 82-82=0
Exploring Operation: 82/82=1, Resulting Numbers: [47, 20, 1]
Generated Node #0,1: 28:[47, 20, 1] Operation: 82/82=1
Exploring Operation: 82-47=35, Resulting Numbers: [82, 20, 35]
Generated Node #0,2: 28:[82, 20, 35] Operation: 82-47=35
Exploring Operation: 82-47=35, Resulting Numbers: [82, 20, 35]
Generated Node #0,3: 28:[82, 20, 35] Operation: 82-47=35
Moving to Node #0,1
Current State: 28:[47, 20, 1], Operations: ['82/82=1']
Exploring Operation: 47-20=27, Resulting Numbers: [1, 27]
Generated Node #0,1,0: 28:[1, 27] Operation: 47-20=27
Exploring Operation: 20-1=19, Resulting Numbers: [47, 19]
Generated Node #0,1,1: 28:[47, 19] Operation: 20-1=19
Exploring Operation: 47*1=47, Resulting Numbers: [20, 47]
Generated Node #0,1,2: 28:[20, 47] Operation: 47*1=47
Exploring Operation: 47-1=46, Resulting Numbers: [20, 46]
Generated Node #0,1,3: 28:[20, 46] Operation: 47-1=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[1, 27], Operations: ['82/82=1', '47-20=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[47, 82, 82, 20], Operations: []
Exploring Operation: 82/82=1, Resulting Numbers: [47, 20, 1]
Generated Node #0,1: 28:[47, 20, 1] Operation: 82/82=1
Moving to Node #0,1
Current State: 28:[47, 20, 1], Operations: ['82/82=1']
Exploring Operation: 47-20=27, Resulting Numbers: [1, 27]
Generated Node #0,1,0: 28:[1, 27] Operation: 47-20=27
Moving to Node #0,1,0
Current State: 28:[1, 27], Operations: ['82/82=1', '47-20=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
20,
80,
72,
23
] | 76 | [
"20+72=92",
"92/23=4",
"80-4=76"
] | Current State: 76:[20, 80, 72, 23], Operations: []
Exploring Operation: 20+72=92, Resulting Numbers: [80, 23, 92]
Generated Node #2: [80, 23, 92] from Operation: 20+72=92
Current State: 76:[80, 23, 92], Operations: ['20+72=92']
Exploring Operation: 92/23=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 92/23=4
Current State: 76:[80, 4], Operations: ['20+72=92', '92/23=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[20, 80, 72, 23], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [72, 23, 4]
Generated Node #0,0: 76:[72, 23, 4] Operation: 80/20=4
Exploring Operation: 23-20=3, Resulting Numbers: [80, 72, 3]
Generated Node #0,1: 76:[80, 72, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[72, 23, 4], Operations: ['80/20=4']
Exploring Operation: 72+4=76, Resulting Numbers: [23, 76]
Generated Node #0,0,0: 76:[23, 76] Operation: 72+4=76
Exploring Operation: 23-4=19, Resulting Numbers: [72, 19]
Generated Node #0,0,1: 76:[72, 19] Operation: 23-4=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[23, 76], Operations: ['80/20=4', '72+4=76']
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,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:[72, 19], Operations: ['80/20=4', '23-4=19']
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,76 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,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:[80, 72, 3], Operations: ['23-20=3']
Exploring Operation: 80-3=77, Resulting Numbers: [72, 77]
Generated Node #0,1,0: 76:[72, 77] Operation: 80-3=77
Exploring Operation: 80-72=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 76:[3, 8] Operation: 80-72=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[72, 77], Operations: ['23-20=3', '80-3=77']
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 72+77=149, Resulting Numbers: [149]
149,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,1,1
Current State: 76:[3, 8], Operations: ['23-20=3', '80-72=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,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_2 | mult_heuristic |
[
82,
55,
91,
29
] | 89 | [
"82-55=27",
"91-29=62",
"27+62=89"
] | Current State: 89:[82, 55, 91, 29], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [91, 29, 27]
Generated Node #2: [91, 29, 27] from Operation: 82-55=27
Current State: 89:[91, 29, 27], Operations: ['82-55=27']
Exploring Operation: 91-29=62, Resulting Numbers: [27, 62]
Generated Node #3: [27, 62] from Operation: 91-29=62
Current State: 89:[27, 62], Operations: ['82-55=27', '91-29=62']
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[82, 55, 91, 29], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [55, 91, 53]
Generated Node #0,0: 89:[55, 91, 53] Operation: 82-29=53
Exploring Operation: 82+29=111, Resulting Numbers: [55, 91, 111]
Generated Node #0,1: 89:[55, 91, 111] Operation: 82+29=111
Exploring Operation: 91-29=62, Resulting Numbers: [82, 55, 62]
Generated Node #0,2: 89:[82, 55, 62] Operation: 91-29=62
Exploring Operation: 55+29=84, Resulting Numbers: [82, 91, 84]
Generated Node #0,3: 89:[82, 91, 84] Operation: 55+29=84
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[82, 91, 84], Operations: ['55+29=84']
Exploring Operation: 82+91=173, Resulting Numbers: [84, 173]
Generated Node #0,3,0: 89:[84, 173] Operation: 82+91=173
Exploring Operation: 84-82=2, Resulting Numbers: [91, 2]
Generated Node #0,3,1: 89:[91, 2] Operation: 84-82=2
Exploring Operation: 91-82=9, Resulting Numbers: [84, 9]
Generated Node #0,3,2: 89:[84, 9] Operation: 91-82=9
Exploring Operation: 82+84=166, Resulting Numbers: [91, 166]
Generated Node #0,3,3: 89:[91, 166] Operation: 82+84=166
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[91, 166], Operations: ['55+29=84', '82+84=166']
Exploring Operation: 91*166=15106, Resulting Numbers: [15106]
15106,89 unequal: No Solution
Exploring Operation: 166-91=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 91+166=257, Resulting Numbers: [257]
257,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[84, 9], Operations: ['55+29=84', '91-82=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,89 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[84, 173], Operations: ['55+29=84', '82+91=173']
Exploring Operation: 173-84=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[82, 55, 91, 29], Operations: []
Exploring Operation: 55+29=84, Resulting Numbers: [82, 91, 84]
Generated Node #0,3: 89:[82, 91, 84] Operation: 55+29=84
Moving to Node #0,3
Current State: 89:[82, 91, 84], Operations: ['55+29=84']
Exploring Operation: 82+91=173, Resulting Numbers: [84, 173]
Generated Node #0,3,0: 89:[84, 173] Operation: 82+91=173
Moving to Node #0,3,0
Current State: 89:[84, 173], Operations: ['55+29=84', '82+91=173']
Exploring Operation: 173-84=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
6,
49,
66,
2
] | 51 | [
"6/2=3",
"66-49=17",
"3*17=51"
] | Current State: 51:[6, 49, 66, 2], Operations: []
Exploring Operation: 6/2=3, Resulting Numbers: [49, 66, 3]
Generated Node #2: [49, 66, 3] from Operation: 6/2=3
Current State: 51:[49, 66, 3], Operations: ['6/2=3']
Exploring Operation: 66-49=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 66-49=17
Current State: 51:[3, 17], Operations: ['6/2=3', '66-49=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[6, 49, 66, 2], Operations: []
Exploring Operation: 66-49=17, Resulting Numbers: [6, 2, 17]
Generated Node #0,0: 51:[6, 2, 17] Operation: 66-49=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[6, 2, 17], Operations: ['66-49=17']
Exploring Operation: 6/2=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 51:[17, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[17, 3], Operations: ['66-49=17', '6/2=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[6, 49, 66, 2], Operations: []
Exploring Operation: 66-49=17, Resulting Numbers: [6, 2, 17]
Generated Node #0,0: 51:[6, 2, 17] Operation: 66-49=17
Moving to Node #0,0
Current State: 51:[6, 2, 17], Operations: ['66-49=17']
Exploring Operation: 6/2=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 51:[17, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 51:[17, 3], Operations: ['66-49=17', '6/2=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
12,
26,
1,
43
] | 80 | [
"12+26=38",
"43-1=42",
"38+42=80"
] | Current State: 80:[12, 26, 1, 43], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [1, 43, 38]
Generated Node #2: [1, 43, 38] from Operation: 12+26=38
Current State: 80:[1, 43, 38], Operations: ['12+26=38']
Exploring Operation: 43-1=42, Resulting Numbers: [38, 42]
Generated Node #3: [38, 42] from Operation: 43-1=42
Current State: 80:[38, 42], Operations: ['12+26=38', '43-1=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[12, 26, 1, 43], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [1, 43, 38]
Generated Node #0,0: 80:[1, 43, 38] Operation: 12+26=38
Exploring Operation: 43-26=17, Resulting Numbers: [12, 1, 17]
Generated Node #0,1: 80:[12, 1, 17] Operation: 43-26=17
Exploring Operation: 26-1=25, Resulting Numbers: [12, 43, 25]
Generated Node #0,2: 80:[12, 43, 25] Operation: 26-1=25
Exploring Operation: 26-12=14, Resulting Numbers: [1, 43, 14]
Generated Node #0,3: 80:[1, 43, 14] Operation: 26-12=14
Exploring Operation: 12-1=11, Resulting Numbers: [26, 43, 11]
Generated Node #0,4: 80:[26, 43, 11] Operation: 12-1=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[12, 1, 17], Operations: ['43-26=17']
Exploring Operation: 12*1=12, Resulting Numbers: [17, 12]
Generated Node #0,1,0: 80:[17, 12] Operation: 12*1=12
Exploring Operation: 12-1=11, Resulting Numbers: [17, 11]
Generated Node #0,1,1: 80:[17, 11] Operation: 12-1=11
Exploring Operation: 12/1=12, Resulting Numbers: [17, 12]
Generated Node #0,1,2: 80:[17, 12] Operation: 12/1=12
Exploring Operation: 17-1=16, Resulting Numbers: [12, 16]
Generated Node #0,1,3: 80:[12, 16] Operation: 17-1=16
Exploring Operation: 17-12=5, Resulting Numbers: [1, 5]
Generated Node #0,1,4: 80:[1, 5] Operation: 17-12=5
Moving to Node #0,1,4
Current State: 80:[1, 5], Operations: ['43-26=17', '17-12=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[12, 16], Operations: ['43-26=17', '17-1=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[17, 11], Operations: ['43-26=17', '12-1=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,80 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[17, 12], Operations: ['43-26=17', '12*1=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,80 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[17, 12], Operations: ['43-26=17', '12/1=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,80 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[1, 43, 38], Operations: ['12+26=38']
Exploring Operation: 43-1=42, Resulting Numbers: [38, 42]
Generated Node #0,0,0: 80:[38, 42] Operation: 43-1=42
Exploring Operation: 1*43=43, Resulting Numbers: [38, 43]
Generated Node #0,0,1: 80:[38, 43] Operation: 1*43=43
Exploring Operation: 43+38=81, Resulting Numbers: [1, 81]
Generated Node #0,0,2: 80:[1, 81] Operation: 43+38=81
Exploring Operation: 1+38=39, Resulting Numbers: [43, 39]
Generated Node #0,0,3: 80:[43, 39] Operation: 1+38=39
Exploring Operation: 43-38=5, Resulting Numbers: [1, 5]
Generated Node #0,0,4: 80:[1, 5] Operation: 43-38=5
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 80:[1, 5], Operations: ['12+26=38', '43-38=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[1, 81], Operations: ['12+26=38', '43+38=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[12, 26, 1, 43], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [1, 43, 38]
Generated Node #0,0: 80:[1, 43, 38] Operation: 12+26=38
Moving to Node #0,0
Current State: 80:[1, 43, 38], Operations: ['12+26=38']
Exploring Operation: 43+38=81, Resulting Numbers: [1, 81]
Generated Node #0,0,2: 80:[1, 81] Operation: 43+38=81
Moving to Node #0,0,2
Current State: 80:[1, 81], Operations: ['12+26=38', '43+38=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
12,
62,
36,
6
] | 44 | [
"12+62=74",
"36-6=30",
"74-30=44"
] | Current State: 44:[12, 62, 36, 6], Operations: []
Exploring Operation: 12+62=74, Resulting Numbers: [36, 6, 74]
Generated Node #2: [36, 6, 74] from Operation: 12+62=74
Current State: 44:[36, 6, 74], Operations: ['12+62=74']
Exploring Operation: 36-6=30, Resulting Numbers: [74, 30]
Generated Node #3: [74, 30] from Operation: 36-6=30
Current State: 44:[74, 30], Operations: ['12+62=74', '36-6=30']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[12, 62, 36, 6], Operations: []
Exploring Operation: 62-12=50, Resulting Numbers: [36, 6, 50]
Generated Node #0,0: 44:[36, 6, 50] Operation: 62-12=50
Exploring Operation: 62-36=26, Resulting Numbers: [12, 6, 26]
Generated Node #0,1: 44:[12, 6, 26] Operation: 62-36=26
Exploring Operation: 36/12=3, Resulting Numbers: [62, 6, 3]
Generated Node #0,2: 44:[62, 6, 3] Operation: 36/12=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[12, 6, 26], Operations: ['62-36=26']
Exploring Operation: 26-6=20, Resulting Numbers: [12, 20]
Generated Node #0,1,0: 44:[12, 20] Operation: 26-6=20
Exploring Operation: 26-12=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 44:[6, 14] Operation: 26-12=14
Exploring Operation: 12/6=2, Resulting Numbers: [26, 2]
Generated Node #0,1,2: 44:[26, 2] Operation: 12/6=2
Moving to Node #0,1,0
Current State: 44:[12, 20], Operations: ['62-36=26', '26-6=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[26, 2], Operations: ['62-36=26', '12/6=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[6, 14], Operations: ['62-36=26', '26-12=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,44 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[36, 6, 50], Operations: ['62-12=50']
Exploring Operation: 36+6=42, Resulting Numbers: [50, 42]
Generated Node #0,0,0: 44:[50, 42] Operation: 36+6=42
Exploring Operation: 36/6=6, Resulting Numbers: [50, 6]
Generated Node #0,0,1: 44:[50, 6] Operation: 36/6=6
Exploring Operation: 50-36=14, Resulting Numbers: [6, 14]
Generated Node #0,0,2: 44:[6, 14] Operation: 50-36=14
Moving to Node #0,0,2
Current State: 44:[6, 14], Operations: ['62-12=50', '50-36=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,44 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[50, 42], Operations: ['62-12=50', '36+6=42']
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,44 unequal: No Solution
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[50, 6], Operations: ['62-12=50', '36/6=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,44 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[12, 62, 36, 6], Operations: []
Exploring Operation: 62-12=50, Resulting Numbers: [36, 6, 50]
Generated Node #0,0: 44:[36, 6, 50] Operation: 62-12=50
Moving to Node #0,0
Current State: 44:[36, 6, 50], Operations: ['62-12=50']
Exploring Operation: 36/6=6, Resulting Numbers: [50, 6]
Generated Node #0,0,1: 44:[50, 6] Operation: 36/6=6
Moving to Node #0,0,1
Current State: 44:[50, 6], Operations: ['62-12=50', '36/6=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
78,
49,
65,
37
] | 73 | [
"78-49=29",
"65+37=102",
"102-29=73"
] | Current State: 73:[78, 49, 65, 37], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [65, 37, 29]
Generated Node #2: [65, 37, 29] from Operation: 78-49=29
Current State: 73:[65, 37, 29], Operations: ['78-49=29']
Exploring Operation: 65+37=102, Resulting Numbers: [29, 102]
Generated Node #3: [29, 102] from Operation: 65+37=102
Current State: 73:[29, 102], Operations: ['78-49=29', '65+37=102']
Exploring Operation: 102-29=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[78, 49, 65, 37], Operations: []
Exploring Operation: 49+37=86, Resulting Numbers: [78, 65, 86]
Generated Node #0,0: 73:[78, 65, 86] Operation: 49+37=86
Moving to Node #0,0
Current State: 73:[78, 65, 86], Operations: ['49+37=86']
Exploring Operation: 86-65=21, Resulting Numbers: [78, 21]
Generated Node #0,0,0: 73:[78, 21] Operation: 86-65=21
Moving to Node #0,0,0
Current State: 73:[78, 21], Operations: ['49+37=86', '86-65=21']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,73 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
87,
56,
62
] | 84 | [
"42*62=2604",
"87-56=31",
"2604/31=84"
] | Current State: 84:[42, 87, 56, 62], Operations: []
Exploring Operation: 42*62=2604, Resulting Numbers: [87, 56, 2604]
Generated Node #2: [87, 56, 2604] from Operation: 42*62=2604
Current State: 84:[87, 56, 2604], Operations: ['42*62=2604']
Exploring Operation: 87-56=31, Resulting Numbers: [2604, 31]
Generated Node #3: [2604, 31] from Operation: 87-56=31
Current State: 84:[2604, 31], Operations: ['42*62=2604', '87-56=31']
Exploring Operation: 2604/31=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[42, 87, 56, 62], Operations: []
Exploring Operation: 62-42=20, Resulting Numbers: [87, 56, 20]
Generated Node #0,0: 84:[87, 56, 20] Operation: 62-42=20
Exploring Operation: 87-56=31, Resulting Numbers: [42, 62, 31]
Generated Node #0,1: 84:[42, 62, 31] Operation: 87-56=31
Exploring Operation: 62-56=6, Resulting Numbers: [42, 87, 6]
Generated Node #0,2: 84:[42, 87, 6] Operation: 62-56=6
Exploring Operation: 87-62=25, Resulting Numbers: [42, 56, 25]
Generated Node #0,3: 84:[42, 56, 25] Operation: 87-62=25
Exploring Operation: 56-42=14, Resulting Numbers: [87, 62, 14]
Generated Node #0,4: 84:[87, 62, 14] Operation: 56-42=14
Moving to Node #0,2
Current State: 84:[42, 87, 6], Operations: ['62-56=6']
Exploring Operation: 42-6=36, Resulting Numbers: [87, 36]
Generated Node #0,2,0: 84:[87, 36] Operation: 42-6=36
Exploring Operation: 42+6=48, Resulting Numbers: [87, 48]
Generated Node #0,2,1: 84:[87, 48] Operation: 42+6=48
Exploring Operation: 87-42=45, Resulting Numbers: [6, 45]
Generated Node #0,2,2: 84:[6, 45] Operation: 87-42=45
Exploring Operation: 42/6=7, Resulting Numbers: [87, 7]
Generated Node #0,2,3: 84:[87, 7] Operation: 42/6=7
Exploring Operation: 87-6=81, Resulting Numbers: [42, 81]
Generated Node #0,2,4: 84:[42, 81] Operation: 87-6=81
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[6, 45], Operations: ['62-56=6', '87-42=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[87, 7], Operations: ['62-56=6', '42/6=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[42, 81], Operations: ['62-56=6', '87-6=81']
Exploring Operation: 42+81=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 42*81=3402, Resulting Numbers: [3402]
3402,84 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[87, 36], Operations: ['62-56=6', '42-6=36']
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,84 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[87, 48], Operations: ['62-56=6', '42+6=48']
Exploring Operation: 87+48=135, Resulting Numbers: [135]
135,84 unequal: No Solution
Exploring Operation: 87*48=4176, Resulting Numbers: [4176]
4176,84 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 84:[42, 56, 25], Operations: ['87-62=25']
Exploring Operation: 56-25=31, Resulting Numbers: [42, 31]
Generated Node #0,3,0: 84:[42, 31] Operation: 56-25=31
Exploring Operation: 42-25=17, Resulting Numbers: [56, 17]
Generated Node #0,3,1: 84:[56, 17] Operation: 42-25=17
Exploring Operation: 42+56=98, Resulting Numbers: [25, 98]
Generated Node #0,3,2: 84:[25, 98] Operation: 42+56=98
Exploring Operation: 56-42=14, Resulting Numbers: [25, 14]
Generated Node #0,3,3: 84:[25, 14] Operation: 56-42=14
Exploring Operation: 56+25=81, Resulting Numbers: [42, 81]
Generated Node #0,3,4: 84:[42, 81] Operation: 56+25=81
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[42, 31], Operations: ['87-62=25', '56-25=31']
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,84 unequal: No Solution
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 84:[25, 14], Operations: ['87-62=25', '56-42=14']
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,84 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 84:[42, 81], Operations: ['87-62=25', '56+25=81']
Exploring Operation: 42*81=3402, Resulting Numbers: [3402]
3402,84 unequal: No Solution
Exploring Operation: 42+81=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[56, 17], Operations: ['87-62=25', '42-25=17']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,84 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,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,2
Current State: 84:[25, 98], Operations: ['87-62=25', '42+56=98']
Exploring Operation: 25*98=2450, Resulting Numbers: [2450]
2450,84 unequal: No Solution
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 25+98=123, Resulting Numbers: [123]
123,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 84:[87, 56, 20], Operations: ['62-42=20']
Exploring Operation: 87-56=31, Resulting Numbers: [20, 31]
Generated Node #0,0,0: 84:[20, 31] Operation: 87-56=31
Exploring Operation: 56-20=36, Resulting Numbers: [87, 36]
Generated Node #0,0,1: 84:[87, 36] Operation: 56-20=36
Exploring Operation: 87+20=107, Resulting Numbers: [56, 107]
Generated Node #0,0,2: 84:[56, 107] Operation: 87+20=107
Exploring Operation: 56+20=76, Resulting Numbers: [87, 76]
Generated Node #0,0,3: 84:[87, 76] Operation: 56+20=76
Exploring Operation: 87-20=67, Resulting Numbers: [56, 67]
Generated Node #0,0,4: 84:[56, 67] Operation: 87-20=67
Moving to Node #0,1
Current State: 84:[42, 62, 31], Operations: ['87-56=31']
Exploring Operation: 62-42=20, Resulting Numbers: [31, 20]
Generated Node #0,1,0: 84:[31, 20] Operation: 62-42=20
Exploring Operation: 42-31=11, Resulting Numbers: [62, 11]
Generated Node #0,1,1: 84:[62, 11] Operation: 42-31=11
Exploring Operation: 62/31=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 84:[42, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [42, 31]
Generated Node #0,1,3: 84:[42, 31] Operation: 62-31=31
Exploring Operation: 62+31=93, Resulting Numbers: [42, 93]
Generated Node #0,1,4: 84:[42, 93] Operation: 62+31=93
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[42, 2], Operations: ['87-56=31', '62/31=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[42, 87, 56, 62], Operations: []
Exploring Operation: 87-56=31, Resulting Numbers: [42, 62, 31]
Generated Node #0,1: 84:[42, 62, 31] Operation: 87-56=31
Moving to Node #0,1
Current State: 84:[42, 62, 31], Operations: ['87-56=31']
Exploring Operation: 62/31=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 84:[42, 2] Operation: 62/31=2
Moving to Node #0,1,2
Current State: 84:[42, 2], Operations: ['87-56=31', '62/31=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
12,
48,
7,
8
] | 61 | [
"12+48=60",
"8-7=1",
"60+1=61"
] | Current State: 61:[12, 48, 7, 8], Operations: []
Exploring Operation: 12+48=60, Resulting Numbers: [7, 8, 60]
Generated Node #2: [7, 8, 60] from Operation: 12+48=60
Current State: 61:[7, 8, 60], Operations: ['12+48=60']
Exploring Operation: 8-7=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 8-7=1
Current State: 61:[60, 1], Operations: ['12+48=60', '8-7=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[12, 48, 7, 8], Operations: []
Exploring Operation: 12*8=96, Resulting Numbers: [48, 7, 96]
Generated Node #0,0: 61:[48, 7, 96] Operation: 12*8=96
Exploring Operation: 7*8=56, Resulting Numbers: [12, 48, 56]
Generated Node #0,1: 61:[12, 48, 56] Operation: 7*8=56
Exploring Operation: 12+48=60, Resulting Numbers: [7, 8, 60]
Generated Node #0,2: 61:[7, 8, 60] Operation: 12+48=60
Exploring Operation: 12*7=84, Resulting Numbers: [48, 8, 84]
Generated Node #0,3: 61:[48, 8, 84] Operation: 12*7=84
Moving to Node #0,1
Current State: 61:[12, 48, 56], Operations: ['7*8=56']
Exploring Operation: 56-12=44, Resulting Numbers: [48, 44]
Generated Node #0,1,0: 61:[48, 44] Operation: 56-12=44
Exploring Operation: 48-12=36, Resulting Numbers: [56, 36]
Generated Node #0,1,1: 61:[56, 36] Operation: 48-12=36
Exploring Operation: 12+48=60, Resulting Numbers: [56, 60]
Generated Node #0,1,2: 61:[56, 60] Operation: 12+48=60
Exploring Operation: 12+56=68, Resulting Numbers: [48, 68]
Generated Node #0,1,3: 61:[48, 68] Operation: 12+56=68
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[56, 60], Operations: ['7*8=56', '12+48=60']
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,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,3
Current State: 61:[48, 68], Operations: ['7*8=56', '12+56=68']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[48, 44], Operations: ['7*8=56', '56-12=44']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,61 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[56, 36], Operations: ['7*8=56', '48-12=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,61 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,61 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: 61:[48, 8, 84], Operations: ['12*7=84']
Exploring Operation: 84-8=76, Resulting Numbers: [48, 76]
Generated Node #0,3,0: 61:[48, 76] Operation: 84-8=76
Exploring Operation: 48-8=40, Resulting Numbers: [84, 40]
Generated Node #0,3,1: 61:[84, 40] Operation: 48-8=40
Exploring Operation: 8+84=92, Resulting Numbers: [48, 92]
Generated Node #0,3,2: 61:[48, 92] Operation: 8+84=92
Exploring Operation: 48+8=56, Resulting Numbers: [84, 56]
Generated Node #0,3,3: 61:[84, 56] Operation: 48+8=56
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[48, 76], Operations: ['12*7=84', '84-8=76']
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,61 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,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,3,3
Current State: 61:[84, 56], Operations: ['12*7=84', '48+8=56']
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,61 unequal: No Solution
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,61 unequal: No Solution
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,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,3,1
Current State: 61:[84, 40], Operations: ['12*7=84', '48-8=40']
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,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,3,2
Current State: 61:[48, 92], Operations: ['12*7=84', '8+84=92']
Exploring Operation: 48*92=4416, Resulting Numbers: [4416]
4416,61 unequal: No Solution
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 48+92=140, Resulting Numbers: [140]
140,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 61:[48, 7, 96], Operations: ['12*8=96']
Exploring Operation: 96-7=89, Resulting Numbers: [48, 89]
Generated Node #0,0,0: 61:[48, 89] Operation: 96-7=89
Exploring Operation: 48+7=55, Resulting Numbers: [96, 55]
Generated Node #0,0,1: 61:[96, 55] Operation: 48+7=55
Exploring Operation: 7+96=103, Resulting Numbers: [48, 103]
Generated Node #0,0,2: 61:[48, 103] Operation: 7+96=103
Exploring Operation: 48-7=41, Resulting Numbers: [96, 41]
Generated Node #0,0,3: 61:[96, 41] Operation: 48-7=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[48, 89], Operations: ['12*8=96', '96-7=89']
Exploring Operation: 48*89=4272, Resulting Numbers: [4272]
4272,61 unequal: No Solution
Exploring Operation: 48+89=137, Resulting Numbers: [137]
137,61 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[96, 55], Operations: ['12*8=96', '48+7=55']
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 96*55=5280, Resulting Numbers: [5280]
5280,61 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[48, 103], Operations: ['12*8=96', '7+96=103']
Exploring Operation: 48*103=4944, Resulting Numbers: [4944]
4944,61 unequal: No Solution
Exploring Operation: 103-48=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 48+103=151, Resulting Numbers: [151]
151,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[96, 41], Operations: ['12*8=96', '48-7=41']
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,61 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[7, 8, 60], Operations: ['12+48=60']
Exploring Operation: 7+8=15, Resulting Numbers: [60, 15]
Generated Node #0,2,0: 61:[60, 15] Operation: 7+8=15
Exploring Operation: 7+60=67, Resulting Numbers: [8, 67]
Generated Node #0,2,1: 61:[8, 67] Operation: 7+60=67
Exploring Operation: 7*8=56, Resulting Numbers: [60, 56]
Generated Node #0,2,2: 61:[60, 56] Operation: 7*8=56
Exploring Operation: 8-7=1, Resulting Numbers: [60, 1]
Generated Node #0,2,3: 61:[60, 1] Operation: 8-7=1
Moving to Node #0,2,2
Current State: 61:[60, 56], Operations: ['12+48=60', '7*8=56']
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,61 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[60, 15], Operations: ['12+48=60', '7+8=15']
Exploring Operation: 60+15=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 60*15=900, Resulting Numbers: [900]
900,61 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[8, 67], Operations: ['12+48=60', '7+60=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[60, 1], Operations: ['12+48=60', '8-7=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[12, 48, 7, 8], Operations: []
Exploring Operation: 12+48=60, Resulting Numbers: [7, 8, 60]
Generated Node #0,2: 61:[7, 8, 60] Operation: 12+48=60
Moving to Node #0,2
Current State: 61:[7, 8, 60], Operations: ['12+48=60']
Exploring Operation: 8-7=1, Resulting Numbers: [60, 1]
Generated Node #0,2,3: 61:[60, 1] Operation: 8-7=1
Moving to Node #0,2,3
Current State: 61:[60, 1], Operations: ['12+48=60', '8-7=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.936632 | hs_4 | sum_heuristic |
[
19,
55,
7,
14
] | 92 | [
"19*7=133",
"55-14=41",
"133-41=92"
] | Current State: 92:[19, 55, 7, 14], Operations: []
Exploring Operation: 19*7=133, Resulting Numbers: [55, 14, 133]
Generated Node #2: [55, 14, 133] from Operation: 19*7=133
Current State: 92:[55, 14, 133], Operations: ['19*7=133']
Exploring Operation: 55-14=41, Resulting Numbers: [133, 41]
Generated Node #3: [133, 41] from Operation: 55-14=41
Current State: 92:[133, 41], Operations: ['19*7=133', '55-14=41']
Exploring Operation: 133-41=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[19, 55, 7, 14], Operations: []
Exploring Operation: 55-14=41, Resulting Numbers: [19, 7, 41]
Generated Node #0,0: 92:[19, 7, 41] Operation: 55-14=41
Exploring Operation: 14/7=2, Resulting Numbers: [19, 55, 2]
Generated Node #0,1: 92:[19, 55, 2] Operation: 14/7=2
Exploring Operation: 55-7=48, Resulting Numbers: [19, 14, 48]
Generated Node #0,2: 92:[19, 14, 48] Operation: 55-7=48
Exploring Operation: 19-14=5, Resulting Numbers: [55, 7, 5]
Generated Node #0,3: 92:[55, 7, 5] Operation: 19-14=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[19, 7, 41], Operations: ['55-14=41']
Exploring Operation: 41-19=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 92:[7, 22] Operation: 41-19=22
Exploring Operation: 19+7=26, Resulting Numbers: [41, 26]
Generated Node #0,0,1: 92:[41, 26] Operation: 19+7=26
Exploring Operation: 19-7=12, Resulting Numbers: [41, 12]
Generated Node #0,0,2: 92:[41, 12] Operation: 19-7=12
Exploring Operation: 7+41=48, Resulting Numbers: [19, 48]
Generated Node #0,0,3: 92:[19, 48] Operation: 7+41=48
Moving to Node #0,0,0
Current State: 92:[7, 22], Operations: ['55-14=41', '41-19=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[19, 48], Operations: ['55-14=41', '7+41=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[41, 26], Operations: ['55-14=41', '19+7=26']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[41, 12], Operations: ['55-14=41', '19-7=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,92 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[19, 55, 2], Operations: ['14/7=2']
Exploring Operation: 19+2=21, Resulting Numbers: [55, 21]
Generated Node #0,1,0: 92:[55, 21] Operation: 19+2=21
Exploring Operation: 19-2=17, Resulting Numbers: [55, 17]
Generated Node #0,1,1: 92:[55, 17] Operation: 19-2=17
Exploring Operation: 55-2=53, Resulting Numbers: [19, 53]
Generated Node #0,1,2: 92:[19, 53] Operation: 55-2=53
Exploring Operation: 55-19=36, Resulting Numbers: [2, 36]
Generated Node #0,1,3: 92:[2, 36] Operation: 55-19=36
Moving to Node #0,1,3
Current State: 92:[2, 36], Operations: ['14/7=2', '55-19=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[19, 53], Operations: ['14/7=2', '55-2=53']
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,92 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[55, 21], Operations: ['14/7=2', '19+2=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,92 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[55, 17], Operations: ['14/7=2', '19-2=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,92 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[55, 7, 5], Operations: ['19-14=5']
Exploring Operation: 55-5=50, Resulting Numbers: [7, 50]
Generated Node #0,3,0: 92:[7, 50] Operation: 55-5=50
Exploring Operation: 55/5=11, Resulting Numbers: [7, 11]
Generated Node #0,3,1: 92:[7, 11] Operation: 55/5=11
Exploring Operation: 55-7=48, Resulting Numbers: [5, 48]
Generated Node #0,3,2: 92:[5, 48] Operation: 55-7=48
Exploring Operation: 7-5=2, Resulting Numbers: [55, 2]
Generated Node #0,3,3: 92:[55, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[5, 48], Operations: ['19-14=5', '55-7=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,92 unequal: No Solution
No 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: 92:[7, 50], Operations: ['19-14=5', '55-5=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,92 unequal: No Solution
No 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: 92:[55, 2], Operations: ['19-14=5', '7-5=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,92 unequal: No Solution
No 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: 92:[7, 11], Operations: ['19-14=5', '55/5=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[19, 14, 48], Operations: ['55-7=48']
Exploring Operation: 19+14=33, Resulting Numbers: [48, 33]
Generated Node #0,2,0: 92:[48, 33] Operation: 19+14=33
Exploring Operation: 48-19=29, Resulting Numbers: [14, 29]
Generated Node #0,2,1: 92:[14, 29] Operation: 48-19=29
Exploring Operation: 48-14=34, Resulting Numbers: [19, 34]
Generated Node #0,2,2: 92:[19, 34] Operation: 48-14=34
Exploring Operation: 19-14=5, Resulting Numbers: [48, 5]
Generated Node #0,2,3: 92:[48, 5] Operation: 19-14=5
Moving to Node #0,2,3
Current State: 92:[48, 5], Operations: ['55-7=48', '19-14=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[48, 33], Operations: ['55-7=48', '19+14=33']
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,92 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[19, 34], Operations: ['55-7=48', '48-14=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,92 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[14, 29], Operations: ['55-7=48', '48-19=29']
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,92 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,
31,
34
] | 30 | [
"63-29=34",
"34/34=1",
"31-1=30"
] | Current State: 30:[29, 63, 31, 34], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [31, 34, 34]
Generated Node #2: [31, 34, 34] from Operation: 63-29=34
Current State: 30:[31, 34, 34], Operations: ['63-29=34']
Exploring Operation: 34/34=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 34/34=1
Current State: 30:[31, 1], Operations: ['63-29=34', '34/34=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[29, 63, 31, 34], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [29, 31, 29]
Generated Node #0,0: 30:[29, 31, 29] Operation: 63-34=29
Moving to Node #0,0
Current State: 30:[29, 31, 29], Operations: ['63-34=29']
Exploring Operation: 31-29=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 30:[29, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 30:[29, 2], Operations: ['63-34=29', '31-29=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,30 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
40,
32,
71,
25
] | 12 | [
"40-32=8",
"71+25=96",
"96/8=12"
] | Current State: 12:[40, 32, 71, 25], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [71, 25, 8]
Generated Node #2: [71, 25, 8] from Operation: 40-32=8
Current State: 12:[71, 25, 8], Operations: ['40-32=8']
Exploring Operation: 71+25=96, Resulting Numbers: [8, 96]
Generated Node #3: [8, 96] from Operation: 71+25=96
Current State: 12:[8, 96], Operations: ['40-32=8', '71+25=96']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[40, 32, 71, 25], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [32, 25, 31]
Generated Node #0,0: 12:[32, 25, 31] Operation: 71-40=31
Exploring Operation: 71-32=39, Resulting Numbers: [40, 25, 39]
Generated Node #0,1: 12:[40, 25, 39] Operation: 71-32=39
Moving to Node #0,0
Current State: 12:[32, 25, 31], Operations: ['71-40=31']
Exploring Operation: 32-25=7, Resulting Numbers: [31, 7]
Generated Node #0,0,0: 12:[31, 7] Operation: 32-25=7
Exploring Operation: 32-31=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 12:[25, 1] Operation: 32-31=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[25, 1], Operations: ['71-40=31', '32-31=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[31, 7], Operations: ['71-40=31', '32-25=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,12 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: 12:[40, 25, 39], Operations: ['71-32=39']
Exploring Operation: 40-25=15, Resulting Numbers: [39, 15]
Generated Node #0,1,0: 12:[39, 15] Operation: 40-25=15
Exploring Operation: 40-39=1, Resulting Numbers: [25, 1]
Generated Node #0,1,1: 12:[25, 1] Operation: 40-39=1
Moving to Node #0,1,1
Current State: 12:[25, 1], Operations: ['71-32=39', '40-39=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[39, 15], Operations: ['71-32=39', '40-25=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,12 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
90,
28,
40
] | 10 | [
"90-12=78",
"28+40=68",
"78-68=10"
] | Current State: 10:[12, 90, 28, 40], Operations: []
Exploring Operation: 90-12=78, Resulting Numbers: [28, 40, 78]
Generated Node #2: [28, 40, 78] from Operation: 90-12=78
Current State: 10:[28, 40, 78], Operations: ['90-12=78']
Exploring Operation: 28+40=68, Resulting Numbers: [78, 68]
Generated Node #3: [78, 68] from Operation: 28+40=68
Current State: 10:[78, 68], Operations: ['90-12=78', '28+40=68']
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[12, 90, 28, 40], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [12, 28, 50]
Generated Node #0,0: 10:[12, 28, 50] Operation: 90-40=50
Moving to Node #0,0
Current State: 10:[12, 28, 50], Operations: ['90-40=50']
Exploring Operation: 50-28=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 10:[12, 22] Operation: 50-28=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[12, 22], Operations: ['90-40=50', '50-28=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[12, 90, 28, 40], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [12, 28, 50]
Generated Node #0,0: 10:[12, 28, 50] Operation: 90-40=50
Moving to Node #0,0
Current State: 10:[12, 28, 50], Operations: ['90-40=50']
Exploring Operation: 50-28=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 10:[12, 22] Operation: 50-28=22
Moving to Node #0,0,0
Current State: 10:[12, 22], Operations: ['90-40=50', '50-28=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
10,
96,
6
] | 99 | [
"42/6=7",
"10+96=106",
"106-7=99"
] | Current State: 99:[42, 10, 96, 6], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [10, 96, 7]
Generated Node #2: [10, 96, 7] from Operation: 42/6=7
Current State: 99:[10, 96, 7], Operations: ['42/6=7']
Exploring Operation: 10+96=106, Resulting Numbers: [7, 106]
Generated Node #3: [7, 106] from Operation: 10+96=106
Current State: 99:[7, 106], Operations: ['42/6=7', '10+96=106']
Exploring Operation: 106-7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[42, 10, 96, 6], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [10, 96, 7]
Generated Node #0,0: 99:[10, 96, 7] Operation: 42/6=7
Moving to Node #0,0
Current State: 99:[10, 96, 7], Operations: ['42/6=7']
Exploring Operation: 10-7=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['42/6=7', '10-7=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[42, 10, 96, 6], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [10, 96, 7]
Generated Node #0,0: 99:[10, 96, 7] Operation: 42/6=7
Moving to Node #0,0
Current State: 99:[10, 96, 7], Operations: ['42/6=7']
Exploring Operation: 10-7=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['42/6=7', '10-7=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
40,
94,
33,
95
] | 74 | [
"94-40=54",
"33+95=128",
"128-54=74"
] | Current State: 74:[40, 94, 33, 95], Operations: []
Exploring Operation: 94-40=54, Resulting Numbers: [33, 95, 54]
Generated Node #2: [33, 95, 54] from Operation: 94-40=54
Current State: 74:[33, 95, 54], Operations: ['94-40=54']
Exploring Operation: 33+95=128, Resulting Numbers: [54, 128]
Generated Node #3: [54, 128] from Operation: 33+95=128
Current State: 74:[54, 128], Operations: ['94-40=54', '33+95=128']
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[40, 94, 33, 95], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [40, 33, 1]
Generated Node #0,0: 74:[40, 33, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[40, 33, 1], Operations: ['95-94=1']
Exploring Operation: 40+33=73, Resulting Numbers: [1, 73]
Generated Node #0,0,0: 74:[1, 73] Operation: 40+33=73
Moving to Node #0,0,0
Current State: 74:[1, 73], Operations: ['95-94=1', '40+33=73']
Exploring Operation: 1+73=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[40, 94, 33, 95], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [40, 33, 1]
Generated Node #0,0: 74:[40, 33, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 74:[40, 33, 1], Operations: ['95-94=1']
Exploring Operation: 40+33=73, Resulting Numbers: [1, 73]
Generated Node #0,0,0: 74:[1, 73] Operation: 40+33=73
Moving to Node #0,0,0
Current State: 74:[1, 73], Operations: ['95-94=1', '40+33=73']
Exploring Operation: 1+73=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
4,
77,
8,
56
] | 33 | [
"4+77=81",
"56-8=48",
"81-48=33"
] | Current State: 33:[4, 77, 8, 56], Operations: []
Exploring Operation: 4+77=81, Resulting Numbers: [8, 56, 81]
Generated Node #2: [8, 56, 81] from Operation: 4+77=81
Current State: 33:[8, 56, 81], Operations: ['4+77=81']
Exploring Operation: 56-8=48, Resulting Numbers: [81, 48]
Generated Node #3: [81, 48] from Operation: 56-8=48
Current State: 33:[81, 48], Operations: ['4+77=81', '56-8=48']
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 77, 8, 56], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [4, 8, 21]
Generated Node #0,0: 33:[4, 8, 21] Operation: 77-56=21
Exploring Operation: 56/8=7, Resulting Numbers: [4, 77, 7]
Generated Node #0,1: 33:[4, 77, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[4, 8, 21], Operations: ['77-56=21']
Exploring Operation: 21-8=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 33:[4, 13] Operation: 21-8=13
Exploring Operation: 8+21=29, Resulting Numbers: [4, 29]
Generated Node #0,0,1: 33:[4, 29] Operation: 8+21=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[4, 13], Operations: ['77-56=21', '21-8=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[4, 29], Operations: ['77-56=21', '8+21=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[4, 77, 8, 56], Operations: []
Exploring Operation: 77-56=21, Resulting Numbers: [4, 8, 21]
Generated Node #0,0: 33:[4, 8, 21] Operation: 77-56=21
Moving to Node #0,0
Current State: 33:[4, 8, 21], Operations: ['77-56=21']
Exploring Operation: 8+21=29, Resulting Numbers: [4, 29]
Generated Node #0,0,1: 33:[4, 29] Operation: 8+21=29
Moving to Node #0,0,1
Current State: 33:[4, 29], Operations: ['77-56=21', '8+21=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
66,
91,
53,
99
] | 92 | [
"66-53=13",
"91/13=7",
"99-7=92"
] | Current State: 92:[66, 91, 53, 99], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [91, 99, 13]
Generated Node #2: [91, 99, 13] from Operation: 66-53=13
Current State: 92:[91, 99, 13], Operations: ['66-53=13']
Exploring Operation: 91/13=7, Resulting Numbers: [99, 7]
Generated Node #3: [99, 7] from Operation: 91/13=7
Current State: 92:[99, 7], Operations: ['66-53=13', '91/13=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[66, 91, 53, 99], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [53, 99, 25]
Generated Node #0,0: 92:[53, 99, 25] Operation: 91-66=25
Exploring Operation: 99-53=46, Resulting Numbers: [66, 91, 46]
Generated Node #0,1: 92:[66, 91, 46] Operation: 99-53=46
Exploring Operation: 66-53=13, Resulting Numbers: [91, 99, 13]
Generated Node #0,2: 92:[91, 99, 13] Operation: 66-53=13
Exploring Operation: 99-66=33, Resulting Numbers: [91, 53, 33]
Generated Node #0,3: 92:[91, 53, 33] Operation: 99-66=33
Moving to Node #0,0
Current State: 92:[53, 99, 25], Operations: ['91-66=25']
Exploring Operation: 99-53=46, Resulting Numbers: [25, 46]
Generated Node #0,0,0: 92:[25, 46] Operation: 99-53=46
Exploring Operation: 99-25=74, Resulting Numbers: [53, 74]
Generated Node #0,0,1: 92:[53, 74] Operation: 99-25=74
Exploring Operation: 53+25=78, Resulting Numbers: [99, 78]
Generated Node #0,0,2: 92:[99, 78] Operation: 53+25=78
Exploring Operation: 53-25=28, Resulting Numbers: [99, 28]
Generated Node #0,0,3: 92:[99, 28] Operation: 53-25=28
Moving to Node #0,2
Current State: 92:[91, 99, 13], Operations: ['66-53=13']
Exploring Operation: 99-13=86, Resulting Numbers: [91, 86]
Generated Node #0,2,0: 92:[91, 86] Operation: 99-13=86
Exploring Operation: 91+13=104, Resulting Numbers: [99, 104]
Generated Node #0,2,1: 92:[99, 104] Operation: 91+13=104
Exploring Operation: 91/13=7, Resulting Numbers: [99, 7]
Generated Node #0,2,2: 92:[99, 7] Operation: 91/13=7
Exploring Operation: 99-91=8, Resulting Numbers: [13, 8]
Generated Node #0,2,3: 92:[13, 8] Operation: 99-91=8
Moving to Node #0,3
Current State: 92:[91, 53, 33], Operations: ['99-66=33']
Exploring Operation: 91-33=58, Resulting Numbers: [53, 58]
Generated Node #0,3,0: 92:[53, 58] Operation: 91-33=58
Exploring Operation: 53-33=20, Resulting Numbers: [91, 20]
Generated Node #0,3,1: 92:[91, 20] Operation: 53-33=20
Exploring Operation: 53+33=86, Resulting Numbers: [91, 86]
Generated Node #0,3,2: 92:[91, 86] Operation: 53+33=86
Exploring Operation: 91-53=38, Resulting Numbers: [33, 38]
Generated Node #0,3,3: 92:[33, 38] Operation: 91-53=38
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[91, 20], Operations: ['99-66=33', '53-33=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,92 unequal: No Solution
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[91, 86], Operations: ['99-66=33', '53+33=86']
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,92 unequal: No Solution
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[33, 38], Operations: ['99-66=33', '91-53=38']
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[53, 58], Operations: ['99-66=33', '91-33=58']
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,92 unequal: No Solution
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,92 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: 92:[66, 91, 46], Operations: ['99-53=46']
Exploring Operation: 91-66=25, Resulting Numbers: [46, 25]
Generated Node #0,1,0: 92:[46, 25] Operation: 91-66=25
Exploring Operation: 66-46=20, Resulting Numbers: [91, 20]
Generated Node #0,1,1: 92:[91, 20] Operation: 66-46=20
Exploring Operation: 91-46=45, Resulting Numbers: [66, 45]
Generated Node #0,1,2: 92:[66, 45] Operation: 91-46=45
Exploring Operation: 66+46=112, Resulting Numbers: [91, 112]
Generated Node #0,1,3: 92:[91, 112] Operation: 66+46=112
Moving to Node #0,0,0
Current State: 92:[25, 46], Operations: ['91-66=25', '99-53=46']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,92 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[46, 25], Operations: ['99-53=46', '91-66=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[91, 20], Operations: ['99-53=46', '66-46=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,92 unequal: No Solution
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[91, 86], Operations: ['66-53=13', '99-13=86']
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,92 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[99, 7], Operations: ['66-53=13', '91/13=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[66, 91, 53, 99], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [91, 99, 13]
Generated Node #0,2: 92:[91, 99, 13] Operation: 66-53=13
Moving to Node #0,2
Current State: 92:[91, 99, 13], Operations: ['66-53=13']
Exploring Operation: 91/13=7, Resulting Numbers: [99, 7]
Generated Node #0,2,2: 92:[99, 7] Operation: 91/13=7
Moving to Node #0,2,2
Current State: 92:[99, 7], Operations: ['66-53=13', '91/13=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.957465 | hs_4 | sum_heuristic |
[
94,
94,
4,
52
] | 55 | [
"94/94=1",
"4+52=56",
"56-1=55"
] | Current State: 55:[94, 94, 4, 52], Operations: []
Exploring Operation: 94/94=1, Resulting Numbers: [4, 52, 1]
Generated Node #2: [4, 52, 1] from Operation: 94/94=1
Current State: 55:[4, 52, 1], Operations: ['94/94=1']
Exploring Operation: 4+52=56, Resulting Numbers: [1, 56]
Generated Node #3: [1, 56] from Operation: 4+52=56
Current State: 55:[1, 56], Operations: ['94/94=1', '4+52=56']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[94, 94, 4, 52], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [94, 4, 42]
Generated Node #0,0: 55:[94, 4, 42] Operation: 94-52=42
Exploring Operation: 94/94=1, Resulting Numbers: [4, 52, 1]
Generated Node #0,1: 55:[4, 52, 1] Operation: 94/94=1
Exploring Operation: 94-94=0, Resulting Numbers: [4, 52, 0]
Generated Node #0,2: 55:[4, 52, 0] Operation: 94-94=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[4, 52, 1], Operations: ['94/94=1']
Exploring Operation: 4+1=5, Resulting Numbers: [52, 5]
Generated Node #0,1,0: 55:[52, 5] Operation: 4+1=5
Exploring Operation: 4*1=4, Resulting Numbers: [52, 4]
Generated Node #0,1,1: 55:[52, 4] Operation: 4*1=4
Exploring Operation: 52+1=53, Resulting Numbers: [4, 53]
Generated Node #0,1,2: 55:[4, 53] Operation: 52+1=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[52, 5], Operations: ['94/94=1', '4+1=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,55 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No 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: 55:[4, 53], Operations: ['94/94=1', '52+1=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,55 unequal: No Solution
No 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: 55:[52, 4], Operations: ['94/94=1', '4*1=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,55 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: 55:[4, 52, 0], Operations: ['94-94=0']
Exploring Operation: 52+0=52, Resulting Numbers: [4, 52]
Generated Node #0,2,0: 55:[4, 52] Operation: 52+0=52
Exploring Operation: 4+0=4, Resulting Numbers: [52, 4]
Generated Node #0,2,1: 55:[52, 4] Operation: 4+0=4
Exploring Operation: 4-0=4, Resulting Numbers: [52, 4]
Generated Node #0,2,2: 55:[52, 4] Operation: 4-0=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[4, 52], Operations: ['94-94=0', '52+0=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,55 unequal: No Solution
No 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: 55:[52, 4], Operations: ['94-94=0', '4+0=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,55 unequal: No Solution
No 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: 55:[52, 4], Operations: ['94-94=0', '4-0=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,55 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: 55:[94, 4, 42], Operations: ['94-52=42']
Exploring Operation: 4+42=46, Resulting Numbers: [94, 46]
Generated Node #0,0,0: 55:[94, 46] Operation: 4+42=46
Exploring Operation: 94-42=52, Resulting Numbers: [4, 52]
Generated Node #0,0,1: 55:[4, 52] Operation: 94-42=52
Exploring Operation: 94-4=90, Resulting Numbers: [42, 90]
Generated Node #0,0,2: 55:[42, 90] Operation: 94-4=90
Moving to Node #0,0,1
Current State: 55:[4, 52], Operations: ['94-52=42', '94-42=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[94, 46], Operations: ['94-52=42', '4+42=46']
Exploring Operation: 94*46=4324, Resulting Numbers: [4324]
4324,55 unequal: No Solution
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 94+46=140, Resulting Numbers: [140]
140,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[42, 90], Operations: ['94-52=42', '94-4=90']
Exploring Operation: 42*90=3780, Resulting Numbers: [3780]
3780,55 unequal: No Solution
Exploring Operation: 42+90=132, Resulting Numbers: [132]
132,55 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,55 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 |
[
35,
71,
58,
22
] | 71 | [
"58-35=23",
"23-22=1",
"71*1=71"
] | Current State: 71:[35, 71, 58, 22], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [71, 22, 23]
Generated Node #2: [71, 22, 23] from Operation: 58-35=23
Current State: 71:[71, 22, 23], Operations: ['58-35=23']
Exploring Operation: 23-22=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 23-22=1
Current State: 71:[71, 1], Operations: ['58-35=23', '23-22=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[35, 71, 58, 22], Operations: []
Exploring Operation: 35+22=57, Resulting Numbers: [71, 58, 57]
Generated Node #0,0: 71:[71, 58, 57] Operation: 35+22=57
Exploring Operation: 58+22=80, Resulting Numbers: [35, 71, 80]
Generated Node #0,1: 71:[35, 71, 80] Operation: 58+22=80
Exploring Operation: 35+58=93, Resulting Numbers: [71, 22, 93]
Generated Node #0,2: 71:[71, 22, 93] Operation: 35+58=93
Exploring Operation: 35-22=13, Resulting Numbers: [71, 58, 13]
Generated Node #0,3: 71:[71, 58, 13] Operation: 35-22=13
Moving to Node #0,0
Current State: 71:[71, 58, 57], Operations: ['35+22=57']
Exploring Operation: 71+57=128, Resulting Numbers: [58, 128]
Generated Node #0,0,0: 71:[58, 128] Operation: 71+57=128
Exploring Operation: 58+57=115, Resulting Numbers: [71, 115]
Generated Node #0,0,1: 71:[71, 115] Operation: 58+57=115
Exploring Operation: 71-57=14, Resulting Numbers: [58, 14]
Generated Node #0,0,2: 71:[58, 14] Operation: 71-57=14
Exploring Operation: 58-57=1, Resulting Numbers: [71, 1]
Generated Node #0,0,3: 71:[71, 1] Operation: 58-57=1
Moving to Node #0,1
Current State: 71:[35, 71, 80], Operations: ['58+22=80']
Exploring Operation: 80-35=45, Resulting Numbers: [71, 45]
Generated Node #0,1,0: 71:[71, 45] Operation: 80-35=45
Exploring Operation: 35+71=106, Resulting Numbers: [80, 106]
Generated Node #0,1,1: 71:[80, 106] Operation: 35+71=106
Exploring Operation: 71-35=36, Resulting Numbers: [80, 36]
Generated Node #0,1,2: 71:[80, 36] Operation: 71-35=36
Exploring Operation: 35+80=115, Resulting Numbers: [71, 115]
Generated Node #0,1,3: 71:[71, 115] Operation: 35+80=115
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[71, 45], Operations: ['58+22=80', '80-35=45']
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,71 unequal: No Solution
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,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:[80, 106], Operations: ['58+22=80', '35+71=106']
Exploring Operation: 80+106=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 106-80=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 80*106=8480, Resulting Numbers: [8480]
8480,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,2
Current State: 71:[80, 36], Operations: ['58+22=80', '71-35=36']
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,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:[71, 115], Operations: ['58+22=80', '35+80=115']
Exploring Operation: 71*115=8165, Resulting Numbers: [8165]
8165,71 unequal: No Solution
Exploring Operation: 115-71=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 71+115=186, Resulting Numbers: [186]
186,71 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: 71:[71, 58, 13], Operations: ['35-22=13']
Exploring Operation: 58-13=45, Resulting Numbers: [71, 45]
Generated Node #0,3,0: 71:[71, 45] Operation: 58-13=45
Exploring Operation: 71-13=58, Resulting Numbers: [58, 58]
Generated Node #0,3,1: 71:[58, 58] Operation: 71-13=58
Exploring Operation: 58+13=71, Resulting Numbers: [71, 71]
Generated Node #0,3,2: 71:[71, 71] Operation: 58+13=71
Exploring Operation: 71+13=84, Resulting Numbers: [58, 84]
Generated Node #0,3,3: 71:[58, 84] Operation: 71+13=84
Moving to Node #0,2
Current State: 71:[71, 22, 93], Operations: ['35+58=93']
Exploring Operation: 93-22=71, Resulting Numbers: [71, 71]
Generated Node #0,2,0: 71:[71, 71] Operation: 93-22=71
Exploring Operation: 71-22=49, Resulting Numbers: [93, 49]
Generated Node #0,2,1: 71:[93, 49] Operation: 71-22=49
Exploring Operation: 71+22=93, Resulting Numbers: [93, 93]
Generated Node #0,2,2: 71:[93, 93] Operation: 71+22=93
Exploring Operation: 22+93=115, Resulting Numbers: [71, 115]
Generated Node #0,2,3: 71:[71, 115] Operation: 22+93=115
Moving to Node #0,3,2
Current State: 71:[71, 71], Operations: ['35-22=13', '58+13=71']
Exploring Operation: 71+71=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 71/71=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 71-71=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 71*71=5041, Resulting Numbers: [5041]
5041,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[71, 71], Operations: ['35+58=93', '93-22=71']
Exploring Operation: 71/71=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 71+71=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 71-71=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 71*71=5041, Resulting Numbers: [5041]
5041,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[71, 45], Operations: ['35-22=13', '58-13=45']
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,71 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[58, 58], Operations: ['35-22=13', '71-13=58']
Exploring Operation: 58+58=116, Resulting Numbers: [116]
116,71 unequal: No Solution
Exploring Operation: 58/58=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 58*58=3364, Resulting Numbers: [3364]
3364,71 unequal: No Solution
Exploring Operation: 58-58=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[58, 84], Operations: ['35-22=13', '71+13=84']
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[93, 93], Operations: ['35+58=93', '71+22=93']
Exploring Operation: 93/93=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 93-93=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 93*93=8649, Resulting Numbers: [8649]
8649,71 unequal: No Solution
Exploring Operation: 93+93=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[71, 115], Operations: ['35+58=93', '22+93=115']
Exploring Operation: 71*115=8165, Resulting Numbers: [8165]
8165,71 unequal: No Solution
Exploring Operation: 115-71=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 71+115=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[93, 49], Operations: ['35+58=93', '71-22=49']
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 93+49=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 93*49=4557, Resulting Numbers: [4557]
4557,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[71, 115], Operations: ['35+22=57', '58+57=115']
Exploring Operation: 115-71=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 71*115=8165, Resulting Numbers: [8165]
8165,71 unequal: No Solution
Exploring Operation: 71+115=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[71, 1], Operations: ['35+22=57', '58-57=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[35, 71, 58, 22], Operations: []
Exploring Operation: 35+22=57, Resulting Numbers: [71, 58, 57]
Generated Node #0,0: 71:[71, 58, 57] Operation: 35+22=57
Moving to Node #0,0
Current State: 71:[71, 58, 57], Operations: ['35+22=57']
Exploring Operation: 58-57=1, Resulting Numbers: [71, 1]
Generated Node #0,0,3: 71:[71, 1] Operation: 58-57=1
Moving to Node #0,0,3
Current State: 71:[71, 1], Operations: ['35+22=57', '58-57=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.940972 | hs_4 | mult_heuristic |
[
96,
2,
87,
45
] | 34 | [
"96+2=98",
"87+45=132",
"132-98=34"
] | Current State: 34:[96, 2, 87, 45], Operations: []
Exploring Operation: 96+2=98, Resulting Numbers: [87, 45, 98]
Generated Node #2: [87, 45, 98] from Operation: 96+2=98
Current State: 34:[87, 45, 98], Operations: ['96+2=98']
Exploring Operation: 87+45=132, Resulting Numbers: [98, 132]
Generated Node #3: [98, 132] from Operation: 87+45=132
Current State: 34:[98, 132], Operations: ['96+2=98', '87+45=132']
Exploring Operation: 132-98=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[96, 2, 87, 45], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [87, 45, 48]
Generated Node #0,0: 34:[87, 45, 48] Operation: 96/2=48
Exploring Operation: 96-87=9, Resulting Numbers: [2, 45, 9]
Generated Node #0,1: 34:[2, 45, 9] Operation: 96-87=9
Exploring Operation: 96-2=94, Resulting Numbers: [87, 45, 94]
Generated Node #0,2: 34:[87, 45, 94] Operation: 96-2=94
Exploring Operation: 96-45=51, Resulting Numbers: [2, 87, 51]
Generated Node #0,3: 34:[2, 87, 51] Operation: 96-45=51
Exploring Operation: 87-45=42, Resulting Numbers: [96, 2, 42]
Generated Node #0,4: 34:[96, 2, 42] Operation: 87-45=42
Moving to Node #0,1
Current State: 34:[2, 45, 9], Operations: ['96-87=9']
Exploring Operation: 45-2=43, Resulting Numbers: [9, 43]
Generated Node #0,1,0: 34:[9, 43] Operation: 45-2=43
Exploring Operation: 9-2=7, Resulting Numbers: [45, 7]
Generated Node #0,1,1: 34:[45, 7] Operation: 9-2=7
Exploring Operation: 45/9=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 34:[2, 5] Operation: 45/9=5
Exploring Operation: 45-9=36, Resulting Numbers: [2, 36]
Generated Node #0,1,3: 34:[2, 36] Operation: 45-9=36
Exploring Operation: 2*9=18, Resulting Numbers: [45, 18]
Generated Node #0,1,4: 34:[45, 18] Operation: 2*9=18
Moving to Node #0,4
Current State: 34:[96, 2, 42], Operations: ['87-45=42']
Exploring Operation: 42/2=21, Resulting Numbers: [96, 21]
Generated Node #0,4,0: 34:[96, 21] Operation: 42/2=21
Exploring Operation: 96/2=48, Resulting Numbers: [42, 48]
Generated Node #0,4,1: 34:[42, 48] Operation: 96/2=48
Exploring Operation: 96-42=54, Resulting Numbers: [2, 54]
Generated Node #0,4,2: 34:[2, 54] Operation: 96-42=54
Exploring Operation: 96-2=94, Resulting Numbers: [42, 94]
Generated Node #0,4,3: 34:[42, 94] Operation: 96-2=94
Exploring Operation: 42-2=40, Resulting Numbers: [96, 40]
Generated Node #0,4,4: 34:[96, 40] Operation: 42-2=40
Moving to Node #0,3
Current State: 34:[2, 87, 51], Operations: ['96-45=51']
Exploring Operation: 2+87=89, Resulting Numbers: [51, 89]
Generated Node #0,3,0: 34:[51, 89] Operation: 2+87=89
Exploring Operation: 2+51=53, Resulting Numbers: [87, 53]
Generated Node #0,3,1: 34:[87, 53] Operation: 2+51=53
Exploring Operation: 51-2=49, Resulting Numbers: [87, 49]
Generated Node #0,3,2: 34:[87, 49] Operation: 51-2=49
Exploring Operation: 87-2=85, Resulting Numbers: [51, 85]
Generated Node #0,3,3: 34:[51, 85] Operation: 87-2=85
Exploring Operation: 87-51=36, Resulting Numbers: [2, 36]
Generated Node #0,3,4: 34:[2, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 34:[2, 36], Operations: ['96-45=51', '87-51=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[96, 2, 87, 45], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [2, 87, 51]
Generated Node #0,3: 34:[2, 87, 51] Operation: 96-45=51
Moving to Node #0,3
Current State: 34:[2, 87, 51], Operations: ['96-45=51']
Exploring Operation: 87-51=36, Resulting Numbers: [2, 36]
Generated Node #0,3,4: 34:[2, 36] Operation: 87-51=36
Moving to Node #0,3,4
Current State: 34:[2, 36], Operations: ['96-45=51', '87-51=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
80,
51,
44,
70
] | 85 | [
"80-51=29",
"44+70=114",
"114-29=85"
] | Current State: 85:[80, 51, 44, 70], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [44, 70, 29]
Generated Node #2: [44, 70, 29] from Operation: 80-51=29
Current State: 85:[44, 70, 29], Operations: ['80-51=29']
Exploring Operation: 44+70=114, Resulting Numbers: [29, 114]
Generated Node #3: [29, 114] from Operation: 44+70=114
Current State: 85:[29, 114], Operations: ['80-51=29', '44+70=114']
Exploring Operation: 114-29=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[80, 51, 44, 70], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [80, 44, 19]
Generated Node #0,0: 85:[80, 44, 19] Operation: 70-51=19
Exploring Operation: 51+44=95, Resulting Numbers: [80, 70, 95]
Generated Node #0,1: 85:[80, 70, 95] Operation: 51+44=95
Exploring Operation: 51-44=7, Resulting Numbers: [80, 70, 7]
Generated Node #0,2: 85:[80, 70, 7] Operation: 51-44=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[80, 70, 7], Operations: ['51-44=7']
Exploring Operation: 70/7=10, Resulting Numbers: [80, 10]
Generated Node #0,2,0: 85:[80, 10] Operation: 70/7=10
Exploring Operation: 80-70=10, Resulting Numbers: [7, 10]
Generated Node #0,2,1: 85:[7, 10] Operation: 80-70=10
Exploring Operation: 70+7=77, Resulting Numbers: [80, 77]
Generated Node #0,2,2: 85:[80, 77] Operation: 70+7=77
Moving to Node #0,2,1
Current State: 85:[7, 10], Operations: ['51-44=7', '80-70=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[80, 10], Operations: ['51-44=7', '70/7=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[80, 77], Operations: ['51-44=7', '70+7=77']
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,85 unequal: No Solution
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[80, 70, 95], Operations: ['51+44=95']
Exploring Operation: 95-80=15, Resulting Numbers: [70, 15]
Generated Node #0,1,0: 85:[70, 15] Operation: 95-80=15
Exploring Operation: 95-70=25, Resulting Numbers: [80, 25]
Generated Node #0,1,1: 85:[80, 25] Operation: 95-70=25
Exploring Operation: 80-70=10, Resulting Numbers: [95, 10]
Generated Node #0,1,2: 85:[95, 10] Operation: 80-70=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[80, 25], Operations: ['51+44=95', '95-70=25']
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[95, 10], Operations: ['51+44=95', '80-70=10']
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[80, 51, 44, 70], Operations: []
Exploring Operation: 51+44=95, Resulting Numbers: [80, 70, 95]
Generated Node #0,1: 85:[80, 70, 95] Operation: 51+44=95
Moving to Node #0,1
Current State: 85:[80, 70, 95], Operations: ['51+44=95']
Exploring Operation: 80-70=10, Resulting Numbers: [95, 10]
Generated Node #0,1,2: 85:[95, 10] Operation: 80-70=10
Moving to Node #0,1,2
Current State: 85:[95, 10], Operations: ['51+44=95', '80-70=10']
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
51,
2,
89,
7
] | 90 | [
"89-51=38",
"7+38=45",
"2*45=90"
] | Current State: 90:[51, 2, 89, 7], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [2, 7, 38]
Generated Node #2: [2, 7, 38] from Operation: 89-51=38
Current State: 90:[2, 7, 38], Operations: ['89-51=38']
Exploring Operation: 7+38=45, Resulting Numbers: [2, 45]
Generated Node #3: [2, 45] from Operation: 7+38=45
Current State: 90:[2, 45], Operations: ['89-51=38', '7+38=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[51, 2, 89, 7], Operations: []
Exploring Operation: 7-2=5, Resulting Numbers: [51, 89, 5]
Generated Node #0,0: 90:[51, 89, 5] Operation: 7-2=5
Exploring Operation: 2+7=9, Resulting Numbers: [51, 89, 9]
Generated Node #0,1: 90:[51, 89, 9] Operation: 2+7=9
Exploring Operation: 51-7=44, Resulting Numbers: [2, 89, 44]
Generated Node #0,2: 90:[2, 89, 44] Operation: 51-7=44
Exploring Operation: 51-2=49, Resulting Numbers: [89, 7, 49]
Generated Node #0,3: 90:[89, 7, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[2, 89, 44], Operations: ['51-7=44']
Exploring Operation: 2+44=46, Resulting Numbers: [89, 46]
Generated Node #0,2,0: 90:[89, 46] Operation: 2+44=46
Exploring Operation: 89-44=45, Resulting Numbers: [2, 45]
Generated Node #0,2,1: 90:[2, 45] Operation: 89-44=45
Exploring Operation: 2*44=88, Resulting Numbers: [89, 88]
Generated Node #0,2,2: 90:[89, 88] Operation: 2*44=88
Exploring Operation: 2+89=91, Resulting Numbers: [44, 91]
Generated Node #0,2,3: 90:[44, 91] Operation: 2+89=91
Moving to Node #0,2,1
Current State: 90:[2, 45], Operations: ['51-7=44', '89-44=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[51, 2, 89, 7], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [2, 89, 44]
Generated Node #0,2: 90:[2, 89, 44] Operation: 51-7=44
Moving to Node #0,2
Current State: 90:[2, 89, 44], Operations: ['51-7=44']
Exploring Operation: 89-44=45, Resulting Numbers: [2, 45]
Generated Node #0,2,1: 90:[2, 45] Operation: 89-44=45
Moving to Node #0,2,1
Current State: 90:[2, 45], Operations: ['51-7=44', '89-44=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
51,
2,
28,
81
] | 35 | [
"51-28=23",
"2*23=46",
"81-46=35"
] | Current State: 35:[51, 2, 28, 81], Operations: []
Exploring Operation: 51-28=23, Resulting Numbers: [2, 81, 23]
Generated Node #2: [2, 81, 23] from Operation: 51-28=23
Current State: 35:[2, 81, 23], Operations: ['51-28=23']
Exploring Operation: 2*23=46, Resulting Numbers: [81, 46]
Generated Node #3: [81, 46] from Operation: 2*23=46
Current State: 35:[81, 46], Operations: ['51-28=23', '2*23=46']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[51, 2, 28, 81], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [2, 28, 30]
Generated Node #0,0: 35:[2, 28, 30] Operation: 81-51=30
Exploring Operation: 51-28=23, Resulting Numbers: [2, 81, 23]
Generated Node #0,1: 35:[2, 81, 23] Operation: 51-28=23
Exploring Operation: 51-2=49, Resulting Numbers: [28, 81, 49]
Generated Node #0,2: 35:[28, 81, 49] Operation: 51-2=49
Exploring Operation: 81-28=53, Resulting Numbers: [51, 2, 53]
Generated Node #0,3: 35:[51, 2, 53] Operation: 81-28=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[2, 28, 30], Operations: ['81-51=30']
Exploring Operation: 2+30=32, Resulting Numbers: [28, 32]
Generated Node #0,0,0: 35:[28, 32] Operation: 2+30=32
Exploring Operation: 2+28=30, Resulting Numbers: [30, 30]
Generated Node #0,0,1: 35:[30, 30] Operation: 2+28=30
Exploring Operation: 28/2=14, Resulting Numbers: [30, 14]
Generated Node #0,0,2: 35:[30, 14] Operation: 28/2=14
Exploring Operation: 30-28=2, Resulting Numbers: [2, 2]
Generated Node #0,0,3: 35:[2, 2] Operation: 30-28=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 35:[2, 2], Operations: ['81-51=30', '30-28=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,35 unequal: No Solution
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=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[28, 32], Operations: ['81-51=30', '2+30=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,35 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[30, 30], Operations: ['81-51=30', '2+28=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 30*30=900, Resulting Numbers: [900]
900,35 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[30, 14], Operations: ['81-51=30', '28/2=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,35 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,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,3
Current State: 35:[51, 2, 53], Operations: ['81-28=53']
Exploring Operation: 51-2=49, Resulting Numbers: [53, 49]
Generated Node #0,3,0: 35:[53, 49] Operation: 51-2=49
Exploring Operation: 53-2=51, Resulting Numbers: [51, 51]
Generated Node #0,3,1: 35:[51, 51] Operation: 53-2=51
Exploring Operation: 51+2=53, Resulting Numbers: [53, 53]
Generated Node #0,3,2: 35:[53, 53] Operation: 51+2=53
Exploring Operation: 53-51=2, Resulting Numbers: [2, 2]
Generated Node #0,3,3: 35:[2, 2] Operation: 53-51=2
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[2, 2], Operations: ['81-28=53', '53-51=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,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:[53, 49], Operations: ['81-28=53', '51-2=49']
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,35 unequal: No Solution
Exploring Operation: 53*49=2597, Resulting Numbers: [2597]
2597,35 unequal: No Solution
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,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,1
Current State: 35:[51, 51], Operations: ['81-28=53', '53-2=51']
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,35 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,35 unequal: No Solution
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,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:[53, 53], Operations: ['81-28=53', '51+2=53']
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 53*53=2809, Resulting Numbers: [2809]
2809,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[2, 81, 23], Operations: ['51-28=23']
Exploring Operation: 81-23=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 35:[2, 58] Operation: 81-23=58
Exploring Operation: 2+23=25, Resulting Numbers: [81, 25]
Generated Node #0,1,1: 35:[81, 25] Operation: 2+23=25
Exploring Operation: 81-2=79, Resulting Numbers: [23, 79]
Generated Node #0,1,2: 35:[23, 79] Operation: 81-2=79
Exploring Operation: 2*23=46, Resulting Numbers: [81, 46]
Generated Node #0,1,3: 35:[81, 46] Operation: 2*23=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[2, 58], Operations: ['51-28=23', '81-23=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,35 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,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,1,1
Current State: 35:[81, 25], Operations: ['51-28=23', '2+23=25']
Exploring Operation: 81+25=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 81*25=2025, Resulting Numbers: [2025]
2025,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,1,2
Current State: 35:[23, 79], Operations: ['51-28=23', '81-2=79']
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,35 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,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,1,3
Current State: 35:[81, 46], Operations: ['51-28=23', '2*23=46']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[51, 2, 28, 81], Operations: []
Exploring Operation: 51-28=23, Resulting Numbers: [2, 81, 23]
Generated Node #0,1: 35:[2, 81, 23] Operation: 51-28=23
Moving to Node #0,1
Current State: 35:[2, 81, 23], Operations: ['51-28=23']
Exploring Operation: 2*23=46, Resulting Numbers: [81, 46]
Generated Node #0,1,3: 35:[81, 46] Operation: 2*23=46
Moving to Node #0,1,3
Current State: 35:[81, 46], Operations: ['51-28=23', '2*23=46']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_4 | sum_heuristic |
[
29,
5,
61,
26
] | 11 | [
"29-5=24",
"61-26=35",
"35-24=11"
] | Current State: 11:[29, 5, 61, 26], Operations: []
Exploring Operation: 29-5=24, Resulting Numbers: [61, 26, 24]
Generated Node #2: [61, 26, 24] from Operation: 29-5=24
Current State: 11:[61, 26, 24], Operations: ['29-5=24']
Exploring Operation: 61-26=35, Resulting Numbers: [24, 35]
Generated Node #3: [24, 35] from Operation: 61-26=35
Current State: 11:[24, 35], Operations: ['29-5=24', '61-26=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[29, 5, 61, 26], Operations: []
Exploring Operation: 61-29=32, Resulting Numbers: [5, 26, 32]
Generated Node #0,0: 11:[5, 26, 32] Operation: 61-29=32
Exploring Operation: 61-26=35, Resulting Numbers: [29, 5, 35]
Generated Node #0,1: 11:[29, 5, 35] Operation: 61-26=35
Exploring Operation: 29-5=24, Resulting Numbers: [61, 26, 24]
Generated Node #0,2: 11:[61, 26, 24] Operation: 29-5=24
Exploring Operation: 29-26=3, Resulting Numbers: [5, 61, 3]
Generated Node #0,3: 11:[5, 61, 3] Operation: 29-26=3
Exploring Operation: 61-5=56, Resulting Numbers: [29, 26, 56]
Generated Node #0,4: 11:[29, 26, 56] Operation: 61-5=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[5, 26, 32], Operations: ['61-29=32']
Exploring Operation: 32-26=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 11:[5, 6] Operation: 32-26=6
Exploring Operation: 26-5=21, Resulting Numbers: [32, 21]
Generated Node #0,0,1: 11:[32, 21] Operation: 26-5=21
Exploring Operation: 32-5=27, Resulting Numbers: [26, 27]
Generated Node #0,0,2: 11:[26, 27] Operation: 32-5=27
Exploring Operation: 5+26=31, Resulting Numbers: [32, 31]
Generated Node #0,0,3: 11:[32, 31] Operation: 5+26=31
Exploring Operation: 5+32=37, Resulting Numbers: [26, 37]
Generated Node #0,0,4: 11:[26, 37] Operation: 5+32=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[5, 6], Operations: ['61-29=32', '32-26=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[29, 5, 61, 26], Operations: []
Exploring Operation: 61-29=32, Resulting Numbers: [5, 26, 32]
Generated Node #0,0: 11:[5, 26, 32] Operation: 61-29=32
Moving to Node #0,0
Current State: 11:[5, 26, 32], Operations: ['61-29=32']
Exploring Operation: 32-26=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 11:[5, 6] Operation: 32-26=6
Moving to Node #0,0,0
Current State: 11:[5, 6], Operations: ['61-29=32', '32-26=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
78,
24,
57,
90
] | 39 | [
"78*57=4446",
"24+90=114",
"4446/114=39"
] | Current State: 39:[78, 24, 57, 90], Operations: []
Exploring Operation: 78*57=4446, Resulting Numbers: [24, 90, 4446]
Generated Node #2: [24, 90, 4446] from Operation: 78*57=4446
Current State: 39:[24, 90, 4446], Operations: ['78*57=4446']
Exploring Operation: 24+90=114, Resulting Numbers: [4446, 114]
Generated Node #3: [4446, 114] from Operation: 24+90=114
Current State: 39:[4446, 114], Operations: ['78*57=4446', '24+90=114']
Exploring Operation: 4446/114=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[78, 24, 57, 90], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [78, 24, 33]
Generated Node #0,0: 39:[78, 24, 33] Operation: 90-57=33
Exploring Operation: 90-78=12, Resulting Numbers: [24, 57, 12]
Generated Node #0,1: 39:[24, 57, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[24, 57, 12], Operations: ['90-78=12']
Exploring Operation: 57-12=45, Resulting Numbers: [24, 45]
Generated Node #0,1,0: 39:[24, 45] Operation: 57-12=45
Exploring Operation: 57-24=33, Resulting Numbers: [12, 33]
Generated Node #0,1,1: 39:[12, 33] Operation: 57-24=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[12, 33], Operations: ['90-78=12', '57-24=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[24, 45], Operations: ['90-78=12', '57-12=45']
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[78, 24, 33], Operations: ['90-57=33']
Exploring Operation: 78-33=45, Resulting Numbers: [24, 45]
Generated Node #0,0,0: 39:[24, 45] Operation: 78-33=45
Exploring Operation: 78-24=54, Resulting Numbers: [33, 54]
Generated Node #0,0,1: 39:[33, 54] Operation: 78-24=54
Moving to Node #0,0,0
Current State: 39:[24, 45], Operations: ['90-57=33', '78-33=45']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[33, 54], Operations: ['90-57=33', '78-24=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,39 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 |
[
58,
82,
6,
69
] | 51 | [
"82-58=24",
"6+69=75",
"75-24=51"
] | Current State: 51:[58, 82, 6, 69], Operations: []
Exploring Operation: 82-58=24, Resulting Numbers: [6, 69, 24]
Generated Node #2: [6, 69, 24] from Operation: 82-58=24
Current State: 51:[6, 69, 24], Operations: ['82-58=24']
Exploring Operation: 6+69=75, Resulting Numbers: [24, 75]
Generated Node #3: [24, 75] from Operation: 6+69=75
Current State: 51:[24, 75], Operations: ['82-58=24', '6+69=75']
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[58, 82, 6, 69], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [58, 6, 13]
Generated Node #0,0: 51:[58, 6, 13] Operation: 82-69=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[58, 6, 13], Operations: ['82-69=13']
Exploring Operation: 58-6=52, Resulting Numbers: [13, 52]
Generated Node #0,0,0: 51:[13, 52] Operation: 58-6=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[13, 52], Operations: ['82-69=13', '58-6=52']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
25,
77,
88,
44
] | 100 | [
"25+77=102",
"88/44=2",
"102-2=100"
] | Current State: 100:[25, 77, 88, 44], Operations: []
Exploring Operation: 25+77=102, Resulting Numbers: [88, 44, 102]
Generated Node #2: [88, 44, 102] from Operation: 25+77=102
Current State: 100:[88, 44, 102], Operations: ['25+77=102']
Exploring Operation: 88/44=2, Resulting Numbers: [102, 2]
Generated Node #3: [102, 2] from Operation: 88/44=2
Current State: 100:[102, 2], Operations: ['25+77=102', '88/44=2']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[25, 77, 88, 44], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [25, 44, 11]
Generated Node #0,0: 100:[25, 44, 11] Operation: 88-77=11
Exploring Operation: 25+77=102, Resulting Numbers: [88, 44, 102]
Generated Node #0,1: 100:[88, 44, 102] Operation: 25+77=102
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[25, 44, 11], Operations: ['88-77=11']
Exploring Operation: 44/11=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 44/11=4
Exploring Operation: 44-25=19, Resulting Numbers: [11, 19]
Generated Node #0,0,1: 100:[11, 19] Operation: 44-25=19
Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['88-77=11', '44/11=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[25, 77, 88, 44], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [25, 44, 11]
Generated Node #0,0: 100:[25, 44, 11] Operation: 88-77=11
Moving to Node #0,0
Current State: 100:[25, 44, 11], Operations: ['88-77=11']
Exploring Operation: 44/11=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 44/11=4
Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['88-77=11', '44/11=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
68,
96,
16,
42
] | 94 | [
"68+16=84",
"84/42=2",
"96-2=94"
] | Current State: 94:[68, 96, 16, 42], Operations: []
Exploring Operation: 68+16=84, Resulting Numbers: [96, 42, 84]
Generated Node #2: [96, 42, 84] from Operation: 68+16=84
Current State: 94:[96, 42, 84], Operations: ['68+16=84']
Exploring Operation: 84/42=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 84/42=2
Current State: 94:[96, 2], Operations: ['68+16=84', '84/42=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[68, 96, 16, 42], Operations: []
Exploring Operation: 68+16=84, Resulting Numbers: [96, 42, 84]
Generated Node #0,0: 94:[96, 42, 84] Operation: 68+16=84
Exploring Operation: 68-16=52, Resulting Numbers: [96, 42, 52]
Generated Node #0,1: 94:[96, 42, 52] Operation: 68-16=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[96, 42, 52], Operations: ['68-16=52']
Exploring Operation: 42+52=94, Resulting Numbers: [96, 94]
Generated Node #0,1,0: 94:[96, 94] Operation: 42+52=94
Exploring Operation: 96-52=44, Resulting Numbers: [42, 44]
Generated Node #0,1,1: 94:[42, 44] Operation: 96-52=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[96, 94], Operations: ['68-16=52', '42+52=94']
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 96+94=190, Resulting Numbers: [190]
190,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[42, 44], Operations: ['68-16=52', '96-52=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[96, 42, 84], Operations: ['68+16=84']
Exploring Operation: 84-42=42, Resulting Numbers: [96, 42]
Generated Node #0,0,0: 94:[96, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 94:[96, 2] Operation: 84/42=2
Moving to Node #0,0,1
Current State: 94:[96, 2], Operations: ['68+16=84', '84/42=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[68, 96, 16, 42], Operations: []
Exploring Operation: 68+16=84, Resulting Numbers: [96, 42, 84]
Generated Node #0,0: 94:[96, 42, 84] Operation: 68+16=84
Moving to Node #0,0
Current State: 94:[96, 42, 84], Operations: ['68+16=84']
Exploring Operation: 84/42=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 94:[96, 2] Operation: 84/42=2
Moving to Node #0,0,1
Current State: 94:[96, 2], Operations: ['68+16=84', '84/42=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
64,
26,
31,
76
] | 28 | [
"64+76=140",
"31-26=5",
"140/5=28"
] | Current State: 28:[64, 26, 31, 76], Operations: []
Exploring Operation: 64+76=140, Resulting Numbers: [26, 31, 140]
Generated Node #2: [26, 31, 140] from Operation: 64+76=140
Current State: 28:[26, 31, 140], Operations: ['64+76=140']
Exploring Operation: 31-26=5, Resulting Numbers: [140, 5]
Generated Node #3: [140, 5] from Operation: 31-26=5
Current State: 28:[140, 5], Operations: ['64+76=140', '31-26=5']
Exploring Operation: 140/5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[64, 26, 31, 76], Operations: []
Exploring Operation: 76-31=45, Resulting Numbers: [64, 26, 45]
Generated Node #0,0: 28:[64, 26, 45] Operation: 76-31=45
Exploring Operation: 76-64=12, Resulting Numbers: [26, 31, 12]
Generated Node #0,1: 28:[26, 31, 12] Operation: 76-64=12
Exploring Operation: 64-26=38, Resulting Numbers: [31, 76, 38]
Generated Node #0,2: 28:[31, 76, 38] Operation: 64-26=38
Exploring Operation: 64-31=33, Resulting Numbers: [26, 76, 33]
Generated Node #0,3: 28:[26, 76, 33] Operation: 64-31=33
Moving to Node #0,1
Current State: 28:[26, 31, 12], Operations: ['76-64=12']
Exploring Operation: 31-26=5, Resulting Numbers: [12, 5]
Generated Node #0,1,0: 28:[12, 5] Operation: 31-26=5
Exploring Operation: 31-12=19, Resulting Numbers: [26, 19]
Generated Node #0,1,1: 28:[26, 19] Operation: 31-12=19
Exploring Operation: 26+12=38, Resulting Numbers: [31, 38]
Generated Node #0,1,2: 28:[31, 38] Operation: 26+12=38
Exploring Operation: 26-12=14, Resulting Numbers: [31, 14]
Generated Node #0,1,3: 28:[31, 14] Operation: 26-12=14
Moving to Node #0,3
Current State: 28:[26, 76, 33], Operations: ['64-31=33']
Exploring Operation: 76-26=50, Resulting Numbers: [33, 50]
Generated Node #0,3,0: 28:[33, 50] Operation: 76-26=50
Exploring Operation: 33-26=7, Resulting Numbers: [76, 7]
Generated Node #0,3,1: 28:[76, 7] Operation: 33-26=7
Exploring Operation: 76-33=43, Resulting Numbers: [26, 43]
Generated Node #0,3,2: 28:[26, 43] Operation: 76-33=43
Exploring Operation: 26+76=102, Resulting Numbers: [33, 102]
Generated Node #0,3,3: 28:[33, 102] Operation: 26+76=102
Moving to Node #0,0
Current State: 28:[64, 26, 45], Operations: ['76-31=45']
Exploring Operation: 64-26=38, Resulting Numbers: [45, 38]
Generated Node #0,0,0: 28:[45, 38] Operation: 64-26=38
Exploring Operation: 64+26=90, Resulting Numbers: [45, 90]
Generated Node #0,0,1: 28:[45, 90] Operation: 64+26=90
Exploring Operation: 64-45=19, Resulting Numbers: [26, 19]
Generated Node #0,0,2: 28:[26, 19] Operation: 64-45=19
Exploring Operation: 45-26=19, Resulting Numbers: [64, 19]
Generated Node #0,0,3: 28:[64, 19] Operation: 45-26=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[26, 19], Operations: ['76-31=45', '64-45=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[45, 38], Operations: ['76-31=45', '64-26=38']
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,28 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 28:[64, 19], Operations: ['76-31=45', '45-26=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,28 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[45, 90], Operations: ['76-31=45', '64+26=90']
Exploring Operation: 45+90=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 45*90=4050, Resulting Numbers: [4050]
4050,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 28:[31, 76, 38], Operations: ['64-26=38']
Exploring Operation: 76-31=45, Resulting Numbers: [38, 45]
Generated Node #0,2,0: 28:[38, 45] Operation: 76-31=45
Exploring Operation: 76/38=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 28:[31, 2] Operation: 76/38=2
Exploring Operation: 38-31=7, Resulting Numbers: [76, 7]
Generated Node #0,2,2: 28:[76, 7] Operation: 38-31=7
Exploring Operation: 76-38=38, Resulting Numbers: [31, 38]
Generated Node #0,2,3: 28:[31, 38] Operation: 76-38=38
Moving to Node #0,1,0
Current State: 28:[12, 5], Operations: ['76-64=12', '31-26=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[31, 14], Operations: ['76-64=12', '26-12=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,28 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[31, 2], Operations: ['64-26=38', '76/38=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[26, 19], Operations: ['76-64=12', '31-12=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,28 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[31, 38], Operations: ['64-26=38', '76-38=38']
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,28 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[31, 38], Operations: ['76-64=12', '26+12=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[26, 43], Operations: ['64-31=33', '76-33=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[33, 50], Operations: ['64-31=33', '76-26=50']
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,28 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[38, 45], Operations: ['64-26=38', '76-31=45']
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,28 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[76, 7], Operations: ['64-26=38', '38-31=7']
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[76, 7], Operations: ['64-31=33', '33-26=7']
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,28 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[33, 102], Operations: ['64-31=33', '26+76=102']
Exploring Operation: 33+102=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 33*102=3366, Resulting Numbers: [3366]
3366,28 unequal: No Solution
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,28 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
42,
52,
54
] | 32 | [
"72-42=30",
"54-52=2",
"30+2=32"
] | Current State: 32:[72, 42, 52, 54], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [52, 54, 30]
Generated Node #2: [52, 54, 30] from Operation: 72-42=30
Current State: 32:[52, 54, 30], Operations: ['72-42=30']
Exploring Operation: 54-52=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 54-52=2
Current State: 32:[30, 2], Operations: ['72-42=30', '54-52=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[72, 42, 52, 54], Operations: []
Exploring Operation: 72-54=18, Resulting Numbers: [42, 52, 18]
Generated Node #0,0: 32:[42, 52, 18] Operation: 72-54=18
Exploring Operation: 72-52=20, Resulting Numbers: [42, 54, 20]
Generated Node #0,1: 32:[42, 54, 20] Operation: 72-52=20
Moving to Node #0,0
Current State: 32:[42, 52, 18], Operations: ['72-54=18']
Exploring Operation: 52-18=34, Resulting Numbers: [42, 34]
Generated Node #0,0,0: 32:[42, 34] Operation: 52-18=34
Exploring Operation: 52-42=10, Resulting Numbers: [18, 10]
Generated Node #0,0,1: 32:[18, 10] Operation: 52-42=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[18, 10], Operations: ['72-54=18', '52-42=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[42, 34], Operations: ['72-54=18', '52-18=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 32:[42, 54, 20], Operations: ['72-52=20']
Exploring Operation: 54-20=34, Resulting Numbers: [42, 34]
Generated Node #0,1,0: 32:[42, 34] Operation: 54-20=34
Exploring Operation: 54-42=12, Resulting Numbers: [20, 12]
Generated Node #0,1,1: 32:[20, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[20, 12], Operations: ['72-52=20', '54-42=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[72, 42, 52, 54], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [42, 54, 20]
Generated Node #0,1: 32:[42, 54, 20] Operation: 72-52=20
Moving to Node #0,1
Current State: 32:[42, 54, 20], Operations: ['72-52=20']
Exploring Operation: 54-42=12, Resulting Numbers: [20, 12]
Generated Node #0,1,1: 32:[20, 12] Operation: 54-42=12
Moving to Node #0,1,1
Current State: 32:[20, 12], Operations: ['72-52=20', '54-42=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
37,
4,
21,
10
] | 18 | [
"37+21=58",
"4*10=40",
"58-40=18"
] | Current State: 18:[37, 4, 21, 10], Operations: []
Exploring Operation: 37+21=58, Resulting Numbers: [4, 10, 58]
Generated Node #2: [4, 10, 58] from Operation: 37+21=58
Current State: 18:[4, 10, 58], Operations: ['37+21=58']
Exploring Operation: 4*10=40, Resulting Numbers: [58, 40]
Generated Node #3: [58, 40] from Operation: 4*10=40
Current State: 18:[58, 40], Operations: ['37+21=58', '4*10=40']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[37, 4, 21, 10], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [4, 10, 16]
Generated Node #0,0: 18:[4, 10, 16] Operation: 37-21=16
Exploring Operation: 37-10=27, Resulting Numbers: [4, 21, 27]
Generated Node #0,1: 18:[4, 21, 27] Operation: 37-10=27
Exploring Operation: 37-4=33, Resulting Numbers: [21, 10, 33]
Generated Node #0,2: 18:[21, 10, 33] Operation: 37-4=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[4, 10, 16], Operations: ['37-21=16']
Exploring Operation: 16-10=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 18:[4, 6] Operation: 16-10=6
Exploring Operation: 16/4=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 18:[10, 4] Operation: 16/4=4
Exploring Operation: 10-4=6, Resulting Numbers: [16, 6]
Generated Node #0,0,2: 18:[16, 6] Operation: 10-4=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[4, 6], Operations: ['37-21=16', '16-10=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[10, 4], Operations: ['37-21=16', '16/4=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[16, 6], Operations: ['37-21=16', '10-4=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,18 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[4, 21, 27], Operations: ['37-10=27']
Exploring Operation: 27-21=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 18:[4, 6] Operation: 27-21=6
Exploring Operation: 27-4=23, Resulting Numbers: [21, 23]
Generated Node #0,1,1: 18:[21, 23] Operation: 27-4=23
Exploring Operation: 21-4=17, Resulting Numbers: [27, 17]
Generated Node #0,1,2: 18:[27, 17] Operation: 21-4=17
Moving to Node #0,1,0
Current State: 18:[4, 6], Operations: ['37-10=27', '27-21=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[21, 23], Operations: ['37-10=27', '27-4=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[27, 17], Operations: ['37-10=27', '21-4=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,18 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[21, 10, 33], Operations: ['37-4=33']
Exploring Operation: 33-21=12, Resulting Numbers: [10, 12]
Generated Node #0,2,0: 18:[10, 12] Operation: 33-21=12
Exploring Operation: 21-10=11, Resulting Numbers: [33, 11]
Generated Node #0,2,1: 18:[33, 11] Operation: 21-10=11
Exploring Operation: 33-10=23, Resulting Numbers: [21, 23]
Generated Node #0,2,2: 18:[21, 23] Operation: 33-10=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[10, 12], Operations: ['37-4=33', '33-21=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[21, 23], Operations: ['37-4=33', '33-10=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,18 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[33, 11], Operations: ['37-4=33', '21-10=11']
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
48,
96,
18
] | 26 | [
"64*18=1152",
"96+1152=1248",
"1248/48=26"
] | Current State: 26:[64, 48, 96, 18], Operations: []
Exploring Operation: 64*18=1152, Resulting Numbers: [48, 96, 1152]
Generated Node #2: [48, 96, 1152] from Operation: 64*18=1152
Current State: 26:[48, 96, 1152], Operations: ['64*18=1152']
Exploring Operation: 96+1152=1248, Resulting Numbers: [48, 1248]
Generated Node #3: [48, 1248] from Operation: 96+1152=1248
Current State: 26:[48, 1248], Operations: ['64*18=1152', '96+1152=1248']
Exploring Operation: 1248/48=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[64, 48, 96, 18], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [64, 18, 2]
Generated Node #0,0: 26:[64, 18, 2] Operation: 96/48=2
Exploring Operation: 64-48=16, Resulting Numbers: [96, 18, 16]
Generated Node #0,1: 26:[96, 18, 16] Operation: 64-48=16
Exploring Operation: 96-48=48, Resulting Numbers: [64, 18, 48]
Generated Node #0,2: 26:[64, 18, 48] Operation: 96-48=48
Exploring Operation: 96-64=32, Resulting Numbers: [48, 18, 32]
Generated Node #0,3: 26:[48, 18, 32] Operation: 96-64=32
Moving to Node #0,3
Current State: 26:[48, 18, 32], Operations: ['96-64=32']
Exploring Operation: 48-18=30, Resulting Numbers: [32, 30]
Generated Node #0,3,0: 26:[32, 30] Operation: 48-18=30
Exploring Operation: 48-32=16, Resulting Numbers: [18, 16]
Generated Node #0,3,1: 26:[18, 16] Operation: 48-32=16
Exploring Operation: 32-18=14, Resulting Numbers: [48, 14]
Generated Node #0,3,2: 26:[48, 14] Operation: 32-18=14
Exploring Operation: 48+18=66, Resulting Numbers: [32, 66]
Generated Node #0,3,3: 26:[32, 66] Operation: 48+18=66
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[18, 16], Operations: ['96-64=32', '48-32=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[32, 30], Operations: ['96-64=32', '48-18=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,26 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[48, 14], Operations: ['96-64=32', '32-18=14']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,26 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[32, 66], Operations: ['96-64=32', '48+18=66']
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,26 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,26 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: 26:[64, 18, 2], Operations: ['96/48=2']
Exploring Operation: 64/2=32, Resulting Numbers: [18, 32]
Generated Node #0,0,0: 26:[18, 32] Operation: 64/2=32
Exploring Operation: 64-18=46, Resulting Numbers: [2, 46]
Generated Node #0,0,1: 26:[2, 46] Operation: 64-18=46
Exploring Operation: 64-2=62, Resulting Numbers: [18, 62]
Generated Node #0,0,2: 26:[18, 62] Operation: 64-2=62
Exploring Operation: 18-2=16, Resulting Numbers: [64, 16]
Generated Node #0,0,3: 26:[64, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[18, 32], Operations: ['96/48=2', '64/2=32']
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,26 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[2, 46], Operations: ['96/48=2', '64-18=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[18, 62], Operations: ['96/48=2', '64-2=62']
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,26 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[64, 16], Operations: ['96/48=2', '18-2=16']
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,26 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,26 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: 26:[64, 18, 48], Operations: ['96-48=48']
Exploring Operation: 48-18=30, Resulting Numbers: [64, 30]
Generated Node #0,2,0: 26:[64, 30] Operation: 48-18=30
Exploring Operation: 64+18=82, Resulting Numbers: [48, 82]
Generated Node #0,2,1: 26:[48, 82] Operation: 64+18=82
Exploring Operation: 64-18=46, Resulting Numbers: [48, 46]
Generated Node #0,2,2: 26:[48, 46] Operation: 64-18=46
Exploring Operation: 64-48=16, Resulting Numbers: [18, 16]
Generated Node #0,2,3: 26:[18, 16] Operation: 64-48=16
Moving to Node #0,1
Current State: 26:[96, 18, 16], Operations: ['64-48=16']
Exploring Operation: 18-16=2, Resulting Numbers: [96, 2]
Generated Node #0,1,0: 26:[96, 2] Operation: 18-16=2
Exploring Operation: 96-16=80, Resulting Numbers: [18, 80]
Generated Node #0,1,1: 26:[18, 80] Operation: 96-16=80
Exploring Operation: 96-18=78, Resulting Numbers: [16, 78]
Generated Node #0,1,2: 26:[16, 78] Operation: 96-18=78
Exploring Operation: 96/16=6, Resulting Numbers: [18, 6]
Generated Node #0,1,3: 26:[18, 6] Operation: 96/16=6
Moving to Node #0,2,3
Current State: 26:[18, 16], Operations: ['96-48=48', '64-48=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,26 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[18, 6], Operations: ['64-48=16', '96/16=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[48, 46], Operations: ['96-48=48', '64-18=46']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,26 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[64, 30], Operations: ['96-48=48', '48-18=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,26 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[16, 78], Operations: ['64-48=16', '96-18=78']
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,26 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,26 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[18, 80], Operations: ['64-48=16', '96-16=80']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 18+80=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 18*80=1440, Resulting Numbers: [1440]
1440,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[96, 2], Operations: ['64-48=16', '18-16=2']
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,26 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,26 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[48, 82], Operations: ['96-48=48', '64+18=82']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,26 unequal: No Solution
Exploring Operation: 48*82=3936, Resulting Numbers: [3936]
3936,26 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
42,
40,
9
] | 41 | [
"42-40=2",
"64/2=32",
"9+32=41"
] | Current State: 41:[64, 42, 40, 9], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [64, 9, 2]
Generated Node #2: [64, 9, 2] from Operation: 42-40=2
Current State: 41:[64, 9, 2], Operations: ['42-40=2']
Exploring Operation: 64/2=32, Resulting Numbers: [9, 32]
Generated Node #3: [9, 32] from Operation: 64/2=32
Current State: 41:[9, 32], Operations: ['42-40=2', '64/2=32']
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[64, 42, 40, 9], Operations: []
Exploring Operation: 42+9=51, Resulting Numbers: [64, 40, 51]
Generated Node #0,0: 41:[64, 40, 51] Operation: 42+9=51
Exploring Operation: 64-9=55, Resulting Numbers: [42, 40, 55]
Generated Node #0,1: 41:[42, 40, 55] Operation: 64-9=55
Exploring Operation: 40+9=49, Resulting Numbers: [64, 42, 49]
Generated Node #0,2: 41:[64, 42, 49] Operation: 40+9=49
Exploring Operation: 64+9=73, Resulting Numbers: [42, 40, 73]
Generated Node #0,3: 41:[42, 40, 73] Operation: 64+9=73
Exploring Operation: 42-9=33, Resulting Numbers: [64, 40, 33]
Generated Node #0,4: 41:[64, 40, 33] Operation: 42-9=33
Moving to Node #0,1
Current State: 41:[42, 40, 55], Operations: ['64-9=55']
Exploring Operation: 55-42=13, Resulting Numbers: [40, 13]
Generated Node #0,1,0: 41:[40, 13] Operation: 55-42=13
Exploring Operation: 55-40=15, Resulting Numbers: [42, 15]
Generated Node #0,1,1: 41:[42, 15] Operation: 55-40=15
Exploring Operation: 40+55=95, Resulting Numbers: [42, 95]
Generated Node #0,1,2: 41:[42, 95] Operation: 40+55=95
Exploring Operation: 42+40=82, Resulting Numbers: [55, 82]
Generated Node #0,1,3: 41:[55, 82] Operation: 42+40=82
Exploring Operation: 42-40=2, Resulting Numbers: [55, 2]
Generated Node #0,1,4: 41:[55, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[42, 15], Operations: ['64-9=55', '55-40=15']
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,41 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[40, 13], Operations: ['64-9=55', '55-42=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,41 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[55, 2], Operations: ['64-9=55', '42-40=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[42, 95], Operations: ['64-9=55', '40+55=95']
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 42*95=3990, Resulting Numbers: [3990]
3990,41 unequal: No Solution
Exploring Operation: 42+95=137, Resulting Numbers: [137]
137,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[55, 82], Operations: ['64-9=55', '42+40=82']
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,41 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 41:[64, 40, 33], Operations: ['42-9=33']
Exploring Operation: 40-33=7, Resulting Numbers: [64, 7]
Generated Node #0,4,0: 41:[64, 7] Operation: 40-33=7
Exploring Operation: 64+33=97, Resulting Numbers: [40, 97]
Generated Node #0,4,1: 41:[40, 97] Operation: 64+33=97
Exploring Operation: 64-40=24, Resulting Numbers: [33, 24]
Generated Node #0,4,2: 41:[33, 24] Operation: 64-40=24
Exploring Operation: 64-33=31, Resulting Numbers: [40, 31]
Generated Node #0,4,3: 41:[40, 31] Operation: 64-33=31
Exploring Operation: 40+33=73, Resulting Numbers: [64, 73]
Generated Node #0,4,4: 41:[64, 73] Operation: 40+33=73
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[40, 31], Operations: ['42-9=33', '64-33=31']
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,41 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[33, 24], Operations: ['42-9=33', '64-40=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[64, 73], Operations: ['42-9=33', '40+33=73']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,41 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[64, 7], Operations: ['42-9=33', '40-33=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,41 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[40, 97], Operations: ['42-9=33', '64+33=97']
Exploring Operation: 40+97=137, Resulting Numbers: [137]
137,41 unequal: No Solution
Exploring Operation: 40*97=3880, Resulting Numbers: [3880]
3880,41 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,41 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: 41:[64, 42, 49], Operations: ['40+9=49']
Exploring Operation: 49-42=7, Resulting Numbers: [64, 7]
Generated Node #0,2,0: 41:[64, 7] Operation: 49-42=7
Exploring Operation: 64-42=22, Resulting Numbers: [49, 22]
Generated Node #0,2,1: 41:[49, 22] Operation: 64-42=22
Exploring Operation: 64+49=113, Resulting Numbers: [42, 113]
Generated Node #0,2,2: 41:[42, 113] Operation: 64+49=113
Exploring Operation: 64+42=106, Resulting Numbers: [49, 106]
Generated Node #0,2,3: 41:[49, 106] Operation: 64+42=106
Exploring Operation: 64-49=15, Resulting Numbers: [42, 15]
Generated Node #0,2,4: 41:[42, 15] Operation: 64-49=15
Moving to Node #0,0
Current State: 41:[64, 40, 51], Operations: ['42+9=51']
Exploring Operation: 64-51=13, Resulting Numbers: [40, 13]
Generated Node #0,0,0: 41:[40, 13] Operation: 64-51=13
Exploring Operation: 64+40=104, Resulting Numbers: [51, 104]
Generated Node #0,0,1: 41:[51, 104] Operation: 64+40=104
Exploring Operation: 51-40=11, Resulting Numbers: [64, 11]
Generated Node #0,0,2: 41:[64, 11] Operation: 51-40=11
Exploring Operation: 64-40=24, Resulting Numbers: [51, 24]
Generated Node #0,0,3: 41:[51, 24] Operation: 64-40=24
Exploring Operation: 40+51=91, Resulting Numbers: [64, 91]
Generated Node #0,0,4: 41:[64, 91] Operation: 40+51=91
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[51, 24], Operations: ['42+9=51', '64-40=24']
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[40, 13], Operations: ['42+9=51', '64-51=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[64, 11], Operations: ['42+9=51', '51-40=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,41 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[51, 104], Operations: ['42+9=51', '64+40=104']
Exploring Operation: 51+104=155, Resulting Numbers: [155]
155,41 unequal: No Solution
Exploring Operation: 104-51=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 51*104=5304, Resulting Numbers: [5304]
5304,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 41:[64, 91], Operations: ['42+9=51', '40+51=91']
Exploring Operation: 64*91=5824, Resulting Numbers: [5824]
5824,41 unequal: No Solution
Exploring Operation: 64+91=155, Resulting Numbers: [155]
155,41 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,41 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: 41:[42, 40, 73], Operations: ['64+9=73']
Exploring Operation: 73-40=33, Resulting Numbers: [42, 33]
Generated Node #0,3,0: 41:[42, 33] Operation: 73-40=33
Exploring Operation: 73-42=31, Resulting Numbers: [40, 31]
Generated Node #0,3,1: 41:[40, 31] Operation: 73-42=31
Exploring Operation: 42-40=2, Resulting Numbers: [73, 2]
Generated Node #0,3,2: 41:[73, 2] Operation: 42-40=2
Exploring Operation: 40+73=113, Resulting Numbers: [42, 113]
Generated Node #0,3,3: 41:[42, 113] Operation: 40+73=113
Exploring Operation: 42+40=82, Resulting Numbers: [73, 82]
Generated Node #0,3,4: 41:[73, 82] Operation: 42+40=82
Moving to Node #0,3,0
Current State: 41:[42, 33], Operations: ['64+9=73', '73-40=33']
Exploring Operation: 42+33=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 42*33=1386, Resulting Numbers: [1386]
1386,41 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[40, 31], Operations: ['64+9=73', '73-42=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[49, 22], Operations: ['40+9=49', '64-42=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,41 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[42, 15], Operations: ['40+9=49', '64-49=15']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,41 unequal: No Solution
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[64, 7], Operations: ['40+9=49', '49-42=7']
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,41 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[73, 2], Operations: ['64+9=73', '42-40=2']
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,41 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[42, 113], Operations: ['64+9=73', '40+73=113']
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,41 unequal: No Solution
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,41 unequal: No Solution
Moving to Node #0,3,4
Current State: 41:[73, 82], Operations: ['64+9=73', '42+40=82']
Exploring Operation: 73+82=155, Resulting Numbers: [155]
155,41 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 73*82=5986, Resulting Numbers: [5986]
5986,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[49, 106], Operations: ['40+9=49', '64+42=106']
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,41 unequal: No Solution
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[42, 113], Operations: ['40+9=49', '64+49=113']
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,41 unequal: No Solution
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,41 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
6,
57,
42
] | 73 | [
"54+42=96",
"96/6=16",
"57+16=73"
] | Current State: 73:[54, 6, 57, 42], Operations: []
Exploring Operation: 54+42=96, Resulting Numbers: [6, 57, 96]
Generated Node #2: [6, 57, 96] from Operation: 54+42=96
Current State: 73:[6, 57, 96], Operations: ['54+42=96']
Exploring Operation: 96/6=16, Resulting Numbers: [57, 16]
Generated Node #3: [57, 16] from Operation: 96/6=16
Current State: 73:[57, 16], Operations: ['54+42=96', '96/6=16']
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[54, 6, 57, 42], Operations: []
Exploring Operation: 6+57=63, Resulting Numbers: [54, 42, 63]
Generated Node #0,0: 73:[54, 42, 63] Operation: 6+57=63
Exploring Operation: 54+6=60, Resulting Numbers: [57, 42, 60]
Generated Node #0,1: 73:[57, 42, 60] Operation: 54+6=60
Moving to Node #0,0
Current State: 73:[54, 42, 63], Operations: ['6+57=63']
Exploring Operation: 54+42=96, Resulting Numbers: [63, 96]
Generated Node #0,0,0: 73:[63, 96] Operation: 54+42=96
Exploring Operation: 42+63=105, Resulting Numbers: [54, 105]
Generated Node #0,0,1: 73:[54, 105] Operation: 42+63=105
Moving to Node #0,1
Current State: 73:[57, 42, 60], Operations: ['54+6=60']
Exploring Operation: 57+42=99, Resulting Numbers: [60, 99]
Generated Node #0,1,0: 73:[60, 99] Operation: 57+42=99
Exploring Operation: 42+60=102, Resulting Numbers: [57, 102]
Generated Node #0,1,1: 73:[57, 102] Operation: 42+60=102
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[60, 99], Operations: ['54+6=60', '57+42=99']
Exploring Operation: 60+99=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[57, 102], Operations: ['54+6=60', '42+60=102']
Exploring Operation: 57+102=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 102-57=45, Resulting Numbers: [45]
45,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 73:[63, 96], Operations: ['6+57=63', '54+42=96']
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 63+96=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[54, 105], Operations: ['6+57=63', '42+63=105']
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,73 unequal: No Solution
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,73 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
24,
3,
39,
19
] | 28 | [
"24/3=8",
"39-19=20",
"8+20=28"
] | Current State: 28:[24, 3, 39, 19], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [39, 19, 8]
Generated Node #2: [39, 19, 8] from Operation: 24/3=8
Current State: 28:[39, 19, 8], Operations: ['24/3=8']
Exploring Operation: 39-19=20, Resulting Numbers: [8, 20]
Generated Node #3: [8, 20] from Operation: 39-19=20
Current State: 28:[8, 20], Operations: ['24/3=8', '39-19=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[24, 3, 39, 19], Operations: []
Exploring Operation: 39-24=15, Resulting Numbers: [3, 19, 15]
Generated Node #0,0: 28:[3, 19, 15] Operation: 39-24=15
Exploring Operation: 39-19=20, Resulting Numbers: [24, 3, 20]
Generated Node #0,1: 28:[24, 3, 20] Operation: 39-19=20
Exploring Operation: 24-19=5, Resulting Numbers: [3, 39, 5]
Generated Node #0,2: 28:[3, 39, 5] Operation: 24-19=5
Exploring Operation: 39/3=13, Resulting Numbers: [24, 19, 13]
Generated Node #0,3: 28:[24, 19, 13] Operation: 39/3=13
Exploring Operation: 24+3=27, Resulting Numbers: [39, 19, 27]
Generated Node #0,4: 28:[39, 19, 27] Operation: 24+3=27
Moving to Node #0,0
Current State: 28:[3, 19, 15], Operations: ['39-24=15']
Exploring Operation: 15-3=12, Resulting Numbers: [19, 12]
Generated Node #0,0,0: 28:[19, 12] Operation: 15-3=12
Exploring Operation: 19-3=16, Resulting Numbers: [15, 16]
Generated Node #0,0,1: 28:[15, 16] Operation: 19-3=16
Exploring Operation: 19-15=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 28:[3, 4] Operation: 19-15=4
Exploring Operation: 3+19=22, Resulting Numbers: [15, 22]
Generated Node #0,0,3: 28:[15, 22] Operation: 3+19=22
Exploring Operation: 15/3=5, Resulting Numbers: [19, 5]
Generated Node #0,0,4: 28:[19, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[3, 4], Operations: ['39-24=15', '19-15=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[15, 16], Operations: ['39-24=15', '19-3=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 28:[19, 5], Operations: ['39-24=15', '15/3=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,28 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[19, 12], Operations: ['39-24=15', '15-3=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 28:[15, 22], Operations: ['39-24=15', '3+19=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,28 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,28 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: 28:[24, 19, 13], Operations: ['39/3=13']
Exploring Operation: 24+13=37, Resulting Numbers: [19, 37]
Generated Node #0,3,0: 28:[19, 37] Operation: 24+13=37
Exploring Operation: 19-13=6, Resulting Numbers: [24, 6]
Generated Node #0,3,1: 28:[24, 6] Operation: 19-13=6
Exploring Operation: 19+13=32, Resulting Numbers: [24, 32]
Generated Node #0,3,2: 28:[24, 32] Operation: 19+13=32
Exploring Operation: 24-13=11, Resulting Numbers: [19, 11]
Generated Node #0,3,3: 28:[19, 11] Operation: 24-13=11
Exploring Operation: 24-19=5, Resulting Numbers: [13, 5]
Generated Node #0,3,4: 28:[13, 5] Operation: 24-19=5
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 28:[13, 5], Operations: ['39/3=13', '24-19=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[24, 6], Operations: ['39/3=13', '19-13=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,28 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[24, 32], Operations: ['39/3=13', '19+13=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,28 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[19, 11], Operations: ['39/3=13', '24-13=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,28 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[19, 37], Operations: ['39/3=13', '24+13=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,28 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: 28:[24, 3, 20], Operations: ['39-19=20']
Exploring Operation: 3+20=23, Resulting Numbers: [24, 23]
Generated Node #0,1,0: 28:[24, 23] Operation: 3+20=23
Exploring Operation: 24+3=27, Resulting Numbers: [20, 27]
Generated Node #0,1,1: 28:[20, 27] Operation: 24+3=27
Exploring Operation: 20-3=17, Resulting Numbers: [24, 17]
Generated Node #0,1,2: 28:[24, 17] Operation: 20-3=17
Exploring Operation: 24/3=8, Resulting Numbers: [20, 8]
Generated Node #0,1,3: 28:[20, 8] Operation: 24/3=8
Exploring Operation: 24-20=4, Resulting Numbers: [3, 4]
Generated Node #0,1,4: 28:[3, 4] Operation: 24-20=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[3, 4], Operations: ['39-19=20', '24-20=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[20, 27], Operations: ['39-19=20', '24+3=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[24, 17], Operations: ['39-19=20', '20-3=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,28 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[20, 8], Operations: ['39-19=20', '24/3=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[24, 3, 39, 19], Operations: []
Exploring Operation: 39-19=20, Resulting Numbers: [24, 3, 20]
Generated Node #0,1: 28:[24, 3, 20] Operation: 39-19=20
Moving to Node #0,1
Current State: 28:[24, 3, 20], Operations: ['39-19=20']
Exploring Operation: 24/3=8, Resulting Numbers: [20, 8]
Generated Node #0,1,3: 28:[20, 8] Operation: 24/3=8
Moving to Node #0,1,3
Current State: 28:[20, 8], Operations: ['39-19=20', '24/3=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | mult_heuristic |
[
52,
23,
15,
12
] | 48 | [
"52+23=75",
"15+12=27",
"75-27=48"
] | Current State: 48:[52, 23, 15, 12], Operations: []
Exploring Operation: 52+23=75, Resulting Numbers: [15, 12, 75]
Generated Node #2: [15, 12, 75] from Operation: 52+23=75
Current State: 48:[15, 12, 75], Operations: ['52+23=75']
Exploring Operation: 15+12=27, Resulting Numbers: [75, 27]
Generated Node #3: [75, 27] from Operation: 15+12=27
Current State: 48:[75, 27], Operations: ['52+23=75', '15+12=27']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[52, 23, 15, 12], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [52, 12, 8]
Generated Node #0,0: 48:[52, 12, 8] Operation: 23-15=8
Exploring Operation: 15-12=3, Resulting Numbers: [52, 23, 3]
Generated Node #0,1: 48:[52, 23, 3] Operation: 15-12=3
Exploring Operation: 52-23=29, Resulting Numbers: [15, 12, 29]
Generated Node #0,2: 48:[15, 12, 29] Operation: 52-23=29
Moving to Node #0,0
Current State: 48:[52, 12, 8], Operations: ['23-15=8']
Exploring Operation: 12-8=4, Resulting Numbers: [52, 4]
Generated Node #0,0,0: 48:[52, 4] Operation: 12-8=4
Exploring Operation: 52-8=44, Resulting Numbers: [12, 44]
Generated Node #0,0,1: 48:[12, 44] Operation: 52-8=44
Exploring Operation: 52-12=40, Resulting Numbers: [8, 40]
Generated Node #0,0,2: 48:[8, 40] Operation: 52-12=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[52, 4], Operations: ['23-15=8', '12-8=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[52, 23, 15, 12], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [52, 12, 8]
Generated Node #0,0: 48:[52, 12, 8] Operation: 23-15=8
Moving to Node #0,0
Current State: 48:[52, 12, 8], Operations: ['23-15=8']
Exploring Operation: 12-8=4, Resulting Numbers: [52, 4]
Generated Node #0,0,0: 48:[52, 4] Operation: 12-8=4
Moving to Node #0,0,0
Current State: 48:[52, 4], Operations: ['23-15=8', '12-8=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
50,
86,
50,
74
] | 60 | [
"86-50=36",
"74-50=24",
"36+24=60"
] | Current State: 60:[50, 86, 50, 74], Operations: []
Exploring Operation: 86-50=36, Resulting Numbers: [74, 36]
Generated Node #2: [74, 36] from Operation: 86-50=36
Current State: 60:[74, 36], Operations: ['86-50=36']
Exploring Operation: 74-50=24, Resulting Numbers: [36, 24]
Generated Node #3: [36, 24] from Operation: 74-50=24
Current State: 60:[36, 24], Operations: ['86-50=36', '74-50=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[50, 86, 50, 74], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [50, 50, 12]
Generated Node #0,0: 60:[50, 50, 12] Operation: 86-74=12
Exploring Operation: 86-50=36, Resulting Numbers: [50, 74, 36]
Generated Node #0,1: 60:[50, 74, 36] Operation: 86-50=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[50, 50, 12], Operations: ['86-74=12']
Exploring Operation: 50-50=0, Resulting Numbers: [12, 0]
Generated Node #0,0,0: 60:[12, 0] Operation: 50-50=0
Exploring Operation: 50/50=1, Resulting Numbers: [12, 1]
Generated Node #0,0,1: 60:[12, 1] Operation: 50/50=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[12, 1], Operations: ['86-74=12', '50/50=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,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,0,0
Current State: 60:[12, 0], Operations: ['86-74=12', '50-50=0']
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[50, 74, 36], Operations: ['86-50=36']
Exploring Operation: 50-36=14, Resulting Numbers: [74, 14]
Generated Node #0,1,0: 60:[74, 14] Operation: 50-36=14
Exploring Operation: 74-50=24, Resulting Numbers: [36, 24]
Generated Node #0,1,1: 60:[36, 24] Operation: 74-50=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[36, 24], Operations: ['86-50=36', '74-50=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[50, 86, 50, 74], Operations: []
Exploring Operation: 86-50=36, Resulting Numbers: [50, 74, 36]
Generated Node #0,1: 60:[50, 74, 36] Operation: 86-50=36
Moving to Node #0,1
Current State: 60:[50, 74, 36], Operations: ['86-50=36']
Exploring Operation: 74-50=24, Resulting Numbers: [36, 24]
Generated Node #0,1,1: 60:[36, 24] Operation: 74-50=24
Moving to Node #0,1,1
Current State: 60:[36, 24], Operations: ['86-50=36', '74-50=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
93,
68,
64,
45
] | 84 | [
"93-68=25",
"64+45=109",
"109-25=84"
] | Current State: 84:[93, 68, 64, 45], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [64, 45, 25]
Generated Node #2: [64, 45, 25] from Operation: 93-68=25
Current State: 84:[64, 45, 25], Operations: ['93-68=25']
Exploring Operation: 64+45=109, Resulting Numbers: [25, 109]
Generated Node #3: [25, 109] from Operation: 64+45=109
Current State: 84:[25, 109], Operations: ['93-68=25', '64+45=109']
Exploring Operation: 109-25=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[93, 68, 64, 45], Operations: []
Exploring Operation: 64-45=19, Resulting Numbers: [93, 68, 19]
Generated Node #0,0: 84:[93, 68, 19] Operation: 64-45=19
Exploring Operation: 68-64=4, Resulting Numbers: [93, 45, 4]
Generated Node #0,1: 84:[93, 45, 4] Operation: 68-64=4
Exploring Operation: 68-45=23, Resulting Numbers: [93, 64, 23]
Generated Node #0,2: 84:[93, 64, 23] Operation: 68-45=23
Exploring Operation: 93-68=25, Resulting Numbers: [64, 45, 25]
Generated Node #0,3: 84:[64, 45, 25] Operation: 93-68=25
Exploring Operation: 93-64=29, Resulting Numbers: [68, 45, 29]
Generated Node #0,4: 84:[68, 45, 29] Operation: 93-64=29
Moving to Node #0,1
Current State: 84:[93, 45, 4], Operations: ['68-64=4']
Exploring Operation: 93-4=89, Resulting Numbers: [45, 89]
Generated Node #0,1,0: 84:[45, 89] Operation: 93-4=89
Exploring Operation: 45-4=41, Resulting Numbers: [93, 41]
Generated Node #0,1,1: 84:[93, 41] Operation: 45-4=41
Exploring Operation: 93-45=48, Resulting Numbers: [4, 48]
Generated Node #0,1,2: 84:[4, 48] Operation: 93-45=48
Exploring Operation: 93+4=97, Resulting Numbers: [45, 97]
Generated Node #0,1,3: 84:[45, 97] Operation: 93+4=97
Exploring Operation: 45+4=49, Resulting Numbers: [93, 49]
Generated Node #0,1,4: 84:[93, 49] Operation: 45+4=49
Moving to Node #0,4
Current State: 84:[68, 45, 29], Operations: ['93-64=29']
Exploring Operation: 68-45=23, Resulting Numbers: [29, 23]
Generated Node #0,4,0: 84:[29, 23] Operation: 68-45=23
Exploring Operation: 45-29=16, Resulting Numbers: [68, 16]
Generated Node #0,4,1: 84:[68, 16] Operation: 45-29=16
Exploring Operation: 45+29=74, Resulting Numbers: [68, 74]
Generated Node #0,4,2: 84:[68, 74] Operation: 45+29=74
Exploring Operation: 68-29=39, Resulting Numbers: [45, 39]
Generated Node #0,4,3: 84:[45, 39] Operation: 68-29=39
Exploring Operation: 68+29=97, Resulting Numbers: [45, 97]
Generated Node #0,4,4: 84:[45, 97] Operation: 68+29=97
Moving to Node #0,3
Current State: 84:[64, 45, 25], Operations: ['93-68=25']
Exploring Operation: 64+25=89, Resulting Numbers: [45, 89]
Generated Node #0,3,0: 84:[45, 89] Operation: 64+25=89
Exploring Operation: 45-25=20, Resulting Numbers: [64, 20]
Generated Node #0,3,1: 84:[64, 20] Operation: 45-25=20
Exploring Operation: 64-25=39, Resulting Numbers: [45, 39]
Generated Node #0,3,2: 84:[45, 39] Operation: 64-25=39
Exploring Operation: 64-45=19, Resulting Numbers: [25, 19]
Generated Node #0,3,3: 84:[25, 19] Operation: 64-45=19
Exploring Operation: 64+45=109, Resulting Numbers: [25, 109]
Generated Node #0,3,4: 84:[25, 109] Operation: 64+45=109
Moving to Node #0,0
Current State: 84:[93, 68, 19], Operations: ['64-45=19']
Exploring Operation: 68-19=49, Resulting Numbers: [93, 49]
Generated Node #0,0,0: 84:[93, 49] Operation: 68-19=49
Exploring Operation: 93-19=74, Resulting Numbers: [68, 74]
Generated Node #0,0,1: 84:[68, 74] Operation: 93-19=74
Exploring Operation: 68+19=87, Resulting Numbers: [93, 87]
Generated Node #0,0,2: 84:[93, 87] Operation: 68+19=87
Exploring Operation: 93-68=25, Resulting Numbers: [19, 25]
Generated Node #0,0,3: 84:[19, 25] Operation: 93-68=25
Exploring Operation: 93+19=112, Resulting Numbers: [68, 112]
Generated Node #0,0,4: 84:[68, 112] Operation: 93+19=112
Moving to Node #0,2
Current State: 84:[93, 64, 23], Operations: ['68-45=23']
Exploring Operation: 93-23=70, Resulting Numbers: [64, 70]
Generated Node #0,2,0: 84:[64, 70] Operation: 93-23=70
Exploring Operation: 64+23=87, Resulting Numbers: [93, 87]
Generated Node #0,2,1: 84:[93, 87] Operation: 64+23=87
Exploring Operation: 64-23=41, Resulting Numbers: [93, 41]
Generated Node #0,2,2: 84:[93, 41] Operation: 64-23=41
Exploring Operation: 93-64=29, Resulting Numbers: [23, 29]
Generated Node #0,2,3: 84:[23, 29] Operation: 93-64=29
Exploring Operation: 93+23=116, Resulting Numbers: [64, 116]
Generated Node #0,2,4: 84:[64, 116] Operation: 93+23=116
Moving to Node #0,4,0
Current State: 84:[29, 23], Operations: ['93-64=29', '68-45=23']
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,84 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[23, 29], Operations: ['68-45=23', '93-64=29']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[25, 19], Operations: ['93-68=25', '64-45=19']
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,84 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[19, 25], Operations: ['64-45=19', '93-68=25']
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,84 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[4, 48], Operations: ['68-64=4', '93-45=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 4*48=192, Resulting Numbers: [192]
192,84 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Moving to Node #0,4,3
Current State: 84:[45, 39], Operations: ['93-64=29', '68-29=39']
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,84 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[93, 68, 64, 45], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [68, 45, 29]
Generated Node #0,4: 84:[68, 45, 29] Operation: 93-64=29
Moving to Node #0,4
Current State: 84:[68, 45, 29], Operations: ['93-64=29']
Exploring Operation: 68-29=39, Resulting Numbers: [45, 39]
Generated Node #0,4,3: 84:[45, 39] Operation: 68-29=39
Moving to Node #0,4,3
Current State: 84:[45, 39], Operations: ['93-64=29', '68-29=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.954861 | hs_5 | mult_heuristic |
[
5,
99,
37,
31
] | 93 | [
"5*31=155",
"99-37=62",
"155-62=93"
] | Current State: 93:[5, 99, 37, 31], Operations: []
Exploring Operation: 5*31=155, Resulting Numbers: [99, 37, 155]
Generated Node #2: [99, 37, 155] from Operation: 5*31=155
Current State: 93:[99, 37, 155], Operations: ['5*31=155']
Exploring Operation: 99-37=62, Resulting Numbers: [155, 62]
Generated Node #3: [155, 62] from Operation: 99-37=62
Current State: 93:[155, 62], Operations: ['5*31=155', '99-37=62']
Exploring Operation: 155-62=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[5, 99, 37, 31], Operations: []
Exploring Operation: 99-5=94, Resulting Numbers: [37, 31, 94]
Generated Node #0,0: 93:[37, 31, 94] Operation: 99-5=94
Exploring Operation: 37-31=6, Resulting Numbers: [5, 99, 6]
Generated Node #0,1: 93:[5, 99, 6] Operation: 37-31=6
Exploring Operation: 37-5=32, Resulting Numbers: [99, 31, 32]
Generated Node #0,2: 93:[99, 31, 32] Operation: 37-5=32
Moving to Node #0,0
Current State: 93:[37, 31, 94], Operations: ['99-5=94']
Exploring Operation: 94-37=57, Resulting Numbers: [31, 57]
Generated Node #0,0,0: 93:[31, 57] Operation: 94-37=57
Exploring Operation: 37+31=68, Resulting Numbers: [94, 68]
Generated Node #0,0,1: 93:[94, 68] Operation: 37+31=68
Exploring Operation: 37-31=6, Resulting Numbers: [94, 6]
Generated Node #0,0,2: 93:[94, 6] Operation: 37-31=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[94, 6], Operations: ['99-5=94', '37-31=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[31, 57], Operations: ['99-5=94', '94-37=57']
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,93 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[94, 68], Operations: ['99-5=94', '37+31=68']
Exploring Operation: 94+68=162, Resulting Numbers: [162]
162,93 unequal: No Solution
Exploring Operation: 94-68=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 94*68=6392, Resulting Numbers: [6392]
6392,93 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: 93:[99, 31, 32], Operations: ['37-5=32']
Exploring Operation: 99-32=67, Resulting Numbers: [31, 67]
Generated Node #0,2,0: 93:[31, 67] Operation: 99-32=67
Exploring Operation: 99-31=68, Resulting Numbers: [32, 68]
Generated Node #0,2,1: 93:[32, 68] Operation: 99-31=68
Exploring Operation: 32-31=1, Resulting Numbers: [99, 1]
Generated Node #0,2,2: 93:[99, 1] Operation: 32-31=1
Moving to Node #0,1
Current State: 93:[5, 99, 6], Operations: ['37-31=6']
Exploring Operation: 99-6=93, Resulting Numbers: [5, 93]
Generated Node #0,1,0: 93:[5, 93] Operation: 99-6=93
Exploring Operation: 99-5=94, Resulting Numbers: [6, 94]
Generated Node #0,1,1: 93:[6, 94] Operation: 99-5=94
Exploring Operation: 5*6=30, Resulting Numbers: [99, 30]
Generated Node #0,1,2: 93:[99, 30] Operation: 5*6=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[5, 93], Operations: ['37-31=6', '99-6=93']
Exploring Operation: 5*93=465, Resulting Numbers: [465]
465,93 unequal: No Solution
Exploring Operation: 5+93=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[6, 94], Operations: ['37-31=6', '99-5=94']
Exploring Operation: 6*94=564, Resulting Numbers: [564]
564,93 unequal: No Solution
Exploring Operation: 6+94=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[99, 30], Operations: ['37-31=6', '5*6=30']
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,93 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 93:[99, 1], Operations: ['37-5=32', '32-31=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[31, 67], Operations: ['37-5=32', '99-32=67']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,93 unequal: No Solution
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[32, 68], Operations: ['37-5=32', '99-31=68']
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,93 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
32,
13,
12
] | 68 | [
"13-10=3",
"12*3=36",
"32+36=68"
] | Current State: 68:[10, 32, 13, 12], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [32, 12, 3]
Generated Node #2: [32, 12, 3] from Operation: 13-10=3
Current State: 68:[32, 12, 3], Operations: ['13-10=3']
Exploring Operation: 12*3=36, Resulting Numbers: [32, 36]
Generated Node #3: [32, 36] from Operation: 12*3=36
Current State: 68:[32, 36], Operations: ['13-10=3', '12*3=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[10, 32, 13, 12], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [32, 13, 2]
Generated Node #0,0: 68:[32, 13, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[32, 13, 2], Operations: ['12-10=2']
Exploring Operation: 32-13=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 68:[2, 19] Operation: 32-13=19
Moving to Node #0,0,0
Current State: 68:[2, 19], Operations: ['12-10=2', '32-13=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,68 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 |
[
27,
71,
68,
43
] | 69 | [
"71-27=44",
"68-43=25",
"44+25=69"
] | Current State: 69:[27, 71, 68, 43], Operations: []
Exploring Operation: 71-27=44, Resulting Numbers: [68, 43, 44]
Generated Node #2: [68, 43, 44] from Operation: 71-27=44
Current State: 69:[68, 43, 44], Operations: ['71-27=44']
Exploring Operation: 68-43=25, Resulting Numbers: [44, 25]
Generated Node #3: [44, 25] from Operation: 68-43=25
Current State: 69:[44, 25], Operations: ['71-27=44', '68-43=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[27, 71, 68, 43], Operations: []
Exploring Operation: 27+43=70, Resulting Numbers: [71, 68, 70]
Generated Node #0,0: 69:[71, 68, 70] Operation: 27+43=70
Moving to Node #0,0
Current State: 69:[71, 68, 70], Operations: ['27+43=70']
Exploring Operation: 71-68=3, Resulting Numbers: [70, 3]
Generated Node #0,0,0: 69:[70, 3] Operation: 71-68=3
Moving to Node #0,0,0
Current State: 69:[70, 3], Operations: ['27+43=70', '71-68=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,69 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
47,
76,
39
] | 94 | [
"76-35=41",
"41-39=2",
"47*2=94"
] | Current State: 94:[35, 47, 76, 39], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [47, 39, 41]
Generated Node #2: [47, 39, 41] from Operation: 76-35=41
Current State: 94:[47, 39, 41], Operations: ['76-35=41']
Exploring Operation: 41-39=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 41-39=2
Current State: 94:[47, 2], Operations: ['76-35=41', '41-39=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[35, 47, 76, 39], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [47, 76, 4]
Generated Node #0,0: 94:[47, 76, 4] Operation: 39-35=4
Exploring Operation: 76-35=41, Resulting Numbers: [47, 39, 41]
Generated Node #0,1: 94:[47, 39, 41] Operation: 76-35=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[47, 39, 41], Operations: ['76-35=41']
Exploring Operation: 41-39=2, Resulting Numbers: [47, 2]
Generated Node #0,1,0: 94:[47, 2] Operation: 41-39=2
Exploring Operation: 47-39=8, Resulting Numbers: [41, 8]
Generated Node #0,1,1: 94:[41, 8] Operation: 47-39=8
Moving to Node #0,1,0
Current State: 94:[47, 2], Operations: ['76-35=41', '41-39=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[35, 47, 76, 39], Operations: []
Exploring Operation: 76-35=41, Resulting Numbers: [47, 39, 41]
Generated Node #0,1: 94:[47, 39, 41] Operation: 76-35=41
Moving to Node #0,1
Current State: 94:[47, 39, 41], Operations: ['76-35=41']
Exploring Operation: 41-39=2, Resulting Numbers: [47, 2]
Generated Node #0,1,0: 94:[47, 2] Operation: 41-39=2
Moving to Node #0,1,0
Current State: 94:[47, 2], Operations: ['76-35=41', '41-39=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
2,
61,
92,
74
] | 12 | [
"92-61=31",
"2*31=62",
"74-62=12"
] | Current State: 12:[2, 61, 92, 74], Operations: []
Exploring Operation: 92-61=31, Resulting Numbers: [2, 74, 31]
Generated Node #2: [2, 74, 31] from Operation: 92-61=31
Current State: 12:[2, 74, 31], Operations: ['92-61=31']
Exploring Operation: 2*31=62, Resulting Numbers: [74, 62]
Generated Node #3: [74, 62] from Operation: 2*31=62
Current State: 12:[74, 62], Operations: ['92-61=31', '2*31=62']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[2, 61, 92, 74], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [2, 61, 18]
Generated Node #0,0: 12:[2, 61, 18] Operation: 92-74=18
Moving to Node #0,0
Current State: 12:[2, 61, 18], Operations: ['92-74=18']
Exploring Operation: 61-18=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 12:[2, 43] Operation: 61-18=43
Moving to Node #0,0,0
Current State: 12:[2, 43], Operations: ['92-74=18', '61-18=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,12 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
65,
86,
38
] | 16 | [
"65-1=64",
"86-38=48",
"64-48=16"
] | Current State: 16:[1, 65, 86, 38], Operations: []
Exploring Operation: 65-1=64, Resulting Numbers: [86, 38, 64]
Generated Node #2: [86, 38, 64] from Operation: 65-1=64
Current State: 16:[86, 38, 64], Operations: ['65-1=64']
Exploring Operation: 86-38=48, Resulting Numbers: [64, 48]
Generated Node #3: [64, 48] from Operation: 86-38=48
Current State: 16:[64, 48], Operations: ['65-1=64', '86-38=48']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[1, 65, 86, 38], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [1, 86, 27]
Generated Node #0,0: 16:[1, 86, 27] Operation: 65-38=27
Exploring Operation: 86-65=21, Resulting Numbers: [1, 38, 21]
Generated Node #0,1: 16:[1, 38, 21] Operation: 86-65=21
Exploring Operation: 86-38=48, Resulting Numbers: [1, 65, 48]
Generated Node #0,2: 16:[1, 65, 48] Operation: 86-38=48
Exploring Operation: 65-1=64, Resulting Numbers: [86, 38, 64]
Generated Node #0,3: 16:[86, 38, 64] Operation: 65-1=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[1, 38, 21], Operations: ['86-65=21']
Exploring Operation: 21-1=20, Resulting Numbers: [38, 20]
Generated Node #0,1,0: 16:[38, 20] Operation: 21-1=20
Exploring Operation: 38-1=37, Resulting Numbers: [21, 37]
Generated Node #0,1,1: 16:[21, 37] Operation: 38-1=37
Exploring Operation: 38-21=17, Resulting Numbers: [1, 17]
Generated Node #0,1,2: 16:[1, 17] Operation: 38-21=17
Exploring Operation: 1*38=38, Resulting Numbers: [21, 38]
Generated Node #0,1,3: 16:[21, 38] Operation: 1*38=38
Moving to Node #0,1,2
Current State: 16:[1, 17], Operations: ['86-65=21', '38-21=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[1, 65, 86, 38], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [1, 38, 21]
Generated Node #0,1: 16:[1, 38, 21] Operation: 86-65=21
Moving to Node #0,1
Current State: 16:[1, 38, 21], Operations: ['86-65=21']
Exploring Operation: 38-21=17, Resulting Numbers: [1, 17]
Generated Node #0,1,2: 16:[1, 17] Operation: 38-21=17
Moving to Node #0,1,2
Current State: 16:[1, 17], Operations: ['86-65=21', '38-21=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
68,
17,
5,
53
] | 73 | [
"68/17=4",
"5*4=20",
"53+20=73"
] | Current State: 73:[68, 17, 5, 53], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [5, 53, 4]
Generated Node #2: [5, 53, 4] from Operation: 68/17=4
Current State: 73:[5, 53, 4], Operations: ['68/17=4']
Exploring Operation: 5*4=20, Resulting Numbers: [53, 20]
Generated Node #3: [53, 20] from Operation: 5*4=20
Current State: 73:[53, 20], Operations: ['68/17=4', '5*4=20']
Exploring Operation: 53+20=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[68, 17, 5, 53], Operations: []
Exploring Operation: 17*5=85, Resulting Numbers: [68, 53, 85]
Generated Node #0,0: 73:[68, 53, 85] Operation: 17*5=85
Exploring Operation: 68+5=73, Resulting Numbers: [17, 53, 73]
Generated Node #0,1: 73:[17, 53, 73] Operation: 68+5=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[68, 53, 85], Operations: ['17*5=85']
Exploring Operation: 85-53=32, Resulting Numbers: [68, 32]
Generated Node #0,0,0: 73:[68, 32] Operation: 85-53=32
Exploring Operation: 68+53=121, Resulting Numbers: [85, 121]
Generated Node #0,0,1: 73:[85, 121] Operation: 68+53=121
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[68, 32], Operations: ['17*5=85', '85-53=32']
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[85, 121], Operations: ['17*5=85', '68+53=121']
Exploring Operation: 121-85=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 85+121=206, Resulting Numbers: [206]
206,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[17, 53, 73], Operations: ['68+5=73']
Exploring Operation: 53-17=36, Resulting Numbers: [73, 36]
Generated Node #0,1,0: 73:[73, 36] Operation: 53-17=36
Exploring Operation: 17+53=70, Resulting Numbers: [73, 70]
Generated Node #0,1,1: 73:[73, 70] Operation: 17+53=70
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[73, 70], Operations: ['68+5=73', '17+53=70']
Exploring Operation: 73+70=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[73, 36], Operations: ['68+5=73', '53-17=36']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
53,
99,
41
] | 95 | [
"53-41=12",
"12/3=4",
"99-4=95"
] | Current State: 95:[3, 53, 99, 41], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [3, 99, 12]
Generated Node #2: [3, 99, 12] from Operation: 53-41=12
Current State: 95:[3, 99, 12], Operations: ['53-41=12']
Exploring Operation: 12/3=4, Resulting Numbers: [99, 4]
Generated Node #3: [99, 4] from Operation: 12/3=4
Current State: 95:[99, 4], Operations: ['53-41=12', '12/3=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[3, 53, 99, 41], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [3, 99, 12]
Generated Node #0,0: 95:[3, 99, 12] Operation: 53-41=12
Exploring Operation: 53+41=94, Resulting Numbers: [3, 99, 94]
Generated Node #0,1: 95:[3, 99, 94] Operation: 53+41=94
Exploring Operation: 99-53=46, Resulting Numbers: [3, 41, 46]
Generated Node #0,2: 95:[3, 41, 46] Operation: 99-53=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[3, 99, 94], Operations: ['53+41=94']
Exploring Operation: 99-94=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 95:[3, 5] Operation: 99-94=5
Exploring Operation: 99-3=96, Resulting Numbers: [94, 96]
Generated Node #0,1,1: 95:[94, 96] Operation: 99-3=96
Exploring Operation: 3+94=97, Resulting Numbers: [99, 97]
Generated Node #0,1,2: 95:[99, 97] Operation: 3+94=97
Moving to Node #0,1,0
Current State: 95:[3, 5], Operations: ['53+41=94', '99-94=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[94, 96], Operations: ['53+41=94', '99-3=96']
Exploring Operation: 94+96=190, Resulting Numbers: [190]
190,95 unequal: No Solution
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 94*96=9024, Resulting Numbers: [9024]
9024,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[99, 97], Operations: ['53+41=94', '3+94=97']
Exploring Operation: 99*97=9603, Resulting Numbers: [9603]
9603,95 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 99+97=196, Resulting Numbers: [196]
196,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,0
Current State: 95:[3, 99, 12], Operations: ['53-41=12']
Exploring Operation: 99-3=96, Resulting Numbers: [12, 96]
Generated Node #0,0,0: 95:[12, 96] Operation: 99-3=96
Exploring Operation: 12/3=4, Resulting Numbers: [99, 4]
Generated Node #0,0,1: 95:[99, 4] Operation: 12/3=4
Exploring Operation: 3+12=15, Resulting Numbers: [99, 15]
Generated Node #0,0,2: 95:[99, 15] Operation: 3+12=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[99, 4], Operations: ['53-41=12', '12/3=4']
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,95 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[3, 53, 99, 41], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [3, 99, 12]
Generated Node #0,0: 95:[3, 99, 12] Operation: 53-41=12
Moving to Node #0,0
Current State: 95:[3, 99, 12], Operations: ['53-41=12']
Exploring Operation: 12/3=4, Resulting Numbers: [99, 4]
Generated Node #0,0,1: 95:[99, 4] Operation: 12/3=4
Moving to Node #0,0,1
Current State: 95:[99, 4], Operations: ['53-41=12', '12/3=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
7,
34,
47,
10
] | 21 | [
"47-34=13",
"13-10=3",
"7*3=21"
] | Current State: 21:[7, 34, 47, 10], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [7, 10, 13]
Generated Node #2: [7, 10, 13] from Operation: 47-34=13
Current State: 21:[7, 10, 13], Operations: ['47-34=13']
Exploring Operation: 13-10=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 13-10=3
Current State: 21:[7, 3], Operations: ['47-34=13', '13-10=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[7, 34, 47, 10], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [7, 10, 13]
Generated Node #0,0: 21:[7, 10, 13] Operation: 47-34=13
Moving to Node #0,0
Current State: 21:[7, 10, 13], Operations: ['47-34=13']
Exploring Operation: 13-10=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 21:[7, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 21:[7, 3], Operations: ['47-34=13', '13-10=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[7, 34, 47, 10], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [7, 10, 13]
Generated Node #0,0: 21:[7, 10, 13] Operation: 47-34=13
Moving to Node #0,0
Current State: 21:[7, 10, 13], Operations: ['47-34=13']
Exploring Operation: 13-10=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 21:[7, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 21:[7, 3], Operations: ['47-34=13', '13-10=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
53,
54,
81,
9
] | 72 | [
"54-53=1",
"81-9=72",
"1*72=72"
] | Current State: 72:[53, 54, 81, 9], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [81, 9, 1]
Generated Node #2: [81, 9, 1] from Operation: 54-53=1
Current State: 72:[81, 9, 1], Operations: ['54-53=1']
Exploring Operation: 81-9=72, Resulting Numbers: [1, 72]
Generated Node #3: [1, 72] from Operation: 81-9=72
Current State: 72:[1, 72], Operations: ['54-53=1', '81-9=72']
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[53, 54, 81, 9], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [81, 9, 1]
Generated Node #0,0: 72:[81, 9, 1] Operation: 54-53=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[81, 9, 1], Operations: ['54-53=1']
Exploring Operation: 81-9=72, Resulting Numbers: [1, 72]
Generated Node #0,0,0: 72:[1, 72] Operation: 81-9=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[1, 72], Operations: ['54-53=1', '81-9=72']
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[53, 54, 81, 9], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [81, 9, 1]
Generated Node #0,0: 72:[81, 9, 1] Operation: 54-53=1
Moving to Node #0,0
Current State: 72:[81, 9, 1], Operations: ['54-53=1']
Exploring Operation: 81-9=72, Resulting Numbers: [1, 72]
Generated Node #0,0,0: 72:[1, 72] Operation: 81-9=72
Moving to Node #0,0,0
Current State: 72:[1, 72], Operations: ['54-53=1', '81-9=72']
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
62,
95,
56
] | 77 | [
"54+62=116",
"95-56=39",
"116-39=77"
] | Current State: 77:[54, 62, 95, 56], Operations: []
Exploring Operation: 54+62=116, Resulting Numbers: [95, 56, 116]
Generated Node #2: [95, 56, 116] from Operation: 54+62=116
Current State: 77:[95, 56, 116], Operations: ['54+62=116']
Exploring Operation: 95-56=39, Resulting Numbers: [116, 39]
Generated Node #3: [116, 39] from Operation: 95-56=39
Current State: 77:[116, 39], Operations: ['54+62=116', '95-56=39']
Exploring Operation: 116-39=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[54, 62, 95, 56], Operations: []
Exploring Operation: 54+56=110, Resulting Numbers: [62, 95, 110]
Generated Node #0,0: 77:[62, 95, 110] Operation: 54+56=110
Exploring Operation: 62-54=8, Resulting Numbers: [95, 56, 8]
Generated Node #0,1: 77:[95, 56, 8] Operation: 62-54=8
Exploring Operation: 56-54=2, Resulting Numbers: [62, 95, 2]
Generated Node #0,2: 77:[62, 95, 2] Operation: 56-54=2
Exploring Operation: 95-54=41, Resulting Numbers: [62, 56, 41]
Generated Node #0,3: 77:[62, 56, 41] Operation: 95-54=41
Exploring Operation: 62-56=6, Resulting Numbers: [54, 95, 6]
Generated Node #0,4: 77:[54, 95, 6] Operation: 62-56=6
Moving to Node #0,2
Current State: 77:[62, 95, 2], Operations: ['56-54=2']
Exploring Operation: 95-62=33, Resulting Numbers: [2, 33]
Generated Node #0,2,0: 77:[2, 33] Operation: 95-62=33
Exploring Operation: 95-2=93, Resulting Numbers: [62, 93]
Generated Node #0,2,1: 77:[62, 93] Operation: 95-2=93
Exploring Operation: 95+2=97, Resulting Numbers: [62, 97]
Generated Node #0,2,2: 77:[62, 97] Operation: 95+2=97
Exploring Operation: 62-2=60, Resulting Numbers: [95, 60]
Generated Node #0,2,3: 77:[95, 60] Operation: 62-2=60
Exploring Operation: 62+2=64, Resulting Numbers: [95, 64]
Generated Node #0,2,4: 77:[95, 64] Operation: 62+2=64
Moving to Node #0,1
Current State: 77:[95, 56, 8], Operations: ['62-54=8']
Exploring Operation: 95-56=39, Resulting Numbers: [8, 39]
Generated Node #0,1,0: 77:[8, 39] Operation: 95-56=39
Exploring Operation: 95+8=103, Resulting Numbers: [56, 103]
Generated Node #0,1,1: 77:[56, 103] Operation: 95+8=103
Exploring Operation: 56+8=64, Resulting Numbers: [95, 64]
Generated Node #0,1,2: 77:[95, 64] Operation: 56+8=64
Exploring Operation: 95-8=87, Resulting Numbers: [56, 87]
Generated Node #0,1,3: 77:[56, 87] Operation: 95-8=87
Exploring Operation: 56/8=7, Resulting Numbers: [95, 7]
Generated Node #0,1,4: 77:[95, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 77:[95, 7], Operations: ['62-54=8', '56/8=7']
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,77 unequal: No Solution
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,77 unequal: No Solution
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[8, 39], Operations: ['62-54=8', '95-56=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,77 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[95, 64], Operations: ['62-54=8', '56+8=64']
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 95+64=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 95*64=6080, Resulting Numbers: [6080]
6080,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 77:[56, 87], Operations: ['62-54=8', '95-8=87']
Exploring Operation: 56+87=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 56*87=4872, Resulting Numbers: [4872]
4872,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[56, 103], Operations: ['62-54=8', '95+8=103']
Exploring Operation: 56+103=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 103-56=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 56*103=5768, Resulting Numbers: [5768]
5768,77 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: 77:[54, 95, 6], Operations: ['62-56=6']
Exploring Operation: 95-6=89, Resulting Numbers: [54, 89]
Generated Node #0,4,0: 77:[54, 89] Operation: 95-6=89
Exploring Operation: 54/6=9, Resulting Numbers: [95, 9]
Generated Node #0,4,1: 77:[95, 9] Operation: 54/6=9
Exploring Operation: 54-6=48, Resulting Numbers: [95, 48]
Generated Node #0,4,2: 77:[95, 48] Operation: 54-6=48
Exploring Operation: 95-54=41, Resulting Numbers: [6, 41]
Generated Node #0,4,3: 77:[6, 41] Operation: 95-54=41
Exploring Operation: 54+6=60, Resulting Numbers: [95, 60]
Generated Node #0,4,4: 77:[95, 60] Operation: 54+6=60
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 77:[95, 9], Operations: ['62-56=6', '54/6=9']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,77 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 77:[6, 41], Operations: ['62-56=6', '95-54=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,77 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 77:[54, 89], Operations: ['62-56=6', '95-6=89']
Exploring Operation: 54*89=4806, Resulting Numbers: [4806]
4806,77 unequal: No Solution
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 77:[95, 60], Operations: ['62-56=6', '54+6=60']
Exploring Operation: 95+60=155, Resulting Numbers: [155]
155,77 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 95*60=5700, Resulting Numbers: [5700]
5700,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 77:[95, 48], Operations: ['62-56=6', '54-6=48']
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,77 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,77 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: 77:[62, 95, 110], Operations: ['54+56=110']
Exploring Operation: 62+110=172, Resulting Numbers: [95, 172]
Generated Node #0,0,0: 77:[95, 172] Operation: 62+110=172
Exploring Operation: 62+95=157, Resulting Numbers: [110, 157]
Generated Node #0,0,1: 77:[110, 157] Operation: 62+95=157
Exploring Operation: 110-95=15, Resulting Numbers: [62, 15]
Generated Node #0,0,2: 77:[62, 15] Operation: 110-95=15
Exploring Operation: 110-62=48, Resulting Numbers: [95, 48]
Generated Node #0,0,3: 77:[95, 48] Operation: 110-62=48
Exploring Operation: 95-62=33, Resulting Numbers: [110, 33]
Generated Node #0,0,4: 77:[110, 33] Operation: 95-62=33
Moving to Node #0,3
Current State: 77:[62, 56, 41], Operations: ['95-54=41']
Exploring Operation: 62-56=6, Resulting Numbers: [41, 6]
Generated Node #0,3,0: 77:[41, 6] Operation: 62-56=6
Exploring Operation: 56-41=15, Resulting Numbers: [62, 15]
Generated Node #0,3,1: 77:[62, 15] Operation: 56-41=15
Exploring Operation: 62-41=21, Resulting Numbers: [56, 21]
Generated Node #0,3,2: 77:[56, 21] Operation: 62-41=21
Exploring Operation: 56+41=97, Resulting Numbers: [62, 97]
Generated Node #0,3,3: 77:[62, 97] Operation: 56+41=97
Exploring Operation: 62+41=103, Resulting Numbers: [56, 103]
Generated Node #0,3,4: 77:[56, 103] Operation: 62+41=103
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[62, 15], Operations: ['95-54=41', '56-41=15']
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,77 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[54, 62, 95, 56], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [62, 56, 41]
Generated Node #0,3: 77:[62, 56, 41] Operation: 95-54=41
Moving to Node #0,3
Current State: 77:[62, 56, 41], Operations: ['95-54=41']
Exploring Operation: 56-41=15, Resulting Numbers: [62, 15]
Generated Node #0,3,1: 77:[62, 15] Operation: 56-41=15
Moving to Node #0,3,1
Current State: 77:[62, 15], Operations: ['95-54=41', '56-41=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_5 | mult_heuristic |
[
79,
58,
2,
55
] | 46 | [
"79-55=24",
"24/2=12",
"58-12=46"
] | Current State: 46:[79, 58, 2, 55], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [58, 2, 24]
Generated Node #2: [58, 2, 24] from Operation: 79-55=24
Current State: 46:[58, 2, 24], Operations: ['79-55=24']
Exploring Operation: 24/2=12, Resulting Numbers: [58, 12]
Generated Node #3: [58, 12] from Operation: 24/2=12
Current State: 46:[58, 12], Operations: ['79-55=24', '24/2=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[79, 58, 2, 55], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [58, 2, 24]
Generated Node #0,0: 46:[58, 2, 24] Operation: 79-55=24
Exploring Operation: 79-58=21, Resulting Numbers: [2, 55, 21]
Generated Node #0,1: 46:[2, 55, 21] Operation: 79-58=21
Moving to Node #0,1
Current State: 46:[2, 55, 21], Operations: ['79-58=21']
Exploring Operation: 2+21=23, Resulting Numbers: [55, 23]
Generated Node #0,1,0: 46:[55, 23] Operation: 2+21=23
Exploring Operation: 55-2=53, Resulting Numbers: [21, 53]
Generated Node #0,1,1: 46:[21, 53] Operation: 55-2=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[55, 23], Operations: ['79-58=21', '2+21=23']
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,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:[21, 53], Operations: ['79-58=21', '55-2=53']
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 46:[58, 2, 24], Operations: ['79-55=24']
Exploring Operation: 58/2=29, Resulting Numbers: [24, 29]
Generated Node #0,0,0: 46:[24, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [24, 56]
Generated Node #0,0,1: 46:[24, 56] Operation: 58-2=56
Moving to Node #0,0,0
Current State: 46:[24, 29], Operations: ['79-55=24', '58/2=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[24, 56], Operations: ['79-55=24', '58-2=56']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
80,
26,
65
] | 45 | [
"26-22=4",
"80/4=20",
"65-20=45"
] | Current State: 45:[22, 80, 26, 65], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [80, 65, 4]
Generated Node #2: [80, 65, 4] from Operation: 26-22=4
Current State: 45:[80, 65, 4], Operations: ['26-22=4']
Exploring Operation: 80/4=20, Resulting Numbers: [65, 20]
Generated Node #3: [65, 20] from Operation: 80/4=20
Current State: 45:[65, 20], Operations: ['26-22=4', '80/4=20']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[22, 80, 26, 65], Operations: []
Exploring Operation: 80-26=54, Resulting Numbers: [22, 65, 54]
Generated Node #0,0: 45:[22, 65, 54] Operation: 80-26=54
Exploring Operation: 80-65=15, Resulting Numbers: [22, 26, 15]
Generated Node #0,1: 45:[22, 26, 15] Operation: 80-65=15
Moving to Node #0,1
Current State: 45:[22, 26, 15], Operations: ['80-65=15']
Exploring Operation: 22+26=48, Resulting Numbers: [15, 48]
Generated Node #0,1,0: 45:[15, 48] Operation: 22+26=48
Exploring Operation: 26-22=4, Resulting Numbers: [15, 4]
Generated Node #0,1,1: 45:[15, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[15, 4], Operations: ['80-65=15', '26-22=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,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,0
Current State: 45:[15, 48], Operations: ['80-65=15', '22+26=48']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,45 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,45 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: 45:[22, 65, 54], Operations: ['80-26=54']
Exploring Operation: 65-22=43, Resulting Numbers: [54, 43]
Generated Node #0,0,0: 45:[54, 43] Operation: 65-22=43
Exploring Operation: 65-54=11, Resulting Numbers: [22, 11]
Generated Node #0,0,1: 45:[22, 11] Operation: 65-54=11
Moving to Node #0,0,1
Current State: 45:[22, 11], Operations: ['80-26=54', '65-54=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[54, 43], Operations: ['80-26=54', '65-22=43']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,45 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
56,
40,
62,
25
] | 71 | [
"56-40=16",
"62+25=87",
"87-16=71"
] | Current State: 71:[56, 40, 62, 25], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [62, 25, 16]
Generated Node #2: [62, 25, 16] from Operation: 56-40=16
Current State: 71:[62, 25, 16], Operations: ['56-40=16']
Exploring Operation: 62+25=87, Resulting Numbers: [16, 87]
Generated Node #3: [16, 87] from Operation: 62+25=87
Current State: 71:[16, 87], Operations: ['56-40=16', '62+25=87']
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[56, 40, 62, 25], Operations: []
Exploring Operation: 40+25=65, Resulting Numbers: [56, 62, 65]
Generated Node #0,0: 71:[56, 62, 65] Operation: 40+25=65
Moving to Node #0,0
Current State: 71:[56, 62, 65], Operations: ['40+25=65']
Exploring Operation: 56+62=118, Resulting Numbers: [65, 118]
Generated Node #0,0,0: 71:[65, 118] Operation: 56+62=118
Moving to Node #0,0,0
Current State: 71:[65, 118], Operations: ['40+25=65', '56+62=118']
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,71 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
26,
68,
4
] | 37 | [
"28+26=54",
"68/4=17",
"54-17=37"
] | Current State: 37:[28, 26, 68, 4], Operations: []
Exploring Operation: 28+26=54, Resulting Numbers: [68, 4, 54]
Generated Node #2: [68, 4, 54] from Operation: 28+26=54
Current State: 37:[68, 4, 54], Operations: ['28+26=54']
Exploring Operation: 68/4=17, Resulting Numbers: [54, 17]
Generated Node #3: [54, 17] from Operation: 68/4=17
Current State: 37:[54, 17], Operations: ['28+26=54', '68/4=17']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[28, 26, 68, 4], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [28, 4, 42]
Generated Node #0,0: 37:[28, 4, 42] Operation: 68-26=42
Exploring Operation: 68-28=40, Resulting Numbers: [26, 4, 40]
Generated Node #0,1: 37:[26, 4, 40] Operation: 68-28=40
Exploring Operation: 68/4=17, Resulting Numbers: [28, 26, 17]
Generated Node #0,2: 37:[28, 26, 17] Operation: 68/4=17
Exploring Operation: 28+4=32, Resulting Numbers: [26, 68, 32]
Generated Node #0,3: 37:[26, 68, 32] Operation: 28+4=32
Moving to Node #0,2
Current State: 37:[28, 26, 17], Operations: ['68/4=17']
Exploring Operation: 28+17=45, Resulting Numbers: [26, 45]
Generated Node #0,2,0: 37:[26, 45] Operation: 28+17=45
Exploring Operation: 28-17=11, Resulting Numbers: [26, 11]
Generated Node #0,2,1: 37:[26, 11] Operation: 28-17=11
Exploring Operation: 28+26=54, Resulting Numbers: [17, 54]
Generated Node #0,2,2: 37:[17, 54] Operation: 28+26=54
Exploring Operation: 26+17=43, Resulting Numbers: [28, 43]
Generated Node #0,2,3: 37:[28, 43] Operation: 26+17=43
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 37:[28, 43], Operations: ['68/4=17', '26+17=43']
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,37 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,37 unequal: No Solution
No 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: 37:[26, 45], Operations: ['68/4=17', '28+17=45']
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 26*45=1170, Resulting Numbers: [1170]
1170,37 unequal: No Solution
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,37 unequal: No Solution
No 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: 37:[26, 11], Operations: ['68/4=17', '28-17=11']
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,37 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[28, 26, 68, 4], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [28, 26, 17]
Generated Node #0,2: 37:[28, 26, 17] Operation: 68/4=17
Moving to Node #0,2
Current State: 37:[28, 26, 17], Operations: ['68/4=17']
Exploring Operation: 28-17=11, Resulting Numbers: [26, 11]
Generated Node #0,2,1: 37:[26, 11] Operation: 28-17=11
Moving to Node #0,2,1
Current State: 37:[26, 11], Operations: ['68/4=17', '28-17=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
7,
6,
28,
85
] | 90 | [
"85-7=78",
"6*28=168",
"168-78=90"
] | Current State: 90:[7, 6, 28, 85], Operations: []
Exploring Operation: 85-7=78, Resulting Numbers: [6, 28, 78]
Generated Node #2: [6, 28, 78] from Operation: 85-7=78
Current State: 90:[6, 28, 78], Operations: ['85-7=78']
Exploring Operation: 6*28=168, Resulting Numbers: [78, 168]
Generated Node #3: [78, 168] from Operation: 6*28=168
Current State: 90:[78, 168], Operations: ['85-7=78', '6*28=168']
Exploring Operation: 168-78=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[7, 6, 28, 85], Operations: []
Exploring Operation: 7+85=92, Resulting Numbers: [6, 28, 92]
Generated Node #0,0: 90:[6, 28, 92] Operation: 7+85=92
Exploring Operation: 28/7=4, Resulting Numbers: [6, 85, 4]
Generated Node #0,1: 90:[6, 85, 4] Operation: 28/7=4
Exploring Operation: 7-6=1, Resulting Numbers: [28, 85, 1]
Generated Node #0,2: 90:[28, 85, 1] Operation: 7-6=1
Exploring Operation: 6+85=91, Resulting Numbers: [7, 28, 91]
Generated Node #0,3: 90:[7, 28, 91] Operation: 6+85=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[6, 28, 92], Operations: ['7+85=92']
Exploring Operation: 92-6=86, Resulting Numbers: [28, 86]
Generated Node #0,0,0: 90:[28, 86] Operation: 92-6=86
Exploring Operation: 6+92=98, Resulting Numbers: [28, 98]
Generated Node #0,0,1: 90:[28, 98] Operation: 6+92=98
Exploring Operation: 6+28=34, Resulting Numbers: [92, 34]
Generated Node #0,0,2: 90:[92, 34] Operation: 6+28=34
Exploring Operation: 28-6=22, Resulting Numbers: [92, 22]
Generated Node #0,0,3: 90:[92, 22] Operation: 28-6=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[28, 86], Operations: ['7+85=92', '92-6=86']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,90 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[92, 34], Operations: ['7+85=92', '6+28=34']
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,90 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[92, 22], Operations: ['7+85=92', '28-6=22']
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 92+22=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 92*22=2024, Resulting Numbers: [2024]
2024,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[28, 98], Operations: ['7+85=92', '6+92=98']
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,90 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[7, 28, 91], Operations: ['6+85=91']
Exploring Operation: 91/7=13, Resulting Numbers: [28, 13]
Generated Node #0,3,0: 90:[28, 13] Operation: 91/7=13
Exploring Operation: 7+28=35, Resulting Numbers: [91, 35]
Generated Node #0,3,1: 90:[91, 35] Operation: 7+28=35
Exploring Operation: 28/7=4, Resulting Numbers: [91, 4]
Generated Node #0,3,2: 90:[91, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [91, 21]
Generated Node #0,3,3: 90:[91, 21] Operation: 28-7=21
Moving to Node #0,3,2
Current State: 90:[91, 4], Operations: ['6+85=91', '28/7=4']
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,90 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[91, 21], Operations: ['6+85=91', '28-7=21']
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 91*21=1911, Resulting Numbers: [1911]
1911,90 unequal: No Solution
Exploring Operation: 91+21=112, Resulting Numbers: [112]
112,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[28, 13], Operations: ['6+85=91', '91/7=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,90 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[91, 35], Operations: ['6+85=91', '7+28=35']
Exploring Operation: 91+35=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 91*35=3185, Resulting Numbers: [3185]
3185,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[6, 85, 4], Operations: ['28/7=4']
Exploring Operation: 85+4=89, Resulting Numbers: [6, 89]
Generated Node #0,1,0: 90:[6, 89] Operation: 85+4=89
Exploring Operation: 6+4=10, Resulting Numbers: [85, 10]
Generated Node #0,1,1: 90:[85, 10] Operation: 6+4=10
Exploring Operation: 6+85=91, Resulting Numbers: [4, 91]
Generated Node #0,1,2: 90:[4, 91] Operation: 6+85=91
Exploring Operation: 6-4=2, Resulting Numbers: [85, 2]
Generated Node #0,1,3: 90:[85, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[6, 89], Operations: ['28/7=4', '85+4=89']
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,90 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[4, 91], Operations: ['28/7=4', '6+85=91']
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,90 unequal: No Solution
Exploring Operation: 4*91=364, Resulting Numbers: [364]
364,90 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[85, 10], Operations: ['28/7=4', '6+4=10']
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,90 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[85, 2], Operations: ['28/7=4', '6-4=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,90 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[28, 85, 1], Operations: ['7-6=1']
Exploring Operation: 28*1=28, Resulting Numbers: [85, 28]
Generated Node #0,2,0: 90:[85, 28] Operation: 28*1=28
Exploring Operation: 28+1=29, Resulting Numbers: [85, 29]
Generated Node #0,2,1: 90:[85, 29] Operation: 28+1=29
Exploring Operation: 28/1=28, Resulting Numbers: [85, 28]
Generated Node #0,2,2: 90:[85, 28] Operation: 28/1=28
Exploring Operation: 85+1=86, Resulting Numbers: [28, 86]
Generated Node #0,2,3: 90:[28, 86] Operation: 85+1=86
Moving to Node #0,2,1
Current State: 90:[85, 29], Operations: ['7-6=1', '28+1=29']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[28, 86], Operations: ['7-6=1', '85+1=86']
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[85, 28], Operations: ['7-6=1', '28/1=28']
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,90 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,90 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[85, 28], Operations: ['7-6=1', '28*1=28']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,90 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
71,
40,
3
] | 46 | [
"5*3=15",
"71-40=31",
"15+31=46"
] | Current State: 46:[5, 71, 40, 3], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [71, 40, 15]
Generated Node #2: [71, 40, 15] from Operation: 5*3=15
Current State: 46:[71, 40, 15], Operations: ['5*3=15']
Exploring Operation: 71-40=31, Resulting Numbers: [15, 31]
Generated Node #3: [15, 31] from Operation: 71-40=31
Current State: 46:[15, 31], Operations: ['5*3=15', '71-40=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[5, 71, 40, 3], Operations: []
Exploring Operation: 71-5=66, Resulting Numbers: [40, 3, 66]
Generated Node #0,0: 46:[40, 3, 66] Operation: 71-5=66
Exploring Operation: 5+40=45, Resulting Numbers: [71, 3, 45]
Generated Node #0,1: 46:[71, 3, 45] Operation: 5+40=45
Exploring Operation: 71-40=31, Resulting Numbers: [5, 3, 31]
Generated Node #0,2: 46:[5, 3, 31] Operation: 71-40=31
Moving to Node #0,2
Current State: 46:[5, 3, 31], Operations: ['71-40=31']
Exploring Operation: 5-3=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 46:[31, 2] Operation: 5-3=2
Exploring Operation: 31-3=28, Resulting Numbers: [5, 28]
Generated Node #0,2,1: 46:[5, 28] Operation: 31-3=28
Exploring Operation: 31-5=26, Resulting Numbers: [3, 26]
Generated Node #0,2,2: 46:[3, 26] Operation: 31-5=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[3, 26], Operations: ['71-40=31', '31-5=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,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,2,0
Current State: 46:[31, 2], Operations: ['71-40=31', '5-3=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,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,2,1
Current State: 46:[5, 28], Operations: ['71-40=31', '31-3=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 46:[40, 3, 66], Operations: ['71-5=66']
Exploring Operation: 66-40=26, Resulting Numbers: [3, 26]
Generated Node #0,0,0: 46:[3, 26] Operation: 66-40=26
Exploring Operation: 40+3=43, Resulting Numbers: [66, 43]
Generated Node #0,0,1: 46:[66, 43] Operation: 40+3=43
Exploring Operation: 66/3=22, Resulting Numbers: [40, 22]
Generated Node #0,0,2: 46:[40, 22] Operation: 66/3=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[3, 26], Operations: ['71-5=66', '66-40=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[40, 22], Operations: ['71-5=66', '66/3=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[66, 43], Operations: ['71-5=66', '40+3=43']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,46 unequal: No Solution
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,46 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: 46:[71, 3, 45], Operations: ['5+40=45']
Exploring Operation: 71-3=68, Resulting Numbers: [45, 68]
Generated Node #0,1,0: 46:[45, 68] Operation: 71-3=68
Exploring Operation: 3+45=48, Resulting Numbers: [71, 48]
Generated Node #0,1,1: 46:[71, 48] Operation: 3+45=48
Exploring Operation: 71-45=26, Resulting Numbers: [3, 26]
Generated Node #0,1,2: 46:[3, 26] Operation: 71-45=26
Moving to Node #0,1,2
Current State: 46:[3, 26], Operations: ['5+40=45', '71-45=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[45, 68], Operations: ['5+40=45', '71-3=68']
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,46 unequal: No Solution
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 45*68=3060, Resulting Numbers: [3060]
3060,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[71, 48], Operations: ['5+40=45', '3+45=48']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,46 unequal: No Solution
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,46 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
21,
80,
3,
48
] | 89 | [
"48-21=27",
"27/3=9",
"80+9=89"
] | Current State: 89:[21, 80, 3, 48], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [80, 3, 27]
Generated Node #2: [80, 3, 27] from Operation: 48-21=27
Current State: 89:[80, 3, 27], Operations: ['48-21=27']
Exploring Operation: 27/3=9, Resulting Numbers: [80, 9]
Generated Node #3: [80, 9] from Operation: 27/3=9
Current State: 89:[80, 9], Operations: ['48-21=27', '27/3=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[21, 80, 3, 48], Operations: []
Exploring Operation: 21*3=63, Resulting Numbers: [80, 48, 63]
Generated Node #0,0: 89:[80, 48, 63] Operation: 21*3=63
Exploring Operation: 21+3=24, Resulting Numbers: [80, 48, 24]
Generated Node #0,1: 89:[80, 48, 24] Operation: 21+3=24
Exploring Operation: 21+48=69, Resulting Numbers: [80, 3, 69]
Generated Node #0,2: 89:[80, 3, 69] Operation: 21+48=69
Moving to Node #0,0
Current State: 89:[80, 48, 63], Operations: ['21*3=63']
Exploring Operation: 80+48=128, Resulting Numbers: [63, 128]
Generated Node #0,0,0: 89:[63, 128] Operation: 80+48=128
Exploring Operation: 80-48=32, Resulting Numbers: [63, 32]
Generated Node #0,0,1: 89:[63, 32] Operation: 80-48=32
Exploring Operation: 48+63=111, Resulting Numbers: [80, 111]
Generated Node #0,0,2: 89:[80, 111] Operation: 48+63=111
Moving to Node #0,1
Current State: 89:[80, 48, 24], Operations: ['21+3=24']
Exploring Operation: 80-24=56, Resulting Numbers: [48, 56]
Generated Node #0,1,0: 89:[48, 56] Operation: 80-24=56
Exploring Operation: 48+24=72, Resulting Numbers: [80, 72]
Generated Node #0,1,1: 89:[80, 72] Operation: 48+24=72
Exploring Operation: 80+24=104, Resulting Numbers: [48, 104]
Generated Node #0,1,2: 89:[48, 104] Operation: 80+24=104
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[80, 72], Operations: ['21+3=24', '48+24=72']
Exploring Operation: 80-72=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 80+72=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 80*72=5760, Resulting Numbers: [5760]
5760,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[48, 104], Operations: ['21+3=24', '80+24=104']
Exploring Operation: 48+104=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 48*104=4992, Resulting Numbers: [4992]
4992,89 unequal: No Solution
Exploring Operation: 104-48=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[48, 56], Operations: ['21+3=24', '80-24=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,89 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,89 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: 89:[80, 3, 69], Operations: ['21+48=69']
Exploring Operation: 80+3=83, Resulting Numbers: [69, 83]
Generated Node #0,2,0: 89:[69, 83] Operation: 80+3=83
Exploring Operation: 80-3=77, Resulting Numbers: [69, 77]
Generated Node #0,2,1: 89:[69, 77] Operation: 80-3=77
Exploring Operation: 3+69=72, Resulting Numbers: [80, 72]
Generated Node #0,2,2: 89:[80, 72] Operation: 3+69=72
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[69, 83], Operations: ['21+48=69', '80+3=83']
Exploring Operation: 69+83=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 69*83=5727, Resulting Numbers: [5727]
5727,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:[80, 72], Operations: ['21+48=69', '3+69=72']
Exploring Operation: 80+72=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 80-72=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 80*72=5760, Resulting Numbers: [5760]
5760,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:[69, 77], Operations: ['21+48=69', '80-3=77']
Exploring Operation: 69*77=5313, Resulting Numbers: [5313]
5313,89 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 69+77=146, Resulting Numbers: [146]
146,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 89:[80, 111], Operations: ['21*3=63', '48+63=111']
Exploring Operation: 80*111=8880, Resulting Numbers: [8880]
8880,89 unequal: No Solution
Exploring Operation: 111-80=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 80+111=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[63, 128], Operations: ['21*3=63', '80+48=128']
Exploring Operation: 63*128=8064, Resulting Numbers: [8064]
8064,89 unequal: No Solution
Exploring Operation: 128-63=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Exploring Operation: 63+128=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[63, 32], Operations: ['21*3=63', '80-48=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,89 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
83,
29,
31
] | 32 | [
"83+31=114",
"114/38=3",
"29+3=32"
] | Current State: 32:[38, 83, 29, 31], Operations: []
Exploring Operation: 83+31=114, Resulting Numbers: [38, 29, 114]
Generated Node #2: [38, 29, 114] from Operation: 83+31=114
Current State: 32:[38, 29, 114], Operations: ['83+31=114']
Exploring Operation: 114/38=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 114/38=3
Current State: 32:[29, 3], Operations: ['83+31=114', '114/38=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[38, 83, 29, 31], Operations: []
Exploring Operation: 83-31=52, Resulting Numbers: [38, 29, 52]
Generated Node #0,0: 32:[38, 29, 52] Operation: 83-31=52
Exploring Operation: 83-38=45, Resulting Numbers: [29, 31, 45]
Generated Node #0,1: 32:[29, 31, 45] Operation: 83-38=45
Exploring Operation: 38-29=9, Resulting Numbers: [83, 31, 9]
Generated Node #0,2: 32:[83, 31, 9] Operation: 38-29=9
Exploring Operation: 83-29=54, Resulting Numbers: [38, 31, 54]
Generated Node #0,3: 32:[38, 31, 54] Operation: 83-29=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[29, 31, 45], Operations: ['83-38=45']
Exploring Operation: 45-29=16, Resulting Numbers: [31, 16]
Generated Node #0,1,0: 32:[31, 16] Operation: 45-29=16
Exploring Operation: 45-31=14, Resulting Numbers: [29, 14]
Generated Node #0,1,1: 32:[29, 14] Operation: 45-31=14
Exploring Operation: 29+31=60, Resulting Numbers: [45, 60]
Generated Node #0,1,2: 32:[45, 60] Operation: 29+31=60
Exploring Operation: 31-29=2, Resulting Numbers: [45, 2]
Generated Node #0,1,3: 32:[45, 2] Operation: 31-29=2
Moving to Node #0,1,0
Current State: 32:[31, 16], Operations: ['83-38=45', '45-29=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,32 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[29, 14], Operations: ['83-38=45', '45-31=14']
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,32 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[45, 2], Operations: ['83-38=45', '31-29=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,32 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[45, 60], Operations: ['83-38=45', '29+31=60']
Exploring Operation: 45+60=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 45*60=2700, Resulting Numbers: [2700]
2700,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[38, 29, 52], Operations: ['83-31=52']
Exploring Operation: 38+29=67, Resulting Numbers: [52, 67]
Generated Node #0,0,0: 32:[52, 67] Operation: 38+29=67
Exploring Operation: 52-38=14, Resulting Numbers: [29, 14]
Generated Node #0,0,1: 32:[29, 14] Operation: 52-38=14
Exploring Operation: 52-29=23, Resulting Numbers: [38, 23]
Generated Node #0,0,2: 32:[38, 23] Operation: 52-29=23
Exploring Operation: 38-29=9, Resulting Numbers: [52, 9]
Generated Node #0,0,3: 32:[52, 9] Operation: 38-29=9
Moving to Node #0,0,1
Current State: 32:[29, 14], Operations: ['83-31=52', '52-38=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,32 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[38, 23], Operations: ['83-31=52', '52-29=23']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[52, 9], Operations: ['83-31=52', '38-29=9']
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,32 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[52, 67], Operations: ['83-31=52', '38+29=67']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,32 unequal: No Solution
Exploring Operation: 52*67=3484, Resulting Numbers: [3484]
3484,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
Current State: 32:[38, 31, 54], Operations: ['83-29=54']
Exploring Operation: 38-31=7, Resulting Numbers: [54, 7]
Generated Node #0,3,0: 32:[54, 7] Operation: 38-31=7
Exploring Operation: 54-31=23, Resulting Numbers: [38, 23]
Generated Node #0,3,1: 32:[38, 23] Operation: 54-31=23
Exploring Operation: 38+31=69, Resulting Numbers: [54, 69]
Generated Node #0,3,2: 32:[54, 69] Operation: 38+31=69
Exploring Operation: 54-38=16, Resulting Numbers: [31, 16]
Generated Node #0,3,3: 32:[31, 16] Operation: 54-38=16
Moving to Node #0,3,3
Current State: 32:[31, 16], Operations: ['83-29=54', '54-38=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[38, 23], Operations: ['83-29=54', '54-31=23']
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,32 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[54, 7], Operations: ['83-29=54', '38-31=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[54, 69], Operations: ['83-29=54', '38+31=69']
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,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,2
Current State: 32:[83, 31, 9], Operations: ['38-29=9']
Exploring Operation: 31-9=22, Resulting Numbers: [83, 22]
Generated Node #0,2,0: 32:[83, 22] Operation: 31-9=22
Exploring Operation: 83-31=52, Resulting Numbers: [9, 52]
Generated Node #0,2,1: 32:[9, 52] Operation: 83-31=52
Exploring Operation: 31+9=40, Resulting Numbers: [83, 40]
Generated Node #0,2,2: 32:[83, 40] Operation: 31+9=40
Exploring Operation: 83-9=74, Resulting Numbers: [31, 74]
Generated Node #0,2,3: 32:[31, 74] Operation: 83-9=74
Moving to Node #0,2,1
Current State: 32:[9, 52], Operations: ['38-29=9', '83-31=52']
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,32 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[31, 74], Operations: ['38-29=9', '83-9=74']
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,32 unequal: No Solution
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[83, 22], Operations: ['38-29=9', '31-9=22']
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,32 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[83, 40], Operations: ['38-29=9', '31+9=40']
Exploring Operation: 83+40=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Exploring Operation: 83*40=3320, Resulting Numbers: [3320]
3320,32 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
31,
2,
93,
43
] | 81 | [
"93-31=62",
"2*62=124",
"124-43=81"
] | Current State: 81:[31, 2, 93, 43], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [2, 43, 62]
Generated Node #2: [2, 43, 62] from Operation: 93-31=62
Current State: 81:[2, 43, 62], Operations: ['93-31=62']
Exploring Operation: 2*62=124, Resulting Numbers: [43, 124]
Generated Node #3: [43, 124] from Operation: 2*62=124
Current State: 81:[43, 124], Operations: ['93-31=62', '2*62=124']
Exploring Operation: 124-43=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[31, 2, 93, 43], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [2, 93, 12]
Generated Node #0,0: 81:[2, 93, 12] Operation: 43-31=12
Moving to Node #0,0
Current State: 81:[2, 93, 12], Operations: ['43-31=12']
Exploring Operation: 93-12=81, Resulting Numbers: [2, 81]
Generated Node #0,0,0: 81:[2, 81] Operation: 93-12=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[2, 81], Operations: ['43-31=12', '93-12=81']
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,81 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 |
[
97,
63,
49,
56
] | 71 | [
"97-63=34",
"49+56=105",
"105-34=71"
] | Current State: 71:[97, 63, 49, 56], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [49, 56, 34]
Generated Node #2: [49, 56, 34] from Operation: 97-63=34
Current State: 71:[49, 56, 34], Operations: ['97-63=34']
Exploring Operation: 49+56=105, Resulting Numbers: [34, 105]
Generated Node #3: [34, 105] from Operation: 49+56=105
Current State: 71:[34, 105], Operations: ['97-63=34', '49+56=105']
Exploring Operation: 105-34=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[97, 63, 49, 56], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [63, 56, 48]
Generated Node #0,0: 71:[63, 56, 48] Operation: 97-49=48
Exploring Operation: 97-56=41, Resulting Numbers: [63, 49, 41]
Generated Node #0,1: 71:[63, 49, 41] Operation: 97-56=41
Exploring Operation: 49+56=105, Resulting Numbers: [97, 63, 105]
Generated Node #0,2: 71:[97, 63, 105] Operation: 49+56=105
Moving to Node #0,0
Current State: 71:[63, 56, 48], Operations: ['97-49=48']
Exploring Operation: 56+48=104, Resulting Numbers: [63, 104]
Generated Node #0,0,0: 71:[63, 104] Operation: 56+48=104
Exploring Operation: 63+56=119, Resulting Numbers: [48, 119]
Generated Node #0,0,1: 71:[48, 119] Operation: 63+56=119
Exploring Operation: 63+48=111, Resulting Numbers: [56, 111]
Generated Node #0,0,2: 71:[56, 111] Operation: 63+48=111
Moving to Node #0,1
Current State: 71:[63, 49, 41], Operations: ['97-56=41']
Exploring Operation: 49+41=90, Resulting Numbers: [63, 90]
Generated Node #0,1,0: 71:[63, 90] Operation: 49+41=90
Exploring Operation: 63+49=112, Resulting Numbers: [41, 112]
Generated Node #0,1,1: 71:[41, 112] Operation: 63+49=112
Exploring Operation: 63+41=104, Resulting Numbers: [49, 104]
Generated Node #0,1,2: 71:[49, 104] Operation: 63+41=104
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[63, 90], Operations: ['97-56=41', '49+41=90']
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 63+90=153, Resulting Numbers: [153]
153,71 unequal: No Solution
Exploring Operation: 63*90=5670, Resulting Numbers: [5670]
5670,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,2
Current State: 71:[49, 104], Operations: ['97-56=41', '63+41=104']
Exploring Operation: 49*104=5096, Resulting Numbers: [5096]
5096,71 unequal: No Solution
Exploring Operation: 104-49=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 49+104=153, Resulting Numbers: [153]
153,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:[41, 112], Operations: ['97-56=41', '63+49=112']
Exploring Operation: 41+112=153, Resulting Numbers: [153]
153,71 unequal: No Solution
Exploring Operation: 41*112=4592, Resulting Numbers: [4592]
4592,71 unequal: No Solution
Exploring Operation: 112-41=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[97, 63, 49, 56], Operations: []
Exploring Operation: 97-56=41, Resulting Numbers: [63, 49, 41]
Generated Node #0,1: 71:[63, 49, 41] Operation: 97-56=41
Moving to Node #0,1
Current State: 71:[63, 49, 41], Operations: ['97-56=41']
Exploring Operation: 63+49=112, Resulting Numbers: [41, 112]
Generated Node #0,1,1: 71:[41, 112] Operation: 63+49=112
Moving to Node #0,1,1
Current State: 71:[41, 112], Operations: ['97-56=41', '63+49=112']
Exploring Operation: 112-41=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | sum_heuristic |
[
22,
34,
76,
27
] | 17 | [
"76-22=54",
"34*27=918",
"918/54=17"
] | Current State: 17:[22, 34, 76, 27], Operations: []
Exploring Operation: 76-22=54, Resulting Numbers: [34, 27, 54]
Generated Node #2: [34, 27, 54] from Operation: 76-22=54
Current State: 17:[34, 27, 54], Operations: ['76-22=54']
Exploring Operation: 34*27=918, Resulting Numbers: [54, 918]
Generated Node #3: [54, 918] from Operation: 34*27=918
Current State: 17:[54, 918], Operations: ['76-22=54', '34*27=918']
Exploring Operation: 918/54=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[22, 34, 76, 27], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [22, 34, 49]
Generated Node #0,0: 17:[22, 34, 49] Operation: 76-27=49
Exploring Operation: 76-34=42, Resulting Numbers: [22, 27, 42]
Generated Node #0,1: 17:[22, 27, 42] Operation: 76-34=42
Moving to Node #0,1
Current State: 17:[22, 27, 42], Operations: ['76-34=42']
Exploring Operation: 42-27=15, Resulting Numbers: [22, 15]
Generated Node #0,1,0: 17:[22, 15] Operation: 42-27=15
Exploring Operation: 42-22=20, Resulting Numbers: [27, 20]
Generated Node #0,1,1: 17:[27, 20] Operation: 42-22=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[22, 15], Operations: ['76-34=42', '42-27=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No 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: 17:[27, 20], Operations: ['76-34=42', '42-22=20']
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,17 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,17 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: 17:[22, 34, 49], Operations: ['76-27=49']
Exploring Operation: 49-22=27, Resulting Numbers: [34, 27]
Generated Node #0,0,0: 17:[34, 27] Operation: 49-22=27
Exploring Operation: 49-34=15, Resulting Numbers: [22, 15]
Generated Node #0,0,1: 17:[22, 15] Operation: 49-34=15
Moving to Node #0,0,1
Current State: 17:[22, 15], Operations: ['76-27=49', '49-34=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[34, 27], Operations: ['76-27=49', '49-22=27']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,17 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
91,
37,
26
] | 55 | [
"96-91=5",
"37-26=11",
"5*11=55"
] | Current State: 55:[96, 91, 37, 26], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [37, 26, 5]
Generated Node #2: [37, 26, 5] from Operation: 96-91=5
Current State: 55:[37, 26, 5], Operations: ['96-91=5']
Exploring Operation: 37-26=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 37-26=11
Current State: 55:[5, 11], Operations: ['96-91=5', '37-26=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[96, 91, 37, 26], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [37, 26, 5]
Generated Node #0,0: 55:[37, 26, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 55:[37, 26, 5], Operations: ['96-91=5']
Exploring Operation: 37-26=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 37-26=11
Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['96-91=5', '37-26=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[96, 91, 37, 26], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [37, 26, 5]
Generated Node #0,0: 55:[37, 26, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 55:[37, 26, 5], Operations: ['96-91=5']
Exploring Operation: 37-26=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 37-26=11
Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['96-91=5', '37-26=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
60,
43,
50,
2
] | 76 | [
"60-50=10",
"43*2=86",
"86-10=76"
] | Current State: 76:[60, 43, 50, 2], Operations: []
Exploring Operation: 60-50=10, Resulting Numbers: [43, 2, 10]
Generated Node #2: [43, 2, 10] from Operation: 60-50=10
Current State: 76:[43, 2, 10], Operations: ['60-50=10']
Exploring Operation: 43*2=86, Resulting Numbers: [10, 86]
Generated Node #3: [10, 86] from Operation: 43*2=86
Current State: 76:[10, 86], Operations: ['60-50=10', '43*2=86']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[60, 43, 50, 2], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [43, 50, 30]
Generated Node #0,0: 76:[43, 50, 30] Operation: 60/2=30
Exploring Operation: 50-43=7, Resulting Numbers: [60, 2, 7]
Generated Node #0,1: 76:[60, 2, 7] Operation: 50-43=7
Exploring Operation: 50/2=25, Resulting Numbers: [60, 43, 25]
Generated Node #0,2: 76:[60, 43, 25] Operation: 50/2=25
Exploring Operation: 60-50=10, Resulting Numbers: [43, 2, 10]
Generated Node #0,3: 76:[43, 2, 10] Operation: 60-50=10
Exploring Operation: 60-43=17, Resulting Numbers: [50, 2, 17]
Generated Node #0,4: 76:[50, 2, 17] Operation: 60-43=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[43, 2, 10], Operations: ['60-50=10']
Exploring Operation: 10-2=8, Resulting Numbers: [43, 8]
Generated Node #0,3,0: 76:[43, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [43, 5]
Generated Node #0,3,1: 76:[43, 5] Operation: 10/2=5
Exploring Operation: 43-2=41, Resulting Numbers: [10, 41]
Generated Node #0,3,2: 76:[10, 41] Operation: 43-2=41
Exploring Operation: 2*10=20, Resulting Numbers: [43, 20]
Generated Node #0,3,3: 76:[43, 20] Operation: 2*10=20
Exploring Operation: 43-10=33, Resulting Numbers: [2, 33]
Generated Node #0,3,4: 76:[2, 33] Operation: 43-10=33
Moving to Node #0,3,4
Current State: 76:[2, 33], Operations: ['60-50=10', '43-10=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[43, 20], Operations: ['60-50=10', '2*10=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,76 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[43, 5], Operations: ['60-50=10', '10/2=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[43, 8], Operations: ['60-50=10', '10-2=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[10, 41], Operations: ['60-50=10', '43-2=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,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,4
Current State: 76:[50, 2, 17], Operations: ['60-43=17']
Exploring Operation: 50/2=25, Resulting Numbers: [17, 25]
Generated Node #0,4,0: 76:[17, 25] Operation: 50/2=25
Exploring Operation: 50+17=67, Resulting Numbers: [2, 67]
Generated Node #0,4,1: 76:[2, 67] Operation: 50+17=67
Exploring Operation: 50-2=48, Resulting Numbers: [17, 48]
Generated Node #0,4,2: 76:[17, 48] Operation: 50-2=48
Exploring Operation: 50-17=33, Resulting Numbers: [2, 33]
Generated Node #0,4,3: 76:[2, 33] Operation: 50-17=33
Exploring Operation: 2+17=19, Resulting Numbers: [50, 19]
Generated Node #0,4,4: 76:[50, 19] Operation: 2+17=19
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[2, 33], Operations: ['60-43=17', '50-17=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,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,4,0
Current State: 76:[17, 25], Operations: ['60-43=17', '50/2=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,76 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,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,4,1
Current State: 76:[2, 67], Operations: ['60-43=17', '50+17=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,76 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,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,4,2
Current State: 76:[17, 48], Operations: ['60-43=17', '50-2=48']
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,76 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,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,4,4
Current State: 76:[50, 19], Operations: ['60-43=17', '2+17=19']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,76 unequal: No Solution
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,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:[60, 2, 7], Operations: ['50-43=7']
Exploring Operation: 7-2=5, Resulting Numbers: [60, 5]
Generated Node #0,1,0: 76:[60, 5] Operation: 7-2=5
Exploring Operation: 60/2=30, Resulting Numbers: [7, 30]
Generated Node #0,1,1: 76:[7, 30] Operation: 60/2=30
Exploring Operation: 60+2=62, Resulting Numbers: [7, 62]
Generated Node #0,1,2: 76:[7, 62] Operation: 60+2=62
Exploring Operation: 60-7=53, Resulting Numbers: [2, 53]
Generated Node #0,1,3: 76:[2, 53] Operation: 60-7=53
Exploring Operation: 60+7=67, Resulting Numbers: [2, 67]
Generated Node #0,1,4: 76:[2, 67] Operation: 60+7=67
Moving to Node #0,1,4
Current State: 76:[2, 67], Operations: ['50-43=7', '60+7=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,76 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[7, 30], Operations: ['50-43=7', '60/2=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,76 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[2, 53], Operations: ['50-43=7', '60-7=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,76 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[60, 5], Operations: ['50-43=7', '7-2=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,76 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[7, 62], Operations: ['50-43=7', '60+2=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,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,0
Current State: 76:[43, 50, 30], Operations: ['60/2=30']
Exploring Operation: 50-30=20, Resulting Numbers: [43, 20]
Generated Node #0,0,0: 76:[43, 20] Operation: 50-30=20
Exploring Operation: 43+30=73, Resulting Numbers: [50, 73]
Generated Node #0,0,1: 76:[50, 73] Operation: 43+30=73
Exploring Operation: 50-43=7, Resulting Numbers: [30, 7]
Generated Node #0,0,2: 76:[30, 7] Operation: 50-43=7
Exploring Operation: 50+30=80, Resulting Numbers: [43, 80]
Generated Node #0,0,3: 76:[43, 80] Operation: 50+30=80
Exploring Operation: 43-30=13, Resulting Numbers: [50, 13]
Generated Node #0,0,4: 76:[50, 13] Operation: 43-30=13
Moving to Node #0,0,0
Current State: 76:[43, 20], Operations: ['60/2=30', '50-30=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[43, 80], Operations: ['60/2=30', '50+30=80']
Exploring Operation: 43+80=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Exploring Operation: 43*80=3440, Resulting Numbers: [3440]
3440,76 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[30, 7], Operations: ['60/2=30', '50-43=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[50, 73], Operations: ['60/2=30', '43+30=73']
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 50*73=3650, Resulting Numbers: [3650]
3650,76 unequal: No Solution
Exploring Operation: 50+73=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[50, 13], Operations: ['60/2=30', '43-30=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,76 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,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:[60, 43, 25], Operations: ['50/2=25']
Exploring Operation: 60+25=85, Resulting Numbers: [43, 85]
Generated Node #0,2,0: 76:[43, 85] Operation: 60+25=85
Exploring Operation: 60-43=17, Resulting Numbers: [25, 17]
Generated Node #0,2,1: 76:[25, 17] Operation: 60-43=17
Exploring Operation: 43+25=68, Resulting Numbers: [60, 68]
Generated Node #0,2,2: 76:[60, 68] Operation: 43+25=68
Exploring Operation: 43-25=18, Resulting Numbers: [60, 18]
Generated Node #0,2,3: 76:[60, 18] Operation: 43-25=18
Exploring Operation: 60-25=35, Resulting Numbers: [43, 35]
Generated Node #0,2,4: 76:[43, 35] Operation: 60-25=35
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[25, 17], Operations: ['50/2=25', '60-43=17']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,76 unequal: No Solution
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,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,4
Current State: 76:[43, 35], Operations: ['50/2=25', '60-25=35']
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 43*35=1505, Resulting Numbers: [1505]
1505,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,0
Current State: 76:[43, 85], Operations: ['50/2=25', '60+25=85']
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,76 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,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:[60, 18], Operations: ['50/2=25', '43-25=18']
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,76 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,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:[60, 68], Operations: ['50/2=25', '43+25=68']
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,76 unequal: No Solution
Exploring Operation: 60*68=4080, Resulting Numbers: [4080]
4080,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_5 | mult_heuristic |
[
7,
15,
53,
6
] | 38 | [
"7-6=1",
"53-15=38",
"1*38=38"
] | Current State: 38:[7, 15, 53, 6], Operations: []
Exploring Operation: 7-6=1, Resulting Numbers: [15, 53, 1]
Generated Node #2: [15, 53, 1] from Operation: 7-6=1
Current State: 38:[15, 53, 1], Operations: ['7-6=1']
Exploring Operation: 53-15=38, Resulting Numbers: [1, 38]
Generated Node #3: [1, 38] from Operation: 53-15=38
Current State: 38:[1, 38], Operations: ['7-6=1', '53-15=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[7, 15, 53, 6], Operations: []
Exploring Operation: 53-7=46, Resulting Numbers: [15, 6, 46]
Generated Node #0,0: 38:[15, 6, 46] Operation: 53-7=46
Exploring Operation: 53-15=38, Resulting Numbers: [7, 6, 38]
Generated Node #0,1: 38:[7, 6, 38] Operation: 53-15=38
Moving to Node #0,1
Current State: 38:[7, 6, 38], Operations: ['53-15=38']
Exploring Operation: 7*6=42, Resulting Numbers: [38, 42]
Generated Node #0,1,0: 38:[38, 42] Operation: 7*6=42
Exploring Operation: 7-6=1, Resulting Numbers: [38, 1]
Generated Node #0,1,1: 38:[38, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[38, 1], Operations: ['53-15=38', '7-6=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[7, 15, 53, 6], Operations: []
Exploring Operation: 53-15=38, Resulting Numbers: [7, 6, 38]
Generated Node #0,1: 38:[7, 6, 38] Operation: 53-15=38
Moving to Node #0,1
Current State: 38:[7, 6, 38], Operations: ['53-15=38']
Exploring Operation: 7-6=1, Resulting Numbers: [38, 1]
Generated Node #0,1,1: 38:[38, 1] Operation: 7-6=1
Moving to Node #0,1,1
Current State: 38:[38, 1], Operations: ['53-15=38', '7-6=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
40,
16,
18,
59
] | 53 | [
"40-16=24",
"18+59=77",
"77-24=53"
] | Current State: 53:[40, 16, 18, 59], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [18, 59, 24]
Generated Node #2: [18, 59, 24] from Operation: 40-16=24
Current State: 53:[18, 59, 24], Operations: ['40-16=24']
Exploring Operation: 18+59=77, Resulting Numbers: [24, 77]
Generated Node #3: [24, 77] from Operation: 18+59=77
Current State: 53:[24, 77], Operations: ['40-16=24', '18+59=77']
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[40, 16, 18, 59], Operations: []
Exploring Operation: 59-18=41, Resulting Numbers: [40, 16, 41]
Generated Node #0,0: 53:[40, 16, 41] Operation: 59-18=41
Exploring Operation: 59-16=43, Resulting Numbers: [40, 18, 43]
Generated Node #0,1: 53:[40, 18, 43] Operation: 59-16=43
Exploring Operation: 16+18=34, Resulting Numbers: [40, 59, 34]
Generated Node #0,2: 53:[40, 59, 34] Operation: 16+18=34
Exploring Operation: 40+16=56, Resulting Numbers: [18, 59, 56]
Generated Node #0,3: 53:[18, 59, 56] Operation: 40+16=56
Exploring Operation: 40+18=58, Resulting Numbers: [16, 59, 58]
Generated Node #0,4: 53:[16, 59, 58] Operation: 40+18=58
Moving to Node #0,2
Current State: 53:[40, 59, 34], Operations: ['16+18=34']
Exploring Operation: 40+34=74, Resulting Numbers: [59, 74]
Generated Node #0,2,0: 53:[59, 74] Operation: 40+34=74
Exploring Operation: 40-34=6, Resulting Numbers: [59, 6]
Generated Node #0,2,1: 53:[59, 6] Operation: 40-34=6
Exploring Operation: 59-40=19, Resulting Numbers: [34, 19]
Generated Node #0,2,2: 53:[34, 19] Operation: 59-40=19
Exploring Operation: 59-34=25, Resulting Numbers: [40, 25]
Generated Node #0,2,3: 53:[40, 25] Operation: 59-34=25
Exploring Operation: 59+34=93, Resulting Numbers: [40, 93]
Generated Node #0,2,4: 53:[40, 93] Operation: 59+34=93
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[59, 74], Operations: ['16+18=34', '40+34=74']
Exploring Operation: 59+74=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 59*74=4366, Resulting Numbers: [4366]
4366,53 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[40, 25], Operations: ['16+18=34', '59-34=25']
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,53 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[59, 6], Operations: ['16+18=34', '40-34=6']
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,53 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[40, 16, 18, 59], Operations: []
Exploring Operation: 16+18=34, Resulting Numbers: [40, 59, 34]
Generated Node #0,2: 53:[40, 59, 34] Operation: 16+18=34
Moving to Node #0,2
Current State: 53:[40, 59, 34], Operations: ['16+18=34']
Exploring Operation: 40-34=6, Resulting Numbers: [59, 6]
Generated Node #0,2,1: 53:[59, 6] Operation: 40-34=6
Moving to Node #0,2,1
Current State: 53:[59, 6], Operations: ['16+18=34', '40-34=6']
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
72,
7,
75,
76
] | 64 | [
"72-7=65",
"76-75=1",
"65-1=64"
] | Current State: 64:[72, 7, 75, 76], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [75, 76, 65]
Generated Node #2: [75, 76, 65] from Operation: 72-7=65
Current State: 64:[75, 76, 65], Operations: ['72-7=65']
Exploring Operation: 76-75=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 76-75=1
Current State: 64:[65, 1], Operations: ['72-7=65', '76-75=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[72, 7, 75, 76], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [72, 7, 1]
Generated Node #0,0: 64:[72, 7, 1] Operation: 76-75=1
Exploring Operation: 76-72=4, Resulting Numbers: [7, 75, 4]
Generated Node #0,1: 64:[7, 75, 4] Operation: 76-72=4
Exploring Operation: 75-72=3, Resulting Numbers: [7, 76, 3]
Generated Node #0,2: 64:[7, 76, 3] Operation: 75-72=3
Exploring Operation: 72-7=65, Resulting Numbers: [75, 76, 65]
Generated Node #0,3: 64:[75, 76, 65] Operation: 72-7=65
Exploring Operation: 75-7=68, Resulting Numbers: [72, 76, 68]
Generated Node #0,4: 64:[72, 76, 68] Operation: 75-7=68
Moving to Node #0,0
Current State: 64:[72, 7, 1], Operations: ['76-75=1']
Exploring Operation: 72-7=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 64:[1, 65] Operation: 72-7=65
Exploring Operation: 72*1=72, Resulting Numbers: [7, 72]
Generated Node #0,0,1: 64:[7, 72] Operation: 72*1=72
Exploring Operation: 7+1=8, Resulting Numbers: [72, 8]
Generated Node #0,0,2: 64:[72, 8] Operation: 7+1=8
Exploring Operation: 72/1=72, Resulting Numbers: [7, 72]
Generated Node #0,0,3: 64:[7, 72] Operation: 72/1=72
Exploring Operation: 72-1=71, Resulting Numbers: [7, 71]
Generated Node #0,0,4: 64:[7, 71] Operation: 72-1=71
Moving to Node #0,1
Current State: 64:[7, 75, 4], Operations: ['76-72=4']
Exploring Operation: 75-4=71, Resulting Numbers: [7, 71]
Generated Node #0,1,0: 64:[7, 71] Operation: 75-4=71
Exploring Operation: 75-7=68, Resulting Numbers: [4, 68]
Generated Node #0,1,1: 64:[4, 68] Operation: 75-7=68
Exploring Operation: 7+4=11, Resulting Numbers: [75, 11]
Generated Node #0,1,2: 64:[75, 11] Operation: 7+4=11
Exploring Operation: 7*4=28, Resulting Numbers: [75, 28]
Generated Node #0,1,3: 64:[75, 28] Operation: 7*4=28
Exploring Operation: 7-4=3, Resulting Numbers: [75, 3]
Generated Node #0,1,4: 64:[75, 3] Operation: 7-4=3
Moving to Node #0,2
Current State: 64:[7, 76, 3], Operations: ['75-72=3']
Exploring Operation: 7-3=4, Resulting Numbers: [76, 4]
Generated Node #0,2,0: 64:[76, 4] Operation: 7-3=4
Exploring Operation: 76-7=69, Resulting Numbers: [3, 69]
Generated Node #0,2,1: 64:[3, 69] Operation: 76-7=69
Exploring Operation: 7+3=10, Resulting Numbers: [76, 10]
Generated Node #0,2,2: 64:[76, 10] Operation: 7+3=10
Exploring Operation: 76+3=79, Resulting Numbers: [7, 79]
Generated Node #0,2,3: 64:[7, 79] Operation: 76+3=79
Exploring Operation: 76-3=73, Resulting Numbers: [7, 73]
Generated Node #0,2,4: 64:[7, 73] Operation: 76-3=73
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[3, 69], Operations: ['75-72=3', '76-7=69']
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,64 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 64:[7, 73], Operations: ['75-72=3', '76-3=73']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,64 unequal: No Solution
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[76, 4], Operations: ['75-72=3', '7-3=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,64 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,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,2
Current State: 64:[76, 10], Operations: ['75-72=3', '7+3=10']
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,64 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,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,3
Current State: 64:[7, 79], Operations: ['75-72=3', '76+3=79']
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,64 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 64:[75, 76, 65], Operations: ['72-7=65']
Exploring Operation: 75+76=151, Resulting Numbers: [65, 151]
Generated Node #0,3,0: 64:[65, 151] Operation: 75+76=151
Exploring Operation: 76-65=11, Resulting Numbers: [75, 11]
Generated Node #0,3,1: 64:[75, 11] Operation: 76-65=11
Exploring Operation: 76-75=1, Resulting Numbers: [65, 1]
Generated Node #0,3,2: 64:[65, 1] Operation: 76-75=1
Exploring Operation: 75+65=140, Resulting Numbers: [76, 140]
Generated Node #0,3,3: 64:[76, 140] Operation: 75+65=140
Exploring Operation: 75-65=10, Resulting Numbers: [76, 10]
Generated Node #0,3,4: 64:[76, 10] Operation: 75-65=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[65, 1], Operations: ['72-7=65', '76-75=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[72, 7, 75, 76], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [75, 76, 65]
Generated Node #0,3: 64:[75, 76, 65] Operation: 72-7=65
Moving to Node #0,3
Current State: 64:[75, 76, 65], Operations: ['72-7=65']
Exploring Operation: 76-75=1, Resulting Numbers: [65, 1]
Generated Node #0,3,2: 64:[65, 1] Operation: 76-75=1
Moving to Node #0,3,2
Current State: 64:[65, 1], Operations: ['72-7=65', '76-75=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
35,
50,
91,
22
] | 54 | [
"50-35=15",
"91-22=69",
"69-15=54"
] | Current State: 54:[35, 50, 91, 22], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [91, 22, 15]
Generated Node #2: [91, 22, 15] from Operation: 50-35=15
Current State: 54:[91, 22, 15], Operations: ['50-35=15']
Exploring Operation: 91-22=69, Resulting Numbers: [15, 69]
Generated Node #3: [15, 69] from Operation: 91-22=69
Current State: 54:[15, 69], Operations: ['50-35=15', '91-22=69']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[35, 50, 91, 22], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [35, 22, 41]
Generated Node #0,0: 54:[35, 22, 41] Operation: 91-50=41
Exploring Operation: 91-35=56, Resulting Numbers: [50, 22, 56]
Generated Node #0,1: 54:[50, 22, 56] Operation: 91-35=56
Exploring Operation: 50-35=15, Resulting Numbers: [91, 22, 15]
Generated Node #0,2: 54:[91, 22, 15] Operation: 50-35=15
Exploring Operation: 91-22=69, Resulting Numbers: [35, 50, 69]
Generated Node #0,3: 54:[35, 50, 69] Operation: 91-22=69
Exploring Operation: 35+22=57, Resulting Numbers: [50, 91, 57]
Generated Node #0,4: 54:[50, 91, 57] Operation: 35+22=57
Moving to Node #0,1
Current State: 54:[50, 22, 56], Operations: ['91-35=56']
Exploring Operation: 50+22=72, Resulting Numbers: [56, 72]
Generated Node #0,1,0: 54:[56, 72] Operation: 50+22=72
Exploring Operation: 50-22=28, Resulting Numbers: [56, 28]
Generated Node #0,1,1: 54:[56, 28] Operation: 50-22=28
Exploring Operation: 56-22=34, Resulting Numbers: [50, 34]
Generated Node #0,1,2: 54:[50, 34] Operation: 56-22=34
Exploring Operation: 56-50=6, Resulting Numbers: [22, 6]
Generated Node #0,1,3: 54:[22, 6] Operation: 56-50=6
Exploring Operation: 22+56=78, Resulting Numbers: [50, 78]
Generated Node #0,1,4: 54:[50, 78] Operation: 22+56=78
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[56, 28], Operations: ['91-35=56', '50-22=28']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,54 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[22, 6], Operations: ['91-35=56', '56-50=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[50, 34], Operations: ['91-35=56', '56-22=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,54 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[56, 72], Operations: ['91-35=56', '50+22=72']
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,54 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 54:[50, 78], Operations: ['91-35=56', '22+56=78']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 50*78=3900, Resulting Numbers: [3900]
3900,54 unequal: No Solution
Exploring Operation: 50+78=128, Resulting Numbers: [128]
128,54 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: 54:[35, 22, 41], Operations: ['91-50=41']
Exploring Operation: 22+41=63, Resulting Numbers: [35, 63]
Generated Node #0,0,0: 54:[35, 63] Operation: 22+41=63
Exploring Operation: 41-22=19, Resulting Numbers: [35, 19]
Generated Node #0,0,1: 54:[35, 19] Operation: 41-22=19
Exploring Operation: 41-35=6, Resulting Numbers: [22, 6]
Generated Node #0,0,2: 54:[22, 6] Operation: 41-35=6
Exploring Operation: 35-22=13, Resulting Numbers: [41, 13]
Generated Node #0,0,3: 54:[41, 13] Operation: 35-22=13
Exploring Operation: 35+22=57, Resulting Numbers: [41, 57]
Generated Node #0,0,4: 54:[41, 57] Operation: 35+22=57
Moving to Node #0,3
Current State: 54:[35, 50, 69], Operations: ['91-22=69']
Exploring Operation: 35+50=85, Resulting Numbers: [69, 85]
Generated Node #0,3,0: 54:[69, 85] Operation: 35+50=85
Exploring Operation: 69-50=19, Resulting Numbers: [35, 19]
Generated Node #0,3,1: 54:[35, 19] Operation: 69-50=19
Exploring Operation: 69-35=34, Resulting Numbers: [50, 34]
Generated Node #0,3,2: 54:[50, 34] Operation: 69-35=34
Exploring Operation: 50-35=15, Resulting Numbers: [69, 15]
Generated Node #0,3,3: 54:[69, 15] Operation: 50-35=15
Exploring Operation: 35+69=104, Resulting Numbers: [50, 104]
Generated Node #0,3,4: 54:[50, 104] Operation: 35+69=104
Moving to Node #0,2
Current State: 54:[91, 22, 15], Operations: ['50-35=15']
Exploring Operation: 22+15=37, Resulting Numbers: [91, 37]
Generated Node #0,2,0: 54:[91, 37] Operation: 22+15=37
Exploring Operation: 91+15=106, Resulting Numbers: [22, 106]
Generated Node #0,2,1: 54:[22, 106] Operation: 91+15=106
Exploring Operation: 91-15=76, Resulting Numbers: [22, 76]
Generated Node #0,2,2: 54:[22, 76] Operation: 91-15=76
Exploring Operation: 91-22=69, Resulting Numbers: [15, 69]
Generated Node #0,2,3: 54:[15, 69] Operation: 91-22=69
Exploring Operation: 22-15=7, Resulting Numbers: [91, 7]
Generated Node #0,2,4: 54:[91, 7] Operation: 22-15=7
Moving to Node #0,4
Current State: 54:[50, 91, 57], Operations: ['35+22=57']
Exploring Operation: 91-57=34, Resulting Numbers: [50, 34]
Generated Node #0,4,0: 54:[50, 34] Operation: 91-57=34
Exploring Operation: 91-50=41, Resulting Numbers: [57, 41]
Generated Node #0,4,1: 54:[57, 41] Operation: 91-50=41
Exploring Operation: 57-50=7, Resulting Numbers: [91, 7]
Generated Node #0,4,2: 54:[91, 7] Operation: 57-50=7
Exploring Operation: 50+57=107, Resulting Numbers: [91, 107]
Generated Node #0,4,3: 54:[91, 107] Operation: 50+57=107
Exploring Operation: 50+91=141, Resulting Numbers: [57, 141]
Generated Node #0,4,4: 54:[57, 141] Operation: 50+91=141
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 54:[50, 34], Operations: ['35+22=57', '91-57=34']
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,54 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 54:[57, 41], Operations: ['35+22=57', '91-50=41']
Exploring Operation: 57*41=2337, Resulting Numbers: [2337]
2337,54 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 54:[91, 7], Operations: ['35+22=57', '57-50=7']
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,54 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,54 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 54:[91, 107], Operations: ['35+22=57', '50+57=107']
Exploring Operation: 91+107=198, Resulting Numbers: [198]
198,54 unequal: No Solution
Exploring Operation: 91*107=9737, Resulting Numbers: [9737]
9737,54 unequal: No Solution
Exploring Operation: 107-91=16, Resulting Numbers: [16]
16,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 54:[57, 141], Operations: ['35+22=57', '50+91=141']
Exploring Operation: 57+141=198, Resulting Numbers: [198]
198,54 unequal: No Solution
Exploring Operation: 57*141=8037, Resulting Numbers: [8037]
8037,54 unequal: No Solution
Exploring Operation: 141-57=84, Resulting Numbers: [84]
84,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 54:[22, 6], Operations: ['91-50=41', '41-35=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,54 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[35, 19], Operations: ['91-22=69', '69-50=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,54 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[35, 50, 91, 22], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [35, 50, 69]
Generated Node #0,3: 54:[35, 50, 69] Operation: 91-22=69
Moving to Node #0,3
Current State: 54:[35, 50, 69], Operations: ['91-22=69']
Exploring Operation: 69-50=19, Resulting Numbers: [35, 19]
Generated Node #0,3,1: 54:[35, 19] Operation: 69-50=19
Moving to Node #0,3,1
Current State: 54:[35, 19], Operations: ['91-22=69', '69-50=19']
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.9375 | hs_5 | mult_heuristic |
[
47,
60,
40,
98
] | 31 | [
"47+60=107",
"40+98=138",
"138-107=31"
] | Current State: 31:[47, 60, 40, 98], Operations: []
Exploring Operation: 47+60=107, Resulting Numbers: [40, 98, 107]
Generated Node #2: [40, 98, 107] from Operation: 47+60=107
Current State: 31:[40, 98, 107], Operations: ['47+60=107']
Exploring Operation: 40+98=138, Resulting Numbers: [107, 138]
Generated Node #3: [107, 138] from Operation: 40+98=138
Current State: 31:[107, 138], Operations: ['47+60=107', '40+98=138']
Exploring Operation: 138-107=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[47, 60, 40, 98], Operations: []
Exploring Operation: 60-47=13, Resulting Numbers: [40, 98, 13]
Generated Node #0,0: 31:[40, 98, 13] Operation: 60-47=13
Exploring Operation: 60-40=20, Resulting Numbers: [47, 98, 20]
Generated Node #0,1: 31:[47, 98, 20] Operation: 60-40=20
Exploring Operation: 98-47=51, Resulting Numbers: [60, 40, 51]
Generated Node #0,2: 31:[60, 40, 51] Operation: 98-47=51
Exploring Operation: 98-60=38, Resulting Numbers: [47, 40, 38]
Generated Node #0,3: 31:[47, 40, 38] Operation: 98-60=38
Exploring Operation: 98-40=58, Resulting Numbers: [47, 60, 58]
Generated Node #0,4: 31:[47, 60, 58] Operation: 98-40=58
Moving to Node #0,3
Current State: 31:[47, 40, 38], Operations: ['98-60=38']
Exploring Operation: 47+40=87, Resulting Numbers: [38, 87]
Generated Node #0,3,0: 31:[38, 87] Operation: 47+40=87
Exploring Operation: 47+38=85, Resulting Numbers: [40, 85]
Generated Node #0,3,1: 31:[40, 85] Operation: 47+38=85
Exploring Operation: 40-38=2, Resulting Numbers: [47, 2]
Generated Node #0,3,2: 31:[47, 2] Operation: 40-38=2
Exploring Operation: 47-38=9, Resulting Numbers: [40, 9]
Generated Node #0,3,3: 31:[40, 9] Operation: 47-38=9
Exploring Operation: 47-40=7, Resulting Numbers: [38, 7]
Generated Node #0,3,4: 31:[38, 7] Operation: 47-40=7
Moving to Node #0,2
Current State: 31:[60, 40, 51], Operations: ['98-47=51']
Exploring Operation: 60-40=20, Resulting Numbers: [51, 20]
Generated Node #0,2,0: 31:[51, 20] Operation: 60-40=20
Exploring Operation: 60+40=100, Resulting Numbers: [51, 100]
Generated Node #0,2,1: 31:[51, 100] Operation: 60+40=100
Exploring Operation: 60-51=9, Resulting Numbers: [40, 9]
Generated Node #0,2,2: 31:[40, 9] Operation: 60-51=9
Exploring Operation: 51-40=11, Resulting Numbers: [60, 11]
Generated Node #0,2,3: 31:[60, 11] Operation: 51-40=11
Exploring Operation: 60+51=111, Resulting Numbers: [40, 111]
Generated Node #0,2,4: 31:[40, 111] Operation: 60+51=111
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[51, 20], Operations: ['98-47=51', '60-40=20']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[47, 60, 40, 98], Operations: []
Exploring Operation: 98-47=51, Resulting Numbers: [60, 40, 51]
Generated Node #0,2: 31:[60, 40, 51] Operation: 98-47=51
Moving to Node #0,2
Current State: 31:[60, 40, 51], Operations: ['98-47=51']
Exploring Operation: 60-40=20, Resulting Numbers: [51, 20]
Generated Node #0,2,0: 31:[51, 20] Operation: 60-40=20
Moving to Node #0,2,0
Current State: 31:[51, 20], Operations: ['98-47=51', '60-40=20']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
66,
50,
44,
29
] | 40 | [
"66+50=116",
"116/29=4",
"44-4=40"
] | Current State: 40:[66, 50, 44, 29], Operations: []
Exploring Operation: 66+50=116, Resulting Numbers: [44, 29, 116]
Generated Node #2: [44, 29, 116] from Operation: 66+50=116
Current State: 40:[44, 29, 116], Operations: ['66+50=116']
Exploring Operation: 116/29=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 116/29=4
Current State: 40:[44, 4], Operations: ['66+50=116', '116/29=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[66, 50, 44, 29], Operations: []
Exploring Operation: 66-44=22, Resulting Numbers: [50, 29, 22]
Generated Node #0,0: 40:[50, 29, 22] Operation: 66-44=22
Exploring Operation: 50-44=6, Resulting Numbers: [66, 29, 6]
Generated Node #0,1: 40:[66, 29, 6] Operation: 50-44=6
Exploring Operation: 50-29=21, Resulting Numbers: [66, 44, 21]
Generated Node #0,2: 40:[66, 44, 21] Operation: 50-29=21
Exploring Operation: 66-50=16, Resulting Numbers: [44, 29, 16]
Generated Node #0,3: 40:[44, 29, 16] Operation: 66-50=16
Exploring Operation: 66-29=37, Resulting Numbers: [50, 44, 37]
Generated Node #0,4: 40:[50, 44, 37] Operation: 66-29=37
Moving to Node #0,3
Current State: 40:[44, 29, 16], Operations: ['66-50=16']
Exploring Operation: 29-16=13, Resulting Numbers: [44, 13]
Generated Node #0,3,0: 40:[44, 13] Operation: 29-16=13
Exploring Operation: 29+16=45, Resulting Numbers: [44, 45]
Generated Node #0,3,1: 40:[44, 45] Operation: 29+16=45
Exploring Operation: 44-29=15, Resulting Numbers: [16, 15]
Generated Node #0,3,2: 40:[16, 15] Operation: 44-29=15
Exploring Operation: 44-16=28, Resulting Numbers: [29, 28]
Generated Node #0,3,3: 40:[29, 28] Operation: 44-16=28
Exploring Operation: 44+16=60, Resulting Numbers: [29, 60]
Generated Node #0,3,4: 40:[29, 60] Operation: 44+16=60
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[44, 13], Operations: ['66-50=16', '29-16=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,40 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[44, 45], Operations: ['66-50=16', '29+16=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,40 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[16, 15], Operations: ['66-50=16', '44-29=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,40 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 40:[29, 28], Operations: ['66-50=16', '44-16=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,40 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 40:[29, 60], Operations: ['66-50=16', '44+16=60']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,40 unequal: No Solution
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 40:[50, 44, 37], Operations: ['66-29=37']
Exploring Operation: 44-37=7, Resulting Numbers: [50, 7]
Generated Node #0,4,0: 40:[50, 7] Operation: 44-37=7
Exploring Operation: 44+37=81, Resulting Numbers: [50, 81]
Generated Node #0,4,1: 40:[50, 81] Operation: 44+37=81
Exploring Operation: 50-44=6, Resulting Numbers: [37, 6]
Generated Node #0,4,2: 40:[37, 6] Operation: 50-44=6
Exploring Operation: 50+37=87, Resulting Numbers: [44, 87]
Generated Node #0,4,3: 40:[44, 87] Operation: 50+37=87
Exploring Operation: 50-37=13, Resulting Numbers: [44, 13]
Generated Node #0,4,4: 40:[44, 13] Operation: 50-37=13
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 40:[37, 6], Operations: ['66-29=37', '50-44=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,40 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 40:[44, 13], Operations: ['66-29=37', '50-37=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 40:[50, 7], Operations: ['66-29=37', '44-37=7']
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,40 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 40:[50, 81], Operations: ['66-29=37', '44+37=81']
Exploring Operation: 50*81=4050, Resulting Numbers: [4050]
4050,40 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 50+81=131, Resulting Numbers: [131]
131,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 40:[44, 87], Operations: ['66-29=37', '50+37=87']
Exploring Operation: 44*87=3828, Resulting Numbers: [3828]
3828,40 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 44+87=131, Resulting Numbers: [131]
131,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 40:[50, 29, 22], Operations: ['66-44=22']
Exploring Operation: 50+29=79, Resulting Numbers: [22, 79]
Generated Node #0,0,0: 40:[22, 79] Operation: 50+29=79
Exploring Operation: 29+22=51, Resulting Numbers: [50, 51]
Generated Node #0,0,1: 40:[50, 51] Operation: 29+22=51
Exploring Operation: 29-22=7, Resulting Numbers: [50, 7]
Generated Node #0,0,2: 40:[50, 7] Operation: 29-22=7
Exploring Operation: 50-29=21, Resulting Numbers: [22, 21]
Generated Node #0,0,3: 40:[22, 21] Operation: 50-29=21
Exploring Operation: 50-22=28, Resulting Numbers: [29, 28]
Generated Node #0,0,4: 40:[29, 28] Operation: 50-22=28
Moving to Node #0,2
Current State: 40:[66, 44, 21], Operations: ['50-29=21']
Exploring Operation: 44+21=65, Resulting Numbers: [66, 65]
Generated Node #0,2,0: 40:[66, 65] Operation: 44+21=65
Exploring Operation: 66-21=45, Resulting Numbers: [44, 45]
Generated Node #0,2,1: 40:[44, 45] Operation: 66-21=45
Exploring Operation: 66+21=87, Resulting Numbers: [44, 87]
Generated Node #0,2,2: 40:[44, 87] Operation: 66+21=87
Exploring Operation: 44-21=23, Resulting Numbers: [66, 23]
Generated Node #0,2,3: 40:[66, 23] Operation: 44-21=23
Exploring Operation: 66-44=22, Resulting Numbers: [21, 22]
Generated Node #0,2,4: 40:[21, 22] Operation: 66-44=22
Moving to Node #0,1
Current State: 40:[66, 29, 6], Operations: ['50-44=6']
Exploring Operation: 66/6=11, Resulting Numbers: [29, 11]
Generated Node #0,1,0: 40:[29, 11] Operation: 66/6=11
Exploring Operation: 29-6=23, Resulting Numbers: [66, 23]
Generated Node #0,1,1: 40:[66, 23] Operation: 29-6=23
Exploring Operation: 29+6=35, Resulting Numbers: [66, 35]
Generated Node #0,1,2: 40:[66, 35] Operation: 29+6=35
Exploring Operation: 66-6=60, Resulting Numbers: [29, 60]
Generated Node #0,1,3: 40:[29, 60] Operation: 66-6=60
Exploring Operation: 66-29=37, Resulting Numbers: [6, 37]
Generated Node #0,1,4: 40:[6, 37] Operation: 66-29=37
Moving to Node #0,0,3
Current State: 40:[22, 21], Operations: ['66-44=22', '50-29=21']
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,40 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Moving to Node #0,2,4
Current State: 40:[21, 22], Operations: ['50-29=21', '66-44=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,40 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,1,4
Current State: 40:[6, 37], Operations: ['50-44=6', '66-29=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,40 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[44, 45], Operations: ['50-29=21', '66-21=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,40 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,40 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[29, 11], Operations: ['50-44=6', '66/6=11']
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[66, 50, 44, 29], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [66, 29, 6]
Generated Node #0,1: 40:[66, 29, 6] Operation: 50-44=6
Moving to Node #0,1
Current State: 40:[66, 29, 6], Operations: ['50-44=6']
Exploring Operation: 66/6=11, Resulting Numbers: [29, 11]
Generated Node #0,1,0: 40:[29, 11] Operation: 66/6=11
Moving to Node #0,1,0
Current State: 40:[29, 11], Operations: ['50-44=6', '66/6=11']
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.93316 | hs_5 | sum_heuristic |
[
2,
2,
55,
64
] | 22 | [
"55-2=53",
"64-53=11",
"2*11=22"
] | Current State: 22:[2, 2, 55, 64], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [64, 53]
Generated Node #2: [64, 53] from Operation: 55-2=53
Current State: 22:[64, 53], Operations: ['55-2=53']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,22 equal: Goal Reached
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 2, 55, 64], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [2, 2, 9]
Generated Node #0,0: 22:[2, 2, 9] Operation: 64-55=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[2, 2, 9], Operations: ['64-55=9']
Exploring Operation: 2+9=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 22:[2, 11] Operation: 2+9=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[2, 11], Operations: ['64-55=9', '2+9=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[2, 2, 55, 64], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [2, 2, 9]
Generated Node #0,0: 22:[2, 2, 9] Operation: 64-55=9
Moving to Node #0,0
Current State: 22:[2, 2, 9], Operations: ['64-55=9']
Exploring Operation: 2+9=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 22:[2, 11] Operation: 2+9=11
Moving to Node #0,0,0
Current State: 22:[2, 11], Operations: ['64-55=9', '2+9=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
34,
47,
73,
62
] | 54 | [
"34+47=81",
"73+62=135",
"135-81=54"
] | Current State: 54:[34, 47, 73, 62], Operations: []
Exploring Operation: 34+47=81, Resulting Numbers: [73, 62, 81]
Generated Node #2: [73, 62, 81] from Operation: 34+47=81
Current State: 54:[73, 62, 81], Operations: ['34+47=81']
Exploring Operation: 73+62=135, Resulting Numbers: [81, 135]
Generated Node #3: [81, 135] from Operation: 73+62=135
Current State: 54:[81, 135], Operations: ['34+47=81', '73+62=135']
Exploring Operation: 135-81=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[34, 47, 73, 62], Operations: []
Exploring Operation: 73-34=39, Resulting Numbers: [47, 62, 39]
Generated Node #0,0: 54:[47, 62, 39] Operation: 73-34=39
Exploring Operation: 73-47=26, Resulting Numbers: [34, 62, 26]
Generated Node #0,1: 54:[34, 62, 26] Operation: 73-47=26
Exploring Operation: 73-62=11, Resulting Numbers: [34, 47, 11]
Generated Node #0,2: 54:[34, 47, 11] Operation: 73-62=11
Exploring Operation: 62-34=28, Resulting Numbers: [47, 73, 28]
Generated Node #0,3: 54:[47, 73, 28] Operation: 62-34=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[34, 62, 26], Operations: ['73-47=26']
Exploring Operation: 62-26=36, Resulting Numbers: [34, 36]
Generated Node #0,1,0: 54:[34, 36] Operation: 62-26=36
Exploring Operation: 34-26=8, Resulting Numbers: [62, 8]
Generated Node #0,1,1: 54:[62, 8] Operation: 34-26=8
Exploring Operation: 34+26=60, Resulting Numbers: [62, 60]
Generated Node #0,1,2: 54:[62, 60] Operation: 34+26=60
Exploring Operation: 62-34=28, Resulting Numbers: [26, 28]
Generated Node #0,1,3: 54:[26, 28] Operation: 62-34=28
Moving to Node #0,1,3
Current State: 54:[26, 28], Operations: ['73-47=26', '62-34=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[34, 47, 73, 62], Operations: []
Exploring Operation: 73-47=26, Resulting Numbers: [34, 62, 26]
Generated Node #0,1: 54:[34, 62, 26] Operation: 73-47=26
Moving to Node #0,1
Current State: 54:[34, 62, 26], Operations: ['73-47=26']
Exploring Operation: 62-34=28, Resulting Numbers: [26, 28]
Generated Node #0,1,3: 54:[26, 28] Operation: 62-34=28
Moving to Node #0,1,3
Current State: 54:[26, 28], Operations: ['73-47=26', '62-34=28']
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
22,
77,
28,
10
] | 63 | [
"77*10=770",
"770/22=35",
"28+35=63"
] | Current State: 63:[22, 77, 28, 10], Operations: []
Exploring Operation: 77*10=770, Resulting Numbers: [22, 28, 770]
Generated Node #2: [22, 28, 770] from Operation: 77*10=770
Current State: 63:[22, 28, 770], Operations: ['77*10=770']
Exploring Operation: 770/22=35, Resulting Numbers: [28, 35]
Generated Node #3: [28, 35] from Operation: 770/22=35
Current State: 63:[28, 35], Operations: ['77*10=770', '770/22=35']
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[22, 77, 28, 10], Operations: []
Exploring Operation: 77-28=49, Resulting Numbers: [22, 10, 49]
Generated Node #0,0: 63:[22, 10, 49] Operation: 77-28=49
Exploring Operation: 28-22=6, Resulting Numbers: [77, 10, 6]
Generated Node #0,1: 63:[77, 10, 6] Operation: 28-22=6
Exploring Operation: 77-10=67, Resulting Numbers: [22, 28, 67]
Generated Node #0,2: 63:[22, 28, 67] Operation: 77-10=67
Exploring Operation: 28-10=18, Resulting Numbers: [22, 77, 18]
Generated Node #0,3: 63:[22, 77, 18] Operation: 28-10=18
Exploring Operation: 77-22=55, Resulting Numbers: [28, 10, 55]
Generated Node #0,4: 63:[28, 10, 55] Operation: 77-22=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[22, 28, 67], Operations: ['77-10=67']
Exploring Operation: 28-22=6, Resulting Numbers: [67, 6]
Generated Node #0,2,0: 63:[67, 6] Operation: 28-22=6
Exploring Operation: 22+28=50, Resulting Numbers: [67, 50]
Generated Node #0,2,1: 63:[67, 50] Operation: 22+28=50
Exploring Operation: 67-22=45, Resulting Numbers: [28, 45]
Generated Node #0,2,2: 63:[28, 45] Operation: 67-22=45
Exploring Operation: 67-28=39, Resulting Numbers: [22, 39]
Generated Node #0,2,3: 63:[22, 39] Operation: 67-28=39
Exploring Operation: 22+67=89, Resulting Numbers: [28, 89]
Generated Node #0,2,4: 63:[28, 89] Operation: 22+67=89
Moving to Node #0,2,0
Current State: 63:[67, 6], Operations: ['77-10=67', '28-22=6']
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,63 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[67, 50], Operations: ['77-10=67', '22+28=50']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[22, 39], Operations: ['77-10=67', '67-28=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,63 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[28, 45], Operations: ['77-10=67', '67-22=45']
Exploring Operation: 28*45=1260, Resulting Numbers: [1260]
1260,63 unequal: No Solution
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[28, 89], Operations: ['77-10=67', '22+67=89']
Exploring Operation: 28+89=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 28*89=2492, Resulting Numbers: [2492]
2492,63 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,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,0
Current State: 63:[22, 10, 49], Operations: ['77-28=49']
Exploring Operation: 49-22=27, Resulting Numbers: [10, 27]
Generated Node #0,0,0: 63:[10, 27] Operation: 49-22=27
Exploring Operation: 10+49=59, Resulting Numbers: [22, 59]
Generated Node #0,0,1: 63:[22, 59] Operation: 10+49=59
Exploring Operation: 22+49=71, Resulting Numbers: [10, 71]
Generated Node #0,0,2: 63:[10, 71] Operation: 22+49=71
Exploring Operation: 49-10=39, Resulting Numbers: [22, 39]
Generated Node #0,0,3: 63:[22, 39] Operation: 49-10=39
Exploring Operation: 22-10=12, Resulting Numbers: [49, 12]
Generated Node #0,0,4: 63:[49, 12] Operation: 22-10=12
Moving to Node #0,0,1
Current State: 63:[22, 59], Operations: ['77-28=49', '10+49=59']
Exploring Operation: 22*59=1298, Resulting Numbers: [1298]
1298,63 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 22+59=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[10, 27], Operations: ['77-28=49', '49-22=27']
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,63 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[10, 71], Operations: ['77-28=49', '22+49=71']
Exploring Operation: 10*71=710, Resulting Numbers: [710]
710,63 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[49, 12], Operations: ['77-28=49', '22-10=12']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,63 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[22, 39], Operations: ['77-28=49', '49-10=39']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,63 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,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,1
Current State: 63:[77, 10, 6], Operations: ['28-22=6']
Exploring Operation: 10-6=4, Resulting Numbers: [77, 4]
Generated Node #0,1,0: 63:[77, 4] Operation: 10-6=4
Exploring Operation: 77-6=71, Resulting Numbers: [10, 71]
Generated Node #0,1,1: 63:[10, 71] Operation: 77-6=71
Exploring Operation: 10*6=60, Resulting Numbers: [77, 60]
Generated Node #0,1,2: 63:[77, 60] Operation: 10*6=60
Exploring Operation: 10+6=16, Resulting Numbers: [77, 16]
Generated Node #0,1,3: 63:[77, 16] Operation: 10+6=16
Exploring Operation: 77-10=67, Resulting Numbers: [6, 67]
Generated Node #0,1,4: 63:[6, 67] Operation: 77-10=67
Moving to Node #0,1,4
Current State: 63:[6, 67], Operations: ['28-22=6', '77-10=67']
Exploring Operation: 6*67=402, Resulting Numbers: [402]
402,63 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 6+67=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[10, 71], Operations: ['28-22=6', '77-6=71']
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 10*71=710, Resulting Numbers: [710]
710,63 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[77, 4], Operations: ['28-22=6', '10-6=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[77, 60], Operations: ['28-22=6', '10*6=60']
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,63 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[77, 16], Operations: ['28-22=6', '10+6=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,63 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[28, 10, 55], Operations: ['77-22=55']
Exploring Operation: 55-28=27, Resulting Numbers: [10, 27]
Generated Node #0,4,0: 63:[10, 27] Operation: 55-28=27
Exploring Operation: 28+55=83, Resulting Numbers: [10, 83]
Generated Node #0,4,1: 63:[10, 83] Operation: 28+55=83
Exploring Operation: 10+55=65, Resulting Numbers: [28, 65]
Generated Node #0,4,2: 63:[28, 65] Operation: 10+55=65
Exploring Operation: 28-10=18, Resulting Numbers: [55, 18]
Generated Node #0,4,3: 63:[55, 18] Operation: 28-10=18
Exploring Operation: 28+10=38, Resulting Numbers: [55, 38]
Generated Node #0,4,4: 63:[55, 38] Operation: 28+10=38
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 63:[10, 27], Operations: ['77-22=55', '55-28=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,63 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,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,4,2
Current State: 63:[28, 65], Operations: ['77-22=55', '10+55=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,63 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,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,4,3
Current State: 63:[55, 18], Operations: ['77-22=55', '28-10=18']
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,63 unequal: No Solution
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,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,4,1
Current State: 63:[10, 83], Operations: ['77-22=55', '28+55=83']
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,63 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,63 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,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,4,4
Current State: 63:[55, 38], Operations: ['77-22=55', '28+10=38']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,63 unequal: No Solution
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,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,3
Current State: 63:[22, 77, 18], Operations: ['28-10=18']
Exploring Operation: 77-18=59, Resulting Numbers: [22, 59]
Generated Node #0,3,0: 63:[22, 59] Operation: 77-18=59
Exploring Operation: 77+18=95, Resulting Numbers: [22, 95]
Generated Node #0,3,1: 63:[22, 95] Operation: 77+18=95
Exploring Operation: 77-22=55, Resulting Numbers: [18, 55]
Generated Node #0,3,2: 63:[18, 55] Operation: 77-22=55
Exploring Operation: 22-18=4, Resulting Numbers: [77, 4]
Generated Node #0,3,3: 63:[77, 4] Operation: 22-18=4
Exploring Operation: 22+18=40, Resulting Numbers: [77, 40]
Generated Node #0,3,4: 63:[77, 40] Operation: 22+18=40
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[22, 59], Operations: ['28-10=18', '77-18=59']
Exploring Operation: 22+59=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Exploring Operation: 22*59=1298, Resulting Numbers: [1298]
1298,63 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,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,3,2
Current State: 63:[18, 55], Operations: ['28-10=18', '77-22=55']
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,63 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,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,3,3
Current State: 63:[77, 4], Operations: ['28-10=18', '22-18=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,63 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,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,3,1
Current State: 63:[22, 95], Operations: ['28-10=18', '77+18=95']
Exploring Operation: 22*95=2090, Resulting Numbers: [2090]
2090,63 unequal: No Solution
Exploring Operation: 22+95=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,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,3,4
Current State: 63:[77, 40], Operations: ['28-10=18', '22+18=40']
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,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_5 | mult_heuristic |
[
16,
30,
59,
93
] | 20 | [
"30-16=14",
"93-59=34",
"34-14=20"
] | Current State: 20:[16, 30, 59, 93], Operations: []
Exploring Operation: 30-16=14, Resulting Numbers: [59, 93, 14]
Generated Node #2: [59, 93, 14] from Operation: 30-16=14
Current State: 20:[59, 93, 14], Operations: ['30-16=14']
Exploring Operation: 93-59=34, Resulting Numbers: [14, 34]
Generated Node #3: [14, 34] from Operation: 93-59=34
Current State: 20:[14, 34], Operations: ['30-16=14', '93-59=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[16, 30, 59, 93], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [16, 30, 34]
Generated Node #0,0: 20:[16, 30, 34] Operation: 93-59=34
Exploring Operation: 59-30=29, Resulting Numbers: [16, 93, 29]
Generated Node #0,1: 20:[16, 93, 29] Operation: 59-30=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[16, 30, 34], Operations: ['93-59=34']
Exploring Operation: 34-30=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 20:[16, 4] Operation: 34-30=4
Exploring Operation: 34-16=18, Resulting Numbers: [30, 18]
Generated Node #0,0,1: 20:[30, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[16, 4], Operations: ['93-59=34', '34-30=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[16, 30, 59, 93], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [16, 30, 34]
Generated Node #0,0: 20:[16, 30, 34] Operation: 93-59=34
Moving to Node #0,0
Current State: 20:[16, 30, 34], Operations: ['93-59=34']
Exploring Operation: 34-30=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 20:[16, 4] Operation: 34-30=4
Moving to Node #0,0,0
Current State: 20:[16, 4], Operations: ['93-59=34', '34-30=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
7,
95,
78,
2
] | 97 | [
"7-2=5",
"95/5=19",
"78+19=97"
] | Current State: 97:[7, 95, 78, 2], Operations: []
Exploring Operation: 7-2=5, Resulting Numbers: [95, 78, 5]
Generated Node #2: [95, 78, 5] from Operation: 7-2=5
Current State: 97:[95, 78, 5], Operations: ['7-2=5']
Exploring Operation: 95/5=19, Resulting Numbers: [78, 19]
Generated Node #3: [78, 19] from Operation: 95/5=19
Current State: 97:[78, 19], Operations: ['7-2=5', '95/5=19']
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[7, 95, 78, 2], Operations: []
Exploring Operation: 7+78=85, Resulting Numbers: [95, 2, 85]
Generated Node #0,0: 97:[95, 2, 85] Operation: 7+78=85
Exploring Operation: 7+2=9, Resulting Numbers: [95, 78, 9]
Generated Node #0,1: 97:[95, 78, 9] Operation: 7+2=9
Exploring Operation: 95+2=97, Resulting Numbers: [7, 78, 97]
Generated Node #0,2: 97:[7, 78, 97] Operation: 95+2=97
Exploring Operation: 7*2=14, Resulting Numbers: [95, 78, 14]
Generated Node #0,3: 97:[95, 78, 14] Operation: 7*2=14
Exploring Operation: 78+2=80, Resulting Numbers: [7, 95, 80]
Generated Node #0,4: 97:[7, 95, 80] Operation: 78+2=80
Moving to Node #0,3
Current State: 97:[95, 78, 14], Operations: ['7*2=14']
Exploring Operation: 95+78=173, Resulting Numbers: [14, 173]
Generated Node #0,3,0: 97:[14, 173] Operation: 95+78=173
Exploring Operation: 95-14=81, Resulting Numbers: [78, 81]
Generated Node #0,3,1: 97:[78, 81] Operation: 95-14=81
Exploring Operation: 78-14=64, Resulting Numbers: [95, 64]
Generated Node #0,3,2: 97:[95, 64] Operation: 78-14=64
Exploring Operation: 95+14=109, Resulting Numbers: [78, 109]
Generated Node #0,3,3: 97:[78, 109] Operation: 95+14=109
Exploring Operation: 78+14=92, Resulting Numbers: [95, 92]
Generated Node #0,3,4: 97:[95, 92] Operation: 78+14=92
Moving to Node #0,1
Current State: 97:[95, 78, 9], Operations: ['7+2=9']
Exploring Operation: 95+78=173, Resulting Numbers: [9, 173]
Generated Node #0,1,0: 97:[9, 173] Operation: 95+78=173
Exploring Operation: 95-9=86, Resulting Numbers: [78, 86]
Generated Node #0,1,1: 97:[78, 86] Operation: 95-9=86
Exploring Operation: 78-9=69, Resulting Numbers: [95, 69]
Generated Node #0,1,2: 97:[95, 69] Operation: 78-9=69
Exploring Operation: 95+9=104, Resulting Numbers: [78, 104]
Generated Node #0,1,3: 97:[78, 104] Operation: 95+9=104
Exploring Operation: 78+9=87, Resulting Numbers: [95, 87]
Generated Node #0,1,4: 97:[95, 87] Operation: 78+9=87
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[95, 87], Operations: ['7+2=9', '78+9=87']
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,97 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[78, 104], Operations: ['7+2=9', '95+9=104']
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 78+104=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 78*104=8112, Resulting Numbers: [8112]
8112,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[78, 86], Operations: ['7+2=9', '95-9=86']
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,97 unequal: No Solution
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[95, 69], Operations: ['7+2=9', '78-9=69']
Exploring Operation: 95*69=6555, Resulting Numbers: [6555]
6555,97 unequal: No Solution
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 95+69=164, Resulting Numbers: [164]
164,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[9, 173], Operations: ['7+2=9', '95+78=173']
Exploring Operation: 9*173=1557, Resulting Numbers: [1557]
1557,97 unequal: No Solution
Exploring Operation: 9+173=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 173-9=164, Resulting Numbers: [164]
164,97 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: 97:[7, 95, 80], Operations: ['78+2=80']
Exploring Operation: 7+95=102, Resulting Numbers: [80, 102]
Generated Node #0,4,0: 97:[80, 102] Operation: 7+95=102
Exploring Operation: 95-7=88, Resulting Numbers: [80, 88]
Generated Node #0,4,1: 97:[80, 88] Operation: 95-7=88
Exploring Operation: 80-7=73, Resulting Numbers: [95, 73]
Generated Node #0,4,2: 97:[95, 73] Operation: 80-7=73
Exploring Operation: 95+80=175, Resulting Numbers: [7, 175]
Generated Node #0,4,3: 97:[7, 175] Operation: 95+80=175
Exploring Operation: 7+80=87, Resulting Numbers: [95, 87]
Generated Node #0,4,4: 97:[95, 87] Operation: 7+80=87
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 97:[95, 87], Operations: ['78+2=80', '7+80=87']
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,97 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[80, 102], Operations: ['78+2=80', '7+95=102']
Exploring Operation: 102-80=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 80*102=8160, Resulting Numbers: [8160]
8160,97 unequal: No Solution
Exploring Operation: 80+102=182, Resulting Numbers: [182]
182,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 97:[80, 88], Operations: ['78+2=80', '95-7=88']
Exploring Operation: 80+88=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 80*88=7040, Resulting Numbers: [7040]
7040,97 unequal: No Solution
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 97:[95, 73], Operations: ['78+2=80', '80-7=73']
Exploring Operation: 95+73=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 95*73=6935, Resulting Numbers: [6935]
6935,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[7, 175], Operations: ['78+2=80', '95+80=175']
Exploring Operation: 175-7=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 175/7=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Exploring Operation: 7+175=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 7*175=1225, Resulting Numbers: [1225]
1225,97 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: 97:[95, 2, 85], Operations: ['7+78=85']
Exploring Operation: 2*85=170, Resulting Numbers: [95, 170]
Generated Node #0,0,0: 97:[95, 170] Operation: 2*85=170
Exploring Operation: 95-2=93, Resulting Numbers: [85, 93]
Generated Node #0,0,1: 97:[85, 93] Operation: 95-2=93
Exploring Operation: 85-2=83, Resulting Numbers: [95, 83]
Generated Node #0,0,2: 97:[95, 83] Operation: 85-2=83
Exploring Operation: 95+2=97, Resulting Numbers: [85, 97]
Generated Node #0,0,3: 97:[85, 97] Operation: 95+2=97
Exploring Operation: 2+85=87, Resulting Numbers: [95, 87]
Generated Node #0,0,4: 97:[95, 87] Operation: 2+85=87
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[85, 97], Operations: ['7+78=85', '95+2=97']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 85*97=8245, Resulting Numbers: [8245]
8245,97 unequal: No Solution
Exploring Operation: 85+97=182, Resulting Numbers: [182]
182,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[95, 87], Operations: ['7+78=85', '2+85=87']
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,97 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[85, 93], Operations: ['7+78=85', '95-2=93']
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,97 unequal: No Solution
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,97 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[95, 83], Operations: ['7+78=85', '85-2=83']
Exploring Operation: 95*83=7885, Resulting Numbers: [7885]
7885,97 unequal: No Solution
Exploring Operation: 95-83=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 95+83=178, Resulting Numbers: [178]
178,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[95, 170], Operations: ['7+78=85', '2*85=170']
Exploring Operation: 95*170=16150, Resulting Numbers: [16150]
16150,97 unequal: No Solution
Exploring Operation: 95+170=265, Resulting Numbers: [265]
265,97 unequal: No Solution
Exploring Operation: 170-95=75, Resulting Numbers: [75]
75,97 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: 97:[7, 78, 97], Operations: ['95+2=97']
Exploring Operation: 7+97=104, Resulting Numbers: [78, 104]
Generated Node #0,2,0: 97:[78, 104] Operation: 7+97=104
Exploring Operation: 78+97=175, Resulting Numbers: [7, 175]
Generated Node #0,2,1: 97:[7, 175] Operation: 78+97=175
Exploring Operation: 78-7=71, Resulting Numbers: [97, 71]
Generated Node #0,2,2: 97:[97, 71] Operation: 78-7=71
Exploring Operation: 7+78=85, Resulting Numbers: [97, 85]
Generated Node #0,2,3: 97:[97, 85] Operation: 7+78=85
Exploring Operation: 97-7=90, Resulting Numbers: [78, 90]
Generated Node #0,2,4: 97:[78, 90] Operation: 97-7=90
Moving to Node #0,3,4
Current State: 97:[95, 92], Operations: ['7*2=14', '78+14=92']
Exploring Operation: 95+92=187, Resulting Numbers: [187]
187,97 unequal: No Solution
Exploring Operation: 95*92=8740, Resulting Numbers: [8740]
8740,97 unequal: No Solution
Exploring Operation: 95-92=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[97, 85], Operations: ['95+2=97', '7+78=85']
Exploring Operation: 97*85=8245, Resulting Numbers: [8245]
8245,97 unequal: No Solution
Exploring Operation: 97+85=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[78, 104], Operations: ['95+2=97', '7+97=104']
Exploring Operation: 78+104=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 78*104=8112, Resulting Numbers: [8112]
8112,97 unequal: No Solution
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[97, 71], Operations: ['95+2=97', '78-7=71']
Exploring Operation: 97+71=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 97*71=6887, Resulting Numbers: [6887]
6887,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[78, 90], Operations: ['95+2=97', '97-7=90']
Exploring Operation: 78*90=7020, Resulting Numbers: [7020]
7020,97 unequal: No Solution
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[78, 109], Operations: ['7*2=14', '95+14=109']
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,97 unequal: No Solution
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[78, 81], Operations: ['7*2=14', '95-14=81']
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 78+81=159, Resulting Numbers: [159]
159,97 unequal: No Solution
Exploring Operation: 78*81=6318, Resulting Numbers: [6318]
6318,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[95, 64], Operations: ['7*2=14', '78-14=64']
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 95*64=6080, Resulting Numbers: [6080]
6080,97 unequal: No Solution
Exploring Operation: 95+64=159, Resulting Numbers: [159]
159,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[14, 173], Operations: ['7*2=14', '95+78=173']
Exploring Operation: 14+173=187, Resulting Numbers: [187]
187,97 unequal: No Solution
Exploring Operation: 14*173=2422, Resulting Numbers: [2422]
2422,97 unequal: No Solution
Exploring Operation: 173-14=159, Resulting Numbers: [159]
159,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[7, 175], Operations: ['95+2=97', '78+97=175']
Exploring Operation: 175-7=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 7+175=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 175/7=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Exploring Operation: 7*175=1225, Resulting Numbers: [1225]
1225,97 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
28,
68,
52,
48
] | 26 | [
"28+68=96",
"52*48=2496",
"2496/96=26"
] | Current State: 26:[28, 68, 52, 48], Operations: []
Exploring Operation: 28+68=96, Resulting Numbers: [52, 48, 96]
Generated Node #2: [52, 48, 96] from Operation: 28+68=96
Current State: 26:[52, 48, 96], Operations: ['28+68=96']
Exploring Operation: 52*48=2496, Resulting Numbers: [96, 2496]
Generated Node #3: [96, 2496] from Operation: 52*48=2496
Current State: 26:[96, 2496], Operations: ['28+68=96', '52*48=2496']
Exploring Operation: 2496/96=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[28, 68, 52, 48], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [28, 68, 4]
Generated Node #0,0: 26:[28, 68, 4] Operation: 52-48=4
Exploring Operation: 68-52=16, Resulting Numbers: [28, 48, 16]
Generated Node #0,1: 26:[28, 48, 16] Operation: 68-52=16
Exploring Operation: 68-48=20, Resulting Numbers: [28, 52, 20]
Generated Node #0,2: 26:[28, 52, 20] Operation: 68-48=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[28, 48, 16], Operations: ['68-52=16']
Exploring Operation: 48-16=32, Resulting Numbers: [28, 32]
Generated Node #0,1,0: 26:[28, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 26:[28, 3] Operation: 48/16=3
Exploring Operation: 48-28=20, Resulting Numbers: [16, 20]
Generated Node #0,1,2: 26:[16, 20] Operation: 48-28=20
Moving to Node #0,1,1
Current State: 26:[28, 3], Operations: ['68-52=16', '48/16=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[28, 32], Operations: ['68-52=16', '48-16=32']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,26 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[16, 20], Operations: ['68-52=16', '48-28=20']
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[28, 52, 20], Operations: ['68-48=20']
Exploring Operation: 28-20=8, Resulting Numbers: [52, 8]
Generated Node #0,2,0: 26:[52, 8] Operation: 28-20=8
Exploring Operation: 52-20=32, Resulting Numbers: [28, 32]
Generated Node #0,2,1: 26:[28, 32] Operation: 52-20=32
Exploring Operation: 52-28=24, Resulting Numbers: [20, 24]
Generated Node #0,2,2: 26:[20, 24] Operation: 52-28=24
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[28, 32], Operations: ['68-48=20', '52-20=32']
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,26 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[20, 24], Operations: ['68-48=20', '52-28=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,26 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[52, 8], Operations: ['68-48=20', '28-20=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[28, 68, 4], Operations: ['52-48=4']
Exploring Operation: 68-4=64, Resulting Numbers: [28, 64]
Generated Node #0,0,0: 26:[28, 64] Operation: 68-4=64
Exploring Operation: 68-28=40, Resulting Numbers: [4, 40]
Generated Node #0,0,1: 26:[4, 40] Operation: 68-28=40
Exploring Operation: 68/4=17, Resulting Numbers: [28, 17]
Generated Node #0,0,2: 26:[28, 17] Operation: 68/4=17
Moving to Node #0,0,2
Current State: 26:[28, 17], Operations: ['52-48=4', '68/4=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,26 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[4, 40], Operations: ['52-48=4', '68-28=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[28, 64], Operations: ['52-48=4', '68-4=64']
Exploring Operation: 28*64=1792, Resulting Numbers: [1792]
1792,26 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,26 unequal: No Solution
Exploring Operation: 28+64=92, Resulting Numbers: [92]
92,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
59,
23,
69
] | 41 | [
"64+59=123",
"69/23=3",
"123/3=41"
] | Current State: 41:[64, 59, 23, 69], Operations: []
Exploring Operation: 64+59=123, Resulting Numbers: [23, 69, 123]
Generated Node #2: [23, 69, 123] from Operation: 64+59=123
Current State: 41:[23, 69, 123], Operations: ['64+59=123']
Exploring Operation: 69/23=3, Resulting Numbers: [123, 3]
Generated Node #3: [123, 3] from Operation: 69/23=3
Current State: 41:[123, 3], Operations: ['64+59=123', '69/23=3']
Exploring Operation: 123/3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[64, 59, 23, 69], Operations: []
Exploring Operation: 59-23=36, Resulting Numbers: [64, 69, 36]
Generated Node #0,0: 41:[64, 69, 36] Operation: 59-23=36
Exploring Operation: 64-23=41, Resulting Numbers: [59, 69, 41]
Generated Node #0,1: 41:[59, 69, 41] Operation: 64-23=41
Exploring Operation: 69-23=46, Resulting Numbers: [64, 59, 46]
Generated Node #0,2: 41:[64, 59, 46] Operation: 69-23=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[59, 69, 41], Operations: ['64-23=41']
Exploring Operation: 59-41=18, Resulting Numbers: [69, 18]
Generated Node #0,1,0: 41:[69, 18] Operation: 59-41=18
Exploring Operation: 69-59=10, Resulting Numbers: [41, 10]
Generated Node #0,1,1: 41:[41, 10] Operation: 69-59=10
Exploring Operation: 69-41=28, Resulting Numbers: [59, 28]
Generated Node #0,1,2: 41:[59, 28] Operation: 69-41=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[41, 10], Operations: ['64-23=41', '69-59=10']
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,41 unequal: No Solution
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,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,1,2
Current State: 41:[59, 28], Operations: ['64-23=41', '69-41=28']
Exploring Operation: 59*28=1652, Resulting Numbers: [1652]
1652,41 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,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,1,0
Current State: 41:[69, 18], Operations: ['64-23=41', '59-41=18']
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,41 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,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,2
Current State: 41:[64, 59, 46], Operations: ['69-23=46']
Exploring Operation: 64-59=5, Resulting Numbers: [46, 5]
Generated Node #0,2,0: 41:[46, 5] Operation: 64-59=5
Exploring Operation: 59-46=13, Resulting Numbers: [64, 13]
Generated Node #0,2,1: 41:[64, 13] Operation: 59-46=13
Exploring Operation: 64-46=18, Resulting Numbers: [59, 18]
Generated Node #0,2,2: 41:[59, 18] Operation: 64-46=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[46, 5], Operations: ['69-23=46', '64-59=5']
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[64, 59, 23, 69], Operations: []
Exploring Operation: 69-23=46, Resulting Numbers: [64, 59, 46]
Generated Node #0,2: 41:[64, 59, 46] Operation: 69-23=46
Moving to Node #0,2
Current State: 41:[64, 59, 46], Operations: ['69-23=46']
Exploring Operation: 64-59=5, Resulting Numbers: [46, 5]
Generated Node #0,2,0: 41:[46, 5] Operation: 64-59=5
Moving to Node #0,2,0
Current State: 41:[46, 5], Operations: ['69-23=46', '64-59=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
1,
4,
40,
81
] | 83 | [
"1+40=41",
"4*41=164",
"164-81=83"
] | Current State: 83:[1, 4, 40, 81], Operations: []
Exploring Operation: 1+40=41, Resulting Numbers: [4, 81, 41]
Generated Node #2: [4, 81, 41] from Operation: 1+40=41
Current State: 83:[4, 81, 41], Operations: ['1+40=41']
Exploring Operation: 4*41=164, Resulting Numbers: [81, 164]
Generated Node #3: [81, 164] from Operation: 4*41=164
Current State: 83:[81, 164], Operations: ['1+40=41', '4*41=164']
Exploring Operation: 164-81=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[1, 4, 40, 81], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [40, 81, 5]
Generated Node #0,0: 83:[40, 81, 5] Operation: 1+4=5
Exploring Operation: 4+40=44, Resulting Numbers: [1, 81, 44]
Generated Node #0,1: 83:[1, 81, 44] Operation: 4+40=44
Exploring Operation: 1+81=82, Resulting Numbers: [4, 40, 82]
Generated Node #0,2: 83:[4, 40, 82] Operation: 1+81=82
Exploring Operation: 1+40=41, Resulting Numbers: [4, 81, 41]
Generated Node #0,3: 83:[4, 81, 41] Operation: 1+40=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[40, 81, 5], Operations: ['1+4=5']
Exploring Operation: 40-5=35, Resulting Numbers: [81, 35]
Generated Node #0,0,0: 83:[81, 35] Operation: 40-5=35
Exploring Operation: 81-5=76, Resulting Numbers: [40, 76]
Generated Node #0,0,1: 83:[40, 76] Operation: 81-5=76
Exploring Operation: 81+5=86, Resulting Numbers: [40, 86]
Generated Node #0,0,2: 83:[40, 86] Operation: 81+5=86
Exploring Operation: 40+5=45, Resulting Numbers: [81, 45]
Generated Node #0,0,3: 83:[81, 45] Operation: 40+5=45
Moving to Node #0,0,3
Current State: 83:[81, 45], Operations: ['1+4=5', '40+5=45']
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[40, 86], Operations: ['1+4=5', '81+5=86']
Exploring Operation: 40+86=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 40*86=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[40, 76], Operations: ['1+4=5', '81-5=76']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 40*76=3040, Resulting Numbers: [3040]
3040,83 unequal: No Solution
Exploring Operation: 40+76=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[81, 35], Operations: ['1+4=5', '40-5=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 81+35=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 81*35=2835, Resulting Numbers: [2835]
2835,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[1, 81, 44], Operations: ['4+40=44']
Exploring Operation: 1*81=81, Resulting Numbers: [44, 81]
Generated Node #0,1,0: 83:[44, 81] Operation: 1*81=81
Exploring Operation: 1+81=82, Resulting Numbers: [44, 82]
Generated Node #0,1,1: 83:[44, 82] Operation: 1+81=82
Exploring Operation: 1+44=45, Resulting Numbers: [81, 45]
Generated Node #0,1,2: 83:[81, 45] Operation: 1+44=45
Exploring Operation: 81/1=81, Resulting Numbers: [44, 81]
Generated Node #0,1,3: 83:[44, 81] Operation: 81/1=81
Moving to Node #0,1,1
Current State: 83:[44, 82], Operations: ['4+40=44', '1+81=82']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 44*82=3608, Resulting Numbers: [3608]
3608,83 unequal: No Solution
Exploring Operation: 44+82=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[81, 45], Operations: ['4+40=44', '1+44=45']
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,83 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[44, 81], Operations: ['4+40=44', '81/1=81']
Exploring Operation: 44+81=125, Resulting Numbers: [125]
125,83 unequal: No Solution
Exploring Operation: 44*81=3564, Resulting Numbers: [3564]
3564,83 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[44, 81], Operations: ['4+40=44', '1*81=81']
Exploring Operation: 44*81=3564, Resulting Numbers: [3564]
3564,83 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 44+81=125, Resulting Numbers: [125]
125,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[4, 40, 82], Operations: ['1+81=82']
Exploring Operation: 4+40=44, Resulting Numbers: [82, 44]
Generated Node #0,2,0: 83:[82, 44] Operation: 4+40=44
Exploring Operation: 40-4=36, Resulting Numbers: [82, 36]
Generated Node #0,2,1: 83:[82, 36] Operation: 40-4=36
Exploring Operation: 82-4=78, Resulting Numbers: [40, 78]
Generated Node #0,2,2: 83:[40, 78] Operation: 82-4=78
Exploring Operation: 4+82=86, Resulting Numbers: [40, 86]
Generated Node #0,2,3: 83:[40, 86] Operation: 4+82=86
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[82, 44], Operations: ['1+81=82', '4+40=44']
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,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:[40, 86], Operations: ['1+81=82', '4+82=86']
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 40*86=3440, Resulting Numbers: [3440]
3440,83 unequal: No Solution
Exploring Operation: 40+86=126, Resulting Numbers: [126]
126,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:[82, 36], Operations: ['1+81=82', '40-4=36']
Exploring Operation: 82+36=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 82*36=2952, Resulting Numbers: [2952]
2952,83 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,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:[40, 78], Operations: ['1+81=82', '82-4=78']
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,83 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,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:[4, 81, 41], Operations: ['1+40=41']
Exploring Operation: 4+81=85, Resulting Numbers: [41, 85]
Generated Node #0,3,0: 83:[41, 85] Operation: 4+81=85
Exploring Operation: 81-4=77, Resulting Numbers: [41, 77]
Generated Node #0,3,1: 83:[41, 77] Operation: 81-4=77
Exploring Operation: 41-4=37, Resulting Numbers: [81, 37]
Generated Node #0,3,2: 83:[81, 37] Operation: 41-4=37
Exploring Operation: 4+41=45, Resulting Numbers: [81, 45]
Generated Node #0,3,3: 83:[81, 45] Operation: 4+41=45
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 83:[81, 45], Operations: ['1+40=41', '4+41=45']
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,83 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[41, 85], Operations: ['1+40=41', '4+81=85']
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,83 unequal: No Solution
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 83:[41, 77], Operations: ['1+40=41', '81-4=77']
Exploring Operation: 41*77=3157, Resulting Numbers: [3157]
3157,83 unequal: No Solution
Exploring Operation: 77-41=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 41+77=118, Resulting Numbers: [118]
118,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[81, 37], Operations: ['1+40=41', '41-4=37']
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,83 unequal: No Solution
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
42,
40,
24,
18
] | 15 | [
"42-40=2",
"18/2=9",
"24-9=15"
] | Current State: 15:[42, 40, 24, 18], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [24, 18, 2]
Generated Node #2: [24, 18, 2] from Operation: 42-40=2
Current State: 15:[24, 18, 2], Operations: ['42-40=2']
Exploring Operation: 18/2=9, Resulting Numbers: [24, 9]
Generated Node #3: [24, 9] from Operation: 18/2=9
Current State: 15:[24, 9], Operations: ['42-40=2', '18/2=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[42, 40, 24, 18], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [24, 18, 2]
Generated Node #0,0: 15:[24, 18, 2] Operation: 42-40=2
Exploring Operation: 40-24=16, Resulting Numbers: [42, 18, 16]
Generated Node #0,1: 15:[42, 18, 16] Operation: 40-24=16
Exploring Operation: 42-18=24, Resulting Numbers: [40, 24, 24]
Generated Node #0,2: 15:[40, 24, 24] Operation: 42-18=24
Exploring Operation: 42-24=18, Resulting Numbers: [40, 18, 18]
Generated Node #0,3: 15:[40, 18, 18] Operation: 42-24=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[24, 18, 2], Operations: ['42-40=2']
Exploring Operation: 18-2=16, Resulting Numbers: [24, 16]
Generated Node #0,0,0: 15:[24, 16] Operation: 18-2=16
Exploring Operation: 24-2=22, Resulting Numbers: [18, 22]
Generated Node #0,0,1: 15:[18, 22] Operation: 24-2=22
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 15:[2, 6] Operation: 24-18=6
Exploring Operation: 24/2=12, Resulting Numbers: [18, 12]
Generated Node #0,0,3: 15:[18, 12] Operation: 24/2=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[2, 6], Operations: ['42-40=2', '24-18=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 15:[18, 12], Operations: ['42-40=2', '24/2=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[24, 16], Operations: ['42-40=2', '18-2=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,15 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[18, 22], Operations: ['42-40=2', '24-2=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,15 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[42, 18, 16], Operations: ['40-24=16']
Exploring Operation: 42-18=24, Resulting Numbers: [16, 24]
Generated Node #0,1,0: 15:[16, 24] Operation: 42-18=24
Exploring Operation: 18-16=2, Resulting Numbers: [42, 2]
Generated Node #0,1,1: 15:[42, 2] Operation: 18-16=2
Exploring Operation: 42+18=60, Resulting Numbers: [16, 60]
Generated Node #0,1,2: 15:[16, 60] Operation: 42+18=60
Exploring Operation: 42-16=26, Resulting Numbers: [18, 26]
Generated Node #0,1,3: 15:[18, 26] Operation: 42-16=26
Moving to Node #0,1,0
Current State: 15:[16, 24], Operations: ['40-24=16', '42-18=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[18, 26], Operations: ['40-24=16', '42-16=26']
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,15 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[42, 2], Operations: ['40-24=16', '18-16=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[16, 60], Operations: ['40-24=16', '42+18=60']
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[40, 18, 18], Operations: ['42-24=18']
Exploring Operation: 40-18=22, Resulting Numbers: [18, 22]
Generated Node #0,3,0: 15:[18, 22] Operation: 40-18=22
Exploring Operation: 18/18=1, Resulting Numbers: [40, 1]
Generated Node #0,3,1: 15:[40, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [40, 0]
Generated Node #0,3,2: 15:[40, 0] Operation: 18-18=0
Exploring Operation: 40-18=22, Resulting Numbers: [18, 22]
Generated Node #0,3,3: 15:[18, 22] Operation: 40-18=22
Moving to Node #0,3,0
Current State: 15:[18, 22], Operations: ['42-24=18', '40-18=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[18, 22], Operations: ['42-24=18', '40-18=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[40, 1], Operations: ['42-24=18', '18/18=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[40, 0], Operations: ['42-24=18', '18-18=0']
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 40*0=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[40, 24, 24], Operations: ['42-18=24']
Exploring Operation: 40-24=16, Resulting Numbers: [24, 16]
Generated Node #0,2,0: 15:[24, 16] Operation: 40-24=16
Exploring Operation: 40-24=16, Resulting Numbers: [24, 16]
Generated Node #0,2,1: 15:[24, 16] Operation: 40-24=16
Exploring Operation: 24-24=0, Resulting Numbers: [40, 0]
Generated Node #0,2,2: 15:[40, 0] Operation: 24-24=0
Exploring Operation: 24/24=1, Resulting Numbers: [40, 1]
Generated Node #0,2,3: 15:[40, 1] Operation: 24/24=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[24, 16], Operations: ['42-18=24', '40-24=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,15 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[24, 16], Operations: ['42-18=24', '40-24=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,15 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 15:[40, 1], Operations: ['42-18=24', '24/24=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[40, 0], Operations: ['42-18=24', '24-24=0']
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Exploring Operation: 40*0=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
70,
66,
23
] | 50 | [
"70/10=7",
"66-23=43",
"7+43=50"
] | Current State: 50:[10, 70, 66, 23], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [66, 23, 7]
Generated Node #2: [66, 23, 7] from Operation: 70/10=7
Current State: 50:[66, 23, 7], Operations: ['70/10=7']
Exploring Operation: 66-23=43, Resulting Numbers: [7, 43]
Generated Node #3: [7, 43] from Operation: 66-23=43
Current State: 50:[7, 43], Operations: ['70/10=7', '66-23=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[10, 70, 66, 23], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [10, 23, 4]
Generated Node #0,0: 50:[10, 23, 4] Operation: 70-66=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[10, 23, 4], Operations: ['70-66=4']
Exploring Operation: 23+4=27, Resulting Numbers: [10, 27]
Generated Node #0,0,0: 50:[10, 27] Operation: 23+4=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[10, 27], Operations: ['70-66=4', '23+4=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
66,
14,
12
] | 22 | [
"66-42=24",
"14-12=2",
"24-2=22"
] | Current State: 22:[42, 66, 14, 12], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [14, 12, 24]
Generated Node #2: [14, 12, 24] from Operation: 66-42=24
Current State: 22:[14, 12, 24], Operations: ['66-42=24']
Exploring Operation: 14-12=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 14-12=2
Current State: 22:[24, 2], Operations: ['66-42=24', '14-12=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[42, 66, 14, 12], Operations: []
Exploring Operation: 42-14=28, Resulting Numbers: [66, 12, 28]
Generated Node #0,0: 22:[66, 12, 28] Operation: 42-14=28
Exploring Operation: 42/14=3, Resulting Numbers: [66, 12, 3]
Generated Node #0,1: 22:[66, 12, 3] Operation: 42/14=3
Exploring Operation: 66-42=24, Resulting Numbers: [14, 12, 24]
Generated Node #0,2: 22:[14, 12, 24] Operation: 66-42=24
Exploring Operation: 42-12=30, Resulting Numbers: [66, 14, 30]
Generated Node #0,3: 22:[66, 14, 30] Operation: 42-12=30
Exploring Operation: 66-14=52, Resulting Numbers: [42, 12, 52]
Generated Node #0,4: 22:[42, 12, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[14, 12, 24], Operations: ['66-42=24']
Exploring Operation: 14+12=26, Resulting Numbers: [24, 26]
Generated Node #0,2,0: 22:[24, 26] Operation: 14+12=26
Exploring Operation: 24-14=10, Resulting Numbers: [12, 10]
Generated Node #0,2,1: 22:[12, 10] Operation: 24-14=10
Exploring Operation: 14-12=2, Resulting Numbers: [24, 2]
Generated Node #0,2,2: 22:[24, 2] Operation: 14-12=2
Exploring Operation: 24-12=12, Resulting Numbers: [14, 12]
Generated Node #0,2,3: 22:[14, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [14, 2]
Generated Node #0,2,4: 22:[14, 2] Operation: 24/12=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[12, 10], Operations: ['66-42=24', '24-14=10']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[42, 66, 14, 12], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [14, 12, 24]
Generated Node #0,2: 22:[14, 12, 24] Operation: 66-42=24
Moving to Node #0,2
Current State: 22:[14, 12, 24], Operations: ['66-42=24']
Exploring Operation: 24-14=10, Resulting Numbers: [12, 10]
Generated Node #0,2,1: 22:[12, 10] Operation: 24-14=10
Moving to Node #0,2,1
Current State: 22:[12, 10], Operations: ['66-42=24', '24-14=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
61,
63,
54,
31
] | 22 | [
"61-54=7",
"63/7=9",
"31-9=22"
] | Current State: 22:[61, 63, 54, 31], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [63, 31, 7]
Generated Node #2: [63, 31, 7] from Operation: 61-54=7
Current State: 22:[63, 31, 7], Operations: ['61-54=7']
Exploring Operation: 63/7=9, Resulting Numbers: [31, 9]
Generated Node #3: [31, 9] from Operation: 63/7=9
Current State: 22:[31, 9], Operations: ['61-54=7', '63/7=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[61, 63, 54, 31], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [54, 31, 2]
Generated Node #0,0: 22:[54, 31, 2] Operation: 63-61=2
Moving to Node #0,0
Current State: 22:[54, 31, 2], Operations: ['63-61=2']
Exploring Operation: 54-31=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 22:[2, 23] Operation: 54-31=23
Moving to Node #0,0,0
Current State: 22:[2, 23], Operations: ['63-61=2', '54-31=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.