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 |
|---|---|---|---|---|---|---|---|---|
[
25,
55,
93,
30
] | 17 | [
"25+55=80",
"93-30=63",
"80-63=17"
] | Current State: 17:[25, 55, 93, 30], Operations: []
Exploring Operation: 25+55=80, Resulting Numbers: [93, 30, 80]
Generated Node #2: [93, 30, 80] from Operation: 25+55=80
Current State: 17:[93, 30, 80], Operations: ['25+55=80']
Exploring Operation: 93-30=63, Resulting Numbers: [80, 63]
Generated Node #3: [80, 63] from Operation: 93-30=63
Current State: 17:[80, 63], Operations: ['25+55=80', '93-30=63']
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[25, 55, 93, 30], Operations: []
Exploring Operation: 55-30=25, Resulting Numbers: [25, 93, 25]
Generated Node #0,0: 17:[25, 93, 25] Operation: 55-30=25
Exploring Operation: 93-55=38, Resulting Numbers: [25, 30, 38]
Generated Node #0,1: 17:[25, 30, 38] Operation: 93-55=38
Moving to Node #0,1
Current State: 17:[25, 30, 38], Operations: ['93-55=38']
Exploring Operation: 38-25=13, Resulting Numbers: [30, 13]
Generated Node #0,1,0: 17:[30, 13] Operation: 38-25=13
Exploring Operation: 38-30=8, Resulting Numbers: [25, 8]
Generated Node #0,1,1: 17:[25, 8] Operation: 38-30=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[30, 13], Operations: ['93-55=38', '38-25=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[25, 55, 93, 30], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [25, 30, 38]
Generated Node #0,1: 17:[25, 30, 38] Operation: 93-55=38
Moving to Node #0,1
Current State: 17:[25, 30, 38], Operations: ['93-55=38']
Exploring Operation: 38-25=13, Resulting Numbers: [30, 13]
Generated Node #0,1,0: 17:[30, 13] Operation: 38-25=13
Moving to Node #0,1,0
Current State: 17:[30, 13], Operations: ['93-55=38', '38-25=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
48,
46,
41,
98
] | 45 | [
"48+46=94",
"41+98=139",
"139-94=45"
] | Current State: 45:[48, 46, 41, 98], Operations: []
Exploring Operation: 48+46=94, Resulting Numbers: [41, 98, 94]
Generated Node #2: [41, 98, 94] from Operation: 48+46=94
Current State: 45:[41, 98, 94], Operations: ['48+46=94']
Exploring Operation: 41+98=139, Resulting Numbers: [94, 139]
Generated Node #3: [94, 139] from Operation: 41+98=139
Current State: 45:[94, 139], Operations: ['48+46=94', '41+98=139']
Exploring Operation: 139-94=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[48, 46, 41, 98], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [46, 41, 50]
Generated Node #0,0: 45:[46, 41, 50] Operation: 98-48=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[46, 41, 50], Operations: ['98-48=50']
Exploring Operation: 50-41=9, Resulting Numbers: [46, 9]
Generated Node #0,0,0: 45:[46, 9] Operation: 50-41=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[46, 9], Operations: ['98-48=50', '50-41=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
44,
33,
6
] | 26 | [
"44-2=42",
"42/6=7",
"33-7=26"
] | Current State: 26:[2, 44, 33, 6], Operations: []
Exploring Operation: 44-2=42, Resulting Numbers: [33, 6, 42]
Generated Node #2: [33, 6, 42] from Operation: 44-2=42
Current State: 26:[33, 6, 42], Operations: ['44-2=42']
Exploring Operation: 42/6=7, Resulting Numbers: [33, 7]
Generated Node #3: [33, 7] from Operation: 42/6=7
Current State: 26:[33, 7], Operations: ['44-2=42', '42/6=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[2, 44, 33, 6], Operations: []
Exploring Operation: 2*6=12, Resulting Numbers: [44, 33, 12]
Generated Node #0,0: 26:[44, 33, 12] Operation: 2*6=12
Exploring Operation: 33-6=27, Resulting Numbers: [2, 44, 27]
Generated Node #0,1: 26:[2, 44, 27] Operation: 33-6=27
Exploring Operation: 44/2=22, Resulting Numbers: [33, 6, 22]
Generated Node #0,2: 26:[33, 6, 22] Operation: 44/2=22
Exploring Operation: 44-6=38, Resulting Numbers: [2, 33, 38]
Generated Node #0,3: 26:[2, 33, 38] Operation: 44-6=38
Exploring Operation: 44-33=11, Resulting Numbers: [2, 6, 11]
Generated Node #0,4: 26:[2, 6, 11] Operation: 44-33=11
Moving to Node #0,4
Current State: 26:[2, 6, 11], Operations: ['44-33=11']
Exploring Operation: 2+11=13, Resulting Numbers: [6, 13]
Generated Node #0,4,0: 26:[6, 13] Operation: 2+11=13
Exploring Operation: 6-2=4, Resulting Numbers: [11, 4]
Generated Node #0,4,1: 26:[11, 4] Operation: 6-2=4
Exploring Operation: 2*6=12, Resulting Numbers: [11, 12]
Generated Node #0,4,2: 26:[11, 12] Operation: 2*6=12
Exploring Operation: 11-6=5, Resulting Numbers: [2, 5]
Generated Node #0,4,3: 26:[2, 5] Operation: 11-6=5
Exploring Operation: 6/2=3, Resulting Numbers: [11, 3]
Generated Node #0,4,4: 26:[11, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 26:[11, 12], Operations: ['44-33=11', '2*6=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 26:[2, 5], Operations: ['44-33=11', '11-6=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 26:[11, 3], Operations: ['44-33=11', '6/2=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 26:[6, 13], Operations: ['44-33=11', '2+11=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,26 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 26:[11, 4], Operations: ['44-33=11', '6-2=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 26:[33, 6, 22], Operations: ['44/2=22']
Exploring Operation: 33-22=11, Resulting Numbers: [6, 11]
Generated Node #0,2,0: 26:[6, 11] Operation: 33-22=11
Exploring Operation: 33-6=27, Resulting Numbers: [22, 27]
Generated Node #0,2,1: 26:[22, 27] Operation: 33-6=27
Exploring Operation: 33+6=39, Resulting Numbers: [22, 39]
Generated Node #0,2,2: 26:[22, 39] Operation: 33+6=39
Exploring Operation: 22-6=16, Resulting Numbers: [33, 16]
Generated Node #0,2,3: 26:[33, 16] Operation: 22-6=16
Exploring Operation: 6+22=28, Resulting Numbers: [33, 28]
Generated Node #0,2,4: 26:[33, 28] Operation: 6+22=28
Moving to Node #0,1
Current State: 26:[2, 44, 27], Operations: ['33-6=27']
Exploring Operation: 44/2=22, Resulting Numbers: [27, 22]
Generated Node #0,1,0: 26:[27, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [27, 42]
Generated Node #0,1,1: 26:[27, 42] Operation: 44-2=42
Exploring Operation: 2+44=46, Resulting Numbers: [27, 46]
Generated Node #0,1,2: 26:[27, 46] Operation: 2+44=46
Exploring Operation: 44-27=17, Resulting Numbers: [2, 17]
Generated Node #0,1,3: 26:[2, 17] Operation: 44-27=17
Exploring Operation: 27-2=25, Resulting Numbers: [44, 25]
Generated Node #0,1,4: 26:[44, 25] Operation: 27-2=25
Moving to Node #0,3
Current State: 26:[2, 33, 38], Operations: ['44-6=38']
Exploring Operation: 38-33=5, Resulting Numbers: [2, 5]
Generated Node #0,3,0: 26:[2, 5] Operation: 38-33=5
Exploring Operation: 33-2=31, Resulting Numbers: [38, 31]
Generated Node #0,3,1: 26:[38, 31] Operation: 33-2=31
Exploring Operation: 38-2=36, Resulting Numbers: [33, 36]
Generated Node #0,3,2: 26:[33, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [33, 19]
Generated Node #0,3,3: 26:[33, 19] Operation: 38/2=19
Exploring Operation: 2+33=35, Resulting Numbers: [38, 35]
Generated Node #0,3,4: 26:[38, 35] Operation: 2+33=35
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[2, 5], Operations: ['44-6=38', '38-33=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[33, 19], Operations: ['44-6=38', '38/2=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,26 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[38, 31], Operations: ['44-6=38', '33-2=31']
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[33, 36], Operations: ['44-6=38', '38-2=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[38, 35], Operations: ['44-6=38', '2+33=35']
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 38*35=1330, Resulting Numbers: [1330]
1330,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[44, 33, 12], Operations: ['2*6=12']
Exploring Operation: 33-12=21, Resulting Numbers: [44, 21]
Generated Node #0,0,0: 26:[44, 21] Operation: 33-12=21
Exploring Operation: 44-12=32, Resulting Numbers: [33, 32]
Generated Node #0,0,1: 26:[33, 32] Operation: 44-12=32
Exploring Operation: 44-33=11, Resulting Numbers: [12, 11]
Generated Node #0,0,2: 26:[12, 11] Operation: 44-33=11
Exploring Operation: 44+12=56, Resulting Numbers: [33, 56]
Generated Node #0,0,3: 26:[33, 56] Operation: 44+12=56
Exploring Operation: 33+12=45, Resulting Numbers: [44, 45]
Generated Node #0,0,4: 26:[44, 45] Operation: 33+12=45
Moving to Node #0,0,2
Current State: 26:[12, 11], Operations: ['2*6=12', '44-33=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,26 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[2, 17], Operations: ['33-6=27', '44-27=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[22, 27], Operations: ['44/2=22', '33-6=27']
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,26 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[27, 22], Operations: ['33-6=27', '44/2=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,26 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[6, 11], Operations: ['44/2=22', '33-22=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[33, 28], Operations: ['44/2=22', '6+22=28']
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,26 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[33, 16], Operations: ['44/2=22', '22-6=16']
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,26 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[33, 32], Operations: ['2*6=12', '44-12=32']
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,26 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[22, 39], Operations: ['44/2=22', '33+6=39']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[27, 42], Operations: ['33-6=27', '44-2=42']
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,26 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[44, 25], Operations: ['33-6=27', '27-2=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[27, 46], Operations: ['33-6=27', '2+44=46']
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,26 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[44, 21], Operations: ['2*6=12', '33-12=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[33, 56], Operations: ['2*6=12', '44+12=56']
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,26 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[44, 45], Operations: ['2*6=12', '33+12=45']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,26 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
59,
68,
60,
49
] | 80 | [
"59-49=10",
"68-60=8",
"10*8=80"
] | Current State: 80:[59, 68, 60, 49], Operations: []
Exploring Operation: 59-49=10, Resulting Numbers: [68, 60, 10]
Generated Node #2: [68, 60, 10] from Operation: 59-49=10
Current State: 80:[68, 60, 10], Operations: ['59-49=10']
Exploring Operation: 68-60=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 68-60=8
Current State: 80:[10, 8], Operations: ['59-49=10', '68-60=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[59, 68, 60, 49], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [59, 49, 8]
Generated Node #0,0: 80:[59, 49, 8] Operation: 68-60=8
Exploring Operation: 60-49=11, Resulting Numbers: [59, 68, 11]
Generated Node #0,1: 80:[59, 68, 11] Operation: 60-49=11
Exploring Operation: 59-49=10, Resulting Numbers: [68, 60, 10]
Generated Node #0,2: 80:[68, 60, 10] Operation: 59-49=10
Exploring Operation: 60-59=1, Resulting Numbers: [68, 49, 1]
Generated Node #0,3: 80:[68, 49, 1] Operation: 60-59=1
Exploring Operation: 68-59=9, Resulting Numbers: [60, 49, 9]
Generated Node #0,4: 80:[60, 49, 9] Operation: 68-59=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[68, 49, 1], Operations: ['60-59=1']
Exploring Operation: 68*1=68, Resulting Numbers: [49, 68]
Generated Node #0,3,0: 80:[49, 68] Operation: 68*1=68
Exploring Operation: 68+1=69, Resulting Numbers: [49, 69]
Generated Node #0,3,1: 80:[49, 69] Operation: 68+1=69
Exploring Operation: 68-49=19, Resulting Numbers: [1, 19]
Generated Node #0,3,2: 80:[1, 19] Operation: 68-49=19
Exploring Operation: 49-1=48, Resulting Numbers: [68, 48]
Generated Node #0,3,3: 80:[68, 48] Operation: 49-1=48
Exploring Operation: 68/1=68, Resulting Numbers: [49, 68]
Generated Node #0,3,4: 80:[49, 68] Operation: 68/1=68
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 80:[1, 19], Operations: ['60-59=1', '68-49=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,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,3,1
Current State: 80:[49, 69], Operations: ['60-59=1', '68+1=69']
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,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,3,3
Current State: 80:[68, 48], Operations: ['60-59=1', '49-1=48']
Exploring Operation: 68+48=116, Resulting Numbers: [116]
116,80 unequal: No Solution
Exploring Operation: 68*48=3264, Resulting Numbers: [3264]
3264,80 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,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,3,0
Current State: 80:[49, 68], Operations: ['60-59=1', '68*1=68']
Exploring Operation: 49*68=3332, Resulting Numbers: [3332]
3332,80 unequal: No Solution
Exploring Operation: 49+68=117, Resulting Numbers: [117]
117,80 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,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,3,4
Current State: 80:[49, 68], Operations: ['60-59=1', '68/1=68']
Exploring Operation: 49*68=3332, Resulting Numbers: [3332]
3332,80 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 49+68=117, Resulting Numbers: [117]
117,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[59, 49, 8], Operations: ['68-60=8']
Exploring Operation: 59+49=108, Resulting Numbers: [8, 108]
Generated Node #0,0,0: 80:[8, 108] Operation: 59+49=108
Exploring Operation: 49-8=41, Resulting Numbers: [59, 41]
Generated Node #0,0,1: 80:[59, 41] Operation: 49-8=41
Exploring Operation: 59+8=67, Resulting Numbers: [49, 67]
Generated Node #0,0,2: 80:[49, 67] Operation: 59+8=67
Exploring Operation: 59-8=51, Resulting Numbers: [49, 51]
Generated Node #0,0,3: 80:[49, 51] Operation: 59-8=51
Exploring Operation: 59-49=10, Resulting Numbers: [8, 10]
Generated Node #0,0,4: 80:[8, 10] Operation: 59-49=10
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 80:[8, 10], Operations: ['68-60=8', '59-49=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[59, 68, 60, 49], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [59, 49, 8]
Generated Node #0,0: 80:[59, 49, 8] Operation: 68-60=8
Moving to Node #0,0
Current State: 80:[59, 49, 8], Operations: ['68-60=8']
Exploring Operation: 59-49=10, Resulting Numbers: [8, 10]
Generated Node #0,0,4: 80:[8, 10] Operation: 59-49=10
Moving to Node #0,0,4
Current State: 80:[8, 10], Operations: ['68-60=8', '59-49=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
9,
70,
10,
68
] | 28 | [
"70-68=2",
"9*2=18",
"10+18=28"
] | Current State: 28:[9, 70, 10, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [9, 10, 2]
Generated Node #2: [9, 10, 2] from Operation: 70-68=2
Current State: 28:[9, 10, 2], Operations: ['70-68=2']
Exploring Operation: 9*2=18, Resulting Numbers: [10, 18]
Generated Node #3: [10, 18] from Operation: 9*2=18
Current State: 28:[10, 18], Operations: ['70-68=2', '9*2=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[9, 70, 10, 68], Operations: []
Exploring Operation: 70-10=60, Resulting Numbers: [9, 68, 60]
Generated Node #0,0: 28:[9, 68, 60] Operation: 70-10=60
Exploring Operation: 70-68=2, Resulting Numbers: [9, 10, 2]
Generated Node #0,1: 28:[9, 10, 2] Operation: 70-68=2
Exploring Operation: 70/10=7, Resulting Numbers: [9, 68, 7]
Generated Node #0,2: 28:[9, 68, 7] Operation: 70/10=7
Exploring Operation: 70-9=61, Resulting Numbers: [10, 68, 61]
Generated Node #0,3: 28:[10, 68, 61] Operation: 70-9=61
Exploring Operation: 68-10=58, Resulting Numbers: [9, 70, 58]
Generated Node #0,4: 28:[9, 70, 58] Operation: 68-10=58
Moving to Node #0,1
Current State: 28:[9, 10, 2], Operations: ['70-68=2']
Exploring Operation: 10/2=5, Resulting Numbers: [9, 5]
Generated Node #0,1,0: 28:[9, 5] Operation: 10/2=5
Exploring Operation: 10+2=12, Resulting Numbers: [9, 12]
Generated Node #0,1,1: 28:[9, 12] Operation: 10+2=12
Exploring Operation: 9-2=7, Resulting Numbers: [10, 7]
Generated Node #0,1,2: 28:[10, 7] Operation: 9-2=7
Exploring Operation: 10-2=8, Resulting Numbers: [9, 8]
Generated Node #0,1,3: 28:[9, 8] Operation: 10-2=8
Exploring Operation: 10-9=1, Resulting Numbers: [2, 1]
Generated Node #0,1,4: 28:[2, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[2, 1], Operations: ['70-68=2', '10-9=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[9, 5], Operations: ['70-68=2', '10/2=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,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:[10, 7], Operations: ['70-68=2', '9-2=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,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:[9, 8], Operations: ['70-68=2', '10-2=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,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, 12], Operations: ['70-68=2', '10+2=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,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, 68, 7], Operations: ['70/10=7']
Exploring Operation: 68-7=61, Resulting Numbers: [9, 61]
Generated Node #0,2,0: 28:[9, 61] Operation: 68-7=61
Exploring Operation: 9+68=77, Resulting Numbers: [7, 77]
Generated Node #0,2,1: 28:[7, 77] Operation: 9+68=77
Exploring Operation: 68-9=59, Resulting Numbers: [7, 59]
Generated Node #0,2,2: 28:[7, 59] Operation: 68-9=59
Exploring Operation: 9-7=2, Resulting Numbers: [68, 2]
Generated Node #0,2,3: 28:[68, 2] Operation: 9-7=2
Exploring Operation: 9+7=16, Resulting Numbers: [68, 16]
Generated Node #0,2,4: 28:[68, 16] Operation: 9+7=16
Moving to Node #0,0
Current State: 28:[9, 68, 60], Operations: ['70-10=60']
Exploring Operation: 68-60=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 28:[9, 8] Operation: 68-60=8
Exploring Operation: 9+68=77, Resulting Numbers: [60, 77]
Generated Node #0,0,1: 28:[60, 77] Operation: 9+68=77
Exploring Operation: 68-9=59, Resulting Numbers: [60, 59]
Generated Node #0,0,2: 28:[60, 59] Operation: 68-9=59
Exploring Operation: 9+60=69, Resulting Numbers: [68, 69]
Generated Node #0,0,3: 28:[68, 69] Operation: 9+60=69
Exploring Operation: 60-9=51, Resulting Numbers: [68, 51]
Generated Node #0,0,4: 28:[68, 51] Operation: 60-9=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[9, 8], Operations: ['70-10=60', '68-60=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[60, 59], Operations: ['70-10=60', '68-9=59']
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,28 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 28:[68, 51], Operations: ['70-10=60', '60-9=51']
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,28 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[60, 77], Operations: ['70-10=60', '9+68=77']
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,28 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 28:[68, 69], Operations: ['70-10=60', '9+60=69']
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,28 unequal: No Solution
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,28 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,28 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: 28:[9, 70, 58], Operations: ['68-10=58']
Exploring Operation: 9+70=79, Resulting Numbers: [58, 79]
Generated Node #0,4,0: 28:[58, 79] Operation: 9+70=79
Exploring Operation: 9+58=67, Resulting Numbers: [70, 67]
Generated Node #0,4,1: 28:[70, 67] Operation: 9+58=67
Exploring Operation: 70-9=61, Resulting Numbers: [58, 61]
Generated Node #0,4,2: 28:[58, 61] Operation: 70-9=61
Exploring Operation: 58-9=49, Resulting Numbers: [70, 49]
Generated Node #0,4,3: 28:[70, 49] Operation: 58-9=49
Exploring Operation: 70-58=12, Resulting Numbers: [9, 12]
Generated Node #0,4,4: 28:[9, 12] Operation: 70-58=12
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 28:[9, 12], Operations: ['68-10=58', '70-58=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,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,4,2
Current State: 28:[58, 61], Operations: ['68-10=58', '70-9=61']
Exploring Operation: 58+61=119, Resulting Numbers: [119]
119,28 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 58*61=3538, Resulting Numbers: [3538]
3538,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,4,3
Current State: 28:[70, 49], Operations: ['68-10=58', '58-9=49']
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,28 unequal: No Solution
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,28 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,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,4,0
Current State: 28:[58, 79], Operations: ['68-10=58', '9+70=79']
Exploring Operation: 58*79=4582, Resulting Numbers: [4582]
4582,28 unequal: No Solution
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 58+79=137, Resulting Numbers: [137]
137,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,4,1
Current State: 28:[70, 67], Operations: ['68-10=58', '9+58=67']
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,28 unequal: No Solution
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,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:[10, 68, 61], Operations: ['70-9=61']
Exploring Operation: 68-61=7, Resulting Numbers: [10, 7]
Generated Node #0,3,0: 28:[10, 7] Operation: 68-61=7
Exploring Operation: 10+61=71, Resulting Numbers: [68, 71]
Generated Node #0,3,1: 28:[68, 71] Operation: 10+61=71
Exploring Operation: 10+68=78, Resulting Numbers: [61, 78]
Generated Node #0,3,2: 28:[61, 78] Operation: 10+68=78
Exploring Operation: 68-10=58, Resulting Numbers: [61, 58]
Generated Node #0,3,3: 28:[61, 58] Operation: 68-10=58
Exploring Operation: 61-10=51, Resulting Numbers: [68, 51]
Generated Node #0,3,4: 28:[68, 51] Operation: 61-10=51
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[10, 7], Operations: ['70-9=61', '68-61=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[61, 58], Operations: ['70-9=61', '68-10=58']
Exploring Operation: 61+58=119, Resulting Numbers: [119]
119,28 unequal: No Solution
Exploring Operation: 61*58=3538, Resulting Numbers: [3538]
3538,28 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 28:[68, 51], Operations: ['70-9=61', '61-10=51']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 68+51=119, Resulting Numbers: [119]
119,28 unequal: No Solution
Exploring Operation: 68*51=3468, Resulting Numbers: [3468]
3468,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[68, 71], Operations: ['70-9=61', '10+61=71']
Exploring Operation: 68*71=4828, Resulting Numbers: [4828]
4828,28 unequal: No Solution
Exploring Operation: 68+71=139, Resulting Numbers: [139]
139,28 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[61, 78], Operations: ['70-9=61', '10+68=78']
Exploring Operation: 61*78=4758, Resulting Numbers: [4758]
4758,28 unequal: No Solution
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,28 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 28:[7, 59], Operations: ['70/10=7', '68-9=59']
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,28 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,28 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[9, 61], Operations: ['70/10=7', '68-7=61']
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,28 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[68, 2], Operations: ['70/10=7', '9-7=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,28 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[68, 16], Operations: ['70/10=7', '9+7=16']
Exploring Operation: 68*16=1088, Resulting Numbers: [1088]
1088,28 unequal: No Solution
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,28 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[7, 77], Operations: ['70/10=7', '9+68=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,28 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 7*77=539, Resulting Numbers: [539]
539,28 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
45,
80,
14,
4
] | 32 | [
"14+4=18",
"80*18=1440",
"1440/45=32"
] | Current State: 32:[45, 80, 14, 4], Operations: []
Exploring Operation: 14+4=18, Resulting Numbers: [45, 80, 18]
Generated Node #2: [45, 80, 18] from Operation: 14+4=18
Current State: 32:[45, 80, 18], Operations: ['14+4=18']
Exploring Operation: 80*18=1440, Resulting Numbers: [45, 1440]
Generated Node #3: [45, 1440] from Operation: 80*18=1440
Current State: 32:[45, 1440], Operations: ['14+4=18', '80*18=1440']
Exploring Operation: 1440/45=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[45, 80, 14, 4], Operations: []
Exploring Operation: 80-45=35, Resulting Numbers: [14, 4, 35]
Generated Node #0,0: 32:[14, 4, 35] Operation: 80-45=35
Exploring Operation: 80/4=20, Resulting Numbers: [45, 14, 20]
Generated Node #0,1: 32:[45, 14, 20] Operation: 80/4=20
Moving to Node #0,0
Current State: 32:[14, 4, 35], Operations: ['80-45=35']
Exploring Operation: 35-4=31, Resulting Numbers: [14, 31]
Generated Node #0,0,0: 32:[14, 31] Operation: 35-4=31
Exploring Operation: 14+4=18, Resulting Numbers: [35, 18]
Generated Node #0,0,1: 32:[35, 18] Operation: 14+4=18
Moving to Node #0,1
Current State: 32:[45, 14, 20], Operations: ['80/4=20']
Exploring Operation: 45-14=31, Resulting Numbers: [20, 31]
Generated Node #0,1,0: 32:[20, 31] Operation: 45-14=31
Exploring Operation: 45-20=25, Resulting Numbers: [14, 25]
Generated Node #0,1,1: 32:[14, 25] Operation: 45-20=25
Moving to Node #0,0,0
Current State: 32:[14, 31], Operations: ['80-45=35', '35-4=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[20, 31], Operations: ['80/4=20', '45-14=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[35, 18], Operations: ['80-45=35', '14+4=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[14, 25], Operations: ['80/4=20', '45-20=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
14,
2,
19
] | 95 | [
"38/2=19",
"19-14=5",
"19*5=95"
] | Current State: 95:[38, 14, 2, 19], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [14, 19, 19]
Generated Node #2: [14, 19, 19] from Operation: 38/2=19
Current State: 95:[14, 19, 19], Operations: ['38/2=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,95 equal: Goal Reached
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[38, 14, 2, 19], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [14, 2, 2]
Generated Node #0,0: 95:[14, 2, 2] Operation: 38/19=2
Exploring Operation: 38/2=19, Resulting Numbers: [14, 19, 19]
Generated Node #0,1: 95:[14, 19, 19] Operation: 38/2=19
Exploring Operation: 14/2=7, Resulting Numbers: [38, 19, 7]
Generated Node #0,2: 95:[38, 19, 7] Operation: 14/2=7
Exploring Operation: 38-19=19, Resulting Numbers: [14, 2, 19]
Generated Node #0,3: 95:[14, 2, 19] Operation: 38-19=19
Exploring Operation: 38-14=24, Resulting Numbers: [2, 19, 24]
Generated Node #0,4: 95:[2, 19, 24] Operation: 38-14=24
Moving to Node #0,1
Current State: 95:[14, 19, 19], Operations: ['38/2=19']
Exploring Operation: 19-14=5, Resulting Numbers: [19, 5]
Generated Node #0,1,0: 95:[19, 5] Operation: 19-14=5
Exploring Operation: 19-19=0, Resulting Numbers: [14, 0]
Generated Node #0,1,1: 95:[14, 0] Operation: 19-19=0
Exploring Operation: 14+19=33, Resulting Numbers: [19, 33]
Generated Node #0,1,2: 95:[19, 33] Operation: 14+19=33
Exploring Operation: 19/19=1, Resulting Numbers: [14, 1]
Generated Node #0,1,3: 95:[14, 1] Operation: 19/19=1
Exploring Operation: 19-14=5, Resulting Numbers: [19, 5]
Generated Node #0,1,4: 95:[19, 5] Operation: 19-14=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[19, 5], Operations: ['38/2=19', '19-14=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[38, 14, 2, 19], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [14, 19, 19]
Generated Node #0,1: 95:[14, 19, 19] Operation: 38/2=19
Moving to Node #0,1
Current State: 95:[14, 19, 19], Operations: ['38/2=19']
Exploring Operation: 19-14=5, Resulting Numbers: [19, 5]
Generated Node #0,1,0: 95:[19, 5] Operation: 19-14=5
Moving to Node #0,1,0
Current State: 95:[19, 5], Operations: ['38/2=19', '19-14=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
85,
86,
89,
60
] | 28 | [
"86-85=1",
"89-60=29",
"29-1=28"
] | Current State: 28:[85, 86, 89, 60], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [89, 60, 1]
Generated Node #2: [89, 60, 1] from Operation: 86-85=1
Current State: 28:[89, 60, 1], Operations: ['86-85=1']
Exploring Operation: 89-60=29, Resulting Numbers: [1, 29]
Generated Node #3: [1, 29] from Operation: 89-60=29
Current State: 28:[1, 29], Operations: ['86-85=1', '89-60=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[85, 86, 89, 60], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [86, 60, 4]
Generated Node #0,0: 28:[86, 60, 4] Operation: 89-85=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[86, 60, 4], Operations: ['89-85=4']
Exploring Operation: 86-60=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 28:[4, 26] Operation: 86-60=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 26], Operations: ['89-85=4', '86-60=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
9,
17,
85
] | 79 | [
"9*85=765",
"765/17=45",
"34+45=79"
] | Current State: 79:[34, 9, 17, 85], Operations: []
Exploring Operation: 9*85=765, Resulting Numbers: [34, 17, 765]
Generated Node #2: [34, 17, 765] from Operation: 9*85=765
Current State: 79:[34, 17, 765], Operations: ['9*85=765']
Exploring Operation: 765/17=45, Resulting Numbers: [34, 45]
Generated Node #3: [34, 45] from Operation: 765/17=45
Current State: 79:[34, 45], Operations: ['9*85=765', '765/17=45']
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[34, 9, 17, 85], Operations: []
Exploring Operation: 34+9=43, Resulting Numbers: [17, 85, 43]
Generated Node #0,0: 79:[17, 85, 43] Operation: 34+9=43
Exploring Operation: 9+17=26, Resulting Numbers: [34, 85, 26]
Generated Node #0,1: 79:[34, 85, 26] Operation: 9+17=26
Exploring Operation: 34+17=51, Resulting Numbers: [9, 85, 51]
Generated Node #0,2: 79:[9, 85, 51] Operation: 34+17=51
Moving to Node #0,0
Current State: 79:[17, 85, 43], Operations: ['34+9=43']
Exploring Operation: 17+43=60, Resulting Numbers: [85, 60]
Generated Node #0,0,0: 79:[85, 60] Operation: 17+43=60
Exploring Operation: 17+85=102, Resulting Numbers: [43, 102]
Generated Node #0,0,1: 79:[43, 102] Operation: 17+85=102
Exploring Operation: 85-17=68, Resulting Numbers: [43, 68]
Generated Node #0,0,2: 79:[43, 68] Operation: 85-17=68
Moving to Node #0,1
Current State: 79:[34, 85, 26], Operations: ['9+17=26']
Exploring Operation: 85-26=59, Resulting Numbers: [34, 59]
Generated Node #0,1,0: 79:[34, 59] Operation: 85-26=59
Exploring Operation: 34+26=60, Resulting Numbers: [85, 60]
Generated Node #0,1,1: 79:[85, 60] Operation: 34+26=60
Exploring Operation: 34-26=8, Resulting Numbers: [85, 8]
Generated Node #0,1,2: 79:[85, 8] Operation: 34-26=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[85, 60], Operations: ['9+17=26', '34+26=60']
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,79 unequal: No Solution
Exploring Operation: 85*60=5100, Resulting Numbers: [5100]
5100,79 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,79 unequal: No Solution
No 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: 79:[34, 59], Operations: ['9+17=26', '85-26=59']
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,79 unequal: No Solution
No 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: 79:[85, 8], Operations: ['9+17=26', '34-26=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,79 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,79 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: 79:[9, 85, 51], Operations: ['34+17=51']
Exploring Operation: 85-9=76, Resulting Numbers: [51, 76]
Generated Node #0,2,0: 79:[51, 76] Operation: 85-9=76
Exploring Operation: 9+51=60, Resulting Numbers: [85, 60]
Generated Node #0,2,1: 79:[85, 60] Operation: 9+51=60
Exploring Operation: 9+85=94, Resulting Numbers: [51, 94]
Generated Node #0,2,2: 79:[51, 94] Operation: 9+85=94
Moving to Node #0,0,0
Current State: 79:[85, 60], Operations: ['34+9=43', '17+43=60']
Exploring Operation: 85*60=5100, Resulting Numbers: [5100]
5100,79 unequal: No Solution
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,79 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[85, 60], Operations: ['34+17=51', '9+51=60']
Exploring Operation: 85+60=145, Resulting Numbers: [145]
145,79 unequal: No Solution
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 85*60=5100, Resulting Numbers: [5100]
5100,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[51, 76], Operations: ['34+17=51', '85-9=76']
Exploring Operation: 51*76=3876, Resulting Numbers: [3876]
3876,79 unequal: No Solution
Exploring Operation: 51+76=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[51, 94], Operations: ['34+17=51', '9+85=94']
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 51+94=145, Resulting Numbers: [145]
145,79 unequal: No Solution
Exploring Operation: 51*94=4794, Resulting Numbers: [4794]
4794,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[43, 68], Operations: ['34+9=43', '85-17=68']
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,79 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[43, 102], Operations: ['34+9=43', '17+85=102']
Exploring Operation: 43*102=4386, Resulting Numbers: [4386]
4386,79 unequal: No Solution
Exploring Operation: 102-43=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 43+102=145, Resulting Numbers: [145]
145,79 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
63,
80,
58
] | 78 | [
"68+58=126",
"126/63=2",
"80-2=78"
] | Current State: 78:[68, 63, 80, 58], Operations: []
Exploring Operation: 68+58=126, Resulting Numbers: [63, 80, 126]
Generated Node #2: [63, 80, 126] from Operation: 68+58=126
Current State: 78:[63, 80, 126], Operations: ['68+58=126']
Exploring Operation: 126/63=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 126/63=2
Current State: 78:[80, 2], Operations: ['68+58=126', '126/63=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[68, 63, 80, 58], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [68, 80, 5]
Generated Node #0,0: 78:[68, 80, 5] Operation: 63-58=5
Exploring Operation: 68-58=10, Resulting Numbers: [63, 80, 10]
Generated Node #0,1: 78:[63, 80, 10] Operation: 68-58=10
Exploring Operation: 68-63=5, Resulting Numbers: [80, 58, 5]
Generated Node #0,2: 78:[80, 58, 5] Operation: 68-63=5
Moving to Node #0,0
Current State: 78:[68, 80, 5], Operations: ['63-58=5']
Exploring Operation: 80-68=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 78:[5, 12] Operation: 80-68=12
Exploring Operation: 80-5=75, Resulting Numbers: [68, 75]
Generated Node #0,0,1: 78:[68, 75] Operation: 80-5=75
Exploring Operation: 68+5=73, Resulting Numbers: [80, 73]
Generated Node #0,0,2: 78:[80, 73] Operation: 68+5=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[5, 12], Operations: ['63-58=5', '80-68=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,78 unequal: No Solution
No 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: 78:[80, 73], Operations: ['63-58=5', '68+5=73']
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 80*73=5840, Resulting Numbers: [5840]
5840,78 unequal: No Solution
Exploring Operation: 80+73=153, Resulting Numbers: [153]
153,78 unequal: No Solution
No 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: 78:[68, 75], Operations: ['63-58=5', '80-5=75']
Exploring Operation: 68*75=5100, Resulting Numbers: [5100]
5100,78 unequal: No Solution
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,78 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: 78:[63, 80, 10], Operations: ['68-58=10']
Exploring Operation: 63-10=53, Resulting Numbers: [80, 53]
Generated Node #0,1,0: 78:[80, 53] Operation: 63-10=53
Exploring Operation: 80-63=17, Resulting Numbers: [10, 17]
Generated Node #0,1,1: 78:[10, 17] Operation: 80-63=17
Exploring Operation: 63+10=73, Resulting Numbers: [80, 73]
Generated Node #0,1,2: 78:[80, 73] Operation: 63+10=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[10, 17], Operations: ['68-58=10', '80-63=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,78 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,78 unequal: No Solution
No 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: 78:[80, 73], Operations: ['68-58=10', '63+10=73']
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 80+73=153, Resulting Numbers: [153]
153,78 unequal: No Solution
Exploring Operation: 80*73=5840, Resulting Numbers: [5840]
5840,78 unequal: No Solution
No 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: 78:[80, 53], Operations: ['68-58=10', '63-10=53']
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,78 unequal: No Solution
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,78 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,78 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: 78:[80, 58, 5], Operations: ['68-63=5']
Exploring Operation: 58+5=63, Resulting Numbers: [80, 63]
Generated Node #0,2,0: 78:[80, 63] Operation: 58+5=63
Exploring Operation: 80-58=22, Resulting Numbers: [5, 22]
Generated Node #0,2,1: 78:[5, 22] Operation: 80-58=22
Exploring Operation: 58-5=53, Resulting Numbers: [80, 53]
Generated Node #0,2,2: 78:[80, 53] Operation: 58-5=53
Moving to Node #0,2,1
Current State: 78:[5, 22], Operations: ['68-63=5', '80-58=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,78 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[80, 53], Operations: ['68-63=5', '58-5=53']
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,78 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[80, 63], Operations: ['68-63=5', '58+5=63']
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,78 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,78 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,78 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
32,
48,
18
] | 32 | [
"30+32=62",
"48-18=30",
"62-30=32"
] | Current State: 32:[30, 32, 48, 18], Operations: []
Exploring Operation: 30+32=62, Resulting Numbers: [48, 18, 62]
Generated Node #2: [48, 18, 62] from Operation: 30+32=62
Current State: 32:[48, 18, 62], Operations: ['30+32=62']
Exploring Operation: 48-18=30, Resulting Numbers: [62, 30]
Generated Node #3: [62, 30] from Operation: 48-18=30
Current State: 32:[62, 30], Operations: ['30+32=62', '48-18=30']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[30, 32, 48, 18], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [30, 18, 16]
Generated Node #0,0: 32:[30, 18, 16] Operation: 48-32=16
Exploring Operation: 48-30=18, Resulting Numbers: [32, 18, 18]
Generated Node #0,1: 32:[32, 18, 18] Operation: 48-30=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[30, 18, 16], Operations: ['48-32=16']
Exploring Operation: 18-16=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 18-16=2
Exploring Operation: 30-18=12, Resulting Numbers: [16, 12]
Generated Node #0,0,1: 32:[16, 12] Operation: 30-18=12
Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['48-32=16', '18-16=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[30, 32, 48, 18], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [30, 18, 16]
Generated Node #0,0: 32:[30, 18, 16] Operation: 48-32=16
Moving to Node #0,0
Current State: 32:[30, 18, 16], Operations: ['48-32=16']
Exploring Operation: 18-16=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 18-16=2
Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['48-32=16', '18-16=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
5,
16,
67,
70
] | 32 | [
"5+67=72",
"72-70=2",
"16*2=32"
] | Current State: 32:[5, 16, 67, 70], Operations: []
Exploring Operation: 5+67=72, Resulting Numbers: [16, 70, 72]
Generated Node #2: [16, 70, 72] from Operation: 5+67=72
Current State: 32:[16, 70, 72], Operations: ['5+67=72']
Exploring Operation: 72-70=2, Resulting Numbers: [16, 2]
Generated Node #3: [16, 2] from Operation: 72-70=2
Current State: 32:[16, 2], Operations: ['5+67=72', '72-70=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[5, 16, 67, 70], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [5, 16, 3]
Generated Node #0,0: 32:[5, 16, 3] Operation: 70-67=3
Moving to Node #0,0
Current State: 32:[5, 16, 3], Operations: ['70-67=3']
Exploring Operation: 5+3=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 32:[16, 8] Operation: 5+3=8
Moving to Node #0,0,0
Current State: 32:[16, 8], Operations: ['70-67=3', '5+3=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
36,
86,
87
] | 37 | [
"72-36=36",
"87-86=1",
"36+1=37"
] | Current State: 37:[72, 36, 86, 87], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [86, 87, 36]
Generated Node #2: [86, 87, 36] from Operation: 72-36=36
Current State: 37:[86, 87, 36], Operations: ['72-36=36']
Exploring Operation: 87-86=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 87-86=1
Current State: 37:[36, 1], Operations: ['72-36=36', '87-86=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[72, 36, 86, 87], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [36, 86, 15]
Generated Node #0,0: 37:[36, 86, 15] Operation: 87-72=15
Exploring Operation: 87-86=1, Resulting Numbers: [72, 36, 1]
Generated Node #0,1: 37:[72, 36, 1] Operation: 87-86=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[36, 86, 15], Operations: ['87-72=15']
Exploring Operation: 86-36=50, Resulting Numbers: [15, 50]
Generated Node #0,0,0: 37:[15, 50] Operation: 86-36=50
Exploring Operation: 86-15=71, Resulting Numbers: [36, 71]
Generated Node #0,0,1: 37:[36, 71] Operation: 86-15=71
Moving to Node #0,0,0
Current State: 37:[15, 50], Operations: ['87-72=15', '86-36=50']
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[36, 71], Operations: ['87-72=15', '86-15=71']
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,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,1
Current State: 37:[72, 36, 1], Operations: ['87-86=1']
Exploring Operation: 36+1=37, Resulting Numbers: [72, 37]
Generated Node #0,1,0: 37:[72, 37] Operation: 36+1=37
Exploring Operation: 72-1=71, Resulting Numbers: [36, 71]
Generated Node #0,1,1: 37:[36, 71] Operation: 72-1=71
Moving to Node #0,1,0
Current State: 37:[72, 37], Operations: ['87-86=1', '36+1=37']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[36, 71], Operations: ['87-86=1', '72-1=71']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,37 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 |
[
17,
25,
91,
4
] | 59 | [
"25-17=8",
"4*8=32",
"91-32=59"
] | Current State: 59:[17, 25, 91, 4], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [91, 4, 8]
Generated Node #2: [91, 4, 8] from Operation: 25-17=8
Current State: 59:[91, 4, 8], Operations: ['25-17=8']
Exploring Operation: 4*8=32, Resulting Numbers: [91, 32]
Generated Node #3: [91, 32] from Operation: 4*8=32
Current State: 59:[91, 32], Operations: ['25-17=8', '4*8=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[17, 25, 91, 4], Operations: []
Exploring Operation: 17*4=68, Resulting Numbers: [25, 91, 68]
Generated Node #0,0: 59:[25, 91, 68] Operation: 17*4=68
Moving to Node #0,0
Current State: 59:[25, 91, 68], Operations: ['17*4=68']
Exploring Operation: 91-25=66, Resulting Numbers: [68, 66]
Generated Node #0,0,0: 59:[68, 66] Operation: 91-25=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[68, 66], Operations: ['17*4=68', '91-25=66']
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
42,
6,
87
] | 16 | [
"87/29=3",
"42+6=48",
"48/3=16"
] | Current State: 16:[29, 42, 6, 87], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [42, 6, 3]
Generated Node #2: [42, 6, 3] from Operation: 87/29=3
Current State: 16:[42, 6, 3], Operations: ['87/29=3']
Exploring Operation: 42+6=48, Resulting Numbers: [3, 48]
Generated Node #3: [3, 48] from Operation: 42+6=48
Current State: 16:[3, 48], Operations: ['87/29=3', '42+6=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[29, 42, 6, 87], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [29, 87, 7]
Generated Node #0,0: 16:[29, 87, 7] Operation: 42/6=7
Exploring Operation: 87/29=3, Resulting Numbers: [42, 6, 3]
Generated Node #0,1: 16:[42, 6, 3] Operation: 87/29=3
Exploring Operation: 87-42=45, Resulting Numbers: [29, 6, 45]
Generated Node #0,2: 16:[29, 6, 45] Operation: 87-42=45
Exploring Operation: 87-29=58, Resulting Numbers: [42, 6, 58]
Generated Node #0,3: 16:[42, 6, 58] Operation: 87-29=58
Exploring Operation: 42-29=13, Resulting Numbers: [6, 87, 13]
Generated Node #0,4: 16:[6, 87, 13] Operation: 42-29=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[42, 6, 3], Operations: ['87/29=3']
Exploring Operation: 42/6=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 16:[3, 7] Operation: 42/6=7
Exploring Operation: 6/3=2, Resulting Numbers: [42, 2]
Generated Node #0,1,1: 16:[42, 2] Operation: 6/3=2
Exploring Operation: 42-6=36, Resulting Numbers: [3, 36]
Generated Node #0,1,2: 16:[3, 36] Operation: 42-6=36
Exploring Operation: 42/3=14, Resulting Numbers: [6, 14]
Generated Node #0,1,3: 16:[6, 14] Operation: 42/3=14
Exploring Operation: 42-3=39, Resulting Numbers: [6, 39]
Generated Node #0,1,4: 16:[6, 39] Operation: 42-3=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[3, 7], Operations: ['87/29=3', '42/6=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[6, 14], Operations: ['87/29=3', '42/3=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[3, 36], Operations: ['87/29=3', '42-6=36']
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,16 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 16:[6, 39], Operations: ['87/29=3', '42-3=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,16 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[42, 2], Operations: ['87/29=3', '6/3=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[29, 6, 45], Operations: ['87-42=45']
Exploring Operation: 29+6=35, Resulting Numbers: [45, 35]
Generated Node #0,2,0: 16:[45, 35] Operation: 29+6=35
Exploring Operation: 29-6=23, Resulting Numbers: [45, 23]
Generated Node #0,2,1: 16:[45, 23] Operation: 29-6=23
Exploring Operation: 6+45=51, Resulting Numbers: [29, 51]
Generated Node #0,2,2: 16:[29, 51] Operation: 6+45=51
Exploring Operation: 45-6=39, Resulting Numbers: [29, 39]
Generated Node #0,2,3: 16:[29, 39] Operation: 45-6=39
Exploring Operation: 45-29=16, Resulting Numbers: [6, 16]
Generated Node #0,2,4: 16:[6, 16] Operation: 45-29=16
Moving to Node #0,2,4
Current State: 16:[6, 16], Operations: ['87-42=45', '45-29=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,16 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[29, 39], Operations: ['87-42=45', '45-6=39']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,16 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[45, 23], Operations: ['87-42=45', '29-6=23']
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,16 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[45, 35], Operations: ['87-42=45', '29+6=35']
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,16 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[29, 51], Operations: ['87-42=45', '6+45=51']
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,16 unequal: No Solution
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,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
Current State: 16:[42, 6, 58], Operations: ['87-29=58']
Exploring Operation: 42+6=48, Resulting Numbers: [58, 48]
Generated Node #0,3,0: 16:[58, 48] Operation: 42+6=48
Exploring Operation: 58-6=52, Resulting Numbers: [42, 52]
Generated Node #0,3,1: 16:[42, 52] Operation: 58-6=52
Exploring Operation: 58-42=16, Resulting Numbers: [6, 16]
Generated Node #0,3,2: 16:[6, 16] Operation: 58-42=16
Exploring Operation: 42-6=36, Resulting Numbers: [58, 36]
Generated Node #0,3,3: 16:[58, 36] Operation: 42-6=36
Exploring Operation: 42/6=7, Resulting Numbers: [58, 7]
Generated Node #0,3,4: 16:[58, 7] Operation: 42/6=7
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 16:[6, 16], Operations: ['87-29=58', '58-42=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,16 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 16:[58, 7], Operations: ['87-29=58', '42/6=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 16:[42, 52], Operations: ['87-29=58', '58-6=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,16 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 16:[58, 36], Operations: ['87-29=58', '42-6=36']
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,16 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[58, 48], Operations: ['87-29=58', '42+6=48']
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,16 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[6, 87, 13], Operations: ['42-29=13']
Exploring Operation: 87-6=81, Resulting Numbers: [13, 81]
Generated Node #0,4,0: 16:[13, 81] Operation: 87-6=81
Exploring Operation: 13-6=7, Resulting Numbers: [87, 7]
Generated Node #0,4,1: 16:[87, 7] Operation: 13-6=7
Exploring Operation: 6+13=19, Resulting Numbers: [87, 19]
Generated Node #0,4,2: 16:[87, 19] Operation: 6+13=19
Exploring Operation: 6+87=93, Resulting Numbers: [13, 93]
Generated Node #0,4,3: 16:[13, 93] Operation: 6+87=93
Exploring Operation: 87-13=74, Resulting Numbers: [6, 74]
Generated Node #0,4,4: 16:[6, 74] Operation: 87-13=74
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 16:[6, 74], Operations: ['42-29=13', '87-13=74']
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 6*74=444, Resulting Numbers: [444]
444,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 16:[13, 81], Operations: ['42-29=13', '87-6=81']
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,16 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 16:[87, 7], Operations: ['42-29=13', '13-6=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,16 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 16:[87, 19], Operations: ['42-29=13', '6+13=19']
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 16:[13, 93], Operations: ['42-29=13', '6+87=93']
Exploring Operation: 13*93=1209, Resulting Numbers: [1209]
1209,16 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 13+93=106, Resulting Numbers: [106]
106,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[29, 87, 7], Operations: ['42/6=7']
Exploring Operation: 29-7=22, Resulting Numbers: [87, 22]
Generated Node #0,0,0: 16:[87, 22] Operation: 29-7=22
Exploring Operation: 87-29=58, Resulting Numbers: [7, 58]
Generated Node #0,0,1: 16:[7, 58] Operation: 87-29=58
Exploring Operation: 87/29=3, Resulting Numbers: [7, 3]
Generated Node #0,0,2: 16:[7, 3] Operation: 87/29=3
Exploring Operation: 29+7=36, Resulting Numbers: [87, 36]
Generated Node #0,0,3: 16:[87, 36] Operation: 29+7=36
Exploring Operation: 87-7=80, Resulting Numbers: [29, 80]
Generated Node #0,0,4: 16:[29, 80] Operation: 87-7=80
Moving to Node #0,0,2
Current State: 16:[7, 3], Operations: ['42/6=7', '87/29=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[7, 58], Operations: ['42/6=7', '87-29=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,16 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[87, 22], Operations: ['42/6=7', '29-7=22']
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,16 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,16 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[29, 80], Operations: ['42/6=7', '87-7=80']
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,16 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[87, 36], Operations: ['42/6=7', '29+7=36']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,16 unequal: No Solution
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
77,
60,
49
] | 54 | [
"3*60=180",
"77+49=126",
"180-126=54"
] | Current State: 54:[3, 77, 60, 49], Operations: []
Exploring Operation: 3*60=180, Resulting Numbers: [77, 49, 180]
Generated Node #2: [77, 49, 180] from Operation: 3*60=180
Current State: 54:[77, 49, 180], Operations: ['3*60=180']
Exploring Operation: 77+49=126, Resulting Numbers: [180, 126]
Generated Node #3: [180, 126] from Operation: 77+49=126
Current State: 54:[180, 126], Operations: ['3*60=180', '77+49=126']
Exploring Operation: 180-126=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[3, 77, 60, 49], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [3, 60, 28]
Generated Node #0,0: 54:[3, 60, 28] Operation: 77-49=28
Exploring Operation: 77-60=17, Resulting Numbers: [3, 49, 17]
Generated Node #0,1: 54:[3, 49, 17] Operation: 77-60=17
Moving to Node #0,1
Current State: 54:[3, 49, 17], Operations: ['77-60=17']
Exploring Operation: 3+49=52, Resulting Numbers: [17, 52]
Generated Node #0,1,0: 54:[17, 52] Operation: 3+49=52
Exploring Operation: 49-17=32, Resulting Numbers: [3, 32]
Generated Node #0,1,1: 54:[3, 32] Operation: 49-17=32
Moving to Node #0,0
Current State: 54:[3, 60, 28], Operations: ['77-49=28']
Exploring Operation: 60/3=20, Resulting Numbers: [28, 20]
Generated Node #0,0,0: 54:[28, 20] Operation: 60/3=20
Exploring Operation: 60-3=57, Resulting Numbers: [28, 57]
Generated Node #0,0,1: 54:[28, 57] Operation: 60-3=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[28, 20], Operations: ['77-49=28', '60/3=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[28, 57], Operations: ['77-49=28', '60-3=57']
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,54 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,54 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: 54:[17, 52], Operations: ['77-60=17', '3+49=52']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[3, 32], Operations: ['77-60=17', '49-17=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,54 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
91,
15,
13
] | 20 | [
"15-2=13",
"91/13=7",
"13+7=20"
] | Current State: 20:[2, 91, 15, 13], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [91, 13, 13]
Generated Node #2: [91, 13, 13] from Operation: 15-2=13
Current State: 20:[91, 13, 13], Operations: ['15-2=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,20 equal: Goal Reached
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 91, 15, 13], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [2, 15, 78]
Generated Node #0,0: 20:[2, 15, 78] Operation: 91-13=78
Exploring Operation: 15-13=2, Resulting Numbers: [2, 91, 2]
Generated Node #0,1: 20:[2, 91, 2] Operation: 15-13=2
Exploring Operation: 91-15=76, Resulting Numbers: [2, 13, 76]
Generated Node #0,2: 20:[2, 13, 76] Operation: 91-15=76
Exploring Operation: 91/13=7, Resulting Numbers: [2, 15, 7]
Generated Node #0,3: 20:[2, 15, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[2, 15, 7], Operations: ['91/13=7']
Exploring Operation: 15+7=22, Resulting Numbers: [2, 22]
Generated Node #0,3,0: 20:[2, 22] Operation: 15+7=22
Exploring Operation: 15-7=8, Resulting Numbers: [2, 8]
Generated Node #0,3,1: 20:[2, 8] Operation: 15-7=8
Exploring Operation: 15-2=13, Resulting Numbers: [7, 13]
Generated Node #0,3,2: 20:[7, 13] Operation: 15-2=13
Exploring Operation: 2+15=17, Resulting Numbers: [7, 17]
Generated Node #0,3,3: 20:[7, 17] Operation: 2+15=17
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[2, 22], Operations: ['91/13=7', '15+7=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[2, 91, 15, 13], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [2, 15, 7]
Generated Node #0,3: 20:[2, 15, 7] Operation: 91/13=7
Moving to Node #0,3
Current State: 20:[2, 15, 7], Operations: ['91/13=7']
Exploring Operation: 15+7=22, Resulting Numbers: [2, 22]
Generated Node #0,3,0: 20:[2, 22] Operation: 15+7=22
Moving to Node #0,3,0
Current State: 20:[2, 22], Operations: ['91/13=7', '15+7=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
17,
55,
81,
55
] | 81 | [
"55-55=0",
"17*0=0",
"81+0=81"
] | Current State: 81:[17, 55, 81, 55], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [17, 81, 0]
Generated Node #2: [17, 81, 0] from Operation: 55-55=0
Current State: 81:[17, 81, 0], Operations: ['55-55=0']
Exploring Operation: 17*0=0, Resulting Numbers: [81, 0]
Generated Node #3: [81, 0] from Operation: 17*0=0
Current State: 81:[81, 0], Operations: ['55-55=0', '17*0=0']
Exploring Operation: 81+0=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[17, 55, 81, 55], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [17, 81, 0]
Generated Node #0,0: 81:[17, 81, 0] Operation: 55-55=0
Exploring Operation: 17+55=72, Resulting Numbers: [81, 55, 72]
Generated Node #0,1: 81:[81, 55, 72] Operation: 17+55=72
Exploring Operation: 55/55=1, Resulting Numbers: [17, 81, 1]
Generated Node #0,2: 81:[17, 81, 1] Operation: 55/55=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[17, 81, 1], Operations: ['55/55=1']
Exploring Operation: 17/1=17, Resulting Numbers: [81, 17]
Generated Node #0,2,0: 81:[81, 17] Operation: 17/1=17
Exploring Operation: 17*1=17, Resulting Numbers: [81, 17]
Generated Node #0,2,1: 81:[81, 17] Operation: 17*1=17
Exploring Operation: 17-1=16, Resulting Numbers: [81, 16]
Generated Node #0,2,2: 81:[81, 16] Operation: 17-1=16
Moving to Node #0,2,2
Current State: 81:[81, 16], Operations: ['55/55=1', '17-1=16']
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,81 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[81, 17], Operations: ['55/55=1', '17/1=17']
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,81 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[81, 17], Operations: ['55/55=1', '17*1=17']
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,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:[17, 81, 0], Operations: ['55-55=0']
Exploring Operation: 17+0=17, Resulting Numbers: [81, 17]
Generated Node #0,0,0: 81:[81, 17] Operation: 17+0=17
Exploring Operation: 17*0=0, Resulting Numbers: [81, 0]
Generated Node #0,0,1: 81:[81, 0] Operation: 17*0=0
Exploring Operation: 17-0=17, Resulting Numbers: [81, 17]
Generated Node #0,0,2: 81:[81, 17] Operation: 17-0=17
Moving to Node #0,0,1
Current State: 81:[81, 0], Operations: ['55-55=0', '17*0=0']
Exploring Operation: 81+0=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[17, 55, 81, 55], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [17, 81, 0]
Generated Node #0,0: 81:[17, 81, 0] Operation: 55-55=0
Moving to Node #0,0
Current State: 81:[17, 81, 0], Operations: ['55-55=0']
Exploring Operation: 17*0=0, Resulting Numbers: [81, 0]
Generated Node #0,0,1: 81:[81, 0] Operation: 17*0=0
Moving to Node #0,0,1
Current State: 81:[81, 0], Operations: ['55-55=0', '17*0=0']
Exploring Operation: 81+0=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
34,
43,
39,
67
] | 69 | [
"43-39=4",
"34*4=136",
"136-67=69"
] | Current State: 69:[34, 43, 39, 67], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [34, 67, 4]
Generated Node #2: [34, 67, 4] from Operation: 43-39=4
Current State: 69:[34, 67, 4], Operations: ['43-39=4']
Exploring Operation: 34*4=136, Resulting Numbers: [67, 136]
Generated Node #3: [67, 136] from Operation: 34*4=136
Current State: 69:[67, 136], Operations: ['43-39=4', '34*4=136']
Exploring Operation: 136-67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[34, 43, 39, 67], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [34, 67, 4]
Generated Node #0,0: 69:[34, 67, 4] Operation: 43-39=4
Exploring Operation: 43-34=9, Resulting Numbers: [39, 67, 9]
Generated Node #0,1: 69:[39, 67, 9] Operation: 43-34=9
Exploring Operation: 39-34=5, Resulting Numbers: [43, 67, 5]
Generated Node #0,2: 69:[43, 67, 5] Operation: 39-34=5
Moving to Node #0,0
Current State: 69:[34, 67, 4], Operations: ['43-39=4']
Exploring Operation: 34-4=30, Resulting Numbers: [67, 30]
Generated Node #0,0,0: 69:[67, 30] Operation: 34-4=30
Exploring Operation: 67+4=71, Resulting Numbers: [34, 71]
Generated Node #0,0,1: 69:[34, 71] Operation: 67+4=71
Exploring Operation: 67-34=33, Resulting Numbers: [4, 33]
Generated Node #0,0,2: 69:[4, 33] Operation: 67-34=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[67, 30], Operations: ['43-39=4', '34-4=30']
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,69 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,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,0,2
Current State: 69:[4, 33], Operations: ['43-39=4', '67-34=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,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,0,1
Current State: 69:[34, 71], Operations: ['43-39=4', '67+4=71']
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,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:[39, 67, 9], Operations: ['43-34=9']
Exploring Operation: 39+9=48, Resulting Numbers: [67, 48]
Generated Node #0,1,0: 69:[67, 48] Operation: 39+9=48
Exploring Operation: 67-39=28, Resulting Numbers: [9, 28]
Generated Node #0,1,1: 69:[9, 28] Operation: 67-39=28
Exploring Operation: 39-9=30, Resulting Numbers: [67, 30]
Generated Node #0,1,2: 69:[67, 30] Operation: 39-9=30
Moving to Node #0,2
Current State: 69:[43, 67, 5], Operations: ['39-34=5']
Exploring Operation: 43+5=48, Resulting Numbers: [67, 48]
Generated Node #0,2,0: 69:[67, 48] Operation: 43+5=48
Exploring Operation: 67-43=24, Resulting Numbers: [5, 24]
Generated Node #0,2,1: 69:[5, 24] Operation: 67-43=24
Exploring Operation: 43-5=38, Resulting Numbers: [67, 38]
Generated Node #0,2,2: 69:[67, 38] Operation: 43-5=38
Moving to Node #0,2,1
Current State: 69:[5, 24], Operations: ['39-34=5', '67-43=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[67, 30], Operations: ['43-34=9', '39-9=30']
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,69 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[9, 28], Operations: ['43-34=9', '67-39=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,69 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[67, 38], Operations: ['39-34=5', '43-5=38']
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,69 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[67, 48], Operations: ['39-34=5', '43+5=48']
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,69 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[67, 48], Operations: ['43-34=9', '39+9=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,69 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
24,
57,
34
] | 48 | [
"46*24=1104",
"57-34=23",
"1104/23=48"
] | Current State: 48:[46, 24, 57, 34], Operations: []
Exploring Operation: 46*24=1104, Resulting Numbers: [57, 34, 1104]
Generated Node #2: [57, 34, 1104] from Operation: 46*24=1104
Current State: 48:[57, 34, 1104], Operations: ['46*24=1104']
Exploring Operation: 57-34=23, Resulting Numbers: [1104, 23]
Generated Node #3: [1104, 23] from Operation: 57-34=23
Current State: 48:[1104, 23], Operations: ['46*24=1104', '57-34=23']
Exploring Operation: 1104/23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[46, 24, 57, 34], Operations: []
Exploring Operation: 46-24=22, Resulting Numbers: [57, 34, 22]
Generated Node #0,0: 48:[57, 34, 22] Operation: 46-24=22
Exploring Operation: 34-24=10, Resulting Numbers: [46, 57, 10]
Generated Node #0,1: 48:[46, 57, 10] Operation: 34-24=10
Exploring Operation: 46-34=12, Resulting Numbers: [24, 57, 12]
Generated Node #0,2: 48:[24, 57, 12] Operation: 46-34=12
Exploring Operation: 57-46=11, Resulting Numbers: [24, 34, 11]
Generated Node #0,3: 48:[24, 34, 11] Operation: 57-46=11
Exploring Operation: 57-34=23, Resulting Numbers: [46, 24, 23]
Generated Node #0,4: 48:[46, 24, 23] Operation: 57-34=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 48:[46, 24, 23], Operations: ['57-34=23']
Exploring Operation: 46-23=23, Resulting Numbers: [24, 23]
Generated Node #0,4,0: 48:[24, 23] Operation: 46-23=23
Exploring Operation: 24-23=1, Resulting Numbers: [46, 1]
Generated Node #0,4,1: 48:[46, 1] Operation: 24-23=1
Exploring Operation: 46-24=22, Resulting Numbers: [23, 22]
Generated Node #0,4,2: 48:[23, 22] Operation: 46-24=22
Exploring Operation: 46/23=2, Resulting Numbers: [24, 2]
Generated Node #0,4,3: 48:[24, 2] Operation: 46/23=2
Exploring Operation: 24+23=47, Resulting Numbers: [46, 47]
Generated Node #0,4,4: 48:[46, 47] Operation: 24+23=47
Moving to Node #0,4,3
Current State: 48:[24, 2], Operations: ['57-34=23', '46/23=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[46, 24, 57, 34], Operations: []
Exploring Operation: 57-34=23, Resulting Numbers: [46, 24, 23]
Generated Node #0,4: 48:[46, 24, 23] Operation: 57-34=23
Moving to Node #0,4
Current State: 48:[46, 24, 23], Operations: ['57-34=23']
Exploring Operation: 46/23=2, Resulting Numbers: [24, 2]
Generated Node #0,4,3: 48:[24, 2] Operation: 46/23=2
Moving to Node #0,4,3
Current State: 48:[24, 2], Operations: ['57-34=23', '46/23=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
67,
88,
22,
71
] | 71 | [
"88-67=21",
"22-21=1",
"71*1=71"
] | Current State: 71:[67, 88, 22, 71], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [22, 71, 21]
Generated Node #2: [22, 71, 21] from Operation: 88-67=21
Current State: 71:[22, 71, 21], Operations: ['88-67=21']
Exploring Operation: 22-21=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 22-21=1
Current State: 71:[71, 1], Operations: ['88-67=21', '22-21=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[67, 88, 22, 71], Operations: []
Exploring Operation: 88-22=66, Resulting Numbers: [67, 71, 66]
Generated Node #0,0: 71:[67, 71, 66] Operation: 88-22=66
Exploring Operation: 22+71=93, Resulting Numbers: [67, 88, 93]
Generated Node #0,1: 71:[67, 88, 93] Operation: 22+71=93
Exploring Operation: 67+22=89, Resulting Numbers: [88, 71, 89]
Generated Node #0,2: 71:[88, 71, 89] Operation: 67+22=89
Exploring Operation: 67-22=45, Resulting Numbers: [88, 71, 45]
Generated Node #0,3: 71:[88, 71, 45] Operation: 67-22=45
Exploring Operation: 88+22=110, Resulting Numbers: [67, 71, 110]
Generated Node #0,4: 71:[67, 71, 110] Operation: 88+22=110
Moving to Node #0,0
Current State: 71:[67, 71, 66], Operations: ['88-22=66']
Exploring Operation: 71+66=137, Resulting Numbers: [67, 137]
Generated Node #0,0,0: 71:[67, 137] Operation: 71+66=137
Exploring Operation: 67-66=1, Resulting Numbers: [71, 1]
Generated Node #0,0,1: 71:[71, 1] Operation: 67-66=1
Exploring Operation: 71-66=5, Resulting Numbers: [67, 5]
Generated Node #0,0,2: 71:[67, 5] Operation: 71-66=5
Exploring Operation: 67+71=138, Resulting Numbers: [66, 138]
Generated Node #0,0,3: 71:[66, 138] Operation: 67+71=138
Exploring Operation: 67+66=133, Resulting Numbers: [71, 133]
Generated Node #0,0,4: 71:[71, 133] Operation: 67+66=133
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[71, 133], Operations: ['88-22=66', '67+66=133']
Exploring Operation: 71*133=9443, Resulting Numbers: [9443]
9443,71 unequal: No Solution
Exploring Operation: 133-71=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 71+133=204, Resulting Numbers: [204]
204,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[67, 137], Operations: ['88-22=66', '71+66=137']
Exploring Operation: 67*137=9179, Resulting Numbers: [9179]
9179,71 unequal: No Solution
Exploring Operation: 137-67=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 67+137=204, Resulting Numbers: [204]
204,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[71, 1], Operations: ['88-22=66', '67-66=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[67, 88, 22, 71], Operations: []
Exploring Operation: 88-22=66, Resulting Numbers: [67, 71, 66]
Generated Node #0,0: 71:[67, 71, 66] Operation: 88-22=66
Moving to Node #0,0
Current State: 71:[67, 71, 66], Operations: ['88-22=66']
Exploring Operation: 67-66=1, Resulting Numbers: [71, 1]
Generated Node #0,0,1: 71:[71, 1] Operation: 67-66=1
Moving to Node #0,0,1
Current State: 71:[71, 1], Operations: ['88-22=66', '67-66=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
55,
46,
17,
57
] | 69 | [
"55-17=38",
"46*57=2622",
"2622/38=69"
] | Current State: 69:[55, 46, 17, 57], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [46, 57, 38]
Generated Node #2: [46, 57, 38] from Operation: 55-17=38
Current State: 69:[46, 57, 38], Operations: ['55-17=38']
Exploring Operation: 46*57=2622, Resulting Numbers: [38, 2622]
Generated Node #3: [38, 2622] from Operation: 46*57=2622
Current State: 69:[38, 2622], Operations: ['55-17=38', '46*57=2622']
Exploring Operation: 2622/38=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[55, 46, 17, 57], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [17, 57, 9]
Generated Node #0,0: 69:[17, 57, 9] Operation: 55-46=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[17, 57, 9], Operations: ['55-46=9']
Exploring Operation: 57+9=66, Resulting Numbers: [17, 66]
Generated Node #0,0,0: 69:[17, 66] Operation: 57+9=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[17, 66], Operations: ['55-46=9', '57+9=66']
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,69 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 |
[
8,
42,
38,
98
] | 66 | [
"42-38=4",
"8*4=32",
"98-32=66"
] | Current State: 66:[8, 42, 38, 98], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [8, 98, 4]
Generated Node #2: [8, 98, 4] from Operation: 42-38=4
Current State: 66:[8, 98, 4], Operations: ['42-38=4']
Exploring Operation: 8*4=32, Resulting Numbers: [98, 32]
Generated Node #3: [98, 32] from Operation: 8*4=32
Current State: 66:[98, 32], Operations: ['42-38=4', '8*4=32']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[8, 42, 38, 98], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [8, 38, 56]
Generated Node #0,0: 66:[8, 38, 56] Operation: 98-42=56
Moving to Node #0,0
Current State: 66:[8, 38, 56], Operations: ['98-42=56']
Exploring Operation: 56/8=7, Resulting Numbers: [38, 7]
Generated Node #0,0,0: 66:[38, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[38, 7], Operations: ['98-42=56', '56/8=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,66 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 |
[
77,
54,
36,
60
] | 37 | [
"36*60=2160",
"2160/54=40",
"77-40=37"
] | Current State: 37:[77, 54, 36, 60], Operations: []
Exploring Operation: 36*60=2160, Resulting Numbers: [77, 54, 2160]
Generated Node #2: [77, 54, 2160] from Operation: 36*60=2160
Current State: 37:[77, 54, 2160], Operations: ['36*60=2160']
Exploring Operation: 2160/54=40, Resulting Numbers: [77, 40]
Generated Node #3: [77, 40] from Operation: 2160/54=40
Current State: 37:[77, 40], Operations: ['36*60=2160', '2160/54=40']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[77, 54, 36, 60], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [77, 54, 24]
Generated Node #0,0: 37:[77, 54, 24] Operation: 60-36=24
Exploring Operation: 60-54=6, Resulting Numbers: [77, 36, 6]
Generated Node #0,1: 37:[77, 36, 6] Operation: 60-54=6
Exploring Operation: 77-54=23, Resulting Numbers: [36, 60, 23]
Generated Node #0,2: 37:[36, 60, 23] Operation: 77-54=23
Exploring Operation: 77-60=17, Resulting Numbers: [54, 36, 17]
Generated Node #0,3: 37:[54, 36, 17] Operation: 77-60=17
Exploring Operation: 77-36=41, Resulting Numbers: [54, 60, 41]
Generated Node #0,4: 37:[54, 60, 41] Operation: 77-36=41
Moving to Node #0,2
Current State: 37:[36, 60, 23], Operations: ['77-54=23']
Exploring Operation: 36+23=59, Resulting Numbers: [60, 59]
Generated Node #0,2,0: 37:[60, 59] Operation: 36+23=59
Exploring Operation: 60-36=24, Resulting Numbers: [23, 24]
Generated Node #0,2,1: 37:[23, 24] Operation: 60-36=24
Exploring Operation: 60-23=37, Resulting Numbers: [36, 37]
Generated Node #0,2,2: 37:[36, 37] Operation: 60-23=37
Exploring Operation: 36-23=13, Resulting Numbers: [60, 13]
Generated Node #0,2,3: 37:[60, 13] Operation: 36-23=13
Exploring Operation: 60+23=83, Resulting Numbers: [36, 83]
Generated Node #0,2,4: 37:[36, 83] Operation: 60+23=83
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[36, 37], Operations: ['77-54=23', '60-23=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[23, 24], Operations: ['77-54=23', '60-36=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,37 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[60, 59], Operations: ['77-54=23', '36+23=59']
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 37:[60, 13], Operations: ['77-54=23', '36-23=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 37:[36, 83], Operations: ['77-54=23', '60+23=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,37 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,37 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: 37:[54, 36, 17], Operations: ['77-60=17']
Exploring Operation: 36+17=53, Resulting Numbers: [54, 53]
Generated Node #0,3,0: 37:[54, 53] Operation: 36+17=53
Exploring Operation: 54-36=18, Resulting Numbers: [17, 18]
Generated Node #0,3,1: 37:[17, 18] Operation: 54-36=18
Exploring Operation: 54-17=37, Resulting Numbers: [36, 37]
Generated Node #0,3,2: 37:[36, 37] Operation: 54-17=37
Exploring Operation: 54+17=71, Resulting Numbers: [36, 71]
Generated Node #0,3,3: 37:[36, 71] Operation: 54+17=71
Exploring Operation: 36-17=19, Resulting Numbers: [54, 19]
Generated Node #0,3,4: 37:[54, 19] Operation: 36-17=19
Moving to Node #0,4
Current State: 37:[54, 60, 41], Operations: ['77-36=41']
Exploring Operation: 54+60=114, Resulting Numbers: [41, 114]
Generated Node #0,4,0: 37:[41, 114] Operation: 54+60=114
Exploring Operation: 54+41=95, Resulting Numbers: [60, 95]
Generated Node #0,4,1: 37:[60, 95] Operation: 54+41=95
Exploring Operation: 54-41=13, Resulting Numbers: [60, 13]
Generated Node #0,4,2: 37:[60, 13] Operation: 54-41=13
Exploring Operation: 60-41=19, Resulting Numbers: [54, 19]
Generated Node #0,4,3: 37:[54, 19] Operation: 60-41=19
Exploring Operation: 60-54=6, Resulting Numbers: [41, 6]
Generated Node #0,4,4: 37:[41, 6] Operation: 60-54=6
Moving to Node #0,0
Current State: 37:[77, 54, 24], Operations: ['60-36=24']
Exploring Operation: 77-54=23, Resulting Numbers: [24, 23]
Generated Node #0,0,0: 37:[24, 23] Operation: 77-54=23
Exploring Operation: 54+24=78, Resulting Numbers: [77, 78]
Generated Node #0,0,1: 37:[77, 78] Operation: 54+24=78
Exploring Operation: 54-24=30, Resulting Numbers: [77, 30]
Generated Node #0,0,2: 37:[77, 30] Operation: 54-24=30
Exploring Operation: 77+24=101, Resulting Numbers: [54, 101]
Generated Node #0,0,3: 37:[54, 101] Operation: 77+24=101
Exploring Operation: 77-24=53, Resulting Numbers: [54, 53]
Generated Node #0,0,4: 37:[54, 53] Operation: 77-24=53
Moving to Node #0,1
Current State: 37:[77, 36, 6], Operations: ['60-54=6']
Exploring Operation: 77-36=41, Resulting Numbers: [6, 41]
Generated Node #0,1,0: 37:[6, 41] Operation: 77-36=41
Exploring Operation: 36-6=30, Resulting Numbers: [77, 30]
Generated Node #0,1,1: 37:[77, 30] Operation: 36-6=30
Exploring Operation: 77-6=71, Resulting Numbers: [36, 71]
Generated Node #0,1,2: 37:[36, 71] Operation: 77-6=71
Exploring Operation: 36+6=42, Resulting Numbers: [77, 42]
Generated Node #0,1,3: 37:[77, 42] Operation: 36+6=42
Exploring Operation: 77+6=83, Resulting Numbers: [36, 83]
Generated Node #0,1,4: 37:[36, 83] Operation: 77+6=83
Moving to Node #0,3,2
Current State: 37:[36, 37], Operations: ['77-60=17', '54-17=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[24, 23], Operations: ['60-36=24', '77-54=23']
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,37 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[54, 53], Operations: ['60-36=24', '77-24=53']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,37 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[54, 53], Operations: ['77-60=17', '36+17=53']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,37 unequal: No Solution
Moving to Node #0,4,4
Current State: 37:[41, 6], Operations: ['77-36=41', '60-54=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[36, 71], Operations: ['77-60=17', '54+17=71']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[54, 19], Operations: ['77-36=41', '60-41=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,37 unequal: No Solution
Moving to Node #0,3,4
Current State: 37:[54, 19], Operations: ['77-60=17', '36-17=19']
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,37 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[6, 41], Operations: ['60-54=6', '77-36=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,37 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[36, 71], Operations: ['60-54=6', '77-6=71']
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,37 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[17, 18], Operations: ['77-60=17', '54-36=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,37 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[77, 42], Operations: ['60-54=6', '36+6=42']
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 77+42=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 77*42=3234, Resulting Numbers: [3234]
3234,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[77, 30], Operations: ['60-54=6', '36-6=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,37 unequal: No Solution
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[77, 30], Operations: ['60-36=24', '54-24=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,37 unequal: No Solution
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Moving to Node #0,1,4
Current State: 37:[36, 83], Operations: ['60-54=6', '77+6=83']
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,37 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[60, 13], Operations: ['77-36=41', '54-41=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,37 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[77, 78], Operations: ['60-36=24', '54+24=78']
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,37 unequal: No Solution
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,37 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,4,1
Current State: 37:[60, 95], Operations: ['77-36=41', '54+41=95']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,37 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,37 unequal: No Solution
Moving to Node #0,4,0
Current State: 37:[41, 114], Operations: ['77-36=41', '54+60=114']
Exploring Operation: 41*114=4674, Resulting Numbers: [4674]
4674,37 unequal: No Solution
Exploring Operation: 41+114=155, Resulting Numbers: [155]
155,37 unequal: No Solution
Exploring Operation: 114-41=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[54, 101], Operations: ['60-36=24', '77+24=101']
Exploring Operation: 101-54=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 54+101=155, Resulting Numbers: [155]
155,37 unequal: No Solution
Exploring Operation: 54*101=5454, Resulting Numbers: [5454]
5454,37 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
86,
4,
55,
9
] | 65 | [
"86+4=90",
"90/9=10",
"55+10=65"
] | Current State: 65:[86, 4, 55, 9], Operations: []
Exploring Operation: 86+4=90, Resulting Numbers: [55, 9, 90]
Generated Node #2: [55, 9, 90] from Operation: 86+4=90
Current State: 65:[55, 9, 90], Operations: ['86+4=90']
Exploring Operation: 90/9=10, Resulting Numbers: [55, 10]
Generated Node #3: [55, 10] from Operation: 90/9=10
Current State: 65:[55, 10], Operations: ['86+4=90', '90/9=10']
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[86, 4, 55, 9], Operations: []
Exploring Operation: 4+55=59, Resulting Numbers: [86, 9, 59]
Generated Node #0,0: 65:[86, 9, 59] Operation: 4+55=59
Exploring Operation: 86-55=31, Resulting Numbers: [4, 9, 31]
Generated Node #0,1: 65:[4, 9, 31] Operation: 86-55=31
Exploring Operation: 55+9=64, Resulting Numbers: [86, 4, 64]
Generated Node #0,2: 65:[86, 4, 64] Operation: 55+9=64
Exploring Operation: 86-9=77, Resulting Numbers: [4, 55, 77]
Generated Node #0,3: 65:[4, 55, 77] Operation: 86-9=77
Exploring Operation: 86-4=82, Resulting Numbers: [55, 9, 82]
Generated Node #0,4: 65:[55, 9, 82] Operation: 86-4=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[4, 9, 31], Operations: ['86-55=31']
Exploring Operation: 4+31=35, Resulting Numbers: [9, 35]
Generated Node #0,1,0: 65:[9, 35] Operation: 4+31=35
Exploring Operation: 9-4=5, Resulting Numbers: [31, 5]
Generated Node #0,1,1: 65:[31, 5] Operation: 9-4=5
Exploring Operation: 4+9=13, Resulting Numbers: [31, 13]
Generated Node #0,1,2: 65:[31, 13] Operation: 4+9=13
Exploring Operation: 31-9=22, Resulting Numbers: [4, 22]
Generated Node #0,1,3: 65:[4, 22] Operation: 31-9=22
Exploring Operation: 31-4=27, Resulting Numbers: [9, 27]
Generated Node #0,1,4: 65:[9, 27] Operation: 31-4=27
Moving to Node #0,1,3
Current State: 65:[4, 22], Operations: ['86-55=31', '31-9=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[31, 13], Operations: ['86-55=31', '4+9=13']
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[31, 5], Operations: ['86-55=31', '9-4=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,65 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[9, 27], Operations: ['86-55=31', '31-4=27']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[9, 35], Operations: ['86-55=31', '4+31=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[86, 4, 64], Operations: ['55+9=64']
Exploring Operation: 86-64=22, Resulting Numbers: [4, 22]
Generated Node #0,2,0: 65:[4, 22] Operation: 86-64=22
Exploring Operation: 86+4=90, Resulting Numbers: [64, 90]
Generated Node #0,2,1: 65:[64, 90] Operation: 86+4=90
Exploring Operation: 86-4=82, Resulting Numbers: [64, 82]
Generated Node #0,2,2: 65:[64, 82] Operation: 86-4=82
Exploring Operation: 4+64=68, Resulting Numbers: [86, 68]
Generated Node #0,2,3: 65:[86, 68] Operation: 4+64=68
Exploring Operation: 64/4=16, Resulting Numbers: [86, 16]
Generated Node #0,2,4: 65:[86, 16] Operation: 64/4=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[4, 22], Operations: ['55+9=64', '86-64=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[64, 82], Operations: ['55+9=64', '86-4=82']
Exploring Operation: 64+82=146, Resulting Numbers: [146]
146,65 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 64*82=5248, Resulting Numbers: [5248]
5248,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[86, 68], Operations: ['55+9=64', '4+64=68']
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,65 unequal: No Solution
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 65:[86, 16], Operations: ['55+9=64', '64/4=16']
Exploring Operation: 86*16=1376, Resulting Numbers: [1376]
1376,65 unequal: No Solution
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,65 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[64, 90], Operations: ['55+9=64', '86+4=90']
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 64*90=5760, Resulting Numbers: [5760]
5760,65 unequal: No Solution
Exploring Operation: 64+90=154, Resulting Numbers: [154]
154,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[4, 55, 77], Operations: ['86-9=77']
Exploring Operation: 4+77=81, Resulting Numbers: [55, 81]
Generated Node #0,3,0: 65:[55, 81] Operation: 4+77=81
Exploring Operation: 77-55=22, Resulting Numbers: [4, 22]
Generated Node #0,3,1: 65:[4, 22] Operation: 77-55=22
Exploring Operation: 77-4=73, Resulting Numbers: [55, 73]
Generated Node #0,3,2: 65:[55, 73] Operation: 77-4=73
Exploring Operation: 55-4=51, Resulting Numbers: [77, 51]
Generated Node #0,3,3: 65:[77, 51] Operation: 55-4=51
Exploring Operation: 4+55=59, Resulting Numbers: [77, 59]
Generated Node #0,3,4: 65:[77, 59] Operation: 4+55=59
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[4, 22], Operations: ['86-9=77', '77-55=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[55, 73], Operations: ['86-9=77', '77-4=73']
Exploring Operation: 55*73=4015, Resulting Numbers: [4015]
4015,65 unequal: No Solution
Exploring Operation: 55+73=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 65:[77, 59], Operations: ['86-9=77', '4+55=59']
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 77*59=4543, Resulting Numbers: [4543]
4543,65 unequal: No Solution
Exploring Operation: 77+59=136, Resulting Numbers: [136]
136,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[55, 81], Operations: ['86-9=77', '4+77=81']
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 55*81=4455, Resulting Numbers: [4455]
4455,65 unequal: No Solution
Exploring Operation: 55+81=136, Resulting Numbers: [136]
136,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[77, 51], Operations: ['86-9=77', '55-4=51']
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,65 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[86, 9, 59], Operations: ['4+55=59']
Exploring Operation: 86+9=95, Resulting Numbers: [59, 95]
Generated Node #0,0,0: 65:[59, 95] Operation: 86+9=95
Exploring Operation: 59-9=50, Resulting Numbers: [86, 50]
Generated Node #0,0,1: 65:[86, 50] Operation: 59-9=50
Exploring Operation: 86-59=27, Resulting Numbers: [9, 27]
Generated Node #0,0,2: 65:[9, 27] Operation: 86-59=27
Exploring Operation: 9+59=68, Resulting Numbers: [86, 68]
Generated Node #0,0,3: 65:[86, 68] Operation: 9+59=68
Exploring Operation: 86-9=77, Resulting Numbers: [59, 77]
Generated Node #0,0,4: 65:[59, 77] Operation: 86-9=77
Moving to Node #0,0,2
Current State: 65:[9, 27], Operations: ['4+55=59', '86-59=27']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[59, 77], Operations: ['4+55=59', '86-9=77']
Exploring Operation: 59+77=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 59*77=4543, Resulting Numbers: [4543]
4543,65 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[86, 68], Operations: ['4+55=59', '9+59=68']
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,65 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[59, 95], Operations: ['4+55=59', '86+9=95']
Exploring Operation: 59+95=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 59*95=5605, Resulting Numbers: [5605]
5605,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[86, 50], Operations: ['4+55=59', '59-9=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,65 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[55, 9, 82], Operations: ['86-4=82']
Exploring Operation: 82-55=27, Resulting Numbers: [9, 27]
Generated Node #0,4,0: 65:[9, 27] Operation: 82-55=27
Exploring Operation: 55+9=64, Resulting Numbers: [82, 64]
Generated Node #0,4,1: 65:[82, 64] Operation: 55+9=64
Exploring Operation: 9+82=91, Resulting Numbers: [55, 91]
Generated Node #0,4,2: 65:[55, 91] Operation: 9+82=91
Exploring Operation: 55-9=46, Resulting Numbers: [82, 46]
Generated Node #0,4,3: 65:[82, 46] Operation: 55-9=46
Exploring Operation: 82-9=73, Resulting Numbers: [55, 73]
Generated Node #0,4,4: 65:[55, 73] Operation: 82-9=73
Moving to Node #0,4,0
Current State: 65:[9, 27], Operations: ['86-4=82', '82-55=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,65 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[55, 73], Operations: ['86-4=82', '82-9=73']
Exploring Operation: 55+73=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 55*73=4015, Resulting Numbers: [4015]
4015,65 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[82, 64], Operations: ['86-4=82', '55+9=64']
Exploring Operation: 82*64=5248, Resulting Numbers: [5248]
5248,65 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 82+64=146, Resulting Numbers: [146]
146,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[55, 91], Operations: ['86-4=82', '9+82=91']
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,65 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[82, 46], Operations: ['86-4=82', '55-9=46']
Exploring Operation: 82+46=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 82*46=3772, Resulting Numbers: [3772]
3772,65 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
16,
13,
4,
3
] | 54 | [
"16*4=64",
"13-3=10",
"64-10=54"
] | Current State: 54:[16, 13, 4, 3], Operations: []
Exploring Operation: 16*4=64, Resulting Numbers: [13, 3, 64]
Generated Node #2: [13, 3, 64] from Operation: 16*4=64
Current State: 54:[13, 3, 64], Operations: ['16*4=64']
Exploring Operation: 13-3=10, Resulting Numbers: [64, 10]
Generated Node #3: [64, 10] from Operation: 13-3=10
Current State: 54:[64, 10], Operations: ['16*4=64', '13-3=10']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[16, 13, 4, 3], Operations: []
Exploring Operation: 13-4=9, Resulting Numbers: [16, 3, 9]
Generated Node #0,0: 54:[16, 3, 9] Operation: 13-4=9
Exploring Operation: 16-13=3, Resulting Numbers: [4, 3, 3]
Generated Node #0,1: 54:[4, 3, 3] Operation: 16-13=3
Exploring Operation: 16+13=29, Resulting Numbers: [4, 3, 29]
Generated Node #0,2: 54:[4, 3, 29] Operation: 16+13=29
Moving to Node #0,1
Current State: 54:[4, 3, 3], Operations: ['16-13=3']
Exploring Operation: 4+3=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 54:[3, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [3, 1]
Generated Node #0,1,1: 54:[3, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [3, 7]
Generated Node #0,1,2: 54:[3, 7] Operation: 4+3=7
Moving to Node #0,0
Current State: 54:[16, 3, 9], Operations: ['13-4=9']
Exploring Operation: 16+9=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 54:[3, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [3, 7]
Generated Node #0,0,1: 54:[3, 7] Operation: 16-9=7
Exploring Operation: 16+3=19, Resulting Numbers: [9, 19]
Generated Node #0,0,2: 54:[9, 19] Operation: 16+3=19
Moving to Node #0,2
Current State: 54:[4, 3, 29], Operations: ['16+13=29']
Exploring Operation: 4+3=7, Resulting Numbers: [29, 7]
Generated Node #0,2,0: 54:[29, 7] Operation: 4+3=7
Exploring Operation: 29-4=25, Resulting Numbers: [3, 25]
Generated Node #0,2,1: 54:[3, 25] Operation: 29-4=25
Exploring Operation: 29-3=26, Resulting Numbers: [4, 26]
Generated Node #0,2,2: 54:[4, 26] Operation: 29-3=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[3, 25], Operations: ['16+13=29', '29-4=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[4, 26], Operations: ['16+13=29', '29-3=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[29, 7], Operations: ['16+13=29', '4+3=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,54 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,54 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: 54:[3, 7], Operations: ['16-13=3', '4+3=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[3, 7], Operations: ['16-13=3', '4+3=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[3, 1], Operations: ['16-13=3', '4-3=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[3, 7], Operations: ['13-4=9', '16-9=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[9, 19], Operations: ['13-4=9', '16+3=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[3, 25], Operations: ['13-4=9', '16+9=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
55,
11,
33
] | 64 | [
"3*33=99",
"99/11=9",
"55+9=64"
] | Current State: 64:[3, 55, 11, 33], Operations: []
Exploring Operation: 3*33=99, Resulting Numbers: [55, 11, 99]
Generated Node #2: [55, 11, 99] from Operation: 3*33=99
Current State: 64:[55, 11, 99], Operations: ['3*33=99']
Exploring Operation: 99/11=9, Resulting Numbers: [55, 9]
Generated Node #3: [55, 9] from Operation: 99/11=9
Current State: 64:[55, 9], Operations: ['3*33=99', '99/11=9']
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[3, 55, 11, 33], Operations: []
Exploring Operation: 55+11=66, Resulting Numbers: [3, 33, 66]
Generated Node #0,0: 64:[3, 33, 66] Operation: 55+11=66
Exploring Operation: 55/11=5, Resulting Numbers: [3, 33, 5]
Generated Node #0,1: 64:[3, 33, 5] Operation: 55/11=5
Moving to Node #0,1
Current State: 64:[3, 33, 5], Operations: ['55/11=5']
Exploring Operation: 5-3=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 64:[33, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [33, 8]
Generated Node #0,1,1: 64:[33, 8] Operation: 3+5=8
Moving to Node #0,0
Current State: 64:[3, 33, 66], Operations: ['55+11=66']
Exploring Operation: 66-3=63, Resulting Numbers: [33, 63]
Generated Node #0,0,0: 64:[33, 63] Operation: 66-3=63
Exploring Operation: 66/33=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 64:[3, 2] Operation: 66/33=2
Moving to Node #0,1,0
Current State: 64:[33, 2], Operations: ['55/11=5', '5-3=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[3, 2], Operations: ['55+11=66', '66/33=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[33, 8], Operations: ['55/11=5', '3+5=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[33, 63], Operations: ['55+11=66', '66-3=63']
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
83,
44,
62,
41
] | 63 | [
"83-62=21",
"44-41=3",
"21*3=63"
] | Current State: 63:[83, 44, 62, 41], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [44, 41, 21]
Generated Node #2: [44, 41, 21] from Operation: 83-62=21
Current State: 63:[44, 41, 21], Operations: ['83-62=21']
Exploring Operation: 44-41=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 44-41=3
Current State: 63:[21, 3], Operations: ['83-62=21', '44-41=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[83, 44, 62, 41], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [62, 41, 39]
Generated Node #0,0: 63:[62, 41, 39] Operation: 83-44=39
Exploring Operation: 44-41=3, Resulting Numbers: [83, 62, 3]
Generated Node #0,1: 63:[83, 62, 3] Operation: 44-41=3
Exploring Operation: 83-62=21, Resulting Numbers: [44, 41, 21]
Generated Node #0,2: 63:[44, 41, 21] Operation: 83-62=21
Moving to Node #0,1
Current State: 63:[83, 62, 3], Operations: ['44-41=3']
Exploring Operation: 83-62=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 63:[3, 21] Operation: 83-62=21
Exploring Operation: 83-3=80, Resulting Numbers: [62, 80]
Generated Node #0,1,1: 63:[62, 80] Operation: 83-3=80
Exploring Operation: 62+3=65, Resulting Numbers: [83, 65]
Generated Node #0,1,2: 63:[83, 65] Operation: 62+3=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[3, 21], Operations: ['44-41=3', '83-62=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[83, 44, 62, 41], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [83, 62, 3]
Generated Node #0,1: 63:[83, 62, 3] Operation: 44-41=3
Moving to Node #0,1
Current State: 63:[83, 62, 3], Operations: ['44-41=3']
Exploring Operation: 83-62=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 63:[3, 21] Operation: 83-62=21
Moving to Node #0,1,0
Current State: 63:[3, 21], Operations: ['44-41=3', '83-62=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
29,
50,
12,
4
] | 96 | [
"50-29=21",
"4*21=84",
"12+84=96"
] | Current State: 96:[29, 50, 12, 4], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [12, 4, 21]
Generated Node #2: [12, 4, 21] from Operation: 50-29=21
Current State: 96:[12, 4, 21], Operations: ['50-29=21']
Exploring Operation: 4*21=84, Resulting Numbers: [12, 84]
Generated Node #3: [12, 84] from Operation: 4*21=84
Current State: 96:[12, 84], Operations: ['50-29=21', '4*21=84']
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[29, 50, 12, 4], Operations: []
Exploring Operation: 50-29=21, Resulting Numbers: [12, 4, 21]
Generated Node #0,0: 96:[12, 4, 21] Operation: 50-29=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[12, 4, 21], Operations: ['50-29=21']
Exploring Operation: 12+21=33, Resulting Numbers: [4, 33]
Generated Node #0,0,0: 96:[4, 33] Operation: 12+21=33
Moving to Node #0,0,0
Current State: 96:[4, 33], Operations: ['50-29=21', '12+21=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
89,
14,
6
] | 50 | [
"89-19=70",
"14+6=20",
"70-20=50"
] | Current State: 50:[19, 89, 14, 6], Operations: []
Exploring Operation: 89-19=70, Resulting Numbers: [14, 6, 70]
Generated Node #2: [14, 6, 70] from Operation: 89-19=70
Current State: 50:[14, 6, 70], Operations: ['89-19=70']
Exploring Operation: 14+6=20, Resulting Numbers: [70, 20]
Generated Node #3: [70, 20] from Operation: 14+6=20
Current State: 50:[70, 20], Operations: ['89-19=70', '14+6=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[19, 89, 14, 6], Operations: []
Exploring Operation: 19+6=25, Resulting Numbers: [89, 14, 25]
Generated Node #0,0: 50:[89, 14, 25] Operation: 19+6=25
Exploring Operation: 89-19=70, Resulting Numbers: [14, 6, 70]
Generated Node #0,1: 50:[14, 6, 70] Operation: 89-19=70
Exploring Operation: 19-14=5, Resulting Numbers: [89, 6, 5]
Generated Node #0,2: 50:[89, 6, 5] Operation: 19-14=5
Exploring Operation: 89-14=75, Resulting Numbers: [19, 6, 75]
Generated Node #0,3: 50:[19, 6, 75] Operation: 89-14=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[14, 6, 70], Operations: ['89-19=70']
Exploring Operation: 70-14=56, Resulting Numbers: [6, 56]
Generated Node #0,1,0: 50:[6, 56] Operation: 70-14=56
Exploring Operation: 70-6=64, Resulting Numbers: [14, 64]
Generated Node #0,1,1: 50:[14, 64] Operation: 70-6=64
Exploring Operation: 14-6=8, Resulting Numbers: [70, 8]
Generated Node #0,1,2: 50:[70, 8] Operation: 14-6=8
Exploring Operation: 70/14=5, Resulting Numbers: [6, 5]
Generated Node #0,1,3: 50:[6, 5] Operation: 70/14=5
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 50:[6, 5], Operations: ['89-19=70', '70/14=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[6, 56], Operations: ['89-19=70', '70-14=56']
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,50 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[19, 89, 14, 6], Operations: []
Exploring Operation: 89-19=70, Resulting Numbers: [14, 6, 70]
Generated Node #0,1: 50:[14, 6, 70] Operation: 89-19=70
Moving to Node #0,1
Current State: 50:[14, 6, 70], Operations: ['89-19=70']
Exploring Operation: 70-14=56, Resulting Numbers: [6, 56]
Generated Node #0,1,0: 50:[6, 56] Operation: 70-14=56
Moving to Node #0,1,0
Current State: 50:[6, 56], Operations: ['89-19=70', '70-14=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
10,
92,
44,
12
] | 14 | [
"92-44=48",
"48/12=4",
"10+4=14"
] | Current State: 14:[10, 92, 44, 12], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [10, 12, 48]
Generated Node #2: [10, 12, 48] from Operation: 92-44=48
Current State: 14:[10, 12, 48], Operations: ['92-44=48']
Exploring Operation: 48/12=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 48/12=4
Current State: 14:[10, 4], Operations: ['92-44=48', '48/12=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[10, 92, 44, 12], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [10, 12, 48]
Generated Node #0,0: 14:[10, 12, 48] Operation: 92-44=48
Exploring Operation: 92-12=80, Resulting Numbers: [10, 44, 80]
Generated Node #0,1: 14:[10, 44, 80] Operation: 92-12=80
Exploring Operation: 44-12=32, Resulting Numbers: [10, 92, 32]
Generated Node #0,2: 14:[10, 92, 32] Operation: 44-12=32
Moving to Node #0,0
Current State: 14:[10, 12, 48], Operations: ['92-44=48']
Exploring Operation: 48-12=36, Resulting Numbers: [10, 36]
Generated Node #0,0,0: 14:[10, 36] Operation: 48-12=36
Exploring Operation: 48-10=38, Resulting Numbers: [12, 38]
Generated Node #0,0,1: 14:[12, 38] Operation: 48-10=38
Exploring Operation: 48/12=4, Resulting Numbers: [10, 4]
Generated Node #0,0,2: 14:[10, 4] Operation: 48/12=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[10, 4], Operations: ['92-44=48', '48/12=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[10, 92, 44, 12], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [10, 12, 48]
Generated Node #0,0: 14:[10, 12, 48] Operation: 92-44=48
Moving to Node #0,0
Current State: 14:[10, 12, 48], Operations: ['92-44=48']
Exploring Operation: 48/12=4, Resulting Numbers: [10, 4]
Generated Node #0,0,2: 14:[10, 4] Operation: 48/12=4
Moving to Node #0,0,2
Current State: 14:[10, 4], Operations: ['92-44=48', '48/12=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
30,
3,
70,
15
] | 24 | [
"30/15=2",
"70+2=72",
"72/3=24"
] | Current State: 24:[30, 3, 70, 15], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [3, 70, 2]
Generated Node #2: [3, 70, 2] from Operation: 30/15=2
Current State: 24:[3, 70, 2], Operations: ['30/15=2']
Exploring Operation: 70+2=72, Resulting Numbers: [3, 72]
Generated Node #3: [3, 72] from Operation: 70+2=72
Current State: 24:[3, 72], Operations: ['30/15=2', '70+2=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[30, 3, 70, 15], Operations: []
Exploring Operation: 70-30=40, Resulting Numbers: [3, 15, 40]
Generated Node #0,0: 24:[3, 15, 40] Operation: 70-30=40
Moving to Node #0,0
Current State: 24:[3, 15, 40], Operations: ['70-30=40']
Exploring Operation: 40-15=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 24:[3, 25] Operation: 40-15=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[3, 25], Operations: ['70-30=40', '40-15=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,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 | sum_heuristic |
[
88,
8,
70,
13
] | 54 | [
"88+70=158",
"8*13=104",
"158-104=54"
] | Current State: 54:[88, 8, 70, 13], Operations: []
Exploring Operation: 88+70=158, Resulting Numbers: [8, 13, 158]
Generated Node #2: [8, 13, 158] from Operation: 88+70=158
Current State: 54:[8, 13, 158], Operations: ['88+70=158']
Exploring Operation: 8*13=104, Resulting Numbers: [158, 104]
Generated Node #3: [158, 104] from Operation: 8*13=104
Current State: 54:[158, 104], Operations: ['88+70=158', '8*13=104']
Exploring Operation: 158-104=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[88, 8, 70, 13], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [8, 13, 18]
Generated Node #0,0: 54:[8, 13, 18] Operation: 88-70=18
Exploring Operation: 88/8=11, Resulting Numbers: [70, 13, 11]
Generated Node #0,1: 54:[70, 13, 11] Operation: 88/8=11
Exploring Operation: 88-13=75, Resulting Numbers: [8, 70, 75]
Generated Node #0,2: 54:[8, 70, 75] Operation: 88-13=75
Moving to Node #0,0
Current State: 54:[8, 13, 18], Operations: ['88-70=18']
Exploring Operation: 8+13=21, Resulting Numbers: [18, 21]
Generated Node #0,0,0: 54:[18, 21] Operation: 8+13=21
Exploring Operation: 18-13=5, Resulting Numbers: [8, 5]
Generated Node #0,0,1: 54:[8, 5] Operation: 18-13=5
Exploring Operation: 13-8=5, Resulting Numbers: [18, 5]
Generated Node #0,0,2: 54:[18, 5] Operation: 13-8=5
Moving to Node #0,1
Current State: 54:[70, 13, 11], Operations: ['88/8=11']
Exploring Operation: 13-11=2, Resulting Numbers: [70, 2]
Generated Node #0,1,0: 54:[70, 2] Operation: 13-11=2
Exploring Operation: 70-11=59, Resulting Numbers: [13, 59]
Generated Node #0,1,1: 54:[13, 59] Operation: 70-11=59
Exploring Operation: 70-13=57, Resulting Numbers: [11, 57]
Generated Node #0,1,2: 54:[11, 57] Operation: 70-13=57
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[11, 57], Operations: ['88/8=11', '70-13=57']
Exploring Operation: 11*57=627, Resulting Numbers: [627]
627,54 unequal: No Solution
Exploring Operation: 11+57=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[13, 59], Operations: ['88/8=11', '70-11=59']
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[70, 2], Operations: ['88/8=11', '13-11=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,54 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: 54:[8, 70, 75], Operations: ['88-13=75']
Exploring Operation: 75-70=5, Resulting Numbers: [8, 5]
Generated Node #0,2,0: 54:[8, 5] Operation: 75-70=5
Exploring Operation: 75-8=67, Resulting Numbers: [70, 67]
Generated Node #0,2,1: 54:[70, 67] Operation: 75-8=67
Exploring Operation: 70-8=62, Resulting Numbers: [75, 62]
Generated Node #0,2,2: 54:[75, 62] Operation: 70-8=62
Moving to Node #0,0,2
Current State: 54:[18, 5], Operations: ['88-70=18', '13-8=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[8, 5], Operations: ['88-70=18', '18-13=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[8, 5], Operations: ['88-13=75', '75-70=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[18, 21], Operations: ['88-70=18', '8+13=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,54 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[75, 62], Operations: ['88-13=75', '70-8=62']
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,54 unequal: No Solution
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 75*62=4650, Resulting Numbers: [4650]
4650,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[70, 67], Operations: ['88-13=75', '75-8=67']
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,54 unequal: No Solution
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,54 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
49,
5,
7,
88
] | 90 | [
"49/7=7",
"88-5=83",
"7+83=90"
] | Current State: 90:[49, 5, 7, 88], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [5, 88, 7]
Generated Node #2: [5, 88, 7] from Operation: 49/7=7
Current State: 90:[5, 88, 7], Operations: ['49/7=7']
Exploring Operation: 88-5=83, Resulting Numbers: [7, 83]
Generated Node #3: [7, 83] from Operation: 88-5=83
Current State: 90:[7, 83], Operations: ['49/7=7', '88-5=83']
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[49, 5, 7, 88], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [5, 88, 7]
Generated Node #0,0: 90:[5, 88, 7] Operation: 49/7=7
Exploring Operation: 49-5=44, Resulting Numbers: [7, 88, 44]
Generated Node #0,1: 90:[7, 88, 44] Operation: 49-5=44
Moving to Node #0,0
Current State: 90:[5, 88, 7], Operations: ['49/7=7']
Exploring Operation: 7-5=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 90:[88, 2] Operation: 7-5=2
Exploring Operation: 5+88=93, Resulting Numbers: [7, 93]
Generated Node #0,0,1: 90:[7, 93] Operation: 5+88=93
Moving to Node #0,1
Current State: 90:[7, 88, 44], Operations: ['49-5=44']
Exploring Operation: 88/44=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 90:[7, 2] Operation: 88/44=2
Exploring Operation: 88-44=44, Resulting Numbers: [7, 44]
Generated Node #0,1,1: 90:[7, 44] Operation: 88-44=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[7, 2], Operations: ['49-5=44', '88/44=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[7, 44], Operations: ['49-5=44', '88-44=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,90 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: 90:[88, 2], Operations: ['49/7=7', '7-5=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[49, 5, 7, 88], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [5, 88, 7]
Generated Node #0,0: 90:[5, 88, 7] Operation: 49/7=7
Moving to Node #0,0
Current State: 90:[5, 88, 7], Operations: ['49/7=7']
Exploring Operation: 7-5=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 90:[88, 2] Operation: 7-5=2
Moving to Node #0,0,0
Current State: 90:[88, 2], Operations: ['49/7=7', '7-5=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
93,
57,
93,
70
] | 70 | [
"93-93=0",
"57*0=0",
"70+0=70"
] | Current State: 70:[93, 57, 93, 70], Operations: []
Exploring Operation: 93-93=0, Resulting Numbers: [57, 70, 0]
Generated Node #2: [57, 70, 0] from Operation: 93-93=0
Current State: 70:[57, 70, 0], Operations: ['93-93=0']
Exploring Operation: 57*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 57*0=0
Current State: 70:[70, 0], Operations: ['93-93=0', '57*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[93, 57, 93, 70], Operations: []
Exploring Operation: 93-57=36, Resulting Numbers: [93, 70, 36]
Generated Node #0,0: 70:[93, 70, 36] Operation: 93-57=36
Exploring Operation: 93-93=0, Resulting Numbers: [57, 70, 0]
Generated Node #0,1: 70:[57, 70, 0] Operation: 93-93=0
Exploring Operation: 93/93=1, Resulting Numbers: [57, 70, 1]
Generated Node #0,2: 70:[57, 70, 1] Operation: 93/93=1
Exploring Operation: 93-70=23, Resulting Numbers: [57, 93, 23]
Generated Node #0,3: 70:[57, 93, 23] Operation: 93-70=23
Exploring Operation: 93-57=36, Resulting Numbers: [93, 70, 36]
Generated Node #0,4: 70:[93, 70, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[57, 70, 1], Operations: ['93/93=1']
Exploring Operation: 70-57=13, Resulting Numbers: [1, 13]
Generated Node #0,2,0: 70:[1, 13] Operation: 70-57=13
Exploring Operation: 57/1=57, Resulting Numbers: [70, 57]
Generated Node #0,2,1: 70:[70, 57] Operation: 57/1=57
Exploring Operation: 57*1=57, Resulting Numbers: [70, 57]
Generated Node #0,2,2: 70:[70, 57] Operation: 57*1=57
Exploring Operation: 57+1=58, Resulting Numbers: [70, 58]
Generated Node #0,2,3: 70:[70, 58] Operation: 57+1=58
Exploring Operation: 70*1=70, Resulting Numbers: [57, 70]
Generated Node #0,2,4: 70:[57, 70] Operation: 70*1=70
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[1, 13], Operations: ['93/93=1', '70-57=13']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[70, 58], Operations: ['93/93=1', '57+1=58']
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,70 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[70, 57], Operations: ['93/93=1', '57/1=57']
Exploring Operation: 70+57=127, Resulting Numbers: [127]
127,70 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 70*57=3990, Resulting Numbers: [3990]
3990,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[70, 57], Operations: ['93/93=1', '57*1=57']
Exploring Operation: 70*57=3990, Resulting Numbers: [3990]
3990,70 unequal: No Solution
Exploring Operation: 70+57=127, Resulting Numbers: [127]
127,70 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 70:[57, 70], Operations: ['93/93=1', '70*1=70']
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 57*70=3990, Resulting Numbers: [3990]
3990,70 unequal: No Solution
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[57, 70, 0], Operations: ['93-93=0']
Exploring Operation: 57*0=0, Resulting Numbers: [70, 0]
Generated Node #0,1,0: 70:[70, 0] Operation: 57*0=0
Exploring Operation: 70+0=70, Resulting Numbers: [57, 70]
Generated Node #0,1,1: 70:[57, 70] Operation: 70+0=70
Exploring Operation: 57+0=57, Resulting Numbers: [70, 57]
Generated Node #0,1,2: 70:[70, 57] Operation: 57+0=57
Exploring Operation: 70-57=13, Resulting Numbers: [0, 13]
Generated Node #0,1,3: 70:[0, 13] Operation: 70-57=13
Exploring Operation: 57-0=57, Resulting Numbers: [70, 57]
Generated Node #0,1,4: 70:[70, 57] Operation: 57-0=57
Moving to Node #0,1,0
Current State: 70:[70, 0], Operations: ['93-93=0', '57*0=0']
Exploring Operation: 70*0=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[93, 57, 93, 70], Operations: []
Exploring Operation: 93-93=0, Resulting Numbers: [57, 70, 0]
Generated Node #0,1: 70:[57, 70, 0] Operation: 93-93=0
Moving to Node #0,1
Current State: 70:[57, 70, 0], Operations: ['93-93=0']
Exploring Operation: 57*0=0, Resulting Numbers: [70, 0]
Generated Node #0,1,0: 70:[70, 0] Operation: 57*0=0
Moving to Node #0,1,0
Current State: 70:[70, 0], Operations: ['93-93=0', '57*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
61,
6,
53,
26
] | 74 | [
"61-53=8",
"6*8=48",
"26+48=74"
] | Current State: 74:[61, 6, 53, 26], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [6, 26, 8]
Generated Node #2: [6, 26, 8] from Operation: 61-53=8
Current State: 74:[6, 26, 8], Operations: ['61-53=8']
Exploring Operation: 6*8=48, Resulting Numbers: [26, 48]
Generated Node #3: [26, 48] from Operation: 6*8=48
Current State: 74:[26, 48], Operations: ['61-53=8', '6*8=48']
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[61, 6, 53, 26], Operations: []
Exploring Operation: 61-26=35, Resulting Numbers: [6, 53, 35]
Generated Node #0,0: 74:[6, 53, 35] Operation: 61-26=35
Exploring Operation: 61+26=87, Resulting Numbers: [6, 53, 87]
Generated Node #0,1: 74:[6, 53, 87] Operation: 61+26=87
Exploring Operation: 53-26=27, Resulting Numbers: [61, 6, 27]
Generated Node #0,2: 74:[61, 6, 27] Operation: 53-26=27
Exploring Operation: 61-53=8, Resulting Numbers: [6, 26, 8]
Generated Node #0,3: 74:[6, 26, 8] Operation: 61-53=8
Exploring Operation: 53+26=79, Resulting Numbers: [61, 6, 79]
Generated Node #0,4: 74:[61, 6, 79] Operation: 53+26=79
Moving to Node #0,3
Current State: 74:[6, 26, 8], Operations: ['61-53=8']
Exploring Operation: 6+26=32, Resulting Numbers: [8, 32]
Generated Node #0,3,0: 74:[8, 32] Operation: 6+26=32
Exploring Operation: 6*8=48, Resulting Numbers: [26, 48]
Generated Node #0,3,1: 74:[26, 48] Operation: 6*8=48
Exploring Operation: 8-6=2, Resulting Numbers: [26, 2]
Generated Node #0,3,2: 74:[26, 2] Operation: 8-6=2
Exploring Operation: 26-8=18, Resulting Numbers: [6, 18]
Generated Node #0,3,3: 74:[6, 18] Operation: 26-8=18
Exploring Operation: 26+8=34, Resulting Numbers: [6, 34]
Generated Node #0,3,4: 74:[6, 34] Operation: 26+8=34
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[6, 34], Operations: ['61-53=8', '26+8=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,74 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[8, 32], Operations: ['61-53=8', '6+26=32']
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,74 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[26, 2], Operations: ['61-53=8', '8-6=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[6, 18], Operations: ['61-53=8', '26-8=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[26, 48], Operations: ['61-53=8', '6*8=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,74 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[61, 6, 53, 26], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [6, 26, 8]
Generated Node #0,3: 74:[6, 26, 8] Operation: 61-53=8
Moving to Node #0,3
Current State: 74:[6, 26, 8], Operations: ['61-53=8']
Exploring Operation: 6*8=48, Resulting Numbers: [26, 48]
Generated Node #0,3,1: 74:[26, 48] Operation: 6*8=48
Moving to Node #0,3,1
Current State: 74:[26, 48], Operations: ['61-53=8', '6*8=48']
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_5 | sum_heuristic |
[
46,
15,
49,
55
] | 37 | [
"46-15=31",
"55-49=6",
"31+6=37"
] | Current State: 37:[46, 15, 49, 55], Operations: []
Exploring Operation: 46-15=31, Resulting Numbers: [49, 55, 31]
Generated Node #2: [49, 55, 31] from Operation: 46-15=31
Current State: 37:[49, 55, 31], Operations: ['46-15=31']
Exploring Operation: 55-49=6, Resulting Numbers: [31, 6]
Generated Node #3: [31, 6] from Operation: 55-49=6
Current State: 37:[31, 6], Operations: ['46-15=31', '55-49=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[46, 15, 49, 55], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [46, 55, 34]
Generated Node #0,0: 37:[46, 55, 34] Operation: 49-15=34
Exploring Operation: 55-15=40, Resulting Numbers: [46, 49, 40]
Generated Node #0,1: 37:[46, 49, 40] Operation: 55-15=40
Exploring Operation: 46+15=61, Resulting Numbers: [49, 55, 61]
Generated Node #0,2: 37:[49, 55, 61] Operation: 46+15=61
Exploring Operation: 15+49=64, Resulting Numbers: [46, 55, 64]
Generated Node #0,3: 37:[46, 55, 64] Operation: 15+49=64
Exploring Operation: 46-15=31, Resulting Numbers: [49, 55, 31]
Generated Node #0,4: 37:[49, 55, 31] Operation: 46-15=31
Moving to Node #0,1
Current State: 37:[46, 49, 40], Operations: ['55-15=40']
Exploring Operation: 49-40=9, Resulting Numbers: [46, 9]
Generated Node #0,1,0: 37:[46, 9] Operation: 49-40=9
Exploring Operation: 46+40=86, Resulting Numbers: [49, 86]
Generated Node #0,1,1: 37:[49, 86] Operation: 46+40=86
Exploring Operation: 46-40=6, Resulting Numbers: [49, 6]
Generated Node #0,1,2: 37:[49, 6] Operation: 46-40=6
Exploring Operation: 46+49=95, Resulting Numbers: [40, 95]
Generated Node #0,1,3: 37:[40, 95] Operation: 46+49=95
Exploring Operation: 49-46=3, Resulting Numbers: [40, 3]
Generated Node #0,1,4: 37:[40, 3] Operation: 49-46=3
Moving to Node #0,0
Current State: 37:[46, 55, 34], Operations: ['49-15=34']
Exploring Operation: 46+34=80, Resulting Numbers: [55, 80]
Generated Node #0,0,0: 37:[55, 80] Operation: 46+34=80
Exploring Operation: 55-34=21, Resulting Numbers: [46, 21]
Generated Node #0,0,1: 37:[46, 21] Operation: 55-34=21
Exploring Operation: 55+34=89, Resulting Numbers: [46, 89]
Generated Node #0,0,2: 37:[46, 89] Operation: 55+34=89
Exploring Operation: 55-46=9, Resulting Numbers: [34, 9]
Generated Node #0,0,3: 37:[34, 9] Operation: 55-46=9
Exploring Operation: 46-34=12, Resulting Numbers: [55, 12]
Generated Node #0,0,4: 37:[55, 12] Operation: 46-34=12
Moving to Node #0,4
Current State: 37:[49, 55, 31], Operations: ['46-15=31']
Exploring Operation: 49+31=80, Resulting Numbers: [55, 80]
Generated Node #0,4,0: 37:[55, 80] Operation: 49+31=80
Exploring Operation: 55-31=24, Resulting Numbers: [49, 24]
Generated Node #0,4,1: 37:[49, 24] Operation: 55-31=24
Exploring Operation: 55-49=6, Resulting Numbers: [31, 6]
Generated Node #0,4,2: 37:[31, 6] Operation: 55-49=6
Exploring Operation: 49-31=18, Resulting Numbers: [55, 18]
Generated Node #0,4,3: 37:[55, 18] Operation: 49-31=18
Exploring Operation: 55+31=86, Resulting Numbers: [49, 86]
Generated Node #0,4,4: 37:[49, 86] Operation: 55+31=86
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 37:[49, 24], Operations: ['46-15=31', '55-31=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,37 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,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,4,2
Current State: 37:[31, 6], Operations: ['46-15=31', '55-49=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[46, 15, 49, 55], Operations: []
Exploring Operation: 46-15=31, Resulting Numbers: [49, 55, 31]
Generated Node #0,4: 37:[49, 55, 31] Operation: 46-15=31
Moving to Node #0,4
Current State: 37:[49, 55, 31], Operations: ['46-15=31']
Exploring Operation: 55-49=6, Resulting Numbers: [31, 6]
Generated Node #0,4,2: 37:[31, 6] Operation: 55-49=6
Moving to Node #0,4,2
Current State: 37:[31, 6], Operations: ['46-15=31', '55-49=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | mult_heuristic |
[
2,
95,
5,
17
] | 90 | [
"5*17=85",
"95+85=180",
"180/2=90"
] | Current State: 90:[2, 95, 5, 17], Operations: []
Exploring Operation: 5*17=85, Resulting Numbers: [2, 95, 85]
Generated Node #2: [2, 95, 85] from Operation: 5*17=85
Current State: 90:[2, 95, 85], Operations: ['5*17=85']
Exploring Operation: 95+85=180, Resulting Numbers: [2, 180]
Generated Node #3: [2, 180] from Operation: 95+85=180
Current State: 90:[2, 180], Operations: ['5*17=85', '95+85=180']
Exploring Operation: 180/2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[2, 95, 5, 17], Operations: []
Exploring Operation: 95-5=90, Resulting Numbers: [2, 17, 90]
Generated Node #0,0: 90:[2, 17, 90] Operation: 95-5=90
Exploring Operation: 95-2=93, Resulting Numbers: [5, 17, 93]
Generated Node #0,1: 90:[5, 17, 93] Operation: 95-2=93
Exploring Operation: 95/5=19, Resulting Numbers: [2, 17, 19]
Generated Node #0,2: 90:[2, 17, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[2, 17, 90], Operations: ['95-5=90']
Exploring Operation: 17-2=15, Resulting Numbers: [90, 15]
Generated Node #0,0,0: 90:[90, 15] Operation: 17-2=15
Exploring Operation: 2+17=19, Resulting Numbers: [90, 19]
Generated Node #0,0,1: 90:[90, 19] Operation: 2+17=19
Exploring Operation: 90/2=45, Resulting Numbers: [17, 45]
Generated Node #0,0,2: 90:[17, 45] Operation: 90/2=45
Moving to Node #0,0,0
Current State: 90:[90, 15], Operations: ['95-5=90', '17-2=15']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[90, 19], Operations: ['95-5=90', '2+17=19']
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,90 unequal: No Solution
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[17, 45], Operations: ['95-5=90', '90/2=45']
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,90 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[2, 17, 19], Operations: ['95/5=19']
Exploring Operation: 17-2=15, Resulting Numbers: [19, 15]
Generated Node #0,2,0: 90:[19, 15] Operation: 17-2=15
Exploring Operation: 19-17=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 90:[2, 2] Operation: 19-17=2
Exploring Operation: 2+17=19, Resulting Numbers: [19, 19]
Generated Node #0,2,2: 90:[19, 19] Operation: 2+17=19
Moving to Node #0,2,1
Current State: 90:[2, 2], Operations: ['95/5=19', '19-17=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[19, 15], Operations: ['95/5=19', '17-2=15']
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,90 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[19, 19], Operations: ['95/5=19', '2+17=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[5, 17, 93], Operations: ['95-2=93']
Exploring Operation: 93-5=88, Resulting Numbers: [17, 88]
Generated Node #0,1,0: 90:[17, 88] Operation: 93-5=88
Exploring Operation: 5+17=22, Resulting Numbers: [93, 22]
Generated Node #0,1,1: 90:[93, 22] Operation: 5+17=22
Exploring Operation: 17-5=12, Resulting Numbers: [93, 12]
Generated Node #0,1,2: 90:[93, 12] Operation: 17-5=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[17, 88], Operations: ['95-2=93', '93-5=88']
Exploring Operation: 17+88=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 17*88=1496, Resulting Numbers: [1496]
1496,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[93, 12], Operations: ['95-2=93', '17-5=12']
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 93*12=1116, Resulting Numbers: [1116]
1116,90 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[93, 22], Operations: ['95-2=93', '5+17=22']
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,90 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
35,
94,
18
] | 65 | [
"35-24=11",
"94-18=76",
"76-11=65"
] | Current State: 65:[24, 35, 94, 18], Operations: []
Exploring Operation: 35-24=11, Resulting Numbers: [94, 18, 11]
Generated Node #2: [94, 18, 11] from Operation: 35-24=11
Current State: 65:[94, 18, 11], Operations: ['35-24=11']
Exploring Operation: 94-18=76, Resulting Numbers: [11, 76]
Generated Node #3: [11, 76] from Operation: 94-18=76
Current State: 65:[11, 76], Operations: ['35-24=11', '94-18=76']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[24, 35, 94, 18], Operations: []
Exploring Operation: 94-35=59, Resulting Numbers: [24, 18, 59]
Generated Node #0,0: 65:[24, 18, 59] Operation: 94-35=59
Exploring Operation: 94-24=70, Resulting Numbers: [35, 18, 70]
Generated Node #0,1: 65:[35, 18, 70] Operation: 94-24=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[24, 18, 59], Operations: ['94-35=59']
Exploring Operation: 24-18=6, Resulting Numbers: [59, 6]
Generated Node #0,0,0: 65:[59, 6] Operation: 24-18=6
Exploring Operation: 24+59=83, Resulting Numbers: [18, 83]
Generated Node #0,0,1: 65:[18, 83] Operation: 24+59=83
Moving to Node #0,0,0
Current State: 65:[59, 6], Operations: ['94-35=59', '24-18=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[24, 35, 94, 18], Operations: []
Exploring Operation: 94-35=59, Resulting Numbers: [24, 18, 59]
Generated Node #0,0: 65:[24, 18, 59] Operation: 94-35=59
Moving to Node #0,0
Current State: 65:[24, 18, 59], Operations: ['94-35=59']
Exploring Operation: 24-18=6, Resulting Numbers: [59, 6]
Generated Node #0,0,0: 65:[59, 6] Operation: 24-18=6
Moving to Node #0,0,0
Current State: 65:[59, 6], Operations: ['94-35=59', '24-18=6']
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
2,
81,
27,
75
] | 70 | [
"75-2=73",
"81/27=3",
"73-3=70"
] | Current State: 70:[2, 81, 27, 75], Operations: []
Exploring Operation: 75-2=73, Resulting Numbers: [81, 27, 73]
Generated Node #2: [81, 27, 73] from Operation: 75-2=73
Current State: 70:[81, 27, 73], Operations: ['75-2=73']
Exploring Operation: 81/27=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 81/27=3
Current State: 70:[73, 3], Operations: ['75-2=73', '81/27=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[2, 81, 27, 75], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [2, 75, 3]
Generated Node #0,0: 70:[2, 75, 3] Operation: 81/27=3
Moving to Node #0,0
Current State: 70:[2, 75, 3], Operations: ['81/27=3']
Exploring Operation: 75-3=72, Resulting Numbers: [2, 72]
Generated Node #0,0,0: 70:[2, 72] Operation: 75-3=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[2, 72], Operations: ['81/27=3', '75-3=72']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[2, 81, 27, 75], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [2, 75, 3]
Generated Node #0,0: 70:[2, 75, 3] Operation: 81/27=3
Moving to Node #0,0
Current State: 70:[2, 75, 3], Operations: ['81/27=3']
Exploring Operation: 75-3=72, Resulting Numbers: [2, 72]
Generated Node #0,0,0: 70:[2, 72] Operation: 75-3=72
Moving to Node #0,0,0
Current State: 70:[2, 72], Operations: ['81/27=3', '75-3=72']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
20,
36,
66,
14
] | 64 | [
"36-20=16",
"66+14=80",
"80-16=64"
] | Current State: 64:[20, 36, 66, 14], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [66, 14, 16]
Generated Node #2: [66, 14, 16] from Operation: 36-20=16
Current State: 64:[66, 14, 16], Operations: ['36-20=16']
Exploring Operation: 66+14=80, Resulting Numbers: [16, 80]
Generated Node #3: [16, 80] from Operation: 66+14=80
Current State: 64:[16, 80], Operations: ['36-20=16', '66+14=80']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[20, 36, 66, 14], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [66, 14, 16]
Generated Node #0,0: 64:[66, 14, 16] Operation: 36-20=16
Exploring Operation: 66-36=30, Resulting Numbers: [20, 14, 30]
Generated Node #0,1: 64:[20, 14, 30] Operation: 66-36=30
Exploring Operation: 20-14=6, Resulting Numbers: [36, 66, 6]
Generated Node #0,2: 64:[36, 66, 6] Operation: 20-14=6
Exploring Operation: 20+14=34, Resulting Numbers: [36, 66, 34]
Generated Node #0,3: 64:[36, 66, 34] Operation: 20+14=34
Moving to Node #0,0
Current State: 64:[66, 14, 16], Operations: ['36-20=16']
Exploring Operation: 66+14=80, Resulting Numbers: [16, 80]
Generated Node #0,0,0: 64:[16, 80] Operation: 66+14=80
Exploring Operation: 14+16=30, Resulting Numbers: [66, 30]
Generated Node #0,0,1: 64:[66, 30] Operation: 14+16=30
Exploring Operation: 66-14=52, Resulting Numbers: [16, 52]
Generated Node #0,0,2: 64:[16, 52] Operation: 66-14=52
Exploring Operation: 16-14=2, Resulting Numbers: [66, 2]
Generated Node #0,0,3: 64:[66, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[66, 2], Operations: ['36-20=16', '16-14=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[20, 36, 66, 14], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [66, 14, 16]
Generated Node #0,0: 64:[66, 14, 16] Operation: 36-20=16
Moving to Node #0,0
Current State: 64:[66, 14, 16], Operations: ['36-20=16']
Exploring Operation: 16-14=2, Resulting Numbers: [66, 2]
Generated Node #0,0,3: 64:[66, 2] Operation: 16-14=2
Moving to Node #0,0,3
Current State: 64:[66, 2], Operations: ['36-20=16', '16-14=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
72,
90,
32,
4
] | 56 | [
"90-72=18",
"32-18=14",
"4*14=56"
] | Current State: 56:[72, 90, 32, 4], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [32, 4, 18]
Generated Node #2: [32, 4, 18] from Operation: 90-72=18
Current State: 56:[32, 4, 18], Operations: ['90-72=18']
Exploring Operation: 32-18=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 32-18=14
Current State: 56:[4, 14], Operations: ['90-72=18', '32-18=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[72, 90, 32, 4], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [32, 4, 18]
Generated Node #0,0: 56:[32, 4, 18] Operation: 90-72=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[32, 4, 18], Operations: ['90-72=18']
Exploring Operation: 32-18=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 56:[4, 14] Operation: 32-18=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[4, 14], Operations: ['90-72=18', '32-18=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[72, 90, 32, 4], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [32, 4, 18]
Generated Node #0,0: 56:[32, 4, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 56:[32, 4, 18], Operations: ['90-72=18']
Exploring Operation: 32-18=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 56:[4, 14] Operation: 32-18=14
Moving to Node #0,0,0
Current State: 56:[4, 14], Operations: ['90-72=18', '32-18=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
23,
26,
28,
31
] | 56 | [
"26-23=3",
"28+31=59",
"59-3=56"
] | Current State: 56:[23, 26, 28, 31], Operations: []
Exploring Operation: 26-23=3, Resulting Numbers: [28, 31, 3]
Generated Node #2: [28, 31, 3] from Operation: 26-23=3
Current State: 56:[28, 31, 3], Operations: ['26-23=3']
Exploring Operation: 28+31=59, Resulting Numbers: [3, 59]
Generated Node #3: [3, 59] from Operation: 28+31=59
Current State: 56:[3, 59], Operations: ['26-23=3', '28+31=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[23, 26, 28, 31], Operations: []
Exploring Operation: 23+31=54, Resulting Numbers: [26, 28, 54]
Generated Node #0,0: 56:[26, 28, 54] Operation: 23+31=54
Exploring Operation: 26-23=3, Resulting Numbers: [28, 31, 3]
Generated Node #0,1: 56:[28, 31, 3] Operation: 26-23=3
Exploring Operation: 31-23=8, Resulting Numbers: [26, 28, 8]
Generated Node #0,2: 56:[26, 28, 8] Operation: 31-23=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[26, 28, 8], Operations: ['31-23=8']
Exploring Operation: 26+28=54, Resulting Numbers: [8, 54]
Generated Node #0,2,0: 56:[8, 54] Operation: 26+28=54
Exploring Operation: 28-26=2, Resulting Numbers: [8, 2]
Generated Node #0,2,1: 56:[8, 2] Operation: 28-26=2
Exploring Operation: 26-8=18, Resulting Numbers: [28, 18]
Generated Node #0,2,2: 56:[28, 18] Operation: 26-8=18
Moving to Node #0,2,1
Current State: 56:[8, 2], Operations: ['31-23=8', '28-26=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[8, 54], Operations: ['31-23=8', '26+28=54']
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,56 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[28, 18], Operations: ['31-23=8', '26-8=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,56 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,56 unequal: No Solution
No 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: 56:[26, 28, 54], Operations: ['23+31=54']
Exploring Operation: 26+28=54, Resulting Numbers: [54, 54]
Generated Node #0,0,0: 56:[54, 54] Operation: 26+28=54
Exploring Operation: 28-26=2, Resulting Numbers: [54, 2]
Generated Node #0,0,1: 56:[54, 2] Operation: 28-26=2
Exploring Operation: 54-26=28, Resulting Numbers: [28, 28]
Generated Node #0,0,2: 56:[28, 28] Operation: 54-26=28
Moving to Node #0,0,2
Current State: 56:[28, 28], Operations: ['23+31=54', '54-26=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[23, 26, 28, 31], Operations: []
Exploring Operation: 23+31=54, Resulting Numbers: [26, 28, 54]
Generated Node #0,0: 56:[26, 28, 54] Operation: 23+31=54
Moving to Node #0,0
Current State: 56:[26, 28, 54], Operations: ['23+31=54']
Exploring Operation: 54-26=28, Resulting Numbers: [28, 28]
Generated Node #0,0,2: 56:[28, 28] Operation: 54-26=28
Moving to Node #0,0,2
Current State: 56:[28, 28], Operations: ['23+31=54', '54-26=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
88,
82,
86,
43
] | 76 | [
"82*86=7052",
"7052/43=164",
"164-88=76"
] | Current State: 76:[88, 82, 86, 43], Operations: []
Exploring Operation: 82*86=7052, Resulting Numbers: [88, 43, 7052]
Generated Node #2: [88, 43, 7052] from Operation: 82*86=7052
Current State: 76:[88, 43, 7052], Operations: ['82*86=7052']
Exploring Operation: 7052/43=164, Resulting Numbers: [88, 164]
Generated Node #3: [88, 164] from Operation: 7052/43=164
Current State: 76:[88, 164], Operations: ['82*86=7052', '7052/43=164']
Exploring Operation: 164-88=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[88, 82, 86, 43], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [82, 43, 2]
Generated Node #0,0: 76:[82, 43, 2] Operation: 88-86=2
Moving to Node #0,0
Current State: 76:[82, 43, 2], Operations: ['88-86=2']
Exploring Operation: 82-43=39, Resulting Numbers: [2, 39]
Generated Node #0,0,0: 76:[2, 39] Operation: 82-43=39
Moving to Node #0,0,0
Current State: 76:[2, 39], Operations: ['88-86=2', '82-43=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
60,
94,
65
] | 25 | [
"64-60=4",
"94-65=29",
"29-4=25"
] | Current State: 25:[64, 60, 94, 65], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [94, 65, 4]
Generated Node #2: [94, 65, 4] from Operation: 64-60=4
Current State: 25:[94, 65, 4], Operations: ['64-60=4']
Exploring Operation: 94-65=29, Resulting Numbers: [4, 29]
Generated Node #3: [4, 29] from Operation: 94-65=29
Current State: 25:[4, 29], Operations: ['64-60=4', '94-65=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[64, 60, 94, 65], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [64, 65, 34]
Generated Node #0,0: 25:[64, 65, 34] Operation: 94-60=34
Exploring Operation: 94-64=30, Resulting Numbers: [60, 65, 30]
Generated Node #0,1: 25:[60, 65, 30] Operation: 94-64=30
Exploring Operation: 94-65=29, Resulting Numbers: [64, 60, 29]
Generated Node #0,2: 25:[64, 60, 29] Operation: 94-65=29
Moving to Node #0,2
Current State: 25:[64, 60, 29], Operations: ['94-65=29']
Exploring Operation: 60-29=31, Resulting Numbers: [64, 31]
Generated Node #0,2,0: 25:[64, 31] Operation: 60-29=31
Exploring Operation: 64-60=4, Resulting Numbers: [29, 4]
Generated Node #0,2,1: 25:[29, 4] Operation: 64-60=4
Exploring Operation: 64-29=35, Resulting Numbers: [60, 35]
Generated Node #0,2,2: 25:[60, 35] Operation: 64-29=35
Moving to Node #0,1
Current State: 25:[60, 65, 30], Operations: ['94-64=30']
Exploring Operation: 60/30=2, Resulting Numbers: [65, 2]
Generated Node #0,1,0: 25:[65, 2] Operation: 60/30=2
Exploring Operation: 60-30=30, Resulting Numbers: [65, 30]
Generated Node #0,1,1: 25:[65, 30] Operation: 60-30=30
Exploring Operation: 65-60=5, Resulting Numbers: [30, 5]
Generated Node #0,1,2: 25:[30, 5] Operation: 65-60=5
Moving to Node #0,0
Current State: 25:[64, 65, 34], Operations: ['94-60=34']
Exploring Operation: 64-34=30, Resulting Numbers: [65, 30]
Generated Node #0,0,0: 25:[65, 30] Operation: 64-34=30
Exploring Operation: 65-34=31, Resulting Numbers: [64, 31]
Generated Node #0,0,1: 25:[64, 31] Operation: 65-34=31
Exploring Operation: 65-64=1, Resulting Numbers: [34, 1]
Generated Node #0,0,2: 25:[34, 1] Operation: 65-64=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[34, 1], Operations: ['94-60=34', '65-64=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[65, 30], Operations: ['94-60=34', '64-34=30']
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,25 unequal: No Solution
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,25 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[64, 31], Operations: ['94-60=34', '65-34=31']
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,25 unequal: No Solution
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 25:[29, 4], Operations: ['94-65=29', '64-60=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[64, 60, 94, 65], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [64, 60, 29]
Generated Node #0,2: 25:[64, 60, 29] Operation: 94-65=29
Moving to Node #0,2
Current State: 25:[64, 60, 29], Operations: ['94-65=29']
Exploring Operation: 64-60=4, Resulting Numbers: [29, 4]
Generated Node #0,2,1: 25:[29, 4] Operation: 64-60=4
Moving to Node #0,2,1
Current State: 25:[29, 4], Operations: ['94-65=29', '64-60=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
53,
94,
93,
3
] | 50 | [
"53-3=50",
"94-93=1",
"50*1=50"
] | Current State: 50:[53, 94, 93, 3], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [94, 93, 50]
Generated Node #2: [94, 93, 50] from Operation: 53-3=50
Current State: 50:[94, 93, 50], Operations: ['53-3=50']
Exploring Operation: 94-93=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 94-93=1
Current State: 50:[50, 1], Operations: ['53-3=50', '94-93=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[53, 94, 93, 3], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [53, 94, 31]
Generated Node #0,0: 50:[53, 94, 31] Operation: 93/3=31
Exploring Operation: 94-53=41, Resulting Numbers: [93, 3, 41]
Generated Node #0,1: 50:[93, 3, 41] Operation: 94-53=41
Exploring Operation: 94-93=1, Resulting Numbers: [53, 3, 1]
Generated Node #0,2: 50:[53, 3, 1] Operation: 94-93=1
Exploring Operation: 93-53=40, Resulting Numbers: [94, 3, 40]
Generated Node #0,3: 50:[94, 3, 40] Operation: 93-53=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[53, 3, 1], Operations: ['94-93=1']
Exploring Operation: 53-3=50, Resulting Numbers: [1, 50]
Generated Node #0,2,0: 50:[1, 50] Operation: 53-3=50
Exploring Operation: 53*1=53, Resulting Numbers: [3, 53]
Generated Node #0,2,1: 50:[3, 53] Operation: 53*1=53
Exploring Operation: 3-1=2, Resulting Numbers: [53, 2]
Generated Node #0,2,2: 50:[53, 2] Operation: 3-1=2
Exploring Operation: 53-1=52, Resulting Numbers: [3, 52]
Generated Node #0,2,3: 50:[3, 52] Operation: 53-1=52
Moving to Node #0,2,0
Current State: 50:[1, 50], Operations: ['94-93=1', '53-3=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[53, 94, 93, 3], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [53, 3, 1]
Generated Node #0,2: 50:[53, 3, 1] Operation: 94-93=1
Moving to Node #0,2
Current State: 50:[53, 3, 1], Operations: ['94-93=1']
Exploring Operation: 53-3=50, Resulting Numbers: [1, 50]
Generated Node #0,2,0: 50:[1, 50] Operation: 53-3=50
Moving to Node #0,2,0
Current State: 50:[1, 50], Operations: ['94-93=1', '53-3=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
15,
25,
75,
79
] | 10 | [
"15+25=40",
"79-75=4",
"40/4=10"
] | Current State: 10:[15, 25, 75, 79], Operations: []
Exploring Operation: 15+25=40, Resulting Numbers: [75, 79, 40]
Generated Node #2: [75, 79, 40] from Operation: 15+25=40
Current State: 10:[75, 79, 40], Operations: ['15+25=40']
Exploring Operation: 79-75=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 79-75=4
Current State: 10:[40, 4], Operations: ['15+25=40', '79-75=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[15, 25, 75, 79], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [15, 79, 3]
Generated Node #0,0: 10:[15, 79, 3] Operation: 75/25=3
Exploring Operation: 75/15=5, Resulting Numbers: [25, 79, 5]
Generated Node #0,1: 10:[25, 79, 5] Operation: 75/15=5
Exploring Operation: 79-75=4, Resulting Numbers: [15, 25, 4]
Generated Node #0,2: 10:[15, 25, 4] Operation: 79-75=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[15, 25, 4], Operations: ['79-75=4']
Exploring Operation: 15-4=11, Resulting Numbers: [25, 11]
Generated Node #0,2,0: 10:[25, 11] Operation: 15-4=11
Exploring Operation: 25-4=21, Resulting Numbers: [15, 21]
Generated Node #0,2,1: 10:[15, 21] Operation: 25-4=21
Exploring Operation: 25-15=10, Resulting Numbers: [4, 10]
Generated Node #0,2,2: 10:[4, 10] Operation: 25-15=10
Moving to Node #0,2,2
Current State: 10:[4, 10], Operations: ['79-75=4', '25-15=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[25, 11], Operations: ['79-75=4', '15-4=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[15, 21], Operations: ['79-75=4', '25-4=21']
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,10 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,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,0
Current State: 10:[15, 79, 3], Operations: ['75/25=3']
Exploring Operation: 15-3=12, Resulting Numbers: [79, 12]
Generated Node #0,0,0: 10:[79, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [79, 5]
Generated Node #0,0,1: 10:[79, 5] Operation: 15/3=5
Exploring Operation: 79-15=64, Resulting Numbers: [3, 64]
Generated Node #0,0,2: 10:[3, 64] Operation: 79-15=64
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[3, 64], Operations: ['75/25=3', '79-15=64']
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,10 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[79, 5], Operations: ['75/25=3', '15/3=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,10 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[79, 12], Operations: ['75/25=3', '15-3=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[25, 79, 5], Operations: ['75/15=5']
Exploring Operation: 25-5=20, Resulting Numbers: [79, 20]
Generated Node #0,1,0: 10:[79, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [79, 5]
Generated Node #0,1,1: 10:[79, 5] Operation: 25/5=5
Exploring Operation: 79-25=54, Resulting Numbers: [5, 54]
Generated Node #0,1,2: 10:[5, 54] Operation: 79-25=54
Moving to Node #0,1,2
Current State: 10:[5, 54], Operations: ['75/15=5', '79-25=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[79, 5], Operations: ['75/15=5', '25/5=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,10 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[79, 20], Operations: ['75/15=5', '25-5=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,10 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,10 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 |
[
42,
90,
61,
55
] | 57 | [
"61-55=6",
"90/6=15",
"42+15=57"
] | Current State: 57:[42, 90, 61, 55], Operations: []
Exploring Operation: 61-55=6, Resulting Numbers: [42, 90, 6]
Generated Node #2: [42, 90, 6] from Operation: 61-55=6
Current State: 57:[42, 90, 6], Operations: ['61-55=6']
Exploring Operation: 90/6=15, Resulting Numbers: [42, 15]
Generated Node #3: [42, 15] from Operation: 90/6=15
Current State: 57:[42, 15], Operations: ['61-55=6', '90/6=15']
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[42, 90, 61, 55], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [42, 55, 29]
Generated Node #0,0: 57:[42, 55, 29] Operation: 90-61=29
Exploring Operation: 61-42=19, Resulting Numbers: [90, 55, 19]
Generated Node #0,1: 57:[90, 55, 19] Operation: 61-42=19
Exploring Operation: 90-42=48, Resulting Numbers: [61, 55, 48]
Generated Node #0,2: 57:[61, 55, 48] Operation: 90-42=48
Exploring Operation: 90-55=35, Resulting Numbers: [42, 61, 35]
Generated Node #0,3: 57:[42, 61, 35] Operation: 90-55=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[61, 55, 48], Operations: ['90-42=48']
Exploring Operation: 55-48=7, Resulting Numbers: [61, 7]
Generated Node #0,2,0: 57:[61, 7] Operation: 55-48=7
Exploring Operation: 61-55=6, Resulting Numbers: [48, 6]
Generated Node #0,2,1: 57:[48, 6] Operation: 61-55=6
Exploring Operation: 61-48=13, Resulting Numbers: [55, 13]
Generated Node #0,2,2: 57:[55, 13] Operation: 61-48=13
Exploring Operation: 55+48=103, Resulting Numbers: [61, 103]
Generated Node #0,2,3: 57:[61, 103] Operation: 55+48=103
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[61, 7], Operations: ['90-42=48', '55-48=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,57 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,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:[55, 13], Operations: ['90-42=48', '61-48=13']
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,57 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,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,1
Current State: 57:[48, 6], Operations: ['90-42=48', '61-55=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,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:[61, 103], Operations: ['90-42=48', '55+48=103']
Exploring Operation: 103-61=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 61+103=164, Resulting Numbers: [164]
164,57 unequal: No Solution
Exploring Operation: 61*103=6283, Resulting Numbers: [6283]
6283,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:[42, 55, 29], Operations: ['90-61=29']
Exploring Operation: 42+29=71, Resulting Numbers: [55, 71]
Generated Node #0,0,0: 57:[55, 71] Operation: 42+29=71
Exploring Operation: 55-29=26, Resulting Numbers: [42, 26]
Generated Node #0,0,1: 57:[42, 26] Operation: 55-29=26
Exploring Operation: 42-29=13, Resulting Numbers: [55, 13]
Generated Node #0,0,2: 57:[55, 13] Operation: 42-29=13
Exploring Operation: 55-42=13, Resulting Numbers: [29, 13]
Generated Node #0,0,3: 57:[29, 13] Operation: 55-42=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[55, 13], Operations: ['90-61=29', '42-29=13']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,57 unequal: No Solution
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,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,0,0
Current State: 57:[55, 71], Operations: ['90-61=29', '42+29=71']
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,57 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,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,0,3
Current State: 57:[29, 13], Operations: ['90-61=29', '55-42=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,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,0,1
Current State: 57:[42, 26], Operations: ['90-61=29', '55-29=26']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,57 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,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:[90, 55, 19], Operations: ['61-42=19']
Exploring Operation: 90-19=71, Resulting Numbers: [55, 71]
Generated Node #0,1,0: 57:[55, 71] Operation: 90-19=71
Exploring Operation: 90-55=35, Resulting Numbers: [19, 35]
Generated Node #0,1,1: 57:[19, 35] Operation: 90-55=35
Exploring Operation: 55+19=74, Resulting Numbers: [90, 74]
Generated Node #0,1,2: 57:[90, 74] Operation: 55+19=74
Exploring Operation: 55-19=36, Resulting Numbers: [90, 36]
Generated Node #0,1,3: 57:[90, 36] Operation: 55-19=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[55, 71], Operations: ['61-42=19', '90-19=71']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,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,1
Current State: 57:[19, 35], Operations: ['61-42=19', '90-55=35']
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,57 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,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:[90, 74], Operations: ['61-42=19', '55+19=74']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,57 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,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:[90, 36], Operations: ['61-42=19', '55-19=36']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,57 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,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,3
Current State: 57:[42, 61, 35], Operations: ['90-55=35']
Exploring Operation: 61-35=26, Resulting Numbers: [42, 26]
Generated Node #0,3,0: 57:[42, 26] Operation: 61-35=26
Exploring Operation: 42-35=7, Resulting Numbers: [61, 7]
Generated Node #0,3,1: 57:[61, 7] Operation: 42-35=7
Exploring Operation: 42+35=77, Resulting Numbers: [61, 77]
Generated Node #0,3,2: 57:[61, 77] Operation: 42+35=77
Exploring Operation: 61-42=19, Resulting Numbers: [35, 19]
Generated Node #0,3,3: 57:[35, 19] Operation: 61-42=19
Moving to Node #0,3,1
Current State: 57:[61, 7], Operations: ['90-55=35', '42-35=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[35, 19], Operations: ['90-55=35', '61-42=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,57 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[42, 26], Operations: ['90-55=35', '61-35=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[61, 77], Operations: ['90-55=35', '42+35=77']
Exploring Operation: 61+77=138, Resulting Numbers: [138]
138,57 unequal: No Solution
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 61*77=4697, Resulting Numbers: [4697]
4697,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
65,
70,
94,
16
] | 14 | [
"70-65=5",
"16*5=80",
"94-80=14"
] | Current State: 14:[65, 70, 94, 16], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [94, 16, 5]
Generated Node #2: [94, 16, 5] from Operation: 70-65=5
Current State: 14:[94, 16, 5], Operations: ['70-65=5']
Exploring Operation: 16*5=80, Resulting Numbers: [94, 80]
Generated Node #3: [94, 80] from Operation: 16*5=80
Current State: 14:[94, 80], Operations: ['70-65=5', '16*5=80']
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[65, 70, 94, 16], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [70, 16, 29]
Generated Node #0,0: 14:[70, 16, 29] Operation: 94-65=29
Exploring Operation: 70-65=5, Resulting Numbers: [94, 16, 5]
Generated Node #0,1: 14:[94, 16, 5] Operation: 70-65=5
Exploring Operation: 94-70=24, Resulting Numbers: [65, 16, 24]
Generated Node #0,2: 14:[65, 16, 24] Operation: 94-70=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[65, 16, 24], Operations: ['94-70=24']
Exploring Operation: 65-16=49, Resulting Numbers: [24, 49]
Generated Node #0,2,0: 14:[24, 49] Operation: 65-16=49
Exploring Operation: 65-24=41, Resulting Numbers: [16, 41]
Generated Node #0,2,1: 14:[16, 41] Operation: 65-24=41
Exploring Operation: 24-16=8, Resulting Numbers: [65, 8]
Generated Node #0,2,2: 14:[65, 8] Operation: 24-16=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 14:[16, 41], Operations: ['94-70=24', '65-24=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,14 unequal: No Solution
No 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: 14:[24, 49], Operations: ['94-70=24', '65-16=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,14 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No 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: 14:[65, 8], Operations: ['94-70=24', '24-16=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,14 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,14 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: 14:[70, 16, 29], Operations: ['94-65=29']
Exploring Operation: 70-29=41, Resulting Numbers: [16, 41]
Generated Node #0,0,0: 14:[16, 41] Operation: 70-29=41
Exploring Operation: 29-16=13, Resulting Numbers: [70, 13]
Generated Node #0,0,1: 14:[70, 13] Operation: 29-16=13
Exploring Operation: 70-16=54, Resulting Numbers: [29, 54]
Generated Node #0,0,2: 14:[29, 54] Operation: 70-16=54
Moving to Node #0,0,0
Current State: 14:[16, 41], Operations: ['94-65=29', '70-29=41']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,14 unequal: No Solution
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[29, 54], Operations: ['94-65=29', '70-16=54']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,14 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[70, 13], Operations: ['94-65=29', '29-16=13']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,14 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,14 unequal: No Solution
No 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: 14:[94, 16, 5], Operations: ['70-65=5']
Exploring Operation: 94-16=78, Resulting Numbers: [5, 78]
Generated Node #0,1,0: 14:[5, 78] Operation: 94-16=78
Exploring Operation: 94-5=89, Resulting Numbers: [16, 89]
Generated Node #0,1,1: 14:[16, 89] Operation: 94-5=89
Exploring Operation: 16-5=11, Resulting Numbers: [94, 11]
Generated Node #0,1,2: 14:[94, 11] Operation: 16-5=11
Moving to Node #0,1,0
Current State: 14:[5, 78], Operations: ['70-65=5', '94-16=78']
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 5*78=390, Resulting Numbers: [390]
390,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[16, 89], Operations: ['70-65=5', '94-5=89']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 16+89=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 16*89=1424, Resulting Numbers: [1424]
1424,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[94, 11], Operations: ['70-65=5', '16-5=11']
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,14 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,14 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,14 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 |
[
40,
22,
20,
94
] | 87 | [
"22-20=2",
"94/2=47",
"40+47=87"
] | Current State: 87:[40, 22, 20, 94], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [40, 94, 2]
Generated Node #2: [40, 94, 2] from Operation: 22-20=2
Current State: 87:[40, 94, 2], Operations: ['22-20=2']
Exploring Operation: 94/2=47, Resulting Numbers: [40, 47]
Generated Node #3: [40, 47] from Operation: 94/2=47
Current State: 87:[40, 47], Operations: ['22-20=2', '94/2=47']
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[40, 22, 20, 94], Operations: []
Exploring Operation: 22+20=42, Resulting Numbers: [40, 94, 42]
Generated Node #0,0: 87:[40, 94, 42] Operation: 22+20=42
Exploring Operation: 40-22=18, Resulting Numbers: [20, 94, 18]
Generated Node #0,1: 87:[20, 94, 18] Operation: 40-22=18
Exploring Operation: 22-20=2, Resulting Numbers: [40, 94, 2]
Generated Node #0,2: 87:[40, 94, 2] Operation: 22-20=2
Exploring Operation: 40/20=2, Resulting Numbers: [22, 94, 2]
Generated Node #0,3: 87:[22, 94, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [22, 94, 20]
Generated Node #0,4: 87:[22, 94, 20] Operation: 40-20=20
Moving to Node #0,3
Current State: 87:[22, 94, 2], Operations: ['40/20=2']
Exploring Operation: 22+2=24, Resulting Numbers: [94, 24]
Generated Node #0,3,0: 87:[94, 24] Operation: 22+2=24
Exploring Operation: 22-2=20, Resulting Numbers: [94, 20]
Generated Node #0,3,1: 87:[94, 20] Operation: 22-2=20
Exploring Operation: 94-2=92, Resulting Numbers: [22, 92]
Generated Node #0,3,2: 87:[22, 92] Operation: 94-2=92
Exploring Operation: 94-22=72, Resulting Numbers: [2, 72]
Generated Node #0,3,3: 87:[2, 72] Operation: 94-22=72
Exploring Operation: 22/2=11, Resulting Numbers: [94, 11]
Generated Node #0,3,4: 87:[94, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[94, 24], Operations: ['40/20=2', '22+2=24']
Exploring Operation: 94*24=2256, Resulting Numbers: [2256]
2256,87 unequal: No Solution
Exploring Operation: 94+24=118, Resulting Numbers: [118]
118,87 unequal: No Solution
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[22, 92], Operations: ['40/20=2', '94-2=92']
Exploring Operation: 22*92=2024, Resulting Numbers: [2024]
2024,87 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 22+92=114, Resulting Numbers: [114]
114,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 87:[94, 11], Operations: ['40/20=2', '22/2=11']
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,87 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,87 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[94, 20], Operations: ['40/20=2', '22-2=20']
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,87 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[2, 72], Operations: ['40/20=2', '94-22=72']
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,87 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,87 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,87 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: 87:[40, 94, 2], Operations: ['22-20=2']
Exploring Operation: 40+2=42, Resulting Numbers: [94, 42]
Generated Node #0,2,0: 87:[94, 42] Operation: 40+2=42
Exploring Operation: 40-2=38, Resulting Numbers: [94, 38]
Generated Node #0,2,1: 87:[94, 38] Operation: 40-2=38
Exploring Operation: 40*2=80, Resulting Numbers: [94, 80]
Generated Node #0,2,2: 87:[94, 80] Operation: 40*2=80
Exploring Operation: 94-2=92, Resulting Numbers: [40, 92]
Generated Node #0,2,3: 87:[40, 92] Operation: 94-2=92
Exploring Operation: 40/2=20, Resulting Numbers: [94, 20]
Generated Node #0,2,4: 87:[94, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[94, 80], Operations: ['22-20=2', '40*2=80']
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 94*80=7520, Resulting Numbers: [7520]
7520,87 unequal: No Solution
Exploring Operation: 94+80=174, Resulting Numbers: [174]
174,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[94, 38], Operations: ['22-20=2', '40-2=38']
Exploring Operation: 94+38=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 94*38=3572, Resulting Numbers: [3572]
3572,87 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[40, 92], Operations: ['22-20=2', '94-2=92']
Exploring Operation: 40+92=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 40*92=3680, Resulting Numbers: [3680]
3680,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[94, 20], Operations: ['22-20=2', '40/2=20']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,87 unequal: No Solution
Exploring Operation: 94+20=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 94*20=1880, Resulting Numbers: [1880]
1880,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[94, 42], Operations: ['22-20=2', '40+2=42']
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,87 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 87:[22, 94, 20], Operations: ['40-20=20']
Exploring Operation: 22+20=42, Resulting Numbers: [94, 42]
Generated Node #0,4,0: 87:[94, 42] Operation: 22+20=42
Exploring Operation: 22-20=2, Resulting Numbers: [94, 2]
Generated Node #0,4,1: 87:[94, 2] Operation: 22-20=2
Exploring Operation: 94-22=72, Resulting Numbers: [20, 72]
Generated Node #0,4,2: 87:[20, 72] Operation: 94-22=72
Exploring Operation: 94+20=114, Resulting Numbers: [22, 114]
Generated Node #0,4,3: 87:[22, 114] Operation: 94+20=114
Exploring Operation: 94-20=74, Resulting Numbers: [22, 74]
Generated Node #0,4,4: 87:[22, 74] Operation: 94-20=74
Moving to Node #0,1
Current State: 87:[20, 94, 18], Operations: ['40-22=18']
Exploring Operation: 20-18=2, Resulting Numbers: [94, 2]
Generated Node #0,1,0: 87:[94, 2] Operation: 20-18=2
Exploring Operation: 94-20=74, Resulting Numbers: [18, 74]
Generated Node #0,1,1: 87:[18, 74] Operation: 94-20=74
Exploring Operation: 20+18=38, Resulting Numbers: [94, 38]
Generated Node #0,1,2: 87:[94, 38] Operation: 20+18=38
Exploring Operation: 94-18=76, Resulting Numbers: [20, 76]
Generated Node #0,1,3: 87:[20, 76] Operation: 94-18=76
Exploring Operation: 94+18=112, Resulting Numbers: [20, 112]
Generated Node #0,1,4: 87:[20, 112] Operation: 94+18=112
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[94, 2], Operations: ['40-22=18', '20-18=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,87 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,87 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[94, 38], Operations: ['40-22=18', '20+18=38']
Exploring Operation: 94*38=3572, Resulting Numbers: [3572]
3572,87 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 94+38=132, Resulting Numbers: [132]
132,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 87:[20, 76], Operations: ['40-22=18', '94-18=76']
Exploring Operation: 20+76=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 20*76=1520, Resulting Numbers: [1520]
1520,87 unequal: No Solution
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[18, 74], Operations: ['40-22=18', '94-20=74']
Exploring Operation: 18*74=1332, Resulting Numbers: [1332]
1332,87 unequal: No Solution
Exploring Operation: 18+74=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 87:[20, 112], Operations: ['40-22=18', '94+18=112']
Exploring Operation: 20+112=132, Resulting Numbers: [132]
132,87 unequal: No Solution
Exploring Operation: 112-20=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 20*112=2240, Resulting Numbers: [2240]
2240,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 87:[40, 94, 42], Operations: ['22+20=42']
Exploring Operation: 40+42=82, Resulting Numbers: [94, 82]
Generated Node #0,0,0: 87:[94, 82] Operation: 40+42=82
Exploring Operation: 40+94=134, Resulting Numbers: [42, 134]
Generated Node #0,0,1: 87:[42, 134] Operation: 40+94=134
Exploring Operation: 94-42=52, Resulting Numbers: [40, 52]
Generated Node #0,0,2: 87:[40, 52] Operation: 94-42=52
Exploring Operation: 94-40=54, Resulting Numbers: [42, 54]
Generated Node #0,0,3: 87:[42, 54] Operation: 94-40=54
Exploring Operation: 42-40=2, Resulting Numbers: [94, 2]
Generated Node #0,0,4: 87:[94, 2] Operation: 42-40=2
Moving to Node #0,4,1
Current State: 87:[94, 2], Operations: ['40-20=20', '22-20=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,87 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,87 unequal: No Solution
Moving to Node #0,0,4
Current State: 87:[94, 2], Operations: ['22+20=42', '42-40=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,87 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,87 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[94, 82], Operations: ['22+20=42', '40+42=82']
Exploring Operation: 94-82=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 94*82=7708, Resulting Numbers: [7708]
7708,87 unequal: No Solution
Exploring Operation: 94+82=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Moving to Node #0,4,4
Current State: 87:[22, 74], Operations: ['40-20=20', '94-20=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,87 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[94, 42], Operations: ['40-20=20', '22+20=42']
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,87 unequal: No Solution
Moving to Node #0,4,2
Current State: 87:[20, 72], Operations: ['40-20=20', '94-22=72']
Exploring Operation: 20*72=1440, Resulting Numbers: [1440]
1440,87 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 20+72=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[40, 52], Operations: ['22+20=42', '94-42=52']
Exploring Operation: 40*52=2080, Resulting Numbers: [2080]
2080,87 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 40+52=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Moving to Node #0,4,3
Current State: 87:[22, 114], Operations: ['40-20=20', '94+20=114']
Exploring Operation: 22*114=2508, Resulting Numbers: [2508]
2508,87 unequal: No Solution
Exploring Operation: 22+114=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 114-22=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[42, 54], Operations: ['22+20=42', '94-40=54']
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[42, 134], Operations: ['22+20=42', '40+94=134']
Exploring Operation: 42*134=5628, Resulting Numbers: [5628]
5628,87 unequal: No Solution
Exploring Operation: 134-42=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 42+134=176, Resulting Numbers: [176]
176,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
92,
53,
35,
58
] | 52 | [
"92+53=145",
"35+58=93",
"145-93=52"
] | Current State: 52:[92, 53, 35, 58], Operations: []
Exploring Operation: 92+53=145, Resulting Numbers: [35, 58, 145]
Generated Node #2: [35, 58, 145] from Operation: 92+53=145
Current State: 52:[35, 58, 145], Operations: ['92+53=145']
Exploring Operation: 35+58=93, Resulting Numbers: [145, 93]
Generated Node #3: [145, 93] from Operation: 35+58=93
Current State: 52:[145, 93], Operations: ['92+53=145', '35+58=93']
Exploring Operation: 145-93=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[92, 53, 35, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [53, 35, 34]
Generated Node #0,0: 52:[53, 35, 34] Operation: 92-58=34
Exploring Operation: 92-35=57, Resulting Numbers: [53, 58, 57]
Generated Node #0,1: 52:[53, 58, 57] Operation: 92-35=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[53, 58, 57], Operations: ['92-35=57']
Exploring Operation: 58-57=1, Resulting Numbers: [53, 1]
Generated Node #0,1,0: 52:[53, 1] Operation: 58-57=1
Exploring Operation: 58-53=5, Resulting Numbers: [57, 5]
Generated Node #0,1,1: 52:[57, 5] Operation: 58-53=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[53, 1], Operations: ['92-35=57', '58-57=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[92, 53, 35, 58], Operations: []
Exploring Operation: 92-35=57, Resulting Numbers: [53, 58, 57]
Generated Node #0,1: 52:[53, 58, 57] Operation: 92-35=57
Moving to Node #0,1
Current State: 52:[53, 58, 57], Operations: ['92-35=57']
Exploring Operation: 58-57=1, Resulting Numbers: [53, 1]
Generated Node #0,1,0: 52:[53, 1] Operation: 58-57=1
Moving to Node #0,1,0
Current State: 52:[53, 1], Operations: ['92-35=57', '58-57=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
82,
9,
13,
7
] | 49 | [
"82+9=91",
"91/13=7",
"7*7=49"
] | Current State: 49:[82, 9, 13, 7], Operations: []
Exploring Operation: 82+9=91, Resulting Numbers: [13, 7, 91]
Generated Node #2: [13, 7, 91] from Operation: 82+9=91
Current State: 49:[13, 7, 91], Operations: ['82+9=91']
Exploring Operation: 91/13=7, Resulting Numbers: [7, 7]
Generated Node #3: [7, 7] from Operation: 91/13=7
Current State: 49:[7, 7], Operations: ['82+9=91', '91/13=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[82, 9, 13, 7], Operations: []
Exploring Operation: 82-7=75, Resulting Numbers: [9, 13, 75]
Generated Node #0,0: 49:[9, 13, 75] Operation: 82-7=75
Exploring Operation: 82-13=69, Resulting Numbers: [9, 7, 69]
Generated Node #0,1: 49:[9, 7, 69] Operation: 82-13=69
Exploring Operation: 82-9=73, Resulting Numbers: [13, 7, 73]
Generated Node #0,2: 49:[13, 7, 73] Operation: 82-9=73
Moving to Node #0,1
Current State: 49:[9, 7, 69], Operations: ['82-13=69']
Exploring Operation: 69-7=62, Resulting Numbers: [9, 62]
Generated Node #0,1,0: 49:[9, 62] Operation: 69-7=62
Exploring Operation: 69-9=60, Resulting Numbers: [7, 60]
Generated Node #0,1,1: 49:[7, 60] Operation: 69-9=60
Exploring Operation: 9-7=2, Resulting Numbers: [69, 2]
Generated Node #0,1,2: 49:[69, 2] Operation: 9-7=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[7, 60], Operations: ['82-13=69', '69-9=60']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,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,1,0
Current State: 49:[9, 62], Operations: ['82-13=69', '69-7=62']
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,49 unequal: No Solution
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,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,1,2
Current State: 49:[69, 2], Operations: ['82-13=69', '9-7=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,49 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: 49:[13, 7, 73], Operations: ['82-9=73']
Exploring Operation: 73-7=66, Resulting Numbers: [13, 66]
Generated Node #0,2,0: 49:[13, 66] Operation: 73-7=66
Exploring Operation: 73-13=60, Resulting Numbers: [7, 60]
Generated Node #0,2,1: 49:[7, 60] Operation: 73-13=60
Exploring Operation: 13-7=6, Resulting Numbers: [73, 6]
Generated Node #0,2,2: 49:[73, 6] Operation: 13-7=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[7, 60], Operations: ['82-9=73', '73-13=60']
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,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,0
Current State: 49:[13, 66], Operations: ['82-9=73', '73-7=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,49 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,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:[73, 6], Operations: ['82-9=73', '13-7=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,49 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,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:[9, 13, 75], Operations: ['82-7=75']
Exploring Operation: 13-9=4, Resulting Numbers: [75, 4]
Generated Node #0,0,0: 49:[75, 4] Operation: 13-9=4
Exploring Operation: 75-9=66, Resulting Numbers: [13, 66]
Generated Node #0,0,1: 49:[13, 66] Operation: 75-9=66
Exploring Operation: 75-13=62, Resulting Numbers: [9, 62]
Generated Node #0,0,2: 49:[9, 62] Operation: 75-13=62
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[9, 62], Operations: ['82-7=75', '75-13=62']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,49 unequal: No Solution
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,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:[13, 66], Operations: ['82-7=75', '75-9=66']
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,49 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,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:[75, 4], Operations: ['82-7=75', '13-9=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,49 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 |
[
25,
88,
60,
70
] | 86 | [
"60-25=35",
"70/35=2",
"88-2=86"
] | Current State: 86:[25, 88, 60, 70], Operations: []
Exploring Operation: 60-25=35, Resulting Numbers: [88, 70, 35]
Generated Node #2: [88, 70, 35] from Operation: 60-25=35
Current State: 86:[88, 70, 35], Operations: ['60-25=35']
Exploring Operation: 70/35=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 70/35=2
Current State: 86:[88, 2], Operations: ['60-25=35', '70/35=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[25, 88, 60, 70], Operations: []
Exploring Operation: 25+60=85, Resulting Numbers: [88, 70, 85]
Generated Node #0,0: 86:[88, 70, 85] Operation: 25+60=85
Exploring Operation: 60-25=35, Resulting Numbers: [88, 70, 35]
Generated Node #0,1: 86:[88, 70, 35] Operation: 60-25=35
Exploring Operation: 70-25=45, Resulting Numbers: [88, 60, 45]
Generated Node #0,2: 86:[88, 60, 45] Operation: 70-25=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[88, 70, 85], Operations: ['25+60=85']
Exploring Operation: 88-85=3, Resulting Numbers: [70, 3]
Generated Node #0,0,0: 86:[70, 3] Operation: 88-85=3
Exploring Operation: 88-70=18, Resulting Numbers: [85, 18]
Generated Node #0,0,1: 86:[85, 18] Operation: 88-70=18
Exploring Operation: 85-70=15, Resulting Numbers: [88, 15]
Generated Node #0,0,2: 86:[88, 15] Operation: 85-70=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[88, 15], Operations: ['25+60=85', '85-70=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,86 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,86 unequal: No Solution
No 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: 86:[70, 3], Operations: ['25+60=85', '88-85=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,86 unequal: No Solution
No 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: 86:[85, 18], Operations: ['25+60=85', '88-70=18']
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,86 unequal: No Solution
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,86 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: 86:[88, 60, 45], Operations: ['70-25=45']
Exploring Operation: 60-45=15, Resulting Numbers: [88, 15]
Generated Node #0,2,0: 86:[88, 15] Operation: 60-45=15
Exploring Operation: 88-45=43, Resulting Numbers: [60, 43]
Generated Node #0,2,1: 86:[60, 43] Operation: 88-45=43
Exploring Operation: 88-60=28, Resulting Numbers: [45, 28]
Generated Node #0,2,2: 86:[45, 28] Operation: 88-60=28
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[88, 15], Operations: ['70-25=45', '60-45=15']
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,86 unequal: No Solution
No 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: 86:[60, 43], Operations: ['70-25=45', '88-45=43']
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,86 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,86 unequal: No Solution
No 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: 86:[45, 28], Operations: ['70-25=45', '88-60=28']
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,86 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,86 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: 86:[88, 70, 35], Operations: ['60-25=35']
Exploring Operation: 70/35=2, Resulting Numbers: [88, 2]
Generated Node #0,1,0: 86:[88, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [88, 35]
Generated Node #0,1,1: 86:[88, 35] Operation: 70-35=35
Exploring Operation: 70+35=105, Resulting Numbers: [88, 105]
Generated Node #0,1,2: 86:[88, 105] Operation: 70+35=105
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[88, 2], Operations: ['60-25=35', '70/35=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[25, 88, 60, 70], Operations: []
Exploring Operation: 60-25=35, Resulting Numbers: [88, 70, 35]
Generated Node #0,1: 86:[88, 70, 35] Operation: 60-25=35
Moving to Node #0,1
Current State: 86:[88, 70, 35], Operations: ['60-25=35']
Exploring Operation: 70/35=2, Resulting Numbers: [88, 2]
Generated Node #0,1,0: 86:[88, 2] Operation: 70/35=2
Moving to Node #0,1,0
Current State: 86:[88, 2], Operations: ['60-25=35', '70/35=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
8,
39,
37,
58
] | 54 | [
"39-37=2",
"8/2=4",
"58-4=54"
] | Current State: 54:[8, 39, 37, 58], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [8, 58, 2]
Generated Node #2: [8, 58, 2] from Operation: 39-37=2
Current State: 54:[8, 58, 2], Operations: ['39-37=2']
Exploring Operation: 8/2=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 8/2=4
Current State: 54:[58, 4], Operations: ['39-37=2', '8/2=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[8, 39, 37, 58], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [8, 39, 21]
Generated Node #0,0: 54:[8, 39, 21] Operation: 58-37=21
Exploring Operation: 58-39=19, Resulting Numbers: [8, 37, 19]
Generated Node #0,1: 54:[8, 37, 19] Operation: 58-39=19
Exploring Operation: 37-8=29, Resulting Numbers: [39, 58, 29]
Generated Node #0,2: 54:[39, 58, 29] Operation: 37-8=29
Exploring Operation: 39-37=2, Resulting Numbers: [8, 58, 2]
Generated Node #0,3: 54:[8, 58, 2] Operation: 39-37=2
Exploring Operation: 39-8=31, Resulting Numbers: [37, 58, 31]
Generated Node #0,4: 54:[37, 58, 31] Operation: 39-8=31
Moving to Node #0,3
Current State: 54:[8, 58, 2], Operations: ['39-37=2']
Exploring Operation: 58-2=56, Resulting Numbers: [8, 56]
Generated Node #0,3,0: 54:[8, 56] Operation: 58-2=56
Exploring Operation: 8+2=10, Resulting Numbers: [58, 10]
Generated Node #0,3,1: 54:[58, 10] Operation: 8+2=10
Exploring Operation: 8-2=6, Resulting Numbers: [58, 6]
Generated Node #0,3,2: 54:[58, 6] Operation: 8-2=6
Exploring Operation: 58-8=50, Resulting Numbers: [2, 50]
Generated Node #0,3,3: 54:[2, 50] Operation: 58-8=50
Exploring Operation: 58/2=29, Resulting Numbers: [8, 29]
Generated Node #0,3,4: 54:[8, 29] Operation: 58/2=29
Moving to Node #0,1
Current State: 54:[8, 37, 19], Operations: ['58-39=19']
Exploring Operation: 37-19=18, Resulting Numbers: [8, 18]
Generated Node #0,1,0: 54:[8, 18] Operation: 37-19=18
Exploring Operation: 37-8=29, Resulting Numbers: [19, 29]
Generated Node #0,1,1: 54:[19, 29] Operation: 37-8=29
Exploring Operation: 8+19=27, Resulting Numbers: [37, 27]
Generated Node #0,1,2: 54:[37, 27] Operation: 8+19=27
Exploring Operation: 37+19=56, Resulting Numbers: [8, 56]
Generated Node #0,1,3: 54:[8, 56] Operation: 37+19=56
Exploring Operation: 8+37=45, Resulting Numbers: [19, 45]
Generated Node #0,1,4: 54:[19, 45] Operation: 8+37=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[8, 18], Operations: ['58-39=19', '37-19=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[19, 29], Operations: ['58-39=19', '37-8=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[8, 56], Operations: ['58-39=19', '37+19=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[37, 27], Operations: ['58-39=19', '8+19=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,54 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 54:[19, 45], Operations: ['58-39=19', '8+37=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,54 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 54:[8, 39, 21], Operations: ['58-37=21']
Exploring Operation: 39-8=31, Resulting Numbers: [21, 31]
Generated Node #0,0,0: 54:[21, 31] Operation: 39-8=31
Exploring Operation: 39+21=60, Resulting Numbers: [8, 60]
Generated Node #0,0,1: 54:[8, 60] Operation: 39+21=60
Exploring Operation: 8+21=29, Resulting Numbers: [39, 29]
Generated Node #0,0,2: 54:[39, 29] Operation: 8+21=29
Exploring Operation: 39-21=18, Resulting Numbers: [8, 18]
Generated Node #0,0,3: 54:[8, 18] Operation: 39-21=18
Exploring Operation: 8+39=47, Resulting Numbers: [21, 47]
Generated Node #0,0,4: 54:[21, 47] Operation: 8+39=47
Moving to Node #0,2
Current State: 54:[39, 58, 29], Operations: ['37-8=29']
Exploring Operation: 58/29=2, Resulting Numbers: [39, 2]
Generated Node #0,2,0: 54:[39, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [39, 29]
Generated Node #0,2,1: 54:[39, 29] Operation: 58-29=29
Exploring Operation: 39+29=68, Resulting Numbers: [58, 68]
Generated Node #0,2,2: 54:[58, 68] Operation: 39+29=68
Exploring Operation: 58-39=19, Resulting Numbers: [29, 19]
Generated Node #0,2,3: 54:[29, 19] Operation: 58-39=19
Exploring Operation: 39-29=10, Resulting Numbers: [58, 10]
Generated Node #0,2,4: 54:[58, 10] Operation: 39-29=10
Moving to Node #0,4
Current State: 54:[37, 58, 31], Operations: ['39-8=31']
Exploring Operation: 58-31=27, Resulting Numbers: [37, 27]
Generated Node #0,4,0: 54:[37, 27] Operation: 58-31=27
Exploring Operation: 37-31=6, Resulting Numbers: [58, 6]
Generated Node #0,4,1: 54:[58, 6] Operation: 37-31=6
Exploring Operation: 37+58=95, Resulting Numbers: [31, 95]
Generated Node #0,4,2: 54:[31, 95] Operation: 37+58=95
Exploring Operation: 37+31=68, Resulting Numbers: [58, 68]
Generated Node #0,4,3: 54:[58, 68] Operation: 37+31=68
Exploring Operation: 58-37=21, Resulting Numbers: [31, 21]
Generated Node #0,4,4: 54:[31, 21] Operation: 58-37=21
Moving to Node #0,0,3
Current State: 54:[8, 18], Operations: ['58-37=21', '39-21=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[8, 56], Operations: ['39-37=2', '58-2=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,54 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[8, 29], Operations: ['39-37=2', '58/2=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[29, 19], Operations: ['37-8=29', '58-39=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,54 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[58, 6], Operations: ['39-37=2', '8-2=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,54 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[2, 50], Operations: ['39-37=2', '58-8=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[58, 6], Operations: ['39-8=31', '37-31=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,54 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[58, 10], Operations: ['37-8=29', '39-29=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[58, 10], Operations: ['39-37=2', '8+2=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[21, 31], Operations: ['58-37=21', '39-8=31']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,54 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[31, 21], Operations: ['39-8=31', '58-37=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,54 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[8, 60], Operations: ['58-37=21', '39+21=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[37, 27], Operations: ['39-8=31', '58-31=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,54 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[21, 47], Operations: ['58-37=21', '8+39=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,54 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[39, 2], Operations: ['37-8=29', '58/29=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[39, 29], Operations: ['37-8=29', '58-29=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[39, 29], Operations: ['58-37=21', '8+21=29']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[58, 68], Operations: ['37-8=29', '39+29=68']
Exploring Operation: 58+68=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 58*68=3944, Resulting Numbers: [3944]
3944,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[58, 68], Operations: ['39-8=31', '37+31=68']
Exploring Operation: 58*68=3944, Resulting Numbers: [3944]
3944,54 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 58+68=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[31, 95], Operations: ['39-8=31', '37+58=95']
Exploring Operation: 31+95=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 31*95=2945, Resulting Numbers: [2945]
2945,54 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
72,
32,
67,
3
] | 74 | [
"67-3=64",
"64/32=2",
"72+2=74"
] | Current State: 74:[72, 32, 67, 3], Operations: []
Exploring Operation: 67-3=64, Resulting Numbers: [72, 32, 64]
Generated Node #2: [72, 32, 64] from Operation: 67-3=64
Current State: 74:[72, 32, 64], Operations: ['67-3=64']
Exploring Operation: 64/32=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 64/32=2
Current State: 74:[72, 2], Operations: ['67-3=64', '64/32=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[72, 32, 67, 3], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [32, 3, 5]
Generated Node #0,0: 74:[32, 3, 5] Operation: 72-67=5
Exploring Operation: 67-32=35, Resulting Numbers: [72, 3, 35]
Generated Node #0,1: 74:[72, 3, 35] Operation: 67-32=35
Moving to Node #0,1
Current State: 74:[72, 3, 35], Operations: ['67-32=35']
Exploring Operation: 72+3=75, Resulting Numbers: [35, 75]
Generated Node #0,1,0: 74:[35, 75] Operation: 72+3=75
Exploring Operation: 72-35=37, Resulting Numbers: [3, 37]
Generated Node #0,1,1: 74:[3, 37] Operation: 72-35=37
Moving to Node #0,0
Current State: 74:[32, 3, 5], Operations: ['72-67=5']
Exploring Operation: 32+5=37, Resulting Numbers: [3, 37]
Generated Node #0,0,0: 74:[3, 37] Operation: 32+5=37
Exploring Operation: 32+3=35, Resulting Numbers: [5, 35]
Generated Node #0,0,1: 74:[5, 35] Operation: 32+3=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[3, 37], Operations: ['72-67=5', '32+5=37']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[5, 35], Operations: ['72-67=5', '32+3=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 74:[3, 37], Operations: ['67-32=35', '72-35=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[35, 75], Operations: ['67-32=35', '72+3=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,74 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
25,
49,
67,
16
] | 59 | [
"49-25=24",
"67+16=83",
"83-24=59"
] | Current State: 59:[25, 49, 67, 16], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [67, 16, 24]
Generated Node #2: [67, 16, 24] from Operation: 49-25=24
Current State: 59:[67, 16, 24], Operations: ['49-25=24']
Exploring Operation: 67+16=83, Resulting Numbers: [24, 83]
Generated Node #3: [24, 83] from Operation: 67+16=83
Current State: 59:[24, 83], Operations: ['49-25=24', '67+16=83']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[25, 49, 67, 16], Operations: []
Exploring Operation: 49+16=65, Resulting Numbers: [25, 67, 65]
Generated Node #0,0: 59:[25, 67, 65] Operation: 49+16=65
Exploring Operation: 25+16=41, Resulting Numbers: [49, 67, 41]
Generated Node #0,1: 59:[49, 67, 41] Operation: 25+16=41
Moving to Node #0,1
Current State: 59:[49, 67, 41], Operations: ['25+16=41']
Exploring Operation: 49+41=90, Resulting Numbers: [67, 90]
Generated Node #0,1,0: 59:[67, 90] Operation: 49+41=90
Exploring Operation: 67-41=26, Resulting Numbers: [49, 26]
Generated Node #0,1,1: 59:[49, 26] Operation: 67-41=26
Moving to Node #0,0
Current State: 59:[25, 67, 65], Operations: ['49+16=65']
Exploring Operation: 65-25=40, Resulting Numbers: [67, 40]
Generated Node #0,0,0: 59:[67, 40] Operation: 65-25=40
Exploring Operation: 67-25=42, Resulting Numbers: [65, 42]
Generated Node #0,0,1: 59:[65, 42] Operation: 67-25=42
Moving to Node #0,0,1
Current State: 59:[65, 42], Operations: ['49+16=65', '67-25=42']
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[67, 40], Operations: ['49+16=65', '65-25=40']
Exploring Operation: 67+40=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[67, 90], Operations: ['25+16=41', '49+41=90']
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[49, 26], Operations: ['25+16=41', '67-41=26']
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,59 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
43,
18,
89,
1
] | 64 | [
"43-18=25",
"89*1=89",
"89-25=64"
] | Current State: 64:[43, 18, 89, 1], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [89, 1, 25]
Generated Node #2: [89, 1, 25] from Operation: 43-18=25
Current State: 64:[89, 1, 25], Operations: ['43-18=25']
Exploring Operation: 89*1=89, Resulting Numbers: [25, 89]
Generated Node #3: [25, 89] from Operation: 89*1=89
Current State: 64:[25, 89], Operations: ['43-18=25', '89*1=89']
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[43, 18, 89, 1], Operations: []
Exploring Operation: 89-43=46, Resulting Numbers: [18, 1, 46]
Generated Node #0,0: 64:[18, 1, 46] Operation: 89-43=46
Exploring Operation: 89-18=71, Resulting Numbers: [43, 1, 71]
Generated Node #0,1: 64:[43, 1, 71] Operation: 89-18=71
Exploring Operation: 43+18=61, Resulting Numbers: [89, 1, 61]
Generated Node #0,2: 64:[89, 1, 61] Operation: 43+18=61
Exploring Operation: 43-1=42, Resulting Numbers: [18, 89, 42]
Generated Node #0,3: 64:[18, 89, 42] Operation: 43-1=42
Exploring Operation: 43-18=25, Resulting Numbers: [89, 1, 25]
Generated Node #0,4: 64:[89, 1, 25] Operation: 43-18=25
Moving to Node #0,0
Current State: 64:[18, 1, 46], Operations: ['89-43=46']
Exploring Operation: 18*1=18, Resulting Numbers: [46, 18]
Generated Node #0,0,0: 64:[46, 18] Operation: 18*1=18
Exploring Operation: 46-1=45, Resulting Numbers: [18, 45]
Generated Node #0,0,1: 64:[18, 45] Operation: 46-1=45
Exploring Operation: 18+46=64, Resulting Numbers: [1, 64]
Generated Node #0,0,2: 64:[1, 64] Operation: 18+46=64
Exploring Operation: 46-18=28, Resulting Numbers: [1, 28]
Generated Node #0,0,3: 64:[1, 28] Operation: 46-18=28
Exploring Operation: 18-1=17, Resulting Numbers: [46, 17]
Generated Node #0,0,4: 64:[46, 17] Operation: 18-1=17
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[1, 64], Operations: ['89-43=46', '18+46=64']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[43, 18, 89, 1], Operations: []
Exploring Operation: 89-43=46, Resulting Numbers: [18, 1, 46]
Generated Node #0,0: 64:[18, 1, 46] Operation: 89-43=46
Moving to Node #0,0
Current State: 64:[18, 1, 46], Operations: ['89-43=46']
Exploring Operation: 18+46=64, Resulting Numbers: [1, 64]
Generated Node #0,0,2: 64:[1, 64] Operation: 18+46=64
Moving to Node #0,0,2
Current State: 64:[1, 64], Operations: ['89-43=46', '18+46=64']
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
95,
43,
18,
52
] | 19 | [
"95-43=52",
"52/52=1",
"18+1=19"
] | Current State: 19:[95, 43, 18, 52], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [18, 52, 52]
Generated Node #2: [18, 52, 52] from Operation: 95-43=52
Current State: 19:[18, 52, 52], Operations: ['95-43=52']
Exploring Operation: 52/52=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 52/52=1
Current State: 19:[18, 1], Operations: ['95-43=52', '52/52=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[95, 43, 18, 52], Operations: []
Exploring Operation: 95-52=43, Resulting Numbers: [43, 18, 43]
Generated Node #0,0: 19:[43, 18, 43] Operation: 95-52=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[43, 18, 43], Operations: ['95-52=43']
Exploring Operation: 43/43=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 19:[18, 1] Operation: 43/43=1
Moving to Node #0,0,0
Current State: 19:[18, 1], Operations: ['95-52=43', '43/43=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[95, 43, 18, 52], Operations: []
Exploring Operation: 95-52=43, Resulting Numbers: [43, 18, 43]
Generated Node #0,0: 19:[43, 18, 43] Operation: 95-52=43
Moving to Node #0,0
Current State: 19:[43, 18, 43], Operations: ['95-52=43']
Exploring Operation: 43/43=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 19:[18, 1] Operation: 43/43=1
Moving to Node #0,0,0
Current State: 19:[18, 1], Operations: ['95-52=43', '43/43=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
77,
56,
46,
31
] | 57 | [
"77-46=31",
"31/31=1",
"56+1=57"
] | Current State: 57:[77, 56, 46, 31], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [56, 31, 31]
Generated Node #2: [56, 31, 31] from Operation: 77-46=31
Current State: 57:[56, 31, 31], Operations: ['77-46=31']
Exploring Operation: 31/31=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 31/31=1
Current State: 57:[56, 1], Operations: ['77-46=31', '31/31=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[77, 56, 46, 31], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [56, 31, 31]
Generated Node #0,0: 57:[56, 31, 31] Operation: 77-46=31
Exploring Operation: 77-56=21, Resulting Numbers: [46, 31, 21]
Generated Node #0,1: 57:[46, 31, 21] Operation: 77-56=21
Exploring Operation: 77-31=46, Resulting Numbers: [56, 46, 46]
Generated Node #0,2: 57:[56, 46, 46] Operation: 77-31=46
Moving to Node #0,2
Current State: 57:[56, 46, 46], Operations: ['77-31=46']
Exploring Operation: 46/46=1, Resulting Numbers: [56, 1]
Generated Node #0,2,0: 57:[56, 1] Operation: 46/46=1
Exploring Operation: 56-46=10, Resulting Numbers: [46, 10]
Generated Node #0,2,1: 57:[46, 10] Operation: 56-46=10
Exploring Operation: 46-46=0, Resulting Numbers: [56, 0]
Generated Node #0,2,2: 57:[56, 0] Operation: 46-46=0
Moving to Node #0,0
Current State: 57:[56, 31, 31], Operations: ['77-46=31']
Exploring Operation: 31/31=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 31/31=1
Exploring Operation: 31-31=0, Resulting Numbers: [56, 0]
Generated Node #0,0,1: 57:[56, 0] Operation: 31-31=0
Exploring Operation: 31+31=62, Resulting Numbers: [56, 62]
Generated Node #0,0,2: 57:[56, 62] Operation: 31+31=62
Moving to Node #0,1
Current State: 57:[46, 31, 21], Operations: ['77-56=21']
Exploring Operation: 31+21=52, Resulting Numbers: [46, 52]
Generated Node #0,1,0: 57:[46, 52] Operation: 31+21=52
Exploring Operation: 46-21=25, Resulting Numbers: [31, 25]
Generated Node #0,1,1: 57:[31, 25] Operation: 46-21=25
Exploring Operation: 46-31=15, Resulting Numbers: [21, 15]
Generated Node #0,1,2: 57:[21, 15] Operation: 46-31=15
Moving to Node #0,2,0
Current State: 57:[56, 1], Operations: ['77-31=46', '46/46=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[77, 56, 46, 31], Operations: []
Exploring Operation: 77-31=46, Resulting Numbers: [56, 46, 46]
Generated Node #0,2: 57:[56, 46, 46] Operation: 77-31=46
Moving to Node #0,2
Current State: 57:[56, 46, 46], Operations: ['77-31=46']
Exploring Operation: 46/46=1, Resulting Numbers: [56, 1]
Generated Node #0,2,0: 57:[56, 1] Operation: 46/46=1
Moving to Node #0,2,0
Current State: 57:[56, 1], Operations: ['77-31=46', '46/46=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
80,
13,
63,
9
] | 13 | [
"80-13=67",
"63-9=54",
"67-54=13"
] | Current State: 13:[80, 13, 63, 9], Operations: []
Exploring Operation: 80-13=67, Resulting Numbers: [63, 9, 67]
Generated Node #2: [63, 9, 67] from Operation: 80-13=67
Current State: 13:[63, 9, 67], Operations: ['80-13=67']
Exploring Operation: 63-9=54, Resulting Numbers: [67, 54]
Generated Node #3: [67, 54] from Operation: 63-9=54
Current State: 13:[67, 54], Operations: ['80-13=67', '63-9=54']
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[80, 13, 63, 9], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [13, 9, 17]
Generated Node #0,0: 13:[13, 9, 17] Operation: 80-63=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[13, 9, 17], Operations: ['80-63=17']
Exploring Operation: 17-9=8, Resulting Numbers: [13, 8]
Generated Node #0,0,0: 13:[13, 8] Operation: 17-9=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[13, 8], Operations: ['80-63=17', '17-9=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,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_1 | mult_heuristic |
[
92,
2,
6,
71
] | 56 | [
"92-2=90",
"90/6=15",
"71-15=56"
] | Current State: 56:[92, 2, 6, 71], Operations: []
Exploring Operation: 92-2=90, Resulting Numbers: [6, 71, 90]
Generated Node #2: [6, 71, 90] from Operation: 92-2=90
Current State: 56:[6, 71, 90], Operations: ['92-2=90']
Exploring Operation: 90/6=15, Resulting Numbers: [71, 15]
Generated Node #3: [71, 15] from Operation: 90/6=15
Current State: 56:[71, 15], Operations: ['92-2=90', '90/6=15']
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[92, 2, 6, 71], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [2, 6, 21]
Generated Node #0,0: 56:[2, 6, 21] Operation: 92-71=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[2, 6, 21], Operations: ['92-71=21']
Exploring Operation: 6+21=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 56:[2, 27] Operation: 6+21=27
Moving to Node #0,0,0
Current State: 56:[2, 27], Operations: ['92-71=21', '6+21=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
50,
31,
41
] | 62 | [
"18*31=558",
"50-41=9",
"558/9=62"
] | Current State: 62:[18, 50, 31, 41], Operations: []
Exploring Operation: 18*31=558, Resulting Numbers: [50, 41, 558]
Generated Node #2: [50, 41, 558] from Operation: 18*31=558
Current State: 62:[50, 41, 558], Operations: ['18*31=558']
Exploring Operation: 50-41=9, Resulting Numbers: [558, 9]
Generated Node #3: [558, 9] from Operation: 50-41=9
Current State: 62:[558, 9], Operations: ['18*31=558', '50-41=9']
Exploring Operation: 558/9=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[18, 50, 31, 41], Operations: []
Exploring Operation: 18+50=68, Resulting Numbers: [31, 41, 68]
Generated Node #0,0: 62:[31, 41, 68] Operation: 18+50=68
Exploring Operation: 41-18=23, Resulting Numbers: [50, 31, 23]
Generated Node #0,1: 62:[50, 31, 23] Operation: 41-18=23
Exploring Operation: 18+41=59, Resulting Numbers: [50, 31, 59]
Generated Node #0,2: 62:[50, 31, 59] Operation: 18+41=59
Exploring Operation: 50-18=32, Resulting Numbers: [31, 41, 32]
Generated Node #0,3: 62:[31, 41, 32] Operation: 50-18=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[31, 41, 32], Operations: ['50-18=32']
Exploring Operation: 31+41=72, Resulting Numbers: [32, 72]
Generated Node #0,3,0: 62:[32, 72] Operation: 31+41=72
Exploring Operation: 41-32=9, Resulting Numbers: [31, 9]
Generated Node #0,3,1: 62:[31, 9] Operation: 41-32=9
Exploring Operation: 41-31=10, Resulting Numbers: [32, 10]
Generated Node #0,3,2: 62:[32, 10] Operation: 41-31=10
Exploring Operation: 31+32=63, Resulting Numbers: [41, 63]
Generated Node #0,3,3: 62:[41, 63] Operation: 31+32=63
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 62:[31, 9], Operations: ['50-18=32', '41-32=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,62 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,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,3,2
Current State: 62:[32, 10], Operations: ['50-18=32', '41-31=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,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,3,0
Current State: 62:[32, 72], Operations: ['50-18=32', '31+41=72']
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,62 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,62 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,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,3,3
Current State: 62:[41, 63], Operations: ['50-18=32', '31+32=63']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,62 unequal: No Solution
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,62 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: 62:[50, 31, 59], Operations: ['18+41=59']
Exploring Operation: 59-50=9, Resulting Numbers: [31, 9]
Generated Node #0,2,0: 62:[31, 9] Operation: 59-50=9
Exploring Operation: 50+31=81, Resulting Numbers: [59, 81]
Generated Node #0,2,1: 62:[59, 81] Operation: 50+31=81
Exploring Operation: 50-31=19, Resulting Numbers: [59, 19]
Generated Node #0,2,2: 62:[59, 19] Operation: 50-31=19
Exploring Operation: 59-31=28, Resulting Numbers: [50, 28]
Generated Node #0,2,3: 62:[50, 28] Operation: 59-31=28
Moving to Node #0,2,0
Current State: 62:[31, 9], Operations: ['18+41=59', '59-50=9']
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,62 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[50, 28], Operations: ['18+41=59', '59-31=28']
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,62 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[59, 19], Operations: ['18+41=59', '50-31=19']
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[59, 81], Operations: ['18+41=59', '50+31=81']
Exploring Operation: 59+81=140, Resulting Numbers: [140]
140,62 unequal: No Solution
Exploring Operation: 81-59=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 59*81=4779, Resulting Numbers: [4779]
4779,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:[31, 41, 68], Operations: ['18+50=68']
Exploring Operation: 31+41=72, Resulting Numbers: [68, 72]
Generated Node #0,0,0: 62:[68, 72] Operation: 31+41=72
Exploring Operation: 68-31=37, Resulting Numbers: [41, 37]
Generated Node #0,0,1: 62:[41, 37] Operation: 68-31=37
Exploring Operation: 68-41=27, Resulting Numbers: [31, 27]
Generated Node #0,0,2: 62:[31, 27] Operation: 68-41=27
Exploring Operation: 41-31=10, Resulting Numbers: [68, 10]
Generated Node #0,0,3: 62:[68, 10] Operation: 41-31=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[31, 27], Operations: ['18+50=68', '68-41=27']
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,62 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,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,3
Current State: 62:[68, 10], Operations: ['18+50=68', '41-31=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,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,0
Current State: 62:[68, 72], Operations: ['18+50=68', '31+41=72']
Exploring Operation: 68*72=4896, Resulting Numbers: [4896]
4896,62 unequal: No Solution
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 68+72=140, Resulting Numbers: [140]
140,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,1
Current State: 62:[41, 37], Operations: ['18+50=68', '68-31=37']
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,62 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,62 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: 62:[50, 31, 23], Operations: ['41-18=23']
Exploring Operation: 50+23=73, Resulting Numbers: [31, 73]
Generated Node #0,1,0: 62:[31, 73] Operation: 50+23=73
Exploring Operation: 31-23=8, Resulting Numbers: [50, 8]
Generated Node #0,1,1: 62:[50, 8] Operation: 31-23=8
Exploring Operation: 50-23=27, Resulting Numbers: [31, 27]
Generated Node #0,1,2: 62:[31, 27] Operation: 50-23=27
Exploring Operation: 50-31=19, Resulting Numbers: [23, 19]
Generated Node #0,1,3: 62:[23, 19] Operation: 50-31=19
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[31, 27], Operations: ['41-18=23', '50-23=27']
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,62 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,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,1,0
Current State: 62:[31, 73], Operations: ['41-18=23', '50+23=73']
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,62 unequal: No Solution
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,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,1,1
Current State: 62:[50, 8], Operations: ['41-18=23', '31-23=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,62 unequal: No Solution
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,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,1,3
Current State: 62:[23, 19], Operations: ['41-18=23', '50-31=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,62 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,62 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 |
[
89,
64,
27,
78
] | 76 | [
"89-64=25",
"78-27=51",
"25+51=76"
] | Current State: 76:[89, 64, 27, 78], Operations: []
Exploring Operation: 89-64=25, Resulting Numbers: [27, 78, 25]
Generated Node #2: [27, 78, 25] from Operation: 89-64=25
Current State: 76:[27, 78, 25], Operations: ['89-64=25']
Exploring Operation: 78-27=51, Resulting Numbers: [25, 51]
Generated Node #3: [25, 51] from Operation: 78-27=51
Current State: 76:[25, 51], Operations: ['89-64=25', '78-27=51']
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[89, 64, 27, 78], Operations: []
Exploring Operation: 64-27=37, Resulting Numbers: [89, 78, 37]
Generated Node #0,0: 76:[89, 78, 37] Operation: 64-27=37
Exploring Operation: 89-64=25, Resulting Numbers: [27, 78, 25]
Generated Node #0,1: 76:[27, 78, 25] Operation: 89-64=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[89, 78, 37], Operations: ['64-27=37']
Exploring Operation: 89-37=52, Resulting Numbers: [78, 52]
Generated Node #0,0,0: 76:[78, 52] Operation: 89-37=52
Exploring Operation: 89-78=11, Resulting Numbers: [37, 11]
Generated Node #0,0,1: 76:[37, 11] Operation: 89-78=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[37, 11], Operations: ['64-27=37', '89-78=11']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[78, 52], Operations: ['64-27=37', '89-37=52']
Exploring Operation: 78+52=130, Resulting Numbers: [130]
130,76 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[27, 78, 25], Operations: ['89-64=25']
Exploring Operation: 27+25=52, Resulting Numbers: [78, 52]
Generated Node #0,1,0: 76:[78, 52] Operation: 27+25=52
Exploring Operation: 27-25=2, Resulting Numbers: [78, 2]
Generated Node #0,1,1: 76:[78, 2] Operation: 27-25=2
Moving to Node #0,1,1
Current State: 76:[78, 2], Operations: ['89-64=25', '27-25=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[89, 64, 27, 78], Operations: []
Exploring Operation: 89-64=25, Resulting Numbers: [27, 78, 25]
Generated Node #0,1: 76:[27, 78, 25] Operation: 89-64=25
Moving to Node #0,1
Current State: 76:[27, 78, 25], Operations: ['89-64=25']
Exploring Operation: 27-25=2, Resulting Numbers: [78, 2]
Generated Node #0,1,1: 76:[78, 2] Operation: 27-25=2
Moving to Node #0,1,1
Current State: 76:[78, 2], Operations: ['89-64=25', '27-25=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
41,
99,
29,
34
] | 17 | [
"99-41=58",
"29*34=986",
"986/58=17"
] | Current State: 17:[41, 99, 29, 34], Operations: []
Exploring Operation: 99-41=58, Resulting Numbers: [29, 34, 58]
Generated Node #2: [29, 34, 58] from Operation: 99-41=58
Current State: 17:[29, 34, 58], Operations: ['99-41=58']
Exploring Operation: 29*34=986, Resulting Numbers: [58, 986]
Generated Node #3: [58, 986] from Operation: 29*34=986
Current State: 17:[58, 986], Operations: ['99-41=58', '29*34=986']
Exploring Operation: 986/58=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[41, 99, 29, 34], Operations: []
Exploring Operation: 99-34=65, Resulting Numbers: [41, 29, 65]
Generated Node #0,0: 17:[41, 29, 65] Operation: 99-34=65
Exploring Operation: 99-41=58, Resulting Numbers: [29, 34, 58]
Generated Node #0,1: 17:[29, 34, 58] Operation: 99-41=58
Moving to Node #0,1
Current State: 17:[29, 34, 58], Operations: ['99-41=58']
Exploring Operation: 58-34=24, Resulting Numbers: [29, 24]
Generated Node #0,1,0: 17:[29, 24] Operation: 58-34=24
Exploring Operation: 58-29=29, Resulting Numbers: [34, 29]
Generated Node #0,1,1: 17:[34, 29] Operation: 58-29=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[29, 24], Operations: ['99-41=58', '58-34=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[34, 29], Operations: ['99-41=58', '58-29=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 17:[41, 29, 65], Operations: ['99-34=65']
Exploring Operation: 65-41=24, Resulting Numbers: [29, 24]
Generated Node #0,0,0: 17:[29, 24] Operation: 65-41=24
Exploring Operation: 65-29=36, Resulting Numbers: [41, 36]
Generated Node #0,0,1: 17:[41, 36] Operation: 65-29=36
Moving to Node #0,0,0
Current State: 17:[29, 24], Operations: ['99-34=65', '65-41=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[41, 36], Operations: ['99-34=65', '65-29=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,17 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,17 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
46,
40,
49
] | 52 | [
"46-40=6",
"6/2=3",
"49+3=52"
] | Current State: 52:[2, 46, 40, 49], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [2, 49, 6]
Generated Node #2: [2, 49, 6] from Operation: 46-40=6
Current State: 52:[2, 49, 6], Operations: ['46-40=6']
Exploring Operation: 6/2=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 6/2=3
Current State: 52:[49, 3], Operations: ['46-40=6', '6/2=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 46, 40, 49], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [40, 49, 23]
Generated Node #0,0: 52:[40, 49, 23] Operation: 46/2=23
Exploring Operation: 49-46=3, Resulting Numbers: [2, 40, 3]
Generated Node #0,1: 52:[2, 40, 3] Operation: 49-46=3
Exploring Operation: 49-40=9, Resulting Numbers: [2, 46, 9]
Generated Node #0,2: 52:[2, 46, 9] Operation: 49-40=9
Exploring Operation: 46-40=6, Resulting Numbers: [2, 49, 6]
Generated Node #0,3: 52:[2, 49, 6] Operation: 46-40=6
Exploring Operation: 40/2=20, Resulting Numbers: [46, 49, 20]
Generated Node #0,4: 52:[46, 49, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[2, 49, 6], Operations: ['46-40=6']
Exploring Operation: 6-2=4, Resulting Numbers: [49, 4]
Generated Node #0,3,0: 52:[49, 4] Operation: 6-2=4
Exploring Operation: 49+6=55, Resulting Numbers: [2, 55]
Generated Node #0,3,1: 52:[2, 55] Operation: 49+6=55
Exploring Operation: 6/2=3, Resulting Numbers: [49, 3]
Generated Node #0,3,2: 52:[49, 3] Operation: 6/2=3
Exploring Operation: 2+49=51, Resulting Numbers: [6, 51]
Generated Node #0,3,3: 52:[6, 51] Operation: 2+49=51
Exploring Operation: 2*6=12, Resulting Numbers: [49, 12]
Generated Node #0,3,4: 52:[49, 12] Operation: 2*6=12
Moving to Node #0,3,0
Current State: 52:[49, 4], Operations: ['46-40=6', '6-2=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,52 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[6, 51], Operations: ['46-40=6', '2+49=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[2, 55], Operations: ['46-40=6', '49+6=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[49, 3], Operations: ['46-40=6', '6/2=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,52 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[2, 46, 40, 49], Operations: []
Exploring Operation: 46-40=6, Resulting Numbers: [2, 49, 6]
Generated Node #0,3: 52:[2, 49, 6] Operation: 46-40=6
Moving to Node #0,3
Current State: 52:[2, 49, 6], Operations: ['46-40=6']
Exploring Operation: 6/2=3, Resulting Numbers: [49, 3]
Generated Node #0,3,2: 52:[49, 3] Operation: 6/2=3
Moving to Node #0,3,2
Current State: 52:[49, 3], Operations: ['46-40=6', '6/2=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
20,
54,
38,
34
] | 30 | [
"54-20=34",
"38-34=4",
"34-4=30"
] | Current State: 30:[20, 54, 38, 34], Operations: []
Exploring Operation: 54-20=34, Resulting Numbers: [38, 34, 34]
Generated Node #2: [38, 34, 34] from Operation: 54-20=34
Current State: 30:[38, 34, 34], Operations: ['54-20=34']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,30 equal: Goal Reached
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[20, 54, 38, 34], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [20, 34, 16]
Generated Node #0,0: 30:[20, 34, 16] Operation: 54-38=16
Exploring Operation: 54-20=34, Resulting Numbers: [38, 34, 34]
Generated Node #0,1: 30:[38, 34, 34] Operation: 54-20=34
Moving to Node #0,0
Current State: 30:[20, 34, 16], Operations: ['54-38=16']
Exploring Operation: 20-16=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 30:[34, 4] Operation: 20-16=4
Exploring Operation: 34-20=14, Resulting Numbers: [16, 14]
Generated Node #0,0,1: 30:[16, 14] Operation: 34-20=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[16, 14], Operations: ['54-38=16', '34-20=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[20, 54, 38, 34], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [20, 34, 16]
Generated Node #0,0: 30:[20, 34, 16] Operation: 54-38=16
Moving to Node #0,0
Current State: 30:[20, 34, 16], Operations: ['54-38=16']
Exploring Operation: 34-20=14, Resulting Numbers: [16, 14]
Generated Node #0,0,1: 30:[16, 14] Operation: 34-20=14
Moving to Node #0,0,1
Current State: 30:[16, 14], Operations: ['54-38=16', '34-20=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
37,
62,
20,
67
] | 93 | [
"67-37=30",
"62*30=1860",
"1860/20=93"
] | Current State: 93:[37, 62, 20, 67], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [62, 20, 30]
Generated Node #2: [62, 20, 30] from Operation: 67-37=30
Current State: 93:[62, 20, 30], Operations: ['67-37=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [20, 1860]
Generated Node #3: [20, 1860] from Operation: 62*30=1860
Current State: 93:[20, 1860], Operations: ['67-37=30', '62*30=1860']
Exploring Operation: 1860/20=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[37, 62, 20, 67], Operations: []
Exploring Operation: 67-62=5, Resulting Numbers: [37, 20, 5]
Generated Node #0,0: 93:[37, 20, 5] Operation: 67-62=5
Exploring Operation: 37+62=99, Resulting Numbers: [20, 67, 99]
Generated Node #0,1: 93:[20, 67, 99] Operation: 37+62=99
Moving to Node #0,0
Current State: 93:[37, 20, 5], Operations: ['67-62=5']
Exploring Operation: 37-5=32, Resulting Numbers: [20, 32]
Generated Node #0,0,0: 93:[20, 32] Operation: 37-5=32
Exploring Operation: 20/5=4, Resulting Numbers: [37, 4]
Generated Node #0,0,1: 93:[37, 4] Operation: 20/5=4
Moving to Node #0,1
Current State: 93:[20, 67, 99], Operations: ['37+62=99']
Exploring Operation: 99-67=32, Resulting Numbers: [20, 32]
Generated Node #0,1,0: 93:[20, 32] Operation: 99-67=32
Exploring Operation: 20+67=87, Resulting Numbers: [99, 87]
Generated Node #0,1,1: 93:[99, 87] Operation: 20+67=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[20, 32], Operations: ['37+62=99', '99-67=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,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:[99, 87], Operations: ['37+62=99', '20+67=87']
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 99+87=186, Resulting Numbers: [186]
186,93 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: 93:[37, 4], Operations: ['67-62=5', '20/5=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[20, 32], Operations: ['67-62=5', '37-5=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,93 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
30,
22,
96
] | 29 | [
"15+30=45",
"96-22=74",
"74-45=29"
] | Current State: 29:[15, 30, 22, 96], Operations: []
Exploring Operation: 15+30=45, Resulting Numbers: [22, 96, 45]
Generated Node #2: [22, 96, 45] from Operation: 15+30=45
Current State: 29:[22, 96, 45], Operations: ['15+30=45']
Exploring Operation: 96-22=74, Resulting Numbers: [45, 74]
Generated Node #3: [45, 74] from Operation: 96-22=74
Current State: 29:[45, 74], Operations: ['15+30=45', '96-22=74']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[15, 30, 22, 96], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [15, 22, 66]
Generated Node #0,0: 29:[15, 22, 66] Operation: 96-30=66
Exploring Operation: 96-15=81, Resulting Numbers: [30, 22, 81]
Generated Node #0,1: 29:[30, 22, 81] Operation: 96-15=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[15, 22, 66], Operations: ['96-30=66']
Exploring Operation: 66-22=44, Resulting Numbers: [15, 44]
Generated Node #0,0,0: 29:[15, 44] Operation: 66-22=44
Exploring Operation: 66-15=51, Resulting Numbers: [22, 51]
Generated Node #0,0,1: 29:[22, 51] Operation: 66-15=51
Moving to Node #0,0,0
Current State: 29:[15, 44], Operations: ['96-30=66', '66-22=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[15, 30, 22, 96], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [15, 22, 66]
Generated Node #0,0: 29:[15, 22, 66] Operation: 96-30=66
Moving to Node #0,0
Current State: 29:[15, 22, 66], Operations: ['96-30=66']
Exploring Operation: 66-22=44, Resulting Numbers: [15, 44]
Generated Node #0,0,0: 29:[15, 44] Operation: 66-22=44
Moving to Node #0,0,0
Current State: 29:[15, 44], Operations: ['96-30=66', '66-22=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
96,
54,
46,
75
] | 92 | [
"96+54=150",
"46*150=6900",
"6900/75=92"
] | Current State: 92:[96, 54, 46, 75], Operations: []
Exploring Operation: 96+54=150, Resulting Numbers: [46, 75, 150]
Generated Node #2: [46, 75, 150] from Operation: 96+54=150
Current State: 92:[46, 75, 150], Operations: ['96+54=150']
Exploring Operation: 46*150=6900, Resulting Numbers: [75, 6900]
Generated Node #3: [75, 6900] from Operation: 46*150=6900
Current State: 92:[75, 6900], Operations: ['96+54=150', '46*150=6900']
Exploring Operation: 6900/75=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[96, 54, 46, 75], Operations: []
Exploring Operation: 96-54=42, Resulting Numbers: [46, 75, 42]
Generated Node #0,0: 92:[46, 75, 42] Operation: 96-54=42
Exploring Operation: 96-75=21, Resulting Numbers: [54, 46, 21]
Generated Node #0,1: 92:[54, 46, 21] Operation: 96-75=21
Exploring Operation: 75-46=29, Resulting Numbers: [96, 54, 29]
Generated Node #0,2: 92:[96, 54, 29] Operation: 75-46=29
Exploring Operation: 75-54=21, Resulting Numbers: [96, 46, 21]
Generated Node #0,3: 92:[96, 46, 21] Operation: 75-54=21
Moving to Node #0,3
Current State: 92:[96, 46, 21], Operations: ['75-54=21']
Exploring Operation: 96-46=50, Resulting Numbers: [21, 50]
Generated Node #0,3,0: 92:[21, 50] Operation: 96-46=50
Exploring Operation: 46-21=25, Resulting Numbers: [96, 25]
Generated Node #0,3,1: 92:[96, 25] Operation: 46-21=25
Exploring Operation: 96+21=117, Resulting Numbers: [46, 117]
Generated Node #0,3,2: 92:[46, 117] Operation: 96+21=117
Exploring Operation: 96-21=75, Resulting Numbers: [46, 75]
Generated Node #0,3,3: 92:[46, 75] Operation: 96-21=75
Moving to Node #0,1
Current State: 92:[54, 46, 21], Operations: ['96-75=21']
Exploring Operation: 54+46=100, Resulting Numbers: [21, 100]
Generated Node #0,1,0: 92:[21, 100] Operation: 54+46=100
Exploring Operation: 54-21=33, Resulting Numbers: [46, 33]
Generated Node #0,1,1: 92:[46, 33] Operation: 54-21=33
Exploring Operation: 46-21=25, Resulting Numbers: [54, 25]
Generated Node #0,1,2: 92:[54, 25] Operation: 46-21=25
Exploring Operation: 54-46=8, Resulting Numbers: [21, 8]
Generated Node #0,1,3: 92:[21, 8] Operation: 54-46=8
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 92:[21, 8], Operations: ['96-75=21', '54-46=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[21, 100], Operations: ['96-75=21', '54+46=100']
Exploring Operation: 21*100=2100, Resulting Numbers: [2100]
2100,92 unequal: No Solution
Exploring Operation: 21+100=121, Resulting Numbers: [121]
121,92 unequal: No Solution
Exploring Operation: 100-21=79, Resulting Numbers: [79]
79,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[46, 33], Operations: ['96-75=21', '54-21=33']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,92 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[54, 25], Operations: ['96-75=21', '46-21=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,92 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: 92:[96, 54, 29], Operations: ['75-46=29']
Exploring Operation: 54+29=83, Resulting Numbers: [96, 83]
Generated Node #0,2,0: 92:[96, 83] Operation: 54+29=83
Exploring Operation: 96-54=42, Resulting Numbers: [29, 42]
Generated Node #0,2,1: 92:[29, 42] Operation: 96-54=42
Exploring Operation: 96-29=67, Resulting Numbers: [54, 67]
Generated Node #0,2,2: 92:[54, 67] Operation: 96-29=67
Exploring Operation: 54-29=25, Resulting Numbers: [96, 25]
Generated Node #0,2,3: 92:[96, 25] Operation: 54-29=25
Moving to Node #0,0
Current State: 92:[46, 75, 42], Operations: ['96-54=42']
Exploring Operation: 75-46=29, Resulting Numbers: [42, 29]
Generated Node #0,0,0: 92:[42, 29] Operation: 75-46=29
Exploring Operation: 75-42=33, Resulting Numbers: [46, 33]
Generated Node #0,0,1: 92:[46, 33] Operation: 75-42=33
Exploring Operation: 46+42=88, Resulting Numbers: [75, 88]
Generated Node #0,0,2: 92:[75, 88] Operation: 46+42=88
Exploring Operation: 46-42=4, Resulting Numbers: [75, 4]
Generated Node #0,0,3: 92:[75, 4] Operation: 46-42=4
Moving to Node #0,3,0
Current State: 92:[21, 50], Operations: ['75-54=21', '96-46=50']
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,92 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[96, 25], Operations: ['75-54=21', '46-21=25']
Exploring Operation: 96*25=2400, Resulting Numbers: [2400]
2400,92 unequal: No Solution
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[96, 25], Operations: ['75-46=29', '54-29=25']
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,92 unequal: No Solution
Exploring Operation: 96*25=2400, Resulting Numbers: [2400]
2400,92 unequal: No Solution
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[29, 42], Operations: ['75-46=29', '96-54=42']
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,92 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[46, 33], Operations: ['96-54=42', '75-42=33']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,92 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[42, 29], Operations: ['96-54=42', '75-46=29']
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,92 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[96, 83], Operations: ['75-46=29', '54+29=83']
Exploring Operation: 96+83=179, Resulting Numbers: [179]
179,92 unequal: No Solution
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 96*83=7968, Resulting Numbers: [7968]
7968,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[46, 75], Operations: ['75-54=21', '96-21=75']
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,92 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[75, 4], Operations: ['96-54=42', '46-42=4']
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,92 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,92 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[75, 88], Operations: ['96-54=42', '46+42=88']
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 75*88=6600, Resulting Numbers: [6600]
6600,92 unequal: No Solution
Exploring Operation: 75+88=163, Resulting Numbers: [163]
163,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[46, 117], Operations: ['75-54=21', '96+21=117']
Exploring Operation: 46*117=5382, Resulting Numbers: [5382]
5382,92 unequal: No Solution
Exploring Operation: 46+117=163, Resulting Numbers: [163]
163,92 unequal: No Solution
Exploring Operation: 117-46=71, Resulting Numbers: [71]
71,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[54, 67], Operations: ['75-46=29', '96-29=67']
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 54*67=3618, Resulting Numbers: [3618]
3618,92 unequal: No Solution
Exploring Operation: 54+67=121, Resulting Numbers: [121]
121,92 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
52,
49,
21
] | 93 | [
"18*52=936",
"49*21=1029",
"1029-936=93"
] | Current State: 93:[18, 52, 49, 21], Operations: []
Exploring Operation: 18*52=936, Resulting Numbers: [49, 21, 936]
Generated Node #2: [49, 21, 936] from Operation: 18*52=936
Current State: 93:[49, 21, 936], Operations: ['18*52=936']
Exploring Operation: 49*21=1029, Resulting Numbers: [936, 1029]
Generated Node #3: [936, 1029] from Operation: 49*21=1029
Current State: 93:[936, 1029], Operations: ['18*52=936', '49*21=1029']
Exploring Operation: 1029-936=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[18, 52, 49, 21], Operations: []
Exploring Operation: 49-18=31, Resulting Numbers: [52, 21, 31]
Generated Node #0,0: 93:[52, 21, 31] Operation: 49-18=31
Exploring Operation: 52-49=3, Resulting Numbers: [18, 21, 3]
Generated Node #0,1: 93:[18, 21, 3] Operation: 52-49=3
Exploring Operation: 52-21=31, Resulting Numbers: [18, 49, 31]
Generated Node #0,2: 93:[18, 49, 31] Operation: 52-21=31
Exploring Operation: 52-18=34, Resulting Numbers: [49, 21, 34]
Generated Node #0,3: 93:[49, 21, 34] Operation: 52-18=34
Exploring Operation: 52+49=101, Resulting Numbers: [18, 21, 101]
Generated Node #0,4: 93:[18, 21, 101] Operation: 52+49=101
Moving to Node #0,1
Current State: 93:[18, 21, 3], Operations: ['52-49=3']
Exploring Operation: 21-18=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 93:[3, 3] Operation: 21-18=3
Exploring Operation: 18/3=6, Resulting Numbers: [21, 6]
Generated Node #0,1,1: 93:[21, 6] Operation: 18/3=6
Exploring Operation: 21/3=7, Resulting Numbers: [18, 7]
Generated Node #0,1,2: 93:[18, 7] Operation: 21/3=7
Exploring Operation: 18+3=21, Resulting Numbers: [21, 21]
Generated Node #0,1,3: 93:[21, 21] Operation: 18+3=21
Exploring Operation: 18+21=39, Resulting Numbers: [3, 39]
Generated Node #0,1,4: 93:[3, 39] Operation: 18+21=39
Moving to Node #0,2
Current State: 93:[18, 49, 31], Operations: ['52-21=31']
Exploring Operation: 49+31=80, Resulting Numbers: [18, 80]
Generated Node #0,2,0: 93:[18, 80] Operation: 49+31=80
Exploring Operation: 18+49=67, Resulting Numbers: [31, 67]
Generated Node #0,2,1: 93:[31, 67] Operation: 18+49=67
Exploring Operation: 49-18=31, Resulting Numbers: [31, 31]
Generated Node #0,2,2: 93:[31, 31] Operation: 49-18=31
Exploring Operation: 49-31=18, Resulting Numbers: [18, 18]
Generated Node #0,2,3: 93:[18, 18] Operation: 49-31=18
Exploring Operation: 31-18=13, Resulting Numbers: [49, 13]
Generated Node #0,2,4: 93:[49, 13] Operation: 31-18=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[31, 31], Operations: ['52-21=31', '49-18=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,93 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[18, 80], Operations: ['52-21=31', '49+31=80']
Exploring Operation: 18*80=1440, Resulting Numbers: [1440]
1440,93 unequal: No Solution
Exploring Operation: 18+80=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,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,2,1
Current State: 93:[31, 67], Operations: ['52-21=31', '18+49=67']
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,93 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,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,2,3
Current State: 93:[18, 18], Operations: ['52-21=31', '49-31=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,93 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[49, 13], Operations: ['52-21=31', '31-18=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,93 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,93 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: 93:[18, 21, 101], Operations: ['52+49=101']
Exploring Operation: 21-18=3, Resulting Numbers: [101, 3]
Generated Node #0,4,0: 93:[101, 3] Operation: 21-18=3
Exploring Operation: 18+101=119, Resulting Numbers: [21, 119]
Generated Node #0,4,1: 93:[21, 119] Operation: 18+101=119
Exploring Operation: 18+21=39, Resulting Numbers: [101, 39]
Generated Node #0,4,2: 93:[101, 39] Operation: 18+21=39
Exploring Operation: 101-21=80, Resulting Numbers: [18, 80]
Generated Node #0,4,3: 93:[18, 80] Operation: 101-21=80
Exploring Operation: 101-18=83, Resulting Numbers: [21, 83]
Generated Node #0,4,4: 93:[21, 83] Operation: 101-18=83
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[101, 3], Operations: ['52+49=101', '21-18=3']
Exploring Operation: 101+3=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 101*3=303, Resulting Numbers: [303]
303,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,4,2
Current State: 93:[101, 39], Operations: ['52+49=101', '18+21=39']
Exploring Operation: 101*39=3939, Resulting Numbers: [3939]
3939,93 unequal: No Solution
Exploring Operation: 101-39=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 101+39=140, Resulting Numbers: [140]
140,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,4,4
Current State: 93:[21, 83], Operations: ['52+49=101', '101-18=83']
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,93 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,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,4,3
Current State: 93:[18, 80], Operations: ['52+49=101', '101-21=80']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 18*80=1440, Resulting Numbers: [1440]
1440,93 unequal: No Solution
Exploring Operation: 18+80=98, Resulting Numbers: [98]
98,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,4,1
Current State: 93:[21, 119], Operations: ['52+49=101', '18+101=119']
Exploring Operation: 21+119=140, Resulting Numbers: [140]
140,93 unequal: No Solution
Exploring Operation: 119-21=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Exploring Operation: 21*119=2499, Resulting Numbers: [2499]
2499,93 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: 93:[52, 21, 31], Operations: ['49-18=31']
Exploring Operation: 52-21=31, Resulting Numbers: [31, 31]
Generated Node #0,0,0: 93:[31, 31] Operation: 52-21=31
Exploring Operation: 31-21=10, Resulting Numbers: [52, 10]
Generated Node #0,0,1: 93:[52, 10] Operation: 31-21=10
Exploring Operation: 52-31=21, Resulting Numbers: [21, 21]
Generated Node #0,0,2: 93:[21, 21] Operation: 52-31=21
Exploring Operation: 52+21=73, Resulting Numbers: [31, 73]
Generated Node #0,0,3: 93:[31, 73] Operation: 52+21=73
Exploring Operation: 52+31=83, Resulting Numbers: [21, 83]
Generated Node #0,0,4: 93:[21, 83] Operation: 52+31=83
Moving to Node #0,3
Current State: 93:[49, 21, 34], Operations: ['52-18=34']
Exploring Operation: 49+21=70, Resulting Numbers: [34, 70]
Generated Node #0,3,0: 93:[34, 70] Operation: 49+21=70
Exploring Operation: 49+34=83, Resulting Numbers: [21, 83]
Generated Node #0,3,1: 93:[21, 83] Operation: 49+34=83
Exploring Operation: 49-21=28, Resulting Numbers: [34, 28]
Generated Node #0,3,2: 93:[34, 28] Operation: 49-21=28
Exploring Operation: 49-34=15, Resulting Numbers: [21, 15]
Generated Node #0,3,3: 93:[21, 15] Operation: 49-34=15
Exploring Operation: 34-21=13, Resulting Numbers: [49, 13]
Generated Node #0,3,4: 93:[49, 13] Operation: 34-21=13
Moving to Node #0,1,0
Current State: 93:[3, 3], Operations: ['52-49=3', '21-18=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[31, 31], Operations: ['49-18=31', '52-21=31']
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[34, 28], Operations: ['52-18=34', '49-21=28']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[3, 39], Operations: ['52-49=3', '18+21=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,93 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[21, 6], Operations: ['52-49=3', '18/3=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,93 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[18, 7], Operations: ['52-49=3', '21/3=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,93 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[21, 21], Operations: ['49-18=31', '52-31=21']
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,93 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[21, 83], Operations: ['52-18=34', '49+34=83']
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,93 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[21, 21], Operations: ['52-49=3', '18+3=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,93 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[21, 83], Operations: ['49-18=31', '52+31=83']
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,93 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[31, 73], Operations: ['49-18=31', '52+21=73']
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,93 unequal: No Solution
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[21, 15], Operations: ['52-18=34', '49-34=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[34, 70], Operations: ['52-18=34', '49+21=70']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,93 unequal: No Solution
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Moving to Node #0,3,4
Current State: 93:[49, 13], Operations: ['52-18=34', '34-21=13']
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,93 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[52, 10], Operations: ['49-18=31', '31-21=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,93 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
64,
61,
36,
62
] | 79 | [
"64-62=2",
"36/2=18",
"61+18=79"
] | Current State: 79:[64, 61, 36, 62], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [61, 36, 2]
Generated Node #2: [61, 36, 2] from Operation: 64-62=2
Current State: 79:[61, 36, 2], Operations: ['64-62=2']
Exploring Operation: 36/2=18, Resulting Numbers: [61, 18]
Generated Node #3: [61, 18] from Operation: 36/2=18
Current State: 79:[61, 18], Operations: ['64-62=2', '36/2=18']
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[64, 61, 36, 62], Operations: []
Exploring Operation: 61+36=97, Resulting Numbers: [64, 62, 97]
Generated Node #0,0: 79:[64, 62, 97] Operation: 61+36=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[64, 62, 97], Operations: ['61+36=97']
Exploring Operation: 97-62=35, Resulting Numbers: [64, 35]
Generated Node #0,0,0: 79:[64, 35] Operation: 97-62=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[64, 35], Operations: ['61+36=97', '97-62=35']
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
75,
5,
81,
96
] | 80 | [
"81-75=6",
"5*96=480",
"480/6=80"
] | Current State: 80:[75, 5, 81, 96], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [5, 96, 6]
Generated Node #2: [5, 96, 6] from Operation: 81-75=6
Current State: 80:[5, 96, 6], Operations: ['81-75=6']
Exploring Operation: 5*96=480, Resulting Numbers: [6, 480]
Generated Node #3: [6, 480] from Operation: 5*96=480
Current State: 80:[6, 480], Operations: ['81-75=6', '5*96=480']
Exploring Operation: 480/6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[75, 5, 81, 96], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [75, 5, 15]
Generated Node #0,0: 80:[75, 5, 15] Operation: 96-81=15
Exploring Operation: 96-75=21, Resulting Numbers: [5, 81, 21]
Generated Node #0,1: 80:[5, 81, 21] Operation: 96-75=21
Moving to Node #0,1
Current State: 80:[5, 81, 21], Operations: ['96-75=21']
Exploring Operation: 81-5=76, Resulting Numbers: [21, 76]
Generated Node #0,1,0: 80:[21, 76] Operation: 81-5=76
Exploring Operation: 21-5=16, Resulting Numbers: [81, 16]
Generated Node #0,1,1: 80:[81, 16] Operation: 21-5=16
Moving to Node #0,0
Current State: 80:[75, 5, 15], Operations: ['96-81=15']
Exploring Operation: 75+5=80, Resulting Numbers: [15, 80]
Generated Node #0,0,0: 80:[15, 80] Operation: 75+5=80
Exploring Operation: 75/15=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 80:[5, 5] Operation: 75/15=5
Moving to Node #0,0,1
Current State: 80:[5, 5], Operations: ['96-81=15', '75/15=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[81, 16], Operations: ['96-75=21', '21-5=16']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[15, 80], Operations: ['96-81=15', '75+5=80']
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[21, 76], Operations: ['96-75=21', '81-5=76']
Exploring Operation: 21+76=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,80 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
67,
98,
42
] | 47 | [
"36+67=103",
"98-42=56",
"103-56=47"
] | Current State: 47:[36, 67, 98, 42], Operations: []
Exploring Operation: 36+67=103, Resulting Numbers: [98, 42, 103]
Generated Node #2: [98, 42, 103] from Operation: 36+67=103
Current State: 47:[98, 42, 103], Operations: ['36+67=103']
Exploring Operation: 98-42=56, Resulting Numbers: [103, 56]
Generated Node #3: [103, 56] from Operation: 98-42=56
Current State: 47:[103, 56], Operations: ['36+67=103', '98-42=56']
Exploring Operation: 103-56=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[36, 67, 98, 42], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [36, 67, 56]
Generated Node #0,0: 47:[36, 67, 56] Operation: 98-42=56
Exploring Operation: 98-67=31, Resulting Numbers: [36, 42, 31]
Generated Node #0,1: 47:[36, 42, 31] Operation: 98-67=31
Exploring Operation: 98-36=62, Resulting Numbers: [67, 42, 62]
Generated Node #0,2: 47:[67, 42, 62] Operation: 98-36=62
Moving to Node #0,1
Current State: 47:[36, 42, 31], Operations: ['98-67=31']
Exploring Operation: 36+31=67, Resulting Numbers: [42, 67]
Generated Node #0,1,0: 47:[42, 67] Operation: 36+31=67
Exploring Operation: 42+31=73, Resulting Numbers: [36, 73]
Generated Node #0,1,1: 47:[36, 73] Operation: 42+31=73
Exploring Operation: 36+42=78, Resulting Numbers: [31, 78]
Generated Node #0,1,2: 47:[31, 78] Operation: 36+42=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[42, 67], Operations: ['98-67=31', '36+31=67']
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,47 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[36, 73], Operations: ['98-67=31', '42+31=73']
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,47 unequal: No Solution
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[31, 78], Operations: ['98-67=31', '36+42=78']
Exploring Operation: 31+78=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 31*78=2418, Resulting Numbers: [2418]
2418,47 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[36, 67, 98, 42], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [36, 42, 31]
Generated Node #0,1: 47:[36, 42, 31] Operation: 98-67=31
Moving to Node #0,1
Current State: 47:[36, 42, 31], Operations: ['98-67=31']
Exploring Operation: 36+42=78, Resulting Numbers: [31, 78]
Generated Node #0,1,2: 47:[31, 78] Operation: 36+42=78
Moving to Node #0,1,2
Current State: 47:[31, 78], Operations: ['98-67=31', '36+42=78']
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
9,
48,
9,
20
] | 86 | [
"9+48=57",
"9+20=29",
"57+29=86"
] | Current State: 86:[9, 48, 9, 20], Operations: []
Exploring Operation: 9+48=57, Resulting Numbers: [20, 57]
Generated Node #2: [20, 57] from Operation: 9+48=57
Current State: 86:[20, 57], Operations: ['9+48=57']
Exploring Operation: 9+20=29, Resulting Numbers: [57, 29]
Generated Node #3: [57, 29] from Operation: 9+20=29
Current State: 86:[57, 29], Operations: ['9+48=57', '9+20=29']
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[9, 48, 9, 20], Operations: []
Exploring Operation: 20-9=11, Resulting Numbers: [48, 9, 11]
Generated Node #0,0: 86:[48, 9, 11] Operation: 20-9=11
Moving to Node #0,0
Current State: 86:[48, 9, 11], Operations: ['20-9=11']
Exploring Operation: 11-9=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 86:[48, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 86:[48, 2], Operations: ['20-9=11', '11-9=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,86 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
66,
6,
21
] | 92 | [
"30/6=5",
"66+21=87",
"5+87=92"
] | Current State: 92:[30, 66, 6, 21], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [66, 21, 5]
Generated Node #2: [66, 21, 5] from Operation: 30/6=5
Current State: 92:[66, 21, 5], Operations: ['30/6=5']
Exploring Operation: 66+21=87, Resulting Numbers: [5, 87]
Generated Node #3: [5, 87] from Operation: 66+21=87
Current State: 92:[5, 87], Operations: ['30/6=5', '66+21=87']
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[30, 66, 6, 21], Operations: []
Exploring Operation: 30+66=96, Resulting Numbers: [6, 21, 96]
Generated Node #0,0: 92:[6, 21, 96] Operation: 30+66=96
Exploring Operation: 66-21=45, Resulting Numbers: [30, 6, 45]
Generated Node #0,1: 92:[30, 6, 45] Operation: 66-21=45
Exploring Operation: 66-30=36, Resulting Numbers: [6, 21, 36]
Generated Node #0,2: 92:[6, 21, 36] Operation: 66-30=36
Moving to Node #0,0
Current State: 92:[6, 21, 96], Operations: ['30+66=96']
Exploring Operation: 96/6=16, Resulting Numbers: [21, 16]
Generated Node #0,0,0: 92:[21, 16] Operation: 96/6=16
Exploring Operation: 96-6=90, Resulting Numbers: [21, 90]
Generated Node #0,0,1: 92:[21, 90] Operation: 96-6=90
Exploring Operation: 6+21=27, Resulting Numbers: [96, 27]
Generated Node #0,0,2: 92:[96, 27] Operation: 6+21=27
Moving to Node #0,1
Current State: 92:[30, 6, 45], Operations: ['66-21=45']
Exploring Operation: 30/6=5, Resulting Numbers: [45, 5]
Generated Node #0,1,0: 92:[45, 5] Operation: 30/6=5
Exploring Operation: 45-30=15, Resulting Numbers: [6, 15]
Generated Node #0,1,1: 92:[6, 15] Operation: 45-30=15
Exploring Operation: 30-6=24, Resulting Numbers: [45, 24]
Generated Node #0,1,2: 92:[45, 24] Operation: 30-6=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[45, 5], Operations: ['66-21=45', '30/6=5']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 92:[45, 24], Operations: ['66-21=45', '30-6=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[6, 15], Operations: ['66-21=45', '45-30=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,92 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: 92:[6, 21, 36], Operations: ['66-30=36']
Exploring Operation: 36-6=30, Resulting Numbers: [21, 30]
Generated Node #0,2,0: 92:[21, 30] Operation: 36-6=30
Exploring Operation: 6+36=42, Resulting Numbers: [21, 42]
Generated Node #0,2,1: 92:[21, 42] Operation: 6+36=42
Exploring Operation: 36/6=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 92:[21, 6] Operation: 36/6=6
Moving to Node #0,0,1
Current State: 92:[21, 90], Operations: ['30+66=96', '96-6=90']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,92 unequal: No Solution
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[21, 6], Operations: ['66-30=36', '36/6=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,92 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[21, 42], Operations: ['66-30=36', '6+36=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[96, 27], Operations: ['30+66=96', '6+21=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,92 unequal: No Solution
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[21, 30], Operations: ['66-30=36', '36-6=30']
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[21, 16], Operations: ['30+66=96', '96/6=16']
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,92 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,92 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
85,
2,
10
] | 45 | [
"25+85=110",
"110/2=55",
"55-10=45"
] | Current State: 45:[25, 85, 2, 10], Operations: []
Exploring Operation: 25+85=110, Resulting Numbers: [2, 10, 110]
Generated Node #2: [2, 10, 110] from Operation: 25+85=110
Current State: 45:[2, 10, 110], Operations: ['25+85=110']
Exploring Operation: 110/2=55, Resulting Numbers: [10, 55]
Generated Node #3: [10, 55] from Operation: 110/2=55
Current State: 45:[10, 55], Operations: ['25+85=110', '110/2=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 85, 2, 10], Operations: []
Exploring Operation: 85-10=75, Resulting Numbers: [25, 2, 75]
Generated Node #0,0: 45:[25, 2, 75] Operation: 85-10=75
Exploring Operation: 85-25=60, Resulting Numbers: [2, 10, 60]
Generated Node #0,1: 45:[2, 10, 60] Operation: 85-25=60
Exploring Operation: 25-10=15, Resulting Numbers: [85, 2, 15]
Generated Node #0,2: 45:[85, 2, 15] Operation: 25-10=15
Moving to Node #0,1
Current State: 45:[2, 10, 60], Operations: ['85-25=60']
Exploring Operation: 60-10=50, Resulting Numbers: [2, 50]
Generated Node #0,1,0: 45:[2, 50] Operation: 60-10=50
Exploring Operation: 60-2=58, Resulting Numbers: [10, 58]
Generated Node #0,1,1: 45:[10, 58] Operation: 60-2=58
Exploring Operation: 60/10=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 45:[2, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[2, 6], Operations: ['85-25=60', '60/10=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[2, 50], Operations: ['85-25=60', '60-10=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[10, 58], Operations: ['85-25=60', '60-2=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,45 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 45:[25, 2, 75], Operations: ['85-10=75']
Exploring Operation: 75-25=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 45:[2, 50] Operation: 75-25=50
Exploring Operation: 75/25=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 45:[2, 3] Operation: 75/25=3
Exploring Operation: 25*2=50, Resulting Numbers: [75, 50]
Generated Node #0,0,2: 45:[75, 50] Operation: 25*2=50
Moving to Node #0,2
Current State: 45:[85, 2, 15], Operations: ['25-10=15']
Exploring Operation: 85+2=87, Resulting Numbers: [15, 87]
Generated Node #0,2,0: 45:[15, 87] Operation: 85+2=87
Exploring Operation: 85-15=70, Resulting Numbers: [2, 70]
Generated Node #0,2,1: 45:[2, 70] Operation: 85-15=70
Exploring Operation: 85-2=83, Resulting Numbers: [15, 83]
Generated Node #0,2,2: 45:[15, 83] Operation: 85-2=83
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[2, 70], Operations: ['25-10=15', '85-15=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[15, 83], Operations: ['25-10=15', '85-2=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,45 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[15, 87], Operations: ['25-10=15', '85+2=87']
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,45 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,45 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,45 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: 45:[2, 3], Operations: ['85-10=75', '75/25=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[2, 50], Operations: ['85-10=75', '75-25=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[75, 50], Operations: ['85-10=75', '25*2=50']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,45 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,45 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
4,
56,
14
] | 72 | [
"56/4=14",
"14/14=1",
"71+1=72"
] | Current State: 72:[71, 4, 56, 14], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [71, 14, 14]
Generated Node #2: [71, 14, 14] from Operation: 56/4=14
Current State: 72:[71, 14, 14], Operations: ['56/4=14']
Exploring Operation: 14/14=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 14/14=1
Current State: 72:[71, 1], Operations: ['56/4=14', '14/14=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[71, 4, 56, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [71, 4, 4]
Generated Node #0,0: 72:[71, 4, 4] Operation: 56/14=4
Exploring Operation: 56+14=70, Resulting Numbers: [71, 4, 70]
Generated Node #0,1: 72:[71, 4, 70] Operation: 56+14=70
Exploring Operation: 71-56=15, Resulting Numbers: [4, 14, 15]
Generated Node #0,2: 72:[4, 14, 15] Operation: 71-56=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[71, 4, 4], Operations: ['56/14=4']
Exploring Operation: 4/4=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 72:[71, 1] Operation: 4/4=1
Exploring Operation: 71+4=75, Resulting Numbers: [4, 75]
Generated Node #0,0,1: 72:[4, 75] Operation: 71+4=75
Exploring Operation: 4+4=8, Resulting Numbers: [71, 8]
Generated Node #0,0,2: 72:[71, 8] Operation: 4+4=8
Moving to Node #0,0,2
Current State: 72:[71, 8], Operations: ['56/14=4', '4+4=8']
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 71*8=568, Resulting Numbers: [568]
568,72 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[71, 1], Operations: ['56/14=4', '4/4=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[71, 4, 56, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [71, 4, 4]
Generated Node #0,0: 72:[71, 4, 4] Operation: 56/14=4
Moving to Node #0,0
Current State: 72:[71, 4, 4], Operations: ['56/14=4']
Exploring Operation: 4/4=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 72:[71, 1] Operation: 4/4=1
Moving to Node #0,0,0
Current State: 72:[71, 1], Operations: ['56/14=4', '4/4=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
20,
50,
17,
25
] | 20 | [
"25-17=8",
"50*8=400",
"400/20=20"
] | Current State: 20:[20, 50, 17, 25], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [20, 50, 8]
Generated Node #2: [20, 50, 8] from Operation: 25-17=8
Current State: 20:[20, 50, 8], Operations: ['25-17=8']
Exploring Operation: 50*8=400, Resulting Numbers: [20, 400]
Generated Node #3: [20, 400] from Operation: 50*8=400
Current State: 20:[20, 400], Operations: ['25-17=8', '50*8=400']
Exploring Operation: 400/20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[20, 50, 17, 25], Operations: []
Exploring Operation: 50-25=25, Resulting Numbers: [20, 17, 25]
Generated Node #0,0: 20:[20, 17, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [20, 17, 2]
Generated Node #0,1: 20:[20, 17, 2] Operation: 50/25=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[20, 17, 2], Operations: ['50/25=2']
Exploring Operation: 20-17=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 20:[2, 3] Operation: 20-17=3
Exploring Operation: 17+2=19, Resulting Numbers: [20, 19]
Generated Node #0,1,1: 20:[20, 19] Operation: 17+2=19
Moving to Node #0,1,0
Current State: 20:[2, 3], Operations: ['50/25=2', '20-17=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[20, 19], Operations: ['50/25=2', '17+2=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[20, 17, 25], Operations: ['50-25=25']
Exploring Operation: 25-20=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 20:[17, 5] Operation: 25-20=5
Exploring Operation: 25-17=8, Resulting Numbers: [20, 8]
Generated Node #0,0,1: 20:[20, 8] Operation: 25-17=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[20, 8], Operations: ['50-25=25', '25-17=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,20 unequal: No Solution
No 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: 20:[17, 5], Operations: ['50-25=25', '25-20=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,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_2 | sum_heuristic |
[
94,
69,
71,
88
] | 42 | [
"94-69=25",
"88-71=17",
"25+17=42"
] | Current State: 42:[94, 69, 71, 88], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [71, 88, 25]
Generated Node #2: [71, 88, 25] from Operation: 94-69=25
Current State: 42:[71, 88, 25], Operations: ['94-69=25']
Exploring Operation: 88-71=17, Resulting Numbers: [25, 17]
Generated Node #3: [25, 17] from Operation: 88-71=17
Current State: 42:[25, 17], Operations: ['94-69=25', '88-71=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[94, 69, 71, 88], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [69, 71, 6]
Generated Node #0,0: 42:[69, 71, 6] Operation: 94-88=6
Exploring Operation: 94-69=25, Resulting Numbers: [71, 88, 25]
Generated Node #0,1: 42:[71, 88, 25] Operation: 94-69=25
Exploring Operation: 88-71=17, Resulting Numbers: [94, 69, 17]
Generated Node #0,2: 42:[94, 69, 17] Operation: 88-71=17
Exploring Operation: 94-71=23, Resulting Numbers: [69, 88, 23]
Generated Node #0,3: 42:[69, 88, 23] Operation: 94-71=23
Moving to Node #0,0
Current State: 42:[69, 71, 6], Operations: ['94-88=6']
Exploring Operation: 71-69=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 42:[6, 2] Operation: 71-69=2
Exploring Operation: 69-6=63, Resulting Numbers: [71, 63]
Generated Node #0,0,1: 42:[71, 63] Operation: 69-6=63
Exploring Operation: 69+6=75, Resulting Numbers: [71, 75]
Generated Node #0,0,2: 42:[71, 75] Operation: 69+6=75
Exploring Operation: 71-6=65, Resulting Numbers: [69, 65]
Generated Node #0,0,3: 42:[69, 65] Operation: 71-6=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[6, 2], Operations: ['94-88=6', '71-69=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[71, 63], Operations: ['94-88=6', '69-6=63']
Exploring Operation: 71*63=4473, Resulting Numbers: [4473]
4473,42 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 71+63=134, Resulting Numbers: [134]
134,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[69, 65], Operations: ['94-88=6', '71-6=65']
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,42 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[71, 75], Operations: ['94-88=6', '69+6=75']
Exploring Operation: 71+75=146, Resulting Numbers: [146]
146,42 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 71*75=5325, Resulting Numbers: [5325]
5325,42 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: 42:[69, 88, 23], Operations: ['94-71=23']
Exploring Operation: 69/23=3, Resulting Numbers: [88, 3]
Generated Node #0,3,0: 42:[88, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [88, 46]
Generated Node #0,3,1: 42:[88, 46] Operation: 69-23=46
Exploring Operation: 88-23=65, Resulting Numbers: [69, 65]
Generated Node #0,3,2: 42:[69, 65] Operation: 88-23=65
Exploring Operation: 88-69=19, Resulting Numbers: [23, 19]
Generated Node #0,3,3: 42:[23, 19] Operation: 88-69=19
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[23, 19], Operations: ['94-71=23', '88-69=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[94, 69, 71, 88], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [69, 88, 23]
Generated Node #0,3: 42:[69, 88, 23] Operation: 94-71=23
Moving to Node #0,3
Current State: 42:[69, 88, 23], Operations: ['94-71=23']
Exploring Operation: 88-69=19, Resulting Numbers: [23, 19]
Generated Node #0,3,3: 42:[23, 19] Operation: 88-69=19
Moving to Node #0,3,3
Current State: 42:[23, 19], Operations: ['94-71=23', '88-69=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
26,
47,
52,
39
] | 65 | [
"39-26=13",
"52-47=5",
"13*5=65"
] | Current State: 65:[26, 47, 52, 39], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [47, 52, 13]
Generated Node #2: [47, 52, 13] from Operation: 39-26=13
Current State: 65:[47, 52, 13], Operations: ['39-26=13']
Exploring Operation: 52-47=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 52-47=5
Current State: 65:[13, 5], Operations: ['39-26=13', '52-47=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[26, 47, 52, 39], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [26, 52, 8]
Generated Node #0,0: 65:[26, 52, 8] Operation: 47-39=8
Moving to Node #0,0
Current State: 65:[26, 52, 8], Operations: ['47-39=8']
Exploring Operation: 52/26=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 65:[8, 2] Operation: 52/26=2
Moving to Node #0,0,0
Current State: 65:[8, 2], Operations: ['47-39=8', '52/26=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,65 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
32,
23,
36
] | 56 | [
"32-23=9",
"36/9=4",
"52+4=56"
] | Current State: 56:[52, 32, 23, 36], Operations: []
Exploring Operation: 32-23=9, Resulting Numbers: [52, 36, 9]
Generated Node #2: [52, 36, 9] from Operation: 32-23=9
Current State: 56:[52, 36, 9], Operations: ['32-23=9']
Exploring Operation: 36/9=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 36/9=4
Current State: 56:[52, 4], Operations: ['32-23=9', '36/9=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[52, 32, 23, 36], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [52, 23, 4]
Generated Node #0,0: 56:[52, 23, 4] Operation: 36-32=4
Exploring Operation: 36-23=13, Resulting Numbers: [52, 32, 13]
Generated Node #0,1: 56:[52, 32, 13] Operation: 36-23=13
Exploring Operation: 23+36=59, Resulting Numbers: [52, 32, 59]
Generated Node #0,2: 56:[52, 32, 59] Operation: 23+36=59
Exploring Operation: 52-36=16, Resulting Numbers: [32, 23, 16]
Generated Node #0,3: 56:[32, 23, 16] Operation: 52-36=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[52, 23, 4], Operations: ['36-32=4']
Exploring Operation: 23+4=27, Resulting Numbers: [52, 27]
Generated Node #0,0,0: 56:[52, 27] Operation: 23+4=27
Exploring Operation: 52+4=56, Resulting Numbers: [23, 56]
Generated Node #0,0,1: 56:[23, 56] Operation: 52+4=56
Exploring Operation: 52/4=13, Resulting Numbers: [23, 13]
Generated Node #0,0,2: 56:[23, 13] Operation: 52/4=13
Exploring Operation: 52-23=29, Resulting Numbers: [4, 29]
Generated Node #0,0,3: 56:[4, 29] Operation: 52-23=29
Moving to Node #0,0,3
Current State: 56:[4, 29], Operations: ['36-32=4', '52-23=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,56 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[23, 56], Operations: ['36-32=4', '52+4=56']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,56 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[52, 27], Operations: ['36-32=4', '23+4=27']
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,56 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[23, 13], Operations: ['36-32=4', '52/4=13']
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,56 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,56 unequal: No Solution
No 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: 56:[52, 32, 13], Operations: ['36-23=13']
Exploring Operation: 52/13=4, Resulting Numbers: [32, 4]
Generated Node #0,1,0: 56:[32, 4] Operation: 52/13=4
Exploring Operation: 32-13=19, Resulting Numbers: [52, 19]
Generated Node #0,1,1: 56:[52, 19] Operation: 32-13=19
Exploring Operation: 52+13=65, Resulting Numbers: [32, 65]
Generated Node #0,1,2: 56:[32, 65] Operation: 52+13=65
Exploring Operation: 52-32=20, Resulting Numbers: [13, 20]
Generated Node #0,1,3: 56:[13, 20] Operation: 52-32=20
Moving to Node #0,1,0
Current State: 56:[32, 4], Operations: ['36-23=13', '52/13=4']
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,56 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[13, 20], Operations: ['36-23=13', '52-32=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,56 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[52, 19], Operations: ['36-23=13', '32-13=19']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,56 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[32, 65], Operations: ['36-23=13', '52+13=65']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,56 unequal: No Solution
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,56 unequal: No Solution
No 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: 56:[52, 32, 59], Operations: ['23+36=59']
Exploring Operation: 52-32=20, Resulting Numbers: [59, 20]
Generated Node #0,2,0: 56:[59, 20] Operation: 52-32=20
Exploring Operation: 59-52=7, Resulting Numbers: [32, 7]
Generated Node #0,2,1: 56:[32, 7] Operation: 59-52=7
Exploring Operation: 52+32=84, Resulting Numbers: [59, 84]
Generated Node #0,2,2: 56:[59, 84] Operation: 52+32=84
Exploring Operation: 59-32=27, Resulting Numbers: [52, 27]
Generated Node #0,2,3: 56:[52, 27] Operation: 59-32=27
Moving to Node #0,2,1
Current State: 56:[32, 7], Operations: ['23+36=59', '59-52=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[52, 27], Operations: ['23+36=59', '59-32=27']
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[59, 20], Operations: ['23+36=59', '52-32=20']
Exploring Operation: 59*20=1180, Resulting Numbers: [1180]
1180,56 unequal: No Solution
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[59, 84], Operations: ['23+36=59', '52+32=84']
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,56 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,56 unequal: No Solution
No 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: 56:[32, 23, 16], Operations: ['52-36=16']
Exploring Operation: 32/16=2, Resulting Numbers: [23, 2]
Generated Node #0,3,0: 56:[23, 2] Operation: 32/16=2
Exploring Operation: 32-23=9, Resulting Numbers: [16, 9]
Generated Node #0,3,1: 56:[16, 9] Operation: 32-23=9
Exploring Operation: 32+23=55, Resulting Numbers: [16, 55]
Generated Node #0,3,2: 56:[16, 55] Operation: 32+23=55
Exploring Operation: 23-16=7, Resulting Numbers: [32, 7]
Generated Node #0,3,3: 56:[32, 7] Operation: 23-16=7
Moving to Node #0,3,1
Current State: 56:[16, 9], Operations: ['52-36=16', '32-23=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,56 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[16, 55], Operations: ['52-36=16', '32+23=55']
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,56 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[32, 7], Operations: ['52-36=16', '23-16=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[23, 2], Operations: ['52-36=16', '32/16=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
63,
13,
21
] | 56 | [
"46+13=59",
"63/21=3",
"59-3=56"
] | Current State: 56:[46, 63, 13, 21], Operations: []
Exploring Operation: 46+13=59, Resulting Numbers: [63, 21, 59]
Generated Node #2: [63, 21, 59] from Operation: 46+13=59
Current State: 56:[63, 21, 59], Operations: ['46+13=59']
Exploring Operation: 63/21=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 63/21=3
Current State: 56:[59, 3], Operations: ['46+13=59', '63/21=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[46, 63, 13, 21], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [13, 21, 17]
Generated Node #0,0: 56:[13, 21, 17] Operation: 63-46=17
Exploring Operation: 46+13=59, Resulting Numbers: [63, 21, 59]
Generated Node #0,1: 56:[63, 21, 59] Operation: 46+13=59
Exploring Operation: 46-21=25, Resulting Numbers: [63, 13, 25]
Generated Node #0,2: 56:[63, 13, 25] Operation: 46-21=25
Exploring Operation: 63/21=3, Resulting Numbers: [46, 13, 3]
Generated Node #0,3: 56:[46, 13, 3] Operation: 63/21=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[13, 21, 17], Operations: ['63-46=17']
Exploring Operation: 21-17=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 56:[13, 4] Operation: 21-17=4
Exploring Operation: 13+21=34, Resulting Numbers: [17, 34]
Generated Node #0,0,1: 56:[17, 34] Operation: 13+21=34
Exploring Operation: 17-13=4, Resulting Numbers: [21, 4]
Generated Node #0,0,2: 56:[21, 4] Operation: 17-13=4
Exploring Operation: 21-13=8, Resulting Numbers: [17, 8]
Generated Node #0,0,3: 56:[17, 8] Operation: 21-13=8
Moving to Node #0,0,0
Current State: 56:[13, 4], Operations: ['63-46=17', '21-17=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[17, 8], Operations: ['63-46=17', '21-13=8']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[21, 4], Operations: ['63-46=17', '17-13=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[17, 34], Operations: ['63-46=17', '13+21=34']
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,56 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,56 unequal: No Solution
No 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: 56:[63, 13, 25], Operations: ['46-21=25']
Exploring Operation: 63-25=38, Resulting Numbers: [13, 38]
Generated Node #0,2,0: 56:[13, 38] Operation: 63-25=38
Exploring Operation: 25-13=12, Resulting Numbers: [63, 12]
Generated Node #0,2,1: 56:[63, 12] Operation: 25-13=12
Exploring Operation: 13+25=38, Resulting Numbers: [63, 38]
Generated Node #0,2,2: 56:[63, 38] Operation: 13+25=38
Exploring Operation: 63-13=50, Resulting Numbers: [25, 50]
Generated Node #0,2,3: 56:[25, 50] Operation: 63-13=50
Moving to Node #0,2,1
Current State: 56:[63, 12], Operations: ['46-21=25', '25-13=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,56 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[25, 50], Operations: ['46-21=25', '63-13=50']
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,56 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[13, 38], Operations: ['46-21=25', '63-25=38']
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,56 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[63, 38], Operations: ['46-21=25', '13+25=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,56 unequal: No Solution
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,56 unequal: No Solution
No 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: 56:[46, 13, 3], Operations: ['63/21=3']
Exploring Operation: 46+13=59, Resulting Numbers: [3, 59]
Generated Node #0,3,0: 56:[3, 59] Operation: 46+13=59
Exploring Operation: 13+3=16, Resulting Numbers: [46, 16]
Generated Node #0,3,1: 56:[46, 16] Operation: 13+3=16
Exploring Operation: 46-13=33, Resulting Numbers: [3, 33]
Generated Node #0,3,2: 56:[3, 33] Operation: 46-13=33
Exploring Operation: 46+3=49, Resulting Numbers: [13, 49]
Generated Node #0,3,3: 56:[13, 49] Operation: 46+3=49
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 56:[3, 59], Operations: ['63/21=3', '46+13=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,56 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[46, 63, 13, 21], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [46, 13, 3]
Generated Node #0,3: 56:[46, 13, 3] Operation: 63/21=3
Moving to Node #0,3
Current State: 56:[46, 13, 3], Operations: ['63/21=3']
Exploring Operation: 46+13=59, Resulting Numbers: [3, 59]
Generated Node #0,3,0: 56:[3, 59] Operation: 46+13=59
Moving to Node #0,3,0
Current State: 56:[3, 59], Operations: ['63/21=3', '46+13=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
95,
57,
89,
39
] | 89 | [
"95-57=38",
"39-38=1",
"89*1=89"
] | Current State: 89:[95, 57, 89, 39], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [89, 39, 38]
Generated Node #2: [89, 39, 38] from Operation: 95-57=38
Current State: 89:[89, 39, 38], Operations: ['95-57=38']
Exploring Operation: 39-38=1, Resulting Numbers: [89, 1]
Generated Node #3: [89, 1] from Operation: 39-38=1
Current State: 89:[89, 1], Operations: ['95-57=38', '39-38=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[95, 57, 89, 39], Operations: []
Exploring Operation: 95-39=56, Resulting Numbers: [57, 89, 56]
Generated Node #0,0: 89:[57, 89, 56] Operation: 95-39=56
Exploring Operation: 57+39=96, Resulting Numbers: [95, 89, 96]
Generated Node #0,1: 89:[95, 89, 96] Operation: 57+39=96
Moving to Node #0,1
Current State: 89:[95, 89, 96], Operations: ['57+39=96']
Exploring Operation: 96-89=7, Resulting Numbers: [95, 7]
Generated Node #0,1,0: 89:[95, 7] Operation: 96-89=7
Exploring Operation: 96-95=1, Resulting Numbers: [89, 1]
Generated Node #0,1,1: 89:[89, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[95, 7], Operations: ['57+39=96', '96-89=7']
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[89, 1], Operations: ['57+39=96', '96-95=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[95, 57, 89, 39], Operations: []
Exploring Operation: 57+39=96, Resulting Numbers: [95, 89, 96]
Generated Node #0,1: 89:[95, 89, 96] Operation: 57+39=96
Moving to Node #0,1
Current State: 89:[95, 89, 96], Operations: ['57+39=96']
Exploring Operation: 96-95=1, Resulting Numbers: [89, 1]
Generated Node #0,1,1: 89:[89, 1] Operation: 96-95=1
Moving to Node #0,1,1
Current State: 89:[89, 1], Operations: ['57+39=96', '96-95=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
22,
16,
77,
42
] | 73 | [
"22+16=38",
"77-42=35",
"38+35=73"
] | Current State: 73:[22, 16, 77, 42], Operations: []
Exploring Operation: 22+16=38, Resulting Numbers: [77, 42, 38]
Generated Node #2: [77, 42, 38] from Operation: 22+16=38
Current State: 73:[77, 42, 38], Operations: ['22+16=38']
Exploring Operation: 77-42=35, Resulting Numbers: [38, 35]
Generated Node #3: [38, 35] from Operation: 77-42=35
Current State: 73:[38, 35], Operations: ['22+16=38', '77-42=35']
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[22, 16, 77, 42], Operations: []
Exploring Operation: 22+16=38, Resulting Numbers: [77, 42, 38]
Generated Node #0,0: 73:[77, 42, 38] Operation: 22+16=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[77, 42, 38], Operations: ['22+16=38']
Exploring Operation: 42+38=80, Resulting Numbers: [77, 80]
Generated Node #0,0,0: 73:[77, 80] Operation: 42+38=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[77, 80], Operations: ['22+16=38', '42+38=80']
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
81,
51,
88,
11
] | 76 | [
"81+51=132",
"132/11=12",
"88-12=76"
] | Current State: 76:[81, 51, 88, 11], Operations: []
Exploring Operation: 81+51=132, Resulting Numbers: [88, 11, 132]
Generated Node #2: [88, 11, 132] from Operation: 81+51=132
Current State: 76:[88, 11, 132], Operations: ['81+51=132']
Exploring Operation: 132/11=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 132/11=12
Current State: 76:[88, 12], Operations: ['81+51=132', '132/11=12']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[81, 51, 88, 11], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [81, 88, 40]
Generated Node #0,0: 76:[81, 88, 40] Operation: 51-11=40
Exploring Operation: 88-11=77, Resulting Numbers: [81, 51, 77]
Generated Node #0,1: 76:[81, 51, 77] Operation: 88-11=77
Exploring Operation: 88-51=37, Resulting Numbers: [81, 11, 37]
Generated Node #0,2: 76:[81, 11, 37] Operation: 88-51=37
Moving to Node #0,2
Current State: 76:[81, 11, 37], Operations: ['88-51=37']
Exploring Operation: 81-37=44, Resulting Numbers: [11, 44]
Generated Node #0,2,0: 76:[11, 44] Operation: 81-37=44
Exploring Operation: 81-11=70, Resulting Numbers: [37, 70]
Generated Node #0,2,1: 76:[37, 70] Operation: 81-11=70
Exploring Operation: 37-11=26, Resulting Numbers: [81, 26]
Generated Node #0,2,2: 76:[81, 26] Operation: 37-11=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[37, 70], Operations: ['88-51=37', '81-11=70']
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,76 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[81, 26], Operations: ['88-51=37', '37-11=26']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[11, 44], Operations: ['88-51=37', '81-37=44']
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,76 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: 76:[81, 88, 40], Operations: ['51-11=40']
Exploring Operation: 81-40=41, Resulting Numbers: [88, 41]
Generated Node #0,0,0: 76:[88, 41] Operation: 81-40=41
Exploring Operation: 88-40=48, Resulting Numbers: [81, 48]
Generated Node #0,0,1: 76:[81, 48] Operation: 88-40=48
Exploring Operation: 88-81=7, Resulting Numbers: [40, 7]
Generated Node #0,0,2: 76:[40, 7] Operation: 88-81=7
Moving to Node #0,1
Current State: 76:[81, 51, 77], Operations: ['88-11=77']
Exploring Operation: 77-51=26, Resulting Numbers: [81, 26]
Generated Node #0,1,0: 76:[81, 26] Operation: 77-51=26
Exploring Operation: 81-51=30, Resulting Numbers: [77, 30]
Generated Node #0,1,1: 76:[77, 30] Operation: 81-51=30
Exploring Operation: 81-77=4, Resulting Numbers: [51, 4]
Generated Node #0,1,2: 76:[51, 4] Operation: 81-77=4
Moving to Node #0,0,2
Current State: 76:[40, 7], Operations: ['51-11=40', '88-81=7']
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,76 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[77, 30], Operations: ['88-11=77', '81-51=30']
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,76 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[81, 26], Operations: ['88-11=77', '77-51=26']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,76 unequal: No Solution
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[51, 4], Operations: ['88-11=77', '81-77=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[88, 41], Operations: ['51-11=40', '81-40=41']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,76 unequal: No Solution
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[81, 48], Operations: ['51-11=40', '88-40=48']
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,76 unequal: No Solution
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,76 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,76 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
75,
36,
50,
4
] | 58 | [
"75*36=2700",
"2700/50=54",
"4+54=58"
] | Current State: 58:[75, 36, 50, 4], Operations: []
Exploring Operation: 75*36=2700, Resulting Numbers: [50, 4, 2700]
Generated Node #2: [50, 4, 2700] from Operation: 75*36=2700
Current State: 58:[50, 4, 2700], Operations: ['75*36=2700']
Exploring Operation: 2700/50=54, Resulting Numbers: [4, 54]
Generated Node #3: [4, 54] from Operation: 2700/50=54
Current State: 58:[4, 54], Operations: ['75*36=2700', '2700/50=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[75, 36, 50, 4], Operations: []
Exploring Operation: 75-36=39, Resulting Numbers: [50, 4, 39]
Generated Node #0,0: 58:[50, 4, 39] Operation: 75-36=39
Exploring Operation: 75-50=25, Resulting Numbers: [36, 4, 25]
Generated Node #0,1: 58:[36, 4, 25] Operation: 75-50=25
Exploring Operation: 36-4=32, Resulting Numbers: [75, 50, 32]
Generated Node #0,2: 58:[75, 50, 32] Operation: 36-4=32
Exploring Operation: 75-4=71, Resulting Numbers: [36, 50, 71]
Generated Node #0,3: 58:[36, 50, 71] Operation: 75-4=71
Moving to Node #0,1
Current State: 58:[36, 4, 25], Operations: ['75-50=25']
Exploring Operation: 36-4=32, Resulting Numbers: [25, 32]
Generated Node #0,1,0: 58:[25, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [25, 9]
Generated Node #0,1,1: 58:[25, 9] Operation: 36/4=9
Exploring Operation: 36+25=61, Resulting Numbers: [4, 61]
Generated Node #0,1,2: 58:[4, 61] Operation: 36+25=61
Exploring Operation: 4+25=29, Resulting Numbers: [36, 29]
Generated Node #0,1,3: 58:[36, 29] Operation: 4+25=29
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[4, 61], Operations: ['75-50=25', '36+25=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,58 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,58 unequal: No Solution
No 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: 58:[25, 32], Operations: ['75-50=25', '36-4=32']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,58 unequal: No Solution
No 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: 58:[36, 29], Operations: ['75-50=25', '4+25=29']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,58 unequal: No Solution
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,58 unequal: No Solution
No 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: 58:[25, 9], Operations: ['75-50=25', '36/4=9']
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,58 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,58 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: 58:[50, 4, 39], Operations: ['75-36=39']
Exploring Operation: 39-4=35, Resulting Numbers: [50, 35]
Generated Node #0,0,0: 58:[50, 35] Operation: 39-4=35
Exploring Operation: 50-4=46, Resulting Numbers: [39, 46]
Generated Node #0,0,1: 58:[39, 46] Operation: 50-4=46
Exploring Operation: 50+4=54, Resulting Numbers: [39, 54]
Generated Node #0,0,2: 58:[39, 54] Operation: 50+4=54
Exploring Operation: 50-39=11, Resulting Numbers: [4, 11]
Generated Node #0,0,3: 58:[4, 11] Operation: 50-39=11
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[4, 11], Operations: ['75-36=39', '50-39=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,58 unequal: No Solution
No 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: 58:[50, 35], Operations: ['75-36=39', '39-4=35']
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,58 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,58 unequal: No Solution
No 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: 58:[39, 54], Operations: ['75-36=39', '50+4=54']
Exploring Operation: 39*54=2106, Resulting Numbers: [2106]
2106,58 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 39+54=93, Resulting Numbers: [93]
93,58 unequal: No Solution
No 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: 58:[39, 46], Operations: ['75-36=39', '50-4=46']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,58 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: 58:[36, 50, 71], Operations: ['75-4=71']
Exploring Operation: 50-36=14, Resulting Numbers: [71, 14]
Generated Node #0,3,0: 58:[71, 14] Operation: 50-36=14
Exploring Operation: 71-50=21, Resulting Numbers: [36, 21]
Generated Node #0,3,1: 58:[36, 21] Operation: 71-50=21
Exploring Operation: 71-36=35, Resulting Numbers: [50, 35]
Generated Node #0,3,2: 58:[50, 35] Operation: 71-36=35
Exploring Operation: 36+50=86, Resulting Numbers: [71, 86]
Generated Node #0,3,3: 58:[71, 86] Operation: 36+50=86
Moving to Node #0,2
Current State: 58:[75, 50, 32], Operations: ['36-4=32']
Exploring Operation: 75-50=25, Resulting Numbers: [32, 25]
Generated Node #0,2,0: 58:[32, 25] Operation: 75-50=25
Exploring Operation: 50-32=18, Resulting Numbers: [75, 18]
Generated Node #0,2,1: 58:[75, 18] Operation: 50-32=18
Exploring Operation: 75-32=43, Resulting Numbers: [50, 43]
Generated Node #0,2,2: 58:[50, 43] Operation: 75-32=43
Exploring Operation: 50+32=82, Resulting Numbers: [75, 82]
Generated Node #0,2,3: 58:[75, 82] Operation: 50+32=82
Moving to Node #0,2,0
Current State: 58:[32, 25], Operations: ['36-4=32', '75-50=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,58 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[50, 35], Operations: ['75-4=71', '71-36=35']
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,58 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[36, 21], Operations: ['75-4=71', '71-50=21']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[50, 43], Operations: ['36-4=32', '75-32=43']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 50*43=2150, Resulting Numbers: [2150]
2150,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[71, 14], Operations: ['75-4=71', '50-36=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,58 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[75, 18], Operations: ['36-4=32', '50-32=18']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,58 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[71, 86], Operations: ['75-4=71', '36+50=86']
Exploring Operation: 71+86=157, Resulting Numbers: [157]
157,58 unequal: No Solution
Exploring Operation: 71*86=6106, Resulting Numbers: [6106]
6106,58 unequal: No Solution
Exploring Operation: 86-71=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[75, 82], Operations: ['36-4=32', '50+32=82']
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 75+82=157, Resulting Numbers: [157]
157,58 unequal: No Solution
Exploring Operation: 75*82=6150, Resulting Numbers: [6150]
6150,58 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
45,
30,
9
] | 72 | [
"30-28=2",
"45-9=36",
"2*36=72"
] | Current State: 72:[28, 45, 30, 9], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [45, 9, 2]
Generated Node #2: [45, 9, 2] from Operation: 30-28=2
Current State: 72:[45, 9, 2], Operations: ['30-28=2']
Exploring Operation: 45-9=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 45-9=36
Current State: 72:[2, 36], Operations: ['30-28=2', '45-9=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[28, 45, 30, 9], Operations: []
Exploring Operation: 28+45=73, Resulting Numbers: [30, 9, 73]
Generated Node #0,0: 72:[30, 9, 73] Operation: 28+45=73
Exploring Operation: 45-30=15, Resulting Numbers: [28, 9, 15]
Generated Node #0,1: 72:[28, 9, 15] Operation: 45-30=15
Exploring Operation: 45-28=17, Resulting Numbers: [30, 9, 17]
Generated Node #0,2: 72:[30, 9, 17] Operation: 45-28=17
Exploring Operation: 45+30=75, Resulting Numbers: [28, 9, 75]
Generated Node #0,3: 72:[28, 9, 75] Operation: 45+30=75
Moving to Node #0,0
Current State: 72:[30, 9, 73], Operations: ['28+45=73']
Exploring Operation: 73-30=43, Resulting Numbers: [9, 43]
Generated Node #0,0,0: 72:[9, 43] Operation: 73-30=43
Exploring Operation: 73-9=64, Resulting Numbers: [30, 64]
Generated Node #0,0,1: 72:[30, 64] Operation: 73-9=64
Exploring Operation: 30+9=39, Resulting Numbers: [73, 39]
Generated Node #0,0,2: 72:[73, 39] Operation: 30+9=39
Exploring Operation: 30-9=21, Resulting Numbers: [73, 21]
Generated Node #0,0,3: 72:[73, 21] Operation: 30-9=21
Moving to Node #0,2
Current State: 72:[30, 9, 17], Operations: ['45-28=17']
Exploring Operation: 17-9=8, Resulting Numbers: [30, 8]
Generated Node #0,2,0: 72:[30, 8] Operation: 17-9=8
Exploring Operation: 30-9=21, Resulting Numbers: [17, 21]
Generated Node #0,2,1: 72:[17, 21] Operation: 30-9=21
Exploring Operation: 30-17=13, Resulting Numbers: [9, 13]
Generated Node #0,2,2: 72:[9, 13] Operation: 30-17=13
Exploring Operation: 30+9=39, Resulting Numbers: [17, 39]
Generated Node #0,2,3: 72:[17, 39] Operation: 30+9=39
Moving to Node #0,1
Current State: 72:[28, 9, 15], Operations: ['45-30=15']
Exploring Operation: 28+9=37, Resulting Numbers: [15, 37]
Generated Node #0,1,0: 72:[15, 37] Operation: 28+9=37
Exploring Operation: 28-9=19, Resulting Numbers: [15, 19]
Generated Node #0,1,1: 72:[15, 19] Operation: 28-9=19
Exploring Operation: 9+15=24, Resulting Numbers: [28, 24]
Generated Node #0,1,2: 72:[28, 24] Operation: 9+15=24
Exploring Operation: 28-15=13, Resulting Numbers: [9, 13]
Generated Node #0,1,3: 72:[9, 13] Operation: 28-15=13
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[9, 13], Operations: ['45-30=15', '28-15=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,72 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[15, 37], Operations: ['45-30=15', '28+9=37']
Exploring Operation: 15*37=555, Resulting Numbers: [555]
555,72 unequal: No Solution
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[15, 19], Operations: ['45-30=15', '28-9=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,72 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[28, 24], Operations: ['45-30=15', '9+15=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,72 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: 72:[28, 9, 75], Operations: ['45+30=75']
Exploring Operation: 75-28=47, Resulting Numbers: [9, 47]
Generated Node #0,3,0: 72:[9, 47] Operation: 75-28=47
Exploring Operation: 28-9=19, Resulting Numbers: [75, 19]
Generated Node #0,3,1: 72:[75, 19] Operation: 28-9=19
Exploring Operation: 75-9=66, Resulting Numbers: [28, 66]
Generated Node #0,3,2: 72:[28, 66] Operation: 75-9=66
Exploring Operation: 28+9=37, Resulting Numbers: [75, 37]
Generated Node #0,3,3: 72:[75, 37] Operation: 28+9=37
Moving to Node #0,2,2
Current State: 72:[9, 13], Operations: ['45-28=17', '30-17=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[17, 21], Operations: ['45-28=17', '30-9=21']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,72 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[17, 39], Operations: ['45-28=17', '30+9=39']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,72 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[73, 39], Operations: ['28+45=73', '30+9=39']
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,72 unequal: No Solution
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[73, 21], Operations: ['28+45=73', '30-9=21']
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,72 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[75, 37], Operations: ['45+30=75', '28+9=37']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,72 unequal: No Solution
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[75, 19], Operations: ['45+30=75', '28-9=19']
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[30, 8], Operations: ['45-28=17', '17-9=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,72 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[9, 43], Operations: ['28+45=73', '73-30=43']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[28, 66], Operations: ['45+30=75', '75-9=66']
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,72 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[9, 47], Operations: ['45+30=75', '75-28=47']
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[30, 64], Operations: ['28+45=73', '73-9=64']
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,72 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
77,
67,
38,
32
] | 16 | [
"77-67=10",
"38-32=6",
"10+6=16"
] | Current State: 16:[77, 67, 38, 32], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [38, 32, 10]
Generated Node #2: [38, 32, 10] from Operation: 77-67=10
Current State: 16:[38, 32, 10], Operations: ['77-67=10']
Exploring Operation: 38-32=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 38-32=6
Current State: 16:[10, 6], Operations: ['77-67=10', '38-32=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[77, 67, 38, 32], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [38, 32, 10]
Generated Node #0,0: 16:[38, 32, 10] Operation: 77-67=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[38, 32, 10], Operations: ['77-67=10']
Exploring Operation: 38-32=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 16:[10, 6] Operation: 38-32=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[10, 6], Operations: ['77-67=10', '38-32=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[77, 67, 38, 32], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [38, 32, 10]
Generated Node #0,0: 16:[38, 32, 10] Operation: 77-67=10
Moving to Node #0,0
Current State: 16:[38, 32, 10], Operations: ['77-67=10']
Exploring Operation: 38-32=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 16:[10, 6] Operation: 38-32=6
Moving to Node #0,0,0
Current State: 16:[10, 6], Operations: ['77-67=10', '38-32=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
95,
77,
6,
7
] | 18 | [
"95-77=18",
"7-6=1",
"18*1=18"
] | Current State: 18:[95, 77, 6, 7], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [6, 7, 18]
Generated Node #2: [6, 7, 18] from Operation: 95-77=18
Current State: 18:[6, 7, 18], Operations: ['95-77=18']
Exploring Operation: 7-6=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 7-6=1
Current State: 18:[18, 1], Operations: ['95-77=18', '7-6=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[95, 77, 6, 7], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [6, 7, 18]
Generated Node #0,0: 18:[6, 7, 18] Operation: 95-77=18
Moving to Node #0,0
Current State: 18:[6, 7, 18], Operations: ['95-77=18']
Exploring Operation: 7-6=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 18:[18, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[18, 1], Operations: ['95-77=18', '7-6=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[95, 77, 6, 7], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [6, 7, 18]
Generated Node #0,0: 18:[6, 7, 18] Operation: 95-77=18
Moving to Node #0,0
Current State: 18:[6, 7, 18], Operations: ['95-77=18']
Exploring Operation: 7-6=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 18:[18, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 18:[18, 1], Operations: ['95-77=18', '7-6=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
5,
84,
42,
44
] | 41 | [
"44-5=39",
"84/42=2",
"39+2=41"
] | Current State: 41:[5, 84, 42, 44], Operations: []
Exploring Operation: 44-5=39, Resulting Numbers: [84, 42, 39]
Generated Node #2: [84, 42, 39] from Operation: 44-5=39
Current State: 41:[84, 42, 39], Operations: ['44-5=39']
Exploring Operation: 84/42=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 84/42=2
Current State: 41:[39, 2], Operations: ['44-5=39', '84/42=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[5, 84, 42, 44], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [5, 42, 40]
Generated Node #0,0: 41:[5, 42, 40] Operation: 84-44=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[5, 42, 40], Operations: ['84-44=40']
Exploring Operation: 42-5=37, Resulting Numbers: [40, 37]
Generated Node #0,0,0: 41:[40, 37] Operation: 42-5=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[40, 37], Operations: ['84-44=40', '42-5=37']
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
38,
44,
6
] | 85 | [
"44-38=6",
"6/6=1",
"84+1=85"
] | Current State: 85:[84, 38, 44, 6], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [84, 6, 6]
Generated Node #2: [84, 6, 6] from Operation: 44-38=6
Current State: 85:[84, 6, 6], Operations: ['44-38=6']
Exploring Operation: 6/6=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 6/6=1
Current State: 85:[84, 1], Operations: ['44-38=6', '6/6=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[84, 38, 44, 6], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [84, 6, 6]
Generated Node #0,0: 85:[84, 6, 6] Operation: 44-38=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[84, 6, 6], Operations: ['44-38=6']
Exploring Operation: 84/6=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 85:[6, 14] Operation: 84/6=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[6, 14], Operations: ['44-38=6', '84/6=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,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_1 | sum_heuristic |
[
40,
47,
44,
1
] | 12 | [
"44-40=4",
"47+1=48",
"48/4=12"
] | Current State: 12:[40, 47, 44, 1], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [47, 1, 4]
Generated Node #2: [47, 1, 4] from Operation: 44-40=4
Current State: 12:[47, 1, 4], Operations: ['44-40=4']
Exploring Operation: 47+1=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 47+1=48
Current State: 12:[4, 48], Operations: ['44-40=4', '47+1=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[40, 47, 44, 1], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [47, 1, 4]
Generated Node #0,0: 12:[47, 1, 4] Operation: 44-40=4
Exploring Operation: 47-44=3, Resulting Numbers: [40, 1, 3]
Generated Node #0,1: 12:[40, 1, 3] Operation: 47-44=3
Exploring Operation: 47-40=7, Resulting Numbers: [44, 1, 7]
Generated Node #0,2: 12:[44, 1, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[40, 1, 3], Operations: ['47-44=3']
Exploring Operation: 40*1=40, Resulting Numbers: [3, 40]
Generated Node #0,1,0: 12:[3, 40] Operation: 40*1=40
Exploring Operation: 40-1=39, Resulting Numbers: [3, 39]
Generated Node #0,1,1: 12:[3, 39] Operation: 40-1=39
Exploring Operation: 40-3=37, Resulting Numbers: [1, 37]
Generated Node #0,1,2: 12:[1, 37] Operation: 40-3=37
Moving to Node #0,1,2
Current State: 12:[1, 37], Operations: ['47-44=3', '40-3=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[3, 39], Operations: ['47-44=3', '40-1=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[3, 40], Operations: ['47-44=3', '40*1=40']
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,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
Current State: 12:[44, 1, 7], Operations: ['47-40=7']
Exploring Operation: 44-7=37, Resulting Numbers: [1, 37]
Generated Node #0,2,0: 12:[1, 37] Operation: 44-7=37
Exploring Operation: 7-1=6, Resulting Numbers: [44, 6]
Generated Node #0,2,1: 12:[44, 6] Operation: 7-1=6
Exploring Operation: 44-1=43, Resulting Numbers: [7, 43]
Generated Node #0,2,2: 12:[7, 43] Operation: 44-1=43
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[1, 37], Operations: ['47-40=7', '44-7=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 12:[44, 6], Operations: ['47-40=7', '7-1=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,12 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[7, 43], Operations: ['47-40=7', '44-1=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,12 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,12 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[47, 1, 4], Operations: ['44-40=4']
Exploring Operation: 47-4=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 12:[1, 43] Operation: 47-4=43
Exploring Operation: 47*1=47, Resulting Numbers: [4, 47]
Generated Node #0,0,1: 12:[4, 47] Operation: 47*1=47
Exploring Operation: 47-1=46, Resulting Numbers: [4, 46]
Generated Node #0,0,2: 12:[4, 46] Operation: 47-1=46
Moving to Node #0,0,0
Current State: 12:[1, 43], Operations: ['44-40=4', '47-4=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[4, 46], Operations: ['44-40=4', '47-1=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,12 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,12 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[4, 47], Operations: ['44-40=4', '47*1=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,12 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,12 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 |
[
67,
18,
11,
48
] | 11 | [
"67-18=49",
"49-48=1",
"11*1=11"
] | Current State: 11:[67, 18, 11, 48], Operations: []
Exploring Operation: 67-18=49, Resulting Numbers: [11, 48, 49]
Generated Node #2: [11, 48, 49] from Operation: 67-18=49
Current State: 11:[11, 48, 49], Operations: ['67-18=49']
Exploring Operation: 49-48=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 49-48=1
Current State: 11:[11, 1], Operations: ['67-18=49', '49-48=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[67, 18, 11, 48], Operations: []
Exploring Operation: 67-48=19, Resulting Numbers: [18, 11, 19]
Generated Node #0,0: 11:[18, 11, 19] Operation: 67-48=19
Moving to Node #0,0
Current State: 11:[18, 11, 19], Operations: ['67-48=19']
Exploring Operation: 19-18=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 11:[11, 1] Operation: 19-18=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[11, 1], Operations: ['67-48=19', '19-18=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[67, 18, 11, 48], Operations: []
Exploring Operation: 67-48=19, Resulting Numbers: [18, 11, 19]
Generated Node #0,0: 11:[18, 11, 19] Operation: 67-48=19
Moving to Node #0,0
Current State: 11:[18, 11, 19], Operations: ['67-48=19']
Exploring Operation: 19-18=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 11:[11, 1] Operation: 19-18=1
Moving to Node #0,0,0
Current State: 11:[11, 1], Operations: ['67-48=19', '19-18=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
8,
40,
5,
55
] | 45 | [
"8*40=320",
"5*55=275",
"320-275=45"
] | Current State: 45:[8, 40, 5, 55], Operations: []
Exploring Operation: 8*40=320, Resulting Numbers: [5, 55, 320]
Generated Node #2: [5, 55, 320] from Operation: 8*40=320
Current State: 45:[5, 55, 320], Operations: ['8*40=320']
Exploring Operation: 5*55=275, Resulting Numbers: [320, 275]
Generated Node #3: [320, 275] from Operation: 5*55=275
Current State: 45:[320, 275], Operations: ['8*40=320', '5*55=275']
Exploring Operation: 320-275=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[8, 40, 5, 55], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [8, 5, 15]
Generated Node #0,0: 45:[8, 5, 15] Operation: 55-40=15
Moving to Node #0,0
Current State: 45:[8, 5, 15], Operations: ['55-40=15']
Exploring Operation: 8-5=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 45:[15, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[15, 3], Operations: ['55-40=15', '8-5=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[8, 40, 5, 55], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [8, 5, 15]
Generated Node #0,0: 45:[8, 5, 15] Operation: 55-40=15
Moving to Node #0,0
Current State: 45:[8, 5, 15], Operations: ['55-40=15']
Exploring Operation: 8-5=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 45:[15, 3] Operation: 8-5=3
Moving to Node #0,0,0
Current State: 45:[15, 3], Operations: ['55-40=15', '8-5=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
7,
21,
85
] | 48 | [
"6*21=126",
"85-7=78",
"126-78=48"
] | Current State: 48:[6, 7, 21, 85], Operations: []
Exploring Operation: 6*21=126, Resulting Numbers: [7, 85, 126]
Generated Node #2: [7, 85, 126] from Operation: 6*21=126
Current State: 48:[7, 85, 126], Operations: ['6*21=126']
Exploring Operation: 85-7=78, Resulting Numbers: [126, 78]
Generated Node #3: [126, 78] from Operation: 85-7=78
Current State: 48:[126, 78], Operations: ['6*21=126', '85-7=78']
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 7, 21, 85], Operations: []
Exploring Operation: 85-21=64, Resulting Numbers: [6, 7, 64]
Generated Node #0,0: 48:[6, 7, 64] Operation: 85-21=64
Exploring Operation: 85-6=79, Resulting Numbers: [7, 21, 79]
Generated Node #0,1: 48:[7, 21, 79] Operation: 85-6=79
Exploring Operation: 21/7=3, Resulting Numbers: [6, 85, 3]
Generated Node #0,2: 48:[6, 85, 3] Operation: 21/7=3
Exploring Operation: 85-7=78, Resulting Numbers: [6, 21, 78]
Generated Node #0,3: 48:[6, 21, 78] Operation: 85-7=78
Moving to Node #0,0
Current State: 48:[6, 7, 64], Operations: ['85-21=64']
Exploring Operation: 6+7=13, Resulting Numbers: [64, 13]
Generated Node #0,0,0: 48:[64, 13] Operation: 6+7=13
Exploring Operation: 7-6=1, Resulting Numbers: [64, 1]
Generated Node #0,0,1: 48:[64, 1] Operation: 7-6=1
Exploring Operation: 64-6=58, Resulting Numbers: [7, 58]
Generated Node #0,0,2: 48:[7, 58] Operation: 64-6=58
Exploring Operation: 64-7=57, Resulting Numbers: [6, 57]
Generated Node #0,0,3: 48:[6, 57] Operation: 64-7=57
Moving to Node #0,3
Current State: 48:[6, 21, 78], Operations: ['85-7=78']
Exploring Operation: 78/6=13, Resulting Numbers: [21, 13]
Generated Node #0,3,0: 48:[21, 13] Operation: 78/6=13
Exploring Operation: 21-6=15, Resulting Numbers: [78, 15]
Generated Node #0,3,1: 48:[78, 15] Operation: 21-6=15
Exploring Operation: 78-21=57, Resulting Numbers: [6, 57]
Generated Node #0,3,2: 48:[6, 57] Operation: 78-21=57
Exploring Operation: 78-6=72, Resulting Numbers: [21, 72]
Generated Node #0,3,3: 48:[21, 72] Operation: 78-6=72
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[21, 13], Operations: ['85-7=78', '78/6=13']
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,48 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[6, 57], Operations: ['85-7=78', '78-21=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[21, 72], Operations: ['85-7=78', '78-6=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,48 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[78, 15], Operations: ['85-7=78', '21-6=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,48 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,48 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: 48:[7, 21, 79], Operations: ['85-6=79']
Exploring Operation: 21/7=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 48:[79, 3] Operation: 21/7=3
Exploring Operation: 79-21=58, Resulting Numbers: [7, 58]
Generated Node #0,1,1: 48:[7, 58] Operation: 79-21=58
Exploring Operation: 21-7=14, Resulting Numbers: [79, 14]
Generated Node #0,1,2: 48:[79, 14] Operation: 21-7=14
Exploring Operation: 79-7=72, Resulting Numbers: [21, 72]
Generated Node #0,1,3: 48:[21, 72] Operation: 79-7=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[7, 58], Operations: ['85-6=79', '79-21=58']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,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,1,3
Current State: 48:[21, 72], Operations: ['85-6=79', '79-7=72']
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,48 unequal: No Solution
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,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,1,0
Current State: 48:[79, 3], Operations: ['85-6=79', '21/7=3']
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,48 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,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,1,2
Current State: 48:[79, 14], Operations: ['85-6=79', '21-7=14']
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,48 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,48 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: 48:[6, 85, 3], Operations: ['21/7=3']
Exploring Operation: 6-3=3, Resulting Numbers: [85, 3]
Generated Node #0,2,0: 48:[85, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [85, 2]
Generated Node #0,2,1: 48:[85, 2] Operation: 6/3=2
Exploring Operation: 85-6=79, Resulting Numbers: [3, 79]
Generated Node #0,2,2: 48:[3, 79] Operation: 85-6=79
Exploring Operation: 85-3=82, Resulting Numbers: [6, 82]
Generated Node #0,2,3: 48:[6, 82] Operation: 85-3=82
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[3, 79], Operations: ['21/7=3', '85-6=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,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,3
Current State: 48:[6, 82], Operations: ['21/7=3', '85-3=82']
Exploring Operation: 6*82=492, Resulting Numbers: [492]
492,48 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,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,0
Current State: 48:[85, 3], Operations: ['21/7=3', '6-3=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,48 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,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,1
Current State: 48:[85, 2], Operations: ['21/7=3', '6/3=2']
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,48 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,48 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 48:[6, 57], Operations: ['85-21=64', '64-7=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[7, 58], Operations: ['85-21=64', '64-6=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[64, 1], Operations: ['85-21=64', '7-6=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,48 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[64, 13], Operations: ['85-21=64', '6+7=13']
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,48 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,48 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
7,
94,
2
] | 17 | [
"22*7=154",
"154/2=77",
"94-77=17"
] | Current State: 17:[22, 7, 94, 2], Operations: []
Exploring Operation: 22*7=154, Resulting Numbers: [94, 2, 154]
Generated Node #2: [94, 2, 154] from Operation: 22*7=154
Current State: 17:[94, 2, 154], Operations: ['22*7=154']
Exploring Operation: 154/2=77, Resulting Numbers: [94, 77]
Generated Node #3: [94, 77] from Operation: 154/2=77
Current State: 17:[94, 77], Operations: ['22*7=154', '154/2=77']
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[22, 7, 94, 2], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [22, 7, 47]
Generated Node #0,0: 17:[22, 7, 47] Operation: 94/2=47
Moving to Node #0,0
Current State: 17:[22, 7, 47], Operations: ['94/2=47']
Exploring Operation: 47-22=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 17:[7, 25] Operation: 47-22=25
Moving to Node #0,0,0
Current State: 17:[7, 25], Operations: ['94/2=47', '47-22=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,17 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
53,
52,
48
] | 84 | [
"27+53=80",
"52-48=4",
"80+4=84"
] | Current State: 84:[27, 53, 52, 48], Operations: []
Exploring Operation: 27+53=80, Resulting Numbers: [52, 48, 80]
Generated Node #2: [52, 48, 80] from Operation: 27+53=80
Current State: 84:[52, 48, 80], Operations: ['27+53=80']
Exploring Operation: 52-48=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 52-48=4
Current State: 84:[80, 4], Operations: ['27+53=80', '52-48=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[27, 53, 52, 48], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [27, 48, 1]
Generated Node #0,0: 84:[27, 48, 1] Operation: 53-52=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[27, 48, 1], Operations: ['53-52=1']
Exploring Operation: 48-27=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 84:[1, 21] Operation: 48-27=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[1, 21], Operations: ['53-52=1', '48-27=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
52,
91,
42
] | 13 | [
"52*42=2184",
"2184/28=78",
"91-78=13"
] | Current State: 13:[28, 52, 91, 42], Operations: []
Exploring Operation: 52*42=2184, Resulting Numbers: [28, 91, 2184]
Generated Node #2: [28, 91, 2184] from Operation: 52*42=2184
Current State: 13:[28, 91, 2184], Operations: ['52*42=2184']
Exploring Operation: 2184/28=78, Resulting Numbers: [91, 78]
Generated Node #3: [91, 78] from Operation: 2184/28=78
Current State: 13:[91, 78], Operations: ['52*42=2184', '2184/28=78']
Exploring Operation: 91-78=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[28, 52, 91, 42], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [28, 42, 39]
Generated Node #0,0: 13:[28, 42, 39] Operation: 91-52=39
Exploring Operation: 52-28=24, Resulting Numbers: [91, 42, 24]
Generated Node #0,1: 13:[91, 42, 24] Operation: 52-28=24
Exploring Operation: 91-42=49, Resulting Numbers: [28, 52, 49]
Generated Node #0,2: 13:[28, 52, 49] Operation: 91-42=49
Exploring Operation: 52-42=10, Resulting Numbers: [28, 91, 10]
Generated Node #0,3: 13:[28, 91, 10] Operation: 52-42=10
Exploring Operation: 91-28=63, Resulting Numbers: [52, 42, 63]
Generated Node #0,4: 13:[52, 42, 63] Operation: 91-28=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[28, 42, 39], Operations: ['91-52=39']
Exploring Operation: 28+39=67, Resulting Numbers: [42, 67]
Generated Node #0,0,0: 13:[42, 67] Operation: 28+39=67
Exploring Operation: 39-28=11, Resulting Numbers: [42, 11]
Generated Node #0,0,1: 13:[42, 11] Operation: 39-28=11
Exploring Operation: 42-39=3, Resulting Numbers: [28, 3]
Generated Node #0,0,2: 13:[28, 3] Operation: 42-39=3
Exploring Operation: 28+42=70, Resulting Numbers: [39, 70]
Generated Node #0,0,3: 13:[39, 70] Operation: 28+42=70
Exploring Operation: 42-28=14, Resulting Numbers: [39, 14]
Generated Node #0,0,4: 13:[39, 14] Operation: 42-28=14
Moving to Node #0,0,2
Current State: 13:[28, 3], Operations: ['91-52=39', '42-39=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[39, 14], Operations: ['91-52=39', '42-28=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,13 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[42, 11], Operations: ['91-52=39', '39-28=11']
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,13 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[42, 67], Operations: ['91-52=39', '28+39=67']
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,13 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,13 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[39, 70], Operations: ['91-52=39', '28+42=70']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,13 unequal: No Solution
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[28, 52, 49], Operations: ['91-42=49']
Exploring Operation: 52-28=24, Resulting Numbers: [49, 24]
Generated Node #0,2,0: 13:[49, 24] Operation: 52-28=24
Exploring Operation: 49-28=21, Resulting Numbers: [52, 21]
Generated Node #0,2,1: 13:[52, 21] Operation: 49-28=21
Exploring Operation: 52-49=3, Resulting Numbers: [28, 3]
Generated Node #0,2,2: 13:[28, 3] Operation: 52-49=3
Exploring Operation: 28+49=77, Resulting Numbers: [52, 77]
Generated Node #0,2,3: 13:[52, 77] Operation: 28+49=77
Exploring Operation: 28+52=80, Resulting Numbers: [49, 80]
Generated Node #0,2,4: 13:[49, 80] Operation: 28+52=80
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[28, 3], Operations: ['91-42=49', '52-49=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,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,0
Current State: 13:[49, 24], Operations: ['91-42=49', '52-28=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,13 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,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:[52, 21], Operations: ['91-42=49', '49-28=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,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:[52, 77], Operations: ['91-42=49', '28+49=77']
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,13 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,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:[49, 80], Operations: ['91-42=49', '28+52=80']
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,13 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,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:[28, 91, 10], Operations: ['52-42=10']
Exploring Operation: 91+10=101, Resulting Numbers: [28, 101]
Generated Node #0,3,0: 13:[28, 101] Operation: 91+10=101
Exploring Operation: 28-10=18, Resulting Numbers: [91, 18]
Generated Node #0,3,1: 13:[91, 18] Operation: 28-10=18
Exploring Operation: 91-10=81, Resulting Numbers: [28, 81]
Generated Node #0,3,2: 13:[28, 81] Operation: 91-10=81
Exploring Operation: 28+10=38, Resulting Numbers: [91, 38]
Generated Node #0,3,3: 13:[91, 38] Operation: 28+10=38
Exploring Operation: 91-28=63, Resulting Numbers: [10, 63]
Generated Node #0,3,4: 13:[10, 63] Operation: 91-28=63
Moving to Node #0,3,4
Current State: 13:[10, 63], Operations: ['52-42=10', '91-28=63']
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 10*63=630, Resulting Numbers: [630]
630,13 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[28, 81], Operations: ['52-42=10', '91-10=81']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,13 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[91, 18], Operations: ['52-42=10', '28-10=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,13 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[28, 101], Operations: ['52-42=10', '91+10=101']
Exploring Operation: 28*101=2828, Resulting Numbers: [2828]
2828,13 unequal: No Solution
Exploring Operation: 101-28=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 28+101=129, Resulting Numbers: [129]
129,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[91, 38], Operations: ['52-42=10', '28+10=38']
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,13 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,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:[91, 42, 24], Operations: ['52-28=24']
Exploring Operation: 91-24=67, Resulting Numbers: [42, 67]
Generated Node #0,1,0: 13:[42, 67] Operation: 91-24=67
Exploring Operation: 42-24=18, Resulting Numbers: [91, 18]
Generated Node #0,1,1: 13:[91, 18] Operation: 42-24=18
Exploring Operation: 91+24=115, Resulting Numbers: [42, 115]
Generated Node #0,1,2: 13:[42, 115] Operation: 91+24=115
Exploring Operation: 91-42=49, Resulting Numbers: [24, 49]
Generated Node #0,1,3: 13:[24, 49] Operation: 91-42=49
Exploring Operation: 91+42=133, Resulting Numbers: [24, 133]
Generated Node #0,1,4: 13:[24, 133] Operation: 91+42=133
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[24, 49], Operations: ['52-28=24', '91-42=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,13 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[42, 67], Operations: ['52-28=24', '91-24=67']
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,13 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,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:[91, 18], Operations: ['52-28=24', '42-24=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,13 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,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:[42, 115], Operations: ['52-28=24', '91+24=115']
Exploring Operation: 42+115=157, Resulting Numbers: [157]
157,13 unequal: No Solution
Exploring Operation: 42*115=4830, Resulting Numbers: [4830]
4830,13 unequal: No Solution
Exploring Operation: 115-42=73, Resulting Numbers: [73]
73,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:[24, 133], Operations: ['52-28=24', '91+42=133']
Exploring Operation: 24+133=157, Resulting Numbers: [157]
157,13 unequal: No Solution
Exploring Operation: 133-24=109, Resulting Numbers: [109]
109,13 unequal: No Solution
Exploring Operation: 24*133=3192, Resulting Numbers: [3192]
3192,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,4
Current State: 13:[52, 42, 63], Operations: ['91-28=63']
Exploring Operation: 63-52=11, Resulting Numbers: [42, 11]
Generated Node #0,4,0: 13:[42, 11] Operation: 63-52=11
Exploring Operation: 63-42=21, Resulting Numbers: [52, 21]
Generated Node #0,4,1: 13:[52, 21] Operation: 63-42=21
Exploring Operation: 52+42=94, Resulting Numbers: [63, 94]
Generated Node #0,4,2: 13:[63, 94] Operation: 52+42=94
Exploring Operation: 52+63=115, Resulting Numbers: [42, 115]
Generated Node #0,4,3: 13:[42, 115] Operation: 52+63=115
Exploring Operation: 52-42=10, Resulting Numbers: [63, 10]
Generated Node #0,4,4: 13:[63, 10] Operation: 52-42=10
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 13:[42, 11], Operations: ['91-28=63', '63-52=11']
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,13 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,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:[52, 21], Operations: ['91-28=63', '63-42=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,13 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,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:[63, 10], Operations: ['91-28=63', '52-42=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,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,2
Current State: 13:[63, 94], Operations: ['91-28=63', '52+42=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,13 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,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:[42, 115], Operations: ['91-28=63', '52+63=115']
Exploring Operation: 42*115=4830, Resulting Numbers: [4830]
4830,13 unequal: No Solution
Exploring Operation: 42+115=157, Resulting Numbers: [157]
157,13 unequal: No Solution
Exploring Operation: 115-42=73, Resulting Numbers: [73]
73,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 |
[
18,
63,
99,
88
] | 92 | [
"18+63=81",
"99-88=11",
"81+11=92"
] | Current State: 92:[18, 63, 99, 88], Operations: []
Exploring Operation: 18+63=81, Resulting Numbers: [99, 88, 81]
Generated Node #2: [99, 88, 81] from Operation: 18+63=81
Current State: 92:[99, 88, 81], Operations: ['18+63=81']
Exploring Operation: 99-88=11, Resulting Numbers: [81, 11]
Generated Node #3: [81, 11] from Operation: 99-88=11
Current State: 92:[81, 11], Operations: ['18+63=81', '99-88=11']
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[18, 63, 99, 88], Operations: []
Exploring Operation: 18+63=81, Resulting Numbers: [99, 88, 81]
Generated Node #0,0: 92:[99, 88, 81] Operation: 18+63=81
Exploring Operation: 63-18=45, Resulting Numbers: [99, 88, 45]
Generated Node #0,1: 92:[99, 88, 45] Operation: 63-18=45
Exploring Operation: 99-63=36, Resulting Numbers: [18, 88, 36]
Generated Node #0,2: 92:[18, 88, 36] Operation: 99-63=36
Exploring Operation: 88-63=25, Resulting Numbers: [18, 99, 25]
Generated Node #0,3: 92:[18, 99, 25] Operation: 88-63=25
Moving to Node #0,1
Current State: 92:[99, 88, 45], Operations: ['63-18=45']
Exploring Operation: 99-88=11, Resulting Numbers: [45, 11]
Generated Node #0,1,0: 92:[45, 11] Operation: 99-88=11
Exploring Operation: 88-45=43, Resulting Numbers: [99, 43]
Generated Node #0,1,1: 92:[99, 43] Operation: 88-45=43
Exploring Operation: 88+45=133, Resulting Numbers: [99, 133]
Generated Node #0,1,2: 92:[99, 133] Operation: 88+45=133
Exploring Operation: 99-45=54, Resulting Numbers: [88, 54]
Generated Node #0,1,3: 92:[88, 54] Operation: 99-45=54
Moving to Node #0,3
Current State: 92:[18, 99, 25], Operations: ['88-63=25']
Exploring Operation: 18+25=43, Resulting Numbers: [99, 43]
Generated Node #0,3,0: 92:[99, 43] Operation: 18+25=43
Exploring Operation: 99-25=74, Resulting Numbers: [18, 74]
Generated Node #0,3,1: 92:[18, 74] Operation: 99-25=74
Exploring Operation: 25-18=7, Resulting Numbers: [99, 7]
Generated Node #0,3,2: 92:[99, 7] Operation: 25-18=7
Exploring Operation: 99-18=81, Resulting Numbers: [25, 81]
Generated Node #0,3,3: 92:[25, 81] Operation: 99-18=81
Moving to Node #0,2
Current State: 92:[18, 88, 36], Operations: ['99-63=36']
Exploring Operation: 36-18=18, Resulting Numbers: [88, 18]
Generated Node #0,2,0: 92:[88, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [88, 2]
Generated Node #0,2,1: 92:[88, 2] Operation: 36/18=2
Exploring Operation: 18+36=54, Resulting Numbers: [88, 54]
Generated Node #0,2,2: 92:[88, 54] Operation: 18+36=54
Exploring Operation: 88-36=52, Resulting Numbers: [18, 52]
Generated Node #0,2,3: 92:[18, 52] Operation: 88-36=52
Moving to Node #0,0
Current State: 92:[99, 88, 81], Operations: ['18+63=81']
Exploring Operation: 99-88=11, Resulting Numbers: [81, 11]
Generated Node #0,0,0: 92:[81, 11] Operation: 99-88=11
Exploring Operation: 88-81=7, Resulting Numbers: [99, 7]
Generated Node #0,0,1: 92:[99, 7] Operation: 88-81=7
Exploring Operation: 88+81=169, Resulting Numbers: [99, 169]
Generated Node #0,0,2: 92:[99, 169] Operation: 88+81=169
Exploring Operation: 99-81=18, Resulting Numbers: [88, 18]
Generated Node #0,0,3: 92:[88, 18] Operation: 99-81=18
Moving to Node #0,2,1
Current State: 92:[88, 2], Operations: ['99-63=36', '36/18=2']
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,92 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[45, 11], Operations: ['63-18=45', '99-88=11']
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,92 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[88, 18], Operations: ['18+63=81', '99-81=18']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[88, 18], Operations: ['99-63=36', '36-18=18']
Exploring Operation: 88*18=1584, Resulting Numbers: [1584]
1584,92 unequal: No Solution
Exploring Operation: 88+18=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[99, 7], Operations: ['18+63=81', '88-81=7']
Exploring Operation: 99*7=693, Resulting Numbers: [693]
693,92 unequal: No Solution
Exploring Operation: 99+7=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[18, 63, 99, 88], Operations: []
Exploring Operation: 18+63=81, Resulting Numbers: [99, 88, 81]
Generated Node #0,0: 92:[99, 88, 81] Operation: 18+63=81
Moving to Node #0,0
Current State: 92:[99, 88, 81], Operations: ['18+63=81']
Exploring Operation: 88-81=7, Resulting Numbers: [99, 7]
Generated Node #0,0,1: 92:[99, 7] Operation: 88-81=7
Moving to Node #0,0,1
Current State: 92:[99, 7], Operations: ['18+63=81', '88-81=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.965278 | hs_4 | mult_heuristic |
[
15,
90,
27,
73
] | 29 | [
"90-15=75",
"73-27=46",
"75-46=29"
] | Current State: 29:[15, 90, 27, 73], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [27, 73, 75]
Generated Node #2: [27, 73, 75] from Operation: 90-15=75
Current State: 29:[27, 73, 75], Operations: ['90-15=75']
Exploring Operation: 73-27=46, Resulting Numbers: [75, 46]
Generated Node #3: [75, 46] from Operation: 73-27=46
Current State: 29:[75, 46], Operations: ['90-15=75', '73-27=46']
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[15, 90, 27, 73], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [15, 27, 17]
Generated Node #0,0: 29:[15, 27, 17] Operation: 90-73=17
Moving to Node #0,0
Current State: 29:[15, 27, 17], Operations: ['90-73=17']
Exploring Operation: 15+17=32, Resulting Numbers: [27, 32]
Generated Node #0,0,0: 29:[27, 32] Operation: 15+17=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[27, 32], Operations: ['90-73=17', '15+17=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,29 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.