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 |
|---|---|---|---|---|---|---|---|---|
[
70,
94,
92,
34
] | 72 | [
"70-34=36",
"94-92=2",
"36*2=72"
] | Current State: 72:[70, 94, 92, 34], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [94, 92, 36]
Generated Node #2: [94, 92, 36] from Operation: 70-34=36
Current State: 72:[94, 92, 36], Operations: ['70-34=36']
Exploring Operation: 94-92=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 94-92=2
Current State: 72:[36, 2], Operations: ['70-34=36', '94-92=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[70, 94, 92, 34], Operations: []
Exploring Operation: 92-70=22, Resulting Numbers: [94, 34, 22]
Generated Node #0,0: 72:[94, 34, 22] Operation: 92-70=22
Exploring Operation: 94-70=24, Resulting Numbers: [92, 34, 24]
Generated Node #0,1: 72:[92, 34, 24] Operation: 94-70=24
Exploring Operation: 94-92=2, Resulting Numbers: [70, 34, 2]
Generated Node #0,2: 72:[70, 34, 2] Operation: 94-92=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[70, 34, 2], Operations: ['94-92=2']
Exploring Operation: 70+2=72, Resulting Numbers: [34, 72]
Generated Node #0,2,0: 72:[34, 72] Operation: 70+2=72
Exploring Operation: 70-34=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 72:[2, 36] Operation: 70-34=36
Exploring Operation: 34+2=36, Resulting Numbers: [70, 36]
Generated Node #0,2,2: 72:[70, 36] Operation: 34+2=36
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[2, 36], Operations: ['94-92=2', '70-34=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[70, 94, 92, 34], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [70, 34, 2]
Generated Node #0,2: 72:[70, 34, 2] Operation: 94-92=2
Moving to Node #0,2
Current State: 72:[70, 34, 2], Operations: ['94-92=2']
Exploring Operation: 70-34=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 72:[2, 36] Operation: 70-34=36
Moving to Node #0,2,1
Current State: 72:[2, 36], Operations: ['94-92=2', '70-34=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
42,
3,
41,
43
] | 37 | [
"42-3=39",
"43-41=2",
"39-2=37"
] | Current State: 37:[42, 3, 41, 43], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [41, 43, 39]
Generated Node #2: [41, 43, 39] from Operation: 42-3=39
Current State: 37:[41, 43, 39], Operations: ['42-3=39']
Exploring Operation: 43-41=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 43-41=2
Current State: 37:[39, 2], Operations: ['42-3=39', '43-41=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[42, 3, 41, 43], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [41, 43, 39]
Generated Node #0,0: 37:[41, 43, 39] Operation: 42-3=39
Exploring Operation: 43-3=40, Resulting Numbers: [42, 41, 40]
Generated Node #0,1: 37:[42, 41, 40] Operation: 43-3=40
Exploring Operation: 41-3=38, Resulting Numbers: [42, 43, 38]
Generated Node #0,2: 37:[42, 43, 38] Operation: 41-3=38
Exploring Operation: 42+3=45, Resulting Numbers: [41, 43, 45]
Generated Node #0,3: 37:[41, 43, 45] Operation: 42+3=45
Moving to Node #0,0
Current State: 37:[41, 43, 39], Operations: ['42-3=39']
Exploring Operation: 41+43=84, Resulting Numbers: [39, 84]
Generated Node #0,0,0: 37:[39, 84] Operation: 41+43=84
Exploring Operation: 43-39=4, Resulting Numbers: [41, 4]
Generated Node #0,0,1: 37:[41, 4] Operation: 43-39=4
Exploring Operation: 43-41=2, Resulting Numbers: [39, 2]
Generated Node #0,0,2: 37:[39, 2] Operation: 43-41=2
Exploring Operation: 41-39=2, Resulting Numbers: [43, 2]
Generated Node #0,0,3: 37:[43, 2] Operation: 41-39=2
Moving to Node #0,2
Current State: 37:[42, 43, 38], Operations: ['41-3=38']
Exploring Operation: 42+43=85, Resulting Numbers: [38, 85]
Generated Node #0,2,0: 37:[38, 85] Operation: 42+43=85
Exploring Operation: 43-38=5, Resulting Numbers: [42, 5]
Generated Node #0,2,1: 37:[42, 5] Operation: 43-38=5
Exploring Operation: 43-42=1, Resulting Numbers: [38, 1]
Generated Node #0,2,2: 37:[38, 1] Operation: 43-42=1
Exploring Operation: 42-38=4, Resulting Numbers: [43, 4]
Generated Node #0,2,3: 37:[43, 4] Operation: 42-38=4
Moving to Node #0,1
Current State: 37:[42, 41, 40], Operations: ['43-3=40']
Exploring Operation: 42-41=1, Resulting Numbers: [40, 1]
Generated Node #0,1,0: 37:[40, 1] Operation: 42-41=1
Exploring Operation: 41-40=1, Resulting Numbers: [42, 1]
Generated Node #0,1,1: 37:[42, 1] Operation: 41-40=1
Exploring Operation: 42+41=83, Resulting Numbers: [40, 83]
Generated Node #0,1,2: 37:[40, 83] Operation: 42+41=83
Exploring Operation: 42-40=2, Resulting Numbers: [41, 2]
Generated Node #0,1,3: 37:[41, 2] Operation: 42-40=2
Moving to Node #0,3
Current State: 37:[41, 43, 45], Operations: ['42+3=45']
Exploring Operation: 41+43=84, Resulting Numbers: [45, 84]
Generated Node #0,3,0: 37:[45, 84] Operation: 41+43=84
Exploring Operation: 43-41=2, Resulting Numbers: [45, 2]
Generated Node #0,3,1: 37:[45, 2] Operation: 43-41=2
Exploring Operation: 45-43=2, Resulting Numbers: [41, 2]
Generated Node #0,3,2: 37:[41, 2] Operation: 45-43=2
Exploring Operation: 45-41=4, Resulting Numbers: [43, 4]
Generated Node #0,3,3: 37:[43, 4] Operation: 45-41=4
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[41, 2], Operations: ['42+3=45', '45-43=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,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,3,3
Current State: 37:[43, 4], Operations: ['42+3=45', '45-41=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,37 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,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,3,1
Current State: 37:[45, 2], Operations: ['42+3=45', '43-41=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,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,3,0
Current State: 37:[45, 84], Operations: ['42+3=45', '41+43=84']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,37 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,37 unequal: No Solution
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 37:[41, 4], Operations: ['42-3=39', '43-39=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[42, 3, 41, 43], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [41, 43, 39]
Generated Node #0,0: 37:[41, 43, 39] Operation: 42-3=39
Moving to Node #0,0
Current State: 37:[41, 43, 39], Operations: ['42-3=39']
Exploring Operation: 43-39=4, Resulting Numbers: [41, 4]
Generated Node #0,0,1: 37:[41, 4] Operation: 43-39=4
Moving to Node #0,0,1
Current State: 37:[41, 4], Operations: ['42-3=39', '43-39=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
81,
20,
65,
25
] | 61 | [
"81+20=101",
"65-25=40",
"101-40=61"
] | Current State: 61:[81, 20, 65, 25], Operations: []
Exploring Operation: 81+20=101, Resulting Numbers: [65, 25, 101]
Generated Node #2: [65, 25, 101] from Operation: 81+20=101
Current State: 61:[65, 25, 101], Operations: ['81+20=101']
Exploring Operation: 65-25=40, Resulting Numbers: [101, 40]
Generated Node #3: [101, 40] from Operation: 65-25=40
Current State: 61:[101, 40], Operations: ['81+20=101', '65-25=40']
Exploring Operation: 101-40=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[81, 20, 65, 25], Operations: []
Exploring Operation: 20+25=45, Resulting Numbers: [81, 65, 45]
Generated Node #0,0: 61:[81, 65, 45] Operation: 20+25=45
Exploring Operation: 81-20=61, Resulting Numbers: [65, 25, 61]
Generated Node #0,1: 61:[65, 25, 61] Operation: 81-20=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[81, 65, 45], Operations: ['20+25=45']
Exploring Operation: 81-65=16, Resulting Numbers: [45, 16]
Generated Node #0,0,0: 61:[45, 16] Operation: 81-65=16
Exploring Operation: 81-45=36, Resulting Numbers: [65, 36]
Generated Node #0,0,1: 61:[65, 36] Operation: 81-45=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[65, 36], Operations: ['20+25=45', '81-45=36']
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,61 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[45, 16], Operations: ['20+25=45', '81-65=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[81, 20, 65, 25], Operations: []
Exploring Operation: 20+25=45, Resulting Numbers: [81, 65, 45]
Generated Node #0,0: 61:[81, 65, 45] Operation: 20+25=45
Moving to Node #0,0
Current State: 61:[81, 65, 45], Operations: ['20+25=45']
Exploring Operation: 81-65=16, Resulting Numbers: [45, 16]
Generated Node #0,0,0: 61:[45, 16] Operation: 81-65=16
Moving to Node #0,0,0
Current State: 61:[45, 16], Operations: ['20+25=45', '81-65=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
44,
2,
75,
51
] | 32 | [
"75-51=24",
"24/2=12",
"44-12=32"
] | Current State: 32:[44, 2, 75, 51], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [44, 2, 24]
Generated Node #2: [44, 2, 24] from Operation: 75-51=24
Current State: 32:[44, 2, 24], Operations: ['75-51=24']
Exploring Operation: 24/2=12, Resulting Numbers: [44, 12]
Generated Node #3: [44, 12] from Operation: 24/2=12
Current State: 32:[44, 12], Operations: ['75-51=24', '24/2=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[44, 2, 75, 51], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [2, 51, 31]
Generated Node #0,0: 32:[2, 51, 31] Operation: 75-44=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[2, 51, 31], Operations: ['75-44=31']
Exploring Operation: 51-31=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 32:[2, 20] Operation: 51-31=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[2, 20], Operations: ['75-44=31', '51-31=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
93,
4,
3
] | 41 | [
"93+3=96",
"96/4=24",
"65-24=41"
] | Current State: 41:[65, 93, 4, 3], Operations: []
Exploring Operation: 93+3=96, Resulting Numbers: [65, 4, 96]
Generated Node #2: [65, 4, 96] from Operation: 93+3=96
Current State: 41:[65, 4, 96], Operations: ['93+3=96']
Exploring Operation: 96/4=24, Resulting Numbers: [65, 24]
Generated Node #3: [65, 24] from Operation: 96/4=24
Current State: 41:[65, 24], Operations: ['93+3=96', '96/4=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[65, 93, 4, 3], Operations: []
Exploring Operation: 4*3=12, Resulting Numbers: [65, 93, 12]
Generated Node #0,0: 41:[65, 93, 12] Operation: 4*3=12
Exploring Operation: 93-65=28, Resulting Numbers: [4, 3, 28]
Generated Node #0,1: 41:[4, 3, 28] Operation: 93-65=28
Exploring Operation: 65-3=62, Resulting Numbers: [93, 4, 62]
Generated Node #0,2: 41:[93, 4, 62] Operation: 65-3=62
Exploring Operation: 65-4=61, Resulting Numbers: [93, 3, 61]
Generated Node #0,3: 41:[93, 3, 61] Operation: 65-4=61
Exploring Operation: 93/3=31, Resulting Numbers: [65, 4, 31]
Generated Node #0,4: 41:[65, 4, 31] Operation: 93/3=31
Moving to Node #0,4
Current State: 41:[65, 4, 31], Operations: ['93/3=31']
Exploring Operation: 31-4=27, Resulting Numbers: [65, 27]
Generated Node #0,4,0: 41:[65, 27] Operation: 31-4=27
Exploring Operation: 65-4=61, Resulting Numbers: [31, 61]
Generated Node #0,4,1: 41:[31, 61] Operation: 65-4=61
Exploring Operation: 4+31=35, Resulting Numbers: [65, 35]
Generated Node #0,4,2: 41:[65, 35] Operation: 4+31=35
Exploring Operation: 65-31=34, Resulting Numbers: [4, 34]
Generated Node #0,4,3: 41:[4, 34] Operation: 65-31=34
Exploring Operation: 65+4=69, Resulting Numbers: [31, 69]
Generated Node #0,4,4: 41:[31, 69] Operation: 65+4=69
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[31, 61], Operations: ['93/3=31', '65-4=61']
Exploring Operation: 31*61=1891, Resulting Numbers: [1891]
1891,41 unequal: No Solution
Exploring Operation: 31+61=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,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:[65, 35], Operations: ['93/3=31', '4+31=35']
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,41 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,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:[65, 27], Operations: ['93/3=31', '31-4=27']
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,41 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,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:[31, 69], Operations: ['93/3=31', '65+4=69']
Exploring Operation: 31+69=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 31*69=2139, Resulting Numbers: [2139]
2139,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,3
Current State: 41:[4, 34], Operations: ['93/3=31', '65-31=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,41 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[4, 3, 28], Operations: ['93-65=28']
Exploring Operation: 4-3=1, Resulting Numbers: [28, 1]
Generated Node #0,1,0: 41:[28, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [28, 7]
Generated Node #0,1,1: 41:[28, 7] Operation: 4+3=7
Exploring Operation: 4*3=12, Resulting Numbers: [28, 12]
Generated Node #0,1,2: 41:[28, 12] Operation: 4*3=12
Exploring Operation: 3+28=31, Resulting Numbers: [4, 31]
Generated Node #0,1,3: 41:[4, 31] Operation: 3+28=31
Exploring Operation: 4+28=32, Resulting Numbers: [3, 32]
Generated Node #0,1,4: 41:[3, 32] Operation: 4+28=32
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[28, 12], Operations: ['93-65=28', '4*3=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[28, 7], Operations: ['93-65=28', '4+3=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,41 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,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:[4, 31], Operations: ['93-65=28', '3+28=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,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:[3, 32], Operations: ['93-65=28', '4+28=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,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:[28, 1], Operations: ['93-65=28', '4-3=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,41 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: 41:[65, 93, 12], Operations: ['4*3=12']
Exploring Operation: 93+12=105, Resulting Numbers: [65, 105]
Generated Node #0,0,0: 41:[65, 105] Operation: 93+12=105
Exploring Operation: 65-12=53, Resulting Numbers: [93, 53]
Generated Node #0,0,1: 41:[93, 53] Operation: 65-12=53
Exploring Operation: 93-12=81, Resulting Numbers: [65, 81]
Generated Node #0,0,2: 41:[65, 81] Operation: 93-12=81
Exploring Operation: 65+12=77, Resulting Numbers: [93, 77]
Generated Node #0,0,3: 41:[93, 77] Operation: 65+12=77
Exploring Operation: 93-65=28, Resulting Numbers: [12, 28]
Generated Node #0,0,4: 41:[12, 28] Operation: 93-65=28
Moving to Node #0,2
Current State: 41:[93, 4, 62], Operations: ['65-3=62']
Exploring Operation: 4+62=66, Resulting Numbers: [93, 66]
Generated Node #0,2,0: 41:[93, 66] Operation: 4+62=66
Exploring Operation: 62-4=58, Resulting Numbers: [93, 58]
Generated Node #0,2,1: 41:[93, 58] Operation: 62-4=58
Exploring Operation: 93-4=89, Resulting Numbers: [62, 89]
Generated Node #0,2,2: 41:[62, 89] Operation: 93-4=89
Exploring Operation: 93+4=97, Resulting Numbers: [62, 97]
Generated Node #0,2,3: 41:[62, 97] Operation: 93+4=97
Exploring Operation: 93-62=31, Resulting Numbers: [4, 31]
Generated Node #0,2,4: 41:[4, 31] Operation: 93-62=31
Moving to Node #0,3
Current State: 41:[93, 3, 61], Operations: ['65-4=61']
Exploring Operation: 93/3=31, Resulting Numbers: [61, 31]
Generated Node #0,3,0: 41:[61, 31] Operation: 93/3=31
Exploring Operation: 93+3=96, Resulting Numbers: [61, 96]
Generated Node #0,3,1: 41:[61, 96] Operation: 93+3=96
Exploring Operation: 93-3=90, Resulting Numbers: [61, 90]
Generated Node #0,3,2: 41:[61, 90] Operation: 93-3=90
Exploring Operation: 61-3=58, Resulting Numbers: [93, 58]
Generated Node #0,3,3: 41:[93, 58] Operation: 61-3=58
Exploring Operation: 93-61=32, Resulting Numbers: [3, 32]
Generated Node #0,3,4: 41:[3, 32] Operation: 93-61=32
Moving to Node #0,3,0
Current State: 41:[61, 31], Operations: ['65-4=61', '93/3=31']
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,41 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[12, 28], Operations: ['4*3=12', '93-65=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,41 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[4, 31], Operations: ['65-3=62', '93-62=31']
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,41 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Moving to Node #0,3,4
Current State: 41:[3, 32], Operations: ['65-4=61', '93-61=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[65, 81], Operations: ['4*3=12', '93-12=81']
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,41 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 65*81=5265, Resulting Numbers: [5265]
5265,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[93, 53], Operations: ['4*3=12', '65-12=53']
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,41 unequal: No Solution
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,41 unequal: No Solution
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[93, 58], Operations: ['65-3=62', '62-4=58']
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,41 unequal: No Solution
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[61, 90], Operations: ['65-4=61', '93-3=90']
Exploring Operation: 61+90=151, Resulting Numbers: [151]
151,41 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 61*90=5490, Resulting Numbers: [5490]
5490,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[93, 58], Operations: ['65-4=61', '61-3=58']
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 93+58=151, Resulting Numbers: [151]
151,41 unequal: No Solution
Exploring Operation: 93*58=5394, Resulting Numbers: [5394]
5394,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[62, 89], Operations: ['65-3=62', '93-4=89']
Exploring Operation: 62+89=151, Resulting Numbers: [151]
151,41 unequal: No Solution
Exploring Operation: 62*89=5518, Resulting Numbers: [5518]
5518,41 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[61, 96], Operations: ['65-4=61', '93+3=96']
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 61+96=157, Resulting Numbers: [157]
157,41 unequal: No Solution
Exploring Operation: 61*96=5856, Resulting Numbers: [5856]
5856,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[62, 97], Operations: ['65-3=62', '93+4=97']
Exploring Operation: 97-62=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 62*97=6014, Resulting Numbers: [6014]
6014,41 unequal: No Solution
Exploring Operation: 62+97=159, Resulting Numbers: [159]
159,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[93, 66], Operations: ['65-3=62', '4+62=66']
Exploring Operation: 93+66=159, Resulting Numbers: [159]
159,41 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 93*66=6138, Resulting Numbers: [6138]
6138,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[65, 105], Operations: ['4*3=12', '93+12=105']
Exploring Operation: 65*105=6825, Resulting Numbers: [6825]
6825,41 unequal: No Solution
Exploring Operation: 105-65=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 65+105=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[93, 77], Operations: ['4*3=12', '65+12=77']
Exploring Operation: 93+77=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Exploring Operation: 93*77=7161, Resulting Numbers: [7161]
7161,41 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
1,
52,
43,
46
] | 48 | [
"52-1=51",
"46-43=3",
"51-3=48"
] | Current State: 48:[1, 52, 43, 46], Operations: []
Exploring Operation: 52-1=51, Resulting Numbers: [43, 46, 51]
Generated Node #2: [43, 46, 51] from Operation: 52-1=51
Current State: 48:[43, 46, 51], Operations: ['52-1=51']
Exploring Operation: 46-43=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 46-43=3
Current State: 48:[51, 3], Operations: ['52-1=51', '46-43=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[1, 52, 43, 46], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [1, 46, 9]
Generated Node #0,0: 48:[1, 46, 9] Operation: 52-43=9
Exploring Operation: 52-46=6, Resulting Numbers: [1, 43, 6]
Generated Node #0,1: 48:[1, 43, 6] Operation: 52-46=6
Exploring Operation: 46-43=3, Resulting Numbers: [1, 52, 3]
Generated Node #0,2: 48:[1, 52, 3] Operation: 46-43=3
Exploring Operation: 52-1=51, Resulting Numbers: [43, 46, 51]
Generated Node #0,3: 48:[43, 46, 51] Operation: 52-1=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[1, 46, 9], Operations: ['52-43=9']
Exploring Operation: 1*46=46, Resulting Numbers: [9, 46]
Generated Node #0,0,0: 48:[9, 46] Operation: 1*46=46
Exploring Operation: 46/1=46, Resulting Numbers: [9, 46]
Generated Node #0,0,1: 48:[9, 46] Operation: 46/1=46
Exploring Operation: 1+46=47, Resulting Numbers: [9, 47]
Generated Node #0,0,2: 48:[9, 47] Operation: 1+46=47
Exploring Operation: 9-1=8, Resulting Numbers: [46, 8]
Generated Node #0,0,3: 48:[46, 8] Operation: 9-1=8
Moving to Node #0,0,2
Current State: 48:[9, 47], Operations: ['52-43=9', '1+46=47']
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,48 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[46, 8], Operations: ['52-43=9', '9-1=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,48 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[9, 46], Operations: ['52-43=9', '46/1=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,48 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[9, 46], Operations: ['52-43=9', '1*46=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[1, 52, 3], Operations: ['46-43=3']
Exploring Operation: 52/1=52, Resulting Numbers: [3, 52]
Generated Node #0,2,0: 48:[3, 52] Operation: 52/1=52
Exploring Operation: 1*52=52, Resulting Numbers: [3, 52]
Generated Node #0,2,1: 48:[3, 52] Operation: 1*52=52
Exploring Operation: 52-3=49, Resulting Numbers: [1, 49]
Generated Node #0,2,2: 48:[1, 49] Operation: 52-3=49
Exploring Operation: 52-1=51, Resulting Numbers: [3, 51]
Generated Node #0,2,3: 48:[3, 51] Operation: 52-1=51
Moving to Node #0,2,2
Current State: 48:[1, 49], Operations: ['46-43=3', '52-3=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[1, 52, 43, 46], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [1, 52, 3]
Generated Node #0,2: 48:[1, 52, 3] Operation: 46-43=3
Moving to Node #0,2
Current State: 48:[1, 52, 3], Operations: ['46-43=3']
Exploring Operation: 52-3=49, Resulting Numbers: [1, 49]
Generated Node #0,2,2: 48:[1, 49] Operation: 52-3=49
Moving to Node #0,2,2
Current State: 48:[1, 49], Operations: ['46-43=3', '52-3=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
72,
74,
18,
33
] | 69 | [
"74-72=2",
"18*2=36",
"33+36=69"
] | Current State: 69:[72, 74, 18, 33], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [18, 33, 2]
Generated Node #2: [18, 33, 2] from Operation: 74-72=2
Current State: 69:[18, 33, 2], Operations: ['74-72=2']
Exploring Operation: 18*2=36, Resulting Numbers: [33, 36]
Generated Node #3: [33, 36] from Operation: 18*2=36
Current State: 69:[33, 36], Operations: ['74-72=2', '18*2=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[72, 74, 18, 33], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [74, 33, 4]
Generated Node #0,0: 69:[74, 33, 4] Operation: 72/18=4
Exploring Operation: 33-18=15, Resulting Numbers: [72, 74, 15]
Generated Node #0,1: 69:[72, 74, 15] Operation: 33-18=15
Exploring Operation: 74-72=2, Resulting Numbers: [18, 33, 2]
Generated Node #0,2: 69:[18, 33, 2] Operation: 74-72=2
Exploring Operation: 72-33=39, Resulting Numbers: [74, 18, 39]
Generated Node #0,3: 69:[74, 18, 39] Operation: 72-33=39
Exploring Operation: 74-18=56, Resulting Numbers: [72, 33, 56]
Generated Node #0,4: 69:[72, 33, 56] Operation: 74-18=56
Moving to Node #0,0
Current State: 69:[74, 33, 4], Operations: ['72/18=4']
Exploring Operation: 33-4=29, Resulting Numbers: [74, 29]
Generated Node #0,0,0: 69:[74, 29] Operation: 33-4=29
Exploring Operation: 74+4=78, Resulting Numbers: [33, 78]
Generated Node #0,0,1: 69:[33, 78] Operation: 74+4=78
Exploring Operation: 33+4=37, Resulting Numbers: [74, 37]
Generated Node #0,0,2: 69:[74, 37] Operation: 33+4=37
Exploring Operation: 74-4=70, Resulting Numbers: [33, 70]
Generated Node #0,0,3: 69:[33, 70] Operation: 74-4=70
Exploring Operation: 74-33=41, Resulting Numbers: [4, 41]
Generated Node #0,0,4: 69:[4, 41] Operation: 74-33=41
Moving to Node #0,2
Current State: 69:[18, 33, 2], Operations: ['74-72=2']
Exploring Operation: 33*2=66, Resulting Numbers: [18, 66]
Generated Node #0,2,0: 69:[18, 66] Operation: 33*2=66
Exploring Operation: 33-2=31, Resulting Numbers: [18, 31]
Generated Node #0,2,1: 69:[18, 31] Operation: 33-2=31
Exploring Operation: 18+2=20, Resulting Numbers: [33, 20]
Generated Node #0,2,2: 69:[33, 20] Operation: 18+2=20
Exploring Operation: 18/2=9, Resulting Numbers: [33, 9]
Generated Node #0,2,3: 69:[33, 9] Operation: 18/2=9
Exploring Operation: 33-18=15, Resulting Numbers: [2, 15]
Generated Node #0,2,4: 69:[2, 15] Operation: 33-18=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[18, 66], Operations: ['74-72=2', '33*2=66']
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,69 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,69 unequal: No Solution
No 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: 69:[2, 15], Operations: ['74-72=2', '33-18=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No 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: 69:[18, 31], Operations: ['74-72=2', '33-2=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,69 unequal: No Solution
No 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: 69:[33, 20], Operations: ['74-72=2', '18+2=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,69 unequal: No Solution
No 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: 69:[33, 9], Operations: ['74-72=2', '18/2=9']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,69 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: 69:[72, 74, 15], Operations: ['33-18=15']
Exploring Operation: 72-15=57, Resulting Numbers: [74, 57]
Generated Node #0,1,0: 69:[74, 57] Operation: 72-15=57
Exploring Operation: 74-15=59, Resulting Numbers: [72, 59]
Generated Node #0,1,1: 69:[72, 59] Operation: 74-15=59
Exploring Operation: 74+15=89, Resulting Numbers: [72, 89]
Generated Node #0,1,2: 69:[72, 89] Operation: 74+15=89
Exploring Operation: 72+15=87, Resulting Numbers: [74, 87]
Generated Node #0,1,3: 69:[74, 87] Operation: 72+15=87
Exploring Operation: 74-72=2, Resulting Numbers: [15, 2]
Generated Node #0,1,4: 69:[15, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 69:[15, 2], Operations: ['33-18=15', '74-72=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No 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: 69:[72, 59], Operations: ['33-18=15', '74-15=59']
Exploring Operation: 72*59=4248, Resulting Numbers: [4248]
4248,69 unequal: No Solution
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,69 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,69 unequal: No Solution
No 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: 69:[74, 57], Operations: ['33-18=15', '72-15=57']
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,69 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,69 unequal: No Solution
No 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: 69:[72, 89], Operations: ['33-18=15', '74+15=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,69 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,69 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No 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: 69:[74, 87], Operations: ['33-18=15', '72+15=87']
Exploring Operation: 74+87=161, Resulting Numbers: [161]
161,69 unequal: No Solution
Exploring Operation: 74*87=6438, Resulting Numbers: [6438]
6438,69 unequal: No Solution
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,69 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: 69:[74, 18, 39], Operations: ['72-33=39']
Exploring Operation: 39-18=21, Resulting Numbers: [74, 21]
Generated Node #0,3,0: 69:[74, 21] Operation: 39-18=21
Exploring Operation: 74-18=56, Resulting Numbers: [39, 56]
Generated Node #0,3,1: 69:[39, 56] Operation: 74-18=56
Exploring Operation: 18+39=57, Resulting Numbers: [74, 57]
Generated Node #0,3,2: 69:[74, 57] Operation: 18+39=57
Exploring Operation: 74-39=35, Resulting Numbers: [18, 35]
Generated Node #0,3,3: 69:[18, 35] Operation: 74-39=35
Exploring Operation: 74+18=92, Resulting Numbers: [39, 92]
Generated Node #0,3,4: 69:[39, 92] Operation: 74+18=92
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[74, 21], Operations: ['72-33=39', '39-18=21']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,69 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,69 unequal: No Solution
No 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: 69:[74, 57], Operations: ['72-33=39', '18+39=57']
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,69 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,69 unequal: No Solution
No 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: 69:[18, 35], Operations: ['72-33=39', '74-39=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,69 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,69 unequal: No Solution
No 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: 69:[39, 56], Operations: ['72-33=39', '74-18=56']
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,69 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,69 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No 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: 69:[39, 92], Operations: ['72-33=39', '74+18=92']
Exploring Operation: 92-39=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 39*92=3588, Resulting Numbers: [3588]
3588,69 unequal: No Solution
Exploring Operation: 39+92=131, Resulting Numbers: [131]
131,69 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: 69:[72, 33, 56], Operations: ['74-18=56']
Exploring Operation: 33+56=89, Resulting Numbers: [72, 89]
Generated Node #0,4,0: 69:[72, 89] Operation: 33+56=89
Exploring Operation: 72-56=16, Resulting Numbers: [33, 16]
Generated Node #0,4,1: 69:[33, 16] Operation: 72-56=16
Exploring Operation: 72-33=39, Resulting Numbers: [56, 39]
Generated Node #0,4,2: 69:[56, 39] Operation: 72-33=39
Exploring Operation: 56-33=23, Resulting Numbers: [72, 23]
Generated Node #0,4,3: 69:[72, 23] Operation: 56-33=23
Exploring Operation: 72+33=105, Resulting Numbers: [56, 105]
Generated Node #0,4,4: 69:[56, 105] Operation: 72+33=105
Moving to Node #0,4,3
Current State: 69:[72, 23], Operations: ['74-18=56', '56-33=23']
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,69 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[74, 29], Operations: ['72/18=4', '33-4=29']
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[33, 70], Operations: ['72/18=4', '74-4=70']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,69 unequal: No Solution
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Moving to Node #0,4,1
Current State: 69:[33, 16], Operations: ['74-18=56', '72-56=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,69 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[33, 78], Operations: ['72/18=4', '74+4=78']
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[4, 41], Operations: ['72/18=4', '74-33=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,69 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[74, 37], Operations: ['72/18=4', '33+4=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,69 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Moving to Node #0,4,0
Current State: 69:[72, 89], Operations: ['74-18=56', '33+56=89']
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,69 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,69 unequal: No Solution
Moving to Node #0,4,2
Current State: 69:[56, 39], Operations: ['74-18=56', '72-33=39']
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,69 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,69 unequal: No Solution
Moving to Node #0,4,4
Current State: 69:[56, 105], Operations: ['74-18=56', '72+33=105']
Exploring Operation: 56+105=161, Resulting Numbers: [161]
161,69 unequal: No Solution
Exploring Operation: 105-56=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 56*105=5880, Resulting Numbers: [5880]
5880,69 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
83,
13,
16,
2
] | 27 | [
"83-13=70",
"70-16=54",
"54/2=27"
] | Current State: 27:[83, 13, 16, 2], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [16, 2, 70]
Generated Node #2: [16, 2, 70] from Operation: 83-13=70
Current State: 27:[16, 2, 70], Operations: ['83-13=70']
Exploring Operation: 70-16=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 70-16=54
Current State: 27:[2, 54], Operations: ['83-13=70', '70-16=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[83, 13, 16, 2], Operations: []
Exploring Operation: 83-16=67, Resulting Numbers: [13, 2, 67]
Generated Node #0,0: 27:[13, 2, 67] Operation: 83-16=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[13, 2, 67], Operations: ['83-16=67']
Exploring Operation: 67-13=54, Resulting Numbers: [2, 54]
Generated Node #0,0,0: 27:[2, 54] Operation: 67-13=54
Moving to Node #0,0,0
Current State: 27:[2, 54], Operations: ['83-16=67', '67-13=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[83, 13, 16, 2], Operations: []
Exploring Operation: 83-16=67, Resulting Numbers: [13, 2, 67]
Generated Node #0,0: 27:[13, 2, 67] Operation: 83-16=67
Moving to Node #0,0
Current State: 27:[13, 2, 67], Operations: ['83-16=67']
Exploring Operation: 67-13=54, Resulting Numbers: [2, 54]
Generated Node #0,0,0: 27:[2, 54] Operation: 67-13=54
Moving to Node #0,0,0
Current State: 27:[2, 54], Operations: ['83-16=67', '67-13=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
97,
33,
74,
70
] | 16 | [
"97-33=64",
"74-70=4",
"64/4=16"
] | Current State: 16:[97, 33, 74, 70], Operations: []
Exploring Operation: 97-33=64, Resulting Numbers: [74, 70, 64]
Generated Node #2: [74, 70, 64] from Operation: 97-33=64
Current State: 16:[74, 70, 64], Operations: ['97-33=64']
Exploring Operation: 74-70=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 74-70=4
Current State: 16:[64, 4], Operations: ['97-33=64', '74-70=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[97, 33, 74, 70], Operations: []
Exploring Operation: 97-74=23, Resulting Numbers: [33, 70, 23]
Generated Node #0,0: 16:[33, 70, 23] Operation: 97-74=23
Exploring Operation: 97-33=64, Resulting Numbers: [74, 70, 64]
Generated Node #0,1: 16:[74, 70, 64] Operation: 97-33=64
Exploring Operation: 74-70=4, Resulting Numbers: [97, 33, 4]
Generated Node #0,2: 16:[97, 33, 4] Operation: 74-70=4
Exploring Operation: 97-70=27, Resulting Numbers: [33, 74, 27]
Generated Node #0,3: 16:[33, 74, 27] Operation: 97-70=27
Moving to Node #0,0
Current State: 16:[33, 70, 23], Operations: ['97-74=23']
Exploring Operation: 33-23=10, Resulting Numbers: [70, 10]
Generated Node #0,0,0: 16:[70, 10] Operation: 33-23=10
Exploring Operation: 70-33=37, Resulting Numbers: [23, 37]
Generated Node #0,0,1: 16:[23, 37] Operation: 70-33=37
Exploring Operation: 70-23=47, Resulting Numbers: [33, 47]
Generated Node #0,0,2: 16:[33, 47] Operation: 70-23=47
Exploring Operation: 33+70=103, Resulting Numbers: [23, 103]
Generated Node #0,0,3: 16:[23, 103] Operation: 33+70=103
Moving to Node #0,3
Current State: 16:[33, 74, 27], Operations: ['97-70=27']
Exploring Operation: 74-27=47, Resulting Numbers: [33, 47]
Generated Node #0,3,0: 16:[33, 47] Operation: 74-27=47
Exploring Operation: 33-27=6, Resulting Numbers: [74, 6]
Generated Node #0,3,1: 16:[74, 6] Operation: 33-27=6
Exploring Operation: 74-33=41, Resulting Numbers: [27, 41]
Generated Node #0,3,2: 16:[27, 41] Operation: 74-33=41
Exploring Operation: 33+74=107, Resulting Numbers: [27, 107]
Generated Node #0,3,3: 16:[27, 107] Operation: 33+74=107
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[27, 41], Operations: ['97-70=27', '74-33=41']
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,16 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[33, 47], Operations: ['97-70=27', '74-27=47']
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,16 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[74, 6], Operations: ['97-70=27', '33-27=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[27, 107], Operations: ['97-70=27', '33+74=107']
Exploring Operation: 27*107=2889, Resulting Numbers: [2889]
2889,16 unequal: No Solution
Exploring Operation: 107-27=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 27+107=134, Resulting Numbers: [134]
134,16 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: 16:[97, 33, 4], Operations: ['74-70=4']
Exploring Operation: 97-33=64, Resulting Numbers: [4, 64]
Generated Node #0,2,0: 16:[4, 64] Operation: 97-33=64
Exploring Operation: 97-4=93, Resulting Numbers: [33, 93]
Generated Node #0,2,1: 16:[33, 93] Operation: 97-4=93
Exploring Operation: 97+4=101, Resulting Numbers: [33, 101]
Generated Node #0,2,2: 16:[33, 101] Operation: 97+4=101
Exploring Operation: 33-4=29, Resulting Numbers: [97, 29]
Generated Node #0,2,3: 16:[97, 29] Operation: 33-4=29
Moving to Node #0,1
Current State: 16:[74, 70, 64], Operations: ['97-33=64']
Exploring Operation: 74+70=144, Resulting Numbers: [64, 144]
Generated Node #0,1,0: 16:[64, 144] Operation: 74+70=144
Exploring Operation: 74-64=10, Resulting Numbers: [70, 10]
Generated Node #0,1,1: 16:[70, 10] Operation: 74-64=10
Exploring Operation: 70-64=6, Resulting Numbers: [74, 6]
Generated Node #0,1,2: 16:[74, 6] Operation: 70-64=6
Exploring Operation: 74-70=4, Resulting Numbers: [64, 4]
Generated Node #0,1,3: 16:[64, 4] Operation: 74-70=4
Moving to Node #0,0,1
Current State: 16:[23, 37], Operations: ['97-74=23', '70-33=37']
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,16 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[33, 47], Operations: ['97-74=23', '70-23=47']
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,16 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[4, 64], Operations: ['74-70=4', '97-33=64']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[97, 33, 74, 70], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [97, 33, 4]
Generated Node #0,2: 16:[97, 33, 4] Operation: 74-70=4
Moving to Node #0,2
Current State: 16:[97, 33, 4], Operations: ['74-70=4']
Exploring Operation: 97-33=64, Resulting Numbers: [4, 64]
Generated Node #0,2,0: 16:[4, 64] Operation: 97-33=64
Moving to Node #0,2,0
Current State: 16:[4, 64], Operations: ['74-70=4', '97-33=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.960938 | hs_4 | sum_heuristic |
[
50,
52,
89,
20
] | 67 | [
"52-50=2",
"89-20=69",
"69-2=67"
] | Current State: 67:[50, 52, 89, 20], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [89, 20, 2]
Generated Node #2: [89, 20, 2] from Operation: 52-50=2
Current State: 67:[89, 20, 2], Operations: ['52-50=2']
Exploring Operation: 89-20=69, Resulting Numbers: [2, 69]
Generated Node #3: [2, 69] from Operation: 89-20=69
Current State: 67:[2, 69], Operations: ['52-50=2', '89-20=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[50, 52, 89, 20], Operations: []
Exploring Operation: 89-20=69, Resulting Numbers: [50, 52, 69]
Generated Node #0,0: 67:[50, 52, 69] Operation: 89-20=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[50, 52, 69], Operations: ['89-20=69']
Exploring Operation: 50+52=102, Resulting Numbers: [69, 102]
Generated Node #0,0,0: 67:[69, 102] Operation: 50+52=102
Moving to Node #0,0,0
Current State: 67:[69, 102], Operations: ['89-20=69', '50+52=102']
Exploring Operation: 102-69=33, Resulting Numbers: [33]
33,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
57,
47,
65
] | 20 | [
"32*65=2080",
"57+47=104",
"2080/104=20"
] | Current State: 20:[32, 57, 47, 65], Operations: []
Exploring Operation: 32*65=2080, Resulting Numbers: [57, 47, 2080]
Generated Node #2: [57, 47, 2080] from Operation: 32*65=2080
Current State: 20:[57, 47, 2080], Operations: ['32*65=2080']
Exploring Operation: 57+47=104, Resulting Numbers: [2080, 104]
Generated Node #3: [2080, 104] from Operation: 57+47=104
Current State: 20:[2080, 104], Operations: ['32*65=2080', '57+47=104']
Exploring Operation: 2080/104=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[32, 57, 47, 65], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [32, 47, 8]
Generated Node #0,0: 20:[32, 47, 8] Operation: 65-57=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[32, 47, 8], Operations: ['65-57=8']
Exploring Operation: 47-32=15, Resulting Numbers: [8, 15]
Generated Node #0,0,0: 20:[8, 15] Operation: 47-32=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[8, 15], Operations: ['65-57=8', '47-32=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,20 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 |
[
97,
92,
13,
7
] | 80 | [
"97-13=84",
"84/7=12",
"92-12=80"
] | Current State: 80:[97, 92, 13, 7], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [92, 7, 84]
Generated Node #2: [92, 7, 84] from Operation: 97-13=84
Current State: 80:[92, 7, 84], Operations: ['97-13=84']
Exploring Operation: 84/7=12, Resulting Numbers: [92, 12]
Generated Node #3: [92, 12] from Operation: 84/7=12
Current State: 80:[92, 12], Operations: ['97-13=84', '84/7=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[97, 92, 13, 7], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [92, 7, 84]
Generated Node #0,0: 80:[92, 7, 84] Operation: 97-13=84
Exploring Operation: 97-92=5, Resulting Numbers: [13, 7, 5]
Generated Node #0,1: 80:[13, 7, 5] Operation: 97-92=5
Exploring Operation: 92-13=79, Resulting Numbers: [97, 7, 79]
Generated Node #0,2: 80:[97, 7, 79] Operation: 92-13=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[13, 7, 5], Operations: ['97-92=5']
Exploring Operation: 13+7=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 80:[5, 20] Operation: 13+7=20
Exploring Operation: 13-7=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 80:[5, 6] Operation: 13-7=6
Exploring Operation: 13-5=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 80:[7, 8] Operation: 13-5=8
Moving to Node #0,1,0
Current State: 80:[5, 20], Operations: ['97-92=5', '13+7=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[5, 6], Operations: ['97-92=5', '13-7=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,80 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[7, 8], Operations: ['97-92=5', '13-5=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,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:[92, 7, 84], Operations: ['97-13=84']
Exploring Operation: 92-7=85, Resulting Numbers: [84, 85]
Generated Node #0,0,0: 80:[84, 85] Operation: 92-7=85
Exploring Operation: 92-84=8, Resulting Numbers: [7, 8]
Generated Node #0,0,1: 80:[7, 8] Operation: 92-84=8
Exploring Operation: 84/7=12, Resulting Numbers: [92, 12]
Generated Node #0,0,2: 80:[92, 12] Operation: 84/7=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[7, 8], Operations: ['97-13=84', '92-84=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,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,0
Current State: 80:[84, 85], Operations: ['97-13=84', '92-7=85']
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,80 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,80 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,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:[92, 12], Operations: ['97-13=84', '84/7=12']
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,80 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[97, 92, 13, 7], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [92, 7, 84]
Generated Node #0,0: 80:[92, 7, 84] Operation: 97-13=84
Moving to Node #0,0
Current State: 80:[92, 7, 84], Operations: ['97-13=84']
Exploring Operation: 84/7=12, Resulting Numbers: [92, 12]
Generated Node #0,0,2: 80:[92, 12] Operation: 84/7=12
Moving to Node #0,0,2
Current State: 80:[92, 12], Operations: ['97-13=84', '84/7=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
46,
17,
98,
10
] | 60 | [
"17-10=7",
"98/7=14",
"46+14=60"
] | Current State: 60:[46, 17, 98, 10], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [46, 98, 7]
Generated Node #2: [46, 98, 7] from Operation: 17-10=7
Current State: 60:[46, 98, 7], Operations: ['17-10=7']
Exploring Operation: 98/7=14, Resulting Numbers: [46, 14]
Generated Node #3: [46, 14] from Operation: 98/7=14
Current State: 60:[46, 14], Operations: ['17-10=7', '98/7=14']
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[46, 17, 98, 10], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [17, 10, 52]
Generated Node #0,0: 60:[17, 10, 52] Operation: 98-46=52
Exploring Operation: 98-17=81, Resulting Numbers: [46, 10, 81]
Generated Node #0,1: 60:[46, 10, 81] Operation: 98-17=81
Exploring Operation: 46-17=29, Resulting Numbers: [98, 10, 29]
Generated Node #0,2: 60:[98, 10, 29] Operation: 46-17=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[17, 10, 52], Operations: ['98-46=52']
Exploring Operation: 10+52=62, Resulting Numbers: [17, 62]
Generated Node #0,0,0: 60:[17, 62] Operation: 10+52=62
Exploring Operation: 52-17=35, Resulting Numbers: [10, 35]
Generated Node #0,0,1: 60:[10, 35] Operation: 52-17=35
Exploring Operation: 17-10=7, Resulting Numbers: [52, 7]
Generated Node #0,0,2: 60:[52, 7] Operation: 17-10=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[17, 62], Operations: ['98-46=52', '10+52=62']
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,60 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,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,1
Current State: 60:[10, 35], Operations: ['98-46=52', '52-17=35']
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,60 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,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,2
Current State: 60:[52, 7], Operations: ['98-46=52', '17-10=7']
Exploring Operation: 52*7=364, Resulting Numbers: [364]
364,60 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,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:[46, 10, 81], Operations: ['98-17=81']
Exploring Operation: 46+10=56, Resulting Numbers: [81, 56]
Generated Node #0,1,0: 60:[81, 56] Operation: 46+10=56
Exploring Operation: 81-46=35, Resulting Numbers: [10, 35]
Generated Node #0,1,1: 60:[10, 35] Operation: 81-46=35
Exploring Operation: 81-10=71, Resulting Numbers: [46, 71]
Generated Node #0,1,2: 60:[46, 71] Operation: 81-10=71
Moving to Node #0,1,1
Current State: 60:[10, 35], Operations: ['98-17=81', '81-46=35']
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,60 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[81, 56], Operations: ['98-17=81', '46+10=56']
Exploring Operation: 81*56=4536, Resulting Numbers: [4536]
4536,60 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 81+56=137, Resulting Numbers: [137]
137,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[46, 71], Operations: ['98-17=81', '81-10=71']
Exploring Operation: 46*71=3266, Resulting Numbers: [3266]
3266,60 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[98, 10, 29], Operations: ['46-17=29']
Exploring Operation: 98-10=88, Resulting Numbers: [29, 88]
Generated Node #0,2,0: 60:[29, 88] Operation: 98-10=88
Exploring Operation: 29-10=19, Resulting Numbers: [98, 19]
Generated Node #0,2,1: 60:[98, 19] Operation: 29-10=19
Exploring Operation: 98-29=69, Resulting Numbers: [10, 69]
Generated Node #0,2,2: 60:[10, 69] Operation: 98-29=69
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[10, 69], Operations: ['46-17=29', '98-29=69']
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 10*69=690, Resulting Numbers: [690]
690,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[29, 88], Operations: ['46-17=29', '98-10=88']
Exploring Operation: 29+88=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 29*88=2552, Resulting Numbers: [2552]
2552,60 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[98, 19], Operations: ['46-17=29', '29-10=19']
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,60 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
22,
82,
75
] | 29 | [
"44-22=22",
"82-75=7",
"22+7=29"
] | Current State: 29:[44, 22, 82, 75], Operations: []
Exploring Operation: 44-22=22, Resulting Numbers: [82, 75, 22]
Generated Node #2: [82, 75, 22] from Operation: 44-22=22
Current State: 29:[82, 75, 22], Operations: ['44-22=22']
Exploring Operation: 82-75=7, Resulting Numbers: [22, 7]
Generated Node #3: [22, 7] from Operation: 82-75=7
Current State: 29:[22, 7], Operations: ['44-22=22', '82-75=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[44, 22, 82, 75], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [22, 82, 31]
Generated Node #0,0: 29:[22, 82, 31] Operation: 75-44=31
Exploring Operation: 82-75=7, Resulting Numbers: [44, 22, 7]
Generated Node #0,1: 29:[44, 22, 7] Operation: 82-75=7
Exploring Operation: 82-22=60, Resulting Numbers: [44, 75, 60]
Generated Node #0,2: 29:[44, 75, 60] Operation: 82-22=60
Exploring Operation: 82-44=38, Resulting Numbers: [22, 75, 38]
Generated Node #0,3: 29:[22, 75, 38] Operation: 82-44=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[44, 22, 7], Operations: ['82-75=7']
Exploring Operation: 44-7=37, Resulting Numbers: [22, 37]
Generated Node #0,1,0: 29:[22, 37] Operation: 44-7=37
Exploring Operation: 44-22=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 29:[7, 22] Operation: 44-22=22
Exploring Operation: 22+7=29, Resulting Numbers: [44, 29]
Generated Node #0,1,2: 29:[44, 29] Operation: 22+7=29
Exploring Operation: 44+7=51, Resulting Numbers: [22, 51]
Generated Node #0,1,3: 29:[22, 51] Operation: 44+7=51
Moving to Node #0,1,0
Current State: 29:[22, 37], Operations: ['82-75=7', '44-7=37']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,29 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[44, 29], Operations: ['82-75=7', '22+7=29']
Exploring Operation: 44*29=1276, Resulting Numbers: [1276]
1276,29 unequal: No Solution
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[22, 51], Operations: ['82-75=7', '44+7=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[44, 22, 82, 75], Operations: []
Exploring Operation: 82-75=7, Resulting Numbers: [44, 22, 7]
Generated Node #0,1: 29:[44, 22, 7] Operation: 82-75=7
Moving to Node #0,1
Current State: 29:[44, 22, 7], Operations: ['82-75=7']
Exploring Operation: 44+7=51, Resulting Numbers: [22, 51]
Generated Node #0,1,3: 29:[22, 51] Operation: 44+7=51
Moving to Node #0,1,3
Current State: 29:[22, 51], Operations: ['82-75=7', '44+7=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
79,
37,
84,
7
] | 96 | [
"79+84=163",
"37*7=259",
"259-163=96"
] | Current State: 96:[79, 37, 84, 7], Operations: []
Exploring Operation: 79+84=163, Resulting Numbers: [37, 7, 163]
Generated Node #2: [37, 7, 163] from Operation: 79+84=163
Current State: 96:[37, 7, 163], Operations: ['79+84=163']
Exploring Operation: 37*7=259, Resulting Numbers: [163, 259]
Generated Node #3: [163, 259] from Operation: 37*7=259
Current State: 96:[163, 259], Operations: ['79+84=163', '37*7=259']
Exploring Operation: 259-163=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[79, 37, 84, 7], Operations: []
Exploring Operation: 79-37=42, Resulting Numbers: [84, 7, 42]
Generated Node #0,0: 96:[84, 7, 42] Operation: 79-37=42
Exploring Operation: 84-79=5, Resulting Numbers: [37, 7, 5]
Generated Node #0,1: 96:[37, 7, 5] Operation: 84-79=5
Exploring Operation: 84-37=47, Resulting Numbers: [79, 7, 47]
Generated Node #0,2: 96:[79, 7, 47] Operation: 84-37=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[37, 7, 5], Operations: ['84-79=5']
Exploring Operation: 37-5=32, Resulting Numbers: [7, 32]
Generated Node #0,1,0: 96:[7, 32] Operation: 37-5=32
Exploring Operation: 37+7=44, Resulting Numbers: [5, 44]
Generated Node #0,1,1: 96:[5, 44] Operation: 37+7=44
Exploring Operation: 37-7=30, Resulting Numbers: [5, 30]
Generated Node #0,1,2: 96:[5, 30] Operation: 37-7=30
Moving to Node #0,1,0
Current State: 96:[7, 32], Operations: ['84-79=5', '37-5=32']
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,96 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[5, 30], Operations: ['84-79=5', '37-7=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[5, 44], Operations: ['84-79=5', '37+7=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[84, 7, 42], Operations: ['79-37=42']
Exploring Operation: 84/7=12, Resulting Numbers: [42, 12]
Generated Node #0,0,0: 96:[42, 12] Operation: 84/7=12
Exploring Operation: 84-42=42, Resulting Numbers: [7, 42]
Generated Node #0,0,1: 96:[7, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [7, 2]
Generated Node #0,0,2: 96:[7, 2] Operation: 84/42=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[7, 2], Operations: ['79-37=42', '84/42=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No 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: 96:[42, 12], Operations: ['79-37=42', '84/7=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,96 unequal: No Solution
No 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: 96:[7, 42], Operations: ['79-37=42', '84-42=42']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,96 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: 96:[79, 7, 47], Operations: ['84-37=47']
Exploring Operation: 79-47=32, Resulting Numbers: [7, 32]
Generated Node #0,2,0: 96:[7, 32] Operation: 79-47=32
Exploring Operation: 7+47=54, Resulting Numbers: [79, 54]
Generated Node #0,2,1: 96:[79, 54] Operation: 7+47=54
Exploring Operation: 79+7=86, Resulting Numbers: [47, 86]
Generated Node #0,2,2: 96:[47, 86] Operation: 79+7=86
Moving to Node #0,2,0
Current State: 96:[7, 32], Operations: ['84-37=47', '79-47=32']
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,96 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[47, 86], Operations: ['84-37=47', '79+7=86']
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,96 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[79, 54], Operations: ['84-37=47', '7+47=54']
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,96 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
84,
13,
27,
69
] | 29 | [
"84-13=71",
"69-27=42",
"71-42=29"
] | Current State: 29:[84, 13, 27, 69], Operations: []
Exploring Operation: 84-13=71, Resulting Numbers: [27, 69, 71]
Generated Node #2: [27, 69, 71] from Operation: 84-13=71
Current State: 29:[27, 69, 71], Operations: ['84-13=71']
Exploring Operation: 69-27=42, Resulting Numbers: [71, 42]
Generated Node #3: [71, 42] from Operation: 69-27=42
Current State: 29:[71, 42], Operations: ['84-13=71', '69-27=42']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[84, 13, 27, 69], Operations: []
Exploring Operation: 84-13=71, Resulting Numbers: [27, 69, 71]
Generated Node #0,0: 29:[27, 69, 71] Operation: 84-13=71
Exploring Operation: 84-69=15, Resulting Numbers: [13, 27, 15]
Generated Node #0,1: 29:[13, 27, 15] Operation: 84-69=15
Moving to Node #0,1
Current State: 29:[13, 27, 15], Operations: ['84-69=15']
Exploring Operation: 13+15=28, Resulting Numbers: [27, 28]
Generated Node #0,1,0: 29:[27, 28] Operation: 13+15=28
Exploring Operation: 13+27=40, Resulting Numbers: [15, 40]
Generated Node #0,1,1: 29:[15, 40] Operation: 13+27=40
Moving to Node #0,0
Current State: 29:[27, 69, 71], Operations: ['84-13=71']
Exploring Operation: 69-27=42, Resulting Numbers: [71, 42]
Generated Node #0,0,0: 29:[71, 42] Operation: 69-27=42
Exploring Operation: 71-69=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 29:[27, 2] Operation: 71-69=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[27, 2], Operations: ['84-13=71', '71-69=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[84, 13, 27, 69], Operations: []
Exploring Operation: 84-13=71, Resulting Numbers: [27, 69, 71]
Generated Node #0,0: 29:[27, 69, 71] Operation: 84-13=71
Moving to Node #0,0
Current State: 29:[27, 69, 71], Operations: ['84-13=71']
Exploring Operation: 71-69=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 29:[27, 2] Operation: 71-69=2
Moving to Node #0,0,1
Current State: 29:[27, 2], Operations: ['84-13=71', '71-69=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
8,
27,
8,
72
] | 19 | [
"8*8=64",
"72-27=45",
"64-45=19"
] | Current State: 19:[8, 27, 8, 72], Operations: []
Exploring Operation: 8*8=64, Resulting Numbers: [27, 72, 64]
Generated Node #2: [27, 72, 64] from Operation: 8*8=64
Current State: 19:[27, 72, 64], Operations: ['8*8=64']
Exploring Operation: 72-27=45, Resulting Numbers: [64, 45]
Generated Node #3: [64, 45] from Operation: 72-27=45
Current State: 19:[64, 45], Operations: ['8*8=64', '72-27=45']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[8, 27, 8, 72], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [27, 8, 9]
Generated Node #0,0: 19:[27, 8, 9] Operation: 72/8=9
Exploring Operation: 72/8=9, Resulting Numbers: [8, 27, 9]
Generated Node #0,1: 19:[8, 27, 9] Operation: 72/8=9
Moving to Node #0,0
Current State: 19:[27, 8, 9], Operations: ['72/8=9']
Exploring Operation: 27-8=19, Resulting Numbers: [9, 19]
Generated Node #0,0,0: 19:[9, 19] Operation: 27-8=19
Exploring Operation: 8+9=17, Resulting Numbers: [27, 17]
Generated Node #0,0,1: 19:[27, 17] Operation: 8+9=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[9, 19], Operations: ['72/8=9', '27-8=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[27, 17], Operations: ['72/8=9', '8+9=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,19 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: 19:[8, 27, 9], Operations: ['72/8=9']
Exploring Operation: 27-8=19, Resulting Numbers: [9, 19]
Generated Node #0,1,0: 19:[9, 19] Operation: 27-8=19
Exploring Operation: 8+9=17, Resulting Numbers: [27, 17]
Generated Node #0,1,1: 19:[27, 17] Operation: 8+9=17
Moving to Node #0,1,0
Current State: 19:[9, 19], Operations: ['72/8=9', '27-8=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[27, 17], Operations: ['72/8=9', '8+9=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
80,
44,
11
] | 39 | [
"96-80=16",
"44+11=55",
"55-16=39"
] | Current State: 39:[96, 80, 44, 11], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [44, 11, 16]
Generated Node #2: [44, 11, 16] from Operation: 96-80=16
Current State: 39:[44, 11, 16], Operations: ['96-80=16']
Exploring Operation: 44+11=55, Resulting Numbers: [16, 55]
Generated Node #3: [16, 55] from Operation: 44+11=55
Current State: 39:[16, 55], Operations: ['96-80=16', '44+11=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[96, 80, 44, 11], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [44, 11, 16]
Generated Node #0,0: 39:[44, 11, 16] Operation: 96-80=16
Exploring Operation: 96-44=52, Resulting Numbers: [80, 11, 52]
Generated Node #0,1: 39:[80, 11, 52] Operation: 96-44=52
Exploring Operation: 96-11=85, Resulting Numbers: [80, 44, 85]
Generated Node #0,2: 39:[80, 44, 85] Operation: 96-11=85
Exploring Operation: 80-44=36, Resulting Numbers: [96, 11, 36]
Generated Node #0,3: 39:[96, 11, 36] Operation: 80-44=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[44, 11, 16], Operations: ['96-80=16']
Exploring Operation: 44-11=33, Resulting Numbers: [16, 33]
Generated Node #0,0,0: 39:[16, 33] Operation: 44-11=33
Exploring Operation: 44-16=28, Resulting Numbers: [11, 28]
Generated Node #0,0,1: 39:[11, 28] Operation: 44-16=28
Exploring Operation: 16-11=5, Resulting Numbers: [44, 5]
Generated Node #0,0,2: 39:[44, 5] Operation: 16-11=5
Exploring Operation: 44/11=4, Resulting Numbers: [16, 4]
Generated Node #0,0,3: 39:[16, 4] Operation: 44/11=4
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[16, 4], Operations: ['96-80=16', '44/11=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,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,0,2
Current State: 39:[44, 5], Operations: ['96-80=16', '16-11=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,39 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[96, 80, 44, 11], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [44, 11, 16]
Generated Node #0,0: 39:[44, 11, 16] Operation: 96-80=16
Moving to Node #0,0
Current State: 39:[44, 11, 16], Operations: ['96-80=16']
Exploring Operation: 16-11=5, Resulting Numbers: [44, 5]
Generated Node #0,0,2: 39:[44, 5] Operation: 16-11=5
Moving to Node #0,0,2
Current State: 39:[44, 5], Operations: ['96-80=16', '16-11=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
91,
75,
5,
67
] | 13 | [
"91-75=16",
"5*16=80",
"80-67=13"
] | Current State: 13:[91, 75, 5, 67], Operations: []
Exploring Operation: 91-75=16, Resulting Numbers: [5, 67, 16]
Generated Node #2: [5, 67, 16] from Operation: 91-75=16
Current State: 13:[5, 67, 16], Operations: ['91-75=16']
Exploring Operation: 5*16=80, Resulting Numbers: [67, 80]
Generated Node #3: [67, 80] from Operation: 5*16=80
Current State: 13:[67, 80], Operations: ['91-75=16', '5*16=80']
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[91, 75, 5, 67], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [91, 5, 8]
Generated Node #0,0: 13:[91, 5, 8] Operation: 75-67=8
Exploring Operation: 91-5=86, Resulting Numbers: [75, 67, 86]
Generated Node #0,1: 13:[75, 67, 86] Operation: 91-5=86
Exploring Operation: 91-67=24, Resulting Numbers: [75, 5, 24]
Generated Node #0,2: 13:[75, 5, 24] Operation: 91-67=24
Exploring Operation: 75/5=15, Resulting Numbers: [91, 67, 15]
Generated Node #0,3: 13:[91, 67, 15] Operation: 75/5=15
Exploring Operation: 91-75=16, Resulting Numbers: [5, 67, 16]
Generated Node #0,4: 13:[5, 67, 16] Operation: 91-75=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[5, 67, 16], Operations: ['91-75=16']
Exploring Operation: 67-5=62, Resulting Numbers: [16, 62]
Generated Node #0,4,0: 13:[16, 62] Operation: 67-5=62
Exploring Operation: 16-5=11, Resulting Numbers: [67, 11]
Generated Node #0,4,1: 13:[67, 11] Operation: 16-5=11
Exploring Operation: 67-16=51, Resulting Numbers: [5, 51]
Generated Node #0,4,2: 13:[5, 51] Operation: 67-16=51
Exploring Operation: 5+67=72, Resulting Numbers: [16, 72]
Generated Node #0,4,3: 13:[16, 72] Operation: 5+67=72
Exploring Operation: 5+16=21, Resulting Numbers: [67, 21]
Generated Node #0,4,4: 13:[67, 21] Operation: 5+16=21
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 13:[5, 51], Operations: ['91-75=16', '67-16=51']
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,13 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 13:[16, 62], Operations: ['91-75=16', '67-5=62']
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,13 unequal: No Solution
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 13:[67, 11], Operations: ['91-75=16', '16-5=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,13 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 13:[16, 72], Operations: ['91-75=16', '5+67=72']
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,13 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 13:[67, 21], Operations: ['91-75=16', '5+16=21']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 67*21=1407, Resulting Numbers: [1407]
1407,13 unequal: No Solution
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[75, 5, 24], Operations: ['91-67=24']
Exploring Operation: 75/5=15, Resulting Numbers: [24, 15]
Generated Node #0,2,0: 13:[24, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [24, 70]
Generated Node #0,2,1: 13:[24, 70] Operation: 75-5=70
Exploring Operation: 75+5=80, Resulting Numbers: [24, 80]
Generated Node #0,2,2: 13:[24, 80] Operation: 75+5=80
Exploring Operation: 24-5=19, Resulting Numbers: [75, 19]
Generated Node #0,2,3: 13:[75, 19] Operation: 24-5=19
Exploring Operation: 75-24=51, Resulting Numbers: [5, 51]
Generated Node #0,2,4: 13:[5, 51] Operation: 75-24=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[24, 15], Operations: ['91-67=24', '75/5=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 13:[5, 51], Operations: ['91-67=24', '75-24=51']
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,13 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[24, 70], Operations: ['91-67=24', '75-5=70']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[75, 19], Operations: ['91-67=24', '24-5=19']
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,13 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[24, 80], Operations: ['91-67=24', '75+5=80']
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 24*80=1920, Resulting Numbers: [1920]
1920,13 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[91, 5, 8], Operations: ['75-67=8']
Exploring Operation: 8-5=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 13:[91, 3] Operation: 8-5=3
Exploring Operation: 91-5=86, Resulting Numbers: [8, 86]
Generated Node #0,0,1: 13:[8, 86] Operation: 91-5=86
Exploring Operation: 5+8=13, Resulting Numbers: [91, 13]
Generated Node #0,0,2: 13:[91, 13] Operation: 5+8=13
Exploring Operation: 91+5=96, Resulting Numbers: [8, 96]
Generated Node #0,0,3: 13:[8, 96] Operation: 91+5=96
Exploring Operation: 91-8=83, Resulting Numbers: [5, 83]
Generated Node #0,0,4: 13:[5, 83] Operation: 91-8=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[8, 86], Operations: ['75-67=8', '91-5=86']
Exploring Operation: 8*86=688, Resulting Numbers: [688]
688,13 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[91, 13], Operations: ['75-67=8', '5+8=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,13 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 13:[5, 83], Operations: ['75-67=8', '91-8=83']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 5+83=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 5*83=415, Resulting Numbers: [415]
415,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[91, 3], Operations: ['75-67=8', '8-5=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,13 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[8, 96], Operations: ['75-67=8', '91+5=96']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,13 unequal: No Solution
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[91, 67, 15], Operations: ['75/5=15']
Exploring Operation: 91+67=158, Resulting Numbers: [15, 158]
Generated Node #0,3,0: 13:[15, 158] Operation: 91+67=158
Exploring Operation: 91-15=76, Resulting Numbers: [67, 76]
Generated Node #0,3,1: 13:[67, 76] Operation: 91-15=76
Exploring Operation: 67-15=52, Resulting Numbers: [91, 52]
Generated Node #0,3,2: 13:[91, 52] Operation: 67-15=52
Exploring Operation: 91-67=24, Resulting Numbers: [15, 24]
Generated Node #0,3,3: 13:[15, 24] Operation: 91-67=24
Exploring Operation: 91+15=106, Resulting Numbers: [67, 106]
Generated Node #0,3,4: 13:[67, 106] Operation: 91+15=106
Moving to Node #0,3,3
Current State: 13:[15, 24], Operations: ['75/5=15', '91-67=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,13 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[91, 52], Operations: ['75/5=15', '67-15=52']
Exploring Operation: 91*52=4732, Resulting Numbers: [4732]
4732,13 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[67, 76], Operations: ['75/5=15', '91-15=76']
Exploring Operation: 67*76=5092, Resulting Numbers: [5092]
5092,13 unequal: No Solution
Exploring Operation: 67+76=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[15, 158], Operations: ['75/5=15', '91+67=158']
Exploring Operation: 158-15=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 15+158=173, Resulting Numbers: [173]
173,13 unequal: No Solution
Exploring Operation: 15*158=2370, Resulting Numbers: [2370]
2370,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[67, 106], Operations: ['75/5=15', '91+15=106']
Exploring Operation: 106-67=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 67*106=7102, Resulting Numbers: [7102]
7102,13 unequal: No Solution
Exploring Operation: 67+106=173, Resulting Numbers: [173]
173,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[75, 67, 86], Operations: ['91-5=86']
Exploring Operation: 75+67=142, Resulting Numbers: [86, 142]
Generated Node #0,1,0: 13:[86, 142] Operation: 75+67=142
Exploring Operation: 75+86=161, Resulting Numbers: [67, 161]
Generated Node #0,1,1: 13:[67, 161] Operation: 75+86=161
Exploring Operation: 75-67=8, Resulting Numbers: [86, 8]
Generated Node #0,1,2: 13:[86, 8] Operation: 75-67=8
Exploring Operation: 86-75=11, Resulting Numbers: [67, 11]
Generated Node #0,1,3: 13:[67, 11] Operation: 86-75=11
Exploring Operation: 86-67=19, Resulting Numbers: [75, 19]
Generated Node #0,1,4: 13:[75, 19] Operation: 86-67=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[67, 11], Operations: ['91-5=86', '86-75=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,13 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 13:[75, 19], Operations: ['91-5=86', '86-67=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,13 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[86, 8], Operations: ['91-5=86', '75-67=8']
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,13 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[86, 142], Operations: ['91-5=86', '75+67=142']
Exploring Operation: 86*142=12212, Resulting Numbers: [12212]
12212,13 unequal: No Solution
Exploring Operation: 86+142=228, Resulting Numbers: [228]
228,13 unequal: No Solution
Exploring Operation: 142-86=56, Resulting Numbers: [56]
56,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[67, 161], Operations: ['91-5=86', '75+86=161']
Exploring Operation: 67*161=10787, Resulting Numbers: [10787]
10787,13 unequal: No Solution
Exploring Operation: 161-67=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 67+161=228, Resulting Numbers: [228]
228,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
35,
60,
70,
70
] | 12 | [
"70/35=2",
"70-60=10",
"2+10=12"
] | Current State: 12:[35, 60, 70, 70], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [60, 2]
Generated Node #2: [60, 2] from Operation: 70/35=2
Current State: 12:[60, 2], Operations: ['70/35=2']
Exploring Operation: 70-60=10, Resulting Numbers: [2, 10]
Generated Node #3: [2, 10] from Operation: 70-60=10
Current State: 12:[2, 10], Operations: ['70/35=2', '70-60=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[35, 60, 70, 70], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [35, 60, 1]
Generated Node #0,0: 12:[35, 60, 1] Operation: 70/70=1
Moving to Node #0,0
Current State: 12:[35, 60, 1], Operations: ['70/70=1']
Exploring Operation: 60-35=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 12:[1, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[1, 25], Operations: ['70/70=1', '60-35=25']
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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
91,
7,
8
] | 57 | [
"91/13=7",
"7*7=49",
"8+49=57"
] | Current State: 57:[13, 91, 7, 8], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [7, 8, 7]
Generated Node #2: [7, 8, 7] from Operation: 91/13=7
Current State: 57:[7, 8, 7], Operations: ['91/13=7']
Exploring Operation: 7*7=49, Resulting Numbers: [8, 49]
Generated Node #3: [8, 49] from Operation: 7*7=49
Current State: 57:[8, 49], Operations: ['91/13=7', '7*7=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[13, 91, 7, 8], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [7, 8, 7]
Generated Node #0,0: 57:[7, 8, 7] Operation: 91/13=7
Moving to Node #0,0
Current State: 57:[7, 8, 7], Operations: ['91/13=7']
Exploring Operation: 7*8=56, Resulting Numbers: [7, 56]
Generated Node #0,0,0: 57:[7, 56] Operation: 7*8=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[7, 56], Operations: ['91/13=7', '7*8=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,57 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 |
[
59,
95,
5,
67
] | 27 | [
"67-59=8",
"95/5=19",
"8+19=27"
] | Current State: 27:[59, 95, 5, 67], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [95, 5, 8]
Generated Node #2: [95, 5, 8] from Operation: 67-59=8
Current State: 27:[95, 5, 8], Operations: ['67-59=8']
Exploring Operation: 95/5=19, Resulting Numbers: [8, 19]
Generated Node #3: [8, 19] from Operation: 95/5=19
Current State: 27:[8, 19], Operations: ['67-59=8', '95/5=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[59, 95, 5, 67], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [5, 67, 36]
Generated Node #0,0: 27:[5, 67, 36] Operation: 95-59=36
Exploring Operation: 95-67=28, Resulting Numbers: [59, 5, 28]
Generated Node #0,1: 27:[59, 5, 28] Operation: 95-67=28
Moving to Node #0,1
Current State: 27:[59, 5, 28], Operations: ['95-67=28']
Exploring Operation: 59-28=31, Resulting Numbers: [5, 31]
Generated Node #0,1,0: 27:[5, 31] Operation: 59-28=31
Exploring Operation: 59-5=54, Resulting Numbers: [28, 54]
Generated Node #0,1,1: 27:[28, 54] Operation: 59-5=54
Moving to Node #0,0
Current State: 27:[5, 67, 36], Operations: ['95-59=36']
Exploring Operation: 67-5=62, Resulting Numbers: [36, 62]
Generated Node #0,0,0: 27:[36, 62] Operation: 67-5=62
Exploring Operation: 67-36=31, Resulting Numbers: [5, 31]
Generated Node #0,0,1: 27:[5, 31] Operation: 67-36=31
Moving to Node #0,1,0
Current State: 27:[5, 31], Operations: ['95-67=28', '59-28=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[5, 31], Operations: ['95-59=36', '67-36=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[28, 54], Operations: ['95-67=28', '59-5=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[36, 62], Operations: ['95-59=36', '67-5=62']
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,27 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,27 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
60,
91,
45,
50
] | 26 | [
"91-60=31",
"50-45=5",
"31-5=26"
] | Current State: 26:[60, 91, 45, 50], Operations: []
Exploring Operation: 91-60=31, Resulting Numbers: [45, 50, 31]
Generated Node #2: [45, 50, 31] from Operation: 91-60=31
Current State: 26:[45, 50, 31], Operations: ['91-60=31']
Exploring Operation: 50-45=5, Resulting Numbers: [31, 5]
Generated Node #3: [31, 5] from Operation: 50-45=5
Current State: 26:[31, 5], Operations: ['91-60=31', '50-45=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[60, 91, 45, 50], Operations: []
Exploring Operation: 91-60=31, Resulting Numbers: [45, 50, 31]
Generated Node #0,0: 26:[45, 50, 31] Operation: 91-60=31
Moving to Node #0,0
Current State: 26:[45, 50, 31], Operations: ['91-60=31']
Exploring Operation: 50-45=5, Resulting Numbers: [31, 5]
Generated Node #0,0,0: 26:[31, 5] Operation: 50-45=5
Moving to Node #0,0,0
Current State: 26:[31, 5], Operations: ['91-60=31', '50-45=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[60, 91, 45, 50], Operations: []
Exploring Operation: 91-60=31, Resulting Numbers: [45, 50, 31]
Generated Node #0,0: 26:[45, 50, 31] Operation: 91-60=31
Moving to Node #0,0
Current State: 26:[45, 50, 31], Operations: ['91-60=31']
Exploring Operation: 50-45=5, Resulting Numbers: [31, 5]
Generated Node #0,0,0: 26:[31, 5] Operation: 50-45=5
Moving to Node #0,0,0
Current State: 26:[31, 5], Operations: ['91-60=31', '50-45=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
31,
47,
83,
81
] | 32 | [
"47-31=16",
"83-81=2",
"16*2=32"
] | Current State: 32:[31, 47, 83, 81], Operations: []
Exploring Operation: 47-31=16, Resulting Numbers: [83, 81, 16]
Generated Node #2: [83, 81, 16] from Operation: 47-31=16
Current State: 32:[83, 81, 16], Operations: ['47-31=16']
Exploring Operation: 83-81=2, Resulting Numbers: [16, 2]
Generated Node #3: [16, 2] from Operation: 83-81=2
Current State: 32:[16, 2], Operations: ['47-31=16', '83-81=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[31, 47, 83, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [31, 47, 2]
Generated Node #0,0: 32:[31, 47, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[31, 47, 2], Operations: ['83-81=2']
Exploring Operation: 47-31=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 32:[2, 16] Operation: 47-31=16
Moving to Node #0,0,0
Current State: 32:[2, 16], Operations: ['83-81=2', '47-31=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[31, 47, 83, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [31, 47, 2]
Generated Node #0,0: 32:[31, 47, 2] Operation: 83-81=2
Moving to Node #0,0
Current State: 32:[31, 47, 2], Operations: ['83-81=2']
Exploring Operation: 47-31=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 32:[2, 16] Operation: 47-31=16
Moving to Node #0,0,0
Current State: 32:[2, 16], Operations: ['83-81=2', '47-31=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
63,
45,
62,
88
] | 82 | [
"63+45=108",
"88-62=26",
"108-26=82"
] | Current State: 82:[63, 45, 62, 88], Operations: []
Exploring Operation: 63+45=108, Resulting Numbers: [62, 88, 108]
Generated Node #2: [62, 88, 108] from Operation: 63+45=108
Current State: 82:[62, 88, 108], Operations: ['63+45=108']
Exploring Operation: 88-62=26, Resulting Numbers: [108, 26]
Generated Node #3: [108, 26] from Operation: 88-62=26
Current State: 82:[108, 26], Operations: ['63+45=108', '88-62=26']
Exploring Operation: 108-26=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[63, 45, 62, 88], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [45, 88, 1]
Generated Node #0,0: 82:[45, 88, 1] Operation: 63-62=1
Exploring Operation: 88-63=25, Resulting Numbers: [45, 62, 25]
Generated Node #0,1: 82:[45, 62, 25] Operation: 88-63=25
Exploring Operation: 88-62=26, Resulting Numbers: [63, 45, 26]
Generated Node #0,2: 82:[63, 45, 26] Operation: 88-62=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[45, 88, 1], Operations: ['63-62=1']
Exploring Operation: 88-1=87, Resulting Numbers: [45, 87]
Generated Node #0,0,0: 82:[45, 87] Operation: 88-1=87
Exploring Operation: 88-45=43, Resulting Numbers: [1, 43]
Generated Node #0,0,1: 82:[1, 43] Operation: 88-45=43
Exploring Operation: 45-1=44, Resulting Numbers: [88, 44]
Generated Node #0,0,2: 82:[88, 44] Operation: 45-1=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[1, 43], Operations: ['63-62=1', '88-45=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[45, 87], Operations: ['63-62=1', '88-1=87']
Exploring Operation: 45+87=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 45*87=3915, Resulting Numbers: [3915]
3915,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[88, 44], Operations: ['63-62=1', '45-1=44']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 88+44=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[63, 45, 26], Operations: ['88-62=26']
Exploring Operation: 63+26=89, Resulting Numbers: [45, 89]
Generated Node #0,2,0: 82:[45, 89] Operation: 63+26=89
Exploring Operation: 45+26=71, Resulting Numbers: [63, 71]
Generated Node #0,2,1: 82:[63, 71] Operation: 45+26=71
Exploring Operation: 63-26=37, Resulting Numbers: [45, 37]
Generated Node #0,2,2: 82:[45, 37] Operation: 63-26=37
Moving to Node #0,2,2
Current State: 82:[45, 37], Operations: ['88-62=26', '63-26=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[63, 45, 62, 88], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [63, 45, 26]
Generated Node #0,2: 82:[63, 45, 26] Operation: 88-62=26
Moving to Node #0,2
Current State: 82:[63, 45, 26], Operations: ['88-62=26']
Exploring Operation: 63-26=37, Resulting Numbers: [45, 37]
Generated Node #0,2,2: 82:[45, 37] Operation: 63-26=37
Moving to Node #0,2,2
Current State: 82:[45, 37], Operations: ['88-62=26', '63-26=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
64,
23,
63,
6
] | 67 | [
"63+6=69",
"69/23=3",
"64+3=67"
] | Current State: 67:[64, 23, 63, 6], Operations: []
Exploring Operation: 63+6=69, Resulting Numbers: [64, 23, 69]
Generated Node #2: [64, 23, 69] from Operation: 63+6=69
Current State: 67:[64, 23, 69], Operations: ['63+6=69']
Exploring Operation: 69/23=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 69/23=3
Current State: 67:[64, 3], Operations: ['63+6=69', '69/23=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[64, 23, 63, 6], Operations: []
Exploring Operation: 23+6=29, Resulting Numbers: [64, 63, 29]
Generated Node #0,0: 67:[64, 63, 29] Operation: 23+6=29
Moving to Node #0,0
Current State: 67:[64, 63, 29], Operations: ['23+6=29']
Exploring Operation: 63+29=92, Resulting Numbers: [64, 92]
Generated Node #0,0,0: 67:[64, 92] Operation: 63+29=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[64, 92], Operations: ['23+6=29', '63+29=92']
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,67 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 |
[
9,
8,
78,
17
] | 44 | [
"9+8=17",
"78-17=61",
"61-17=44"
] | Current State: 44:[9, 8, 78, 17], Operations: []
Exploring Operation: 9+8=17, Resulting Numbers: [78, 17, 17]
Generated Node #2: [78, 17, 17] from Operation: 9+8=17
Current State: 44:[78, 17, 17], Operations: ['9+8=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,44 equal: Goal Reached
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[9, 8, 78, 17], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [9, 8, 61]
Generated Node #0,0: 44:[9, 8, 61] Operation: 78-17=61
Exploring Operation: 78-9=69, Resulting Numbers: [8, 17, 69]
Generated Node #0,1: 44:[8, 17, 69] Operation: 78-9=69
Exploring Operation: 78-8=70, Resulting Numbers: [9, 17, 70]
Generated Node #0,2: 44:[9, 17, 70] Operation: 78-8=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[9, 8, 61], Operations: ['78-17=61']
Exploring Operation: 9-8=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 44:[61, 1] Operation: 9-8=1
Exploring Operation: 61-9=52, Resulting Numbers: [8, 52]
Generated Node #0,0,1: 44:[8, 52] Operation: 61-9=52
Exploring Operation: 61-8=53, Resulting Numbers: [9, 53]
Generated Node #0,0,2: 44:[9, 53] Operation: 61-8=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[8, 52], Operations: ['78-17=61', '61-9=52']
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,44 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[9, 8, 78, 17], Operations: []
Exploring Operation: 78-17=61, Resulting Numbers: [9, 8, 61]
Generated Node #0,0: 44:[9, 8, 61] Operation: 78-17=61
Moving to Node #0,0
Current State: 44:[9, 8, 61], Operations: ['78-17=61']
Exploring Operation: 61-9=52, Resulting Numbers: [8, 52]
Generated Node #0,0,1: 44:[8, 52] Operation: 61-9=52
Moving to Node #0,0,1
Current State: 44:[8, 52], Operations: ['78-17=61', '61-9=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
73,
71,
62,
40
] | 100 | [
"73-71=2",
"62+40=102",
"102-2=100"
] | Current State: 100:[73, 71, 62, 40], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [62, 40, 2]
Generated Node #2: [62, 40, 2] from Operation: 73-71=2
Current State: 100:[62, 40, 2], Operations: ['73-71=2']
Exploring Operation: 62+40=102, Resulting Numbers: [2, 102]
Generated Node #3: [2, 102] from Operation: 62+40=102
Current State: 100:[2, 102], Operations: ['73-71=2', '62+40=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[73, 71, 62, 40], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [71, 40, 11]
Generated Node #0,0: 100:[71, 40, 11] Operation: 73-62=11
Exploring Operation: 73-71=2, Resulting Numbers: [62, 40, 2]
Generated Node #0,1: 100:[62, 40, 2] Operation: 73-71=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[62, 40, 2], Operations: ['73-71=2']
Exploring Operation: 62-40=22, Resulting Numbers: [2, 22]
Generated Node #0,1,0: 100:[2, 22] Operation: 62-40=22
Exploring Operation: 62+40=102, Resulting Numbers: [2, 102]
Generated Node #0,1,1: 100:[2, 102] Operation: 62+40=102
Moving to Node #0,1,0
Current State: 100:[2, 22], Operations: ['73-71=2', '62-40=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[2, 102], Operations: ['73-71=2', '62+40=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[73, 71, 62, 40], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [62, 40, 2]
Generated Node #0,1: 100:[62, 40, 2] Operation: 73-71=2
Moving to Node #0,1
Current State: 100:[62, 40, 2], Operations: ['73-71=2']
Exploring Operation: 62+40=102, Resulting Numbers: [2, 102]
Generated Node #0,1,1: 100:[2, 102] Operation: 62+40=102
Moving to Node #0,1,1
Current State: 100:[2, 102], Operations: ['73-71=2', '62+40=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
16,
10,
74,
74
] | 16 | [
"74-74=0",
"10*0=0",
"16+0=16"
] | Current State: 16:[16, 10, 74, 74], Operations: []
Exploring Operation: 74-74=0, Resulting Numbers: [16, 10, 0]
Generated Node #2: [16, 10, 0] from Operation: 74-74=0
Current State: 16:[16, 10, 0], Operations: ['74-74=0']
Exploring Operation: 10*0=0, Resulting Numbers: [16, 0]
Generated Node #3: [16, 0] from Operation: 10*0=0
Current State: 16:[16, 0], Operations: ['74-74=0', '10*0=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[16, 10, 74, 74], Operations: []
Exploring Operation: 74-74=0, Resulting Numbers: [16, 10, 0]
Generated Node #0,0: 16:[16, 10, 0] Operation: 74-74=0
Exploring Operation: 74/74=1, Resulting Numbers: [16, 10, 1]
Generated Node #0,1: 16:[16, 10, 1] Operation: 74/74=1
Exploring Operation: 74-16=58, Resulting Numbers: [10, 74, 58]
Generated Node #0,2: 16:[10, 74, 58] Operation: 74-16=58
Moving to Node #0,1
Current State: 16:[16, 10, 1], Operations: ['74/74=1']
Exploring Operation: 10-1=9, Resulting Numbers: [16, 9]
Generated Node #0,1,0: 16:[16, 9] Operation: 10-1=9
Exploring Operation: 16/1=16, Resulting Numbers: [10, 16]
Generated Node #0,1,1: 16:[10, 16] Operation: 16/1=16
Exploring Operation: 16*1=16, Resulting Numbers: [10, 16]
Generated Node #0,1,2: 16:[10, 16] Operation: 16*1=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[16, 9], Operations: ['74/74=1', '10-1=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[10, 16], Operations: ['74/74=1', '16/1=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[10, 16], Operations: ['74/74=1', '16*1=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,16 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[16, 10, 0], Operations: ['74-74=0']
Exploring Operation: 16+0=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 16:[10, 16] Operation: 16+0=16
Exploring Operation: 10+0=10, Resulting Numbers: [16, 10]
Generated Node #0,0,1: 16:[16, 10] Operation: 10+0=10
Exploring Operation: 16-0=16, Resulting Numbers: [10, 16]
Generated Node #0,0,2: 16:[10, 16] Operation: 16-0=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[10, 16], Operations: ['74-74=0', '16+0=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,16 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[16, 10], Operations: ['74-74=0', '10+0=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[10, 16], Operations: ['74-74=0', '16-0=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,16 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: 16:[10, 74, 58], Operations: ['74-16=58']
Exploring Operation: 74-10=64, Resulting Numbers: [58, 64]
Generated Node #0,2,0: 16:[58, 64] Operation: 74-10=64
Exploring Operation: 58-10=48, Resulting Numbers: [74, 48]
Generated Node #0,2,1: 16:[74, 48] Operation: 58-10=48
Exploring Operation: 74-58=16, Resulting Numbers: [10, 16]
Generated Node #0,2,2: 16:[10, 16] Operation: 74-58=16
Moving to Node #0,2,2
Current State: 16:[10, 16], Operations: ['74-16=58', '74-58=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,16 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[58, 64], Operations: ['74-16=58', '74-10=64']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,16 unequal: No Solution
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[74, 48], Operations: ['74-16=58', '58-10=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,16 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,16 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,16 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
26,
33,
17,
52
] | 62 | [
"33-26=7",
"17+52=69",
"69-7=62"
] | Current State: 62:[26, 33, 17, 52], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [17, 52, 7]
Generated Node #2: [17, 52, 7] from Operation: 33-26=7
Current State: 62:[17, 52, 7], Operations: ['33-26=7']
Exploring Operation: 17+52=69, Resulting Numbers: [7, 69]
Generated Node #3: [7, 69] from Operation: 17+52=69
Current State: 62:[7, 69], Operations: ['33-26=7', '17+52=69']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[26, 33, 17, 52], Operations: []
Exploring Operation: 17+52=69, Resulting Numbers: [26, 33, 69]
Generated Node #0,0: 62:[26, 33, 69] Operation: 17+52=69
Exploring Operation: 52-17=35, Resulting Numbers: [26, 33, 35]
Generated Node #0,1: 62:[26, 33, 35] Operation: 52-17=35
Exploring Operation: 52/26=2, Resulting Numbers: [33, 17, 2]
Generated Node #0,2: 62:[33, 17, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[26, 33, 35], Operations: ['52-17=35']
Exploring Operation: 26+35=61, Resulting Numbers: [33, 61]
Generated Node #0,1,0: 62:[33, 61] Operation: 26+35=61
Exploring Operation: 35-33=2, Resulting Numbers: [26, 2]
Generated Node #0,1,1: 62:[26, 2] Operation: 35-33=2
Exploring Operation: 26+33=59, Resulting Numbers: [35, 59]
Generated Node #0,1,2: 62:[35, 59] Operation: 26+33=59
Moving to Node #0,1,0
Current State: 62:[33, 61], Operations: ['52-17=35', '26+35=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[26, 2], Operations: ['52-17=35', '35-33=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[35, 59], Operations: ['52-17=35', '26+33=59']
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 35*59=2065, Resulting Numbers: [2065]
2065,62 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,62 unequal: No Solution
No 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: 62:[26, 33, 69], Operations: ['17+52=69']
Exploring Operation: 26+33=59, Resulting Numbers: [69, 59]
Generated Node #0,0,0: 62:[69, 59] Operation: 26+33=59
Exploring Operation: 33-26=7, Resulting Numbers: [69, 7]
Generated Node #0,0,1: 62:[69, 7] Operation: 33-26=7
Exploring Operation: 69-33=36, Resulting Numbers: [26, 36]
Generated Node #0,0,2: 62:[26, 36] Operation: 69-33=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[69, 59], Operations: ['17+52=69', '26+33=59']
Exploring Operation: 69*59=4071, Resulting Numbers: [4071]
4071,62 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 69+59=128, Resulting Numbers: [128]
128,62 unequal: No Solution
No 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: 62:[26, 36], Operations: ['17+52=69', '69-33=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,62 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[26, 33, 17, 52], Operations: []
Exploring Operation: 17+52=69, Resulting Numbers: [26, 33, 69]
Generated Node #0,0: 62:[26, 33, 69] Operation: 17+52=69
Moving to Node #0,0
Current State: 62:[26, 33, 69], Operations: ['17+52=69']
Exploring Operation: 69-33=36, Resulting Numbers: [26, 36]
Generated Node #0,0,2: 62:[26, 36] Operation: 69-33=36
Moving to Node #0,0,2
Current State: 62:[26, 36], Operations: ['17+52=69', '69-33=36']
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
97,
57,
43,
30
] | 33 | [
"97-57=40",
"43+30=73",
"73-40=33"
] | Current State: 33:[97, 57, 43, 30], Operations: []
Exploring Operation: 97-57=40, Resulting Numbers: [43, 30, 40]
Generated Node #2: [43, 30, 40] from Operation: 97-57=40
Current State: 33:[43, 30, 40], Operations: ['97-57=40']
Exploring Operation: 43+30=73, Resulting Numbers: [40, 73]
Generated Node #3: [40, 73] from Operation: 43+30=73
Current State: 33:[40, 73], Operations: ['97-57=40', '43+30=73']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[97, 57, 43, 30], Operations: []
Exploring Operation: 97-57=40, Resulting Numbers: [43, 30, 40]
Generated Node #0,0: 33:[43, 30, 40] Operation: 97-57=40
Exploring Operation: 97-43=54, Resulting Numbers: [57, 30, 54]
Generated Node #0,1: 33:[57, 30, 54] Operation: 97-43=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[43, 30, 40], Operations: ['97-57=40']
Exploring Operation: 43-40=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 33:[30, 3] Operation: 43-40=3
Exploring Operation: 43-30=13, Resulting Numbers: [40, 13]
Generated Node #0,0,1: 33:[40, 13] Operation: 43-30=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[30, 3], Operations: ['97-57=40', '43-40=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[97, 57, 43, 30], Operations: []
Exploring Operation: 97-57=40, Resulting Numbers: [43, 30, 40]
Generated Node #0,0: 33:[43, 30, 40] Operation: 97-57=40
Moving to Node #0,0
Current State: 33:[43, 30, 40], Operations: ['97-57=40']
Exploring Operation: 43-40=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 33:[30, 3] Operation: 43-40=3
Moving to Node #0,0,0
Current State: 33:[30, 3], Operations: ['97-57=40', '43-40=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
91,
58,
31,
50
] | 25 | [
"91-58=33",
"33-31=2",
"50/2=25"
] | Current State: 25:[91, 58, 31, 50], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [31, 50, 33]
Generated Node #2: [31, 50, 33] from Operation: 91-58=33
Current State: 25:[31, 50, 33], Operations: ['91-58=33']
Exploring Operation: 33-31=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 33-31=2
Current State: 25:[50, 2], Operations: ['91-58=33', '33-31=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[91, 58, 31, 50], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [91, 31, 8]
Generated Node #0,0: 25:[91, 31, 8] Operation: 58-50=8
Exploring Operation: 91-58=33, Resulting Numbers: [31, 50, 33]
Generated Node #0,1: 25:[31, 50, 33] Operation: 91-58=33
Exploring Operation: 91-50=41, Resulting Numbers: [58, 31, 41]
Generated Node #0,2: 25:[58, 31, 41] Operation: 91-50=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[31, 50, 33], Operations: ['91-58=33']
Exploring Operation: 50-33=17, Resulting Numbers: [31, 17]
Generated Node #0,1,0: 25:[31, 17] Operation: 50-33=17
Exploring Operation: 33-31=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 25:[50, 2] Operation: 33-31=2
Exploring Operation: 50-31=19, Resulting Numbers: [33, 19]
Generated Node #0,1,2: 25:[33, 19] Operation: 50-31=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[31, 17], Operations: ['91-58=33', '50-33=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,25 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No 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: 25:[33, 19], Operations: ['91-58=33', '50-31=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,25 unequal: No Solution
No 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: 25:[50, 2], Operations: ['91-58=33', '33-31=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[91, 58, 31, 50], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [31, 50, 33]
Generated Node #0,1: 25:[31, 50, 33] Operation: 91-58=33
Moving to Node #0,1
Current State: 25:[31, 50, 33], Operations: ['91-58=33']
Exploring Operation: 33-31=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 25:[50, 2] Operation: 33-31=2
Moving to Node #0,1,1
Current State: 25:[50, 2], Operations: ['91-58=33', '33-31=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
33,
3,
95,
81
] | 16 | [
"33-3=30",
"95-81=14",
"30-14=16"
] | Current State: 16:[33, 3, 95, 81], Operations: []
Exploring Operation: 33-3=30, Resulting Numbers: [95, 81, 30]
Generated Node #2: [95, 81, 30] from Operation: 33-3=30
Current State: 16:[95, 81, 30], Operations: ['33-3=30']
Exploring Operation: 95-81=14, Resulting Numbers: [30, 14]
Generated Node #3: [30, 14] from Operation: 95-81=14
Current State: 16:[30, 14], Operations: ['33-3=30', '95-81=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[33, 3, 95, 81], Operations: []
Exploring Operation: 95-33=62, Resulting Numbers: [3, 81, 62]
Generated Node #0,0: 16:[3, 81, 62] Operation: 95-33=62
Exploring Operation: 95-81=14, Resulting Numbers: [33, 3, 14]
Generated Node #0,1: 16:[33, 3, 14] Operation: 95-81=14
Exploring Operation: 81/3=27, Resulting Numbers: [33, 95, 27]
Generated Node #0,2: 16:[33, 95, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[33, 3, 14], Operations: ['95-81=14']
Exploring Operation: 33-3=30, Resulting Numbers: [14, 30]
Generated Node #0,1,0: 16:[14, 30] Operation: 33-3=30
Exploring Operation: 33-14=19, Resulting Numbers: [3, 19]
Generated Node #0,1,1: 16:[3, 19] Operation: 33-14=19
Exploring Operation: 33/3=11, Resulting Numbers: [14, 11]
Generated Node #0,1,2: 16:[14, 11] Operation: 33/3=11
Moving to Node #0,1,1
Current State: 16:[3, 19], Operations: ['95-81=14', '33-14=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[33, 3, 95, 81], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [33, 3, 14]
Generated Node #0,1: 16:[33, 3, 14] Operation: 95-81=14
Moving to Node #0,1
Current State: 16:[33, 3, 14], Operations: ['95-81=14']
Exploring Operation: 33-14=19, Resulting Numbers: [3, 19]
Generated Node #0,1,1: 16:[3, 19] Operation: 33-14=19
Moving to Node #0,1,1
Current State: 16:[3, 19], Operations: ['95-81=14', '33-14=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
21,
23,
16,
27
] | 26 | [
"21+27=48",
"48/16=3",
"23+3=26"
] | Current State: 26:[21, 23, 16, 27], Operations: []
Exploring Operation: 21+27=48, Resulting Numbers: [23, 16, 48]
Generated Node #2: [23, 16, 48] from Operation: 21+27=48
Current State: 26:[23, 16, 48], Operations: ['21+27=48']
Exploring Operation: 48/16=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 48/16=3
Current State: 26:[23, 3], Operations: ['21+27=48', '48/16=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[21, 23, 16, 27], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [16, 27, 2]
Generated Node #0,0: 26:[16, 27, 2] Operation: 23-21=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[16, 27, 2], Operations: ['23-21=2']
Exploring Operation: 27-16=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 26:[2, 11] Operation: 27-16=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[2, 11], Operations: ['23-21=2', '27-16=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
14,
3,
5
] | 88 | [
"72+14=86",
"5-3=2",
"86+2=88"
] | Current State: 88:[72, 14, 3, 5], Operations: []
Exploring Operation: 72+14=86, Resulting Numbers: [3, 5, 86]
Generated Node #2: [3, 5, 86] from Operation: 72+14=86
Current State: 88:[3, 5, 86], Operations: ['72+14=86']
Exploring Operation: 5-3=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 5-3=2
Current State: 88:[86, 2], Operations: ['72+14=86', '5-3=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[72, 14, 3, 5], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [14, 5, 24]
Generated Node #0,0: 88:[14, 5, 24] Operation: 72/3=24
Exploring Operation: 72+5=77, Resulting Numbers: [14, 3, 77]
Generated Node #0,1: 88:[14, 3, 77] Operation: 72+5=77
Exploring Operation: 72-14=58, Resulting Numbers: [3, 5, 58]
Generated Node #0,2: 88:[3, 5, 58] Operation: 72-14=58
Exploring Operation: 72+14=86, Resulting Numbers: [3, 5, 86]
Generated Node #0,3: 88:[3, 5, 86] Operation: 72+14=86
Moving to Node #0,3
Current State: 88:[3, 5, 86], Operations: ['72+14=86']
Exploring Operation: 3+86=89, Resulting Numbers: [5, 89]
Generated Node #0,3,0: 88:[5, 89] Operation: 3+86=89
Exploring Operation: 3+5=8, Resulting Numbers: [86, 8]
Generated Node #0,3,1: 88:[86, 8] Operation: 3+5=8
Exploring Operation: 5-3=2, Resulting Numbers: [86, 2]
Generated Node #0,3,2: 88:[86, 2] Operation: 5-3=2
Exploring Operation: 5+86=91, Resulting Numbers: [3, 91]
Generated Node #0,3,3: 88:[3, 91] Operation: 5+86=91
Moving to Node #0,0
Current State: 88:[14, 5, 24], Operations: ['72/3=24']
Exploring Operation: 14+5=19, Resulting Numbers: [24, 19]
Generated Node #0,0,0: 88:[24, 19] Operation: 14+5=19
Exploring Operation: 14-5=9, Resulting Numbers: [24, 9]
Generated Node #0,0,1: 88:[24, 9] Operation: 14-5=9
Exploring Operation: 24-5=19, Resulting Numbers: [14, 19]
Generated Node #0,0,2: 88:[14, 19] Operation: 24-5=19
Exploring Operation: 24-14=10, Resulting Numbers: [5, 10]
Generated Node #0,0,3: 88:[5, 10] Operation: 24-14=10
Moving to Node #0,1
Current State: 88:[14, 3, 77], Operations: ['72+5=77']
Exploring Operation: 3+77=80, Resulting Numbers: [14, 80]
Generated Node #0,1,0: 88:[14, 80] Operation: 3+77=80
Exploring Operation: 14*3=42, Resulting Numbers: [77, 42]
Generated Node #0,1,1: 88:[77, 42] Operation: 14*3=42
Exploring Operation: 14-3=11, Resulting Numbers: [77, 11]
Generated Node #0,1,2: 88:[77, 11] Operation: 14-3=11
Exploring Operation: 14+77=91, Resulting Numbers: [3, 91]
Generated Node #0,1,3: 88:[3, 91] Operation: 14+77=91
Moving to Node #0,2
Current State: 88:[3, 5, 58], Operations: ['72-14=58']
Exploring Operation: 5-3=2, Resulting Numbers: [58, 2]
Generated Node #0,2,0: 88:[58, 2] Operation: 5-3=2
Exploring Operation: 58-3=55, Resulting Numbers: [5, 55]
Generated Node #0,2,1: 88:[5, 55] Operation: 58-3=55
Exploring Operation: 3+5=8, Resulting Numbers: [58, 8]
Generated Node #0,2,2: 88:[58, 8] Operation: 3+5=8
Exploring Operation: 58-5=53, Resulting Numbers: [3, 53]
Generated Node #0,2,3: 88:[3, 53] Operation: 58-5=53
Moving to Node #0,3,0
Current State: 88:[5, 89], Operations: ['72+14=86', '3+86=89']
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 5*89=445, Resulting Numbers: [445]
445,88 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[86, 2], Operations: ['72+14=86', '5-3=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[72, 14, 3, 5], Operations: []
Exploring Operation: 72+14=86, Resulting Numbers: [3, 5, 86]
Generated Node #0,3: 88:[3, 5, 86] Operation: 72+14=86
Moving to Node #0,3
Current State: 88:[3, 5, 86], Operations: ['72+14=86']
Exploring Operation: 5-3=2, Resulting Numbers: [86, 2]
Generated Node #0,3,2: 88:[86, 2] Operation: 5-3=2
Moving to Node #0,3,2
Current State: 88:[86, 2], Operations: ['72+14=86', '5-3=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.974826 | hs_4 | sum_heuristic |
[
9,
49,
53,
34
] | 100 | [
"34-9=25",
"53-49=4",
"25*4=100"
] | Current State: 100:[9, 49, 53, 34], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [49, 53, 25]
Generated Node #2: [49, 53, 25] from Operation: 34-9=25
Current State: 100:[49, 53, 25], Operations: ['34-9=25']
Exploring Operation: 53-49=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 53-49=4
Current State: 100:[25, 4], Operations: ['34-9=25', '53-49=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[9, 49, 53, 34], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [49, 53, 25]
Generated Node #0,0: 100:[49, 53, 25] Operation: 34-9=25
Exploring Operation: 53-34=19, Resulting Numbers: [9, 49, 19]
Generated Node #0,1: 100:[9, 49, 19] Operation: 53-34=19
Exploring Operation: 49-34=15, Resulting Numbers: [9, 53, 15]
Generated Node #0,2: 100:[9, 53, 15] Operation: 49-34=15
Moving to Node #0,1
Current State: 100:[9, 49, 19], Operations: ['53-34=19']
Exploring Operation: 19-9=10, Resulting Numbers: [49, 10]
Generated Node #0,1,0: 100:[49, 10] Operation: 19-9=10
Exploring Operation: 9+19=28, Resulting Numbers: [49, 28]
Generated Node #0,1,1: 100:[49, 28] Operation: 9+19=28
Exploring Operation: 49-19=30, Resulting Numbers: [9, 30]
Generated Node #0,1,2: 100:[9, 30] Operation: 49-19=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[49, 10], Operations: ['53-34=19', '19-9=10']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[49, 28], Operations: ['53-34=19', '9+19=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,100 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[9, 30], Operations: ['53-34=19', '49-19=30']
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,100 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,100 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: 100:[49, 53, 25], Operations: ['34-9=25']
Exploring Operation: 53-49=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 53-49=4
Exploring Operation: 49-25=24, Resulting Numbers: [53, 24]
Generated Node #0,0,1: 100:[53, 24] Operation: 49-25=24
Exploring Operation: 49+53=102, Resulting Numbers: [25, 102]
Generated Node #0,0,2: 100:[25, 102] Operation: 49+53=102
Moving to Node #0,2
Current State: 100:[9, 53, 15], Operations: ['49-34=15']
Exploring Operation: 9+15=24, Resulting Numbers: [53, 24]
Generated Node #0,2,0: 100:[53, 24] Operation: 9+15=24
Exploring Operation: 53-9=44, Resulting Numbers: [15, 44]
Generated Node #0,2,1: 100:[15, 44] Operation: 53-9=44
Exploring Operation: 15-9=6, Resulting Numbers: [53, 6]
Generated Node #0,2,2: 100:[53, 6] Operation: 15-9=6
Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['34-9=25', '53-49=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[9, 49, 53, 34], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [49, 53, 25]
Generated Node #0,0: 100:[49, 53, 25] Operation: 34-9=25
Moving to Node #0,0
Current State: 100:[49, 53, 25], Operations: ['34-9=25']
Exploring Operation: 53-49=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 53-49=4
Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['34-9=25', '53-49=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
40,
28,
88,
38
] | 62 | [
"40-28=12",
"88-38=50",
"12+50=62"
] | Current State: 62:[40, 28, 88, 38], Operations: []
Exploring Operation: 40-28=12, Resulting Numbers: [88, 38, 12]
Generated Node #2: [88, 38, 12] from Operation: 40-28=12
Current State: 62:[88, 38, 12], Operations: ['40-28=12']
Exploring Operation: 88-38=50, Resulting Numbers: [12, 50]
Generated Node #3: [12, 50] from Operation: 88-38=50
Current State: 62:[12, 50], Operations: ['40-28=12', '88-38=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[40, 28, 88, 38], Operations: []
Exploring Operation: 88-28=60, Resulting Numbers: [40, 38, 60]
Generated Node #0,0: 62:[40, 38, 60] Operation: 88-28=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[40, 38, 60], Operations: ['88-28=60']
Exploring Operation: 40-38=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 62:[60, 2] Operation: 40-38=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[60, 2], Operations: ['88-28=60', '40-38=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[40, 28, 88, 38], Operations: []
Exploring Operation: 88-28=60, Resulting Numbers: [40, 38, 60]
Generated Node #0,0: 62:[40, 38, 60] Operation: 88-28=60
Moving to Node #0,0
Current State: 62:[40, 38, 60], Operations: ['88-28=60']
Exploring Operation: 40-38=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 62:[60, 2] Operation: 40-38=2
Moving to Node #0,0,0
Current State: 62:[60, 2], Operations: ['88-28=60', '40-38=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
65,
77,
33
] | 64 | [
"65-45=20",
"77-33=44",
"20+44=64"
] | Current State: 64:[45, 65, 77, 33], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [77, 33, 20]
Generated Node #2: [77, 33, 20] from Operation: 65-45=20
Current State: 64:[77, 33, 20], Operations: ['65-45=20']
Exploring Operation: 77-33=44, Resulting Numbers: [20, 44]
Generated Node #3: [20, 44] from Operation: 77-33=44
Current State: 64:[20, 44], Operations: ['65-45=20', '77-33=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[45, 65, 77, 33], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [65, 77, 12]
Generated Node #0,0: 64:[65, 77, 12] Operation: 45-33=12
Exploring Operation: 65-45=20, Resulting Numbers: [77, 33, 20]
Generated Node #0,1: 64:[77, 33, 20] Operation: 65-45=20
Exploring Operation: 77-45=32, Resulting Numbers: [65, 33, 32]
Generated Node #0,2: 64:[65, 33, 32] Operation: 77-45=32
Moving to Node #0,2
Current State: 64:[65, 33, 32], Operations: ['77-45=32']
Exploring Operation: 65-33=32, Resulting Numbers: [32, 32]
Generated Node #0,2,0: 64:[32, 32] Operation: 65-33=32
Exploring Operation: 33+32=65, Resulting Numbers: [65, 65]
Generated Node #0,2,1: 64:[65, 65] Operation: 33+32=65
Exploring Operation: 65-32=33, Resulting Numbers: [33, 33]
Generated Node #0,2,2: 64:[33, 33] Operation: 65-32=33
Moving to Node #0,0
Current State: 64:[65, 77, 12], Operations: ['45-33=12']
Exploring Operation: 77-65=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 64:[12, 12] Operation: 77-65=12
Exploring Operation: 77-12=65, Resulting Numbers: [65, 65]
Generated Node #0,0,1: 64:[65, 65] Operation: 77-12=65
Exploring Operation: 65-12=53, Resulting Numbers: [77, 53]
Generated Node #0,0,2: 64:[77, 53] Operation: 65-12=53
Moving to Node #0,1
Current State: 64:[77, 33, 20], Operations: ['65-45=20']
Exploring Operation: 77-20=57, Resulting Numbers: [33, 57]
Generated Node #0,1,0: 64:[33, 57] Operation: 77-20=57
Exploring Operation: 77-33=44, Resulting Numbers: [20, 44]
Generated Node #0,1,1: 64:[20, 44] Operation: 77-33=44
Exploring Operation: 33-20=13, Resulting Numbers: [77, 13]
Generated Node #0,1,2: 64:[77, 13] Operation: 33-20=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[33, 57], Operations: ['65-45=20', '77-20=57']
Exploring Operation: 33*57=1881, Resulting Numbers: [1881]
1881,64 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,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,1,1
Current State: 64:[20, 44], Operations: ['65-45=20', '77-33=44']
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,64 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[45, 65, 77, 33], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [77, 33, 20]
Generated Node #0,1: 64:[77, 33, 20] Operation: 65-45=20
Moving to Node #0,1
Current State: 64:[77, 33, 20], Operations: ['65-45=20']
Exploring Operation: 77-33=44, Resulting Numbers: [20, 44]
Generated Node #0,1,1: 64:[20, 44] Operation: 77-33=44
Moving to Node #0,1,1
Current State: 64:[20, 44], Operations: ['65-45=20', '77-33=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | mult_heuristic |
[
40,
9,
91,
5
] | 28 | [
"40+9=49",
"91+49=140",
"140/5=28"
] | Current State: 28:[40, 9, 91, 5], Operations: []
Exploring Operation: 40+9=49, Resulting Numbers: [91, 5, 49]
Generated Node #2: [91, 5, 49] from Operation: 40+9=49
Current State: 28:[91, 5, 49], Operations: ['40+9=49']
Exploring Operation: 91+49=140, Resulting Numbers: [5, 140]
Generated Node #3: [5, 140] from Operation: 91+49=140
Current State: 28:[5, 140], Operations: ['40+9=49', '91+49=140']
Exploring Operation: 140/5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[40, 9, 91, 5], Operations: []
Exploring Operation: 91-9=82, Resulting Numbers: [40, 5, 82]
Generated Node #0,0: 28:[40, 5, 82] Operation: 91-9=82
Exploring Operation: 91-40=51, Resulting Numbers: [9, 5, 51]
Generated Node #0,1: 28:[9, 5, 51] Operation: 91-40=51
Exploring Operation: 40/5=8, Resulting Numbers: [9, 91, 8]
Generated Node #0,2: 28:[9, 91, 8] Operation: 40/5=8
Exploring Operation: 40-9=31, Resulting Numbers: [91, 5, 31]
Generated Node #0,3: 28:[91, 5, 31] Operation: 40-9=31
Moving to Node #0,1
Current State: 28:[9, 5, 51], Operations: ['91-40=51']
Exploring Operation: 51-9=42, Resulting Numbers: [5, 42]
Generated Node #0,1,0: 28:[5, 42] Operation: 51-9=42
Exploring Operation: 51-5=46, Resulting Numbers: [9, 46]
Generated Node #0,1,1: 28:[9, 46] Operation: 51-5=46
Exploring Operation: 9-5=4, Resulting Numbers: [51, 4]
Generated Node #0,1,2: 28:[51, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [51, 14]
Generated Node #0,1,3: 28:[51, 14] Operation: 9+5=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[5, 42], Operations: ['91-40=51', '51-9=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,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:[9, 46], Operations: ['91-40=51', '51-5=46']
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,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:[51, 4], Operations: ['91-40=51', '9-5=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,28 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,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:[51, 14], Operations: ['91-40=51', '9+5=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,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:[9, 91, 8], Operations: ['40/5=8']
Exploring Operation: 9-8=1, Resulting Numbers: [91, 1]
Generated Node #0,2,0: 28:[91, 1] Operation: 9-8=1
Exploring Operation: 91-9=82, Resulting Numbers: [8, 82]
Generated Node #0,2,1: 28:[8, 82] Operation: 91-9=82
Exploring Operation: 9+8=17, Resulting Numbers: [91, 17]
Generated Node #0,2,2: 28:[91, 17] Operation: 9+8=17
Exploring Operation: 91-8=83, Resulting Numbers: [9, 83]
Generated Node #0,2,3: 28:[9, 83] Operation: 91-8=83
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[8, 82], Operations: ['40/5=8', '91-9=82']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,28 unequal: No Solution
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[9, 83], Operations: ['40/5=8', '91-8=83']
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Exploring Operation: 9*83=747, Resulting Numbers: [747]
747,28 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[91, 1], Operations: ['40/5=8', '9-8=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,28 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,28 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[91, 17], Operations: ['40/5=8', '9+8=17']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,28 unequal: No Solution
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,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:[91, 5, 31], Operations: ['40-9=31']
Exploring Operation: 31-5=26, Resulting Numbers: [91, 26]
Generated Node #0,3,0: 28:[91, 26] Operation: 31-5=26
Exploring Operation: 91-5=86, Resulting Numbers: [31, 86]
Generated Node #0,3,1: 28:[31, 86] Operation: 91-5=86
Exploring Operation: 91+5=96, Resulting Numbers: [31, 96]
Generated Node #0,3,2: 28:[31, 96] Operation: 91+5=96
Exploring Operation: 91-31=60, Resulting Numbers: [5, 60]
Generated Node #0,3,3: 28:[5, 60] Operation: 91-31=60
Moving to Node #0,0
Current State: 28:[40, 5, 82], Operations: ['91-9=82']
Exploring Operation: 40/5=8, Resulting Numbers: [82, 8]
Generated Node #0,0,0: 28:[82, 8] Operation: 40/5=8
Exploring Operation: 82-40=42, Resulting Numbers: [5, 42]
Generated Node #0,0,1: 28:[5, 42] Operation: 82-40=42
Exploring Operation: 82-5=77, Resulting Numbers: [40, 77]
Generated Node #0,0,2: 28:[40, 77] Operation: 82-5=77
Exploring Operation: 40-5=35, Resulting Numbers: [82, 35]
Generated Node #0,0,3: 28:[82, 35] Operation: 40-5=35
Moving to Node #0,0,1
Current State: 28:[5, 42], Operations: ['91-9=82', '82-40=42']
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,28 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[5, 60], Operations: ['40-9=31', '91-31=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,28 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[82, 8], Operations: ['91-9=82', '40/5=8']
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[40, 77], Operations: ['91-9=82', '82-5=77']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,28 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[31, 86], Operations: ['40-9=31', '91-5=86']
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,28 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[82, 35], Operations: ['91-9=82', '40-5=35']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,28 unequal: No Solution
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[91, 26], Operations: ['40-9=31', '31-5=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,28 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,28 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[31, 96], Operations: ['40-9=31', '91+5=96']
Exploring Operation: 31*96=2976, Resulting Numbers: [2976]
2976,28 unequal: No Solution
Exploring Operation: 31+96=127, Resulting Numbers: [127]
127,28 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,28 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
77,
24,
30,
62
] | 90 | [
"77-62=15",
"30-24=6",
"15*6=90"
] | Current State: 90:[77, 24, 30, 62], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [24, 30, 15]
Generated Node #2: [24, 30, 15] from Operation: 77-62=15
Current State: 90:[24, 30, 15], Operations: ['77-62=15']
Exploring Operation: 30-24=6, Resulting Numbers: [15, 6]
Generated Node #3: [15, 6] from Operation: 30-24=6
Current State: 90:[15, 6], Operations: ['77-62=15', '30-24=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[77, 24, 30, 62], Operations: []
Exploring Operation: 62-24=38, Resulting Numbers: [77, 30, 38]
Generated Node #0,0: 90:[77, 30, 38] Operation: 62-24=38
Exploring Operation: 24+62=86, Resulting Numbers: [77, 30, 86]
Generated Node #0,1: 90:[77, 30, 86] Operation: 24+62=86
Exploring Operation: 77-62=15, Resulting Numbers: [24, 30, 15]
Generated Node #0,2: 90:[24, 30, 15] Operation: 77-62=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[24, 30, 15], Operations: ['77-62=15']
Exploring Operation: 24+15=39, Resulting Numbers: [30, 39]
Generated Node #0,2,0: 90:[30, 39] Operation: 24+15=39
Exploring Operation: 24-15=9, Resulting Numbers: [30, 9]
Generated Node #0,2,1: 90:[30, 9] Operation: 24-15=9
Exploring Operation: 30-24=6, Resulting Numbers: [15, 6]
Generated Node #0,2,2: 90:[15, 6] Operation: 30-24=6
Moving to Node #0,2,1
Current State: 90:[30, 9], Operations: ['77-62=15', '24-15=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[15, 6], Operations: ['77-62=15', '30-24=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[77, 24, 30, 62], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [24, 30, 15]
Generated Node #0,2: 90:[24, 30, 15] Operation: 77-62=15
Moving to Node #0,2
Current State: 90:[24, 30, 15], Operations: ['77-62=15']
Exploring Operation: 30-24=6, Resulting Numbers: [15, 6]
Generated Node #0,2,2: 90:[15, 6] Operation: 30-24=6
Moving to Node #0,2,2
Current State: 90:[15, 6], Operations: ['77-62=15', '30-24=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
86,
27,
10,
70
] | 12 | [
"70-27=43",
"86/43=2",
"10+2=12"
] | Current State: 12:[86, 27, 10, 70], Operations: []
Exploring Operation: 70-27=43, Resulting Numbers: [86, 10, 43]
Generated Node #2: [86, 10, 43] from Operation: 70-27=43
Current State: 12:[86, 10, 43], Operations: ['70-27=43']
Exploring Operation: 86/43=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 86/43=2
Current State: 12:[10, 2], Operations: ['70-27=43', '86/43=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[86, 27, 10, 70], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [27, 10, 16]
Generated Node #0,0: 12:[27, 10, 16] Operation: 86-70=16
Exploring Operation: 86-27=59, Resulting Numbers: [10, 70, 59]
Generated Node #0,1: 12:[10, 70, 59] Operation: 86-27=59
Exploring Operation: 70/10=7, Resulting Numbers: [86, 27, 7]
Generated Node #0,2: 12:[86, 27, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 12:[27, 10, 16], Operations: ['86-70=16']
Exploring Operation: 27-10=17, Resulting Numbers: [16, 17]
Generated Node #0,0,0: 12:[16, 17] Operation: 27-10=17
Exploring Operation: 27-16=11, Resulting Numbers: [10, 11]
Generated Node #0,0,1: 12:[10, 11] Operation: 27-16=11
Exploring Operation: 16-10=6, Resulting Numbers: [27, 6]
Generated Node #0,0,2: 12:[27, 6] Operation: 16-10=6
Moving to Node #0,2
Current State: 12:[86, 27, 7], Operations: ['70/10=7']
Exploring Operation: 86-27=59, Resulting Numbers: [7, 59]
Generated Node #0,2,0: 12:[7, 59] Operation: 86-27=59
Exploring Operation: 86-7=79, Resulting Numbers: [27, 79]
Generated Node #0,2,1: 12:[27, 79] Operation: 86-7=79
Exploring Operation: 27-7=20, Resulting Numbers: [86, 20]
Generated Node #0,2,2: 12:[86, 20] Operation: 27-7=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[7, 59], Operations: ['70/10=7', '86-27=59']
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,12 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,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,2,1
Current State: 12:[27, 79], Operations: ['70/10=7', '86-7=79']
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 27+79=106, Resulting Numbers: [106]
106,12 unequal: No Solution
Exploring Operation: 27*79=2133, Resulting Numbers: [2133]
2133,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,2,2
Current State: 12:[86, 20], Operations: ['70/10=7', '27-7=20']
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,12 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,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:[10, 70, 59], Operations: ['86-27=59']
Exploring Operation: 70/10=7, Resulting Numbers: [59, 7]
Generated Node #0,1,0: 12:[59, 7] Operation: 70/10=7
Exploring Operation: 70-59=11, Resulting Numbers: [10, 11]
Generated Node #0,1,1: 12:[10, 11] Operation: 70-59=11
Exploring Operation: 70-10=60, Resulting Numbers: [59, 60]
Generated Node #0,1,2: 12:[59, 60] Operation: 70-10=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[10, 11], Operations: ['86-27=59', '70-59=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,12 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[59, 7], Operations: ['86-27=59', '70/10=7']
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,12 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,12 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[59, 60], Operations: ['86-27=59', '70-10=60']
Exploring Operation: 59+60=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 59*60=3540, Resulting Numbers: [3540]
3540,12 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 12:[10, 11], Operations: ['86-70=16', '27-16=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[16, 17], Operations: ['86-70=16', '27-10=17']
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[27, 6], Operations: ['86-70=16', '16-10=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,12 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,12 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
81,
25,
13,
14
] | 76 | [
"81+25=106",
"13*14=182",
"182-106=76"
] | Current State: 76:[81, 25, 13, 14], Operations: []
Exploring Operation: 81+25=106, Resulting Numbers: [13, 14, 106]
Generated Node #2: [13, 14, 106] from Operation: 81+25=106
Current State: 76:[13, 14, 106], Operations: ['81+25=106']
Exploring Operation: 13*14=182, Resulting Numbers: [106, 182]
Generated Node #3: [106, 182] from Operation: 13*14=182
Current State: 76:[106, 182], Operations: ['81+25=106', '13*14=182']
Exploring Operation: 182-106=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[81, 25, 13, 14], Operations: []
Exploring Operation: 25+13=38, Resulting Numbers: [81, 14, 38]
Generated Node #0,0: 76:[81, 14, 38] Operation: 25+13=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[81, 14, 38], Operations: ['25+13=38']
Exploring Operation: 81-14=67, Resulting Numbers: [38, 67]
Generated Node #0,0,0: 76:[38, 67] Operation: 81-14=67
Moving to Node #0,0,0
Current State: 76:[38, 67], Operations: ['25+13=38', '81-14=67']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
28,
55,
96
] | 67 | [
"96/6=16",
"28+55=83",
"83-16=67"
] | Current State: 67:[6, 28, 55, 96], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [28, 55, 16]
Generated Node #2: [28, 55, 16] from Operation: 96/6=16
Current State: 67:[28, 55, 16], Operations: ['96/6=16']
Exploring Operation: 28+55=83, Resulting Numbers: [16, 83]
Generated Node #3: [16, 83] from Operation: 28+55=83
Current State: 67:[16, 83], Operations: ['96/6=16', '28+55=83']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[6, 28, 55, 96], Operations: []
Exploring Operation: 6+55=61, Resulting Numbers: [28, 96, 61]
Generated Node #0,0: 67:[28, 96, 61] Operation: 6+55=61
Exploring Operation: 6+28=34, Resulting Numbers: [55, 96, 34]
Generated Node #0,1: 67:[55, 96, 34] Operation: 6+28=34
Exploring Operation: 96-28=68, Resulting Numbers: [6, 55, 68]
Generated Node #0,2: 67:[6, 55, 68] Operation: 96-28=68
Exploring Operation: 96-6=90, Resulting Numbers: [28, 55, 90]
Generated Node #0,3: 67:[28, 55, 90] Operation: 96-6=90
Moving to Node #0,0
Current State: 67:[28, 96, 61], Operations: ['6+55=61']
Exploring Operation: 61-28=33, Resulting Numbers: [96, 33]
Generated Node #0,0,0: 67:[96, 33] Operation: 61-28=33
Exploring Operation: 96-28=68, Resulting Numbers: [61, 68]
Generated Node #0,0,1: 67:[61, 68] Operation: 96-28=68
Exploring Operation: 28+96=124, Resulting Numbers: [61, 124]
Generated Node #0,0,2: 67:[61, 124] Operation: 28+96=124
Exploring Operation: 28+61=89, Resulting Numbers: [96, 89]
Generated Node #0,0,3: 67:[96, 89] Operation: 28+61=89
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[61, 68], Operations: ['6+55=61', '96-28=68']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 61+68=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 61*68=4148, Resulting Numbers: [4148]
4148,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[96, 89], Operations: ['6+55=61', '28+61=89']
Exploring Operation: 96+89=185, Resulting Numbers: [185]
185,67 unequal: No Solution
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 96*89=8544, Resulting Numbers: [8544]
8544,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[96, 33], Operations: ['6+55=61', '61-28=33']
Exploring Operation: 96+33=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 96*33=3168, Resulting Numbers: [3168]
3168,67 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[61, 124], Operations: ['6+55=61', '28+96=124']
Exploring Operation: 61*124=7564, Resulting Numbers: [7564]
7564,67 unequal: No Solution
Exploring Operation: 124-61=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 61+124=185, Resulting Numbers: [185]
185,67 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: 67:[6, 55, 68], Operations: ['96-28=68']
Exploring Operation: 6+55=61, Resulting Numbers: [68, 61]
Generated Node #0,2,0: 67:[68, 61] Operation: 6+55=61
Exploring Operation: 6+68=74, Resulting Numbers: [55, 74]
Generated Node #0,2,1: 67:[55, 74] Operation: 6+68=74
Exploring Operation: 68-6=62, Resulting Numbers: [55, 62]
Generated Node #0,2,2: 67:[55, 62] Operation: 68-6=62
Exploring Operation: 55-6=49, Resulting Numbers: [68, 49]
Generated Node #0,2,3: 67:[68, 49] Operation: 55-6=49
Moving to Node #0,1
Current State: 67:[55, 96, 34], Operations: ['6+28=34']
Exploring Operation: 96-55=41, Resulting Numbers: [34, 41]
Generated Node #0,1,0: 67:[34, 41] Operation: 96-55=41
Exploring Operation: 55+34=89, Resulting Numbers: [96, 89]
Generated Node #0,1,1: 67:[96, 89] Operation: 55+34=89
Exploring Operation: 96-34=62, Resulting Numbers: [55, 62]
Generated Node #0,1,2: 67:[55, 62] Operation: 96-34=62
Exploring Operation: 55-34=21, Resulting Numbers: [96, 21]
Generated Node #0,1,3: 67:[96, 21] Operation: 55-34=21
Moving to Node #0,3
Current State: 67:[28, 55, 90], Operations: ['96-6=90']
Exploring Operation: 90-28=62, Resulting Numbers: [55, 62]
Generated Node #0,3,0: 67:[55, 62] Operation: 90-28=62
Exploring Operation: 55-28=27, Resulting Numbers: [90, 27]
Generated Node #0,3,1: 67:[90, 27] Operation: 55-28=27
Exploring Operation: 28+90=118, Resulting Numbers: [55, 118]
Generated Node #0,3,2: 67:[55, 118] Operation: 28+90=118
Exploring Operation: 28+55=83, Resulting Numbers: [90, 83]
Generated Node #0,3,3: 67:[90, 83] Operation: 28+55=83
Moving to Node #0,2,0
Current State: 67:[68, 61], Operations: ['96-28=68', '6+55=61']
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,67 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[55, 62], Operations: ['96-28=68', '68-6=62']
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 55+62=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 55*62=3410, Resulting Numbers: [3410]
3410,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[55, 62], Operations: ['6+28=34', '96-34=62']
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 55*62=3410, Resulting Numbers: [3410]
3410,67 unequal: No Solution
Exploring Operation: 55+62=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[55, 62], Operations: ['96-6=90', '90-28=62']
Exploring Operation: 55+62=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 55*62=3410, Resulting Numbers: [3410]
3410,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[55, 74], Operations: ['96-28=68', '6+68=74']
Exploring Operation: 55*74=4070, Resulting Numbers: [4070]
4070,67 unequal: No Solution
Exploring Operation: 55+74=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[68, 49], Operations: ['96-28=68', '55-6=49']
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 68*49=3332, Resulting Numbers: [3332]
3332,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[90, 83], Operations: ['96-6=90', '28+55=83']
Exploring Operation: 90*83=7470, Resulting Numbers: [7470]
7470,67 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 90+83=173, Resulting Numbers: [173]
173,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[96, 89], Operations: ['6+28=34', '55+34=89']
Exploring Operation: 96+89=185, Resulting Numbers: [185]
185,67 unequal: No Solution
Exploring Operation: 96*89=8544, Resulting Numbers: [8544]
8544,67 unequal: No Solution
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[34, 41], Operations: ['6+28=34', '96-55=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,67 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[55, 118], Operations: ['96-6=90', '28+90=118']
Exploring Operation: 118-55=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 55+118=173, Resulting Numbers: [173]
173,67 unequal: No Solution
Exploring Operation: 55*118=6490, Resulting Numbers: [6490]
6490,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[90, 27], Operations: ['96-6=90', '55-28=27']
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[96, 21], Operations: ['6+28=34', '55-34=21']
Exploring Operation: 96*21=2016, Resulting Numbers: [2016]
2016,67 unequal: No Solution
Exploring Operation: 96+21=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,67 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
70,
70,
15
] | 85 | [
"70*70=4900",
"4900/49=100",
"100-15=85"
] | Current State: 85:[49, 70, 70, 15], Operations: []
Exploring Operation: 70*70=4900, Resulting Numbers: [49, 15, 4900]
Generated Node #2: [49, 15, 4900] from Operation: 70*70=4900
Current State: 85:[49, 15, 4900], Operations: ['70*70=4900']
Exploring Operation: 4900/49=100, Resulting Numbers: [15, 100]
Generated Node #3: [15, 100] from Operation: 4900/49=100
Current State: 85:[15, 100], Operations: ['70*70=4900', '4900/49=100']
Exploring Operation: 100-15=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[49, 70, 70, 15], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [49, 15, 1]
Generated Node #0,0: 85:[49, 15, 1] Operation: 70/70=1
Exploring Operation: 49-15=34, Resulting Numbers: [70, 70, 34]
Generated Node #0,1: 85:[70, 70, 34] Operation: 49-15=34
Exploring Operation: 70-70=0, Resulting Numbers: [49, 15, 0]
Generated Node #0,2: 85:[49, 15, 0] Operation: 70-70=0
Exploring Operation: 70-49=21, Resulting Numbers: [70, 15, 21]
Generated Node #0,3: 85:[70, 15, 21] Operation: 70-49=21
Exploring Operation: 70-49=21, Resulting Numbers: [70, 15, 21]
Generated Node #0,4: 85:[70, 15, 21] Operation: 70-49=21
Moving to Node #0,3
Current State: 85:[70, 15, 21], Operations: ['70-49=21']
Exploring Operation: 70+15=85, Resulting Numbers: [21, 85]
Generated Node #0,3,0: 85:[21, 85] Operation: 70+15=85
Exploring Operation: 21-15=6, Resulting Numbers: [70, 6]
Generated Node #0,3,1: 85:[70, 6] Operation: 21-15=6
Exploring Operation: 70+21=91, Resulting Numbers: [15, 91]
Generated Node #0,3,2: 85:[15, 91] Operation: 70+21=91
Exploring Operation: 70-21=49, Resulting Numbers: [15, 49]
Generated Node #0,3,3: 85:[15, 49] Operation: 70-21=49
Exploring Operation: 70-15=55, Resulting Numbers: [21, 55]
Generated Node #0,3,4: 85:[21, 55] Operation: 70-15=55
Moving to Node #0,4
Current State: 85:[70, 15, 21], Operations: ['70-49=21']
Exploring Operation: 70-15=55, Resulting Numbers: [21, 55]
Generated Node #0,4,0: 85:[21, 55] Operation: 70-15=55
Exploring Operation: 70-21=49, Resulting Numbers: [15, 49]
Generated Node #0,4,1: 85:[15, 49] Operation: 70-21=49
Exploring Operation: 21-15=6, Resulting Numbers: [70, 6]
Generated Node #0,4,2: 85:[70, 6] Operation: 21-15=6
Exploring Operation: 70+15=85, Resulting Numbers: [21, 85]
Generated Node #0,4,3: 85:[21, 85] Operation: 70+15=85
Exploring Operation: 70+21=91, Resulting Numbers: [15, 91]
Generated Node #0,4,4: 85:[15, 91] Operation: 70+21=91
Moving to Node #0,0
Current State: 85:[49, 15, 1], Operations: ['70/70=1']
Exploring Operation: 49-15=34, Resulting Numbers: [1, 34]
Generated Node #0,0,0: 85:[1, 34] Operation: 49-15=34
Exploring Operation: 49+15=64, Resulting Numbers: [1, 64]
Generated Node #0,0,1: 85:[1, 64] Operation: 49+15=64
Exploring Operation: 15+1=16, Resulting Numbers: [49, 16]
Generated Node #0,0,2: 85:[49, 16] Operation: 15+1=16
Exploring Operation: 49*1=49, Resulting Numbers: [15, 49]
Generated Node #0,0,3: 85:[15, 49] Operation: 49*1=49
Exploring Operation: 49-1=48, Resulting Numbers: [15, 48]
Generated Node #0,0,4: 85:[15, 48] Operation: 49-1=48
Moving to Node #0,2
Current State: 85:[49, 15, 0], Operations: ['70-70=0']
Exploring Operation: 49+0=49, Resulting Numbers: [15, 49]
Generated Node #0,2,0: 85:[15, 49] Operation: 49+0=49
Exploring Operation: 49-15=34, Resulting Numbers: [0, 34]
Generated Node #0,2,1: 85:[0, 34] Operation: 49-15=34
Exploring Operation: 49+15=64, Resulting Numbers: [0, 64]
Generated Node #0,2,2: 85:[0, 64] Operation: 49+15=64
Exploring Operation: 49*0=0, Resulting Numbers: [15, 0]
Generated Node #0,2,3: 85:[15, 0] Operation: 49*0=0
Exploring Operation: 49-0=49, Resulting Numbers: [15, 49]
Generated Node #0,2,4: 85:[15, 49] Operation: 49-0=49
Moving to Node #0,1
Current State: 85:[70, 70, 34], Operations: ['49-15=34']
Exploring Operation: 70-70=0, Resulting Numbers: [34, 0]
Generated Node #0,1,0: 85:[34, 0] Operation: 70-70=0
Exploring Operation: 70+34=104, Resulting Numbers: [70, 104]
Generated Node #0,1,1: 85:[70, 104] Operation: 70+34=104
Exploring Operation: 70/70=1, Resulting Numbers: [34, 1]
Generated Node #0,1,2: 85:[34, 1] Operation: 70/70=1
Exploring Operation: 70-34=36, Resulting Numbers: [70, 36]
Generated Node #0,1,3: 85:[70, 36] Operation: 70-34=36
Exploring Operation: 70+34=104, Resulting Numbers: [70, 104]
Generated Node #0,1,4: 85:[70, 104] Operation: 70+34=104
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[34, 1], Operations: ['49-15=34', '70/70=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,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,0
Current State: 85:[34, 0], Operations: ['49-15=34', '70-70=0']
Exploring Operation: 34-0=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 34*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 34+0=34, Resulting Numbers: [34]
34,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,1
Current State: 85:[70, 104], Operations: ['49-15=34', '70+34=104']
Exploring Operation: 104-70=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 70*104=7280, Resulting Numbers: [7280]
7280,85 unequal: No Solution
Exploring Operation: 70+104=174, Resulting Numbers: [174]
174,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,3
Current State: 85:[70, 36], Operations: ['49-15=34', '70-34=36']
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,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,4
Current State: 85:[70, 104], Operations: ['49-15=34', '70+34=104']
Exploring Operation: 70+104=174, Resulting Numbers: [174]
174,85 unequal: No Solution
Exploring Operation: 70*104=7280, Resulting Numbers: [7280]
7280,85 unequal: No Solution
Exploring Operation: 104-70=34, Resulting Numbers: [34]
34,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 85:[21, 85], Operations: ['70-49=21', '70+15=85']
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 21*85=1785, Resulting Numbers: [1785]
1785,85 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,4,3
Current State: 85:[21, 85], Operations: ['70-49=21', '70+15=85']
Exploring Operation: 21*85=1785, Resulting Numbers: [1785]
1785,85 unequal: No Solution
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[15, 0], Operations: ['70-70=0', '49*0=0']
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Moving to Node #0,4,4
Current State: 85:[15, 91], Operations: ['70-49=21', '70+21=91']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,85 unequal: No Solution
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[15, 91], Operations: ['70-49=21', '70+21=91']
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,85 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[70, 6], Operations: ['70-49=21', '21-15=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,85 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,4,2
Current State: 85:[70, 6], Operations: ['70-49=21', '21-15=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,85 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[1, 34], Operations: ['70/70=1', '49-15=34']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[0, 34], Operations: ['70-70=0', '49-15=34']
Exploring Operation: 34-0=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 0*34=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 0+34=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[1, 64], Operations: ['70/70=1', '49+15=64']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[0, 64], Operations: ['70-70=0', '49+15=64']
Exploring Operation: 64-0=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 0+64=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 0*64=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Moving to Node #0,0,4
Current State: 85:[15, 48], Operations: ['70/70=1', '49-1=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[49, 16], Operations: ['70/70=1', '15+1=16']
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,85 unequal: No Solution
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Moving to Node #0,4,0
Current State: 85:[21, 55], Operations: ['70-49=21', '70-15=55']
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,85 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[15, 49], Operations: ['70-70=0', '49+0=49']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,85 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[15, 49], Operations: ['70/70=1', '49*1=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,85 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[15, 49], Operations: ['70-49=21', '70-21=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,85 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,4,1
Current State: 85:[15, 49], Operations: ['70-49=21', '70-21=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,85 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,3,4
Current State: 85:[21, 55], Operations: ['70-49=21', '70-15=55']
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[15, 49], Operations: ['70-70=0', '49-0=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,85 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
35,
90,
86
] | 28 | [
"35-28=7",
"90-86=4",
"7*4=28"
] | Current State: 28:[28, 35, 90, 86], Operations: []
Exploring Operation: 35-28=7, Resulting Numbers: [90, 86, 7]
Generated Node #2: [90, 86, 7] from Operation: 35-28=7
Current State: 28:[90, 86, 7], Operations: ['35-28=7']
Exploring Operation: 90-86=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 90-86=4
Current State: 28:[7, 4], Operations: ['35-28=7', '90-86=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[28, 35, 90, 86], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [28, 35, 4]
Generated Node #0,0: 28:[28, 35, 4] Operation: 90-86=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[28, 35, 4], Operations: ['90-86=4']
Exploring Operation: 35-28=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 28:[4, 7] Operation: 35-28=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 7], Operations: ['90-86=4', '35-28=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[28, 35, 90, 86], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [28, 35, 4]
Generated Node #0,0: 28:[28, 35, 4] Operation: 90-86=4
Moving to Node #0,0
Current State: 28:[28, 35, 4], Operations: ['90-86=4']
Exploring Operation: 35-28=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 28:[4, 7] Operation: 35-28=7
Moving to Node #0,0,0
Current State: 28:[4, 7], Operations: ['90-86=4', '35-28=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
5,
54,
55,
38
] | 81 | [
"55/5=11",
"54+38=92",
"92-11=81"
] | Current State: 81:[5, 54, 55, 38], Operations: []
Exploring Operation: 55/5=11, Resulting Numbers: [54, 38, 11]
Generated Node #2: [54, 38, 11] from Operation: 55/5=11
Current State: 81:[54, 38, 11], Operations: ['55/5=11']
Exploring Operation: 54+38=92, Resulting Numbers: [11, 92]
Generated Node #3: [11, 92] from Operation: 54+38=92
Current State: 81:[11, 92], Operations: ['55/5=11', '54+38=92']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[5, 54, 55, 38], Operations: []
Exploring Operation: 54+38=92, Resulting Numbers: [5, 55, 92]
Generated Node #0,0: 81:[5, 55, 92] Operation: 54+38=92
Exploring Operation: 55-54=1, Resulting Numbers: [5, 38, 1]
Generated Node #0,1: 81:[5, 38, 1] Operation: 55-54=1
Exploring Operation: 55-38=17, Resulting Numbers: [5, 54, 17]
Generated Node #0,2: 81:[5, 54, 17] Operation: 55-38=17
Exploring Operation: 54-38=16, Resulting Numbers: [5, 55, 16]
Generated Node #0,3: 81:[5, 55, 16] Operation: 54-38=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[5, 38, 1], Operations: ['55-54=1']
Exploring Operation: 5*1=5, Resulting Numbers: [38, 5]
Generated Node #0,1,0: 81:[38, 5] Operation: 5*1=5
Exploring Operation: 38-1=37, Resulting Numbers: [5, 37]
Generated Node #0,1,1: 81:[5, 37] Operation: 38-1=37
Exploring Operation: 5-1=4, Resulting Numbers: [38, 4]
Generated Node #0,1,2: 81:[38, 4] Operation: 5-1=4
Exploring Operation: 38-5=33, Resulting Numbers: [1, 33]
Generated Node #0,1,3: 81:[1, 33] Operation: 38-5=33
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[1, 33], Operations: ['55-54=1', '38-5=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[5, 37], Operations: ['55-54=1', '38-1=37']
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[38, 4], Operations: ['55-54=1', '5-1=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,81 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[38, 5], Operations: ['55-54=1', '5*1=5']
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,81 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,81 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[5, 55, 16], Operations: ['54-38=16']
Exploring Operation: 55-16=39, Resulting Numbers: [5, 39]
Generated Node #0,3,0: 81:[5, 39] Operation: 55-16=39
Exploring Operation: 55+16=71, Resulting Numbers: [5, 71]
Generated Node #0,3,1: 81:[5, 71] Operation: 55+16=71
Exploring Operation: 5*16=80, Resulting Numbers: [55, 80]
Generated Node #0,3,2: 81:[55, 80] Operation: 5*16=80
Exploring Operation: 55/5=11, Resulting Numbers: [16, 11]
Generated Node #0,3,3: 81:[16, 11] Operation: 55/5=11
Moving to Node #0,3,3
Current State: 81:[16, 11], Operations: ['54-38=16', '55/5=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[5, 71], Operations: ['54-38=16', '55+16=71']
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,81 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[5, 39], Operations: ['54-38=16', '55-16=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,81 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[55, 80], Operations: ['54-38=16', '5*16=80']
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 55+80=135, Resulting Numbers: [135]
135,81 unequal: No Solution
Exploring Operation: 55*80=4400, Resulting Numbers: [4400]
4400,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[5, 54, 17], Operations: ['55-38=17']
Exploring Operation: 54-17=37, Resulting Numbers: [5, 37]
Generated Node #0,2,0: 81:[5, 37] Operation: 54-17=37
Exploring Operation: 5+54=59, Resulting Numbers: [17, 59]
Generated Node #0,2,1: 81:[17, 59] Operation: 5+54=59
Exploring Operation: 54-5=49, Resulting Numbers: [17, 49]
Generated Node #0,2,2: 81:[17, 49] Operation: 54-5=49
Exploring Operation: 54+17=71, Resulting Numbers: [5, 71]
Generated Node #0,2,3: 81:[5, 71] Operation: 54+17=71
Moving to Node #0,2,0
Current State: 81:[5, 37], Operations: ['55-38=17', '54-17=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[5, 71], Operations: ['55-38=17', '54+17=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[17, 49], Operations: ['55-38=17', '54-5=49']
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[17, 59], Operations: ['55-38=17', '5+54=59']
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,81 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[5, 55, 92], Operations: ['54+38=92']
Exploring Operation: 5+55=60, Resulting Numbers: [92, 60]
Generated Node #0,0,0: 81:[92, 60] Operation: 5+55=60
Exploring Operation: 92-55=37, Resulting Numbers: [5, 37]
Generated Node #0,0,1: 81:[5, 37] Operation: 92-55=37
Exploring Operation: 55/5=11, Resulting Numbers: [92, 11]
Generated Node #0,0,2: 81:[92, 11] Operation: 55/5=11
Exploring Operation: 92-5=87, Resulting Numbers: [55, 87]
Generated Node #0,0,3: 81:[55, 87] Operation: 92-5=87
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[5, 37], Operations: ['54+38=92', '92-55=37']
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[92, 11], Operations: ['54+38=92', '55/5=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[5, 54, 55, 38], Operations: []
Exploring Operation: 54+38=92, Resulting Numbers: [5, 55, 92]
Generated Node #0,0: 81:[5, 55, 92] Operation: 54+38=92
Moving to Node #0,0
Current State: 81:[5, 55, 92], Operations: ['54+38=92']
Exploring Operation: 55/5=11, Resulting Numbers: [92, 11]
Generated Node #0,0,2: 81:[92, 11] Operation: 55/5=11
Moving to Node #0,0,2
Current State: 81:[92, 11], Operations: ['54+38=92', '55/5=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_4 | mult_heuristic |
[
18,
52,
3,
42
] | 50 | [
"18+3=21",
"42/21=2",
"52-2=50"
] | Current State: 50:[18, 52, 3, 42], Operations: []
Exploring Operation: 18+3=21, Resulting Numbers: [52, 42, 21]
Generated Node #2: [52, 42, 21] from Operation: 18+3=21
Current State: 50:[52, 42, 21], Operations: ['18+3=21']
Exploring Operation: 42/21=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 42/21=2
Current State: 50:[52, 2], Operations: ['18+3=21', '42/21=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[18, 52, 3, 42], Operations: []
Exploring Operation: 42-18=24, Resulting Numbers: [52, 3, 24]
Generated Node #0,0: 50:[52, 3, 24] Operation: 42-18=24
Moving to Node #0,0
Current State: 50:[52, 3, 24], Operations: ['42-18=24']
Exploring Operation: 52-3=49, Resulting Numbers: [24, 49]
Generated Node #0,0,0: 50:[24, 49] Operation: 52-3=49
Moving to Node #0,0,0
Current State: 50:[24, 49], Operations: ['42-18=24', '52-3=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,50 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
78,
35,
86
] | 60 | [
"38-35=3",
"78/3=26",
"86-26=60"
] | Current State: 60:[38, 78, 35, 86], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [78, 86, 3]
Generated Node #2: [78, 86, 3] from Operation: 38-35=3
Current State: 60:[78, 86, 3], Operations: ['38-35=3']
Exploring Operation: 78/3=26, Resulting Numbers: [86, 26]
Generated Node #3: [86, 26] from Operation: 78/3=26
Current State: 60:[86, 26], Operations: ['38-35=3', '78/3=26']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[38, 78, 35, 86], Operations: []
Exploring Operation: 86-38=48, Resulting Numbers: [78, 35, 48]
Generated Node #0,0: 60:[78, 35, 48] Operation: 86-38=48
Exploring Operation: 86-78=8, Resulting Numbers: [38, 35, 8]
Generated Node #0,1: 60:[38, 35, 8] Operation: 86-78=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[38, 35, 8], Operations: ['86-78=8']
Exploring Operation: 38-35=3, Resulting Numbers: [8, 3]
Generated Node #0,1,0: 60:[8, 3] Operation: 38-35=3
Exploring Operation: 38-8=30, Resulting Numbers: [35, 30]
Generated Node #0,1,1: 60:[35, 30] Operation: 38-8=30
Moving to Node #0,1,0
Current State: 60:[8, 3], Operations: ['86-78=8', '38-35=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[35, 30], Operations: ['86-78=8', '38-8=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[78, 35, 48], Operations: ['86-38=48']
Exploring Operation: 48-35=13, Resulting Numbers: [78, 13]
Generated Node #0,0,0: 60:[78, 13] Operation: 48-35=13
Exploring Operation: 78-48=30, Resulting Numbers: [35, 30]
Generated Node #0,0,1: 60:[35, 30] Operation: 78-48=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[35, 30], Operations: ['86-38=48', '78-48=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,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:[78, 13], Operations: ['86-38=48', '48-35=13']
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
87,
83,
83,
84
] | 87 | [
"83-83=0",
"84*0=0",
"87+0=87"
] | Current State: 87:[87, 83, 83, 84], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [87, 84, 0]
Generated Node #2: [87, 84, 0] from Operation: 83-83=0
Current State: 87:[87, 84, 0], Operations: ['83-83=0']
Exploring Operation: 84*0=0, Resulting Numbers: [87, 0]
Generated Node #3: [87, 0] from Operation: 84*0=0
Current State: 87:[87, 0], Operations: ['83-83=0', '84*0=0']
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[87, 83, 83, 84], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [87, 84, 1]
Generated Node #0,0: 87:[87, 84, 1] Operation: 83/83=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[87, 84, 1], Operations: ['83/83=1']
Exploring Operation: 87-84=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 87:[1, 3] Operation: 87-84=3
Moving to Node #0,0,0
Current State: 87:[1, 3], Operations: ['83/83=1', '87-84=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
47,
6,
16,
49
] | 98 | [
"49-47=2",
"6*16=96",
"2+96=98"
] | Current State: 98:[47, 6, 16, 49], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [6, 16, 2]
Generated Node #2: [6, 16, 2] from Operation: 49-47=2
Current State: 98:[6, 16, 2], Operations: ['49-47=2']
Exploring Operation: 6*16=96, Resulting Numbers: [2, 96]
Generated Node #3: [2, 96] from Operation: 6*16=96
Current State: 98:[2, 96], Operations: ['49-47=2', '6*16=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[47, 6, 16, 49], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [6, 16, 2]
Generated Node #0,0: 98:[6, 16, 2] Operation: 49-47=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[6, 16, 2], Operations: ['49-47=2']
Exploring Operation: 16-2=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 98:[6, 14] Operation: 16-2=14
Moving to Node #0,0,0
Current State: 98:[6, 14], Operations: ['49-47=2', '16-2=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,98 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 |
[
7,
78,
63,
14
] | 82 | [
"63-7=56",
"56/14=4",
"78+4=82"
] | Current State: 82:[7, 78, 63, 14], Operations: []
Exploring Operation: 63-7=56, Resulting Numbers: [78, 14, 56]
Generated Node #2: [78, 14, 56] from Operation: 63-7=56
Current State: 82:[78, 14, 56], Operations: ['63-7=56']
Exploring Operation: 56/14=4, Resulting Numbers: [78, 4]
Generated Node #3: [78, 4] from Operation: 56/14=4
Current State: 82:[78, 4], Operations: ['63-7=56', '56/14=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[7, 78, 63, 14], Operations: []
Exploring Operation: 63+14=77, Resulting Numbers: [7, 78, 77]
Generated Node #0,0: 82:[7, 78, 77] Operation: 63+14=77
Moving to Node #0,0
Current State: 82:[7, 78, 77], Operations: ['63+14=77']
Exploring Operation: 7+77=84, Resulting Numbers: [78, 84]
Generated Node #0,0,0: 82:[78, 84] Operation: 7+77=84
Moving to Node #0,0,0
Current State: 82:[78, 84], Operations: ['63+14=77', '7+77=84']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,82 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
30,
7,
11
] | 20 | [
"7/7=1",
"30-11=19",
"1+19=20"
] | Current State: 20:[7, 30, 7, 11], Operations: []
Exploring Operation: 7/7=1, Resulting Numbers: [30, 11, 1]
Generated Node #2: [30, 11, 1] from Operation: 7/7=1
Current State: 20:[30, 11, 1], Operations: ['7/7=1']
Exploring Operation: 30-11=19, Resulting Numbers: [1, 19]
Generated Node #3: [1, 19] from Operation: 30-11=19
Current State: 20:[1, 19], Operations: ['7/7=1', '30-11=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[7, 30, 7, 11], Operations: []
Exploring Operation: 30-7=23, Resulting Numbers: [7, 11, 23]
Generated Node #0,0: 20:[7, 11, 23] Operation: 30-7=23
Exploring Operation: 30-11=19, Resulting Numbers: [7, 7, 19]
Generated Node #0,1: 20:[7, 7, 19] Operation: 30-11=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[7, 7, 19], Operations: ['30-11=19']
Exploring Operation: 7-7=0, Resulting Numbers: [19, 0]
Generated Node #0,1,0: 20:[19, 0] Operation: 7-7=0
Exploring Operation: 7/7=1, Resulting Numbers: [19, 1]
Generated Node #0,1,1: 20:[19, 1] Operation: 7/7=1
Moving to Node #0,1,1
Current State: 20:[19, 1], Operations: ['30-11=19', '7/7=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[7, 30, 7, 11], Operations: []
Exploring Operation: 30-11=19, Resulting Numbers: [7, 7, 19]
Generated Node #0,1: 20:[7, 7, 19] Operation: 30-11=19
Moving to Node #0,1
Current State: 20:[7, 7, 19], Operations: ['30-11=19']
Exploring Operation: 7/7=1, Resulting Numbers: [19, 1]
Generated Node #0,1,1: 20:[19, 1] Operation: 7/7=1
Moving to Node #0,1,1
Current State: 20:[19, 1], Operations: ['30-11=19', '7/7=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
86,
31,
75,
39
] | 72 | [
"86+31=117",
"117/39=3",
"75-3=72"
] | Current State: 72:[86, 31, 75, 39], Operations: []
Exploring Operation: 86+31=117, Resulting Numbers: [75, 39, 117]
Generated Node #2: [75, 39, 117] from Operation: 86+31=117
Current State: 72:[75, 39, 117], Operations: ['86+31=117']
Exploring Operation: 117/39=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 117/39=3
Current State: 72:[75, 3], Operations: ['86+31=117', '117/39=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[86, 31, 75, 39], Operations: []
Exploring Operation: 86-39=47, Resulting Numbers: [31, 75, 47]
Generated Node #0,0: 72:[31, 75, 47] Operation: 86-39=47
Exploring Operation: 86-75=11, Resulting Numbers: [31, 39, 11]
Generated Node #0,1: 72:[31, 39, 11] Operation: 86-75=11
Exploring Operation: 75-39=36, Resulting Numbers: [86, 31, 36]
Generated Node #0,2: 72:[86, 31, 36] Operation: 75-39=36
Exploring Operation: 39-31=8, Resulting Numbers: [86, 75, 8]
Generated Node #0,3: 72:[86, 75, 8] Operation: 39-31=8
Exploring Operation: 31+39=70, Resulting Numbers: [86, 75, 70]
Generated Node #0,4: 72:[86, 75, 70] Operation: 31+39=70
Moving to Node #0,1
Current State: 72:[31, 39, 11], Operations: ['86-75=11']
Exploring Operation: 31-11=20, Resulting Numbers: [39, 20]
Generated Node #0,1,0: 72:[39, 20] Operation: 31-11=20
Exploring Operation: 31+11=42, Resulting Numbers: [39, 42]
Generated Node #0,1,1: 72:[39, 42] Operation: 31+11=42
Exploring Operation: 39-31=8, Resulting Numbers: [11, 8]
Generated Node #0,1,2: 72:[11, 8] Operation: 39-31=8
Exploring Operation: 39-11=28, Resulting Numbers: [31, 28]
Generated Node #0,1,3: 72:[31, 28] Operation: 39-11=28
Exploring Operation: 31+39=70, Resulting Numbers: [11, 70]
Generated Node #0,1,4: 72:[11, 70] Operation: 31+39=70
Moving to Node #0,3
Current State: 72:[86, 75, 8], Operations: ['39-31=8']
Exploring Operation: 86-75=11, Resulting Numbers: [8, 11]
Generated Node #0,3,0: 72:[8, 11] Operation: 86-75=11
Exploring Operation: 75-8=67, Resulting Numbers: [86, 67]
Generated Node #0,3,1: 72:[86, 67] Operation: 75-8=67
Exploring Operation: 86-8=78, Resulting Numbers: [75, 78]
Generated Node #0,3,2: 72:[75, 78] Operation: 86-8=78
Exploring Operation: 86+8=94, Resulting Numbers: [75, 94]
Generated Node #0,3,3: 72:[75, 94] Operation: 86+8=94
Exploring Operation: 75+8=83, Resulting Numbers: [86, 83]
Generated Node #0,3,4: 72:[86, 83] Operation: 75+8=83
Moving to Node #0,0
Current State: 72:[31, 75, 47], Operations: ['86-39=47']
Exploring Operation: 47-31=16, Resulting Numbers: [75, 16]
Generated Node #0,0,0: 72:[75, 16] Operation: 47-31=16
Exploring Operation: 75-47=28, Resulting Numbers: [31, 28]
Generated Node #0,0,1: 72:[31, 28] Operation: 75-47=28
Exploring Operation: 75-31=44, Resulting Numbers: [47, 44]
Generated Node #0,0,2: 72:[47, 44] Operation: 75-31=44
Exploring Operation: 31+75=106, Resulting Numbers: [47, 106]
Generated Node #0,0,3: 72:[47, 106] Operation: 31+75=106
Exploring Operation: 31+47=78, Resulting Numbers: [75, 78]
Generated Node #0,0,4: 72:[75, 78] Operation: 31+47=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[75, 16], Operations: ['86-39=47', '47-31=16']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,72 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[31, 28], Operations: ['86-39=47', '75-47=28']
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,72 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 72:[75, 78], Operations: ['86-39=47', '31+47=78']
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,72 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[47, 44], Operations: ['86-39=47', '75-31=44']
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,72 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,72 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[47, 106], Operations: ['86-39=47', '31+75=106']
Exploring Operation: 47*106=4982, Resulting Numbers: [4982]
4982,72 unequal: No Solution
Exploring Operation: 106-47=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 47+106=153, Resulting Numbers: [153]
153,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 72:[86, 31, 36], Operations: ['75-39=36']
Exploring Operation: 86-36=50, Resulting Numbers: [31, 50]
Generated Node #0,2,0: 72:[31, 50] Operation: 86-36=50
Exploring Operation: 86-31=55, Resulting Numbers: [36, 55]
Generated Node #0,2,1: 72:[36, 55] Operation: 86-31=55
Exploring Operation: 31+36=67, Resulting Numbers: [86, 67]
Generated Node #0,2,2: 72:[86, 67] Operation: 31+36=67
Exploring Operation: 86+31=117, Resulting Numbers: [36, 117]
Generated Node #0,2,3: 72:[36, 117] Operation: 86+31=117
Exploring Operation: 36-31=5, Resulting Numbers: [86, 5]
Generated Node #0,2,4: 72:[86, 5] Operation: 36-31=5
Moving to Node #0,4
Current State: 72:[86, 75, 70], Operations: ['31+39=70']
Exploring Operation: 86-70=16, Resulting Numbers: [75, 16]
Generated Node #0,4,0: 72:[75, 16] Operation: 86-70=16
Exploring Operation: 86+70=156, Resulting Numbers: [75, 156]
Generated Node #0,4,1: 72:[75, 156] Operation: 86+70=156
Exploring Operation: 75+70=145, Resulting Numbers: [86, 145]
Generated Node #0,4,2: 72:[86, 145] Operation: 75+70=145
Exploring Operation: 75-70=5, Resulting Numbers: [86, 5]
Generated Node #0,4,3: 72:[86, 5] Operation: 75-70=5
Exploring Operation: 86-75=11, Resulting Numbers: [70, 11]
Generated Node #0,4,4: 72:[70, 11] Operation: 86-75=11
Moving to Node #0,1,2
Current State: 72:[11, 8], Operations: ['86-75=11', '39-31=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[8, 11], Operations: ['39-31=8', '86-75=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[11, 70], Operations: ['86-75=11', '31+39=70']
Exploring Operation: 11*70=770, Resulting Numbers: [770]
770,72 unequal: No Solution
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Moving to Node #0,4,4
Current State: 72:[70, 11], Operations: ['31+39=70', '86-75=11']
Exploring Operation: 70*11=770, Resulting Numbers: [770]
770,72 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[39, 20], Operations: ['86-75=11', '31-11=20']
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,72 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,4,0
Current State: 72:[75, 16], Operations: ['31+39=70', '86-70=16']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,72 unequal: No Solution
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[75, 78], Operations: ['39-31=8', '86-8=78']
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,72 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,72 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[31, 28], Operations: ['86-75=11', '39-11=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,72 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[39, 42], Operations: ['86-75=11', '31+11=42']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[86, 5], Operations: ['75-39=36', '36-31=5']
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,72 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,72 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Moving to Node #0,4,3
Current State: 72:[86, 5], Operations: ['31+39=70', '75-70=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,72 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,72 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[36, 55], Operations: ['75-39=36', '86-31=55']
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,72 unequal: No Solution
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,72 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[86, 67], Operations: ['75-39=36', '31+36=67']
Exploring Operation: 86+67=153, Resulting Numbers: [153]
153,72 unequal: No Solution
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 86*67=5762, Resulting Numbers: [5762]
5762,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[31, 50], Operations: ['75-39=36', '86-36=50']
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,72 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[86, 67], Operations: ['39-31=8', '75-8=67']
Exploring Operation: 86+67=153, Resulting Numbers: [153]
153,72 unequal: No Solution
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 86*67=5762, Resulting Numbers: [5762]
5762,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[86, 83], Operations: ['39-31=8', '75+8=83']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 86*83=7138, Resulting Numbers: [7138]
7138,72 unequal: No Solution
Exploring Operation: 86+83=169, Resulting Numbers: [169]
169,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[75, 94], Operations: ['39-31=8', '86+8=94']
Exploring Operation: 75+94=169, Resulting Numbers: [169]
169,72 unequal: No Solution
Exploring Operation: 75*94=7050, Resulting Numbers: [7050]
7050,72 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[36, 117], Operations: ['75-39=36', '86+31=117']
Exploring Operation: 36*117=4212, Resulting Numbers: [4212]
4212,72 unequal: No Solution
Exploring Operation: 36+117=153, Resulting Numbers: [153]
153,72 unequal: No Solution
Exploring Operation: 117-36=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Moving to Node #0,4,2
Current State: 72:[86, 145], Operations: ['31+39=70', '75+70=145']
Exploring Operation: 145-86=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 86+145=231, Resulting Numbers: [231]
231,72 unequal: No Solution
Exploring Operation: 86*145=12470, Resulting Numbers: [12470]
12470,72 unequal: No Solution
Moving to Node #0,4,1
Current State: 72:[75, 156], Operations: ['31+39=70', '86+70=156']
Exploring Operation: 156-75=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 75*156=11700, Resulting Numbers: [11700]
11700,72 unequal: No Solution
Exploring Operation: 75+156=231, Resulting Numbers: [231]
231,72 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
20,
27,
12,
28
] | 47 | [
"27-20=7",
"12+28=40",
"7+40=47"
] | Current State: 47:[20, 27, 12, 28], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [12, 28, 7]
Generated Node #2: [12, 28, 7] from Operation: 27-20=7
Current State: 47:[12, 28, 7], Operations: ['27-20=7']
Exploring Operation: 12+28=40, Resulting Numbers: [7, 40]
Generated Node #3: [7, 40] from Operation: 12+28=40
Current State: 47:[7, 40], Operations: ['27-20=7', '12+28=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[20, 27, 12, 28], Operations: []
Exploring Operation: 20+28=48, Resulting Numbers: [27, 12, 48]
Generated Node #0,0: 47:[27, 12, 48] Operation: 20+28=48
Exploring Operation: 20+12=32, Resulting Numbers: [27, 28, 32]
Generated Node #0,1: 47:[27, 28, 32] Operation: 20+12=32
Exploring Operation: 12+28=40, Resulting Numbers: [20, 27, 40]
Generated Node #0,2: 47:[20, 27, 40] Operation: 12+28=40
Exploring Operation: 27+12=39, Resulting Numbers: [20, 28, 39]
Generated Node #0,3: 47:[20, 28, 39] Operation: 27+12=39
Exploring Operation: 20+27=47, Resulting Numbers: [12, 28, 47]
Generated Node #0,4: 47:[12, 28, 47] Operation: 20+27=47
Moving to Node #0,1
Current State: 47:[27, 28, 32], Operations: ['20+12=32']
Exploring Operation: 28-27=1, Resulting Numbers: [32, 1]
Generated Node #0,1,0: 47:[32, 1] Operation: 28-27=1
Exploring Operation: 27+32=59, Resulting Numbers: [28, 59]
Generated Node #0,1,1: 47:[28, 59] Operation: 27+32=59
Exploring Operation: 28+32=60, Resulting Numbers: [27, 60]
Generated Node #0,1,2: 47:[27, 60] Operation: 28+32=60
Exploring Operation: 32-27=5, Resulting Numbers: [28, 5]
Generated Node #0,1,3: 47:[28, 5] Operation: 32-27=5
Exploring Operation: 27+28=55, Resulting Numbers: [32, 55]
Generated Node #0,1,4: 47:[32, 55] Operation: 27+28=55
Moving to Node #0,3
Current State: 47:[20, 28, 39], Operations: ['27+12=39']
Exploring Operation: 20+39=59, Resulting Numbers: [28, 59]
Generated Node #0,3,0: 47:[28, 59] Operation: 20+39=59
Exploring Operation: 20+28=48, Resulting Numbers: [39, 48]
Generated Node #0,3,1: 47:[39, 48] Operation: 20+28=48
Exploring Operation: 28+39=67, Resulting Numbers: [20, 67]
Generated Node #0,3,2: 47:[20, 67] Operation: 28+39=67
Exploring Operation: 28-20=8, Resulting Numbers: [39, 8]
Generated Node #0,3,3: 47:[39, 8] Operation: 28-20=8
Exploring Operation: 39-20=19, Resulting Numbers: [28, 19]
Generated Node #0,3,4: 47:[28, 19] Operation: 39-20=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[39, 48], Operations: ['27+12=39', '20+28=48']
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,47 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[28, 59], Operations: ['27+12=39', '20+39=59']
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,47 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[20, 67], Operations: ['27+12=39', '28+39=67']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[20, 27, 12, 28], Operations: []
Exploring Operation: 27+12=39, Resulting Numbers: [20, 28, 39]
Generated Node #0,3: 47:[20, 28, 39] Operation: 27+12=39
Moving to Node #0,3
Current State: 47:[20, 28, 39], Operations: ['27+12=39']
Exploring Operation: 28+39=67, Resulting Numbers: [20, 67]
Generated Node #0,3,2: 47:[20, 67] Operation: 28+39=67
Moving to Node #0,3,2
Current State: 47:[20, 67], Operations: ['27+12=39', '28+39=67']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
11,
40,
33,
26
] | 88 | [
"40-11=29",
"33+26=59",
"29+59=88"
] | Current State: 88:[11, 40, 33, 26], Operations: []
Exploring Operation: 40-11=29, Resulting Numbers: [33, 26, 29]
Generated Node #2: [33, 26, 29] from Operation: 40-11=29
Current State: 88:[33, 26, 29], Operations: ['40-11=29']
Exploring Operation: 33+26=59, Resulting Numbers: [29, 59]
Generated Node #3: [29, 59] from Operation: 33+26=59
Current State: 88:[29, 59], Operations: ['40-11=29', '33+26=59']
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[11, 40, 33, 26], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [11, 40, 7]
Generated Node #0,0: 88:[11, 40, 7] Operation: 33-26=7
Exploring Operation: 40-33=7, Resulting Numbers: [11, 26, 7]
Generated Node #0,1: 88:[11, 26, 7] Operation: 40-33=7
Moving to Node #0,0
Current State: 88:[11, 40, 7], Operations: ['33-26=7']
Exploring Operation: 11-7=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 88:[40, 4] Operation: 11-7=4
Exploring Operation: 40+7=47, Resulting Numbers: [11, 47]
Generated Node #0,0,1: 88:[11, 47] Operation: 40+7=47
Moving to Node #0,1
Current State: 88:[11, 26, 7], Operations: ['40-33=7']
Exploring Operation: 11-7=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 88:[26, 4] Operation: 11-7=4
Exploring Operation: 26-7=19, Resulting Numbers: [11, 19]
Generated Node #0,1,1: 88:[11, 19] Operation: 26-7=19
Moving to Node #0,0,1
Current State: 88:[11, 47], Operations: ['33-26=7', '40+7=47']
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[11, 19], Operations: ['40-33=7', '26-7=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[40, 4], Operations: ['33-26=7', '11-7=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[26, 4], Operations: ['40-33=7', '11-7=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
4,
6,
59
] | 10 | [
"59-44=15",
"4*15=60",
"60/6=10"
] | Current State: 10:[44, 4, 6, 59], Operations: []
Exploring Operation: 59-44=15, Resulting Numbers: [4, 6, 15]
Generated Node #2: [4, 6, 15] from Operation: 59-44=15
Current State: 10:[4, 6, 15], Operations: ['59-44=15']
Exploring Operation: 4*15=60, Resulting Numbers: [6, 60]
Generated Node #3: [6, 60] from Operation: 4*15=60
Current State: 10:[6, 60], Operations: ['59-44=15', '4*15=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[44, 4, 6, 59], Operations: []
Exploring Operation: 59-6=53, Resulting Numbers: [44, 4, 53]
Generated Node #0,0: 10:[44, 4, 53] Operation: 59-6=53
Exploring Operation: 44-4=40, Resulting Numbers: [6, 59, 40]
Generated Node #0,1: 10:[6, 59, 40] Operation: 44-4=40
Exploring Operation: 59-44=15, Resulting Numbers: [4, 6, 15]
Generated Node #0,2: 10:[4, 6, 15] Operation: 59-44=15
Exploring Operation: 44-6=38, Resulting Numbers: [4, 59, 38]
Generated Node #0,3: 10:[4, 59, 38] Operation: 44-6=38
Exploring Operation: 44/4=11, Resulting Numbers: [6, 59, 11]
Generated Node #0,4: 10:[6, 59, 11] Operation: 44/4=11
Moving to Node #0,2
Current State: 10:[4, 6, 15], Operations: ['59-44=15']
Exploring Operation: 15-6=9, Resulting Numbers: [4, 9]
Generated Node #0,2,0: 10:[4, 9] Operation: 15-6=9
Exploring Operation: 15-4=11, Resulting Numbers: [6, 11]
Generated Node #0,2,1: 10:[6, 11] Operation: 15-4=11
Exploring Operation: 4+15=19, Resulting Numbers: [6, 19]
Generated Node #0,2,2: 10:[6, 19] Operation: 4+15=19
Exploring Operation: 4+6=10, Resulting Numbers: [15, 10]
Generated Node #0,2,3: 10:[15, 10] Operation: 4+6=10
Exploring Operation: 6-4=2, Resulting Numbers: [15, 2]
Generated Node #0,2,4: 10:[15, 2] Operation: 6-4=2
Moving to Node #0,4
Current State: 10:[6, 59, 11], Operations: ['44/4=11']
Exploring Operation: 59-11=48, Resulting Numbers: [6, 48]
Generated Node #0,4,0: 10:[6, 48] Operation: 59-11=48
Exploring Operation: 6+11=17, Resulting Numbers: [59, 17]
Generated Node #0,4,1: 10:[59, 17] Operation: 6+11=17
Exploring Operation: 59-6=53, Resulting Numbers: [11, 53]
Generated Node #0,4,2: 10:[11, 53] Operation: 59-6=53
Exploring Operation: 11-6=5, Resulting Numbers: [59, 5]
Generated Node #0,4,3: 10:[59, 5] Operation: 11-6=5
Exploring Operation: 6+59=65, Resulting Numbers: [11, 65]
Generated Node #0,4,4: 10:[11, 65] Operation: 6+59=65
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 10:[6, 48], Operations: ['44/4=11', '59-11=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 10:[11, 53], Operations: ['44/4=11', '59-6=53']
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,10 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 10:[59, 5], Operations: ['44/4=11', '11-6=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,10 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[59, 17], Operations: ['44/4=11', '6+11=17']
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,10 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,10 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[11, 65], Operations: ['44/4=11', '6+59=65']
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,10 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,10 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,10 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: 10:[44, 4, 53], Operations: ['59-6=53']
Exploring Operation: 44+4=48, Resulting Numbers: [53, 48]
Generated Node #0,0,0: 10:[53, 48] Operation: 44+4=48
Exploring Operation: 44/4=11, Resulting Numbers: [53, 11]
Generated Node #0,0,1: 10:[53, 11] Operation: 44/4=11
Exploring Operation: 53-44=9, Resulting Numbers: [4, 9]
Generated Node #0,0,2: 10:[4, 9] Operation: 53-44=9
Exploring Operation: 53-4=49, Resulting Numbers: [44, 49]
Generated Node #0,0,3: 10:[44, 49] Operation: 53-4=49
Exploring Operation: 44-4=40, Resulting Numbers: [53, 40]
Generated Node #0,0,4: 10:[53, 40] Operation: 44-4=40
Moving to Node #0,3
Current State: 10:[4, 59, 38], Operations: ['44-6=38']
Exploring Operation: 59-38=21, Resulting Numbers: [4, 21]
Generated Node #0,3,0: 10:[4, 21] Operation: 59-38=21
Exploring Operation: 38-4=34, Resulting Numbers: [59, 34]
Generated Node #0,3,1: 10:[59, 34] Operation: 38-4=34
Exploring Operation: 4+38=42, Resulting Numbers: [59, 42]
Generated Node #0,3,2: 10:[59, 42] Operation: 4+38=42
Exploring Operation: 4+59=63, Resulting Numbers: [38, 63]
Generated Node #0,3,3: 10:[38, 63] Operation: 4+59=63
Exploring Operation: 59-4=55, Resulting Numbers: [38, 55]
Generated Node #0,3,4: 10:[38, 55] Operation: 59-4=55
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[4, 21], Operations: ['44-6=38', '59-38=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[59, 34], Operations: ['44-6=38', '38-4=34']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,10 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[38, 55], Operations: ['44-6=38', '59-4=55']
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,10 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[59, 42], Operations: ['44-6=38', '4+38=42']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,10 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[38, 63], Operations: ['44-6=38', '4+59=63']
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,10 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,10 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: 10:[6, 59, 40], Operations: ['44-4=40']
Exploring Operation: 6+40=46, Resulting Numbers: [59, 46]
Generated Node #0,1,0: 10:[59, 46] Operation: 6+40=46
Exploring Operation: 59-6=53, Resulting Numbers: [40, 53]
Generated Node #0,1,1: 10:[40, 53] Operation: 59-6=53
Exploring Operation: 40-6=34, Resulting Numbers: [59, 34]
Generated Node #0,1,2: 10:[59, 34] Operation: 40-6=34
Exploring Operation: 59-40=19, Resulting Numbers: [6, 19]
Generated Node #0,1,3: 10:[6, 19] Operation: 59-40=19
Exploring Operation: 6+59=65, Resulting Numbers: [40, 65]
Generated Node #0,1,4: 10:[40, 65] Operation: 6+59=65
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[6, 19], Operations: ['44-4=40', '59-40=19']
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,10 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[40, 53], Operations: ['44-4=40', '59-6=53']
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[59, 34], Operations: ['44-4=40', '40-6=34']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[59, 46], Operations: ['44-4=40', '6+40=46']
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 59*46=2714, Resulting Numbers: [2714]
2714,10 unequal: No Solution
Exploring Operation: 59+46=105, Resulting Numbers: [105]
105,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 10:[40, 65], Operations: ['44-4=40', '6+59=65']
Exploring Operation: 40*65=2600, Resulting Numbers: [2600]
2600,10 unequal: No Solution
Exploring Operation: 40+65=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 10:[4, 9], Operations: ['59-44=15', '15-6=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[4, 9], Operations: ['59-6=53', '53-44=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[6, 11], Operations: ['59-44=15', '15-4=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[15, 10], Operations: ['59-44=15', '4+6=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,10 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[15, 2], Operations: ['59-44=15', '6-4=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[6, 19], Operations: ['59-44=15', '4+15=19']
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,10 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[53, 11], Operations: ['59-6=53', '44/4=11']
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,10 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[53, 40], Operations: ['59-6=53', '44-4=40']
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,10 unequal: No Solution
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[44, 49], Operations: ['59-6=53', '53-4=49']
Exploring Operation: 44+49=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 44*49=2156, Resulting Numbers: [2156]
2156,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[53, 48], Operations: ['59-6=53', '44+4=48']
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,10 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,10 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
45,
95,
10
] | 12 | [
"45+95=140",
"140/10=14",
"26-14=12"
] | Current State: 12:[26, 45, 95, 10], Operations: []
Exploring Operation: 45+95=140, Resulting Numbers: [26, 10, 140]
Generated Node #2: [26, 10, 140] from Operation: 45+95=140
Current State: 12:[26, 10, 140], Operations: ['45+95=140']
Exploring Operation: 140/10=14, Resulting Numbers: [26, 14]
Generated Node #3: [26, 14] from Operation: 140/10=14
Current State: 12:[26, 14], Operations: ['45+95=140', '140/10=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[26, 45, 95, 10], Operations: []
Exploring Operation: 95-45=50, Resulting Numbers: [26, 10, 50]
Generated Node #0,0: 12:[26, 10, 50] Operation: 95-45=50
Moving to Node #0,0
Current State: 12:[26, 10, 50], Operations: ['95-45=50']
Exploring Operation: 50-26=24, Resulting Numbers: [10, 24]
Generated Node #0,0,0: 12:[10, 24] Operation: 50-26=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[10, 24], Operations: ['95-45=50', '50-26=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,12 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 |
[
25,
8,
54,
50
] | 38 | [
"50/25=2",
"8*2=16",
"54-16=38"
] | Current State: 38:[25, 8, 54, 50], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [8, 54, 2]
Generated Node #2: [8, 54, 2] from Operation: 50/25=2
Current State: 38:[8, 54, 2], Operations: ['50/25=2']
Exploring Operation: 8*2=16, Resulting Numbers: [54, 16]
Generated Node #3: [54, 16] from Operation: 8*2=16
Current State: 38:[54, 16], Operations: ['50/25=2', '8*2=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[25, 8, 54, 50], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [25, 8, 4]
Generated Node #0,0: 38:[25, 8, 4] Operation: 54-50=4
Exploring Operation: 50-8=42, Resulting Numbers: [25, 54, 42]
Generated Node #0,1: 38:[25, 54, 42] Operation: 50-8=42
Exploring Operation: 50/25=2, Resulting Numbers: [8, 54, 2]
Generated Node #0,2: 38:[8, 54, 2] Operation: 50/25=2
Exploring Operation: 54-8=46, Resulting Numbers: [25, 50, 46]
Generated Node #0,3: 38:[25, 50, 46] Operation: 54-8=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[25, 8, 4], Operations: ['54-50=4']
Exploring Operation: 25-8=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 38:[4, 17] Operation: 25-8=17
Exploring Operation: 25+8=33, Resulting Numbers: [4, 33]
Generated Node #0,0,1: 38:[4, 33] Operation: 25+8=33
Exploring Operation: 25-4=21, Resulting Numbers: [8, 21]
Generated Node #0,0,2: 38:[8, 21] Operation: 25-4=21
Exploring Operation: 8/4=2, Resulting Numbers: [25, 2]
Generated Node #0,0,3: 38:[25, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[4, 17], Operations: ['54-50=4', '25-8=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 38:[25, 2], Operations: ['54-50=4', '8/4=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[4, 33], Operations: ['54-50=4', '25+8=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,38 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[8, 21], Operations: ['54-50=4', '25-4=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,38 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[8, 54, 2], Operations: ['50/25=2']
Exploring Operation: 54/2=27, Resulting Numbers: [8, 27]
Generated Node #0,2,0: 38:[8, 27] Operation: 54/2=27
Exploring Operation: 54-8=46, Resulting Numbers: [2, 46]
Generated Node #0,2,1: 38:[2, 46] Operation: 54-8=46
Exploring Operation: 8/2=4, Resulting Numbers: [54, 4]
Generated Node #0,2,2: 38:[54, 4] Operation: 8/2=4
Exploring Operation: 8*2=16, Resulting Numbers: [54, 16]
Generated Node #0,2,3: 38:[54, 16] Operation: 8*2=16
Moving to Node #0,2,1
Current State: 38:[2, 46], Operations: ['50/25=2', '54-8=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,38 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[8, 27], Operations: ['50/25=2', '54/2=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,38 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[54, 4], Operations: ['50/25=2', '8/2=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,38 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[54, 16], Operations: ['50/25=2', '8*2=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[25, 8, 54, 50], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [8, 54, 2]
Generated Node #0,2: 38:[8, 54, 2] Operation: 50/25=2
Moving to Node #0,2
Current State: 38:[8, 54, 2], Operations: ['50/25=2']
Exploring Operation: 8*2=16, Resulting Numbers: [54, 16]
Generated Node #0,2,3: 38:[54, 16] Operation: 8*2=16
Moving to Node #0,2,3
Current State: 38:[54, 16], Operations: ['50/25=2', '8*2=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
1,
2,
4,
14
] | 20 | [
"1*2=2",
"4+14=18",
"2+18=20"
] | Current State: 20:[1, 2, 4, 14], Operations: []
Exploring Operation: 1*2=2, Resulting Numbers: [4, 14, 2]
Generated Node #2: [4, 14, 2] from Operation: 1*2=2
Current State: 20:[4, 14, 2], Operations: ['1*2=2']
Exploring Operation: 4+14=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 4+14=18
Current State: 20:[2, 18], Operations: ['1*2=2', '4+14=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[1, 2, 4, 14], Operations: []
Exploring Operation: 14-4=10, Resulting Numbers: [1, 2, 10]
Generated Node #0,0: 20:[1, 2, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[1, 2, 10], Operations: ['14-4=10']
Exploring Operation: 1*2=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 1*2=2
Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['14-4=10', '1*2=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[1, 2, 4, 14], Operations: []
Exploring Operation: 14-4=10, Resulting Numbers: [1, 2, 10]
Generated Node #0,0: 20:[1, 2, 10] Operation: 14-4=10
Moving to Node #0,0
Current State: 20:[1, 2, 10], Operations: ['14-4=10']
Exploring Operation: 1*2=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 20:[10, 2] Operation: 1*2=2
Moving to Node #0,0,0
Current State: 20:[10, 2], Operations: ['14-4=10', '1*2=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
66,
27,
80,
2
] | 43 | [
"66-27=39",
"80+2=82",
"82-39=43"
] | Current State: 43:[66, 27, 80, 2], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [80, 2, 39]
Generated Node #2: [80, 2, 39] from Operation: 66-27=39
Current State: 43:[80, 2, 39], Operations: ['66-27=39']
Exploring Operation: 80+2=82, Resulting Numbers: [39, 82]
Generated Node #3: [39, 82] from Operation: 80+2=82
Current State: 43:[39, 82], Operations: ['66-27=39', '80+2=82']
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[66, 27, 80, 2], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [66, 27, 40]
Generated Node #0,0: 43:[66, 27, 40] Operation: 80/2=40
Moving to Node #0,0
Current State: 43:[66, 27, 40], Operations: ['80/2=40']
Exploring Operation: 66-27=39, Resulting Numbers: [40, 39]
Generated Node #0,0,0: 43:[40, 39] Operation: 66-27=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[40, 39], Operations: ['80/2=40', '66-27=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
77,
22,
78
] | 76 | [
"22-20=2",
"77*2=154",
"154-78=76"
] | Current State: 76:[20, 77, 22, 78], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [77, 78, 2]
Generated Node #2: [77, 78, 2] from Operation: 22-20=2
Current State: 76:[77, 78, 2], Operations: ['22-20=2']
Exploring Operation: 77*2=154, Resulting Numbers: [78, 154]
Generated Node #3: [78, 154] from Operation: 77*2=154
Current State: 76:[78, 154], Operations: ['22-20=2', '77*2=154']
Exploring Operation: 154-78=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[20, 77, 22, 78], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [20, 22, 1]
Generated Node #0,0: 76:[20, 22, 1] Operation: 78-77=1
Exploring Operation: 20+22=42, Resulting Numbers: [77, 78, 42]
Generated Node #0,1: 76:[77, 78, 42] Operation: 20+22=42
Exploring Operation: 78-22=56, Resulting Numbers: [20, 77, 56]
Generated Node #0,2: 76:[20, 77, 56] Operation: 78-22=56
Exploring Operation: 22-20=2, Resulting Numbers: [77, 78, 2]
Generated Node #0,3: 76:[77, 78, 2] Operation: 22-20=2
Exploring Operation: 77-22=55, Resulting Numbers: [20, 78, 55]
Generated Node #0,4: 76:[20, 78, 55] Operation: 77-22=55
Moving to Node #0,3
Current State: 76:[77, 78, 2], Operations: ['22-20=2']
Exploring Operation: 77-2=75, Resulting Numbers: [78, 75]
Generated Node #0,3,0: 76:[78, 75] Operation: 77-2=75
Exploring Operation: 78-77=1, Resulting Numbers: [2, 1]
Generated Node #0,3,1: 76:[2, 1] Operation: 78-77=1
Exploring Operation: 77+2=79, Resulting Numbers: [78, 79]
Generated Node #0,3,2: 76:[78, 79] Operation: 77+2=79
Exploring Operation: 78/2=39, Resulting Numbers: [77, 39]
Generated Node #0,3,3: 76:[77, 39] Operation: 78/2=39
Exploring Operation: 78-2=76, Resulting Numbers: [77, 76]
Generated Node #0,3,4: 76:[77, 76] Operation: 78-2=76
Moving to Node #0,0
Current State: 76:[20, 22, 1], Operations: ['78-77=1']
Exploring Operation: 22-20=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 76:[1, 2] Operation: 22-20=2
Exploring Operation: 20-1=19, Resulting Numbers: [22, 19]
Generated Node #0,0,1: 76:[22, 19] Operation: 20-1=19
Exploring Operation: 22-1=21, Resulting Numbers: [20, 21]
Generated Node #0,0,2: 76:[20, 21] Operation: 22-1=21
Exploring Operation: 20*1=20, Resulting Numbers: [22, 20]
Generated Node #0,0,3: 76:[22, 20] Operation: 20*1=20
Exploring Operation: 20/1=20, Resulting Numbers: [22, 20]
Generated Node #0,0,4: 76:[22, 20] Operation: 20/1=20
Moving to Node #0,1
Current State: 76:[77, 78, 42], Operations: ['20+22=42']
Exploring Operation: 78-77=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 76:[42, 1] Operation: 78-77=1
Exploring Operation: 77+42=119, Resulting Numbers: [78, 119]
Generated Node #0,1,1: 76:[78, 119] Operation: 77+42=119
Exploring Operation: 78+42=120, Resulting Numbers: [77, 120]
Generated Node #0,1,2: 76:[77, 120] Operation: 78+42=120
Exploring Operation: 77-42=35, Resulting Numbers: [78, 35]
Generated Node #0,1,3: 76:[78, 35] Operation: 77-42=35
Exploring Operation: 78-42=36, Resulting Numbers: [77, 36]
Generated Node #0,1,4: 76:[77, 36] Operation: 78-42=36
Moving to Node #0,2
Current State: 76:[20, 77, 56], Operations: ['78-22=56']
Exploring Operation: 20+77=97, Resulting Numbers: [56, 97]
Generated Node #0,2,0: 76:[56, 97] Operation: 20+77=97
Exploring Operation: 56-20=36, Resulting Numbers: [77, 36]
Generated Node #0,2,1: 76:[77, 36] Operation: 56-20=36
Exploring Operation: 20+56=76, Resulting Numbers: [77, 76]
Generated Node #0,2,2: 76:[77, 76] Operation: 20+56=76
Exploring Operation: 77-20=57, Resulting Numbers: [56, 57]
Generated Node #0,2,3: 76:[56, 57] Operation: 77-20=57
Exploring Operation: 77-56=21, Resulting Numbers: [20, 21]
Generated Node #0,2,4: 76:[20, 21] Operation: 77-56=21
Moving to Node #0,4
Current State: 76:[20, 78, 55], Operations: ['77-22=55']
Exploring Operation: 55-20=35, Resulting Numbers: [78, 35]
Generated Node #0,4,0: 76:[78, 35] Operation: 55-20=35
Exploring Operation: 20+55=75, Resulting Numbers: [78, 75]
Generated Node #0,4,1: 76:[78, 75] Operation: 20+55=75
Exploring Operation: 78-55=23, Resulting Numbers: [20, 23]
Generated Node #0,4,2: 76:[20, 23] Operation: 78-55=23
Exploring Operation: 20+78=98, Resulting Numbers: [55, 98]
Generated Node #0,4,3: 76:[55, 98] Operation: 20+78=98
Exploring Operation: 78-20=58, Resulting Numbers: [55, 58]
Generated Node #0,4,4: 76:[55, 58] Operation: 78-20=58
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[78, 75], Operations: ['77-22=55', '20+55=75']
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,76 unequal: No Solution
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,76 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,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,0
Current State: 76:[78, 35], Operations: ['77-22=55', '55-20=35']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 78+35=113, Resulting Numbers: [113]
113,76 unequal: No Solution
Exploring Operation: 78*35=2730, Resulting Numbers: [2730]
2730,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,2
Current State: 76:[20, 23], Operations: ['77-22=55', '78-55=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,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,4
Current State: 76:[55, 58], Operations: ['77-22=55', '78-20=58']
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,76 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,76 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,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,3
Current State: 76:[55, 98], Operations: ['77-22=55', '20+78=98']
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 55+98=153, Resulting Numbers: [153]
153,76 unequal: No Solution
Exploring Operation: 55*98=5390, Resulting Numbers: [5390]
5390,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 76:[2, 1], Operations: ['22-20=2', '78-77=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[1, 2], Operations: ['78-77=1', '22-20=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[77, 76], Operations: ['22-20=2', '78-2=76']
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,76 unequal: No Solution
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,76 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[77, 76], Operations: ['78-22=56', '20+56=76']
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,76 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[77, 39], Operations: ['22-20=2', '78/2=39']
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,76 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[22, 19], Operations: ['78-77=1', '20-1=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[77, 36], Operations: ['78-22=56', '56-20=36']
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,76 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 77*36=2772, Resulting Numbers: [2772]
2772,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[20, 21], Operations: ['78-77=1', '22-1=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[77, 36], Operations: ['20+22=42', '78-42=36']
Exploring Operation: 77*36=2772, Resulting Numbers: [2772]
2772,76 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[20, 21], Operations: ['78-22=56', '77-56=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,76 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[78, 75], Operations: ['22-20=2', '77-2=75']
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,76 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[22, 20], Operations: ['78-77=1', '20/1=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[22, 20], Operations: ['78-77=1', '20*1=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,76 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[78, 35], Operations: ['20+22=42', '77-42=35']
Exploring Operation: 78+35=113, Resulting Numbers: [113]
113,76 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 78*35=2730, Resulting Numbers: [2730]
2730,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[42, 1], Operations: ['20+22=42', '78-77=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[78, 79], Operations: ['22-20=2', '77+2=79']
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,76 unequal: No Solution
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,76 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[56, 57], Operations: ['78-22=56', '77-20=57']
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,76 unequal: No Solution
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,76 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[56, 97], Operations: ['78-22=56', '20+77=97']
Exploring Operation: 56*97=5432, Resulting Numbers: [5432]
5432,76 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 56+97=153, Resulting Numbers: [153]
153,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[78, 119], Operations: ['20+22=42', '77+42=119']
Exploring Operation: 78+119=197, Resulting Numbers: [197]
197,76 unequal: No Solution
Exploring Operation: 78*119=9282, Resulting Numbers: [9282]
9282,76 unequal: No Solution
Exploring Operation: 119-78=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[77, 120], Operations: ['20+22=42', '78+42=120']
Exploring Operation: 120-77=43, Resulting Numbers: [43]
43,76 unequal: No Solution
Exploring Operation: 77+120=197, Resulting Numbers: [197]
197,76 unequal: No Solution
Exploring Operation: 77*120=9240, Resulting Numbers: [9240]
9240,76 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
74,
15,
13,
92
] | 39 | [
"74+15=89",
"92-89=3",
"13*3=39"
] | Current State: 39:[74, 15, 13, 92], Operations: []
Exploring Operation: 74+15=89, Resulting Numbers: [13, 92, 89]
Generated Node #2: [13, 92, 89] from Operation: 74+15=89
Current State: 39:[13, 92, 89], Operations: ['74+15=89']
Exploring Operation: 92-89=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 92-89=3
Current State: 39:[13, 3], Operations: ['74+15=89', '92-89=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[74, 15, 13, 92], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [13, 92, 59]
Generated Node #0,0: 39:[13, 92, 59] Operation: 74-15=59
Exploring Operation: 92-74=18, Resulting Numbers: [15, 13, 18]
Generated Node #0,1: 39:[15, 13, 18] Operation: 92-74=18
Moving to Node #0,1
Current State: 39:[15, 13, 18], Operations: ['92-74=18']
Exploring Operation: 18-13=5, Resulting Numbers: [15, 5]
Generated Node #0,1,0: 39:[15, 5] Operation: 18-13=5
Exploring Operation: 18-15=3, Resulting Numbers: [13, 3]
Generated Node #0,1,1: 39:[13, 3] Operation: 18-15=3
Moving to Node #0,0
Current State: 39:[13, 92, 59], Operations: ['74-15=59']
Exploring Operation: 92-59=33, Resulting Numbers: [13, 33]
Generated Node #0,0,0: 39:[13, 33] Operation: 92-59=33
Exploring Operation: 92-13=79, Resulting Numbers: [59, 79]
Generated Node #0,0,1: 39:[59, 79] Operation: 92-13=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[13, 33], Operations: ['74-15=59', '92-59=33']
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[59, 79], Operations: ['74-15=59', '92-13=79']
Exploring Operation: 59+79=138, Resulting Numbers: [138]
138,39 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 39:[13, 3], Operations: ['92-74=18', '18-15=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[74, 15, 13, 92], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [15, 13, 18]
Generated Node #0,1: 39:[15, 13, 18] Operation: 92-74=18
Moving to Node #0,1
Current State: 39:[15, 13, 18], Operations: ['92-74=18']
Exploring Operation: 18-15=3, Resulting Numbers: [13, 3]
Generated Node #0,1,1: 39:[13, 3] Operation: 18-15=3
Moving to Node #0,1,1
Current State: 39:[13, 3], Operations: ['92-74=18', '18-15=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
22,
66,
93,
81
] | 66 | [
"66/22=3",
"81/3=27",
"93-27=66"
] | Current State: 66:[22, 66, 93, 81], Operations: []
Exploring Operation: 66/22=3, Resulting Numbers: [93, 81, 3]
Generated Node #2: [93, 81, 3] from Operation: 66/22=3
Current State: 66:[93, 81, 3], Operations: ['66/22=3']
Exploring Operation: 81/3=27, Resulting Numbers: [93, 27]
Generated Node #3: [93, 27] from Operation: 81/3=27
Current State: 66:[93, 27], Operations: ['66/22=3', '81/3=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[22, 66, 93, 81], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [22, 93, 15]
Generated Node #0,0: 66:[22, 93, 15] Operation: 81-66=15
Exploring Operation: 93-22=71, Resulting Numbers: [66, 81, 71]
Generated Node #0,1: 66:[66, 81, 71] Operation: 93-22=71
Exploring Operation: 93-81=12, Resulting Numbers: [22, 66, 12]
Generated Node #0,2: 66:[22, 66, 12] Operation: 93-81=12
Exploring Operation: 93-66=27, Resulting Numbers: [22, 81, 27]
Generated Node #0,3: 66:[22, 81, 27] Operation: 93-66=27
Moving to Node #0,2
Current State: 66:[22, 66, 12], Operations: ['93-81=12']
Exploring Operation: 66-22=44, Resulting Numbers: [12, 44]
Generated Node #0,2,0: 66:[12, 44] Operation: 66-22=44
Exploring Operation: 66/22=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 66:[12, 3] Operation: 66/22=3
Exploring Operation: 22-12=10, Resulting Numbers: [66, 10]
Generated Node #0,2,2: 66:[66, 10] Operation: 22-12=10
Exploring Operation: 22+12=34, Resulting Numbers: [66, 34]
Generated Node #0,2,3: 66:[66, 34] Operation: 22+12=34
Moving to Node #0,3
Current State: 66:[22, 81, 27], Operations: ['93-66=27']
Exploring Operation: 81-22=59, Resulting Numbers: [27, 59]
Generated Node #0,3,0: 66:[27, 59] Operation: 81-22=59
Exploring Operation: 81-27=54, Resulting Numbers: [22, 54]
Generated Node #0,3,1: 66:[22, 54] Operation: 81-27=54
Exploring Operation: 81/27=3, Resulting Numbers: [22, 3]
Generated Node #0,3,2: 66:[22, 3] Operation: 81/27=3
Exploring Operation: 27-22=5, Resulting Numbers: [81, 5]
Generated Node #0,3,3: 66:[81, 5] Operation: 27-22=5
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[22, 3], Operations: ['93-66=27', '81/27=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[22, 66, 93, 81], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [22, 81, 27]
Generated Node #0,3: 66:[22, 81, 27] Operation: 93-66=27
Moving to Node #0,3
Current State: 66:[22, 81, 27], Operations: ['93-66=27']
Exploring Operation: 81/27=3, Resulting Numbers: [22, 3]
Generated Node #0,3,2: 66:[22, 3] Operation: 81/27=3
Moving to Node #0,3,2
Current State: 66:[22, 3], Operations: ['93-66=27', '81/27=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
70,
22,
30,
69
] | 87 | [
"70-22=48",
"69-30=39",
"48+39=87"
] | Current State: 87:[70, 22, 30, 69], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [30, 69, 48]
Generated Node #2: [30, 69, 48] from Operation: 70-22=48
Current State: 87:[30, 69, 48], Operations: ['70-22=48']
Exploring Operation: 69-30=39, Resulting Numbers: [48, 39]
Generated Node #3: [48, 39] from Operation: 69-30=39
Current State: 87:[48, 39], Operations: ['70-22=48', '69-30=39']
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[70, 22, 30, 69], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [22, 30, 1]
Generated Node #0,0: 87:[22, 30, 1] Operation: 70-69=1
Moving to Node #0,0
Current State: 87:[22, 30, 1], Operations: ['70-69=1']
Exploring Operation: 30-22=8, Resulting Numbers: [1, 8]
Generated Node #0,0,0: 87:[1, 8] Operation: 30-22=8
Moving to Node #0,0,0
Current State: 87:[1, 8], Operations: ['70-69=1', '30-22=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,87 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
5,
40,
75
] | 85 | [
"45+5=50",
"75-40=35",
"50+35=85"
] | Current State: 85:[45, 5, 40, 75], Operations: []
Exploring Operation: 45+5=50, Resulting Numbers: [40, 75, 50]
Generated Node #2: [40, 75, 50] from Operation: 45+5=50
Current State: 85:[40, 75, 50], Operations: ['45+5=50']
Exploring Operation: 75-40=35, Resulting Numbers: [50, 35]
Generated Node #3: [50, 35] from Operation: 75-40=35
Current State: 85:[50, 35], Operations: ['45+5=50', '75-40=35']
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[45, 5, 40, 75], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [5, 75, 5]
Generated Node #0,0: 85:[5, 75, 5] Operation: 45-40=5
Exploring Operation: 45+40=85, Resulting Numbers: [5, 75, 85]
Generated Node #0,1: 85:[5, 75, 85] Operation: 45+40=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[5, 75, 5], Operations: ['45-40=5']
Exploring Operation: 75/5=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 85:[5, 15] Operation: 75/5=15
Exploring Operation: 75/5=15, Resulting Numbers: [5, 15]
Generated Node #0,0,1: 85:[5, 15] Operation: 75/5=15
Moving to Node #0,0,0
Current State: 85:[5, 15], Operations: ['45-40=5', '75/5=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[5, 15], Operations: ['45-40=5', '75/5=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,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:[5, 75, 85], Operations: ['45+40=85']
Exploring Operation: 5+75=80, Resulting Numbers: [85, 80]
Generated Node #0,1,0: 85:[85, 80] Operation: 5+75=80
Exploring Operation: 75/5=15, Resulting Numbers: [85, 15]
Generated Node #0,1,1: 85:[85, 15] Operation: 75/5=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[85, 15], Operations: ['45+40=85', '75/5=15']
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,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,0
Current State: 85:[85, 80], Operations: ['45+40=85', '5+75=80']
Exploring Operation: 85+80=165, Resulting Numbers: [165]
165,85 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
88,
44,
57
] | 25 | [
"88-76=12",
"57-44=13",
"12+13=25"
] | Current State: 25:[76, 88, 44, 57], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [44, 57, 12]
Generated Node #2: [44, 57, 12] from Operation: 88-76=12
Current State: 25:[44, 57, 12], Operations: ['88-76=12']
Exploring Operation: 57-44=13, Resulting Numbers: [12, 13]
Generated Node #3: [12, 13] from Operation: 57-44=13
Current State: 25:[12, 13], Operations: ['88-76=12', '57-44=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[76, 88, 44, 57], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [76, 57, 2]
Generated Node #0,0: 25:[76, 57, 2] Operation: 88/44=2
Exploring Operation: 88-76=12, Resulting Numbers: [44, 57, 12]
Generated Node #0,1: 25:[44, 57, 12] Operation: 88-76=12
Exploring Operation: 76-57=19, Resulting Numbers: [88, 44, 19]
Generated Node #0,2: 25:[88, 44, 19] Operation: 76-57=19
Exploring Operation: 76-44=32, Resulting Numbers: [88, 57, 32]
Generated Node #0,3: 25:[88, 57, 32] Operation: 76-44=32
Exploring Operation: 88-57=31, Resulting Numbers: [76, 44, 31]
Generated Node #0,4: 25:[76, 44, 31] Operation: 88-57=31
Moving to Node #0,1
Current State: 25:[44, 57, 12], Operations: ['88-76=12']
Exploring Operation: 57+12=69, Resulting Numbers: [44, 69]
Generated Node #0,1,0: 25:[44, 69] Operation: 57+12=69
Exploring Operation: 57-44=13, Resulting Numbers: [12, 13]
Generated Node #0,1,1: 25:[12, 13] Operation: 57-44=13
Exploring Operation: 44+12=56, Resulting Numbers: [57, 56]
Generated Node #0,1,2: 25:[57, 56] Operation: 44+12=56
Exploring Operation: 57-12=45, Resulting Numbers: [44, 45]
Generated Node #0,1,3: 25:[44, 45] Operation: 57-12=45
Exploring Operation: 44-12=32, Resulting Numbers: [57, 32]
Generated Node #0,1,4: 25:[57, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[12, 13], Operations: ['88-76=12', '57-44=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[76, 88, 44, 57], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [44, 57, 12]
Generated Node #0,1: 25:[44, 57, 12] Operation: 88-76=12
Moving to Node #0,1
Current State: 25:[44, 57, 12], Operations: ['88-76=12']
Exploring Operation: 57-44=13, Resulting Numbers: [12, 13]
Generated Node #0,1,1: 25:[12, 13] Operation: 57-44=13
Moving to Node #0,1,1
Current State: 25:[12, 13], Operations: ['88-76=12', '57-44=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
7,
55,
30,
76
] | 27 | [
"76-55=21",
"21/7=3",
"30-3=27"
] | Current State: 27:[7, 55, 30, 76], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [7, 30, 21]
Generated Node #2: [7, 30, 21] from Operation: 76-55=21
Current State: 27:[7, 30, 21], Operations: ['76-55=21']
Exploring Operation: 21/7=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 21/7=3
Current State: 27:[30, 3], Operations: ['76-55=21', '21/7=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[7, 55, 30, 76], Operations: []
Exploring Operation: 55-30=25, Resulting Numbers: [7, 76, 25]
Generated Node #0,0: 27:[7, 76, 25] Operation: 55-30=25
Exploring Operation: 76-7=69, Resulting Numbers: [55, 30, 69]
Generated Node #0,1: 27:[55, 30, 69] Operation: 76-7=69
Exploring Operation: 76-30=46, Resulting Numbers: [7, 55, 46]
Generated Node #0,2: 27:[7, 55, 46] Operation: 76-30=46
Exploring Operation: 55-7=48, Resulting Numbers: [30, 76, 48]
Generated Node #0,3: 27:[30, 76, 48] Operation: 55-7=48
Exploring Operation: 76-55=21, Resulting Numbers: [7, 30, 21]
Generated Node #0,4: 27:[7, 30, 21] Operation: 76-55=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[7, 30, 21], Operations: ['76-55=21']
Exploring Operation: 7+21=28, Resulting Numbers: [30, 28]
Generated Node #0,4,0: 27:[30, 28] Operation: 7+21=28
Exploring Operation: 30-7=23, Resulting Numbers: [21, 23]
Generated Node #0,4,1: 27:[21, 23] Operation: 30-7=23
Exploring Operation: 21/7=3, Resulting Numbers: [30, 3]
Generated Node #0,4,2: 27:[30, 3] Operation: 21/7=3
Exploring Operation: 30-21=9, Resulting Numbers: [7, 9]
Generated Node #0,4,3: 27:[7, 9] Operation: 30-21=9
Exploring Operation: 21-7=14, Resulting Numbers: [30, 14]
Generated Node #0,4,4: 27:[30, 14] Operation: 21-7=14
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 27:[7, 9], Operations: ['76-55=21', '30-21=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,27 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No 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: 27:[30, 3], Operations: ['76-55=21', '21/7=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[7, 55, 30, 76], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [7, 30, 21]
Generated Node #0,4: 27:[7, 30, 21] Operation: 76-55=21
Moving to Node #0,4
Current State: 27:[7, 30, 21], Operations: ['76-55=21']
Exploring Operation: 21/7=3, Resulting Numbers: [30, 3]
Generated Node #0,4,2: 27:[30, 3] Operation: 21/7=3
Moving to Node #0,4,2
Current State: 27:[30, 3], Operations: ['76-55=21', '21/7=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
25,
82,
4,
75
] | 93 | [
"25*4=100",
"82-75=7",
"100-7=93"
] | Current State: 93:[25, 82, 4, 75], Operations: []
Exploring Operation: 25*4=100, Resulting Numbers: [82, 75, 100]
Generated Node #2: [82, 75, 100] from Operation: 25*4=100
Current State: 93:[82, 75, 100], Operations: ['25*4=100']
Exploring Operation: 82-75=7, Resulting Numbers: [100, 7]
Generated Node #3: [100, 7] from Operation: 82-75=7
Current State: 93:[100, 7], Operations: ['25*4=100', '82-75=7']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[25, 82, 4, 75], Operations: []
Exploring Operation: 82-75=7, Resulting Numbers: [25, 4, 7]
Generated Node #0,0: 93:[25, 4, 7] Operation: 82-75=7
Exploring Operation: 75/25=3, Resulting Numbers: [82, 4, 3]
Generated Node #0,1: 93:[82, 4, 3] Operation: 75/25=3
Moving to Node #0,0
Current State: 93:[25, 4, 7], Operations: ['82-75=7']
Exploring Operation: 25+4=29, Resulting Numbers: [7, 29]
Generated Node #0,0,0: 93:[7, 29] Operation: 25+4=29
Exploring Operation: 25+7=32, Resulting Numbers: [4, 32]
Generated Node #0,0,1: 93:[4, 32] Operation: 25+7=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[4, 32], Operations: ['82-75=7', '25+7=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,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:[7, 29], Operations: ['82-75=7', '25+4=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,93 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: 93:[82, 4, 3], Operations: ['75/25=3']
Exploring Operation: 82+4=86, Resulting Numbers: [3, 86]
Generated Node #0,1,0: 93:[3, 86] Operation: 82+4=86
Exploring Operation: 82+3=85, Resulting Numbers: [4, 85]
Generated Node #0,1,1: 93:[4, 85] Operation: 82+3=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[3, 86], Operations: ['75/25=3', '82+4=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,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:[4, 85], Operations: ['75/25=3', '82+3=85']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
84,
21,
49
] | 36 | [
"49-9=40",
"84/21=4",
"40-4=36"
] | Current State: 36:[9, 84, 21, 49], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [84, 21, 40]
Generated Node #2: [84, 21, 40] from Operation: 49-9=40
Current State: 36:[84, 21, 40], Operations: ['49-9=40']
Exploring Operation: 84/21=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 84/21=4
Current State: 36:[40, 4], Operations: ['49-9=40', '84/21=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 84, 21, 49], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [9, 49, 63]
Generated Node #0,0: 36:[9, 49, 63] Operation: 84-21=63
Exploring Operation: 84-9=75, Resulting Numbers: [21, 49, 75]
Generated Node #0,1: 36:[21, 49, 75] Operation: 84-9=75
Exploring Operation: 84-49=35, Resulting Numbers: [9, 21, 35]
Generated Node #0,2: 36:[9, 21, 35] Operation: 84-49=35
Exploring Operation: 84/21=4, Resulting Numbers: [9, 49, 4]
Generated Node #0,3: 36:[9, 49, 4] Operation: 84/21=4
Moving to Node #0,2
Current State: 36:[9, 21, 35], Operations: ['84-49=35']
Exploring Operation: 9+35=44, Resulting Numbers: [21, 44]
Generated Node #0,2,0: 36:[21, 44] Operation: 9+35=44
Exploring Operation: 35-21=14, Resulting Numbers: [9, 14]
Generated Node #0,2,1: 36:[9, 14] Operation: 35-21=14
Exploring Operation: 21-9=12, Resulting Numbers: [35, 12]
Generated Node #0,2,2: 36:[35, 12] Operation: 21-9=12
Exploring Operation: 9+21=30, Resulting Numbers: [35, 30]
Generated Node #0,2,3: 36:[35, 30] Operation: 9+21=30
Moving to Node #0,3
Current State: 36:[9, 49, 4], Operations: ['84/21=4']
Exploring Operation: 9*4=36, Resulting Numbers: [49, 36]
Generated Node #0,3,0: 36:[49, 36] Operation: 9*4=36
Exploring Operation: 49-9=40, Resulting Numbers: [4, 40]
Generated Node #0,3,1: 36:[4, 40] Operation: 49-9=40
Exploring Operation: 49-4=45, Resulting Numbers: [9, 45]
Generated Node #0,3,2: 36:[9, 45] Operation: 49-4=45
Exploring Operation: 9+4=13, Resulting Numbers: [49, 13]
Generated Node #0,3,3: 36:[49, 13] Operation: 9+4=13
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[4, 40], Operations: ['84/21=4', '49-9=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,36 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[9, 84, 21, 49], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [9, 49, 4]
Generated Node #0,3: 36:[9, 49, 4] Operation: 84/21=4
Moving to Node #0,3
Current State: 36:[9, 49, 4], Operations: ['84/21=4']
Exploring Operation: 49-9=40, Resulting Numbers: [4, 40]
Generated Node #0,3,1: 36:[4, 40] Operation: 49-9=40
Moving to Node #0,3,1
Current State: 36:[4, 40], Operations: ['84/21=4', '49-9=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
9,
85,
98,
43
] | 47 | [
"9+85=94",
"98+43=141",
"141-94=47"
] | Current State: 47:[9, 85, 98, 43], Operations: []
Exploring Operation: 9+85=94, Resulting Numbers: [98, 43, 94]
Generated Node #2: [98, 43, 94] from Operation: 9+85=94
Current State: 47:[98, 43, 94], Operations: ['9+85=94']
Exploring Operation: 98+43=141, Resulting Numbers: [94, 141]
Generated Node #3: [94, 141] from Operation: 98+43=141
Current State: 47:[94, 141], Operations: ['9+85=94', '98+43=141']
Exploring Operation: 141-94=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[9, 85, 98, 43], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [85, 43, 89]
Generated Node #0,0: 47:[85, 43, 89] Operation: 98-9=89
Exploring Operation: 98-85=13, Resulting Numbers: [9, 43, 13]
Generated Node #0,1: 47:[9, 43, 13] Operation: 98-85=13
Exploring Operation: 85-9=76, Resulting Numbers: [98, 43, 76]
Generated Node #0,2: 47:[98, 43, 76] Operation: 85-9=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[9, 43, 13], Operations: ['98-85=13']
Exploring Operation: 9+43=52, Resulting Numbers: [13, 52]
Generated Node #0,1,0: 47:[13, 52] Operation: 9+43=52
Exploring Operation: 9+13=22, Resulting Numbers: [43, 22]
Generated Node #0,1,1: 47:[43, 22] Operation: 9+13=22
Exploring Operation: 43-9=34, Resulting Numbers: [13, 34]
Generated Node #0,1,2: 47:[13, 34] Operation: 43-9=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[43, 22], Operations: ['98-85=13', '9+13=22']
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,47 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[13, 52], Operations: ['98-85=13', '9+43=52']
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,47 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[13, 34], Operations: ['98-85=13', '43-9=34']
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[9, 85, 98, 43], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [9, 43, 13]
Generated Node #0,1: 47:[9, 43, 13] Operation: 98-85=13
Moving to Node #0,1
Current State: 47:[9, 43, 13], Operations: ['98-85=13']
Exploring Operation: 43-9=34, Resulting Numbers: [13, 34]
Generated Node #0,1,2: 47:[13, 34] Operation: 43-9=34
Moving to Node #0,1,2
Current State: 47:[13, 34], Operations: ['98-85=13', '43-9=34']
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
5,
7,
93,
71
] | 82 | [
"7-5=2",
"93+71=164",
"164/2=82"
] | Current State: 82:[5, 7, 93, 71], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [93, 71, 2]
Generated Node #2: [93, 71, 2] from Operation: 7-5=2
Current State: 82:[93, 71, 2], Operations: ['7-5=2']
Exploring Operation: 93+71=164, Resulting Numbers: [2, 164]
Generated Node #3: [2, 164] from Operation: 93+71=164
Current State: 82:[2, 164], Operations: ['7-5=2', '93+71=164']
Exploring Operation: 164/2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[5, 7, 93, 71], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [5, 71, 86]
Generated Node #0,0: 82:[5, 71, 86] Operation: 93-7=86
Moving to Node #0,0
Current State: 82:[5, 71, 86], Operations: ['93-7=86']
Exploring Operation: 5+71=76, Resulting Numbers: [86, 76]
Generated Node #0,0,0: 82:[86, 76] Operation: 5+71=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[86, 76], Operations: ['93-7=86', '5+71=76']
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,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 |
[
29,
44,
44,
93
] | 64 | [
"29+44=73",
"44+93=137",
"137-73=64"
] | Current State: 64:[29, 44, 44, 93], Operations: []
Exploring Operation: 29+44=73, Resulting Numbers: [93, 73]
Generated Node #2: [93, 73] from Operation: 29+44=73
Current State: 64:[93, 73], Operations: ['29+44=73']
Exploring Operation: 44+93=137, Resulting Numbers: [73, 137]
Generated Node #3: [73, 137] from Operation: 44+93=137
Current State: 64:[73, 137], Operations: ['29+44=73', '44+93=137']
Exploring Operation: 137-73=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[29, 44, 44, 93], Operations: []
Exploring Operation: 93-29=64, Resulting Numbers: [44, 44, 64]
Generated Node #0,0: 64:[44, 44, 64] Operation: 93-29=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[44, 44, 64], Operations: ['93-29=64']
Exploring Operation: 44/44=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 64:[64, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 64:[64, 1], Operations: ['93-29=64', '44/44=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[29, 44, 44, 93], Operations: []
Exploring Operation: 93-29=64, Resulting Numbers: [44, 44, 64]
Generated Node #0,0: 64:[44, 44, 64] Operation: 93-29=64
Moving to Node #0,0
Current State: 64:[44, 44, 64], Operations: ['93-29=64']
Exploring Operation: 44/44=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 64:[64, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 64:[64, 1], Operations: ['93-29=64', '44/44=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
58,
66,
28,
14
] | 62 | [
"58+66=124",
"28/14=2",
"124/2=62"
] | Current State: 62:[58, 66, 28, 14], Operations: []
Exploring Operation: 58+66=124, Resulting Numbers: [28, 14, 124]
Generated Node #2: [28, 14, 124] from Operation: 58+66=124
Current State: 62:[28, 14, 124], Operations: ['58+66=124']
Exploring Operation: 28/14=2, Resulting Numbers: [124, 2]
Generated Node #3: [124, 2] from Operation: 28/14=2
Current State: 62:[124, 2], Operations: ['58+66=124', '28/14=2']
Exploring Operation: 124/2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[58, 66, 28, 14], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [58, 28, 52]
Generated Node #0,0: 62:[58, 28, 52] Operation: 66-14=52
Exploring Operation: 58+14=72, Resulting Numbers: [66, 28, 72]
Generated Node #0,1: 62:[66, 28, 72] Operation: 58+14=72
Exploring Operation: 58-28=30, Resulting Numbers: [66, 14, 30]
Generated Node #0,2: 62:[66, 14, 30] Operation: 58-28=30
Exploring Operation: 28/14=2, Resulting Numbers: [58, 66, 2]
Generated Node #0,3: 62:[58, 66, 2] Operation: 28/14=2
Exploring Operation: 28+14=42, Resulting Numbers: [58, 66, 42]
Generated Node #0,4: 62:[58, 66, 42] Operation: 28+14=42
Moving to Node #0,3
Current State: 62:[58, 66, 2], Operations: ['28/14=2']
Exploring Operation: 66-2=64, Resulting Numbers: [58, 64]
Generated Node #0,3,0: 62:[58, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [58, 33]
Generated Node #0,3,1: 62:[58, 33] Operation: 66/2=33
Exploring Operation: 58/2=29, Resulting Numbers: [66, 29]
Generated Node #0,3,2: 62:[66, 29] Operation: 58/2=29
Exploring Operation: 66-58=8, Resulting Numbers: [2, 8]
Generated Node #0,3,3: 62:[2, 8] Operation: 66-58=8
Exploring Operation: 58+2=60, Resulting Numbers: [66, 60]
Generated Node #0,3,4: 62:[66, 60] Operation: 58+2=60
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[58, 64], Operations: ['28/14=2', '66-2=64']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,62 unequal: No Solution
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,62 unequal: No Solution
No 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: 62:[58, 33], Operations: ['28/14=2', '66/2=33']
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,62 unequal: No Solution
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,62 unequal: No Solution
No 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: 62:[66, 29], Operations: ['28/14=2', '58/2=29']
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,62 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,62 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No 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: 62:[2, 8], Operations: ['28/14=2', '66-58=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,62 unequal: No Solution
No 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: 62:[66, 60], Operations: ['28/14=2', '58+2=60']
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 66*60=3960, Resulting Numbers: [3960]
3960,62 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: 62:[66, 28, 72], Operations: ['58+14=72']
Exploring Operation: 28+72=100, Resulting Numbers: [66, 100]
Generated Node #0,1,0: 62:[66, 100] Operation: 28+72=100
Exploring Operation: 72-66=6, Resulting Numbers: [28, 6]
Generated Node #0,1,1: 62:[28, 6] Operation: 72-66=6
Exploring Operation: 66+28=94, Resulting Numbers: [72, 94]
Generated Node #0,1,2: 62:[72, 94] Operation: 66+28=94
Exploring Operation: 66-28=38, Resulting Numbers: [72, 38]
Generated Node #0,1,3: 62:[72, 38] Operation: 66-28=38
Exploring Operation: 72-28=44, Resulting Numbers: [66, 44]
Generated Node #0,1,4: 62:[66, 44] Operation: 72-28=44
Moving to Node #0,0
Current State: 62:[58, 28, 52], Operations: ['66-14=52']
Exploring Operation: 52-28=24, Resulting Numbers: [58, 24]
Generated Node #0,0,0: 62:[58, 24] Operation: 52-28=24
Exploring Operation: 28+52=80, Resulting Numbers: [58, 80]
Generated Node #0,0,1: 62:[58, 80] Operation: 28+52=80
Exploring Operation: 58+28=86, Resulting Numbers: [52, 86]
Generated Node #0,0,2: 62:[52, 86] Operation: 58+28=86
Exploring Operation: 58-52=6, Resulting Numbers: [28, 6]
Generated Node #0,0,3: 62:[28, 6] Operation: 58-52=6
Exploring Operation: 58-28=30, Resulting Numbers: [52, 30]
Generated Node #0,0,4: 62:[52, 30] Operation: 58-28=30
Moving to Node #0,2
Current State: 62:[66, 14, 30], Operations: ['58-28=30']
Exploring Operation: 66+14=80, Resulting Numbers: [30, 80]
Generated Node #0,2,0: 62:[30, 80] Operation: 66+14=80
Exploring Operation: 30-14=16, Resulting Numbers: [66, 16]
Generated Node #0,2,1: 62:[66, 16] Operation: 30-14=16
Exploring Operation: 14+30=44, Resulting Numbers: [66, 44]
Generated Node #0,2,2: 62:[66, 44] Operation: 14+30=44
Exploring Operation: 66-30=36, Resulting Numbers: [14, 36]
Generated Node #0,2,3: 62:[14, 36] Operation: 66-30=36
Exploring Operation: 66-14=52, Resulting Numbers: [30, 52]
Generated Node #0,2,4: 62:[30, 52] Operation: 66-14=52
Moving to Node #0,4
Current State: 62:[58, 66, 42], Operations: ['28+14=42']
Exploring Operation: 66-42=24, Resulting Numbers: [58, 24]
Generated Node #0,4,0: 62:[58, 24] Operation: 66-42=24
Exploring Operation: 66+42=108, Resulting Numbers: [58, 108]
Generated Node #0,4,1: 62:[58, 108] Operation: 66+42=108
Exploring Operation: 58-42=16, Resulting Numbers: [66, 16]
Generated Node #0,4,2: 62:[66, 16] Operation: 58-42=16
Exploring Operation: 66-58=8, Resulting Numbers: [42, 8]
Generated Node #0,4,3: 62:[42, 8] Operation: 66-58=8
Exploring Operation: 58+42=100, Resulting Numbers: [66, 100]
Generated Node #0,4,4: 62:[66, 100] Operation: 58+42=100
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[58, 24], Operations: ['28+14=42', '66-42=24']
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,62 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,62 unequal: No Solution
No 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: 62:[42, 8], Operations: ['28+14=42', '66-58=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,62 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,62 unequal: No Solution
No 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: 62:[66, 16], Operations: ['28+14=42', '58-42=16']
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,62 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,62 unequal: No Solution
No 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: 62:[66, 100], Operations: ['28+14=42', '58+42=100']
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 66+100=166, Resulting Numbers: [166]
166,62 unequal: No Solution
Exploring Operation: 66*100=6600, Resulting Numbers: [6600]
6600,62 unequal: No Solution
No 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: 62:[58, 108], Operations: ['28+14=42', '66+42=108']
Exploring Operation: 58*108=6264, Resulting Numbers: [6264]
6264,62 unequal: No Solution
Exploring Operation: 58+108=166, Resulting Numbers: [166]
166,62 unequal: No Solution
Exploring Operation: 108-58=50, Resulting Numbers: [50]
50,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 62:[28, 6], Operations: ['58+14=72', '72-66=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[28, 6], Operations: ['66-14=52', '58-52=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,62 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[58, 24], Operations: ['66-14=52', '52-28=24']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,62 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[52, 30], Operations: ['66-14=52', '58-28=30']
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[30, 52], Operations: ['58-28=30', '66-14=52']
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,62 unequal: No Solution
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[66, 44], Operations: ['58+14=72', '72-28=44']
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,62 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[14, 36], Operations: ['58-28=30', '66-30=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[72, 38], Operations: ['58+14=72', '66-28=38']
Exploring Operation: 72*38=2736, Resulting Numbers: [2736]
2736,62 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[66, 44], Operations: ['58-28=30', '14+30=44']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,62 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[66, 16], Operations: ['58-28=30', '30-14=16']
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,62 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[30, 80], Operations: ['58-28=30', '66+14=80']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 30+80=110, Resulting Numbers: [110]
110,62 unequal: No Solution
Exploring Operation: 30*80=2400, Resulting Numbers: [2400]
2400,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[58, 80], Operations: ['66-14=52', '28+52=80']
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,62 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[52, 86], Operations: ['66-14=52', '58+28=86']
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 52*86=4472, Resulting Numbers: [4472]
4472,62 unequal: No Solution
Exploring Operation: 52+86=138, Resulting Numbers: [138]
138,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[72, 94], Operations: ['58+14=72', '66+28=94']
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 72*94=6768, Resulting Numbers: [6768]
6768,62 unequal: No Solution
Exploring Operation: 72+94=166, Resulting Numbers: [166]
166,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[66, 100], Operations: ['58+14=72', '28+72=100']
Exploring Operation: 66+100=166, Resulting Numbers: [166]
166,62 unequal: No Solution
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 66*100=6600, Resulting Numbers: [6600]
6600,62 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
62,
91,
30
] | 96 | [
"62-27=35",
"91-30=61",
"35+61=96"
] | Current State: 96:[27, 62, 91, 30], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [91, 30, 35]
Generated Node #2: [91, 30, 35] from Operation: 62-27=35
Current State: 96:[91, 30, 35], Operations: ['62-27=35']
Exploring Operation: 91-30=61, Resulting Numbers: [35, 61]
Generated Node #3: [35, 61] from Operation: 91-30=61
Current State: 96:[35, 61], Operations: ['62-27=35', '91-30=61']
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[27, 62, 91, 30], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [27, 30, 29]
Generated Node #0,0: 96:[27, 30, 29] Operation: 91-62=29
Exploring Operation: 62-30=32, Resulting Numbers: [27, 91, 32]
Generated Node #0,1: 96:[27, 91, 32] Operation: 62-30=32
Moving to Node #0,0
Current State: 96:[27, 30, 29], Operations: ['91-62=29']
Exploring Operation: 29-27=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 96:[30, 2] Operation: 29-27=2
Exploring Operation: 30-27=3, Resulting Numbers: [29, 3]
Generated Node #0,0,1: 96:[29, 3] Operation: 30-27=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[30, 2], Operations: ['91-62=29', '29-27=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[29, 3], Operations: ['91-62=29', '30-27=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,96 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: 96:[27, 91, 32], Operations: ['62-30=32']
Exploring Operation: 91-32=59, Resulting Numbers: [27, 59]
Generated Node #0,1,0: 96:[27, 59] Operation: 91-32=59
Exploring Operation: 32-27=5, Resulting Numbers: [91, 5]
Generated Node #0,1,1: 96:[91, 5] Operation: 32-27=5
Moving to Node #0,1,1
Current State: 96:[91, 5], Operations: ['62-30=32', '32-27=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,96 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[27, 62, 91, 30], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [27, 91, 32]
Generated Node #0,1: 96:[27, 91, 32] Operation: 62-30=32
Moving to Node #0,1
Current State: 96:[27, 91, 32], Operations: ['62-30=32']
Exploring Operation: 32-27=5, Resulting Numbers: [91, 5]
Generated Node #0,1,1: 96:[91, 5] Operation: 32-27=5
Moving to Node #0,1,1
Current State: 96:[91, 5], Operations: ['62-30=32', '32-27=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
94,
92,
13,
32
] | 77 | [
"94-92=2",
"32*2=64",
"13+64=77"
] | Current State: 77:[94, 92, 13, 32], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [13, 32, 2]
Generated Node #2: [13, 32, 2] from Operation: 94-92=2
Current State: 77:[13, 32, 2], Operations: ['94-92=2']
Exploring Operation: 32*2=64, Resulting Numbers: [13, 64]
Generated Node #3: [13, 64] from Operation: 32*2=64
Current State: 77:[13, 64], Operations: ['94-92=2', '32*2=64']
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[94, 92, 13, 32], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [13, 32, 2]
Generated Node #0,0: 77:[13, 32, 2] Operation: 94-92=2
Exploring Operation: 94-32=62, Resulting Numbers: [92, 13, 62]
Generated Node #0,1: 77:[92, 13, 62] Operation: 94-32=62
Moving to Node #0,0
Current State: 77:[13, 32, 2], Operations: ['94-92=2']
Exploring Operation: 32/2=16, Resulting Numbers: [13, 16]
Generated Node #0,0,0: 77:[13, 16] Operation: 32/2=16
Exploring Operation: 32-13=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 77:[2, 19] Operation: 32-13=19
Moving to Node #0,1
Current State: 77:[92, 13, 62], Operations: ['94-32=62']
Exploring Operation: 92-13=79, Resulting Numbers: [62, 79]
Generated Node #0,1,0: 77:[62, 79] Operation: 92-13=79
Exploring Operation: 13+62=75, Resulting Numbers: [92, 75]
Generated Node #0,1,1: 77:[92, 75] Operation: 13+62=75
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[62, 79], Operations: ['94-32=62', '92-13=79']
Exploring Operation: 62+79=141, Resulting Numbers: [141]
141,77 unequal: No Solution
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,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:[92, 75], Operations: ['94-32=62', '13+62=75']
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 92+75=167, Resulting Numbers: [167]
167,77 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: 77:[13, 16], Operations: ['94-92=2', '32/2=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,77 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[2, 19], Operations: ['94-92=2', '32-13=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,77 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
38,
80,
69
] | 81 | [
"54+38=92",
"80-69=11",
"92-11=81"
] | Current State: 81:[54, 38, 80, 69], Operations: []
Exploring Operation: 54+38=92, Resulting Numbers: [80, 69, 92]
Generated Node #2: [80, 69, 92] from Operation: 54+38=92
Current State: 81:[80, 69, 92], Operations: ['54+38=92']
Exploring Operation: 80-69=11, Resulting Numbers: [92, 11]
Generated Node #3: [92, 11] from Operation: 80-69=11
Current State: 81:[92, 11], Operations: ['54+38=92', '80-69=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[54, 38, 80, 69], Operations: []
Exploring Operation: 69-54=15, Resulting Numbers: [38, 80, 15]
Generated Node #0,0: 81:[38, 80, 15] Operation: 69-54=15
Exploring Operation: 54-38=16, Resulting Numbers: [80, 69, 16]
Generated Node #0,1: 81:[80, 69, 16] Operation: 54-38=16
Moving to Node #0,0
Current State: 81:[38, 80, 15], Operations: ['69-54=15']
Exploring Operation: 38-15=23, Resulting Numbers: [80, 23]
Generated Node #0,0,0: 81:[80, 23] Operation: 38-15=23
Exploring Operation: 80-38=42, Resulting Numbers: [15, 42]
Generated Node #0,0,1: 81:[15, 42] Operation: 80-38=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[80, 23], Operations: ['69-54=15', '38-15=23']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[15, 42], Operations: ['69-54=15', '80-38=42']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[80, 69, 16], Operations: ['54-38=16']
Exploring Operation: 69+16=85, Resulting Numbers: [80, 85]
Generated Node #0,1,0: 81:[80, 85] Operation: 69+16=85
Exploring Operation: 80-69=11, Resulting Numbers: [16, 11]
Generated Node #0,1,1: 81:[16, 11] Operation: 80-69=11
Moving to Node #0,1,0
Current State: 81:[80, 85], Operations: ['54-38=16', '69+16=85']
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[16, 11], Operations: ['54-38=16', '80-69=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
21,
35,
85,
2
] | 49 | [
"21*85=1785",
"1785/35=51",
"51-2=49"
] | Current State: 49:[21, 35, 85, 2], Operations: []
Exploring Operation: 21*85=1785, Resulting Numbers: [35, 2, 1785]
Generated Node #2: [35, 2, 1785] from Operation: 21*85=1785
Current State: 49:[35, 2, 1785], Operations: ['21*85=1785']
Exploring Operation: 1785/35=51, Resulting Numbers: [2, 51]
Generated Node #3: [2, 51] from Operation: 1785/35=51
Current State: 49:[2, 51], Operations: ['21*85=1785', '1785/35=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[21, 35, 85, 2], Operations: []
Exploring Operation: 21*2=42, Resulting Numbers: [35, 85, 42]
Generated Node #0,0: 49:[35, 85, 42] Operation: 21*2=42
Exploring Operation: 85-21=64, Resulting Numbers: [35, 2, 64]
Generated Node #0,1: 49:[35, 2, 64] Operation: 85-21=64
Exploring Operation: 85-35=50, Resulting Numbers: [21, 2, 50]
Generated Node #0,2: 49:[21, 2, 50] Operation: 85-35=50
Exploring Operation: 21+35=56, Resulting Numbers: [85, 2, 56]
Generated Node #0,3: 49:[85, 2, 56] Operation: 21+35=56
Exploring Operation: 35-21=14, Resulting Numbers: [85, 2, 14]
Generated Node #0,4: 49:[85, 2, 14] Operation: 35-21=14
Moving to Node #0,2
Current State: 49:[21, 2, 50], Operations: ['85-35=50']
Exploring Operation: 21*2=42, Resulting Numbers: [50, 42]
Generated Node #0,2,0: 49:[50, 42] Operation: 21*2=42
Exploring Operation: 21-2=19, Resulting Numbers: [50, 19]
Generated Node #0,2,1: 49:[50, 19] Operation: 21-2=19
Exploring Operation: 50-2=48, Resulting Numbers: [21, 48]
Generated Node #0,2,2: 49:[21, 48] Operation: 50-2=48
Exploring Operation: 21+2=23, Resulting Numbers: [50, 23]
Generated Node #0,2,3: 49:[50, 23] Operation: 21+2=23
Exploring Operation: 2+50=52, Resulting Numbers: [21, 52]
Generated Node #0,2,4: 49:[21, 52] Operation: 2+50=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[50, 42], Operations: ['85-35=50', '21*2=42']
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,49 unequal: No Solution
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[50, 19], Operations: ['85-35=50', '21-2=19']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[21, 48], Operations: ['85-35=50', '50-2=48']
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[50, 23], Operations: ['85-35=50', '21+2=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Exploring Operation: 50*23=1150, Resulting Numbers: [1150]
1150,49 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[21, 52], Operations: ['85-35=50', '2+50=52']
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,49 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 49:[35, 2, 64], Operations: ['85-21=64']
Exploring Operation: 64-35=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 49:[2, 29] Operation: 64-35=29
Exploring Operation: 35+2=37, Resulting Numbers: [64, 37]
Generated Node #0,1,1: 49:[64, 37] Operation: 35+2=37
Exploring Operation: 64-2=62, Resulting Numbers: [35, 62]
Generated Node #0,1,2: 49:[35, 62] Operation: 64-2=62
Exploring Operation: 2+64=66, Resulting Numbers: [35, 66]
Generated Node #0,1,3: 49:[35, 66] Operation: 2+64=66
Exploring Operation: 35-2=33, Resulting Numbers: [64, 33]
Generated Node #0,1,4: 49:[64, 33] Operation: 35-2=33
Moving to Node #0,3
Current State: 49:[85, 2, 56], Operations: ['21+35=56']
Exploring Operation: 2+56=58, Resulting Numbers: [85, 58]
Generated Node #0,3,0: 49:[85, 58] Operation: 2+56=58
Exploring Operation: 85-56=29, Resulting Numbers: [2, 29]
Generated Node #0,3,1: 49:[2, 29] Operation: 85-56=29
Exploring Operation: 85+2=87, Resulting Numbers: [56, 87]
Generated Node #0,3,2: 49:[56, 87] Operation: 85+2=87
Exploring Operation: 85-2=83, Resulting Numbers: [56, 83]
Generated Node #0,3,3: 49:[56, 83] Operation: 85-2=83
Exploring Operation: 56-2=54, Resulting Numbers: [85, 54]
Generated Node #0,3,4: 49:[85, 54] Operation: 56-2=54
Moving to Node #0,4
Current State: 49:[85, 2, 14], Operations: ['35-21=14']
Exploring Operation: 85+2=87, Resulting Numbers: [14, 87]
Generated Node #0,4,0: 49:[14, 87] Operation: 85+2=87
Exploring Operation: 85-2=83, Resulting Numbers: [14, 83]
Generated Node #0,4,1: 49:[14, 83] Operation: 85-2=83
Exploring Operation: 85-14=71, Resulting Numbers: [2, 71]
Generated Node #0,4,2: 49:[2, 71] Operation: 85-14=71
Exploring Operation: 14-2=12, Resulting Numbers: [85, 12]
Generated Node #0,4,3: 49:[85, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [85, 7]
Generated Node #0,4,4: 49:[85, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[2, 71], Operations: ['35-21=14', '85-14=71']
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[85, 7], Operations: ['35-21=14', '14/2=7']
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,49 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[14, 83], Operations: ['35-21=14', '85-2=83']
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,49 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[85, 12], Operations: ['35-21=14', '14-2=12']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,49 unequal: No Solution
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[14, 87], Operations: ['35-21=14', '85+2=87']
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 14*87=1218, Resulting Numbers: [1218]
1218,49 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,49 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: 49:[35, 85, 42], Operations: ['21*2=42']
Exploring Operation: 35+42=77, Resulting Numbers: [85, 77]
Generated Node #0,0,0: 49:[85, 77] Operation: 35+42=77
Exploring Operation: 42-35=7, Resulting Numbers: [85, 7]
Generated Node #0,0,1: 49:[85, 7] Operation: 42-35=7
Exploring Operation: 35+85=120, Resulting Numbers: [42, 120]
Generated Node #0,0,2: 49:[42, 120] Operation: 35+85=120
Exploring Operation: 85-35=50, Resulting Numbers: [42, 50]
Generated Node #0,0,3: 49:[42, 50] Operation: 85-35=50
Exploring Operation: 85-42=43, Resulting Numbers: [35, 43]
Generated Node #0,0,4: 49:[35, 43] Operation: 85-42=43
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[42, 50], Operations: ['21*2=42', '85-35=50']
Exploring Operation: 42*50=2100, Resulting Numbers: [2100]
2100,49 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 49:[35, 43], Operations: ['21*2=42', '85-42=43']
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,49 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[85, 7], Operations: ['21*2=42', '42-35=7']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,49 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[85, 77], Operations: ['21*2=42', '35+42=77']
Exploring Operation: 85*77=6545, Resulting Numbers: [6545]
6545,49 unequal: No Solution
Exploring Operation: 85+77=162, Resulting Numbers: [162]
162,49 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[42, 120], Operations: ['21*2=42', '35+85=120']
Exploring Operation: 42*120=5040, Resulting Numbers: [5040]
5040,49 unequal: No Solution
Exploring Operation: 42+120=162, Resulting Numbers: [162]
162,49 unequal: No Solution
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 49:[2, 29], Operations: ['85-21=64', '64-35=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[2, 29], Operations: ['21+35=56', '85-56=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[35, 62], Operations: ['85-21=64', '64-2=62']
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,49 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[64, 37], Operations: ['85-21=64', '35+2=37']
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[64, 33], Operations: ['85-21=64', '35-2=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,49 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[35, 66], Operations: ['85-21=64', '2+64=66']
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,49 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[56, 83], Operations: ['21+35=56', '85-2=83']
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 56*83=4648, Resulting Numbers: [4648]
4648,49 unequal: No Solution
Exploring Operation: 56+83=139, Resulting Numbers: [139]
139,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[85, 54], Operations: ['21+35=56', '56-2=54']
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,49 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[85, 58], Operations: ['21+35=56', '2+56=58']
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 85+58=143, Resulting Numbers: [143]
143,49 unequal: No Solution
Exploring Operation: 85*58=4930, Resulting Numbers: [4930]
4930,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[56, 87], Operations: ['21+35=56', '85+2=87']
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 56*87=4872, Resulting Numbers: [4872]
4872,49 unequal: No Solution
Exploring Operation: 56+87=143, Resulting Numbers: [143]
143,49 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
62,
2,
20,
37
] | 43 | [
"62-2=60",
"37-20=17",
"60-17=43"
] | Current State: 43:[62, 2, 20, 37], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [20, 37, 60]
Generated Node #2: [20, 37, 60] from Operation: 62-2=60
Current State: 43:[20, 37, 60], Operations: ['62-2=60']
Exploring Operation: 37-20=17, Resulting Numbers: [60, 17]
Generated Node #3: [60, 17] from Operation: 37-20=17
Current State: 43:[60, 17], Operations: ['62-2=60', '37-20=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[62, 2, 20, 37], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [20, 37, 60]
Generated Node #0,0: 43:[20, 37, 60] Operation: 62-2=60
Exploring Operation: 2+20=22, Resulting Numbers: [62, 37, 22]
Generated Node #0,1: 43:[62, 37, 22] Operation: 2+20=22
Exploring Operation: 2+37=39, Resulting Numbers: [62, 20, 39]
Generated Node #0,2: 43:[62, 20, 39] Operation: 2+37=39
Exploring Operation: 62/2=31, Resulting Numbers: [20, 37, 31]
Generated Node #0,3: 43:[20, 37, 31] Operation: 62/2=31
Exploring Operation: 2*20=40, Resulting Numbers: [62, 37, 40]
Generated Node #0,4: 43:[62, 37, 40] Operation: 2*20=40
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[62, 37, 40], Operations: ['2*20=40']
Exploring Operation: 62-37=25, Resulting Numbers: [40, 25]
Generated Node #0,4,0: 43:[40, 25] Operation: 62-37=25
Exploring Operation: 62+37=99, Resulting Numbers: [40, 99]
Generated Node #0,4,1: 43:[40, 99] Operation: 62+37=99
Exploring Operation: 37+40=77, Resulting Numbers: [62, 77]
Generated Node #0,4,2: 43:[62, 77] Operation: 37+40=77
Exploring Operation: 40-37=3, Resulting Numbers: [62, 3]
Generated Node #0,4,3: 43:[62, 3] Operation: 40-37=3
Exploring Operation: 62-40=22, Resulting Numbers: [37, 22]
Generated Node #0,4,4: 43:[37, 22] Operation: 62-40=22
Moving to Node #0,4,0
Current State: 43:[40, 25], Operations: ['2*20=40', '62-37=25']
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,43 unequal: No Solution
Moving to Node #0,4,4
Current State: 43:[37, 22], Operations: ['2*20=40', '62-40=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,43 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[62, 77], Operations: ['2*20=40', '37+40=77']
Exploring Operation: 62*77=4774, Resulting Numbers: [4774]
4774,43 unequal: No Solution
Exploring Operation: 62+77=139, Resulting Numbers: [139]
139,43 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[40, 99], Operations: ['2*20=40', '62+37=99']
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 40+99=139, Resulting Numbers: [139]
139,43 unequal: No Solution
Exploring Operation: 40*99=3960, Resulting Numbers: [3960]
3960,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[62, 3], Operations: ['2*20=40', '40-37=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,43 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[20, 37, 31], Operations: ['62/2=31']
Exploring Operation: 20+37=57, Resulting Numbers: [31, 57]
Generated Node #0,3,0: 43:[31, 57] Operation: 20+37=57
Exploring Operation: 37-20=17, Resulting Numbers: [31, 17]
Generated Node #0,3,1: 43:[31, 17] Operation: 37-20=17
Exploring Operation: 20+31=51, Resulting Numbers: [37, 51]
Generated Node #0,3,2: 43:[37, 51] Operation: 20+31=51
Exploring Operation: 37+31=68, Resulting Numbers: [20, 68]
Generated Node #0,3,3: 43:[20, 68] Operation: 37+31=68
Exploring Operation: 31-20=11, Resulting Numbers: [37, 11]
Generated Node #0,3,4: 43:[37, 11] Operation: 31-20=11
Moving to Node #0,3,2
Current State: 43:[37, 51], Operations: ['62/2=31', '20+31=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,43 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[31, 57], Operations: ['62/2=31', '20+37=57']
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[31, 17], Operations: ['62/2=31', '37-20=17']
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,43 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Moving to Node #0,3,4
Current State: 43:[37, 11], Operations: ['62/2=31', '31-20=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[20, 68], Operations: ['62/2=31', '37+31=68']
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 20*68=1360, Resulting Numbers: [1360]
1360,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[20, 37, 60], Operations: ['62-2=60']
Exploring Operation: 20+60=80, Resulting Numbers: [37, 80]
Generated Node #0,0,0: 43:[37, 80] Operation: 20+60=80
Exploring Operation: 20+37=57, Resulting Numbers: [60, 57]
Generated Node #0,0,1: 43:[60, 57] Operation: 20+37=57
Exploring Operation: 60-37=23, Resulting Numbers: [20, 23]
Generated Node #0,0,2: 43:[20, 23] Operation: 60-37=23
Exploring Operation: 60-20=40, Resulting Numbers: [37, 40]
Generated Node #0,0,3: 43:[37, 40] Operation: 60-20=40
Exploring Operation: 37-20=17, Resulting Numbers: [60, 17]
Generated Node #0,0,4: 43:[60, 17] Operation: 37-20=17
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[37, 40], Operations: ['62-2=60', '60-20=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,43 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[60, 57], Operations: ['62-2=60', '20+37=57']
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[37, 80], Operations: ['62-2=60', '20+60=80']
Exploring Operation: 37*80=2960, Resulting Numbers: [2960]
2960,43 unequal: No Solution
Exploring Operation: 37+80=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[62, 2, 20, 37], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [20, 37, 60]
Generated Node #0,0: 43:[20, 37, 60] Operation: 62-2=60
Moving to Node #0,0
Current State: 43:[20, 37, 60], Operations: ['62-2=60']
Exploring Operation: 20+60=80, Resulting Numbers: [37, 80]
Generated Node #0,0,0: 43:[37, 80] Operation: 20+60=80
Moving to Node #0,0,0
Current State: 43:[37, 80], Operations: ['62-2=60', '20+60=80']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
19,
60,
34,
38
] | 96 | [
"38/19=2",
"60+34=94",
"2+94=96"
] | Current State: 96:[19, 60, 34, 38], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [60, 34, 2]
Generated Node #2: [60, 34, 2] from Operation: 38/19=2
Current State: 96:[60, 34, 2], Operations: ['38/19=2']
Exploring Operation: 60+34=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 60+34=94
Current State: 96:[2, 94], Operations: ['38/19=2', '60+34=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[19, 60, 34, 38], Operations: []
Exploring Operation: 60+34=94, Resulting Numbers: [19, 38, 94]
Generated Node #0,0: 96:[19, 38, 94] Operation: 60+34=94
Exploring Operation: 60-38=22, Resulting Numbers: [19, 34, 22]
Generated Node #0,1: 96:[19, 34, 22] Operation: 60-38=22
Exploring Operation: 60+38=98, Resulting Numbers: [19, 34, 98]
Generated Node #0,2: 96:[19, 34, 98] Operation: 60+38=98
Moving to Node #0,1
Current State: 96:[19, 34, 22], Operations: ['60-38=22']
Exploring Operation: 34-22=12, Resulting Numbers: [19, 12]
Generated Node #0,1,0: 96:[19, 12] Operation: 34-22=12
Exploring Operation: 34-19=15, Resulting Numbers: [22, 15]
Generated Node #0,1,1: 96:[22, 15] Operation: 34-19=15
Exploring Operation: 22-19=3, Resulting Numbers: [34, 3]
Generated Node #0,1,2: 96:[34, 3] Operation: 22-19=3
Moving to Node #0,2
Current State: 96:[19, 34, 98], Operations: ['60+38=98']
Exploring Operation: 19+34=53, Resulting Numbers: [98, 53]
Generated Node #0,2,0: 96:[98, 53] Operation: 19+34=53
Exploring Operation: 34-19=15, Resulting Numbers: [98, 15]
Generated Node #0,2,1: 96:[98, 15] Operation: 34-19=15
Exploring Operation: 98-19=79, Resulting Numbers: [34, 79]
Generated Node #0,2,2: 96:[34, 79] Operation: 98-19=79
Moving to Node #0,0
Current State: 96:[19, 38, 94], Operations: ['60+34=94']
Exploring Operation: 38/19=2, Resulting Numbers: [94, 2]
Generated Node #0,0,0: 96:[94, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [94, 19]
Generated Node #0,0,1: 96:[94, 19] Operation: 38-19=19
Exploring Operation: 19+38=57, Resulting Numbers: [94, 57]
Generated Node #0,0,2: 96:[94, 57] Operation: 19+38=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[94, 2], Operations: ['60+34=94', '38/19=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[19, 60, 34, 38], Operations: []
Exploring Operation: 60+34=94, Resulting Numbers: [19, 38, 94]
Generated Node #0,0: 96:[19, 38, 94] Operation: 60+34=94
Moving to Node #0,0
Current State: 96:[19, 38, 94], Operations: ['60+34=94']
Exploring Operation: 38/19=2, Resulting Numbers: [94, 2]
Generated Node #0,0,0: 96:[94, 2] Operation: 38/19=2
Moving to Node #0,0,0
Current State: 96:[94, 2], Operations: ['60+34=94', '38/19=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
14,
88,
24,
43
] | 83 | [
"14+88=102",
"43-24=19",
"102-19=83"
] | Current State: 83:[14, 88, 24, 43], Operations: []
Exploring Operation: 14+88=102, Resulting Numbers: [24, 43, 102]
Generated Node #2: [24, 43, 102] from Operation: 14+88=102
Current State: 83:[24, 43, 102], Operations: ['14+88=102']
Exploring Operation: 43-24=19, Resulting Numbers: [102, 19]
Generated Node #3: [102, 19] from Operation: 43-24=19
Current State: 83:[102, 19], Operations: ['14+88=102', '43-24=19']
Exploring Operation: 102-19=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[14, 88, 24, 43], Operations: []
Exploring Operation: 24+43=67, Resulting Numbers: [14, 88, 67]
Generated Node #0,0: 83:[14, 88, 67] Operation: 24+43=67
Exploring Operation: 14+43=57, Resulting Numbers: [88, 24, 57]
Generated Node #0,1: 83:[88, 24, 57] Operation: 14+43=57
Exploring Operation: 14+24=38, Resulting Numbers: [88, 43, 38]
Generated Node #0,2: 83:[88, 43, 38] Operation: 14+24=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[14, 88, 67], Operations: ['24+43=67']
Exploring Operation: 14+88=102, Resulting Numbers: [67, 102]
Generated Node #0,0,0: 83:[67, 102] Operation: 14+88=102
Exploring Operation: 88-14=74, Resulting Numbers: [67, 74]
Generated Node #0,0,1: 83:[67, 74] Operation: 88-14=74
Exploring Operation: 14+67=81, Resulting Numbers: [88, 81]
Generated Node #0,0,2: 83:[88, 81] Operation: 14+67=81
Moving to Node #0,0,2
Current State: 83:[88, 81], Operations: ['24+43=67', '14+67=81']
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,83 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[67, 74], Operations: ['24+43=67', '88-14=74']
Exploring Operation: 67+74=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 67*74=4958, Resulting Numbers: [4958]
4958,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[67, 102], Operations: ['24+43=67', '14+88=102']
Exploring Operation: 102-67=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 67+102=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 67*102=6834, Resulting Numbers: [6834]
6834,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:[88, 24, 57], Operations: ['14+43=57']
Exploring Operation: 88-24=64, Resulting Numbers: [57, 64]
Generated Node #0,1,0: 83:[57, 64] Operation: 88-24=64
Exploring Operation: 24+57=81, Resulting Numbers: [88, 81]
Generated Node #0,1,1: 83:[88, 81] Operation: 24+57=81
Exploring Operation: 88+24=112, Resulting Numbers: [57, 112]
Generated Node #0,1,2: 83:[57, 112] Operation: 88+24=112
Moving to Node #0,1,1
Current State: 83:[88, 81], Operations: ['14+43=57', '24+57=81']
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[57, 64], Operations: ['14+43=57', '88-24=64']
Exploring Operation: 57*64=3648, Resulting Numbers: [3648]
3648,83 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 57+64=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[57, 112], Operations: ['14+43=57', '88+24=112']
Exploring Operation: 57+112=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 57*112=6384, Resulting Numbers: [6384]
6384,83 unequal: No Solution
Exploring Operation: 112-57=55, Resulting Numbers: [55]
55,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:[88, 43, 38], Operations: ['14+24=38']
Exploring Operation: 43+38=81, Resulting Numbers: [88, 81]
Generated Node #0,2,0: 83:[88, 81] Operation: 43+38=81
Exploring Operation: 88-43=45, Resulting Numbers: [38, 45]
Generated Node #0,2,1: 83:[38, 45] Operation: 88-43=45
Exploring Operation: 88-38=50, Resulting Numbers: [43, 50]
Generated Node #0,2,2: 83:[43, 50] Operation: 88-38=50
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[88, 81], Operations: ['14+24=38', '43+38=81']
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,83 unequal: No Solution
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,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:[43, 50], Operations: ['14+24=38', '88-38=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,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:[38, 45], Operations: ['14+24=38', '88-43=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[14, 88, 24, 43], Operations: []
Exploring Operation: 14+24=38, Resulting Numbers: [88, 43, 38]
Generated Node #0,2: 83:[88, 43, 38] Operation: 14+24=38
Moving to Node #0,2
Current State: 83:[88, 43, 38], Operations: ['14+24=38']
Exploring Operation: 88-43=45, Resulting Numbers: [38, 45]
Generated Node #0,2,1: 83:[38, 45] Operation: 88-43=45
Moving to Node #0,2,1
Current State: 83:[38, 45], Operations: ['14+24=38', '88-43=45']
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_3 | sum_heuristic |
[
98,
5,
84,
80
] | 97 | [
"98-5=93",
"84-80=4",
"93+4=97"
] | Current State: 97:[98, 5, 84, 80], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [84, 80, 93]
Generated Node #2: [84, 80, 93] from Operation: 98-5=93
Current State: 97:[84, 80, 93], Operations: ['98-5=93']
Exploring Operation: 84-80=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 84-80=4
Current State: 97:[93, 4], Operations: ['98-5=93', '84-80=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[98, 5, 84, 80], Operations: []
Exploring Operation: 5+84=89, Resulting Numbers: [98, 80, 89]
Generated Node #0,0: 97:[98, 80, 89] Operation: 5+84=89
Exploring Operation: 5+80=85, Resulting Numbers: [98, 84, 85]
Generated Node #0,1: 97:[98, 84, 85] Operation: 5+80=85
Moving to Node #0,0
Current State: 97:[98, 80, 89], Operations: ['5+84=89']
Exploring Operation: 98-80=18, Resulting Numbers: [89, 18]
Generated Node #0,0,0: 97:[89, 18] Operation: 98-80=18
Exploring Operation: 80+89=169, Resulting Numbers: [98, 169]
Generated Node #0,0,1: 97:[98, 169] Operation: 80+89=169
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[98, 169], Operations: ['5+84=89', '80+89=169']
Exploring Operation: 98+169=267, Resulting Numbers: [267]
267,97 unequal: No Solution
Exploring Operation: 169-98=71, Resulting Numbers: [71]
71,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:[89, 18], Operations: ['5+84=89', '98-80=18']
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,97 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: 97:[98, 84, 85], Operations: ['5+80=85']
Exploring Operation: 84+85=169, Resulting Numbers: [98, 169]
Generated Node #0,1,0: 97:[98, 169] Operation: 84+85=169
Exploring Operation: 98-84=14, Resulting Numbers: [85, 14]
Generated Node #0,1,1: 97:[85, 14] Operation: 98-84=14
Moving to Node #0,1,0
Current State: 97:[98, 169], Operations: ['5+80=85', '84+85=169']
Exploring Operation: 98+169=267, Resulting Numbers: [267]
267,97 unequal: No Solution
Exploring Operation: 169-98=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[85, 14], Operations: ['5+80=85', '98-84=14']
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,97 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
86,
27,
34
] | 90 | [
"86+34=120",
"27*120=3240",
"3240/36=90"
] | Current State: 90:[36, 86, 27, 34], Operations: []
Exploring Operation: 86+34=120, Resulting Numbers: [36, 27, 120]
Generated Node #2: [36, 27, 120] from Operation: 86+34=120
Current State: 90:[36, 27, 120], Operations: ['86+34=120']
Exploring Operation: 27*120=3240, Resulting Numbers: [36, 3240]
Generated Node #3: [36, 3240] from Operation: 27*120=3240
Current State: 90:[36, 3240], Operations: ['86+34=120', '27*120=3240']
Exploring Operation: 3240/36=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[36, 86, 27, 34], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [86, 27, 2]
Generated Node #0,0: 90:[86, 27, 2] Operation: 36-34=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[86, 27, 2], Operations: ['36-34=2']
Exploring Operation: 86+2=88, Resulting Numbers: [27, 88]
Generated Node #0,0,0: 90:[27, 88] Operation: 86+2=88
Moving to Node #0,0,0
Current State: 90:[27, 88], Operations: ['36-34=2', '86+2=88']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
2,
53,
62
] | 40 | [
"62-36=26",
"26/2=13",
"53-13=40"
] | Current State: 40:[36, 2, 53, 62], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [2, 53, 26]
Generated Node #2: [2, 53, 26] from Operation: 62-36=26
Current State: 40:[2, 53, 26], Operations: ['62-36=26']
Exploring Operation: 26/2=13, Resulting Numbers: [53, 13]
Generated Node #3: [53, 13] from Operation: 26/2=13
Current State: 40:[53, 13], Operations: ['62-36=26', '26/2=13']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[36, 2, 53, 62], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [2, 53, 26]
Generated Node #0,0: 40:[2, 53, 26] Operation: 62-36=26
Exploring Operation: 62-53=9, Resulting Numbers: [36, 2, 9]
Generated Node #0,1: 40:[36, 2, 9] Operation: 62-53=9
Moving to Node #0,1
Current State: 40:[36, 2, 9], Operations: ['62-53=9']
Exploring Operation: 36/9=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 40:[2, 4] Operation: 36/9=4
Exploring Operation: 36+2=38, Resulting Numbers: [9, 38]
Generated Node #0,1,1: 40:[9, 38] Operation: 36+2=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[2, 4], Operations: ['62-53=9', '36/9=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 4-2=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,1,1
Current State: 40:[9, 38], Operations: ['62-53=9', '36+2=38']
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,40 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,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:[2, 53, 26], Operations: ['62-36=26']
Exploring Operation: 26/2=13, Resulting Numbers: [53, 13]
Generated Node #0,0,0: 40:[53, 13] Operation: 26/2=13
Exploring Operation: 53-26=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 40:[2, 27] Operation: 53-26=27
Moving to Node #0,0,1
Current State: 40:[2, 27], Operations: ['62-36=26', '53-26=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[53, 13], Operations: ['62-36=26', '26/2=13']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[36, 2, 53, 62], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [2, 53, 26]
Generated Node #0,0: 40:[2, 53, 26] Operation: 62-36=26
Moving to Node #0,0
Current State: 40:[2, 53, 26], Operations: ['62-36=26']
Exploring Operation: 26/2=13, Resulting Numbers: [53, 13]
Generated Node #0,0,0: 40:[53, 13] Operation: 26/2=13
Moving to Node #0,0,0
Current State: 40:[53, 13], Operations: ['62-36=26', '26/2=13']
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
55,
55,
4,
75
] | 75 | [
"55-55=0",
"4*0=0",
"75+0=75"
] | Current State: 75:[55, 55, 4, 75], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [4, 75, 0]
Generated Node #2: [4, 75, 0] from Operation: 55-55=0
Current State: 75:[4, 75, 0], Operations: ['55-55=0']
Exploring Operation: 4*0=0, Resulting Numbers: [75, 0]
Generated Node #3: [75, 0] from Operation: 4*0=0
Current State: 75:[75, 0], Operations: ['55-55=0', '4*0=0']
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[55, 55, 4, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [55, 4, 20]
Generated Node #0,0: 75:[55, 4, 20] Operation: 75-55=20
Exploring Operation: 55-55=0, Resulting Numbers: [4, 75, 0]
Generated Node #0,1: 75:[4, 75, 0] Operation: 55-55=0
Exploring Operation: 55/55=1, Resulting Numbers: [4, 75, 1]
Generated Node #0,2: 75:[4, 75, 1] Operation: 55/55=1
Exploring Operation: 75-55=20, Resulting Numbers: [55, 4, 20]
Generated Node #0,3: 75:[55, 4, 20] Operation: 75-55=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[4, 75, 1], Operations: ['55/55=1']
Exploring Operation: 4-1=3, Resulting Numbers: [75, 3]
Generated Node #0,2,0: 75:[75, 3] Operation: 4-1=3
Exploring Operation: 4+1=5, Resulting Numbers: [75, 5]
Generated Node #0,2,1: 75:[75, 5] Operation: 4+1=5
Exploring Operation: 4*1=4, Resulting Numbers: [75, 4]
Generated Node #0,2,2: 75:[75, 4] Operation: 4*1=4
Exploring Operation: 4/1=4, Resulting Numbers: [75, 4]
Generated Node #0,2,3: 75:[75, 4] Operation: 4/1=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[75, 3], Operations: ['55/55=1', '4-1=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,75 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[75, 5], Operations: ['55/55=1', '4+1=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,75 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[75, 4], Operations: ['55/55=1', '4*1=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[75, 4], Operations: ['55/55=1', '4/1=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[4, 75, 0], Operations: ['55-55=0']
Exploring Operation: 75+0=75, Resulting Numbers: [4, 75]
Generated Node #0,1,0: 75:[4, 75] Operation: 75+0=75
Exploring Operation: 75-0=75, Resulting Numbers: [4, 75]
Generated Node #0,1,1: 75:[4, 75] Operation: 75-0=75
Exploring Operation: 4-0=4, Resulting Numbers: [75, 4]
Generated Node #0,1,2: 75:[75, 4] Operation: 4-0=4
Exploring Operation: 4+0=4, Resulting Numbers: [75, 4]
Generated Node #0,1,3: 75:[75, 4] Operation: 4+0=4
Moving to Node #0,1,0
Current State: 75:[4, 75], Operations: ['55-55=0', '75+0=75']
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[75, 4], Operations: ['55-55=0', '4-0=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[4, 75], Operations: ['55-55=0', '75-0=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[75, 4], Operations: ['55-55=0', '4+0=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[55, 4, 20], Operations: ['75-55=20']
Exploring Operation: 55-20=35, Resulting Numbers: [4, 35]
Generated Node #0,0,0: 75:[4, 35] Operation: 55-20=35
Exploring Operation: 55+4=59, Resulting Numbers: [20, 59]
Generated Node #0,0,1: 75:[20, 59] Operation: 55+4=59
Exploring Operation: 20/4=5, Resulting Numbers: [55, 5]
Generated Node #0,0,2: 75:[55, 5] Operation: 20/4=5
Exploring Operation: 55+20=75, Resulting Numbers: [4, 75]
Generated Node #0,0,3: 75:[4, 75] Operation: 55+20=75
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[4, 75], Operations: ['75-55=20', '55+20=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[4, 35], Operations: ['75-55=20', '55-20=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,75 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[55, 5], Operations: ['75-55=20', '20/4=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,75 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[20, 59], Operations: ['75-55=20', '55+4=59']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 20*59=1180, Resulting Numbers: [1180]
1180,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[55, 4, 20], Operations: ['75-55=20']
Exploring Operation: 55+4=59, Resulting Numbers: [20, 59]
Generated Node #0,3,0: 75:[20, 59] Operation: 55+4=59
Exploring Operation: 55+20=75, Resulting Numbers: [4, 75]
Generated Node #0,3,1: 75:[4, 75] Operation: 55+20=75
Exploring Operation: 20/4=5, Resulting Numbers: [55, 5]
Generated Node #0,3,2: 75:[55, 5] Operation: 20/4=5
Exploring Operation: 55-20=35, Resulting Numbers: [4, 35]
Generated Node #0,3,3: 75:[4, 35] Operation: 55-20=35
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[4, 75], Operations: ['75-55=20', '55+20=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[4, 35], Operations: ['75-55=20', '55-20=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,75 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[55, 5], Operations: ['75-55=20', '20/4=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[20, 59], Operations: ['75-55=20', '55+4=59']
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 20*59=1180, Resulting Numbers: [1180]
1180,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
31,
95,
50,
61
] | 57 | [
"61-31=30",
"95*30=2850",
"2850/50=57"
] | Current State: 57:[31, 95, 50, 61], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [95, 50, 30]
Generated Node #2: [95, 50, 30] from Operation: 61-31=30
Current State: 57:[95, 50, 30], Operations: ['61-31=30']
Exploring Operation: 95*30=2850, Resulting Numbers: [50, 2850]
Generated Node #3: [50, 2850] from Operation: 95*30=2850
Current State: 57:[50, 2850], Operations: ['61-31=30', '95*30=2850']
Exploring Operation: 2850/50=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[31, 95, 50, 61], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [31, 61, 45]
Generated Node #0,0: 57:[31, 61, 45] Operation: 95-50=45
Exploring Operation: 50-31=19, Resulting Numbers: [95, 61, 19]
Generated Node #0,1: 57:[95, 61, 19] Operation: 50-31=19
Exploring Operation: 95-61=34, Resulting Numbers: [31, 50, 34]
Generated Node #0,2: 57:[31, 50, 34] Operation: 95-61=34
Exploring Operation: 95-31=64, Resulting Numbers: [50, 61, 64]
Generated Node #0,3: 57:[50, 61, 64] Operation: 95-31=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[50, 61, 64], Operations: ['95-31=64']
Exploring Operation: 50+61=111, Resulting Numbers: [64, 111]
Generated Node #0,3,0: 57:[64, 111] Operation: 50+61=111
Exploring Operation: 61-50=11, Resulting Numbers: [64, 11]
Generated Node #0,3,1: 57:[64, 11] Operation: 61-50=11
Exploring Operation: 64-50=14, Resulting Numbers: [61, 14]
Generated Node #0,3,2: 57:[61, 14] Operation: 64-50=14
Exploring Operation: 64-61=3, Resulting Numbers: [50, 3]
Generated Node #0,3,3: 57:[50, 3] Operation: 64-61=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[50, 3], Operations: ['95-31=64', '64-61=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[61, 14], Operations: ['95-31=64', '64-50=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,57 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[64, 11], Operations: ['95-31=64', '61-50=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[64, 111], Operations: ['95-31=64', '50+61=111']
Exploring Operation: 64+111=175, Resulting Numbers: [175]
175,57 unequal: No Solution
Exploring Operation: 64*111=7104, Resulting Numbers: [7104]
7104,57 unequal: No Solution
Exploring Operation: 111-64=47, Resulting Numbers: [47]
47,57 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: 57:[31, 61, 45], Operations: ['95-50=45']
Exploring Operation: 61-45=16, Resulting Numbers: [31, 16]
Generated Node #0,0,0: 57:[31, 16] Operation: 61-45=16
Exploring Operation: 45-31=14, Resulting Numbers: [61, 14]
Generated Node #0,0,1: 57:[61, 14] Operation: 45-31=14
Exploring Operation: 31+45=76, Resulting Numbers: [61, 76]
Generated Node #0,0,2: 57:[61, 76] Operation: 31+45=76
Exploring Operation: 61-31=30, Resulting Numbers: [45, 30]
Generated Node #0,0,3: 57:[45, 30] Operation: 61-31=30
Moving to Node #0,0,1
Current State: 57:[61, 14], Operations: ['95-50=45', '45-31=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,57 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[31, 16], Operations: ['95-50=45', '61-45=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[45, 30], Operations: ['95-50=45', '61-31=30']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[61, 76], Operations: ['95-50=45', '31+45=76']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,57 unequal: No Solution
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[31, 50, 34], Operations: ['95-61=34']
Exploring Operation: 50-31=19, Resulting Numbers: [34, 19]
Generated Node #0,2,0: 57:[34, 19] Operation: 50-31=19
Exploring Operation: 34-31=3, Resulting Numbers: [50, 3]
Generated Node #0,2,1: 57:[50, 3] Operation: 34-31=3
Exploring Operation: 31+34=65, Resulting Numbers: [50, 65]
Generated Node #0,2,2: 57:[50, 65] Operation: 31+34=65
Exploring Operation: 50-34=16, Resulting Numbers: [31, 16]
Generated Node #0,2,3: 57:[31, 16] Operation: 50-34=16
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[50, 3], Operations: ['95-61=34', '34-31=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[34, 19], Operations: ['95-61=34', '50-31=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,57 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[50, 65], Operations: ['95-61=34', '31+34=65']
Exploring Operation: 50+65=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 50*65=3250, Resulting Numbers: [3250]
3250,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[31, 16], Operations: ['95-61=34', '50-34=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,57 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: 57:[95, 61, 19], Operations: ['50-31=19']
Exploring Operation: 95-19=76, Resulting Numbers: [61, 76]
Generated Node #0,1,0: 57:[61, 76] Operation: 95-19=76
Exploring Operation: 95/19=5, Resulting Numbers: [61, 5]
Generated Node #0,1,1: 57:[61, 5] Operation: 95/19=5
Exploring Operation: 61-19=42, Resulting Numbers: [95, 42]
Generated Node #0,1,2: 57:[95, 42] Operation: 61-19=42
Exploring Operation: 95-61=34, Resulting Numbers: [19, 34]
Generated Node #0,1,3: 57:[19, 34] Operation: 95-61=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[61, 5], Operations: ['50-31=19', '95/19=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[19, 34], Operations: ['50-31=19', '95-61=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[61, 76], Operations: ['50-31=19', '95-19=76']
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,57 unequal: No Solution
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,57 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[95, 42], Operations: ['50-31=19', '61-19=42']
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,57 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,57 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 |
[
27,
63,
2,
13
] | 59 | [
"63-27=36",
"2*36=72",
"72-13=59"
] | Current State: 59:[27, 63, 2, 13], Operations: []
Exploring Operation: 63-27=36, Resulting Numbers: [2, 13, 36]
Generated Node #2: [2, 13, 36] from Operation: 63-27=36
Current State: 59:[2, 13, 36], Operations: ['63-27=36']
Exploring Operation: 2*36=72, Resulting Numbers: [13, 72]
Generated Node #3: [13, 72] from Operation: 2*36=72
Current State: 59:[13, 72], Operations: ['63-27=36', '2*36=72']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[27, 63, 2, 13], Operations: []
Exploring Operation: 27+2=29, Resulting Numbers: [63, 13, 29]
Generated Node #0,0: 59:[63, 13, 29] Operation: 27+2=29
Exploring Operation: 27*2=54, Resulting Numbers: [63, 13, 54]
Generated Node #0,1: 59:[63, 13, 54] Operation: 27*2=54
Exploring Operation: 2*13=26, Resulting Numbers: [27, 63, 26]
Generated Node #0,2: 59:[27, 63, 26] Operation: 2*13=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[63, 13, 54], Operations: ['27*2=54']
Exploring Operation: 13+54=67, Resulting Numbers: [63, 67]
Generated Node #0,1,0: 59:[63, 67] Operation: 13+54=67
Exploring Operation: 63-13=50, Resulting Numbers: [54, 50]
Generated Node #0,1,1: 59:[54, 50] Operation: 63-13=50
Exploring Operation: 63+13=76, Resulting Numbers: [54, 76]
Generated Node #0,1,2: 59:[54, 76] Operation: 63+13=76
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[63, 67], Operations: ['27*2=54', '13+54=67']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[54, 50], Operations: ['27*2=54', '63-13=50']
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,59 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,59 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[54, 76], Operations: ['27*2=54', '63+13=76']
Exploring Operation: 54*76=4104, Resulting Numbers: [4104]
4104,59 unequal: No Solution
Exploring Operation: 76-54=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 54+76=130, Resulting Numbers: [130]
130,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[27, 63, 26], Operations: ['2*13=26']
Exploring Operation: 63-26=37, Resulting Numbers: [27, 37]
Generated Node #0,2,0: 59:[27, 37] Operation: 63-26=37
Exploring Operation: 27+26=53, Resulting Numbers: [63, 53]
Generated Node #0,2,1: 59:[63, 53] Operation: 27+26=53
Exploring Operation: 63-27=36, Resulting Numbers: [26, 36]
Generated Node #0,2,2: 59:[26, 36] Operation: 63-27=36
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[63, 53], Operations: ['2*13=26', '27+26=53']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[27, 37], Operations: ['2*13=26', '63-26=37']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[26, 36], Operations: ['2*13=26', '63-27=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,59 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[63, 13, 29], Operations: ['27+2=29']
Exploring Operation: 63-13=50, Resulting Numbers: [29, 50]
Generated Node #0,0,0: 59:[29, 50] Operation: 63-13=50
Exploring Operation: 63+13=76, Resulting Numbers: [29, 76]
Generated Node #0,0,1: 59:[29, 76] Operation: 63+13=76
Exploring Operation: 13+29=42, Resulting Numbers: [63, 42]
Generated Node #0,0,2: 59:[63, 42] Operation: 13+29=42
Moving to Node #0,0,2
Current State: 59:[63, 42], Operations: ['27+2=29', '13+29=42']
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[29, 50], Operations: ['27+2=29', '63-13=50']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[29, 76], Operations: ['27+2=29', '63+13=76']
Exploring Operation: 29*76=2204, Resulting Numbers: [2204]
2204,59 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 29+76=105, Resulting Numbers: [105]
105,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
78,
89,
13,
71
] | 24 | [
"78/13=6",
"89-71=18",
"6+18=24"
] | Current State: 24:[78, 89, 13, 71], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [89, 71, 6]
Generated Node #2: [89, 71, 6] from Operation: 78/13=6
Current State: 24:[89, 71, 6], Operations: ['78/13=6']
Exploring Operation: 89-71=18, Resulting Numbers: [6, 18]
Generated Node #3: [6, 18] from Operation: 89-71=18
Current State: 24:[6, 18], Operations: ['78/13=6', '89-71=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[78, 89, 13, 71], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [13, 71, 11]
Generated Node #0,0: 24:[13, 71, 11] Operation: 89-78=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[13, 71, 11], Operations: ['89-78=11']
Exploring Operation: 71-13=58, Resulting Numbers: [11, 58]
Generated Node #0,0,0: 24:[11, 58] Operation: 71-13=58
Moving to Node #0,0,0
Current State: 24:[11, 58], Operations: ['89-78=11', '71-13=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,24 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 |
[
85,
8,
80,
71
] | 85 | [
"80-8=72",
"72-71=1",
"85*1=85"
] | Current State: 85:[85, 8, 80, 71], Operations: []
Exploring Operation: 80-8=72, Resulting Numbers: [85, 71, 72]
Generated Node #2: [85, 71, 72] from Operation: 80-8=72
Current State: 85:[85, 71, 72], Operations: ['80-8=72']
Exploring Operation: 72-71=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 72-71=1
Current State: 85:[85, 1], Operations: ['80-8=72', '72-71=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[85, 8, 80, 71], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [8, 71, 5]
Generated Node #0,0: 85:[8, 71, 5] Operation: 85-80=5
Exploring Operation: 8+80=88, Resulting Numbers: [85, 71, 88]
Generated Node #0,1: 85:[85, 71, 88] Operation: 8+80=88
Exploring Operation: 8+71=79, Resulting Numbers: [85, 80, 79]
Generated Node #0,2: 85:[85, 80, 79] Operation: 8+71=79
Exploring Operation: 80-71=9, Resulting Numbers: [85, 8, 9]
Generated Node #0,3: 85:[85, 8, 9] Operation: 80-71=9
Exploring Operation: 85-71=14, Resulting Numbers: [8, 80, 14]
Generated Node #0,4: 85:[8, 80, 14] Operation: 85-71=14
Moving to Node #0,3
Current State: 85:[85, 8, 9], Operations: ['80-71=9']
Exploring Operation: 85+9=94, Resulting Numbers: [8, 94]
Generated Node #0,3,0: 85:[8, 94] Operation: 85+9=94
Exploring Operation: 85+8=93, Resulting Numbers: [9, 93]
Generated Node #0,3,1: 85:[9, 93] Operation: 85+8=93
Exploring Operation: 85-8=77, Resulting Numbers: [9, 77]
Generated Node #0,3,2: 85:[9, 77] Operation: 85-8=77
Exploring Operation: 9-8=1, Resulting Numbers: [85, 1]
Generated Node #0,3,3: 85:[85, 1] Operation: 9-8=1
Exploring Operation: 8+9=17, Resulting Numbers: [85, 17]
Generated Node #0,3,4: 85:[85, 17] Operation: 8+9=17
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 85:[85, 17], Operations: ['80-71=9', '8+9=17']
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Exploring Operation: 85*17=1445, Resulting Numbers: [1445]
1445,85 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,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,3,3
Current State: 85:[85, 1], Operations: ['80-71=9', '9-8=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[85, 8, 80, 71], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [85, 8, 9]
Generated Node #0,3: 85:[85, 8, 9] Operation: 80-71=9
Moving to Node #0,3
Current State: 85:[85, 8, 9], Operations: ['80-71=9']
Exploring Operation: 9-8=1, Resulting Numbers: [85, 1]
Generated Node #0,3,3: 85:[85, 1] Operation: 9-8=1
Moving to Node #0,3,3
Current State: 85:[85, 1], Operations: ['80-71=9', '9-8=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
10,
88,
90,
99
] | 91 | [
"10+88=98",
"90+99=189",
"189-98=91"
] | Current State: 91:[10, 88, 90, 99], Operations: []
Exploring Operation: 10+88=98, Resulting Numbers: [90, 99, 98]
Generated Node #2: [90, 99, 98] from Operation: 10+88=98
Current State: 91:[90, 99, 98], Operations: ['10+88=98']
Exploring Operation: 90+99=189, Resulting Numbers: [98, 189]
Generated Node #3: [98, 189] from Operation: 90+99=189
Current State: 91:[98, 189], Operations: ['10+88=98', '90+99=189']
Exploring Operation: 189-98=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[10, 88, 90, 99], Operations: []
Exploring Operation: 99-10=89, Resulting Numbers: [88, 90, 89]
Generated Node #0,0: 91:[88, 90, 89] Operation: 99-10=89
Exploring Operation: 90/10=9, Resulting Numbers: [88, 99, 9]
Generated Node #0,1: 91:[88, 99, 9] Operation: 90/10=9
Exploring Operation: 99-90=9, Resulting Numbers: [10, 88, 9]
Generated Node #0,2: 91:[10, 88, 9] Operation: 99-90=9
Exploring Operation: 99-88=11, Resulting Numbers: [10, 90, 11]
Generated Node #0,3: 91:[10, 90, 11] Operation: 99-88=11
Moving to Node #0,0
Current State: 91:[88, 90, 89], Operations: ['99-10=89']
Exploring Operation: 88+89=177, Resulting Numbers: [90, 177]
Generated Node #0,0,0: 91:[90, 177] Operation: 88+89=177
Exploring Operation: 90-89=1, Resulting Numbers: [88, 1]
Generated Node #0,0,1: 91:[88, 1] Operation: 90-89=1
Exploring Operation: 90-88=2, Resulting Numbers: [89, 2]
Generated Node #0,0,2: 91:[89, 2] Operation: 90-88=2
Exploring Operation: 89-88=1, Resulting Numbers: [90, 1]
Generated Node #0,0,3: 91:[90, 1] Operation: 89-88=1
Moving to Node #0,3
Current State: 91:[10, 90, 11], Operations: ['99-88=11']
Exploring Operation: 10+11=21, Resulting Numbers: [90, 21]
Generated Node #0,3,0: 91:[90, 21] Operation: 10+11=21
Exploring Operation: 11-10=1, Resulting Numbers: [90, 1]
Generated Node #0,3,1: 91:[90, 1] Operation: 11-10=1
Exploring Operation: 90/10=9, Resulting Numbers: [11, 9]
Generated Node #0,3,2: 91:[11, 9] Operation: 90/10=9
Exploring Operation: 10+90=100, Resulting Numbers: [11, 100]
Generated Node #0,3,3: 91:[11, 100] Operation: 10+90=100
Moving to Node #0,2
Current State: 91:[10, 88, 9], Operations: ['99-90=9']
Exploring Operation: 10+9=19, Resulting Numbers: [88, 19]
Generated Node #0,2,0: 91:[88, 19] Operation: 10+9=19
Exploring Operation: 10+88=98, Resulting Numbers: [9, 98]
Generated Node #0,2,1: 91:[9, 98] Operation: 10+88=98
Exploring Operation: 10*9=90, Resulting Numbers: [88, 90]
Generated Node #0,2,2: 91:[88, 90] Operation: 10*9=90
Exploring Operation: 10-9=1, Resulting Numbers: [88, 1]
Generated Node #0,2,3: 91:[88, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[88, 90], Operations: ['99-90=9', '10*9=90']
Exploring Operation: 88*90=7920, Resulting Numbers: [7920]
7920,91 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 88+90=178, Resulting Numbers: [178]
178,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[88, 19], Operations: ['99-90=9', '10+9=19']
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,91 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[9, 98], Operations: ['99-90=9', '10+88=98']
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 9*98=882, Resulting Numbers: [882]
882,91 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[88, 1], Operations: ['99-90=9', '10-9=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,91 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: 91:[88, 99, 9], Operations: ['90/10=9']
Exploring Operation: 99-88=11, Resulting Numbers: [9, 11]
Generated Node #0,1,0: 91:[9, 11] Operation: 99-88=11
Exploring Operation: 99/9=11, Resulting Numbers: [88, 11]
Generated Node #0,1,1: 91:[88, 11] Operation: 99/9=11
Exploring Operation: 88+9=97, Resulting Numbers: [99, 97]
Generated Node #0,1,2: 91:[99, 97] Operation: 88+9=97
Exploring Operation: 99-9=90, Resulting Numbers: [88, 90]
Generated Node #0,1,3: 91:[88, 90] Operation: 99-9=90
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[9, 11], Operations: ['90/10=9', '99-88=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[88, 90], Operations: ['90/10=9', '99-9=90']
Exploring Operation: 88+90=178, Resulting Numbers: [178]
178,91 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 88*90=7920, Resulting Numbers: [7920]
7920,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[88, 11], Operations: ['90/10=9', '99/9=11']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[99, 97], Operations: ['90/10=9', '88+9=97']
Exploring Operation: 99*97=9603, Resulting Numbers: [9603]
9603,91 unequal: No Solution
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 99+97=196, Resulting Numbers: [196]
196,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 91:[11, 9], Operations: ['99-88=11', '90/10=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[90, 1], Operations: ['99-88=11', '11-10=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[10, 88, 90, 99], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [10, 90, 11]
Generated Node #0,3: 91:[10, 90, 11] Operation: 99-88=11
Moving to Node #0,3
Current State: 91:[10, 90, 11], Operations: ['99-88=11']
Exploring Operation: 11-10=1, Resulting Numbers: [90, 1]
Generated Node #0,3,1: 91:[90, 1] Operation: 11-10=1
Moving to Node #0,3,1
Current State: 91:[90, 1], Operations: ['99-88=11', '11-10=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.950521 | hs_4 | mult_heuristic |
[
62,
49,
69,
73
] | 80 | [
"69-62=7",
"49/7=7",
"73+7=80"
] | Current State: 80:[62, 49, 69, 73], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [49, 73, 7]
Generated Node #2: [49, 73, 7] from Operation: 69-62=7
Current State: 80:[49, 73, 7], Operations: ['69-62=7']
Exploring Operation: 49/7=7, Resulting Numbers: [73, 7]
Generated Node #3: [73, 7] from Operation: 49/7=7
Current State: 80:[73, 7], Operations: ['69-62=7', '49/7=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[62, 49, 69, 73], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [49, 73, 7]
Generated Node #0,0: 80:[49, 73, 7] Operation: 69-62=7
Exploring Operation: 62-49=13, Resulting Numbers: [69, 73, 13]
Generated Node #0,1: 80:[69, 73, 13] Operation: 62-49=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[49, 73, 7], Operations: ['69-62=7']
Exploring Operation: 73-49=24, Resulting Numbers: [7, 24]
Generated Node #0,0,0: 80:[7, 24] Operation: 73-49=24
Exploring Operation: 49/7=7, Resulting Numbers: [73, 7]
Generated Node #0,0,1: 80:[73, 7] Operation: 49/7=7
Moving to Node #0,0,0
Current State: 80:[7, 24], Operations: ['69-62=7', '73-49=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[73, 7], Operations: ['69-62=7', '49/7=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,80 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[62, 49, 69, 73], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [49, 73, 7]
Generated Node #0,0: 80:[49, 73, 7] Operation: 69-62=7
Moving to Node #0,0
Current State: 80:[49, 73, 7], Operations: ['69-62=7']
Exploring Operation: 49/7=7, Resulting Numbers: [73, 7]
Generated Node #0,0,1: 80:[73, 7] Operation: 49/7=7
Moving to Node #0,0,1
Current State: 80:[73, 7], Operations: ['69-62=7', '49/7=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
11,
5,
4,
18
] | 81 | [
"5+4=9",
"11*9=99",
"99-18=81"
] | Current State: 81:[11, 5, 4, 18], Operations: []
Exploring Operation: 5+4=9, Resulting Numbers: [11, 18, 9]
Generated Node #2: [11, 18, 9] from Operation: 5+4=9
Current State: 81:[11, 18, 9], Operations: ['5+4=9']
Exploring Operation: 11*9=99, Resulting Numbers: [18, 99]
Generated Node #3: [18, 99] from Operation: 11*9=99
Current State: 81:[18, 99], Operations: ['5+4=9', '11*9=99']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[11, 5, 4, 18], Operations: []
Exploring Operation: 18-11=7, Resulting Numbers: [5, 4, 7]
Generated Node #0,0: 81:[5, 4, 7] Operation: 18-11=7
Exploring Operation: 11+18=29, Resulting Numbers: [5, 4, 29]
Generated Node #0,1: 81:[5, 4, 29] Operation: 11+18=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[5, 4, 7], Operations: ['18-11=7']
Exploring Operation: 7-5=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 81:[4, 2] Operation: 7-5=2
Exploring Operation: 5+4=9, Resulting Numbers: [7, 9]
Generated Node #0,0,1: 81:[7, 9] Operation: 5+4=9
Moving to Node #0,0,0
Current State: 81:[4, 2], Operations: ['18-11=7', '7-5=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[7, 9], Operations: ['18-11=7', '5+4=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[5, 4, 29], Operations: ['11+18=29']
Exploring Operation: 5+4=9, Resulting Numbers: [29, 9]
Generated Node #0,1,0: 81:[29, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 81:[29, 1] Operation: 5-4=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[29, 9], Operations: ['11+18=29', '5+4=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[29, 1], Operations: ['11+18=29', '5-4=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
18,
9,
38
] | 29 | [
"20+38=58",
"18/9=2",
"58/2=29"
] | Current State: 29:[20, 18, 9, 38], Operations: []
Exploring Operation: 20+38=58, Resulting Numbers: [18, 9, 58]
Generated Node #2: [18, 9, 58] from Operation: 20+38=58
Current State: 29:[18, 9, 58], Operations: ['20+38=58']
Exploring Operation: 18/9=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 18/9=2
Current State: 29:[58, 2], Operations: ['20+38=58', '18/9=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[20, 18, 9, 38], Operations: []
Exploring Operation: 38-9=29, Resulting Numbers: [20, 18, 29]
Generated Node #0,0: 29:[20, 18, 29] Operation: 38-9=29
Exploring Operation: 20+9=29, Resulting Numbers: [18, 38, 29]
Generated Node #0,1: 29:[18, 38, 29] Operation: 20+9=29
Exploring Operation: 18+9=27, Resulting Numbers: [20, 38, 27]
Generated Node #0,2: 29:[20, 38, 27] Operation: 18+9=27
Moving to Node #0,0
Current State: 29:[20, 18, 29], Operations: ['38-9=29']
Exploring Operation: 18+29=47, Resulting Numbers: [20, 47]
Generated Node #0,0,0: 29:[20, 47] Operation: 18+29=47
Exploring Operation: 20-18=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 29:[29, 2] Operation: 20-18=2
Exploring Operation: 20+18=38, Resulting Numbers: [29, 38]
Generated Node #0,0,2: 29:[29, 38] Operation: 20+18=38
Moving to Node #0,1
Current State: 29:[18, 38, 29], Operations: ['20+9=29']
Exploring Operation: 18+29=47, Resulting Numbers: [38, 47]
Generated Node #0,1,0: 29:[38, 47] Operation: 18+29=47
Exploring Operation: 18+38=56, Resulting Numbers: [29, 56]
Generated Node #0,1,1: 29:[29, 56] Operation: 18+38=56
Exploring Operation: 38-18=20, Resulting Numbers: [29, 20]
Generated Node #0,1,2: 29:[29, 20] Operation: 38-18=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[29, 20], Operations: ['20+9=29', '38-18=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,29 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[38, 47], Operations: ['20+9=29', '18+29=47']
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 38*47=1786, Resulting Numbers: [1786]
1786,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[29, 56], Operations: ['20+9=29', '18+38=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 29:[20, 38, 27], Operations: ['18+9=27']
Exploring Operation: 20+27=47, Resulting Numbers: [38, 47]
Generated Node #0,2,0: 29:[38, 47] Operation: 20+27=47
Exploring Operation: 38-20=18, Resulting Numbers: [27, 18]
Generated Node #0,2,1: 29:[27, 18] Operation: 38-20=18
Exploring Operation: 38-27=11, Resulting Numbers: [20, 11]
Generated Node #0,2,2: 29:[20, 11] Operation: 38-27=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[27, 18], Operations: ['18+9=27', '38-20=18']
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[38, 47], Operations: ['18+9=27', '20+27=47']
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 38*47=1786, Resulting Numbers: [1786]
1786,29 unequal: No Solution
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[20, 11], Operations: ['18+9=27', '38-27=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,29 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,29 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: 29:[29, 38], Operations: ['38-9=29', '20+18=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,29 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[20, 47], Operations: ['38-9=29', '18+29=47']
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 20*47=940, Resulting Numbers: [940]
940,29 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[29, 2], Operations: ['38-9=29', '20-18=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
97,
79,
92,
94
] | 88 | [
"97+79=176",
"94-92=2",
"176/2=88"
] | Current State: 88:[97, 79, 92, 94], Operations: []
Exploring Operation: 97+79=176, Resulting Numbers: [92, 94, 176]
Generated Node #2: [92, 94, 176] from Operation: 97+79=176
Current State: 88:[92, 94, 176], Operations: ['97+79=176']
Exploring Operation: 94-92=2, Resulting Numbers: [176, 2]
Generated Node #3: [176, 2] from Operation: 94-92=2
Current State: 88:[176, 2], Operations: ['97+79=176', '94-92=2']
Exploring Operation: 176/2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[97, 79, 92, 94], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [79, 92, 3]
Generated Node #0,0: 88:[79, 92, 3] Operation: 97-94=3
Exploring Operation: 97-92=5, Resulting Numbers: [79, 94, 5]
Generated Node #0,1: 88:[79, 94, 5] Operation: 97-92=5
Exploring Operation: 97-79=18, Resulting Numbers: [92, 94, 18]
Generated Node #0,2: 88:[92, 94, 18] Operation: 97-79=18
Moving to Node #0,0
Current State: 88:[79, 92, 3], Operations: ['97-94=3']
Exploring Operation: 92-79=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 88:[3, 13] Operation: 92-79=13
Exploring Operation: 92-3=89, Resulting Numbers: [79, 89]
Generated Node #0,0,1: 88:[79, 89] Operation: 92-3=89
Exploring Operation: 79+3=82, Resulting Numbers: [92, 82]
Generated Node #0,0,2: 88:[92, 82] Operation: 79+3=82
Moving to Node #0,2
Current State: 88:[92, 94, 18], Operations: ['97-79=18']
Exploring Operation: 94-92=2, Resulting Numbers: [18, 2]
Generated Node #0,2,0: 88:[18, 2] Operation: 94-92=2
Exploring Operation: 94-18=76, Resulting Numbers: [92, 76]
Generated Node #0,2,1: 88:[92, 76] Operation: 94-18=76
Exploring Operation: 92-18=74, Resulting Numbers: [94, 74]
Generated Node #0,2,2: 88:[94, 74] Operation: 92-18=74
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[18, 2], Operations: ['97-79=18', '94-92=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[92, 76], Operations: ['97-79=18', '94-18=76']
Exploring Operation: 92+76=168, Resulting Numbers: [168]
168,88 unequal: No Solution
Exploring Operation: 92-76=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 92*76=6992, Resulting Numbers: [6992]
6992,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[94, 74], Operations: ['97-79=18', '92-18=74']
Exploring Operation: 94+74=168, Resulting Numbers: [168]
168,88 unequal: No Solution
Exploring Operation: 94*74=6956, Resulting Numbers: [6956]
6956,88 unequal: No Solution
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,88 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: 88:[79, 94, 5], Operations: ['97-92=5']
Exploring Operation: 79+5=84, Resulting Numbers: [94, 84]
Generated Node #0,1,0: 88:[94, 84] Operation: 79+5=84
Exploring Operation: 94-79=15, Resulting Numbers: [5, 15]
Generated Node #0,1,1: 88:[5, 15] Operation: 94-79=15
Exploring Operation: 94-5=89, Resulting Numbers: [79, 89]
Generated Node #0,1,2: 88:[79, 89] Operation: 94-5=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[5, 15], Operations: ['97-92=5', '94-79=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[94, 84], Operations: ['97-92=5', '79+5=84']
Exploring Operation: 94*84=7896, Resulting Numbers: [7896]
7896,88 unequal: No Solution
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,88 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[79, 89], Operations: ['97-92=5', '94-5=89']
Exploring Operation: 79+89=168, Resulting Numbers: [168]
168,88 unequal: No Solution
Exploring Operation: 79*89=7031, Resulting Numbers: [7031]
7031,88 unequal: No Solution
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,88 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: 88:[3, 13], Operations: ['97-94=3', '92-79=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[79, 89], Operations: ['97-94=3', '92-3=89']
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 79*89=7031, Resulting Numbers: [7031]
7031,88 unequal: No Solution
Exploring Operation: 79+89=168, Resulting Numbers: [168]
168,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[92, 82], Operations: ['97-94=3', '79+3=82']
Exploring Operation: 92+82=174, Resulting Numbers: [174]
174,88 unequal: No Solution
Exploring Operation: 92*82=7544, Resulting Numbers: [7544]
7544,88 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,88 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
75,
43,
87,
16
] | 47 | [
"75+43=118",
"87-16=71",
"118-71=47"
] | Current State: 47:[75, 43, 87, 16], Operations: []
Exploring Operation: 75+43=118, Resulting Numbers: [87, 16, 118]
Generated Node #2: [87, 16, 118] from Operation: 75+43=118
Current State: 47:[87, 16, 118], Operations: ['75+43=118']
Exploring Operation: 87-16=71, Resulting Numbers: [118, 71]
Generated Node #3: [118, 71] from Operation: 87-16=71
Current State: 47:[118, 71], Operations: ['75+43=118', '87-16=71']
Exploring Operation: 118-71=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[75, 43, 87, 16], Operations: []
Exploring Operation: 87-16=71, Resulting Numbers: [75, 43, 71]
Generated Node #0,0: 47:[75, 43, 71] Operation: 87-16=71
Exploring Operation: 75-16=59, Resulting Numbers: [43, 87, 59]
Generated Node #0,1: 47:[43, 87, 59] Operation: 75-16=59
Moving to Node #0,0
Current State: 47:[75, 43, 71], Operations: ['87-16=71']
Exploring Operation: 75-43=32, Resulting Numbers: [71, 32]
Generated Node #0,0,0: 47:[71, 32] Operation: 75-43=32
Exploring Operation: 75-71=4, Resulting Numbers: [43, 4]
Generated Node #0,0,1: 47:[43, 4] Operation: 75-71=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[71, 32], Operations: ['87-16=71', '75-43=32']
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 71+32=103, Resulting Numbers: [103]
103,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[43, 4], Operations: ['87-16=71', '75-71=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[75, 43, 87, 16], Operations: []
Exploring Operation: 87-16=71, Resulting Numbers: [75, 43, 71]
Generated Node #0,0: 47:[75, 43, 71] Operation: 87-16=71
Moving to Node #0,0
Current State: 47:[75, 43, 71], Operations: ['87-16=71']
Exploring Operation: 75-71=4, Resulting Numbers: [43, 4]
Generated Node #0,0,1: 47:[43, 4] Operation: 75-71=4
Moving to Node #0,0,1
Current State: 47:[43, 4], Operations: ['87-16=71', '75-71=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
6,
73,
50,
55
] | 72 | [
"73-6=67",
"55-50=5",
"67+5=72"
] | Current State: 72:[6, 73, 50, 55], Operations: []
Exploring Operation: 73-6=67, Resulting Numbers: [50, 55, 67]
Generated Node #2: [50, 55, 67] from Operation: 73-6=67
Current State: 72:[50, 55, 67], Operations: ['73-6=67']
Exploring Operation: 55-50=5, Resulting Numbers: [67, 5]
Generated Node #3: [67, 5] from Operation: 55-50=5
Current State: 72:[67, 5], Operations: ['73-6=67', '55-50=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[6, 73, 50, 55], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [6, 50, 18]
Generated Node #0,0: 72:[6, 50, 18] Operation: 73-55=18
Exploring Operation: 55-50=5, Resulting Numbers: [6, 73, 5]
Generated Node #0,1: 72:[6, 73, 5] Operation: 55-50=5
Moving to Node #0,1
Current State: 72:[6, 73, 5], Operations: ['55-50=5']
Exploring Operation: 6+5=11, Resulting Numbers: [73, 11]
Generated Node #0,1,0: 72:[73, 11] Operation: 6+5=11
Exploring Operation: 6-5=1, Resulting Numbers: [73, 1]
Generated Node #0,1,1: 72:[73, 1] Operation: 6-5=1
Moving to Node #0,0
Current State: 72:[6, 50, 18], Operations: ['73-55=18']
Exploring Operation: 50-18=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 72:[6, 32] Operation: 50-18=32
Exploring Operation: 50+18=68, Resulting Numbers: [6, 68]
Generated Node #0,0,1: 72:[6, 68] Operation: 50+18=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[6, 32], Operations: ['73-55=18', '50-18=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[6, 68], Operations: ['73-55=18', '50+18=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 72:[73, 11], Operations: ['55-50=5', '6+5=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[73, 1], Operations: ['55-50=5', '6-5=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,72 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[6, 73, 50, 55], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [6, 73, 5]
Generated Node #0,1: 72:[6, 73, 5] Operation: 55-50=5
Moving to Node #0,1
Current State: 72:[6, 73, 5], Operations: ['55-50=5']
Exploring Operation: 6-5=1, Resulting Numbers: [73, 1]
Generated Node #0,1,1: 72:[73, 1] Operation: 6-5=1
Moving to Node #0,1,1
Current State: 72:[73, 1], Operations: ['55-50=5', '6-5=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
23,
91,
65,
39
] | 92 | [
"91+65=156",
"23*156=3588",
"3588/39=92"
] | Current State: 92:[23, 91, 65, 39], Operations: []
Exploring Operation: 91+65=156, Resulting Numbers: [23, 39, 156]
Generated Node #2: [23, 39, 156] from Operation: 91+65=156
Current State: 92:[23, 39, 156], Operations: ['91+65=156']
Exploring Operation: 23*156=3588, Resulting Numbers: [39, 3588]
Generated Node #3: [39, 3588] from Operation: 23*156=3588
Current State: 92:[39, 3588], Operations: ['91+65=156', '23*156=3588']
Exploring Operation: 3588/39=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[23, 91, 65, 39], Operations: []
Exploring Operation: 65-39=26, Resulting Numbers: [23, 91, 26]
Generated Node #0,0: 92:[23, 91, 26] Operation: 65-39=26
Exploring Operation: 91-65=26, Resulting Numbers: [23, 39, 26]
Generated Node #0,1: 92:[23, 39, 26] Operation: 91-65=26
Moving to Node #0,0
Current State: 92:[23, 91, 26], Operations: ['65-39=26']
Exploring Operation: 26-23=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 92:[91, 3] Operation: 26-23=3
Exploring Operation: 23+26=49, Resulting Numbers: [91, 49]
Generated Node #0,0,1: 92:[91, 49] Operation: 23+26=49
Moving to Node #0,1
Current State: 92:[23, 39, 26], Operations: ['91-65=26']
Exploring Operation: 39-26=13, Resulting Numbers: [23, 13]
Generated Node #0,1,0: 92:[23, 13] Operation: 39-26=13
Exploring Operation: 26-23=3, Resulting Numbers: [39, 3]
Generated Node #0,1,1: 92:[39, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 92:[91, 3], Operations: ['65-39=26', '26-23=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[91, 49], Operations: ['65-39=26', '23+26=49']
Exploring Operation: 91+49=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[39, 3], Operations: ['91-65=26', '26-23=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[23, 13], Operations: ['91-65=26', '39-26=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,92 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
68,
75,
92,
19
] | 80 | [
"75-68=7",
"92-19=73",
"7+73=80"
] | Current State: 80:[68, 75, 92, 19], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [92, 19, 7]
Generated Node #2: [92, 19, 7] from Operation: 75-68=7
Current State: 80:[92, 19, 7], Operations: ['75-68=7']
Exploring Operation: 92-19=73, Resulting Numbers: [7, 73]
Generated Node #3: [7, 73] from Operation: 92-19=73
Current State: 80:[7, 73], Operations: ['75-68=7', '92-19=73']
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[68, 75, 92, 19], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [75, 19, 24]
Generated Node #0,0: 80:[75, 19, 24] Operation: 92-68=24
Moving to Node #0,0
Current State: 80:[75, 19, 24], Operations: ['92-68=24']
Exploring Operation: 24-19=5, Resulting Numbers: [75, 5]
Generated Node #0,0,0: 80:[75, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 80:[75, 5], Operations: ['92-68=24', '24-19=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[68, 75, 92, 19], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [75, 19, 24]
Generated Node #0,0: 80:[75, 19, 24] Operation: 92-68=24
Moving to Node #0,0
Current State: 80:[75, 19, 24], Operations: ['92-68=24']
Exploring Operation: 24-19=5, Resulting Numbers: [75, 5]
Generated Node #0,0,0: 80:[75, 5] Operation: 24-19=5
Moving to Node #0,0,0
Current State: 80:[75, 5], Operations: ['92-68=24', '24-19=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
49,
67,
23,
1
] | 93 | [
"49+67=116",
"23*1=23",
"116-23=93"
] | Current State: 93:[49, 67, 23, 1], Operations: []
Exploring Operation: 49+67=116, Resulting Numbers: [23, 1, 116]
Generated Node #2: [23, 1, 116] from Operation: 49+67=116
Current State: 93:[23, 1, 116], Operations: ['49+67=116']
Exploring Operation: 23*1=23, Resulting Numbers: [116, 23]
Generated Node #3: [116, 23] from Operation: 23*1=23
Current State: 93:[116, 23], Operations: ['49+67=116', '23*1=23']
Exploring Operation: 116-23=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[49, 67, 23, 1], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [23, 1, 18]
Generated Node #0,0: 93:[23, 1, 18] Operation: 67-49=18
Moving to Node #0,0
Current State: 93:[23, 1, 18], Operations: ['67-49=18']
Exploring Operation: 23-18=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 93:[1, 5] Operation: 23-18=5
Moving to Node #0,0,0
Current State: 93:[1, 5], Operations: ['67-49=18', '23-18=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
40,
3,
67
] | 97 | [
"40-7=33",
"67-3=64",
"33+64=97"
] | Current State: 97:[7, 40, 3, 67], Operations: []
Exploring Operation: 40-7=33, Resulting Numbers: [3, 67, 33]
Generated Node #2: [3, 67, 33] from Operation: 40-7=33
Current State: 97:[3, 67, 33], Operations: ['40-7=33']
Exploring Operation: 67-3=64, Resulting Numbers: [33, 64]
Generated Node #3: [33, 64] from Operation: 67-3=64
Current State: 97:[33, 64], Operations: ['40-7=33', '67-3=64']
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[7, 40, 3, 67], Operations: []
Exploring Operation: 40*3=120, Resulting Numbers: [7, 67, 120]
Generated Node #0,0: 97:[7, 67, 120] Operation: 40*3=120
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[7, 67, 120], Operations: ['40*3=120']
Exploring Operation: 7+67=74, Resulting Numbers: [120, 74]
Generated Node #0,0,0: 97:[120, 74] Operation: 7+67=74
Moving to Node #0,0,0
Current State: 97:[120, 74], Operations: ['40*3=120', '7+67=74']
Exploring Operation: 120-74=46, Resulting Numbers: [46]
46,97 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 |
[
56,
3,
76,
74
] | 30 | [
"56+76=132",
"132/3=44",
"74-44=30"
] | Current State: 30:[56, 3, 76, 74], Operations: []
Exploring Operation: 56+76=132, Resulting Numbers: [3, 74, 132]
Generated Node #2: [3, 74, 132] from Operation: 56+76=132
Current State: 30:[3, 74, 132], Operations: ['56+76=132']
Exploring Operation: 132/3=44, Resulting Numbers: [74, 44]
Generated Node #3: [74, 44] from Operation: 132/3=44
Current State: 30:[74, 44], Operations: ['56+76=132', '132/3=44']
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[56, 3, 76, 74], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [3, 74, 20]
Generated Node #0,0: 30:[3, 74, 20] Operation: 76-56=20
Exploring Operation: 76-74=2, Resulting Numbers: [56, 3, 2]
Generated Node #0,1: 30:[56, 3, 2] Operation: 76-74=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[56, 3, 2], Operations: ['76-74=2']
Exploring Operation: 56-3=53, Resulting Numbers: [2, 53]
Generated Node #0,1,0: 30:[2, 53] Operation: 56-3=53
Exploring Operation: 56/2=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 30:[3, 28] Operation: 56/2=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[3, 28], Operations: ['76-74=2', '56/2=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[2, 53], Operations: ['76-74=2', '56-3=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[3, 74, 20], Operations: ['76-56=20']
Exploring Operation: 74-20=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 30:[3, 54] Operation: 74-20=54
Exploring Operation: 74-3=71, Resulting Numbers: [20, 71]
Generated Node #0,0,1: 30:[20, 71] Operation: 74-3=71
Moving to Node #0,0,0
Current State: 30:[3, 54], Operations: ['76-56=20', '74-20=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[20, 71], Operations: ['76-56=20', '74-3=71']
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 20+71=91, Resulting Numbers: [91]
91,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.