Datasets:

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
[ 98, 93, 54, 89 ]
38
[ "98+54=152", "93-89=4", "152/4=38" ]
Current State: 38:[98, 93, 54, 89], Operations: [] Exploring Operation: 98+54=152, Resulting Numbers: [93, 89, 152] Generated Node #2: [93, 89, 152] from Operation: 98+54=152 Current State: 38:[93, 89, 152], Operations: ['98+54=152'] Exploring Operation: 93-89=4, Resulting Numbers: [152, 4] Generated Node #3: [152, 4] from Operation: 93-89=4 Current State: 38:[152, 4], Operations: ['98+54=152', '93-89=4'] Exploring Operation: 152/4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[98, 93, 54, 89], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [54, 89, 5] Generated Node #0,0: 38:[54, 89, 5] Operation: 98-93=5 Exploring Operation: 98-89=9, Resulting Numbers: [93, 54, 9] Generated Node #0,1: 38:[93, 54, 9] Operation: 98-89=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[54, 89, 5], Operations: ['98-93=5'] Exploring Operation: 89-54=35, Resulting Numbers: [5, 35] Generated Node #0,0,0: 38:[5, 35] Operation: 89-54=35 Exploring Operation: 54-5=49, Resulting Numbers: [89, 49] Generated Node #0,0,1: 38:[89, 49] Operation: 54-5=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[5, 35], Operations: ['98-93=5', '89-54=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[89, 49], Operations: ['98-93=5', '54-5=49'] Exploring Operation: 89+49=138, Resulting Numbers: [138] 138,38 unequal: No Solution Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[93, 54, 9], Operations: ['98-89=9'] Exploring Operation: 54/9=6, Resulting Numbers: [93, 6] Generated Node #0,1,0: 38:[93, 6] Operation: 54/9=6 Exploring Operation: 93-54=39, Resulting Numbers: [9, 39] Generated Node #0,1,1: 38:[9, 39] Operation: 93-54=39 Moving to Node #0,1,1 Current State: 38:[9, 39], Operations: ['98-89=9', '93-54=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[93, 6], Operations: ['98-89=9', '54/9=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,38 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,38 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
[ 78, 81, 72, 6 ]
69
[ "81-78=3", "72-6=66", "3+66=69" ]
Current State: 69:[78, 81, 72, 6], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [72, 6, 3] Generated Node #2: [72, 6, 3] from Operation: 81-78=3 Current State: 69:[72, 6, 3], Operations: ['81-78=3'] Exploring Operation: 72-6=66, Resulting Numbers: [3, 66] Generated Node #3: [3, 66] from Operation: 72-6=66 Current State: 69:[3, 66], Operations: ['81-78=3', '72-6=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[78, 81, 72, 6], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [72, 6, 3] Generated Node #0,0: 69:[72, 6, 3] Operation: 81-78=3 Moving to Node #0,0 Current State: 69:[72, 6, 3], Operations: ['81-78=3'] Exploring Operation: 72-6=66, Resulting Numbers: [3, 66] Generated Node #0,0,0: 69:[3, 66] Operation: 72-6=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[3, 66], Operations: ['81-78=3', '72-6=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[78, 81, 72, 6], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [72, 6, 3] Generated Node #0,0: 69:[72, 6, 3] Operation: 81-78=3 Moving to Node #0,0 Current State: 69:[72, 6, 3], Operations: ['81-78=3'] Exploring Operation: 72-6=66, Resulting Numbers: [3, 66] Generated Node #0,0,0: 69:[3, 66] Operation: 72-6=66 Moving to Node #0,0,0 Current State: 69:[3, 66], Operations: ['81-78=3', '72-6=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 31, 87, 74 ]
66
[ "31+74=105", "105/5=21", "87-21=66" ]
Current State: 66:[5, 31, 87, 74], Operations: [] Exploring Operation: 31+74=105, Resulting Numbers: [5, 87, 105] Generated Node #2: [5, 87, 105] from Operation: 31+74=105 Current State: 66:[5, 87, 105], Operations: ['31+74=105'] Exploring Operation: 105/5=21, Resulting Numbers: [87, 21] Generated Node #3: [87, 21] from Operation: 105/5=21 Current State: 66:[87, 21], Operations: ['31+74=105', '105/5=21'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[5, 31, 87, 74], Operations: [] Exploring Operation: 74-5=69, Resulting Numbers: [31, 87, 69] Generated Node #0,0: 66:[31, 87, 69] Operation: 74-5=69 Exploring Operation: 5+31=36, Resulting Numbers: [87, 74, 36] Generated Node #0,1: 66:[87, 74, 36] Operation: 5+31=36 Exploring Operation: 87-5=82, Resulting Numbers: [31, 74, 82] Generated Node #0,2: 66:[31, 74, 82] Operation: 87-5=82 Exploring Operation: 87-31=56, Resulting Numbers: [5, 74, 56] Generated Node #0,3: 66:[5, 74, 56] Operation: 87-31=56 Exploring Operation: 87-74=13, Resulting Numbers: [5, 31, 13] Generated Node #0,4: 66:[5, 31, 13] Operation: 87-74=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 66:[5, 31, 13], Operations: ['87-74=13'] Exploring Operation: 31-13=18, Resulting Numbers: [5, 18] Generated Node #0,4,0: 66:[5, 18] Operation: 31-13=18 Exploring Operation: 5*13=65, Resulting Numbers: [31, 65] Generated Node #0,4,1: 66:[31, 65] Operation: 5*13=65 Exploring Operation: 5+31=36, Resulting Numbers: [13, 36] Generated Node #0,4,2: 66:[13, 36] Operation: 5+31=36 Exploring Operation: 31-5=26, Resulting Numbers: [13, 26] Generated Node #0,4,3: 66:[13, 26] Operation: 31-5=26 Exploring Operation: 13-5=8, Resulting Numbers: [31, 8] Generated Node #0,4,4: 66:[31, 8] Operation: 13-5=8 Moving to Node #0,4,1 Current State: 66:[31, 65], Operations: ['87-74=13', '5*13=65'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,66 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,66 unequal: No Solution Moving to Node #0,4,4 Current State: 66:[31, 8], Operations: ['87-74=13', '13-5=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,66 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[5, 18], Operations: ['87-74=13', '31-13=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[13, 36], Operations: ['87-74=13', '5+31=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[13, 26], Operations: ['87-74=13', '31-5=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,66 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[5, 74, 56], Operations: ['87-31=56'] Exploring Operation: 5+74=79, Resulting Numbers: [56, 79] Generated Node #0,3,0: 66:[56, 79] Operation: 5+74=79 Exploring Operation: 5+56=61, Resulting Numbers: [74, 61] Generated Node #0,3,1: 66:[74, 61] Operation: 5+56=61 Exploring Operation: 74-56=18, Resulting Numbers: [5, 18] Generated Node #0,3,2: 66:[5, 18] Operation: 74-56=18 Exploring Operation: 56-5=51, Resulting Numbers: [74, 51] Generated Node #0,3,3: 66:[74, 51] Operation: 56-5=51 Exploring Operation: 74-5=69, Resulting Numbers: [56, 69] Generated Node #0,3,4: 66:[56, 69] Operation: 74-5=69 Moving to Node #0,3,2 Current State: 66:[5, 18], Operations: ['87-31=56', '74-56=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[56, 69], Operations: ['87-31=56', '74-5=69'] Exploring Operation: 56+69=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 56*69=3864, Resulting Numbers: [3864] 3864,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[74, 61], Operations: ['87-31=56', '5+56=61'] Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,66 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 74*61=4514, Resulting Numbers: [4514] 4514,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[56, 79], Operations: ['87-31=56', '5+74=79'] Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,66 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[74, 51], Operations: ['87-31=56', '56-5=51'] Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,66 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[31, 87, 69], Operations: ['74-5=69'] Exploring Operation: 87-69=18, Resulting Numbers: [31, 18] Generated Node #0,0,0: 66:[31, 18] Operation: 87-69=18 Exploring Operation: 31+69=100, Resulting Numbers: [87, 100] Generated Node #0,0,1: 66:[87, 100] Operation: 31+69=100 Exploring Operation: 87-31=56, Resulting Numbers: [69, 56] Generated Node #0,0,2: 66:[69, 56] Operation: 87-31=56 Exploring Operation: 69-31=38, Resulting Numbers: [87, 38] Generated Node #0,0,3: 66:[87, 38] Operation: 69-31=38 Exploring Operation: 31+87=118, Resulting Numbers: [69, 118] Generated Node #0,0,4: 66:[69, 118] Operation: 31+87=118 Moving to Node #0,0,0 Current State: 66:[31, 18], Operations: ['74-5=69', '87-69=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[69, 56], Operations: ['74-5=69', '87-31=56'] Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,66 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[87, 38], Operations: ['74-5=69', '69-31=38'] Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,66 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[87, 100], Operations: ['74-5=69', '31+69=100'] Exploring Operation: 87*100=8700, Resulting Numbers: [8700] 8700,66 unequal: No Solution Exploring Operation: 100-87=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 87+100=187, Resulting Numbers: [187] 187,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[69, 118], Operations: ['74-5=69', '31+87=118'] Exploring Operation: 69+118=187, Resulting Numbers: [187] 187,66 unequal: No Solution Exploring Operation: 118-69=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 69*118=8142, Resulting Numbers: [8142] 8142,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[31, 74, 82], Operations: ['87-5=82'] Exploring Operation: 82-74=8, Resulting Numbers: [31, 8] Generated Node #0,2,0: 66:[31, 8] Operation: 82-74=8 Exploring Operation: 31+74=105, Resulting Numbers: [82, 105] Generated Node #0,2,1: 66:[82, 105] Operation: 31+74=105 Exploring Operation: 31+82=113, Resulting Numbers: [74, 113] Generated Node #0,2,2: 66:[74, 113] Operation: 31+82=113 Exploring Operation: 82-31=51, Resulting Numbers: [74, 51] Generated Node #0,2,3: 66:[74, 51] Operation: 82-31=51 Exploring Operation: 74-31=43, Resulting Numbers: [82, 43] Generated Node #0,2,4: 66:[82, 43] Operation: 74-31=43 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[31, 8], Operations: ['87-5=82', '82-74=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,66 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,66 unequal: No Solution No 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: 66:[74, 51], Operations: ['87-5=82', '82-31=51'] Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,66 unequal: No Solution Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,66 unequal: No Solution No 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: 66:[82, 43], Operations: ['87-5=82', '74-31=43'] Exploring Operation: 82+43=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 82*43=3526, Resulting Numbers: [3526] 3526,66 unequal: No Solution Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,66 unequal: No Solution No 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: 66:[82, 105], Operations: ['87-5=82', '31+74=105'] Exploring Operation: 105-82=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 82*105=8610, Resulting Numbers: [8610] 8610,66 unequal: No Solution Exploring Operation: 82+105=187, Resulting Numbers: [187] 187,66 unequal: No Solution No 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: 66:[74, 113], Operations: ['87-5=82', '31+82=113'] Exploring Operation: 74*113=8362, Resulting Numbers: [8362] 8362,66 unequal: No Solution Exploring Operation: 74+113=187, Resulting Numbers: [187] 187,66 unequal: No Solution Exploring Operation: 113-74=39, Resulting Numbers: [39] 39,66 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: 66:[87, 74, 36], Operations: ['5+31=36'] Exploring Operation: 87-36=51, Resulting Numbers: [74, 51] Generated Node #0,1,0: 66:[74, 51] Operation: 87-36=51 Exploring Operation: 87+36=123, Resulting Numbers: [74, 123] Generated Node #0,1,1: 66:[74, 123] Operation: 87+36=123 Exploring Operation: 74+36=110, Resulting Numbers: [87, 110] Generated Node #0,1,2: 66:[87, 110] Operation: 74+36=110 Exploring Operation: 87-74=13, Resulting Numbers: [36, 13] Generated Node #0,1,3: 66:[36, 13] Operation: 87-74=13 Exploring Operation: 74-36=38, Resulting Numbers: [87, 38] Generated Node #0,1,4: 66:[87, 38] Operation: 74-36=38 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 66:[36, 13], Operations: ['5+31=36', '87-74=13'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,66 unequal: No Solution No 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: 66:[74, 51], Operations: ['5+31=36', '87-36=51'] Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,66 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,66 unequal: No Solution No 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: 66:[87, 38], Operations: ['5+31=36', '74-36=38'] Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,66 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,66 unequal: No Solution No 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: 66:[74, 123], Operations: ['5+31=36', '87+36=123'] Exploring Operation: 123-74=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 74+123=197, Resulting Numbers: [197] 197,66 unequal: No Solution Exploring Operation: 74*123=9102, Resulting Numbers: [9102] 9102,66 unequal: No Solution No 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: 66:[87, 110], Operations: ['5+31=36', '74+36=110'] Exploring Operation: 110-87=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 87+110=197, Resulting Numbers: [197] 197,66 unequal: No Solution Exploring Operation: 87*110=9570, Resulting Numbers: [9570] 9570,66 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
[ 25, 49, 4, 62 ]
48
[ "25+49=74", "74-62=12", "4*12=48" ]
Current State: 48:[25, 49, 4, 62], Operations: [] Exploring Operation: 25+49=74, Resulting Numbers: [4, 62, 74] Generated Node #2: [4, 62, 74] from Operation: 25+49=74 Current State: 48:[4, 62, 74], Operations: ['25+49=74'] Exploring Operation: 74-62=12, Resulting Numbers: [4, 12] Generated Node #3: [4, 12] from Operation: 74-62=12 Current State: 48:[4, 12], Operations: ['25+49=74', '74-62=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[25, 49, 4, 62], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [25, 4, 13] Generated Node #0,0: 48:[25, 4, 13] Operation: 62-49=13 Moving to Node #0,0 Current State: 48:[25, 4, 13], Operations: ['62-49=13'] Exploring Operation: 25-13=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 48:[4, 12] Operation: 25-13=12 Moving to Node #0,0,0 Current State: 48:[4, 12], Operations: ['62-49=13', '25-13=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 16, 55, 31 ]
56
[ "15+16=31", "31/31=1", "55+1=56" ]
Current State: 56:[15, 16, 55, 31], Operations: [] Exploring Operation: 15+16=31, Resulting Numbers: [55, 31, 31] Generated Node #2: [55, 31, 31] from Operation: 15+16=31 Current State: 56:[55, 31, 31], Operations: ['15+16=31'] Exploring Operation: 31/31=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 31/31=1 Current State: 56:[55, 1], Operations: ['15+16=31', '31/31=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[15, 16, 55, 31], Operations: [] Exploring Operation: 15+16=31, Resulting Numbers: [55, 31, 31] Generated Node #0,0: 56:[55, 31, 31] Operation: 15+16=31 Exploring Operation: 31-16=15, Resulting Numbers: [15, 55, 15] Generated Node #0,1: 56:[15, 55, 15] Operation: 31-16=15 Exploring Operation: 31-15=16, Resulting Numbers: [16, 55, 16] Generated Node #0,2: 56:[16, 55, 16] Operation: 31-15=16 Exploring Operation: 16-15=1, Resulting Numbers: [55, 31, 1] Generated Node #0,3: 56:[55, 31, 1] Operation: 16-15=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[15, 55, 15], Operations: ['31-16=15'] Exploring Operation: 15-15=0, Resulting Numbers: [55, 0] Generated Node #0,1,0: 56:[55, 0] Operation: 15-15=0 Exploring Operation: 15/15=1, Resulting Numbers: [55, 1] Generated Node #0,1,1: 56:[55, 1] Operation: 15/15=1 Exploring Operation: 15+15=30, Resulting Numbers: [55, 30] Generated Node #0,1,2: 56:[55, 30] Operation: 15+15=30 Exploring Operation: 55-15=40, Resulting Numbers: [15, 40] Generated Node #0,1,3: 56:[15, 40] Operation: 55-15=40 Moving to Node #0,1,1 Current State: 56:[55, 1], Operations: ['31-16=15', '15/15=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[15, 16, 55, 31], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [15, 55, 15] Generated Node #0,1: 56:[15, 55, 15] Operation: 31-16=15 Moving to Node #0,1 Current State: 56:[15, 55, 15], Operations: ['31-16=15'] Exploring Operation: 15/15=1, Resulting Numbers: [55, 1] Generated Node #0,1,1: 56:[55, 1] Operation: 15/15=1 Moving to Node #0,1,1 Current State: 56:[55, 1], Operations: ['31-16=15', '15/15=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 86, 15, 6, 56 ]
14
[ "15*6=90", "90-86=4", "56/4=14" ]
Current State: 14:[86, 15, 6, 56], Operations: [] Exploring Operation: 15*6=90, Resulting Numbers: [86, 56, 90] Generated Node #2: [86, 56, 90] from Operation: 15*6=90 Current State: 14:[86, 56, 90], Operations: ['15*6=90'] Exploring Operation: 90-86=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 90-86=4 Current State: 14:[56, 4], Operations: ['15*6=90', '90-86=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[86, 15, 6, 56], Operations: [] Exploring Operation: 86-56=30, Resulting Numbers: [15, 6, 30] Generated Node #0,0: 14:[15, 6, 30] Operation: 86-56=30 Moving to Node #0,0 Current State: 14:[15, 6, 30], Operations: ['86-56=30'] Exploring Operation: 30/15=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 14:[6, 2] Operation: 30/15=2 Moving to Node #0,0,0 Current State: 14:[6, 2], Operations: ['86-56=30', '30/15=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 50, 95, 5, 75 ]
66
[ "95-50=45", "45/5=9", "75-9=66" ]
Current State: 66:[50, 95, 5, 75], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [5, 75, 45] Generated Node #2: [5, 75, 45] from Operation: 95-50=45 Current State: 66:[5, 75, 45], Operations: ['95-50=45'] Exploring Operation: 45/5=9, Resulting Numbers: [75, 9] Generated Node #3: [75, 9] from Operation: 45/5=9 Current State: 66:[75, 9], Operations: ['95-50=45', '45/5=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[50, 95, 5, 75], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [50, 5, 20] Generated Node #0,0: 66:[50, 5, 20] Operation: 95-75=20 Exploring Operation: 95-50=45, Resulting Numbers: [5, 75, 45] Generated Node #0,1: 66:[5, 75, 45] Operation: 95-50=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[50, 5, 20], Operations: ['95-75=20'] Exploring Operation: 50-20=30, Resulting Numbers: [5, 30] Generated Node #0,0,0: 66:[5, 30] Operation: 50-20=30 Exploring Operation: 50/5=10, Resulting Numbers: [20, 10] Generated Node #0,0,1: 66:[20, 10] Operation: 50/5=10 Moving to Node #0,0,1 Current State: 66:[20, 10], Operations: ['95-75=20', '50/5=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[5, 30], Operations: ['95-75=20', '50-20=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[5, 75, 45], Operations: ['95-50=45'] Exploring Operation: 75-45=30, Resulting Numbers: [5, 30] Generated Node #0,1,0: 66:[5, 30] Operation: 75-45=30 Exploring Operation: 45/5=9, Resulting Numbers: [75, 9] Generated Node #0,1,1: 66:[75, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[5, 30], Operations: ['95-50=45', '75-45=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,66 unequal: No Solution No 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: 66:[75, 9], Operations: ['95-50=45', '45/5=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[50, 95, 5, 75], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [5, 75, 45] Generated Node #0,1: 66:[5, 75, 45] Operation: 95-50=45 Moving to Node #0,1 Current State: 66:[5, 75, 45], Operations: ['95-50=45'] Exploring Operation: 45/5=9, Resulting Numbers: [75, 9] Generated Node #0,1,1: 66:[75, 9] Operation: 45/5=9 Moving to Node #0,1,1 Current State: 66:[75, 9], Operations: ['95-50=45', '45/5=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 55, 28, 8, 21 ]
13
[ "55+28=83", "21+83=104", "104/8=13" ]
Current State: 13:[55, 28, 8, 21], Operations: [] Exploring Operation: 55+28=83, Resulting Numbers: [8, 21, 83] Generated Node #2: [8, 21, 83] from Operation: 55+28=83 Current State: 13:[8, 21, 83], Operations: ['55+28=83'] Exploring Operation: 21+83=104, Resulting Numbers: [8, 104] Generated Node #3: [8, 104] from Operation: 21+83=104 Current State: 13:[8, 104], Operations: ['55+28=83', '21+83=104'] Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[55, 28, 8, 21], Operations: [] Exploring Operation: 55-28=27, Resulting Numbers: [8, 21, 27] Generated Node #0,0: 13:[8, 21, 27] Operation: 55-28=27 Exploring Operation: 55-21=34, Resulting Numbers: [28, 8, 34] Generated Node #0,1: 13:[28, 8, 34] Operation: 55-21=34 Exploring Operation: 28-21=7, Resulting Numbers: [55, 8, 7] Generated Node #0,2: 13:[55, 8, 7] Operation: 28-21=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[8, 21, 27], Operations: ['55-28=27'] Exploring Operation: 27-8=19, Resulting Numbers: [21, 19] Generated Node #0,0,0: 13:[21, 19] Operation: 27-8=19 Exploring Operation: 21-8=13, Resulting Numbers: [27, 13] Generated Node #0,0,1: 13:[27, 13] Operation: 21-8=13 Exploring Operation: 27-21=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 13:[8, 6] Operation: 27-21=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[8, 6], Operations: ['55-28=27', '27-21=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[21, 19], Operations: ['55-28=27', '27-8=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[27, 13], Operations: ['55-28=27', '21-8=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,13 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,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,1 Current State: 13:[28, 8, 34], Operations: ['55-21=34'] Exploring Operation: 34-28=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 13:[8, 6] Operation: 34-28=6 Exploring Operation: 28-8=20, Resulting Numbers: [34, 20] Generated Node #0,1,1: 13:[34, 20] Operation: 28-8=20 Exploring Operation: 34-8=26, Resulting Numbers: [28, 26] Generated Node #0,1,2: 13:[28, 26] Operation: 34-8=26 Moving to Node #0,1,0 Current State: 13:[8, 6], Operations: ['55-21=34', '34-28=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[34, 20], Operations: ['55-21=34', '28-8=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[28, 26], Operations: ['55-21=34', '34-8=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,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:[55, 8, 7], Operations: ['28-21=7'] Exploring Operation: 55-7=48, Resulting Numbers: [8, 48] Generated Node #0,2,0: 13:[8, 48] Operation: 55-7=48 Exploring Operation: 8+7=15, Resulting Numbers: [55, 15] Generated Node #0,2,1: 13:[55, 15] Operation: 8+7=15 Exploring Operation: 55-8=47, Resulting Numbers: [7, 47] Generated Node #0,2,2: 13:[7, 47] Operation: 55-8=47 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[8, 48], Operations: ['28-21=7', '55-7=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 13:[7, 47], Operations: ['28-21=7', '55-8=47'] Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,13 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,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:[55, 15], Operations: ['28-21=7', '8+7=15'] Exploring Operation: 55*15=825, Resulting Numbers: [825] 825,13 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,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_3
mult_heuristic
[ 96, 1, 60, 70 ]
85
[ "96-1=95", "70-60=10", "95-10=85" ]
Current State: 85:[96, 1, 60, 70], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [60, 70, 95] Generated Node #2: [60, 70, 95] from Operation: 96-1=95 Current State: 85:[60, 70, 95], Operations: ['96-1=95'] Exploring Operation: 70-60=10, Resulting Numbers: [95, 10] Generated Node #3: [95, 10] from Operation: 70-60=10 Current State: 85:[95, 10], Operations: ['96-1=95', '70-60=10'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[96, 1, 60, 70], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [60, 70, 95] Generated Node #0,0: 85:[60, 70, 95] Operation: 96-1=95 Exploring Operation: 96-70=26, Resulting Numbers: [1, 60, 26] Generated Node #0,1: 85:[1, 60, 26] Operation: 96-70=26 Exploring Operation: 70-60=10, Resulting Numbers: [96, 1, 10] Generated Node #0,2: 85:[96, 1, 10] Operation: 70-60=10 Exploring Operation: 96-60=36, Resulting Numbers: [1, 70, 36] Generated Node #0,3: 85:[1, 70, 36] Operation: 96-60=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[96, 1, 10], Operations: ['70-60=10'] Exploring Operation: 96-10=86, Resulting Numbers: [1, 86] Generated Node #0,2,0: 85:[1, 86] Operation: 96-10=86 Exploring Operation: 96*1=96, Resulting Numbers: [10, 96] Generated Node #0,2,1: 85:[10, 96] Operation: 96*1=96 Exploring Operation: 10-1=9, Resulting Numbers: [96, 9] Generated Node #0,2,2: 85:[96, 9] Operation: 10-1=9 Exploring Operation: 96-1=95, Resulting Numbers: [10, 95] Generated Node #0,2,3: 85:[10, 95] Operation: 96-1=95 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[1, 86], Operations: ['70-60=10', '96-10=86'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[96, 1, 60, 70], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [96, 1, 10] Generated Node #0,2: 85:[96, 1, 10] Operation: 70-60=10 Moving to Node #0,2 Current State: 85:[96, 1, 10], Operations: ['70-60=10'] Exploring Operation: 96-10=86, Resulting Numbers: [1, 86] Generated Node #0,2,0: 85:[1, 86] Operation: 96-10=86 Moving to Node #0,2,0 Current State: 85:[1, 86], Operations: ['70-60=10', '96-10=86'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 27, 56, 19, 15 ]
52
[ "19-15=4", "27*4=108", "108-56=52" ]
Current State: 52:[27, 56, 19, 15], Operations: [] Exploring Operation: 19-15=4, Resulting Numbers: [27, 56, 4] Generated Node #2: [27, 56, 4] from Operation: 19-15=4 Current State: 52:[27, 56, 4], Operations: ['19-15=4'] Exploring Operation: 27*4=108, Resulting Numbers: [56, 108] Generated Node #3: [56, 108] from Operation: 27*4=108 Current State: 52:[56, 108], Operations: ['19-15=4', '27*4=108'] Exploring Operation: 108-56=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[27, 56, 19, 15], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [56, 15, 8] Generated Node #0,0: 52:[56, 15, 8] Operation: 27-19=8 Exploring Operation: 19-15=4, Resulting Numbers: [27, 56, 4] Generated Node #0,1: 52:[27, 56, 4] Operation: 19-15=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[27, 56, 4], Operations: ['19-15=4'] Exploring Operation: 56/4=14, Resulting Numbers: [27, 14] Generated Node #0,1,0: 52:[27, 14] Operation: 56/4=14 Exploring Operation: 56-4=52, Resulting Numbers: [27, 52] Generated Node #0,1,1: 52:[27, 52] Operation: 56-4=52 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[27, 52], Operations: ['19-15=4', '56-4=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[27, 14], Operations: ['19-15=4', '56/4=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[56, 15, 8], Operations: ['27-19=8'] Exploring Operation: 56-8=48, Resulting Numbers: [15, 48] Generated Node #0,0,0: 52:[15, 48] Operation: 56-8=48 Exploring Operation: 56/8=7, Resulting Numbers: [15, 7] Generated Node #0,0,1: 52:[15, 7] Operation: 56/8=7 Moving to Node #0,0,1 Current State: 52:[15, 7], Operations: ['27-19=8', '56/8=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[15, 48], Operations: ['27-19=8', '56-8=48'] Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,52 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
[ 71, 94, 94, 52 ]
18
[ "71-52=19", "94/94=1", "19-1=18" ]
Current State: 18:[71, 94, 94, 52], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [94, 94, 19] Generated Node #2: [94, 94, 19] from Operation: 71-52=19 Current State: 18:[94, 94, 19], Operations: ['71-52=19'] Exploring Operation: 94/94=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 94/94=1 Current State: 18:[19, 1], Operations: ['71-52=19', '94/94=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[71, 94, 94, 52], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [71, 52, 1] Generated Node #0,0: 18:[71, 52, 1] Operation: 94/94=1 Exploring Operation: 94-71=23, Resulting Numbers: [94, 52, 23] Generated Node #0,1: 18:[94, 52, 23] Operation: 94-71=23 Exploring Operation: 94-94=0, Resulting Numbers: [71, 52, 0] Generated Node #0,2: 18:[71, 52, 0] Operation: 94-94=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[71, 52, 1], Operations: ['94/94=1'] Exploring Operation: 52-1=51, Resulting Numbers: [71, 51] Generated Node #0,0,0: 18:[71, 51] Operation: 52-1=51 Exploring Operation: 71-52=19, Resulting Numbers: [1, 19] Generated Node #0,0,1: 18:[1, 19] Operation: 71-52=19 Exploring Operation: 71-1=70, Resulting Numbers: [52, 70] Generated Node #0,0,2: 18:[52, 70] Operation: 71-1=70 Moving to Node #0,0,1 Current State: 18:[1, 19], Operations: ['94/94=1', '71-52=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[71, 94, 94, 52], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [71, 52, 1] Generated Node #0,0: 18:[71, 52, 1] Operation: 94/94=1 Moving to Node #0,0 Current State: 18:[71, 52, 1], Operations: ['94/94=1'] Exploring Operation: 71-52=19, Resulting Numbers: [1, 19] Generated Node #0,0,1: 18:[1, 19] Operation: 71-52=19 Moving to Node #0,0,1 Current State: 18:[1, 19], Operations: ['94/94=1', '71-52=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 50, 20, 34, 4 ]
89
[ "50+34=84", "20/4=5", "84+5=89" ]
Current State: 89:[50, 20, 34, 4], Operations: [] Exploring Operation: 50+34=84, Resulting Numbers: [20, 4, 84] Generated Node #2: [20, 4, 84] from Operation: 50+34=84 Current State: 89:[20, 4, 84], Operations: ['50+34=84'] Exploring Operation: 20/4=5, Resulting Numbers: [84, 5] Generated Node #3: [84, 5] from Operation: 20/4=5 Current State: 89:[84, 5], Operations: ['50+34=84', '20/4=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[50, 20, 34, 4], Operations: [] Exploring Operation: 20*4=80, Resulting Numbers: [50, 34, 80] Generated Node #0,0: 89:[50, 34, 80] Operation: 20*4=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[50, 34, 80], Operations: ['20*4=80'] Exploring Operation: 50+34=84, Resulting Numbers: [80, 84] Generated Node #0,0,0: 89:[80, 84] Operation: 50+34=84 Moving to Node #0,0,0 Current State: 89:[80, 84], Operations: ['20*4=80', '50+34=84'] Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 3, 53, 67 ]
38
[ "67-53=14", "3*14=42", "42-4=38" ]
Current State: 38:[4, 3, 53, 67], Operations: [] Exploring Operation: 67-53=14, Resulting Numbers: [4, 3, 14] Generated Node #2: [4, 3, 14] from Operation: 67-53=14 Current State: 38:[4, 3, 14], Operations: ['67-53=14'] Exploring Operation: 3*14=42, Resulting Numbers: [4, 42] Generated Node #3: [4, 42] from Operation: 3*14=42 Current State: 38:[4, 42], Operations: ['67-53=14', '3*14=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[4, 3, 53, 67], Operations: [] Exploring Operation: 67-4=63, Resulting Numbers: [3, 53, 63] Generated Node #0,0: 38:[3, 53, 63] Operation: 67-4=63 Exploring Operation: 67-53=14, Resulting Numbers: [4, 3, 14] Generated Node #0,1: 38:[4, 3, 14] Operation: 67-53=14 Exploring Operation: 53-4=49, Resulting Numbers: [3, 67, 49] Generated Node #0,2: 38:[3, 67, 49] Operation: 53-4=49 Moving to Node #0,1 Current State: 38:[4, 3, 14], Operations: ['67-53=14'] Exploring Operation: 4-3=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 38:[14, 1] Operation: 4-3=1 Exploring Operation: 3+14=17, Resulting Numbers: [4, 17] Generated Node #0,1,1: 38:[4, 17] Operation: 3+14=17 Exploring Operation: 4+14=18, Resulting Numbers: [3, 18] Generated Node #0,1,2: 38:[3, 18] Operation: 4+14=18 Moving to Node #0,0 Current State: 38:[3, 53, 63], Operations: ['67-4=63'] Exploring Operation: 63-53=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 38:[3, 10] Operation: 63-53=10 Exploring Operation: 63/3=21, Resulting Numbers: [53, 21] Generated Node #0,0,1: 38:[53, 21] Operation: 63/3=21 Exploring Operation: 53-3=50, Resulting Numbers: [63, 50] Generated Node #0,0,2: 38:[63, 50] Operation: 53-3=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[3, 10], Operations: ['67-4=63', '63-53=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,38 unequal: No Solution No 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: 38:[53, 21], Operations: ['67-4=63', '63/3=21'] Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,38 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,38 unequal: No Solution No 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: 38:[63, 50], Operations: ['67-4=63', '53-3=50'] Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,38 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,38 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,38 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: 38:[3, 67, 49], Operations: ['53-4=49'] Exploring Operation: 67-3=64, Resulting Numbers: [49, 64] Generated Node #0,2,0: 38:[49, 64] Operation: 67-3=64 Exploring Operation: 49-3=46, Resulting Numbers: [67, 46] Generated Node #0,2,1: 38:[67, 46] Operation: 49-3=46 Exploring Operation: 67-49=18, Resulting Numbers: [3, 18] Generated Node #0,2,2: 38:[3, 18] Operation: 67-49=18 Moving to Node #0,1,2 Current State: 38:[3, 18], Operations: ['67-53=14', '4+14=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[3, 18], Operations: ['53-4=49', '67-49=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[4, 17], Operations: ['67-53=14', '3+14=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[14, 1], Operations: ['67-53=14', '4-3=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[67, 46], Operations: ['53-4=49', '49-3=46'] Exploring Operation: 67*46=3082, Resulting Numbers: [3082] 3082,38 unequal: No Solution Exploring Operation: 67+46=113, Resulting Numbers: [113] 113,38 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[49, 64], Operations: ['53-4=49', '67-3=64'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,38 unequal: No Solution Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,38 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 38, 70, 79, 93 ]
46
[ "70-38=32", "93-79=14", "32+14=46" ]
Current State: 46:[38, 70, 79, 93], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [79, 93, 32] Generated Node #2: [79, 93, 32] from Operation: 70-38=32 Current State: 46:[79, 93, 32], Operations: ['70-38=32'] Exploring Operation: 93-79=14, Resulting Numbers: [32, 14] Generated Node #3: [32, 14] from Operation: 93-79=14 Current State: 46:[32, 14], Operations: ['70-38=32', '93-79=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[38, 70, 79, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [38, 70, 14] Generated Node #0,0: 46:[38, 70, 14] Operation: 93-79=14 Exploring Operation: 93-70=23, Resulting Numbers: [38, 79, 23] Generated Node #0,1: 46:[38, 79, 23] Operation: 93-70=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[38, 70, 14], Operations: ['93-79=14'] Exploring Operation: 70/14=5, Resulting Numbers: [38, 5] Generated Node #0,0,0: 46:[38, 5] Operation: 70/14=5 Exploring Operation: 70-38=32, Resulting Numbers: [14, 32] Generated Node #0,0,1: 46:[14, 32] Operation: 70-38=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[38, 5], Operations: ['93-79=14', '70/14=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,46 unequal: No Solution No 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: 46:[14, 32], Operations: ['93-79=14', '70-38=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[38, 70, 79, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [38, 70, 14] Generated Node #0,0: 46:[38, 70, 14] Operation: 93-79=14 Moving to Node #0,0 Current State: 46:[38, 70, 14], Operations: ['93-79=14'] Exploring Operation: 70-38=32, Resulting Numbers: [14, 32] Generated Node #0,0,1: 46:[14, 32] Operation: 70-38=32 Moving to Node #0,0,1 Current State: 46:[14, 32], Operations: ['93-79=14', '70-38=32'] Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 94, 85, 83, 17 ]
70
[ "94-85=9", "17*9=153", "153-83=70" ]
Current State: 70:[94, 85, 83, 17], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [83, 17, 9] Generated Node #2: [83, 17, 9] from Operation: 94-85=9 Current State: 70:[83, 17, 9], Operations: ['94-85=9'] Exploring Operation: 17*9=153, Resulting Numbers: [83, 153] Generated Node #3: [83, 153] from Operation: 17*9=153 Current State: 70:[83, 153], Operations: ['94-85=9', '17*9=153'] Exploring Operation: 153-83=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[94, 85, 83, 17], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [83, 17, 9] Generated Node #0,0: 70:[83, 17, 9] Operation: 94-85=9 Exploring Operation: 94-83=11, Resulting Numbers: [85, 17, 11] Generated Node #0,1: 70:[85, 17, 11] Operation: 94-83=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[83, 17, 9], Operations: ['94-85=9'] Exploring Operation: 83-17=66, Resulting Numbers: [9, 66] Generated Node #0,0,0: 70:[9, 66] Operation: 83-17=66 Exploring Operation: 83-9=74, Resulting Numbers: [17, 74] Generated Node #0,0,1: 70:[17, 74] Operation: 83-9=74 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[9, 66], Operations: ['94-85=9', '83-17=66'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,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,0,1 Current State: 70:[17, 74], Operations: ['94-85=9', '83-9=74'] Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 17+74=91, Resulting Numbers: [91] 91,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:[85, 17, 11], Operations: ['94-83=11'] Exploring Operation: 85-17=68, Resulting Numbers: [11, 68] Generated Node #0,1,0: 70:[11, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [11, 5] Generated Node #0,1,1: 70:[11, 5] Operation: 85/17=5 Moving to Node #0,1,1 Current State: 70:[11, 5], Operations: ['94-83=11', '85/17=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[11, 68], Operations: ['94-83=11', '85-17=68'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 6, 4, 61, 11 ]
26
[ "6*4=24", "61-11=50", "50-24=26" ]
Current State: 26:[6, 4, 61, 11], Operations: [] Exploring Operation: 6*4=24, Resulting Numbers: [61, 11, 24] Generated Node #2: [61, 11, 24] from Operation: 6*4=24 Current State: 26:[61, 11, 24], Operations: ['6*4=24'] Exploring Operation: 61-11=50, Resulting Numbers: [24, 50] Generated Node #3: [24, 50] from Operation: 61-11=50 Current State: 26:[24, 50], Operations: ['6*4=24', '61-11=50'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[6, 4, 61, 11], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [61, 11, 2] Generated Node #0,0: 26:[61, 11, 2] Operation: 6-4=2 Exploring Operation: 61-4=57, Resulting Numbers: [6, 11, 57] Generated Node #0,1: 26:[6, 11, 57] Operation: 61-4=57 Exploring Operation: 61-6=55, Resulting Numbers: [4, 11, 55] Generated Node #0,2: 26:[4, 11, 55] Operation: 61-6=55 Exploring Operation: 61-11=50, Resulting Numbers: [6, 4, 50] Generated Node #0,3: 26:[6, 4, 50] Operation: 61-11=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[6, 4, 50], Operations: ['61-11=50'] Exploring Operation: 50-4=46, Resulting Numbers: [6, 46] Generated Node #0,3,0: 26:[6, 46] Operation: 50-4=46 Exploring Operation: 6*4=24, Resulting Numbers: [50, 24] Generated Node #0,3,1: 26:[50, 24] Operation: 6*4=24 Exploring Operation: 6-4=2, Resulting Numbers: [50, 2] Generated Node #0,3,2: 26:[50, 2] Operation: 6-4=2 Exploring Operation: 50-6=44, Resulting Numbers: [4, 44] Generated Node #0,3,3: 26:[4, 44] Operation: 50-6=44 Moving to Node #0,3,3 Current State: 26:[4, 44], Operations: ['61-11=50', '50-6=44'] Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,26 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[50, 2], Operations: ['61-11=50', '6-4=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,26 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[6, 46], Operations: ['61-11=50', '50-4=46'] Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,26 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[50, 24], Operations: ['61-11=50', '6*4=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[6, 4, 61, 11], Operations: [] Exploring Operation: 61-11=50, Resulting Numbers: [6, 4, 50] Generated Node #0,3: 26:[6, 4, 50] Operation: 61-11=50 Moving to Node #0,3 Current State: 26:[6, 4, 50], Operations: ['61-11=50'] Exploring Operation: 6*4=24, Resulting Numbers: [50, 24] Generated Node #0,3,1: 26:[50, 24] Operation: 6*4=24 Moving to Node #0,3,1 Current State: 26:[50, 24], Operations: ['61-11=50', '6*4=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 90, 33, 60, 10 ]
44
[ "90-10=80", "33*80=2640", "2640/60=44" ]
Current State: 44:[90, 33, 60, 10], Operations: [] Exploring Operation: 90-10=80, Resulting Numbers: [33, 60, 80] Generated Node #2: [33, 60, 80] from Operation: 90-10=80 Current State: 44:[33, 60, 80], Operations: ['90-10=80'] Exploring Operation: 33*80=2640, Resulting Numbers: [60, 2640] Generated Node #3: [60, 2640] from Operation: 33*80=2640 Current State: 44:[60, 2640], Operations: ['90-10=80', '33*80=2640'] Exploring Operation: 2640/60=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[90, 33, 60, 10], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [33, 10, 30] Generated Node #0,0: 44:[33, 10, 30] Operation: 90-60=30 Moving to Node #0,0 Current State: 44:[33, 10, 30], Operations: ['90-60=30'] Exploring Operation: 33-30=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 44:[10, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[10, 3], Operations: ['90-60=30', '33-30=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 99, 1, 20, 46 ]
72
[ "99-1=98", "46-20=26", "98-26=72" ]
Current State: 72:[99, 1, 20, 46], Operations: [] Exploring Operation: 99-1=98, Resulting Numbers: [20, 46, 98] Generated Node #2: [20, 46, 98] from Operation: 99-1=98 Current State: 72:[20, 46, 98], Operations: ['99-1=98'] Exploring Operation: 46-20=26, Resulting Numbers: [98, 26] Generated Node #3: [98, 26] from Operation: 46-20=26 Current State: 72:[98, 26], Operations: ['99-1=98', '46-20=26'] Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[99, 1, 20, 46], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [1, 46, 79] Generated Node #0,0: 72:[1, 46, 79] Operation: 99-20=79 Exploring Operation: 99-46=53, Resulting Numbers: [1, 20, 53] Generated Node #0,1: 72:[1, 20, 53] Operation: 99-46=53 Moving to Node #0,0 Current State: 72:[1, 46, 79], Operations: ['99-20=79'] Exploring Operation: 79-46=33, Resulting Numbers: [1, 33] Generated Node #0,0,0: 72:[1, 33] Operation: 79-46=33 Exploring Operation: 46-1=45, Resulting Numbers: [79, 45] Generated Node #0,0,1: 72:[79, 45] Operation: 46-1=45 Moving to Node #0,1 Current State: 72:[1, 20, 53], Operations: ['99-46=53'] Exploring Operation: 20+53=73, Resulting Numbers: [1, 73] Generated Node #0,1,0: 72:[1, 73] Operation: 20+53=73 Exploring Operation: 53-20=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 72:[1, 33] Operation: 53-20=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[1, 73], Operations: ['99-46=53', '20+53=73'] Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[99, 1, 20, 46], Operations: [] Exploring Operation: 99-46=53, Resulting Numbers: [1, 20, 53] Generated Node #0,1: 72:[1, 20, 53] Operation: 99-46=53 Moving to Node #0,1 Current State: 72:[1, 20, 53], Operations: ['99-46=53'] Exploring Operation: 20+53=73, Resulting Numbers: [1, 73] Generated Node #0,1,0: 72:[1, 73] Operation: 20+53=73 Moving to Node #0,1,0 Current State: 72:[1, 73], Operations: ['99-46=53', '20+53=73'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 83, 82, 72, 91 ]
74
[ "83*82=6806", "6806-72=6734", "6734/91=74" ]
Current State: 74:[83, 82, 72, 91], Operations: [] Exploring Operation: 83*82=6806, Resulting Numbers: [72, 91, 6806] Generated Node #2: [72, 91, 6806] from Operation: 83*82=6806 Current State: 74:[72, 91, 6806], Operations: ['83*82=6806'] Exploring Operation: 6806-72=6734, Resulting Numbers: [91, 6734] Generated Node #3: [91, 6734] from Operation: 6806-72=6734 Current State: 74:[91, 6734], Operations: ['83*82=6806', '6806-72=6734'] Exploring Operation: 6734/91=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[83, 82, 72, 91], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [82, 72, 8] Generated Node #0,0: 74:[82, 72, 8] Operation: 91-83=8 Exploring Operation: 91-82=9, Resulting Numbers: [83, 72, 9] Generated Node #0,1: 74:[83, 72, 9] Operation: 91-82=9 Moving to Node #0,0 Current State: 74:[82, 72, 8], Operations: ['91-83=8'] Exploring Operation: 82-8=74, Resulting Numbers: [72, 74] Generated Node #0,0,0: 74:[72, 74] Operation: 82-8=74 Exploring Operation: 82-72=10, Resulting Numbers: [8, 10] Generated Node #0,0,1: 74:[8, 10] Operation: 82-72=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[72, 74], Operations: ['91-83=8', '82-8=74'] Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,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:[8, 10], Operations: ['91-83=8', '82-72=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,74 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,74 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: 74:[83, 72, 9], Operations: ['91-82=9'] Exploring Operation: 72/9=8, Resulting Numbers: [83, 8] Generated Node #0,1,0: 74:[83, 8] Operation: 72/9=8 Exploring Operation: 83-9=74, Resulting Numbers: [72, 74] Generated Node #0,1,1: 74:[72, 74] Operation: 83-9=74 Moving to Node #0,1,1 Current State: 74:[72, 74], Operations: ['91-82=9', '83-9=74'] Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[83, 8], Operations: ['91-82=9', '72/9=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,74 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 68, 76, 54, 98 ]
34
[ "68*76=5168", "54+98=152", "5168/152=34" ]
Current State: 34:[68, 76, 54, 98], Operations: [] Exploring Operation: 68*76=5168, Resulting Numbers: [54, 98, 5168] Generated Node #2: [54, 98, 5168] from Operation: 68*76=5168 Current State: 34:[54, 98, 5168], Operations: ['68*76=5168'] Exploring Operation: 54+98=152, Resulting Numbers: [5168, 152] Generated Node #3: [5168, 152] from Operation: 54+98=152 Current State: 34:[5168, 152], Operations: ['68*76=5168', '54+98=152'] Exploring Operation: 5168/152=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[68, 76, 54, 98], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [68, 54, 22] Generated Node #0,0: 34:[68, 54, 22] Operation: 98-76=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[68, 54, 22], Operations: ['98-76=22'] Exploring Operation: 68-54=14, Resulting Numbers: [22, 14] Generated Node #0,0,0: 34:[22, 14] Operation: 68-54=14 Moving to Node #0,0,0 Current State: 34:[22, 14], Operations: ['98-76=22', '68-54=14'] Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,34 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
[ 2, 71, 62, 65 ]
70
[ "2+71=73", "65-62=3", "73-3=70" ]
Current State: 70:[2, 71, 62, 65], Operations: [] Exploring Operation: 2+71=73, Resulting Numbers: [62, 65, 73] Generated Node #2: [62, 65, 73] from Operation: 2+71=73 Current State: 70:[62, 65, 73], Operations: ['2+71=73'] Exploring Operation: 65-62=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 65-62=3 Current State: 70:[73, 3], Operations: ['2+71=73', '65-62=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[2, 71, 62, 65], Operations: [] Exploring Operation: 2+62=64, Resulting Numbers: [71, 65, 64] Generated Node #0,0: 70:[71, 65, 64] Operation: 2+62=64 Exploring Operation: 71-62=9, Resulting Numbers: [2, 65, 9] Generated Node #0,1: 70:[2, 65, 9] Operation: 71-62=9 Exploring Operation: 62/2=31, Resulting Numbers: [71, 65, 31] Generated Node #0,2: 70:[71, 65, 31] Operation: 62/2=31 Exploring Operation: 65-62=3, Resulting Numbers: [2, 71, 3] Generated Node #0,3: 70:[2, 71, 3] Operation: 65-62=3 Exploring Operation: 71-65=6, Resulting Numbers: [2, 62, 6] Generated Node #0,4: 70:[2, 62, 6] Operation: 71-65=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[2, 71, 3], Operations: ['65-62=3'] Exploring Operation: 2+3=5, Resulting Numbers: [71, 5] Generated Node #0,3,0: 70:[71, 5] Operation: 2+3=5 Exploring Operation: 71-3=68, Resulting Numbers: [2, 68] Generated Node #0,3,1: 70:[2, 68] Operation: 71-3=68 Exploring Operation: 71-2=69, Resulting Numbers: [3, 69] Generated Node #0,3,2: 70:[3, 69] Operation: 71-2=69 Exploring Operation: 2*3=6, Resulting Numbers: [71, 6] Generated Node #0,3,3: 70:[71, 6] Operation: 2*3=6 Exploring Operation: 3-2=1, Resulting Numbers: [71, 1] Generated Node #0,3,4: 70:[71, 1] Operation: 3-2=1 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 70:[71, 5], Operations: ['65-62=3', '2+3=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,70 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,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,3,1 Current State: 70:[2, 68], Operations: ['65-62=3', '71-3=68'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,70 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[2, 71, 62, 65], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [2, 71, 3] Generated Node #0,3: 70:[2, 71, 3] Operation: 65-62=3 Moving to Node #0,3 Current State: 70:[2, 71, 3], Operations: ['65-62=3'] Exploring Operation: 71-3=68, Resulting Numbers: [2, 68] Generated Node #0,3,1: 70:[2, 68] Operation: 71-3=68 Moving to Node #0,3,1 Current State: 70:[2, 68], Operations: ['65-62=3', '71-3=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 54, 48, 11, 8 ]
71
[ "54+11=65", "48/8=6", "65+6=71" ]
Current State: 71:[54, 48, 11, 8], Operations: [] Exploring Operation: 54+11=65, Resulting Numbers: [48, 8, 65] Generated Node #2: [48, 8, 65] from Operation: 54+11=65 Current State: 71:[48, 8, 65], Operations: ['54+11=65'] Exploring Operation: 48/8=6, Resulting Numbers: [65, 6] Generated Node #3: [65, 6] from Operation: 48/8=6 Current State: 71:[65, 6], Operations: ['54+11=65', '48/8=6'] Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[54, 48, 11, 8], Operations: [] Exploring Operation: 54+8=62, Resulting Numbers: [48, 11, 62] Generated Node #0,0: 71:[48, 11, 62] Operation: 54+8=62 Exploring Operation: 11*8=88, Resulting Numbers: [54, 48, 88] Generated Node #0,1: 71:[54, 48, 88] Operation: 11*8=88 Exploring Operation: 54+11=65, Resulting Numbers: [48, 8, 65] Generated Node #0,2: 71:[48, 8, 65] Operation: 54+11=65 Exploring Operation: 48+11=59, Resulting Numbers: [54, 8, 59] Generated Node #0,3: 71:[54, 8, 59] Operation: 48+11=59 Moving to Node #0,1 Current State: 71:[54, 48, 88], Operations: ['11*8=88'] Exploring Operation: 88-54=34, Resulting Numbers: [48, 34] Generated Node #0,1,0: 71:[48, 34] Operation: 88-54=34 Exploring Operation: 54-48=6, Resulting Numbers: [88, 6] Generated Node #0,1,1: 71:[88, 6] Operation: 54-48=6 Exploring Operation: 54+48=102, Resulting Numbers: [88, 102] Generated Node #0,1,2: 71:[88, 102] Operation: 54+48=102 Exploring Operation: 88-48=40, Resulting Numbers: [54, 40] Generated Node #0,1,3: 71:[54, 40] Operation: 88-48=40 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[88, 102], Operations: ['11*8=88', '54+48=102'] Exploring Operation: 88*102=8976, Resulting Numbers: [8976] 8976,71 unequal: No Solution Exploring Operation: 102-88=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 88+102=190, Resulting Numbers: [190] 190,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[54, 40], Operations: ['11*8=88', '88-48=40'] Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[48, 34], Operations: ['11*8=88', '88-54=34'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[88, 6], Operations: ['11*8=88', '54-48=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,71 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,71 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: 71:[48, 8, 65], Operations: ['54+11=65'] Exploring Operation: 8+65=73, Resulting Numbers: [48, 73] Generated Node #0,2,0: 71:[48, 73] Operation: 8+65=73 Exploring Operation: 48-8=40, Resulting Numbers: [65, 40] Generated Node #0,2,1: 71:[65, 40] Operation: 48-8=40 Exploring Operation: 65-8=57, Resulting Numbers: [48, 57] Generated Node #0,2,2: 71:[48, 57] Operation: 65-8=57 Exploring Operation: 48+8=56, Resulting Numbers: [65, 56] Generated Node #0,2,3: 71:[65, 56] Operation: 48+8=56 Moving to Node #0,0 Current State: 71:[48, 11, 62], Operations: ['54+8=62'] Exploring Operation: 11+62=73, Resulting Numbers: [48, 73] Generated Node #0,0,0: 71:[48, 73] Operation: 11+62=73 Exploring Operation: 48+11=59, Resulting Numbers: [62, 59] Generated Node #0,0,1: 71:[62, 59] Operation: 48+11=59 Exploring Operation: 48-11=37, Resulting Numbers: [62, 37] Generated Node #0,0,2: 71:[62, 37] Operation: 48-11=37 Exploring Operation: 62-11=51, Resulting Numbers: [48, 51] Generated Node #0,0,3: 71:[48, 51] Operation: 62-11=51 Moving to Node #0,3 Current State: 71:[54, 8, 59], Operations: ['48+11=59'] Exploring Operation: 54-8=46, Resulting Numbers: [59, 46] Generated Node #0,3,0: 71:[59, 46] Operation: 54-8=46 Exploring Operation: 8+59=67, Resulting Numbers: [54, 67] Generated Node #0,3,1: 71:[54, 67] Operation: 8+59=67 Exploring Operation: 59-8=51, Resulting Numbers: [54, 51] Generated Node #0,3,2: 71:[54, 51] Operation: 59-8=51 Exploring Operation: 54+8=62, Resulting Numbers: [59, 62] Generated Node #0,3,3: 71:[59, 62] Operation: 54+8=62 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[54, 67], Operations: ['48+11=59', '8+59=67'] Exploring Operation: 54*67=3618, Resulting Numbers: [3618] 3618,71 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 54+67=121, Resulting Numbers: [121] 121,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 71:[59, 62], Operations: ['48+11=59', '54+8=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 59*62=3658, Resulting Numbers: [3658] 3658,71 unequal: No Solution Exploring Operation: 59+62=121, Resulting Numbers: [121] 121,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[59, 46], Operations: ['48+11=59', '54-8=46'] Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,71 unequal: No Solution Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 71:[54, 51], Operations: ['48+11=59', '59-8=51'] Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,71 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 71:[65, 56], Operations: ['54+11=65', '48+8=56'] Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 65*56=3640, Resulting Numbers: [3640] 3640,71 unequal: No Solution Exploring Operation: 65+56=121, Resulting Numbers: [121] 121,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[62, 59], Operations: ['54+8=62', '48+11=59'] Exploring Operation: 62+59=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 62*59=3658, Resulting Numbers: [3658] 3658,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[48, 73], Operations: ['54+8=62', '11+62=73'] Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,71 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[48, 73], Operations: ['54+11=65', '8+65=73'] Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,71 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[65, 40], Operations: ['54+11=65', '48-8=40'] Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,71 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[48, 57], Operations: ['54+11=65', '65-8=57'] Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,71 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[62, 37], Operations: ['54+8=62', '48-11=37'] Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,71 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[48, 51], Operations: ['54+8=62', '62-11=51'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,71 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 45, 43, 65, 70 ]
39
[ "70-43=27", "65*27=1755", "1755/45=39" ]
Current State: 39:[45, 43, 65, 70], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [45, 65, 27] Generated Node #2: [45, 65, 27] from Operation: 70-43=27 Current State: 39:[45, 65, 27], Operations: ['70-43=27'] Exploring Operation: 65*27=1755, Resulting Numbers: [45, 1755] Generated Node #3: [45, 1755] from Operation: 65*27=1755 Current State: 39:[45, 1755], Operations: ['70-43=27', '65*27=1755'] Exploring Operation: 1755/45=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[45, 43, 65, 70], Operations: [] Exploring Operation: 65-45=20, Resulting Numbers: [43, 70, 20] Generated Node #0,0: 39:[43, 70, 20] Operation: 65-45=20 Exploring Operation: 70-65=5, Resulting Numbers: [45, 43, 5] Generated Node #0,1: 39:[45, 43, 5] Operation: 70-65=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[45, 43, 5], Operations: ['70-65=5'] Exploring Operation: 45-5=40, Resulting Numbers: [43, 40] Generated Node #0,1,0: 39:[43, 40] Operation: 45-5=40 Exploring Operation: 45-43=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 39:[5, 2] Operation: 45-43=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[5, 2], Operations: ['70-65=5', '45-43=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[43, 40], Operations: ['70-65=5', '45-5=40'] Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[43, 70, 20], Operations: ['65-45=20'] Exploring Operation: 70-20=50, Resulting Numbers: [43, 50] Generated Node #0,0,0: 39:[43, 50] Operation: 70-20=50 Exploring Operation: 70-43=27, Resulting Numbers: [20, 27] Generated Node #0,0,1: 39:[20, 27] Operation: 70-43=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[43, 50], Operations: ['65-45=20', '70-20=50'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[20, 27], Operations: ['65-45=20', '70-43=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 1, 54, 7, 41 ]
90
[ "54-41=13", "7*13=91", "91-1=90" ]
Current State: 90:[1, 54, 7, 41], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [1, 7, 13] Generated Node #2: [1, 7, 13] from Operation: 54-41=13 Current State: 90:[1, 7, 13], Operations: ['54-41=13'] Exploring Operation: 7*13=91, Resulting Numbers: [1, 91] Generated Node #3: [1, 91] from Operation: 7*13=91 Current State: 90:[1, 91], Operations: ['54-41=13', '7*13=91'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[1, 54, 7, 41], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [1, 7, 13] Generated Node #0,0: 90:[1, 7, 13] Operation: 54-41=13 Exploring Operation: 54-7=47, Resulting Numbers: [1, 41, 47] Generated Node #0,1: 90:[1, 41, 47] Operation: 54-7=47 Exploring Operation: 54+41=95, Resulting Numbers: [1, 7, 95] Generated Node #0,2: 90:[1, 7, 95] Operation: 54+41=95 Moving to Node #0,0 Current State: 90:[1, 7, 13], Operations: ['54-41=13'] Exploring Operation: 1+13=14, Resulting Numbers: [7, 14] Generated Node #0,0,0: 90:[7, 14] Operation: 1+13=14 Exploring Operation: 7-1=6, Resulting Numbers: [13, 6] Generated Node #0,0,1: 90:[13, 6] Operation: 7-1=6 Exploring Operation: 13-7=6, Resulting Numbers: [1, 6] Generated Node #0,0,2: 90:[1, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[1, 6], Operations: ['54-41=13', '13-7=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,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,0,0 Current State: 90:[7, 14], Operations: ['54-41=13', '1+13=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,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,0,1 Current State: 90:[13, 6], Operations: ['54-41=13', '7-1=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,90 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,90 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: 90:[1, 41, 47], Operations: ['54-7=47'] Exploring Operation: 1+41=42, Resulting Numbers: [47, 42] Generated Node #0,1,0: 90:[47, 42] Operation: 1+41=42 Exploring Operation: 47-41=6, Resulting Numbers: [1, 6] Generated Node #0,1,1: 90:[1, 6] Operation: 47-41=6 Exploring Operation: 41+47=88, Resulting Numbers: [1, 88] Generated Node #0,1,2: 90:[1, 88] Operation: 41+47=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[1, 6], Operations: ['54-7=47', '47-41=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,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,2 Current State: 90:[1, 88], Operations: ['54-7=47', '41+47=88'] Exploring Operation: 1*88=88, Resulting Numbers: [88] 88,90 unequal: No Solution Exploring Operation: 1+88=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,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,0 Current State: 90:[47, 42], Operations: ['54-7=47', '1+41=42'] Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,90 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: 90:[1, 7, 95], Operations: ['54+41=95'] Exploring Operation: 7-1=6, Resulting Numbers: [95, 6] Generated Node #0,2,0: 90:[95, 6] Operation: 7-1=6 Exploring Operation: 95-7=88, Resulting Numbers: [1, 88] Generated Node #0,2,1: 90:[1, 88] Operation: 95-7=88 Exploring Operation: 95-1=94, Resulting Numbers: [7, 94] Generated Node #0,2,2: 90:[7, 94] Operation: 95-1=94 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[1, 88], Operations: ['54+41=95', '95-7=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,90 unequal: No Solution Exploring Operation: 1*88=88, Resulting Numbers: [88] 88,90 unequal: No Solution Exploring Operation: 1+88=89, Resulting Numbers: [89] 89,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,0 Current State: 90:[95, 6], Operations: ['54+41=95', '7-1=6'] Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,90 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,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,2 Current State: 90:[7, 94], Operations: ['54+41=95', '95-1=94'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,90 unequal: No Solution Exploring Operation: 7+94=101, Resulting Numbers: [101] 101,90 unequal: No Solution Exploring Operation: 7*94=658, Resulting Numbers: [658] 658,90 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
[ 45, 1, 57, 6 ]
48
[ "6-1=5", "45/5=9", "57-9=48" ]
Current State: 48:[45, 1, 57, 6], Operations: [] Exploring Operation: 6-1=5, Resulting Numbers: [45, 57, 5] Generated Node #2: [45, 57, 5] from Operation: 6-1=5 Current State: 48:[45, 57, 5], Operations: ['6-1=5'] Exploring Operation: 45/5=9, Resulting Numbers: [57, 9] Generated Node #3: [57, 9] from Operation: 45/5=9 Current State: 48:[57, 9], Operations: ['6-1=5', '45/5=9'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[45, 1, 57, 6], Operations: [] Exploring Operation: 45+1=46, Resulting Numbers: [57, 6, 46] Generated Node #0,0: 48:[57, 6, 46] Operation: 45+1=46 Exploring Operation: 57-45=12, Resulting Numbers: [1, 6, 12] Generated Node #0,1: 48:[1, 6, 12] Operation: 57-45=12 Exploring Operation: 57-6=51, Resulting Numbers: [45, 1, 51] Generated Node #0,2: 48:[45, 1, 51] Operation: 57-6=51 Moving to Node #0,1 Current State: 48:[1, 6, 12], Operations: ['57-45=12'] Exploring Operation: 1*6=6, Resulting Numbers: [12, 6] Generated Node #0,1,0: 48:[12, 6] Operation: 1*6=6 Exploring Operation: 6/1=6, Resulting Numbers: [12, 6] Generated Node #0,1,1: 48:[12, 6] Operation: 6/1=6 Exploring Operation: 1*12=12, Resulting Numbers: [6, 12] Generated Node #0,1,2: 48:[6, 12] Operation: 1*12=12 Moving to Node #0,2 Current State: 48:[45, 1, 51], Operations: ['57-6=51'] Exploring Operation: 45+1=46, Resulting Numbers: [51, 46] Generated Node #0,2,0: 48:[51, 46] Operation: 45+1=46 Exploring Operation: 51-1=50, Resulting Numbers: [45, 50] Generated Node #0,2,1: 48:[45, 50] Operation: 51-1=50 Exploring Operation: 51-45=6, Resulting Numbers: [1, 6] Generated Node #0,2,2: 48:[1, 6] Operation: 51-45=6 Moving to Node #0,0 Current State: 48:[57, 6, 46], Operations: ['45+1=46'] Exploring Operation: 57-46=11, Resulting Numbers: [6, 11] Generated Node #0,0,0: 48:[6, 11] Operation: 57-46=11 Exploring Operation: 57-6=51, Resulting Numbers: [46, 51] Generated Node #0,0,1: 48:[46, 51] Operation: 57-6=51 Exploring Operation: 6+46=52, Resulting Numbers: [57, 52] Generated Node #0,0,2: 48:[57, 52] Operation: 6+46=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[6, 11], Operations: ['45+1=46', '57-46=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,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,0,1 Current State: 48:[46, 51], Operations: ['45+1=46', '57-6=51'] Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,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,0,2 Current State: 48:[57, 52], Operations: ['45+1=46', '6+46=52'] Exploring Operation: 57+52=109, Resulting Numbers: [109] 109,48 unequal: No Solution Exploring Operation: 57*52=2964, Resulting Numbers: [2964] 2964,48 unequal: No Solution Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,48 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: 48:[12, 6], Operations: ['57-45=12', '1*6=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[6, 12], Operations: ['57-45=12', '1*12=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[12, 6], Operations: ['57-45=12', '6/1=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[1, 6], Operations: ['57-6=51', '51-45=6'] Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[51, 46], Operations: ['57-6=51', '45+1=46'] Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[45, 50], Operations: ['57-6=51', '51-1=50'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,48 unequal: No Solution Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,48 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 37, 26, 72, 41 ]
42
[ "37-26=11", "72-41=31", "11+31=42" ]
Current State: 42:[37, 26, 72, 41], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [72, 41, 11] Generated Node #2: [72, 41, 11] from Operation: 37-26=11 Current State: 42:[72, 41, 11], Operations: ['37-26=11'] Exploring Operation: 72-41=31, Resulting Numbers: [11, 31] Generated Node #3: [11, 31] from Operation: 72-41=31 Current State: 42:[11, 31], Operations: ['37-26=11', '72-41=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[37, 26, 72, 41], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [37, 41, 46] Generated Node #0,0: 42:[37, 41, 46] Operation: 72-26=46 Exploring Operation: 72-41=31, Resulting Numbers: [37, 26, 31] Generated Node #0,1: 42:[37, 26, 31] Operation: 72-41=31 Exploring Operation: 72-37=35, Resulting Numbers: [26, 41, 35] Generated Node #0,2: 42:[26, 41, 35] Operation: 72-37=35 Exploring Operation: 37-26=11, Resulting Numbers: [72, 41, 11] Generated Node #0,3: 42:[72, 41, 11] Operation: 37-26=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[37, 41, 46], Operations: ['72-26=46'] Exploring Operation: 37+41=78, Resulting Numbers: [46, 78] Generated Node #0,0,0: 42:[46, 78] Operation: 37+41=78 Exploring Operation: 46-37=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 42:[41, 9] Operation: 46-37=9 Exploring Operation: 46-41=5, Resulting Numbers: [37, 5] Generated Node #0,0,2: 42:[37, 5] Operation: 46-41=5 Exploring Operation: 41-37=4, Resulting Numbers: [46, 4] Generated Node #0,0,3: 42:[46, 4] Operation: 41-37=4 Moving to Node #0,0,1 Current State: 42:[41, 9], Operations: ['72-26=46', '46-37=9'] Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[46, 4], Operations: ['72-26=46', '41-37=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,42 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[37, 26, 72, 41], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [37, 41, 46] Generated Node #0,0: 42:[37, 41, 46] Operation: 72-26=46 Moving to Node #0,0 Current State: 42:[37, 41, 46], Operations: ['72-26=46'] Exploring Operation: 41-37=4, Resulting Numbers: [46, 4] Generated Node #0,0,3: 42:[46, 4] Operation: 41-37=4 Moving to Node #0,0,3 Current State: 42:[46, 4], Operations: ['72-26=46', '41-37=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 84, 8, 28, 19 ]
83
[ "84+8=92", "28-19=9", "92-9=83" ]
Current State: 83:[84, 8, 28, 19], Operations: [] Exploring Operation: 84+8=92, Resulting Numbers: [28, 19, 92] Generated Node #2: [28, 19, 92] from Operation: 84+8=92 Current State: 83:[28, 19, 92], Operations: ['84+8=92'] Exploring Operation: 28-19=9, Resulting Numbers: [92, 9] Generated Node #3: [92, 9] from Operation: 28-19=9 Current State: 83:[92, 9], Operations: ['84+8=92', '28-19=9'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[84, 8, 28, 19], Operations: [] Exploring Operation: 8+28=36, Resulting Numbers: [84, 19, 36] Generated Node #0,0: 83:[84, 19, 36] Operation: 8+28=36 Exploring Operation: 8+19=27, Resulting Numbers: [84, 28, 27] Generated Node #0,1: 83:[84, 28, 27] Operation: 8+19=27 Moving to Node #0,0 Current State: 83:[84, 19, 36], Operations: ['8+28=36'] Exploring Operation: 19+36=55, Resulting Numbers: [84, 55] Generated Node #0,0,0: 83:[84, 55] Operation: 19+36=55 Exploring Operation: 84-19=65, Resulting Numbers: [36, 65] Generated Node #0,0,1: 83:[36, 65] Operation: 84-19=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[84, 55], Operations: ['8+28=36', '19+36=55'] Exploring Operation: 84+55=139, Resulting Numbers: [139] 139,83 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[36, 65], Operations: ['8+28=36', '84-19=65'] Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,83 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: 83:[84, 28, 27], Operations: ['8+19=27'] Exploring Operation: 84-27=57, Resulting Numbers: [28, 57] Generated Node #0,1,0: 83:[28, 57] Operation: 84-27=57 Exploring Operation: 28+27=55, Resulting Numbers: [84, 55] Generated Node #0,1,1: 83:[84, 55] Operation: 28+27=55 Moving to Node #0,1,1 Current State: 83:[84, 55], Operations: ['8+19=27', '28+27=55'] Exploring Operation: 84+55=139, Resulting Numbers: [139] 139,83 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[28, 57], Operations: ['8+19=27', '84-27=57'] Exploring Operation: 28+57=85, Resulting Numbers: [85] 85,83 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 6, 15, 51, 68 ]
38
[ "6+15=21", "68-51=17", "21+17=38" ]
Current State: 38:[6, 15, 51, 68], Operations: [] Exploring Operation: 6+15=21, Resulting Numbers: [51, 68, 21] Generated Node #2: [51, 68, 21] from Operation: 6+15=21 Current State: 38:[51, 68, 21], Operations: ['6+15=21'] Exploring Operation: 68-51=17, Resulting Numbers: [21, 17] Generated Node #3: [21, 17] from Operation: 68-51=17 Current State: 38:[21, 17], Operations: ['6+15=21', '68-51=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[6, 15, 51, 68], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [6, 15, 17] Generated Node #0,0: 38:[6, 15, 17] Operation: 68-51=17 Exploring Operation: 68-15=53, Resulting Numbers: [6, 51, 53] Generated Node #0,1: 38:[6, 51, 53] Operation: 68-15=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[6, 15, 17], Operations: ['68-51=17'] Exploring Operation: 17-15=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 38:[6, 2] Operation: 17-15=2 Exploring Operation: 6+15=21, Resulting Numbers: [17, 21] Generated Node #0,0,1: 38:[17, 21] Operation: 6+15=21 Moving to Node #0,0,0 Current State: 38:[6, 2], Operations: ['68-51=17', '17-15=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[17, 21], Operations: ['68-51=17', '6+15=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[6, 15, 51, 68], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [6, 15, 17] Generated Node #0,0: 38:[6, 15, 17] Operation: 68-51=17 Moving to Node #0,0 Current State: 38:[6, 15, 17], Operations: ['68-51=17'] Exploring Operation: 6+15=21, Resulting Numbers: [17, 21] Generated Node #0,0,1: 38:[17, 21] Operation: 6+15=21 Moving to Node #0,0,1 Current State: 38:[17, 21], Operations: ['68-51=17', '6+15=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 8, 89, 40, 51 ]
86
[ "8+89=97", "51-40=11", "97-11=86" ]
Current State: 86:[8, 89, 40, 51], Operations: [] Exploring Operation: 8+89=97, Resulting Numbers: [40, 51, 97] Generated Node #2: [40, 51, 97] from Operation: 8+89=97 Current State: 86:[40, 51, 97], Operations: ['8+89=97'] Exploring Operation: 51-40=11, Resulting Numbers: [97, 11] Generated Node #3: [97, 11] from Operation: 51-40=11 Current State: 86:[97, 11], Operations: ['8+89=97', '51-40=11'] Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[8, 89, 40, 51], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [89, 51, 5] Generated Node #0,0: 86:[89, 51, 5] Operation: 40/8=5 Exploring Operation: 51-8=43, Resulting Numbers: [89, 40, 43] Generated Node #0,1: 86:[89, 40, 43] Operation: 51-8=43 Exploring Operation: 40+51=91, Resulting Numbers: [8, 89, 91] Generated Node #0,2: 86:[8, 89, 91] Operation: 40+51=91 Exploring Operation: 89-51=38, Resulting Numbers: [8, 40, 38] Generated Node #0,3: 86:[8, 40, 38] Operation: 89-51=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[89, 40, 43], Operations: ['51-8=43'] Exploring Operation: 40+43=83, Resulting Numbers: [89, 83] Generated Node #0,1,0: 86:[89, 83] Operation: 40+43=83 Exploring Operation: 89-40=49, Resulting Numbers: [43, 49] Generated Node #0,1,1: 86:[43, 49] Operation: 89-40=49 Exploring Operation: 43-40=3, Resulting Numbers: [89, 3] Generated Node #0,1,2: 86:[89, 3] Operation: 43-40=3 Exploring Operation: 89-43=46, Resulting Numbers: [40, 46] Generated Node #0,1,3: 86:[40, 46] Operation: 89-43=46 Moving to Node #0,1,2 Current State: 86:[89, 3], Operations: ['51-8=43', '43-40=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[8, 89, 40, 51], Operations: [] Exploring Operation: 51-8=43, Resulting Numbers: [89, 40, 43] Generated Node #0,1: 86:[89, 40, 43] Operation: 51-8=43 Moving to Node #0,1 Current State: 86:[89, 40, 43], Operations: ['51-8=43'] Exploring Operation: 43-40=3, Resulting Numbers: [89, 3] Generated Node #0,1,2: 86:[89, 3] Operation: 43-40=3 Moving to Node #0,1,2 Current State: 86:[89, 3], Operations: ['51-8=43', '43-40=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 67, 92, 49, 23 ]
47
[ "92-67=25", "49+23=72", "72-25=47" ]
Current State: 47:[67, 92, 49, 23], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [49, 23, 25] Generated Node #2: [49, 23, 25] from Operation: 92-67=25 Current State: 47:[49, 23, 25], Operations: ['92-67=25'] Exploring Operation: 49+23=72, Resulting Numbers: [25, 72] Generated Node #3: [25, 72] from Operation: 49+23=72 Current State: 47:[25, 72], Operations: ['92-67=25', '49+23=72'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[67, 92, 49, 23], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [67, 49, 69] Generated Node #0,0: 47:[67, 49, 69] Operation: 92-23=69 Exploring Operation: 92-49=43, Resulting Numbers: [67, 23, 43] Generated Node #0,1: 47:[67, 23, 43] Operation: 92-49=43 Exploring Operation: 67-23=44, Resulting Numbers: [92, 49, 44] Generated Node #0,2: 47:[92, 49, 44] Operation: 67-23=44 Exploring Operation: 92-67=25, Resulting Numbers: [49, 23, 25] Generated Node #0,3: 47:[49, 23, 25] Operation: 92-67=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[67, 49, 69], Operations: ['92-23=69'] Exploring Operation: 69-49=20, Resulting Numbers: [67, 20] Generated Node #0,0,0: 47:[67, 20] Operation: 69-49=20 Exploring Operation: 67+49=116, Resulting Numbers: [69, 116] Generated Node #0,0,1: 47:[69, 116] Operation: 67+49=116 Exploring Operation: 69-67=2, Resulting Numbers: [49, 2] Generated Node #0,0,2: 47:[49, 2] Operation: 69-67=2 Exploring Operation: 67-49=18, Resulting Numbers: [69, 18] Generated Node #0,0,3: 47:[69, 18] Operation: 67-49=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[67, 20], Operations: ['92-23=69', '69-49=20'] Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,47 unequal: No Solution Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,47 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[67, 92, 49, 23], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [67, 49, 69] Generated Node #0,0: 47:[67, 49, 69] Operation: 92-23=69 Moving to Node #0,0 Current State: 47:[67, 49, 69], Operations: ['92-23=69'] Exploring Operation: 69-49=20, Resulting Numbers: [67, 20] Generated Node #0,0,0: 47:[67, 20] Operation: 69-49=20 Moving to Node #0,0,0 Current State: 47:[67, 20], Operations: ['92-23=69', '69-49=20'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 75, 71, 98, 57 ]
45
[ "75-71=4", "98-57=41", "4+41=45" ]
Current State: 45:[75, 71, 98, 57], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [98, 57, 4] Generated Node #2: [98, 57, 4] from Operation: 75-71=4 Current State: 45:[98, 57, 4], Operations: ['75-71=4'] Exploring Operation: 98-57=41, Resulting Numbers: [4, 41] Generated Node #3: [4, 41] from Operation: 98-57=41 Current State: 45:[4, 41], Operations: ['75-71=4', '98-57=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[75, 71, 98, 57], Operations: [] Exploring Operation: 98-75=23, Resulting Numbers: [71, 57, 23] Generated Node #0,0: 45:[71, 57, 23] Operation: 98-75=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[71, 57, 23], Operations: ['98-75=23'] Exploring Operation: 71-57=14, Resulting Numbers: [23, 14] Generated Node #0,0,0: 45:[23, 14] Operation: 71-57=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[23, 14], Operations: ['98-75=23', '71-57=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 53, 60, 51, 81 ]
44
[ "60-51=9", "81/9=9", "53-9=44" ]
Current State: 44:[53, 60, 51, 81], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [53, 81, 9] Generated Node #2: [53, 81, 9] from Operation: 60-51=9 Current State: 44:[53, 81, 9], Operations: ['60-51=9'] Exploring Operation: 81/9=9, Resulting Numbers: [53, 9] Generated Node #3: [53, 9] from Operation: 81/9=9 Current State: 44:[53, 9], Operations: ['60-51=9', '81/9=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[53, 60, 51, 81], Operations: [] Exploring Operation: 81-53=28, Resulting Numbers: [60, 51, 28] Generated Node #0,0: 44:[60, 51, 28] Operation: 81-53=28 Exploring Operation: 81-51=30, Resulting Numbers: [53, 60, 30] Generated Node #0,1: 44:[53, 60, 30] Operation: 81-51=30 Exploring Operation: 81-60=21, Resulting Numbers: [53, 51, 21] Generated Node #0,2: 44:[53, 51, 21] Operation: 81-60=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[53, 51, 21], Operations: ['81-60=21'] Exploring Operation: 53-21=32, Resulting Numbers: [51, 32] Generated Node #0,2,0: 44:[51, 32] Operation: 53-21=32 Exploring Operation: 51-21=30, Resulting Numbers: [53, 30] Generated Node #0,2,1: 44:[53, 30] Operation: 51-21=30 Exploring Operation: 53-51=2, Resulting Numbers: [21, 2] Generated Node #0,2,2: 44:[21, 2] Operation: 53-51=2 Moving to Node #0,2,2 Current State: 44:[21, 2], Operations: ['81-60=21', '53-51=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[51, 32], Operations: ['81-60=21', '53-21=32'] Exploring Operation: 51*32=1632, Resulting Numbers: [1632] 1632,44 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[53, 30], Operations: ['81-60=21', '51-21=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,44 unequal: No Solution Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[60, 51, 28], Operations: ['81-53=28'] Exploring Operation: 60-51=9, Resulting Numbers: [28, 9] Generated Node #0,0,0: 44:[28, 9] Operation: 60-51=9 Exploring Operation: 51-28=23, Resulting Numbers: [60, 23] Generated Node #0,0,1: 44:[60, 23] Operation: 51-28=23 Exploring Operation: 60-28=32, Resulting Numbers: [51, 32] Generated Node #0,0,2: 44:[51, 32] Operation: 60-28=32 Moving to Node #0,0,0 Current State: 44:[28, 9], Operations: ['81-53=28', '60-51=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,44 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[60, 23], Operations: ['81-53=28', '51-28=23'] Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,44 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,44 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[51, 32], Operations: ['81-53=28', '60-28=32'] Exploring Operation: 51*32=1632, Resulting Numbers: [1632] 1632,44 unequal: No Solution Exploring Operation: 51+32=83, Resulting Numbers: [83] 83,44 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[53, 60, 30], Operations: ['81-51=30'] Exploring Operation: 53-30=23, Resulting Numbers: [60, 23] Generated Node #0,1,0: 44:[60, 23] Operation: 53-30=23 Exploring Operation: 60/30=2, Resulting Numbers: [53, 2] Generated Node #0,1,1: 44:[53, 2] Operation: 60/30=2 Exploring Operation: 60-53=7, Resulting Numbers: [30, 7] Generated Node #0,1,2: 44:[30, 7] Operation: 60-53=7 Moving to Node #0,1,1 Current State: 44:[53, 2], Operations: ['81-51=30', '60/30=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,44 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,44 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[30, 7], Operations: ['81-51=30', '60-53=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,44 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[60, 23], Operations: ['81-51=30', '53-30=23'] Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,44 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,44 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,44 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
[ 87, 22, 98, 55 ]
74
[ "87+98=185", "22*185=4070", "4070/55=74" ]
Current State: 74:[87, 22, 98, 55], Operations: [] Exploring Operation: 87+98=185, Resulting Numbers: [22, 55, 185] Generated Node #2: [22, 55, 185] from Operation: 87+98=185 Current State: 74:[22, 55, 185], Operations: ['87+98=185'] Exploring Operation: 22*185=4070, Resulting Numbers: [55, 4070] Generated Node #3: [55, 4070] from Operation: 22*185=4070 Current State: 74:[55, 4070], Operations: ['87+98=185', '22*185=4070'] Exploring Operation: 4070/55=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[87, 22, 98, 55], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [87, 22, 43] Generated Node #0,0: 74:[87, 22, 43] Operation: 98-55=43 Exploring Operation: 98-22=76, Resulting Numbers: [87, 55, 76] Generated Node #0,1: 74:[87, 55, 76] Operation: 98-22=76 Exploring Operation: 22+55=77, Resulting Numbers: [87, 98, 77] Generated Node #0,2: 74:[87, 98, 77] Operation: 22+55=77 Moving to Node #0,1 Current State: 74:[87, 55, 76], Operations: ['98-22=76'] Exploring Operation: 87-55=32, Resulting Numbers: [76, 32] Generated Node #0,1,0: 74:[76, 32] Operation: 87-55=32 Exploring Operation: 76-55=21, Resulting Numbers: [87, 21] Generated Node #0,1,1: 74:[87, 21] Operation: 76-55=21 Exploring Operation: 87-76=11, Resulting Numbers: [55, 11] Generated Node #0,1,2: 74:[55, 11] Operation: 87-76=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[76, 32], Operations: ['98-22=76', '87-55=32'] Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,74 unequal: No Solution Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,74 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,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,1,2 Current State: 74:[55, 11], Operations: ['98-22=76', '87-76=11'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,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,1,1 Current State: 74:[87, 21], Operations: ['98-22=76', '76-55=21'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,74 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,74 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: 74:[87, 22, 43], Operations: ['98-55=43'] Exploring Operation: 87-22=65, Resulting Numbers: [43, 65] Generated Node #0,0,0: 74:[43, 65] Operation: 87-22=65 Exploring Operation: 87-43=44, Resulting Numbers: [22, 44] Generated Node #0,0,1: 74:[22, 44] Operation: 87-43=44 Exploring Operation: 22+43=65, Resulting Numbers: [87, 65] Generated Node #0,0,2: 74:[87, 65] Operation: 22+43=65 Moving to Node #0,2 Current State: 74:[87, 98, 77], Operations: ['22+55=77'] Exploring Operation: 98-87=11, Resulting Numbers: [77, 11] Generated Node #0,2,0: 74:[77, 11] Operation: 98-87=11 Exploring Operation: 98-77=21, Resulting Numbers: [87, 21] Generated Node #0,2,1: 74:[87, 21] Operation: 98-77=21 Exploring Operation: 87-77=10, Resulting Numbers: [98, 10] Generated Node #0,2,2: 74:[98, 10] Operation: 87-77=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[77, 11], Operations: ['22+55=77', '98-87=11'] Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,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,2,1 Current State: 74:[87, 21], Operations: ['22+55=77', '98-77=21'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,74 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,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,2,2 Current State: 74:[98, 10], Operations: ['22+55=77', '87-77=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,74 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,74 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: 74:[43, 65], Operations: ['98-55=43', '87-22=65'] Exploring Operation: 43*65=2795, Resulting Numbers: [2795] 2795,74 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[22, 44], Operations: ['98-55=43', '87-43=44'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[87, 65], Operations: ['98-55=43', '22+43=65'] Exploring Operation: 87*65=5655, Resulting Numbers: [5655] 5655,74 unequal: No Solution Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 87+65=152, Resulting Numbers: [152] 152,74 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 18, 39, 5, 16 ]
17
[ "18-16=2", "39-5=34", "34/2=17" ]
Current State: 17:[18, 39, 5, 16], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [39, 5, 2] Generated Node #2: [39, 5, 2] from Operation: 18-16=2 Current State: 17:[39, 5, 2], Operations: ['18-16=2'] Exploring Operation: 39-5=34, Resulting Numbers: [2, 34] Generated Node #3: [2, 34] from Operation: 39-5=34 Current State: 17:[2, 34], Operations: ['18-16=2', '39-5=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[18, 39, 5, 16], Operations: [] Exploring Operation: 39-16=23, Resulting Numbers: [18, 5, 23] Generated Node #0,0: 17:[18, 5, 23] Operation: 39-16=23 Exploring Operation: 39-5=34, Resulting Numbers: [18, 16, 34] Generated Node #0,1: 17:[18, 16, 34] Operation: 39-5=34 Exploring Operation: 39-18=21, Resulting Numbers: [5, 16, 21] Generated Node #0,2: 17:[5, 16, 21] Operation: 39-18=21 Moving to Node #0,2 Current State: 17:[5, 16, 21], Operations: ['39-18=21'] Exploring Operation: 5+16=21, Resulting Numbers: [21, 21] Generated Node #0,2,0: 17:[21, 21] Operation: 5+16=21 Exploring Operation: 16-5=11, Resulting Numbers: [21, 11] Generated Node #0,2,1: 17:[21, 11] Operation: 16-5=11 Exploring Operation: 21-5=16, Resulting Numbers: [16, 16] Generated Node #0,2,2: 17:[16, 16] Operation: 21-5=16 Moving to Node #0,0 Current State: 17:[18, 5, 23], Operations: ['39-16=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18, 18] Generated Node #0,0,0: 17:[18, 18] Operation: 23-5=18 Exploring Operation: 18-5=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 17:[23, 13] Operation: 18-5=13 Exploring Operation: 18+5=23, Resulting Numbers: [23, 23] Generated Node #0,0,2: 17:[23, 23] Operation: 18+5=23 Moving to Node #0,1 Current State: 17:[18, 16, 34], Operations: ['39-5=34'] Exploring Operation: 18-16=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 17:[34, 2] Operation: 18-16=2 Exploring Operation: 34-18=16, Resulting Numbers: [16, 16] Generated Node #0,1,1: 17:[16, 16] Operation: 34-18=16 Exploring Operation: 34-16=18, Resulting Numbers: [18, 18] Generated Node #0,1,2: 17:[18, 18] Operation: 34-16=18 Moving to Node #0,2,2 Current State: 17:[16, 16], Operations: ['39-18=21', '21-5=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[16, 16], Operations: ['39-5=34', '34-18=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[18, 18], Operations: ['39-16=23', '23-5=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[18, 18], Operations: ['39-5=34', '34-16=18'] Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[21, 21], Operations: ['39-18=21', '5+16=21'] Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[21, 11], Operations: ['39-18=21', '16-5=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,17 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[23, 13], Operations: ['39-16=23', '18-5=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,17 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[23, 23], Operations: ['39-16=23', '18+5=23'] Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 23+23=46, Resulting Numbers: [46] 46,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[34, 2], Operations: ['39-5=34', '18-16=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[18, 39, 5, 16], Operations: [] Exploring Operation: 39-5=34, Resulting Numbers: [18, 16, 34] Generated Node #0,1: 17:[18, 16, 34] Operation: 39-5=34 Moving to Node #0,1 Current State: 17:[18, 16, 34], Operations: ['39-5=34'] Exploring Operation: 18-16=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 17:[34, 2] Operation: 18-16=2 Moving to Node #0,1,0 Current State: 17:[34, 2], Operations: ['39-5=34', '18-16=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.963542
hs_3
mult_heuristic
[ 33, 57, 55, 62 ]
58
[ "62-33=29", "57-55=2", "29*2=58" ]
Current State: 58:[33, 57, 55, 62], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [57, 55, 29] Generated Node #2: [57, 55, 29] from Operation: 62-33=29 Current State: 58:[57, 55, 29], Operations: ['62-33=29'] Exploring Operation: 57-55=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 57-55=2 Current State: 58:[29, 2], Operations: ['62-33=29', '57-55=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[33, 57, 55, 62], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [33, 62, 2] Generated Node #0,0: 58:[33, 62, 2] Operation: 57-55=2 Exploring Operation: 57-33=24, Resulting Numbers: [55, 62, 24] Generated Node #0,1: 58:[55, 62, 24] Operation: 57-33=24 Exploring Operation: 62-57=5, Resulting Numbers: [33, 55, 5] Generated Node #0,2: 58:[33, 55, 5] Operation: 62-57=5 Exploring Operation: 62-55=7, Resulting Numbers: [33, 57, 7] Generated Node #0,3: 58:[33, 57, 7] Operation: 62-55=7 Exploring Operation: 62-33=29, Resulting Numbers: [57, 55, 29] Generated Node #0,4: 58:[57, 55, 29] Operation: 62-33=29 Moving to Node #0,4 Current State: 58:[57, 55, 29], Operations: ['62-33=29'] Exploring Operation: 55+29=84, Resulting Numbers: [57, 84] Generated Node #0,4,0: 58:[57, 84] Operation: 55+29=84 Exploring Operation: 57-29=28, Resulting Numbers: [55, 28] Generated Node #0,4,1: 58:[55, 28] Operation: 57-29=28 Exploring Operation: 55-29=26, Resulting Numbers: [57, 26] Generated Node #0,4,2: 58:[57, 26] Operation: 55-29=26 Exploring Operation: 57+29=86, Resulting Numbers: [55, 86] Generated Node #0,4,3: 58:[55, 86] Operation: 57+29=86 Exploring Operation: 57-55=2, Resulting Numbers: [29, 2] Generated Node #0,4,4: 58:[29, 2] Operation: 57-55=2 Moving to Node #0,0 Current State: 58:[33, 62, 2], Operations: ['57-55=2'] Exploring Operation: 33-2=31, Resulting Numbers: [62, 31] Generated Node #0,0,0: 58:[62, 31] Operation: 33-2=31 Exploring Operation: 62-33=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 58:[2, 29] Operation: 62-33=29 Exploring Operation: 33+2=35, Resulting Numbers: [62, 35] Generated Node #0,0,2: 58:[62, 35] Operation: 33+2=35 Exploring Operation: 62/2=31, Resulting Numbers: [33, 31] Generated Node #0,0,3: 58:[33, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [33, 60] Generated Node #0,0,4: 58:[33, 60] Operation: 62-2=60 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[2, 29], Operations: ['57-55=2', '62-33=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[33, 57, 55, 62], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [33, 62, 2] Generated Node #0,0: 58:[33, 62, 2] Operation: 57-55=2 Moving to Node #0,0 Current State: 58:[33, 62, 2], Operations: ['57-55=2'] Exploring Operation: 62-33=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 58:[2, 29] Operation: 62-33=29 Moving to Node #0,0,1 Current State: 58:[2, 29], Operations: ['57-55=2', '62-33=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 81, 5, 24, 30 ]
63
[ "81-24=57", "30/5=6", "57+6=63" ]
Current State: 63:[81, 5, 24, 30], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [5, 30, 57] Generated Node #2: [5, 30, 57] from Operation: 81-24=57 Current State: 63:[5, 30, 57], Operations: ['81-24=57'] Exploring Operation: 30/5=6, Resulting Numbers: [57, 6] Generated Node #3: [57, 6] from Operation: 30/5=6 Current State: 63:[57, 6], Operations: ['81-24=57', '30/5=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[81, 5, 24, 30], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [5, 30, 57] Generated Node #0,0: 63:[5, 30, 57] Operation: 81-24=57 Exploring Operation: 81-30=51, Resulting Numbers: [5, 24, 51] Generated Node #0,1: 63:[5, 24, 51] Operation: 81-30=51 Exploring Operation: 30-24=6, Resulting Numbers: [81, 5, 6] Generated Node #0,2: 63:[81, 5, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[5, 30, 57], Operations: ['81-24=57'] Exploring Operation: 57-30=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 63:[5, 27] Operation: 57-30=27 Exploring Operation: 30-5=25, Resulting Numbers: [57, 25] Generated Node #0,0,1: 63:[57, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [57, 6] Generated Node #0,0,2: 63:[57, 6] Operation: 30/5=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[57, 6], Operations: ['81-24=57', '30/5=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[81, 5, 24, 30], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [5, 30, 57] Generated Node #0,0: 63:[5, 30, 57] Operation: 81-24=57 Moving to Node #0,0 Current State: 63:[5, 30, 57], Operations: ['81-24=57'] Exploring Operation: 30/5=6, Resulting Numbers: [57, 6] Generated Node #0,0,2: 63:[57, 6] Operation: 30/5=6 Moving to Node #0,0,2 Current State: 63:[57, 6], Operations: ['81-24=57', '30/5=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 35, 6, 60, 1 ]
46
[ "35+1=36", "60/6=10", "36+10=46" ]
Current State: 46:[35, 6, 60, 1], Operations: [] Exploring Operation: 35+1=36, Resulting Numbers: [6, 60, 36] Generated Node #2: [6, 60, 36] from Operation: 35+1=36 Current State: 46:[6, 60, 36], Operations: ['35+1=36'] Exploring Operation: 60/6=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 60/6=10 Current State: 46:[36, 10], Operations: ['35+1=36', '60/6=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[35, 6, 60, 1], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [35, 1, 10] Generated Node #0,0: 46:[35, 1, 10] Operation: 60/6=10 Exploring Operation: 35+6=41, Resulting Numbers: [60, 1, 41] Generated Node #0,1: 46:[60, 1, 41] Operation: 35+6=41 Exploring Operation: 60-35=25, Resulting Numbers: [6, 1, 25] Generated Node #0,2: 46:[6, 1, 25] Operation: 60-35=25 Exploring Operation: 60-6=54, Resulting Numbers: [35, 1, 54] Generated Node #0,3: 46:[35, 1, 54] Operation: 60-6=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[6, 1, 25], Operations: ['60-35=25'] Exploring Operation: 6-1=5, Resulting Numbers: [25, 5] Generated Node #0,2,0: 46:[25, 5] Operation: 6-1=5 Exploring Operation: 6*1=6, Resulting Numbers: [25, 6] Generated Node #0,2,1: 46:[25, 6] Operation: 6*1=6 Exploring Operation: 25-6=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 46:[1, 19] Operation: 25-6=19 Exploring Operation: 25-1=24, Resulting Numbers: [6, 24] Generated Node #0,2,3: 46:[6, 24] Operation: 25-1=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[25, 5], Operations: ['60-35=25', '6-1=5'] Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,46 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,46 unequal: No Solution No 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: 46:[1, 19], Operations: ['60-35=25', '25-6=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,46 unequal: No Solution No 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: 46:[6, 24], Operations: ['60-35=25', '25-1=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,46 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,46 unequal: No Solution No 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: 46:[25, 6], Operations: ['60-35=25', '6*1=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,46 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: 46:[35, 1, 10], Operations: ['60/6=10'] Exploring Operation: 35-10=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 46:[1, 25] Operation: 35-10=25 Exploring Operation: 35+1=36, Resulting Numbers: [10, 36] Generated Node #0,0,1: 46:[10, 36] Operation: 35+1=36 Exploring Operation: 35+10=45, Resulting Numbers: [1, 45] Generated Node #0,0,2: 46:[1, 45] Operation: 35+10=45 Exploring Operation: 10-1=9, Resulting Numbers: [35, 9] Generated Node #0,0,3: 46:[35, 9] Operation: 10-1=9 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[1, 45], Operations: ['60/6=10', '35+10=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[35, 6, 60, 1], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [35, 1, 10] Generated Node #0,0: 46:[35, 1, 10] Operation: 60/6=10 Moving to Node #0,0 Current State: 46:[35, 1, 10], Operations: ['60/6=10'] Exploring Operation: 35+10=45, Resulting Numbers: [1, 45] Generated Node #0,0,2: 46:[1, 45] Operation: 35+10=45 Moving to Node #0,0,2 Current State: 46:[1, 45], Operations: ['60/6=10', '35+10=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 36, 77, 9, 93 ]
20
[ "36/9=4", "93-77=16", "4+16=20" ]
Current State: 20:[36, 77, 9, 93], Operations: [] Exploring Operation: 36/9=4, Resulting Numbers: [77, 93, 4] Generated Node #2: [77, 93, 4] from Operation: 36/9=4 Current State: 20:[77, 93, 4], Operations: ['36/9=4'] Exploring Operation: 93-77=16, Resulting Numbers: [4, 16] Generated Node #3: [4, 16] from Operation: 93-77=16 Current State: 20:[4, 16], Operations: ['36/9=4', '93-77=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[36, 77, 9, 93], Operations: [] Exploring Operation: 93-36=57, Resulting Numbers: [77, 9, 57] Generated Node #0,0: 20:[77, 9, 57] Operation: 93-36=57 Exploring Operation: 93-77=16, Resulting Numbers: [36, 9, 16] Generated Node #0,1: 20:[36, 9, 16] Operation: 93-77=16 Exploring Operation: 36/9=4, Resulting Numbers: [77, 93, 4] Generated Node #0,2: 20:[77, 93, 4] Operation: 36/9=4 Exploring Operation: 77-36=41, Resulting Numbers: [9, 93, 41] Generated Node #0,3: 20:[9, 93, 41] Operation: 77-36=41 Exploring Operation: 36-9=27, Resulting Numbers: [77, 93, 27] Generated Node #0,4: 20:[77, 93, 27] Operation: 36-9=27 Moving to Node #0,1 Current State: 20:[36, 9, 16], Operations: ['93-77=16'] Exploring Operation: 16-9=7, Resulting Numbers: [36, 7] Generated Node #0,1,0: 20:[36, 7] Operation: 16-9=7 Exploring Operation: 36/9=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 20:[16, 4] Operation: 36/9=4 Exploring Operation: 9+16=25, Resulting Numbers: [36, 25] Generated Node #0,1,2: 20:[36, 25] Operation: 9+16=25 Exploring Operation: 36-9=27, Resulting Numbers: [16, 27] Generated Node #0,1,3: 20:[16, 27] Operation: 36-9=27 Exploring Operation: 36-16=20, Resulting Numbers: [9, 20] Generated Node #0,1,4: 20:[9, 20] Operation: 36-16=20 Moving to Node #0,3 Current State: 20:[9, 93, 41], Operations: ['77-36=41'] Exploring Operation: 9+41=50, Resulting Numbers: [93, 50] Generated Node #0,3,0: 20:[93, 50] Operation: 9+41=50 Exploring Operation: 9+93=102, Resulting Numbers: [41, 102] Generated Node #0,3,1: 20:[41, 102] Operation: 9+93=102 Exploring Operation: 93-41=52, Resulting Numbers: [9, 52] Generated Node #0,3,2: 20:[9, 52] Operation: 93-41=52 Exploring Operation: 93-9=84, Resulting Numbers: [41, 84] Generated Node #0,3,3: 20:[41, 84] Operation: 93-9=84 Exploring Operation: 41-9=32, Resulting Numbers: [93, 32] Generated Node #0,3,4: 20:[93, 32] Operation: 41-9=32 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[9, 52], Operations: ['77-36=41', '93-41=52'] Exploring Operation: 9*52=468, Resulting Numbers: [468] 468,20 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,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,3,3 Current State: 20:[41, 84], Operations: ['77-36=41', '93-9=84'] Exploring Operation: 41*84=3444, Resulting Numbers: [3444] 3444,20 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,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,3,4 Current State: 20:[93, 32], Operations: ['77-36=41', '41-9=32'] Exploring Operation: 93*32=2976, Resulting Numbers: [2976] 2976,20 unequal: No Solution Exploring Operation: 93+32=125, Resulting Numbers: [125] 125,20 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,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,3,0 Current State: 20:[93, 50], Operations: ['77-36=41', '9+41=50'] Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 93*50=4650, Resulting Numbers: [4650] 4650,20 unequal: No Solution Exploring Operation: 93+50=143, Resulting Numbers: [143] 143,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,3,1 Current State: 20:[41, 102], Operations: ['77-36=41', '9+93=102'] Exploring Operation: 102-41=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 41+102=143, Resulting Numbers: [143] 143,20 unequal: No Solution Exploring Operation: 41*102=4182, Resulting Numbers: [4182] 4182,20 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: 20:[77, 9, 57], Operations: ['93-36=57'] Exploring Operation: 9+57=66, Resulting Numbers: [77, 66] Generated Node #0,0,0: 20:[77, 66] Operation: 9+57=66 Exploring Operation: 57-9=48, Resulting Numbers: [77, 48] Generated Node #0,0,1: 20:[77, 48] Operation: 57-9=48 Exploring Operation: 77-57=20, Resulting Numbers: [9, 20] Generated Node #0,0,2: 20:[9, 20] Operation: 77-57=20 Exploring Operation: 77+9=86, Resulting Numbers: [57, 86] Generated Node #0,0,3: 20:[57, 86] Operation: 77+9=86 Exploring Operation: 77-9=68, Resulting Numbers: [57, 68] Generated Node #0,0,4: 20:[57, 68] Operation: 77-9=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[9, 20], Operations: ['93-36=57', '77-57=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,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,1 Current State: 20:[77, 48], Operations: ['93-36=57', '57-9=48'] Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,20 unequal: No Solution Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,20 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,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,4 Current State: 20:[57, 68], Operations: ['93-36=57', '77-9=68'] Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,20 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,20 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,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,0 Current State: 20:[77, 66], Operations: ['93-36=57', '9+57=66'] Exploring Operation: 77-66=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 77+66=143, Resulting Numbers: [143] 143,20 unequal: No Solution Exploring Operation: 77*66=5082, Resulting Numbers: [5082] 5082,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,3 Current State: 20:[57, 86], Operations: ['93-36=57', '77+9=86'] Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 57+86=143, Resulting Numbers: [143] 143,20 unequal: No Solution Exploring Operation: 57*86=4902, Resulting Numbers: [4902] 4902,20 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: 20:[77, 93, 4], Operations: ['36/9=4'] Exploring Operation: 77+4=81, Resulting Numbers: [93, 81] Generated Node #0,2,0: 20:[93, 81] Operation: 77+4=81 Exploring Operation: 93+4=97, Resulting Numbers: [77, 97] Generated Node #0,2,1: 20:[77, 97] Operation: 93+4=97 Exploring Operation: 77-4=73, Resulting Numbers: [93, 73] Generated Node #0,2,2: 20:[93, 73] Operation: 77-4=73 Exploring Operation: 93-4=89, Resulting Numbers: [77, 89] Generated Node #0,2,3: 20:[77, 89] Operation: 93-4=89 Exploring Operation: 93-77=16, Resulting Numbers: [4, 16] Generated Node #0,2,4: 20:[4, 16] Operation: 93-77=16 Moving to Node #0,4 Current State: 20:[77, 93, 27], Operations: ['36-9=27'] Exploring Operation: 93-27=66, Resulting Numbers: [77, 66] Generated Node #0,4,0: 20:[77, 66] Operation: 93-27=66 Exploring Operation: 77+27=104, Resulting Numbers: [93, 104] Generated Node #0,4,1: 20:[93, 104] Operation: 77+27=104 Exploring Operation: 93-77=16, Resulting Numbers: [27, 16] Generated Node #0,4,2: 20:[27, 16] Operation: 93-77=16 Exploring Operation: 77+93=170, Resulting Numbers: [27, 170] Generated Node #0,4,3: 20:[27, 170] Operation: 77+93=170 Exploring Operation: 77-27=50, Resulting Numbers: [93, 50] Generated Node #0,4,4: 20:[93, 50] Operation: 77-27=50 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 20:[27, 16], Operations: ['36-9=27', '93-77=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,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,4,0 Current State: 20:[77, 66], Operations: ['36-9=27', '93-27=66'] Exploring Operation: 77-66=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 77*66=5082, Resulting Numbers: [5082] 5082,20 unequal: No Solution Exploring Operation: 77+66=143, Resulting Numbers: [143] 143,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,4,4 Current State: 20:[93, 50], Operations: ['36-9=27', '77-27=50'] Exploring Operation: 93+50=143, Resulting Numbers: [143] 143,20 unequal: No Solution Exploring Operation: 93*50=4650, Resulting Numbers: [4650] 4650,20 unequal: No Solution Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,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,4,1 Current State: 20:[93, 104], Operations: ['36-9=27', '77+27=104'] Exploring Operation: 93*104=9672, Resulting Numbers: [9672] 9672,20 unequal: No Solution Exploring Operation: 104-93=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 93+104=197, Resulting Numbers: [197] 197,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,4,3 Current State: 20:[27, 170], Operations: ['36-9=27', '77+93=170'] Exploring Operation: 27*170=4590, Resulting Numbers: [4590] 4590,20 unequal: No Solution Exploring Operation: 27+170=197, Resulting Numbers: [197] 197,20 unequal: No Solution Exploring Operation: 170-27=143, Resulting Numbers: [143] 143,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 20:[9, 20], Operations: ['93-77=16', '36-16=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,20 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[4, 16], Operations: ['36/9=4', '93-77=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[36, 77, 9, 93], Operations: [] Exploring Operation: 36/9=4, Resulting Numbers: [77, 93, 4] Generated Node #0,2: 20:[77, 93, 4] Operation: 36/9=4 Moving to Node #0,2 Current State: 20:[77, 93, 4], Operations: ['36/9=4'] Exploring Operation: 93-77=16, Resulting Numbers: [4, 16] Generated Node #0,2,4: 20:[4, 16] Operation: 93-77=16 Moving to Node #0,2,4 Current State: 20:[4, 16], Operations: ['36/9=4', '93-77=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.927083
hs_5
mult_heuristic
[ 42, 17, 43, 63 ]
68
[ "42+43=85", "85/17=5", "63+5=68" ]
Current State: 68:[42, 17, 43, 63], Operations: [] Exploring Operation: 42+43=85, Resulting Numbers: [17, 63, 85] Generated Node #2: [17, 63, 85] from Operation: 42+43=85 Current State: 68:[17, 63, 85], Operations: ['42+43=85'] Exploring Operation: 85/17=5, Resulting Numbers: [63, 5] Generated Node #3: [63, 5] from Operation: 85/17=5 Current State: 68:[63, 5], Operations: ['42+43=85', '85/17=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[42, 17, 43, 63], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [17, 43, 21] Generated Node #0,0: 68:[17, 43, 21] Operation: 63-42=21 Exploring Operation: 63-43=20, Resulting Numbers: [42, 17, 20] Generated Node #0,1: 68:[42, 17, 20] Operation: 63-43=20 Exploring Operation: 43-42=1, Resulting Numbers: [17, 63, 1] Generated Node #0,2: 68:[17, 63, 1] Operation: 43-42=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[17, 63, 1], Operations: ['43-42=1'] Exploring Operation: 63+1=64, Resulting Numbers: [17, 64] Generated Node #0,2,0: 68:[17, 64] Operation: 63+1=64 Exploring Operation: 17/1=17, Resulting Numbers: [63, 17] Generated Node #0,2,1: 68:[63, 17] Operation: 17/1=17 Exploring Operation: 17*1=17, Resulting Numbers: [63, 17] Generated Node #0,2,2: 68:[63, 17] Operation: 17*1=17 Moving to Node #0,2,0 Current State: 68:[17, 64], Operations: ['43-42=1', '63+1=64'] Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[63, 17], Operations: ['43-42=1', '17/1=17'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,68 unequal: No Solution Exploring Operation: 63*17=1071, Resulting Numbers: [1071] 1071,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[63, 17], Operations: ['43-42=1', '17*1=17'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,68 unequal: No Solution Exploring Operation: 63*17=1071, Resulting Numbers: [1071] 1071,68 unequal: No Solution No 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: 68:[42, 17, 20], Operations: ['63-43=20'] Exploring Operation: 42-20=22, Resulting Numbers: [17, 22] Generated Node #0,1,0: 68:[17, 22] Operation: 42-20=22 Exploring Operation: 42+20=62, Resulting Numbers: [17, 62] Generated Node #0,1,1: 68:[17, 62] Operation: 42+20=62 Exploring Operation: 20-17=3, Resulting Numbers: [42, 3] Generated Node #0,1,2: 68:[42, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[17, 22], Operations: ['63-43=20', '42-20=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,68 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,68 unequal: No Solution No 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: 68:[17, 62], Operations: ['63-43=20', '42+20=62'] Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,68 unequal: No Solution Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,68 unequal: No Solution No 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: 68:[42, 3], Operations: ['63-43=20', '20-17=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,68 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: 68:[17, 43, 21], Operations: ['63-42=21'] Exploring Operation: 43+21=64, Resulting Numbers: [17, 64] Generated Node #0,0,0: 68:[17, 64] Operation: 43+21=64 Exploring Operation: 21-17=4, Resulting Numbers: [43, 4] Generated Node #0,0,1: 68:[43, 4] Operation: 21-17=4 Exploring Operation: 43-21=22, Resulting Numbers: [17, 22] Generated Node #0,0,2: 68:[17, 22] Operation: 43-21=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[17, 64], Operations: ['63-42=21', '43+21=64'] Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,68 unequal: No Solution Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[17, 22], Operations: ['63-42=21', '43-21=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,68 unequal: No Solution No 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: 68:[43, 4], Operations: ['63-42=21', '21-17=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 2, 47, 99, 78 ]
34
[ "47+99=146", "146-78=68", "68/2=34" ]
Current State: 34:[2, 47, 99, 78], Operations: [] Exploring Operation: 47+99=146, Resulting Numbers: [2, 78, 146] Generated Node #2: [2, 78, 146] from Operation: 47+99=146 Current State: 34:[2, 78, 146], Operations: ['47+99=146'] Exploring Operation: 146-78=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 146-78=68 Current State: 34:[2, 68], Operations: ['47+99=146', '146-78=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 47, 99, 78], Operations: [] Exploring Operation: 99-78=21, Resulting Numbers: [2, 47, 21] Generated Node #0,0: 34:[2, 47, 21] Operation: 99-78=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[2, 47, 21], Operations: ['99-78=21'] Exploring Operation: 47-21=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 34:[2, 26] Operation: 47-21=26 Moving to Node #0,0,0 Current State: 34:[2, 26], Operations: ['99-78=21', '47-21=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,34 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
[ 65, 31, 72, 26 ]
35
[ "72-65=7", "31-26=5", "7*5=35" ]
Current State: 35:[65, 31, 72, 26], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [31, 26, 7] Generated Node #2: [31, 26, 7] from Operation: 72-65=7 Current State: 35:[31, 26, 7], Operations: ['72-65=7'] Exploring Operation: 31-26=5, Resulting Numbers: [7, 5] Generated Node #3: [7, 5] from Operation: 31-26=5 Current State: 35:[7, 5], Operations: ['72-65=7', '31-26=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[65, 31, 72, 26], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [31, 72, 39] Generated Node #0,0: 35:[31, 72, 39] Operation: 65-26=39 Exploring Operation: 72-65=7, Resulting Numbers: [31, 26, 7] Generated Node #0,1: 35:[31, 26, 7] Operation: 72-65=7 Exploring Operation: 72-26=46, Resulting Numbers: [65, 31, 46] Generated Node #0,2: 35:[65, 31, 46] Operation: 72-26=46 Exploring Operation: 72-31=41, Resulting Numbers: [65, 26, 41] Generated Node #0,3: 35:[65, 26, 41] Operation: 72-31=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[31, 26, 7], Operations: ['72-65=7'] Exploring Operation: 31+7=38, Resulting Numbers: [26, 38] Generated Node #0,1,0: 35:[26, 38] Operation: 31+7=38 Exploring Operation: 26-7=19, Resulting Numbers: [31, 19] Generated Node #0,1,1: 35:[31, 19] Operation: 26-7=19 Exploring Operation: 26+7=33, Resulting Numbers: [31, 33] Generated Node #0,1,2: 35:[31, 33] Operation: 26+7=33 Exploring Operation: 31-26=5, Resulting Numbers: [7, 5] Generated Node #0,1,3: 35:[7, 5] Operation: 31-26=5 Moving to Node #0,1,3 Current State: 35:[7, 5], Operations: ['72-65=7', '31-26=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[65, 31, 72, 26], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [31, 26, 7] Generated Node #0,1: 35:[31, 26, 7] Operation: 72-65=7 Moving to Node #0,1 Current State: 35:[31, 26, 7], Operations: ['72-65=7'] Exploring Operation: 31-26=5, Resulting Numbers: [7, 5] Generated Node #0,1,3: 35:[7, 5] Operation: 31-26=5 Moving to Node #0,1,3 Current State: 35:[7, 5], Operations: ['72-65=7', '31-26=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 10, 21, 24, 29 ]
48
[ "10+21=31", "31-29=2", "24*2=48" ]
Current State: 48:[10, 21, 24, 29], Operations: [] Exploring Operation: 10+21=31, Resulting Numbers: [24, 29, 31] Generated Node #2: [24, 29, 31] from Operation: 10+21=31 Current State: 48:[24, 29, 31], Operations: ['10+21=31'] Exploring Operation: 31-29=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 31-29=2 Current State: 48:[24, 2], Operations: ['10+21=31', '31-29=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 21, 24, 29], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [10, 24, 8] Generated Node #0,0: 48:[10, 24, 8] Operation: 29-21=8 Moving to Node #0,0 Current State: 48:[10, 24, 8], Operations: ['29-21=8'] Exploring Operation: 10-8=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 48:[24, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[24, 2], Operations: ['29-21=8', '10-8=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[10, 21, 24, 29], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [10, 24, 8] Generated Node #0,0: 48:[10, 24, 8] Operation: 29-21=8 Moving to Node #0,0 Current State: 48:[10, 24, 8], Operations: ['29-21=8'] Exploring Operation: 10-8=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 48:[24, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 48:[24, 2], Operations: ['29-21=8', '10-8=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 94, 38, 74, 35 ]
53
[ "94-38=56", "74+35=109", "109-56=53" ]
Current State: 53:[94, 38, 74, 35], Operations: [] Exploring Operation: 94-38=56, Resulting Numbers: [74, 35, 56] Generated Node #2: [74, 35, 56] from Operation: 94-38=56 Current State: 53:[74, 35, 56], Operations: ['94-38=56'] Exploring Operation: 74+35=109, Resulting Numbers: [56, 109] Generated Node #3: [56, 109] from Operation: 74+35=109 Current State: 53:[56, 109], Operations: ['94-38=56', '74+35=109'] Exploring Operation: 109-56=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[94, 38, 74, 35], Operations: [] Exploring Operation: 94-38=56, Resulting Numbers: [74, 35, 56] Generated Node #0,0: 53:[74, 35, 56] Operation: 94-38=56 Exploring Operation: 94-35=59, Resulting Numbers: [38, 74, 59] Generated Node #0,1: 53:[38, 74, 59] Operation: 94-35=59 Exploring Operation: 94-74=20, Resulting Numbers: [38, 35, 20] Generated Node #0,2: 53:[38, 35, 20] Operation: 94-74=20 Exploring Operation: 74-35=39, Resulting Numbers: [94, 38, 39] Generated Node #0,3: 53:[94, 38, 39] Operation: 74-35=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[74, 35, 56], Operations: ['94-38=56'] Exploring Operation: 74+35=109, Resulting Numbers: [56, 109] Generated Node #0,0,0: 53:[56, 109] Operation: 74+35=109 Exploring Operation: 74-35=39, Resulting Numbers: [56, 39] Generated Node #0,0,1: 53:[56, 39] Operation: 74-35=39 Exploring Operation: 56-35=21, Resulting Numbers: [74, 21] Generated Node #0,0,2: 53:[74, 21] Operation: 56-35=21 Exploring Operation: 74-56=18, Resulting Numbers: [35, 18] Generated Node #0,0,3: 53:[35, 18] Operation: 74-56=18 Moving to Node #0,0,1 Current State: 53:[56, 39], Operations: ['94-38=56', '74-35=39'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,53 unequal: No Solution Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[35, 18], Operations: ['94-38=56', '74-56=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[94, 38, 74, 35], Operations: [] Exploring Operation: 94-38=56, Resulting Numbers: [74, 35, 56] Generated Node #0,0: 53:[74, 35, 56] Operation: 94-38=56 Moving to Node #0,0 Current State: 53:[74, 35, 56], Operations: ['94-38=56'] Exploring Operation: 74-56=18, Resulting Numbers: [35, 18] Generated Node #0,0,3: 53:[35, 18] Operation: 74-56=18 Moving to Node #0,0,3 Current State: 53:[35, 18], Operations: ['94-38=56', '74-56=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 7, 17, 98, 6 ]
82
[ "17-7=10", "98-6=92", "92-10=82" ]
Current State: 82:[7, 17, 98, 6], Operations: [] Exploring Operation: 17-7=10, Resulting Numbers: [98, 6, 10] Generated Node #2: [98, 6, 10] from Operation: 17-7=10 Current State: 82:[98, 6, 10], Operations: ['17-7=10'] Exploring Operation: 98-6=92, Resulting Numbers: [10, 92] Generated Node #3: [10, 92] from Operation: 98-6=92 Current State: 82:[10, 92], Operations: ['17-7=10', '98-6=92'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[7, 17, 98, 6], Operations: [] Exploring Operation: 17-7=10, Resulting Numbers: [98, 6, 10] Generated Node #0,0: 82:[98, 6, 10] Operation: 17-7=10 Exploring Operation: 98-7=91, Resulting Numbers: [17, 6, 91] Generated Node #0,1: 82:[17, 6, 91] Operation: 98-7=91 Exploring Operation: 17-6=11, Resulting Numbers: [7, 98, 11] Generated Node #0,2: 82:[7, 98, 11] Operation: 17-6=11 Exploring Operation: 98-17=81, Resulting Numbers: [7, 6, 81] Generated Node #0,3: 82:[7, 6, 81] Operation: 98-17=81 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[7, 6, 81], Operations: ['98-17=81'] Exploring Operation: 7+81=88, Resulting Numbers: [6, 88] Generated Node #0,3,0: 82:[6, 88] Operation: 7+81=88 Exploring Operation: 7-6=1, Resulting Numbers: [81, 1] Generated Node #0,3,1: 82:[81, 1] Operation: 7-6=1 Exploring Operation: 6+81=87, Resulting Numbers: [7, 87] Generated Node #0,3,2: 82:[7, 87] Operation: 6+81=87 Exploring Operation: 7*6=42, Resulting Numbers: [81, 42] Generated Node #0,3,3: 82:[81, 42] Operation: 7*6=42 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[81, 1], Operations: ['98-17=81', '7-6=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[7, 17, 98, 6], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [7, 6, 81] Generated Node #0,3: 82:[7, 6, 81] Operation: 98-17=81 Moving to Node #0,3 Current State: 82:[7, 6, 81], Operations: ['98-17=81'] Exploring Operation: 7-6=1, Resulting Numbers: [81, 1] Generated Node #0,3,1: 82:[81, 1] Operation: 7-6=1 Moving to Node #0,3,1 Current State: 82:[81, 1], Operations: ['98-17=81', '7-6=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 93, 43, 65, 66 ]
90
[ "65-43=22", "66/22=3", "93-3=90" ]
Current State: 90:[93, 43, 65, 66], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [93, 66, 22] Generated Node #2: [93, 66, 22] from Operation: 65-43=22 Current State: 90:[93, 66, 22], Operations: ['65-43=22'] Exploring Operation: 66/22=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 66/22=3 Current State: 90:[93, 3], Operations: ['65-43=22', '66/22=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[93, 43, 65, 66], Operations: [] Exploring Operation: 93-66=27, Resulting Numbers: [43, 65, 27] Generated Node #0,0: 90:[43, 65, 27] Operation: 93-66=27 Exploring Operation: 93-65=28, Resulting Numbers: [43, 66, 28] Generated Node #0,1: 90:[43, 66, 28] Operation: 93-65=28 Exploring Operation: 66-65=1, Resulting Numbers: [93, 43, 1] Generated Node #0,2: 90:[93, 43, 1] Operation: 66-65=1 Moving to Node #0,2 Current State: 90:[93, 43, 1], Operations: ['66-65=1'] Exploring Operation: 93-1=92, Resulting Numbers: [43, 92] Generated Node #0,2,0: 90:[43, 92] Operation: 93-1=92 Exploring Operation: 93*1=93, Resulting Numbers: [43, 93] Generated Node #0,2,1: 90:[43, 93] Operation: 93*1=93 Exploring Operation: 43+1=44, Resulting Numbers: [93, 44] Generated Node #0,2,2: 90:[93, 44] Operation: 43+1=44 Moving to Node #0,0 Current State: 90:[43, 65, 27], Operations: ['93-66=27'] Exploring Operation: 65-43=22, Resulting Numbers: [27, 22] Generated Node #0,0,0: 90:[27, 22] Operation: 65-43=22 Exploring Operation: 65+27=92, Resulting Numbers: [43, 92] Generated Node #0,0,1: 90:[43, 92] Operation: 65+27=92 Exploring Operation: 65-27=38, Resulting Numbers: [43, 38] Generated Node #0,0,2: 90:[43, 38] Operation: 65-27=38 Moving to Node #0,1 Current State: 90:[43, 66, 28], Operations: ['93-65=28'] Exploring Operation: 66-43=23, Resulting Numbers: [28, 23] Generated Node #0,1,0: 90:[28, 23] Operation: 66-43=23 Exploring Operation: 66+28=94, Resulting Numbers: [43, 94] Generated Node #0,1,1: 90:[43, 94] Operation: 66+28=94 Exploring Operation: 66-28=38, Resulting Numbers: [43, 38] Generated Node #0,1,2: 90:[43, 38] Operation: 66-28=38 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[43, 94], Operations: ['93-65=28', '66+28=94'] Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 43+94=137, Resulting Numbers: [137] 137,90 unequal: No Solution Exploring Operation: 43*94=4042, Resulting Numbers: [4042] 4042,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,0 Current State: 90:[28, 23], Operations: ['93-65=28', '66-43=23'] Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,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,2 Current State: 90:[43, 38], Operations: ['93-65=28', '66-28=38'] Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,90 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 90:[43, 92], Operations: ['66-65=1', '93-1=92'] Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[93, 44], Operations: ['66-65=1', '43+1=44'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 93*44=4092, Resulting Numbers: [4092] 4092,90 unequal: No Solution Exploring Operation: 93+44=137, Resulting Numbers: [137] 137,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[43, 92], Operations: ['93-66=27', '65+27=92'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,90 unequal: No Solution Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[43, 93], Operations: ['66-65=1', '93*1=93'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 43*93=3999, Resulting Numbers: [3999] 3999,90 unequal: No Solution Exploring Operation: 43+93=136, Resulting Numbers: [136] 136,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[27, 22], Operations: ['93-66=27', '65-43=22'] Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,90 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[43, 38], Operations: ['93-66=27', '65-27=38'] Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,90 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 13, 39, 73, 78 ]
28
[ "78/13=6", "73-39=34", "34-6=28" ]
Current State: 28:[13, 39, 73, 78], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [39, 73, 6] Generated Node #2: [39, 73, 6] from Operation: 78/13=6 Current State: 28:[39, 73, 6], Operations: ['78/13=6'] Exploring Operation: 73-39=34, Resulting Numbers: [6, 34] Generated Node #3: [6, 34] from Operation: 73-39=34 Current State: 28:[6, 34], Operations: ['78/13=6', '73-39=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[13, 39, 73, 78], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [13, 73, 2] Generated Node #0,0: 28:[13, 73, 2] Operation: 78/39=2 Exploring Operation: 78-73=5, Resulting Numbers: [13, 39, 5] Generated Node #0,1: 28:[13, 39, 5] Operation: 78-73=5 Exploring Operation: 73-39=34, Resulting Numbers: [13, 78, 34] Generated Node #0,2: 28:[13, 78, 34] Operation: 73-39=34 Exploring Operation: 78/13=6, Resulting Numbers: [39, 73, 6] Generated Node #0,3: 28:[39, 73, 6] Operation: 78/13=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[13, 39, 5], Operations: ['78-73=5'] Exploring Operation: 39-13=26, Resulting Numbers: [5, 26] Generated Node #0,1,0: 28:[5, 26] Operation: 39-13=26 Exploring Operation: 39-5=34, Resulting Numbers: [13, 34] Generated Node #0,1,1: 28:[13, 34] Operation: 39-5=34 Exploring Operation: 39/13=3, Resulting Numbers: [5, 3] Generated Node #0,1,2: 28:[5, 3] Operation: 39/13=3 Exploring Operation: 13-5=8, Resulting Numbers: [39, 8] Generated Node #0,1,3: 28:[39, 8] Operation: 13-5=8 Moving to Node #0,1,2 Current State: 28:[5, 3], Operations: ['78-73=5', '39/13=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[5, 26], Operations: ['78-73=5', '39-13=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,28 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[13, 34], Operations: ['78-73=5', '39-5=34'] Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,28 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[39, 8], Operations: ['78-73=5', '13-5=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,28 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[13, 73, 2], Operations: ['78/39=2'] Exploring Operation: 13+2=15, Resulting Numbers: [73, 15] Generated Node #0,0,0: 28:[73, 15] Operation: 13+2=15 Exploring Operation: 73-2=71, Resulting Numbers: [13, 71] Generated Node #0,0,1: 28:[13, 71] Operation: 73-2=71 Exploring Operation: 13*2=26, Resulting Numbers: [73, 26] Generated Node #0,0,2: 28:[73, 26] Operation: 13*2=26 Exploring Operation: 73-13=60, Resulting Numbers: [2, 60] Generated Node #0,0,3: 28:[2, 60] Operation: 73-13=60 Moving to Node #0,0,3 Current State: 28:[2, 60], Operations: ['78/39=2', '73-13=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,28 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[13, 71], Operations: ['78/39=2', '73-2=71'] Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 13*71=923, Resulting Numbers: [923] 923,28 unequal: No Solution Exploring Operation: 13+71=84, Resulting Numbers: [84] 84,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[73, 15], Operations: ['78/39=2', '13+2=15'] Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,28 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[73, 26], Operations: ['78/39=2', '13*2=26'] Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,28 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,28 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[13, 78, 34], Operations: ['73-39=34'] Exploring Operation: 78-34=44, Resulting Numbers: [13, 44] Generated Node #0,2,0: 28:[13, 44] Operation: 78-34=44 Exploring Operation: 34-13=21, Resulting Numbers: [78, 21] Generated Node #0,2,1: 28:[78, 21] Operation: 34-13=21 Exploring Operation: 78-13=65, Resulting Numbers: [34, 65] Generated Node #0,2,2: 28:[34, 65] Operation: 78-13=65 Exploring Operation: 78/13=6, Resulting Numbers: [34, 6] Generated Node #0,2,3: 28:[34, 6] Operation: 78/13=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[34, 6], Operations: ['73-39=34', '78/13=6'] Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,28 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[13, 39, 73, 78], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [13, 78, 34] Generated Node #0,2: 28:[13, 78, 34] Operation: 73-39=34 Moving to Node #0,2 Current State: 28:[13, 78, 34], Operations: ['73-39=34'] Exploring Operation: 78/13=6, Resulting Numbers: [34, 6] Generated Node #0,2,3: 28:[34, 6] Operation: 78/13=6 Moving to Node #0,2,3 Current State: 28:[34, 6], Operations: ['73-39=34', '78/13=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 66, 73, 32, 3 ]
43
[ "66+73=139", "32*3=96", "139-96=43" ]
Current State: 43:[66, 73, 32, 3], Operations: [] Exploring Operation: 66+73=139, Resulting Numbers: [32, 3, 139] Generated Node #2: [32, 3, 139] from Operation: 66+73=139 Current State: 43:[32, 3, 139], Operations: ['66+73=139'] Exploring Operation: 32*3=96, Resulting Numbers: [139, 96] Generated Node #3: [139, 96] from Operation: 32*3=96 Current State: 43:[139, 96], Operations: ['66+73=139', '32*3=96'] Exploring Operation: 139-96=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[66, 73, 32, 3], Operations: [] Exploring Operation: 66-3=63, Resulting Numbers: [73, 32, 63] Generated Node #0,0: 43:[73, 32, 63] Operation: 66-3=63 Exploring Operation: 73-3=70, Resulting Numbers: [66, 32, 70] Generated Node #0,1: 43:[66, 32, 70] Operation: 73-3=70 Moving to Node #0,0 Current State: 43:[73, 32, 63], Operations: ['66-3=63'] Exploring Operation: 63-32=31, Resulting Numbers: [73, 31] Generated Node #0,0,0: 43:[73, 31] Operation: 63-32=31 Exploring Operation: 73-32=41, Resulting Numbers: [63, 41] Generated Node #0,0,1: 43:[63, 41] Operation: 73-32=41 Moving to Node #0,1 Current State: 43:[66, 32, 70], Operations: ['73-3=70'] Exploring Operation: 70-32=38, Resulting Numbers: [66, 38] Generated Node #0,1,0: 43:[66, 38] Operation: 70-32=38 Exploring Operation: 66-32=34, Resulting Numbers: [70, 34] Generated Node #0,1,1: 43:[70, 34] Operation: 66-32=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[66, 38], Operations: ['73-3=70', '70-32=38'] Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,43 unequal: No Solution Exploring Operation: 66+38=104, Resulting Numbers: [104] 104,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[70, 34], Operations: ['73-3=70', '66-32=34'] Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,43 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,43 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: 43:[63, 41], Operations: ['66-3=63', '73-32=41'] Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 63+41=104, Resulting Numbers: [104] 104,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[73, 31], Operations: ['66-3=63', '63-32=31'] Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 97, 7, 50 ]
42
[ "97+50=147", "147/7=21", "63-21=42" ]
Current State: 42:[63, 97, 7, 50], Operations: [] Exploring Operation: 97+50=147, Resulting Numbers: [63, 7, 147] Generated Node #2: [63, 7, 147] from Operation: 97+50=147 Current State: 42:[63, 7, 147], Operations: ['97+50=147'] Exploring Operation: 147/7=21, Resulting Numbers: [63, 21] Generated Node #3: [63, 21] from Operation: 147/7=21 Current State: 42:[63, 21], Operations: ['97+50=147', '147/7=21'] Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[63, 97, 7, 50], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [7, 50, 34] Generated Node #0,0: 42:[7, 50, 34] Operation: 97-63=34 Exploring Operation: 97-50=47, Resulting Numbers: [63, 7, 47] Generated Node #0,1: 42:[63, 7, 47] Operation: 97-50=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[7, 50, 34], Operations: ['97-63=34'] Exploring Operation: 50-34=16, Resulting Numbers: [7, 16] Generated Node #0,0,0: 42:[7, 16] Operation: 50-34=16 Exploring Operation: 50-7=43, Resulting Numbers: [34, 43] Generated Node #0,0,1: 42:[34, 43] Operation: 50-7=43 Moving to Node #0,0,0 Current State: 42:[7, 16], Operations: ['97-63=34', '50-34=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[34, 43], Operations: ['97-63=34', '50-7=43'] Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[63, 7, 47], Operations: ['97-50=47'] Exploring Operation: 63-47=16, Resulting Numbers: [7, 16] Generated Node #0,1,0: 42:[7, 16] Operation: 63-47=16 Exploring Operation: 63/7=9, Resulting Numbers: [47, 9] Generated Node #0,1,1: 42:[47, 9] Operation: 63/7=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[7, 16], Operations: ['97-50=47', '63-47=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,42 unequal: No Solution No 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: 42:[47, 9], Operations: ['97-50=47', '63/7=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,42 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
[ 36, 49, 51, 42 ]
39
[ "36+42=78", "51-49=2", "78/2=39" ]
Current State: 39:[36, 49, 51, 42], Operations: [] Exploring Operation: 36+42=78, Resulting Numbers: [49, 51, 78] Generated Node #2: [49, 51, 78] from Operation: 36+42=78 Current State: 39:[49, 51, 78], Operations: ['36+42=78'] Exploring Operation: 51-49=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 51-49=2 Current State: 39:[78, 2], Operations: ['36+42=78', '51-49=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[36, 49, 51, 42], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [36, 42, 2] Generated Node #0,0: 39:[36, 42, 2] Operation: 51-49=2 Exploring Operation: 49-36=13, Resulting Numbers: [51, 42, 13] Generated Node #0,1: 39:[51, 42, 13] Operation: 49-36=13 Moving to Node #0,0 Current State: 39:[36, 42, 2], Operations: ['51-49=2'] Exploring Operation: 36+2=38, Resulting Numbers: [42, 38] Generated Node #0,0,0: 39:[42, 38] Operation: 36+2=38 Exploring Operation: 42-36=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 39:[2, 6] Operation: 42-36=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[42, 38], Operations: ['51-49=2', '36+2=38'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[2, 6], Operations: ['51-49=2', '42-36=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 39:[51, 42, 13], Operations: ['49-36=13'] Exploring Operation: 51-13=38, Resulting Numbers: [42, 38] Generated Node #0,1,0: 39:[42, 38] Operation: 51-13=38 Exploring Operation: 51-42=9, Resulting Numbers: [13, 9] Generated Node #0,1,1: 39:[13, 9] Operation: 51-42=9 Moving to Node #0,1,0 Current State: 39:[42, 38], Operations: ['49-36=13', '51-13=38'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[13, 9], Operations: ['49-36=13', '51-42=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,39 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 71, 50, 49, 50 ]
71
[ "50-50=0", "49*0=0", "71+0=71" ]
Current State: 71:[71, 50, 49, 50], Operations: [] Exploring Operation: 50-50=0, Resulting Numbers: [71, 49, 0] Generated Node #2: [71, 49, 0] from Operation: 50-50=0 Current State: 71:[71, 49, 0], Operations: ['50-50=0'] Exploring Operation: 49*0=0, Resulting Numbers: [71, 0] Generated Node #3: [71, 0] from Operation: 49*0=0 Current State: 71:[71, 0], Operations: ['50-50=0', '49*0=0'] Exploring Operation: 71+0=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[71, 50, 49, 50], Operations: [] Exploring Operation: 50+50=100, Resulting Numbers: [71, 49, 100] Generated Node #0,0: 71:[71, 49, 100] Operation: 50+50=100 Exploring Operation: 49+50=99, Resulting Numbers: [71, 50, 99] Generated Node #0,1: 71:[71, 50, 99] Operation: 49+50=99 Exploring Operation: 71-49=22, Resulting Numbers: [50, 50, 22] Generated Node #0,2: 71:[50, 50, 22] Operation: 71-49=22 Exploring Operation: 50+49=99, Resulting Numbers: [71, 50, 99] Generated Node #0,3: 71:[71, 50, 99] Operation: 50+49=99 Exploring Operation: 71+49=120, Resulting Numbers: [50, 50, 120] Generated Node #0,4: 71:[50, 50, 120] Operation: 71+49=120 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[71, 50, 99], Operations: ['49+50=99'] Exploring Operation: 50+99=149, Resulting Numbers: [71, 149] Generated Node #0,1,0: 71:[71, 149] Operation: 50+99=149 Exploring Operation: 71-50=21, Resulting Numbers: [99, 21] Generated Node #0,1,1: 71:[99, 21] Operation: 71-50=21 Exploring Operation: 71+50=121, Resulting Numbers: [99, 121] Generated Node #0,1,2: 71:[99, 121] Operation: 71+50=121 Exploring Operation: 99-71=28, Resulting Numbers: [50, 28] Generated Node #0,1,3: 71:[50, 28] Operation: 99-71=28 Exploring Operation: 99-50=49, Resulting Numbers: [71, 49] Generated Node #0,1,4: 71:[71, 49] Operation: 99-50=49 Moving to Node #0,1,4 Current State: 71:[71, 49], Operations: ['49+50=99', '99-50=49'] Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,71 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[50, 28], Operations: ['49+50=99', '99-71=28'] Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,71 unequal: No Solution Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[71, 149], Operations: ['49+50=99', '50+99=149'] Exploring Operation: 149-71=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 71+149=220, Resulting Numbers: [220] 220,71 unequal: No Solution Exploring Operation: 71*149=10579, Resulting Numbers: [10579] 10579,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[99, 21], Operations: ['49+50=99', '71-50=21'] Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[99, 121], Operations: ['49+50=99', '71+50=121'] Exploring Operation: 99*121=11979, Resulting Numbers: [11979] 11979,71 unequal: No Solution Exploring Operation: 99+121=220, Resulting Numbers: [220] 220,71 unequal: No Solution Exploring Operation: 121-99=22, Resulting Numbers: [22] 22,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[71, 50, 99], Operations: ['50+49=99'] Exploring Operation: 71+50=121, Resulting Numbers: [99, 121] Generated Node #0,3,0: 71:[99, 121] Operation: 71+50=121 Exploring Operation: 99-50=49, Resulting Numbers: [71, 49] Generated Node #0,3,1: 71:[71, 49] Operation: 99-50=49 Exploring Operation: 99-71=28, Resulting Numbers: [50, 28] Generated Node #0,3,2: 71:[50, 28] Operation: 99-71=28 Exploring Operation: 71-50=21, Resulting Numbers: [99, 21] Generated Node #0,3,3: 71:[99, 21] Operation: 71-50=21 Exploring Operation: 50+99=149, Resulting Numbers: [71, 149] Generated Node #0,3,4: 71:[71, 149] Operation: 50+99=149 Moving to Node #0,3,1 Current State: 71:[71, 49], Operations: ['50+49=99', '99-50=49'] Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,71 unequal: No Solution Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[50, 28], Operations: ['50+49=99', '99-71=28'] Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[99, 121], Operations: ['50+49=99', '71+50=121'] Exploring Operation: 99*121=11979, Resulting Numbers: [11979] 11979,71 unequal: No Solution Exploring Operation: 121-99=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 99+121=220, Resulting Numbers: [220] 220,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[99, 21], Operations: ['50+49=99', '71-50=21'] Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,71 unequal: No Solution Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[71, 149], Operations: ['50+49=99', '50+99=149'] Exploring Operation: 149-71=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 71*149=10579, Resulting Numbers: [10579] 10579,71 unequal: No Solution Exploring Operation: 71+149=220, Resulting Numbers: [220] 220,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 Current State: 71:[71, 49, 100], Operations: ['50+50=100'] Exploring Operation: 100-49=51, Resulting Numbers: [71, 51] Generated Node #0,0,0: 71:[71, 51] Operation: 100-49=51 Exploring Operation: 100-71=29, Resulting Numbers: [49, 29] Generated Node #0,0,1: 71:[49, 29] Operation: 100-71=29 Exploring Operation: 71-49=22, Resulting Numbers: [100, 22] Generated Node #0,0,2: 71:[100, 22] Operation: 71-49=22 Exploring Operation: 49+100=149, Resulting Numbers: [71, 149] Generated Node #0,0,3: 71:[71, 149] Operation: 49+100=149 Exploring Operation: 71+49=120, Resulting Numbers: [100, 120] Generated Node #0,0,4: 71:[100, 120] Operation: 71+49=120 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[71, 51], Operations: ['50+50=100', '100-49=51'] Exploring Operation: 71*51=3621, Resulting Numbers: [3621] 3621,71 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 71+51=122, Resulting Numbers: [122] 122,71 unequal: No Solution No 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: 71:[49, 29], Operations: ['50+50=100', '100-71=29'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[100, 22], Operations: ['50+50=100', '71-49=22'] Exploring Operation: 100+22=122, Resulting Numbers: [122] 122,71 unequal: No Solution Exploring Operation: 100-22=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 100*22=2200, Resulting Numbers: [2200] 2200,71 unequal: No Solution No 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: 71:[71, 149], Operations: ['50+50=100', '49+100=149'] Exploring Operation: 71*149=10579, Resulting Numbers: [10579] 10579,71 unequal: No Solution Exploring Operation: 71+149=220, Resulting Numbers: [220] 220,71 unequal: No Solution Exploring Operation: 149-71=78, Resulting Numbers: [78] 78,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[100, 120], Operations: ['50+50=100', '71+49=120'] Exploring Operation: 100*120=12000, Resulting Numbers: [12000] 12000,71 unequal: No Solution Exploring Operation: 100+120=220, Resulting Numbers: [220] 220,71 unequal: No Solution Exploring Operation: 120-100=20, Resulting Numbers: [20] 20,71 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: 71:[50, 50, 22], Operations: ['71-49=22'] Exploring Operation: 50-22=28, Resulting Numbers: [50, 28] Generated Node #0,2,0: 71:[50, 28] Operation: 50-22=28 Exploring Operation: 50-22=28, Resulting Numbers: [50, 28] Generated Node #0,2,1: 71:[50, 28] Operation: 50-22=28 Exploring Operation: 50+22=72, Resulting Numbers: [50, 72] Generated Node #0,2,2: 71:[50, 72] Operation: 50+22=72 Exploring Operation: 50+22=72, Resulting Numbers: [50, 72] Generated Node #0,2,3: 71:[50, 72] Operation: 50+22=72 Exploring Operation: 50+50=100, Resulting Numbers: [22, 100] Generated Node #0,2,4: 71:[22, 100] Operation: 50+50=100 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[50, 72], Operations: ['71-49=22', '50+22=72'] Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,71 unequal: No Solution Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,71 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,71 unequal: No Solution No 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: 71:[50, 72], Operations: ['71-49=22', '50+22=72'] Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,71 unequal: No Solution Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,71 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,71 unequal: No Solution No 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: 71:[50, 28], Operations: ['71-49=22', '50-22=28'] Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,71 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,71 unequal: No Solution No 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: 71:[50, 28], Operations: ['71-49=22', '50-22=28'] Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,71 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,71 unequal: No Solution No 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: 71:[22, 100], Operations: ['71-49=22', '50+50=100'] Exploring Operation: 22*100=2200, Resulting Numbers: [2200] 2200,71 unequal: No Solution Exploring Operation: 100-22=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 22+100=122, Resulting Numbers: [122] 122,71 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: 71:[50, 50, 120], Operations: ['71+49=120'] Exploring Operation: 120-50=70, Resulting Numbers: [50, 70] Generated Node #0,4,0: 71:[50, 70] Operation: 120-50=70 Exploring Operation: 50-50=0, Resulting Numbers: [120, 0] Generated Node #0,4,1: 71:[120, 0] Operation: 50-50=0 Exploring Operation: 50+50=100, Resulting Numbers: [120, 100] Generated Node #0,4,2: 71:[120, 100] Operation: 50+50=100 Exploring Operation: 50/50=1, Resulting Numbers: [120, 1] Generated Node #0,4,3: 71:[120, 1] Operation: 50/50=1 Exploring Operation: 120-50=70, Resulting Numbers: [50, 70] Generated Node #0,4,4: 71:[50, 70] Operation: 120-50=70 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 71:[50, 70], Operations: ['71+49=120', '120-50=70'] Exploring Operation: 50+70=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 50*70=3500, Resulting Numbers: [3500] 3500,71 unequal: No Solution No 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: 71:[50, 70], Operations: ['71+49=120', '120-50=70'] Exploring Operation: 50*70=3500, Resulting Numbers: [3500] 3500,71 unequal: No Solution Exploring Operation: 50+70=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,71 unequal: No Solution No 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: 71:[120, 100], Operations: ['71+49=120', '50+50=100'] Exploring Operation: 120+100=220, Resulting Numbers: [220] 220,71 unequal: No Solution Exploring Operation: 120-100=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 120*100=12000, Resulting Numbers: [12000] 12000,71 unequal: No Solution No 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: 71:[120, 1], Operations: ['71+49=120', '50/50=1'] Exploring Operation: 120+1=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 120/1=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 120-1=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 120*1=120, Resulting Numbers: [120] 120,71 unequal: No Solution No 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: 71:[120, 0], Operations: ['71+49=120', '50-50=0'] Exploring Operation: 120+0=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 120*0=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 120-0=120, Resulting Numbers: [120] 120,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 8, 3, 22, 93 ]
86
[ "8*22=176", "93-3=90", "176-90=86" ]
Current State: 86:[8, 3, 22, 93], Operations: [] Exploring Operation: 8*22=176, Resulting Numbers: [3, 93, 176] Generated Node #2: [3, 93, 176] from Operation: 8*22=176 Current State: 86:[3, 93, 176], Operations: ['8*22=176'] Exploring Operation: 93-3=90, Resulting Numbers: [176, 90] Generated Node #3: [176, 90] from Operation: 93-3=90 Current State: 86:[176, 90], Operations: ['8*22=176', '93-3=90'] Exploring Operation: 176-90=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[8, 3, 22, 93], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [3, 93, 14] Generated Node #0,0: 86:[3, 93, 14] Operation: 22-8=14 Exploring Operation: 8+22=30, Resulting Numbers: [3, 93, 30] Generated Node #0,1: 86:[3, 93, 30] Operation: 8+22=30 Exploring Operation: 93-22=71, Resulting Numbers: [8, 3, 71] Generated Node #0,2: 86:[8, 3, 71] Operation: 93-22=71 Exploring Operation: 93-8=85, Resulting Numbers: [3, 22, 85] Generated Node #0,3: 86:[3, 22, 85] Operation: 93-8=85 Exploring Operation: 8-3=5, Resulting Numbers: [22, 93, 5] Generated Node #0,4: 86:[22, 93, 5] Operation: 8-3=5 Moving to Node #0,0 Current State: 86:[3, 93, 14], Operations: ['22-8=14'] Exploring Operation: 3+93=96, Resulting Numbers: [14, 96] Generated Node #0,0,0: 86:[14, 96] Operation: 3+93=96 Exploring Operation: 3*14=42, Resulting Numbers: [93, 42] Generated Node #0,0,1: 86:[93, 42] Operation: 3*14=42 Exploring Operation: 14-3=11, Resulting Numbers: [93, 11] Generated Node #0,0,2: 86:[93, 11] Operation: 14-3=11 Exploring Operation: 93-3=90, Resulting Numbers: [14, 90] Generated Node #0,0,3: 86:[14, 90] Operation: 93-3=90 Exploring Operation: 93-14=79, Resulting Numbers: [3, 79] Generated Node #0,0,4: 86:[3, 79] Operation: 93-14=79 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[93, 42], Operations: ['22-8=14', '3*14=42'] Exploring Operation: 93*42=3906, Resulting Numbers: [3906] 3906,86 unequal: No Solution Exploring Operation: 93+42=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 86:[3, 79], Operations: ['22-8=14', '93-14=79'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 3*79=237, Resulting Numbers: [237] 237,86 unequal: No Solution Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[93, 11], Operations: ['22-8=14', '14-3=11'] Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,86 unequal: No Solution Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[14, 90], Operations: ['22-8=14', '93-3=90'] Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 14+90=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 14*90=1260, Resulting Numbers: [1260] 1260,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[14, 96], Operations: ['22-8=14', '3+93=96'] Exploring Operation: 14+96=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 14*96=1344, Resulting Numbers: [1344] 1344,86 unequal: No Solution Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[3, 93, 30], Operations: ['8+22=30'] Exploring Operation: 30/3=10, Resulting Numbers: [93, 10] Generated Node #0,1,0: 86:[93, 10] Operation: 30/3=10 Exploring Operation: 3*30=90, Resulting Numbers: [93, 90] Generated Node #0,1,1: 86:[93, 90] Operation: 3*30=90 Exploring Operation: 93-30=63, Resulting Numbers: [3, 63] Generated Node #0,1,2: 86:[3, 63] Operation: 93-30=63 Exploring Operation: 93-3=90, Resulting Numbers: [30, 90] Generated Node #0,1,3: 86:[30, 90] Operation: 93-3=90 Exploring Operation: 3+30=33, Resulting Numbers: [93, 33] Generated Node #0,1,4: 86:[93, 33] Operation: 3+30=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[93, 90], Operations: ['8+22=30', '3*30=90'] Exploring Operation: 93*90=8370, Resulting Numbers: [8370] 8370,86 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 93+90=183, Resulting Numbers: [183] 183,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[93, 10], Operations: ['8+22=30', '30/3=10'] Exploring Operation: 93+10=103, Resulting Numbers: [103] 103,86 unequal: No Solution Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 93*10=930, Resulting Numbers: [930] 930,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[30, 90], Operations: ['8+22=30', '93-3=90'] Exploring Operation: 90/30=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 30*90=2700, Resulting Numbers: [2700] 2700,86 unequal: No Solution Exploring Operation: 30+90=120, Resulting Numbers: [120] 120,86 unequal: No Solution Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 86:[93, 33], Operations: ['8+22=30', '3+30=33'] Exploring Operation: 93*33=3069, Resulting Numbers: [3069] 3069,86 unequal: No Solution Exploring Operation: 93+33=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[3, 63], Operations: ['8+22=30', '93-30=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,86 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 86:[8, 3, 71], Operations: ['93-22=71'] Exploring Operation: 8+3=11, Resulting Numbers: [71, 11] Generated Node #0,2,0: 86:[71, 11] Operation: 8+3=11 Exploring Operation: 8+71=79, Resulting Numbers: [3, 79] Generated Node #0,2,1: 86:[3, 79] Operation: 8+71=79 Exploring Operation: 3+71=74, Resulting Numbers: [8, 74] Generated Node #0,2,2: 86:[8, 74] Operation: 3+71=74 Exploring Operation: 71-8=63, Resulting Numbers: [3, 63] Generated Node #0,2,3: 86:[3, 63] Operation: 71-8=63 Exploring Operation: 8-3=5, Resulting Numbers: [71, 5] Generated Node #0,2,4: 86:[71, 5] Operation: 8-3=5 Moving to Node #0,3 Current State: 86:[3, 22, 85], Operations: ['93-8=85'] Exploring Operation: 85-22=63, Resulting Numbers: [3, 63] Generated Node #0,3,0: 86:[3, 63] Operation: 85-22=63 Exploring Operation: 3+85=88, Resulting Numbers: [22, 88] Generated Node #0,3,1: 86:[22, 88] Operation: 3+85=88 Exploring Operation: 22-3=19, Resulting Numbers: [85, 19] Generated Node #0,3,2: 86:[85, 19] Operation: 22-3=19 Exploring Operation: 3*22=66, Resulting Numbers: [85, 66] Generated Node #0,3,3: 86:[85, 66] Operation: 3*22=66 Exploring Operation: 3+22=25, Resulting Numbers: [85, 25] Generated Node #0,3,4: 86:[85, 25] Operation: 3+22=25 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[85, 19], Operations: ['93-8=85', '22-3=19'] Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,86 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 86:[85, 25], Operations: ['93-8=85', '3+22=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,86 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[3, 63], Operations: ['93-8=85', '85-22=63'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,86 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[85, 66], Operations: ['93-8=85', '3*22=66'] Exploring Operation: 85+66=151, Resulting Numbers: [151] 151,86 unequal: No Solution Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 85*66=5610, Resulting Numbers: [5610] 5610,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[22, 88], Operations: ['93-8=85', '3+85=88'] Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,86 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,86 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: 86:[22, 93, 5], Operations: ['8-3=5'] Exploring Operation: 22-5=17, Resulting Numbers: [93, 17] Generated Node #0,4,0: 86:[93, 17] Operation: 22-5=17 Exploring Operation: 22*5=110, Resulting Numbers: [93, 110] Generated Node #0,4,1: 86:[93, 110] Operation: 22*5=110 Exploring Operation: 22+5=27, Resulting Numbers: [93, 27] Generated Node #0,4,2: 86:[93, 27] Operation: 22+5=27 Exploring Operation: 93-5=88, Resulting Numbers: [22, 88] Generated Node #0,4,3: 86:[22, 88] Operation: 93-5=88 Exploring Operation: 93-22=71, Resulting Numbers: [5, 71] Generated Node #0,4,4: 86:[5, 71] Operation: 93-22=71 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[5, 71], Operations: ['8-3=5', '93-22=71'] Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,86 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[93, 17], Operations: ['8-3=5', '22-5=17'] Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,86 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 86:[22, 88], Operations: ['8-3=5', '93-5=88'] Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,86 unequal: No Solution Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 86:[93, 27], Operations: ['8-3=5', '22+5=27'] Exploring Operation: 93*27=2511, Resulting Numbers: [2511] 2511,86 unequal: No Solution Exploring Operation: 93+27=120, Resulting Numbers: [120] 120,86 unequal: No Solution Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 86:[93, 110], Operations: ['8-3=5', '22*5=110'] Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,86 unequal: No Solution Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,86 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: 86:[3, 79], Operations: ['93-22=71', '8+71=79'] Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 3*79=237, Resulting Numbers: [237] 237,86 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,86 unequal: No Solution Moving to Node #0,2,4 Current State: 86:[71, 5], Operations: ['93-22=71', '8-3=5'] Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,86 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[8, 74], Operations: ['93-22=71', '3+71=74'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 8*74=592, Resulting Numbers: [592] 592,86 unequal: No Solution Exploring Operation: 8+74=82, Resulting Numbers: [82] 82,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[3, 63], Operations: ['93-22=71', '71-8=63'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,86 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[71, 11], Operations: ['93-22=71', '8+3=11'] Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,86 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,86 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 25, 33, 40, 45 ]
63
[ "25+33=58", "45-40=5", "58+5=63" ]
Current State: 63:[25, 33, 40, 45], Operations: [] Exploring Operation: 25+33=58, Resulting Numbers: [40, 45, 58] Generated Node #2: [40, 45, 58] from Operation: 25+33=58 Current State: 63:[40, 45, 58], Operations: ['25+33=58'] Exploring Operation: 45-40=5, Resulting Numbers: [58, 5] Generated Node #3: [58, 5] from Operation: 45-40=5 Current State: 63:[58, 5], Operations: ['25+33=58', '45-40=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[25, 33, 40, 45], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [25, 33, 5] Generated Node #0,0: 63:[25, 33, 5] Operation: 45-40=5 Exploring Operation: 40-33=7, Resulting Numbers: [25, 45, 7] Generated Node #0,1: 63:[25, 45, 7] Operation: 40-33=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[25, 33, 5], Operations: ['45-40=5'] Exploring Operation: 25+33=58, Resulting Numbers: [5, 58] Generated Node #0,0,0: 63:[5, 58] Operation: 25+33=58 Exploring Operation: 33-25=8, Resulting Numbers: [5, 8] Generated Node #0,0,1: 63:[5, 8] Operation: 33-25=8 Moving to Node #0,0,1 Current State: 63:[5, 8], Operations: ['45-40=5', '33-25=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[5, 58], Operations: ['45-40=5', '25+33=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[25, 33, 40, 45], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [25, 33, 5] Generated Node #0,0: 63:[25, 33, 5] Operation: 45-40=5 Moving to Node #0,0 Current State: 63:[25, 33, 5], Operations: ['45-40=5'] Exploring Operation: 25+33=58, Resulting Numbers: [5, 58] Generated Node #0,0,0: 63:[5, 58] Operation: 25+33=58 Moving to Node #0,0,0 Current State: 63:[5, 58], Operations: ['45-40=5', '25+33=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 37, 2, 93, 77 ]
45
[ "93-77=16", "16/2=8", "37+8=45" ]
Current State: 45:[37, 2, 93, 77], Operations: [] Exploring Operation: 93-77=16, Resulting Numbers: [37, 2, 16] Generated Node #2: [37, 2, 16] from Operation: 93-77=16 Current State: 45:[37, 2, 16], Operations: ['93-77=16'] Exploring Operation: 16/2=8, Resulting Numbers: [37, 8] Generated Node #3: [37, 8] from Operation: 16/2=8 Current State: 45:[37, 8], Operations: ['93-77=16', '16/2=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[37, 2, 93, 77], Operations: [] Exploring Operation: 93-2=91, Resulting Numbers: [37, 77, 91] Generated Node #0,0: 45:[37, 77, 91] Operation: 93-2=91 Exploring Operation: 93-77=16, Resulting Numbers: [37, 2, 16] Generated Node #0,1: 45:[37, 2, 16] Operation: 93-77=16 Exploring Operation: 37+2=39, Resulting Numbers: [93, 77, 39] Generated Node #0,2: 45:[93, 77, 39] Operation: 37+2=39 Exploring Operation: 93-37=56, Resulting Numbers: [2, 77, 56] Generated Node #0,3: 45:[2, 77, 56] Operation: 93-37=56 Exploring Operation: 77-37=40, Resulting Numbers: [2, 93, 40] Generated Node #0,4: 45:[2, 93, 40] Operation: 77-37=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[37, 2, 16], Operations: ['93-77=16'] Exploring Operation: 16/2=8, Resulting Numbers: [37, 8] Generated Node #0,1,0: 45:[37, 8] Operation: 16/2=8 Exploring Operation: 37+2=39, Resulting Numbers: [16, 39] Generated Node #0,1,1: 45:[16, 39] Operation: 37+2=39 Exploring Operation: 37-16=21, Resulting Numbers: [2, 21] Generated Node #0,1,2: 45:[2, 21] Operation: 37-16=21 Exploring Operation: 16-2=14, Resulting Numbers: [37, 14] Generated Node #0,1,3: 45:[37, 14] Operation: 16-2=14 Exploring Operation: 37+16=53, Resulting Numbers: [2, 53] Generated Node #0,1,4: 45:[2, 53] Operation: 37+16=53 Moving to Node #0,1,1 Current State: 45:[16, 39], Operations: ['93-77=16', '37+2=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[2, 21], Operations: ['93-77=16', '37-16=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[37, 8], Operations: ['93-77=16', '16/2=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,45 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[37, 2, 93, 77], Operations: [] Exploring Operation: 93-77=16, Resulting Numbers: [37, 2, 16] Generated Node #0,1: 45:[37, 2, 16] Operation: 93-77=16 Moving to Node #0,1 Current State: 45:[37, 2, 16], Operations: ['93-77=16'] Exploring Operation: 16/2=8, Resulting Numbers: [37, 8] Generated Node #0,1,0: 45:[37, 8] Operation: 16/2=8 Moving to Node #0,1,0 Current State: 45:[37, 8], Operations: ['93-77=16', '16/2=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 63, 18, 37, 67 ]
51
[ "63+18=81", "67-37=30", "81-30=51" ]
Current State: 51:[63, 18, 37, 67], Operations: [] Exploring Operation: 63+18=81, Resulting Numbers: [37, 67, 81] Generated Node #2: [37, 67, 81] from Operation: 63+18=81 Current State: 51:[37, 67, 81], Operations: ['63+18=81'] Exploring Operation: 67-37=30, Resulting Numbers: [81, 30] Generated Node #3: [81, 30] from Operation: 67-37=30 Current State: 51:[81, 30], Operations: ['63+18=81', '67-37=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[63, 18, 37, 67], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [63, 37, 49] Generated Node #0,0: 51:[63, 37, 49] Operation: 67-18=49 Exploring Operation: 67-37=30, Resulting Numbers: [63, 18, 30] Generated Node #0,1: 51:[63, 18, 30] Operation: 67-37=30 Exploring Operation: 63-37=26, Resulting Numbers: [18, 67, 26] Generated Node #0,2: 51:[18, 67, 26] Operation: 63-37=26 Exploring Operation: 37-18=19, Resulting Numbers: [63, 67, 19] Generated Node #0,3: 51:[63, 67, 19] Operation: 37-18=19 Exploring Operation: 67-63=4, Resulting Numbers: [18, 37, 4] Generated Node #0,4: 51:[18, 37, 4] Operation: 67-63=4 Moving to Node #0,4 Current State: 51:[18, 37, 4], Operations: ['67-63=4'] Exploring Operation: 37+4=41, Resulting Numbers: [18, 41] Generated Node #0,4,0: 51:[18, 41] Operation: 37+4=41 Exploring Operation: 37-4=33, Resulting Numbers: [18, 33] Generated Node #0,4,1: 51:[18, 33] Operation: 37-4=33 Exploring Operation: 18+37=55, Resulting Numbers: [4, 55] Generated Node #0,4,2: 51:[4, 55] Operation: 18+37=55 Exploring Operation: 37-18=19, Resulting Numbers: [4, 19] Generated Node #0,4,3: 51:[4, 19] Operation: 37-18=19 Exploring Operation: 18-4=14, Resulting Numbers: [37, 14] Generated Node #0,4,4: 51:[37, 14] Operation: 18-4=14 Moving to Node #0,2 Current State: 51:[18, 67, 26], Operations: ['63-37=26'] Exploring Operation: 18+26=44, Resulting Numbers: [67, 44] Generated Node #0,2,0: 51:[67, 44] Operation: 18+26=44 Exploring Operation: 18+67=85, Resulting Numbers: [26, 85] Generated Node #0,2,1: 51:[26, 85] Operation: 18+67=85 Exploring Operation: 67-18=49, Resulting Numbers: [26, 49] Generated Node #0,2,2: 51:[26, 49] Operation: 67-18=49 Exploring Operation: 26-18=8, Resulting Numbers: [67, 8] Generated Node #0,2,3: 51:[67, 8] Operation: 26-18=8 Exploring Operation: 67-26=41, Resulting Numbers: [18, 41] Generated Node #0,2,4: 51:[18, 41] Operation: 67-26=41 Moving to Node #0,1 Current State: 51:[63, 18, 30], Operations: ['67-37=30'] Exploring Operation: 18+30=48, Resulting Numbers: [63, 48] Generated Node #0,1,0: 51:[63, 48] Operation: 18+30=48 Exploring Operation: 30-18=12, Resulting Numbers: [63, 12] Generated Node #0,1,1: 51:[63, 12] Operation: 30-18=12 Exploring Operation: 63-30=33, Resulting Numbers: [18, 33] Generated Node #0,1,2: 51:[18, 33] Operation: 63-30=33 Exploring Operation: 63-18=45, Resulting Numbers: [30, 45] Generated Node #0,1,3: 51:[30, 45] Operation: 63-18=45 Exploring Operation: 63+18=81, Resulting Numbers: [30, 81] Generated Node #0,1,4: 51:[30, 81] Operation: 63+18=81 Moving to Node #0,0 Current State: 51:[63, 37, 49], Operations: ['67-18=49'] Exploring Operation: 63-49=14, Resulting Numbers: [37, 14] Generated Node #0,0,0: 51:[37, 14] Operation: 63-49=14 Exploring Operation: 49-37=12, Resulting Numbers: [63, 12] Generated Node #0,0,1: 51:[63, 12] Operation: 49-37=12 Exploring Operation: 37+49=86, Resulting Numbers: [63, 86] Generated Node #0,0,2: 51:[63, 86] Operation: 37+49=86 Exploring Operation: 63-37=26, Resulting Numbers: [49, 26] Generated Node #0,0,3: 51:[49, 26] Operation: 63-37=26 Exploring Operation: 63+37=100, Resulting Numbers: [49, 100] Generated Node #0,0,4: 51:[49, 100] Operation: 63+37=100 Moving to Node #0,3 Current State: 51:[63, 67, 19], Operations: ['37-18=19'] Exploring Operation: 67+19=86, Resulting Numbers: [63, 86] Generated Node #0,3,0: 51:[63, 86] Operation: 67+19=86 Exploring Operation: 63+19=82, Resulting Numbers: [67, 82] Generated Node #0,3,1: 51:[67, 82] Operation: 63+19=82 Exploring Operation: 63-19=44, Resulting Numbers: [67, 44] Generated Node #0,3,2: 51:[67, 44] Operation: 63-19=44 Exploring Operation: 67-63=4, Resulting Numbers: [19, 4] Generated Node #0,3,3: 51:[19, 4] Operation: 67-63=4 Exploring Operation: 67-19=48, Resulting Numbers: [63, 48] Generated Node #0,3,4: 51:[63, 48] Operation: 67-19=48 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[19, 4], Operations: ['37-18=19', '67-63=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 51:[63, 48], Operations: ['37-18=19', '67-19=48'] Exploring Operation: 63*48=3024, Resulting Numbers: [3024] 3024,51 unequal: No Solution Exploring Operation: 63+48=111, Resulting Numbers: [111] 111,51 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[67, 44], Operations: ['37-18=19', '63-19=44'] Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 67+44=111, Resulting Numbers: [111] 111,51 unequal: No Solution Exploring Operation: 67*44=2948, Resulting Numbers: [2948] 2948,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[63, 86], Operations: ['37-18=19', '67+19=86'] Exploring Operation: 63+86=149, Resulting Numbers: [149] 149,51 unequal: No Solution Exploring Operation: 63*86=5418, Resulting Numbers: [5418] 5418,51 unequal: No Solution Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[67, 82], Operations: ['37-18=19', '63+19=82'] Exploring Operation: 67+82=149, Resulting Numbers: [149] 149,51 unequal: No Solution Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 67*82=5494, Resulting Numbers: [5494] 5494,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 51:[4, 19], Operations: ['67-63=4', '37-18=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[4, 55], Operations: ['67-63=4', '18+37=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,51 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[63, 18, 37, 67], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [18, 37, 4] Generated Node #0,4: 51:[18, 37, 4] Operation: 67-63=4 Moving to Node #0,4 Current State: 51:[18, 37, 4], Operations: ['67-63=4'] Exploring Operation: 18+37=55, Resulting Numbers: [4, 55] Generated Node #0,4,2: 51:[4, 55] Operation: 18+37=55 Moving to Node #0,4,2 Current State: 51:[4, 55], Operations: ['67-63=4', '18+37=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.952257
hs_5
sum_heuristic
[ 2, 58, 48, 94 ]
81
[ "94-48=46", "46/2=23", "58+23=81" ]
Current State: 81:[2, 58, 48, 94], Operations: [] Exploring Operation: 94-48=46, Resulting Numbers: [2, 58, 46] Generated Node #2: [2, 58, 46] from Operation: 94-48=46 Current State: 81:[2, 58, 46], Operations: ['94-48=46'] Exploring Operation: 46/2=23, Resulting Numbers: [58, 23] Generated Node #3: [58, 23] from Operation: 46/2=23 Current State: 81:[58, 23], Operations: ['94-48=46', '46/2=23'] Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 58, 48, 94], Operations: [] Exploring Operation: 94-58=36, Resulting Numbers: [2, 48, 36] Generated Node #0,0: 81:[2, 48, 36] Operation: 94-58=36 Exploring Operation: 58-48=10, Resulting Numbers: [2, 94, 10] Generated Node #0,1: 81:[2, 94, 10] Operation: 58-48=10 Moving to Node #0,1 Current State: 81:[2, 94, 10], Operations: ['58-48=10'] Exploring Operation: 94-2=92, Resulting Numbers: [10, 92] Generated Node #0,1,0: 81:[10, 92] Operation: 94-2=92 Exploring Operation: 94-10=84, Resulting Numbers: [2, 84] Generated Node #0,1,1: 81:[2, 84] Operation: 94-10=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[2, 84], Operations: ['58-48=10', '94-10=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[10, 92], Operations: ['58-48=10', '94-2=92'] Exploring Operation: 10+92=102, Resulting Numbers: [102] 102,81 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,81 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: 81:[2, 48, 36], Operations: ['94-58=36'] Exploring Operation: 48+36=84, Resulting Numbers: [2, 84] Generated Node #0,0,0: 81:[2, 84] Operation: 48+36=84 Exploring Operation: 48-36=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 81:[2, 12] Operation: 48-36=12 Moving to Node #0,0,0 Current State: 81:[2, 84], Operations: ['94-58=36', '48+36=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[2, 12], Operations: ['94-58=36', '48-36=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,81 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 32, 64, 9, 66 ]
73
[ "64/32=2", "9+66=75", "75-2=73" ]
Current State: 73:[32, 64, 9, 66], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [9, 66, 2] Generated Node #2: [9, 66, 2] from Operation: 64/32=2 Current State: 73:[9, 66, 2], Operations: ['64/32=2'] Exploring Operation: 9+66=75, Resulting Numbers: [2, 75] Generated Node #3: [2, 75] from Operation: 9+66=75 Current State: 73:[2, 75], Operations: ['64/32=2', '9+66=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[32, 64, 9, 66], Operations: [] Exploring Operation: 32+9=41, Resulting Numbers: [64, 66, 41] Generated Node #0,0: 73:[64, 66, 41] Operation: 32+9=41 Exploring Operation: 64+9=73, Resulting Numbers: [32, 66, 73] Generated Node #0,1: 73:[32, 66, 73] Operation: 64+9=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[64, 66, 41], Operations: ['32+9=41'] Exploring Operation: 64+41=105, Resulting Numbers: [66, 105] Generated Node #0,0,0: 73:[66, 105] Operation: 64+41=105 Exploring Operation: 66+41=107, Resulting Numbers: [64, 107] Generated Node #0,0,1: 73:[64, 107] Operation: 66+41=107 Moving to Node #0,0,0 Current State: 73:[66, 105], Operations: ['32+9=41', '64+41=105'] Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 66+105=171, Resulting Numbers: [171] 171,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[64, 107], Operations: ['32+9=41', '66+41=107'] Exploring Operation: 64+107=171, Resulting Numbers: [171] 171,73 unequal: No Solution Exploring Operation: 107-64=43, Resulting Numbers: [43] 43,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[32, 66, 73], Operations: ['64+9=73'] Exploring Operation: 32+66=98, Resulting Numbers: [73, 98] Generated Node #0,1,0: 73:[73, 98] Operation: 32+66=98 Exploring Operation: 66-32=34, Resulting Numbers: [73, 34] Generated Node #0,1,1: 73:[73, 34] Operation: 66-32=34 Moving to Node #0,1,0 Current State: 73:[73, 98], Operations: ['64+9=73', '32+66=98'] Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 73+98=171, Resulting Numbers: [171] 171,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[73, 34], Operations: ['64+9=73', '66-32=34'] Exploring Operation: 73+34=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 26, 7, 42, 13 ]
36
[ "26-7=19", "42+13=55", "55-19=36" ]
Current State: 36:[26, 7, 42, 13], Operations: [] Exploring Operation: 26-7=19, Resulting Numbers: [42, 13, 19] Generated Node #2: [42, 13, 19] from Operation: 26-7=19 Current State: 36:[42, 13, 19], Operations: ['26-7=19'] Exploring Operation: 42+13=55, Resulting Numbers: [19, 55] Generated Node #3: [19, 55] from Operation: 42+13=55 Current State: 36:[19, 55], Operations: ['26-7=19', '42+13=55'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[26, 7, 42, 13], Operations: [] Exploring Operation: 42-26=16, Resulting Numbers: [7, 13, 16] Generated Node #0,0: 36:[7, 13, 16] Operation: 42-26=16 Moving to Node #0,0 Current State: 36:[7, 13, 16], Operations: ['42-26=16'] Exploring Operation: 16-7=9, Resulting Numbers: [13, 9] Generated Node #0,0,0: 36:[13, 9] Operation: 16-7=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[13, 9], Operations: ['42-26=16', '16-7=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,36 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
[ 94, 84, 26, 63 ]
27
[ "94-84=10", "63-26=37", "37-10=27" ]
Current State: 27:[94, 84, 26, 63], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [26, 63, 10] Generated Node #2: [26, 63, 10] from Operation: 94-84=10 Current State: 27:[26, 63, 10], Operations: ['94-84=10'] Exploring Operation: 63-26=37, Resulting Numbers: [10, 37] Generated Node #3: [10, 37] from Operation: 63-26=37 Current State: 27:[10, 37], Operations: ['94-84=10', '63-26=37'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[94, 84, 26, 63], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [84, 26, 31] Generated Node #0,0: 27:[84, 26, 31] Operation: 94-63=31 Exploring Operation: 94-84=10, Resulting Numbers: [26, 63, 10] Generated Node #0,1: 27:[26, 63, 10] Operation: 94-84=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[26, 63, 10], Operations: ['94-84=10'] Exploring Operation: 63-10=53, Resulting Numbers: [26, 53] Generated Node #0,1,0: 27:[26, 53] Operation: 63-10=53 Exploring Operation: 63-26=37, Resulting Numbers: [10, 37] Generated Node #0,1,1: 27:[10, 37] Operation: 63-26=37 Moving to Node #0,1,1 Current State: 27:[10, 37], Operations: ['94-84=10', '63-26=37'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[94, 84, 26, 63], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [26, 63, 10] Generated Node #0,1: 27:[26, 63, 10] Operation: 94-84=10 Moving to Node #0,1 Current State: 27:[26, 63, 10], Operations: ['94-84=10'] Exploring Operation: 63-26=37, Resulting Numbers: [10, 37] Generated Node #0,1,1: 27:[10, 37] Operation: 63-26=37 Moving to Node #0,1,1 Current State: 27:[10, 37], Operations: ['94-84=10', '63-26=37'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 82, 37, 2, 20 ]
23
[ "82-37=45", "2+20=22", "45-22=23" ]
Current State: 23:[82, 37, 2, 20], Operations: [] Exploring Operation: 82-37=45, Resulting Numbers: [2, 20, 45] Generated Node #2: [2, 20, 45] from Operation: 82-37=45 Current State: 23:[2, 20, 45], Operations: ['82-37=45'] Exploring Operation: 2+20=22, Resulting Numbers: [45, 22] Generated Node #3: [45, 22] from Operation: 2+20=22 Current State: 23:[45, 22], Operations: ['82-37=45', '2+20=22'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[82, 37, 2, 20], Operations: [] Exploring Operation: 82-2=80, Resulting Numbers: [37, 20, 80] Generated Node #0,0: 23:[37, 20, 80] Operation: 82-2=80 Exploring Operation: 82-20=62, Resulting Numbers: [37, 2, 62] Generated Node #0,1: 23:[37, 2, 62] Operation: 82-20=62 Exploring Operation: 82/2=41, Resulting Numbers: [37, 20, 41] Generated Node #0,2: 23:[37, 20, 41] Operation: 82/2=41 Exploring Operation: 82-37=45, Resulting Numbers: [2, 20, 45] Generated Node #0,3: 23:[2, 20, 45] Operation: 82-37=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[37, 20, 41], Operations: ['82/2=41'] Exploring Operation: 41-20=21, Resulting Numbers: [37, 21] Generated Node #0,2,0: 23:[37, 21] Operation: 41-20=21 Exploring Operation: 41-37=4, Resulting Numbers: [20, 4] Generated Node #0,2,1: 23:[20, 4] Operation: 41-37=4 Exploring Operation: 37-20=17, Resulting Numbers: [41, 17] Generated Node #0,2,2: 23:[41, 17] Operation: 37-20=17 Exploring Operation: 37+20=57, Resulting Numbers: [41, 57] Generated Node #0,2,3: 23:[41, 57] Operation: 37+20=57 Moving to Node #0,2,0 Current State: 23:[37, 21], Operations: ['82/2=41', '41-20=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[20, 4], Operations: ['82/2=41', '41-37=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[41, 17], Operations: ['82/2=41', '37-20=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,23 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[41, 57], Operations: ['82/2=41', '37+20=57'] Exploring Operation: 41*57=2337, Resulting Numbers: [2337] 2337,23 unequal: No Solution Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,23 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[2, 20, 45], Operations: ['82-37=45'] Exploring Operation: 20-2=18, Resulting Numbers: [45, 18] Generated Node #0,3,0: 23:[45, 18] Operation: 20-2=18 Exploring Operation: 45-20=25, Resulting Numbers: [2, 25] Generated Node #0,3,1: 23:[2, 25] Operation: 45-20=25 Exploring Operation: 2+20=22, Resulting Numbers: [45, 22] Generated Node #0,3,2: 23:[45, 22] Operation: 2+20=22 Exploring Operation: 45-2=43, Resulting Numbers: [20, 43] Generated Node #0,3,3: 23:[20, 43] Operation: 45-2=43 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[2, 25], Operations: ['82-37=45', '45-20=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[82, 37, 2, 20], Operations: [] Exploring Operation: 82-37=45, Resulting Numbers: [2, 20, 45] Generated Node #0,3: 23:[2, 20, 45] Operation: 82-37=45 Moving to Node #0,3 Current State: 23:[2, 20, 45], Operations: ['82-37=45'] Exploring Operation: 45-20=25, Resulting Numbers: [2, 25] Generated Node #0,3,1: 23:[2, 25] Operation: 45-20=25 Moving to Node #0,3,1 Current State: 23:[2, 25], Operations: ['82-37=45', '45-20=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 22, 15, 6, 59 ]
24
[ "22*15=330", "6*59=354", "354-330=24" ]
Current State: 24:[22, 15, 6, 59], Operations: [] Exploring Operation: 22*15=330, Resulting Numbers: [6, 59, 330] Generated Node #2: [6, 59, 330] from Operation: 22*15=330 Current State: 24:[6, 59, 330], Operations: ['22*15=330'] Exploring Operation: 6*59=354, Resulting Numbers: [330, 354] Generated Node #3: [330, 354] from Operation: 6*59=354 Current State: 24:[330, 354], Operations: ['22*15=330', '6*59=354'] Exploring Operation: 354-330=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[22, 15, 6, 59], Operations: [] Exploring Operation: 59-22=37, Resulting Numbers: [15, 6, 37] Generated Node #0,0: 24:[15, 6, 37] Operation: 59-22=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[15, 6, 37], Operations: ['59-22=37'] Exploring Operation: 37-15=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 24:[6, 22] Operation: 37-15=22 Moving to Node #0,0,0 Current State: 24:[6, 22], Operations: ['59-22=37', '37-15=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 74, 43, 64 ]
37
[ "74-64=10", "60/10=6", "43-6=37" ]
Current State: 37:[60, 74, 43, 64], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [60, 43, 10] Generated Node #2: [60, 43, 10] from Operation: 74-64=10 Current State: 37:[60, 43, 10], Operations: ['74-64=10'] Exploring Operation: 60/10=6, Resulting Numbers: [43, 6] Generated Node #3: [43, 6] from Operation: 60/10=6 Current State: 37:[43, 6], Operations: ['74-64=10', '60/10=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[60, 74, 43, 64], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [60, 43, 10] Generated Node #0,0: 37:[60, 43, 10] Operation: 74-64=10 Exploring Operation: 74-43=31, Resulting Numbers: [60, 64, 31] Generated Node #0,1: 37:[60, 64, 31] Operation: 74-43=31 Exploring Operation: 74-60=14, Resulting Numbers: [43, 64, 14] Generated Node #0,2: 37:[43, 64, 14] Operation: 74-60=14 Exploring Operation: 64-60=4, Resulting Numbers: [74, 43, 4] Generated Node #0,3: 37:[74, 43, 4] Operation: 64-60=4 Moving to Node #0,0 Current State: 37:[60, 43, 10], Operations: ['74-64=10'] Exploring Operation: 60/10=6, Resulting Numbers: [43, 6] Generated Node #0,0,0: 37:[43, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [43, 50] Generated Node #0,0,1: 37:[43, 50] Operation: 60-10=50 Exploring Operation: 60+10=70, Resulting Numbers: [43, 70] Generated Node #0,0,2: 37:[43, 70] Operation: 60+10=70 Exploring Operation: 43-10=33, Resulting Numbers: [60, 33] Generated Node #0,0,3: 37:[60, 33] Operation: 43-10=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[43, 50], Operations: ['74-64=10', '60-10=50'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,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,0,3 Current State: 37:[60, 33], Operations: ['74-64=10', '43-10=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,37 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,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,0,0 Current State: 37:[43, 6], Operations: ['74-64=10', '60/10=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,37 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[60, 74, 43, 64], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [60, 43, 10] Generated Node #0,0: 37:[60, 43, 10] Operation: 74-64=10 Moving to Node #0,0 Current State: 37:[60, 43, 10], Operations: ['74-64=10'] Exploring Operation: 60/10=6, Resulting Numbers: [43, 6] Generated Node #0,0,0: 37:[43, 6] Operation: 60/10=6 Moving to Node #0,0,0 Current State: 37:[43, 6], Operations: ['74-64=10', '60/10=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 33, 12, 42, 66 ]
18
[ "66/33=2", "12*2=24", "42-24=18" ]
Current State: 18:[33, 12, 42, 66], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [12, 42, 2] Generated Node #2: [12, 42, 2] from Operation: 66/33=2 Current State: 18:[12, 42, 2], Operations: ['66/33=2'] Exploring Operation: 12*2=24, Resulting Numbers: [42, 24] Generated Node #3: [42, 24] from Operation: 12*2=24 Current State: 18:[42, 24], Operations: ['66/33=2', '12*2=24'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[33, 12, 42, 66], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [12, 42, 2] Generated Node #0,0: 18:[12, 42, 2] Operation: 66/33=2 Exploring Operation: 66-42=24, Resulting Numbers: [33, 12, 24] Generated Node #0,1: 18:[33, 12, 24] Operation: 66-42=24 Exploring Operation: 66-33=33, Resulting Numbers: [12, 42, 33] Generated Node #0,2: 18:[12, 42, 33] Operation: 66-33=33 Moving to Node #0,1 Current State: 18:[33, 12, 24], Operations: ['66-42=24'] Exploring Operation: 33-24=9, Resulting Numbers: [12, 9] Generated Node #0,1,0: 18:[12, 9] Operation: 33-24=9 Exploring Operation: 33-12=21, Resulting Numbers: [24, 21] Generated Node #0,1,1: 18:[24, 21] Operation: 33-12=21 Exploring Operation: 24/12=2, Resulting Numbers: [33, 2] Generated Node #0,1,2: 18:[33, 2] Operation: 24/12=2 Moving to Node #0,0 Current State: 18:[12, 42, 2], Operations: ['66/33=2'] Exploring Operation: 12/2=6, Resulting Numbers: [42, 6] Generated Node #0,0,0: 18:[42, 6] Operation: 12/2=6 Exploring Operation: 42/2=21, Resulting Numbers: [12, 21] Generated Node #0,0,1: 18:[12, 21] Operation: 42/2=21 Exploring Operation: 42-12=30, Resulting Numbers: [2, 30] Generated Node #0,0,2: 18:[2, 30] Operation: 42-12=30 Moving to Node #0,2 Current State: 18:[12, 42, 33], Operations: ['66-33=33'] Exploring Operation: 33-12=21, Resulting Numbers: [42, 21] Generated Node #0,2,0: 18:[42, 21] Operation: 33-12=21 Exploring Operation: 42-12=30, Resulting Numbers: [33, 30] Generated Node #0,2,1: 18:[33, 30] Operation: 42-12=30 Exploring Operation: 42-33=9, Resulting Numbers: [12, 9] Generated Node #0,2,2: 18:[12, 9] Operation: 42-33=9 Moving to Node #0,1,0 Current State: 18:[12, 9], Operations: ['66-42=24', '33-24=9'] Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,18 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[12, 9], Operations: ['66-33=33', '42-33=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,18 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[12, 21], Operations: ['66/33=2', '42/2=21'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[24, 21], Operations: ['66-42=24', '33-12=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,18 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[2, 30], Operations: ['66/33=2', '42-12=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,18 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[33, 2], Operations: ['66-42=24', '24/12=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[42, 6], Operations: ['66/33=2', '12/2=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[42, 21], Operations: ['66-33=33', '33-12=21'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[33, 30], Operations: ['66-33=33', '42-12=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,18 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 45, 76, 75, 6 ]
51
[ "45+6=51", "76-75=1", "51*1=51" ]
Current State: 51:[45, 76, 75, 6], Operations: [] Exploring Operation: 45+6=51, Resulting Numbers: [76, 75, 51] Generated Node #2: [76, 75, 51] from Operation: 45+6=51 Current State: 51:[76, 75, 51], Operations: ['45+6=51'] Exploring Operation: 76-75=1, Resulting Numbers: [51, 1] Generated Node #3: [51, 1] from Operation: 76-75=1 Current State: 51:[51, 1], Operations: ['45+6=51', '76-75=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[45, 76, 75, 6], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [76, 6, 30] Generated Node #0,0: 51:[76, 6, 30] Operation: 75-45=30 Exploring Operation: 76-75=1, Resulting Numbers: [45, 6, 1] Generated Node #0,1: 51:[45, 6, 1] Operation: 76-75=1 Exploring Operation: 76-45=31, Resulting Numbers: [75, 6, 31] Generated Node #0,2: 51:[75, 6, 31] Operation: 76-45=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[45, 6, 1], Operations: ['76-75=1'] Exploring Operation: 6-1=5, Resulting Numbers: [45, 5] Generated Node #0,1,0: 51:[45, 5] Operation: 6-1=5 Exploring Operation: 45+6=51, Resulting Numbers: [1, 51] Generated Node #0,1,1: 51:[1, 51] Operation: 45+6=51 Exploring Operation: 45+1=46, Resulting Numbers: [6, 46] Generated Node #0,1,2: 51:[6, 46] Operation: 45+1=46 Moving to Node #0,1,1 Current State: 51:[1, 51], Operations: ['76-75=1', '45+6=51'] Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[45, 76, 75, 6], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [45, 6, 1] Generated Node #0,1: 51:[45, 6, 1] Operation: 76-75=1 Moving to Node #0,1 Current State: 51:[45, 6, 1], Operations: ['76-75=1'] Exploring Operation: 45+6=51, Resulting Numbers: [1, 51] Generated Node #0,1,1: 51:[1, 51] Operation: 45+6=51 Moving to Node #0,1,1 Current State: 51:[1, 51], Operations: ['76-75=1', '45+6=51'] Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 78, 92, 11, 39 ]
19
[ "78+92=170", "39+170=209", "209/11=19" ]
Current State: 19:[78, 92, 11, 39], Operations: [] Exploring Operation: 78+92=170, Resulting Numbers: [11, 39, 170] Generated Node #2: [11, 39, 170] from Operation: 78+92=170 Current State: 19:[11, 39, 170], Operations: ['78+92=170'] Exploring Operation: 39+170=209, Resulting Numbers: [11, 209] Generated Node #3: [11, 209] from Operation: 39+170=209 Current State: 19:[11, 209], Operations: ['78+92=170', '39+170=209'] Exploring Operation: 209/11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[78, 92, 11, 39], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [92, 11, 39] Generated Node #0,0: 19:[92, 11, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [92, 11, 2] Generated Node #0,1: 19:[92, 11, 2] Operation: 78/39=2 Exploring Operation: 92-78=14, Resulting Numbers: [11, 39, 14] Generated Node #0,2: 19:[11, 39, 14] Operation: 92-78=14 Moving to Node #0,2 Current State: 19:[11, 39, 14], Operations: ['92-78=14'] Exploring Operation: 39-14=25, Resulting Numbers: [11, 25] Generated Node #0,2,0: 19:[11, 25] Operation: 39-14=25 Exploring Operation: 39-11=28, Resulting Numbers: [14, 28] Generated Node #0,2,1: 19:[14, 28] Operation: 39-11=28 Exploring Operation: 11+14=25, Resulting Numbers: [39, 25] Generated Node #0,2,2: 19:[39, 25] Operation: 11+14=25 Moving to Node #0,1 Current State: 19:[92, 11, 2], Operations: ['78/39=2'] Exploring Operation: 92/2=46, Resulting Numbers: [11, 46] Generated Node #0,1,0: 19:[11, 46] Operation: 92/2=46 Exploring Operation: 92-11=81, Resulting Numbers: [2, 81] Generated Node #0,1,1: 19:[2, 81] Operation: 92-11=81 Exploring Operation: 11*2=22, Resulting Numbers: [92, 22] Generated Node #0,1,2: 19:[92, 22] Operation: 11*2=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[11, 46], Operations: ['78/39=2', '92/2=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,19 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[92, 22], Operations: ['78/39=2', '11*2=22'] Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 92*22=2024, Resulting Numbers: [2024] 2024,19 unequal: No Solution Exploring Operation: 92+22=114, Resulting Numbers: [114] 114,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[2, 81], Operations: ['78/39=2', '92-11=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,19 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,19 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,19 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: 19:[92, 11, 39], Operations: ['78-39=39'] Exploring Operation: 92-39=53, Resulting Numbers: [11, 53] Generated Node #0,0,0: 19:[11, 53] Operation: 92-39=53 Exploring Operation: 39-11=28, Resulting Numbers: [92, 28] Generated Node #0,0,1: 19:[92, 28] Operation: 39-11=28 Exploring Operation: 92-11=81, Resulting Numbers: [39, 81] Generated Node #0,0,2: 19:[39, 81] Operation: 92-11=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[11, 53], Operations: ['78-39=39', '92-39=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[92, 28], Operations: ['78-39=39', '39-11=28'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[39, 81], Operations: ['78-39=39', '92-11=81'] Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 39*81=3159, Resulting Numbers: [3159] 3159,19 unequal: No Solution Exploring Operation: 39+81=120, Resulting Numbers: [120] 120,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 19:[11, 25], Operations: ['92-78=14', '39-14=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[14, 28], Operations: ['92-78=14', '39-11=28'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[39, 25], Operations: ['92-78=14', '11+14=25'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 91, 75, 81 ]
62
[ "91-35=56", "81-75=6", "56+6=62" ]
Current State: 62:[35, 91, 75, 81], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [75, 81, 56] Generated Node #2: [75, 81, 56] from Operation: 91-35=56 Current State: 62:[75, 81, 56], Operations: ['91-35=56'] Exploring Operation: 81-75=6, Resulting Numbers: [56, 6] Generated Node #3: [56, 6] from Operation: 81-75=6 Current State: 62:[56, 6], Operations: ['91-35=56', '81-75=6'] Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[35, 91, 75, 81], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [75, 81, 56] Generated Node #0,0: 62:[75, 81, 56] Operation: 91-35=56 Exploring Operation: 91-75=16, Resulting Numbers: [35, 81, 16] Generated Node #0,1: 62:[35, 81, 16] Operation: 91-75=16 Exploring Operation: 81-75=6, Resulting Numbers: [35, 91, 6] Generated Node #0,2: 62:[35, 91, 6] Operation: 81-75=6 Exploring Operation: 91-81=10, Resulting Numbers: [35, 75, 10] Generated Node #0,3: 62:[35, 75, 10] Operation: 91-81=10 Moving to Node #0,3 Current State: 62:[35, 75, 10], Operations: ['91-81=10'] Exploring Operation: 75-35=40, Resulting Numbers: [10, 40] Generated Node #0,3,0: 62:[10, 40] Operation: 75-35=40 Exploring Operation: 75-10=65, Resulting Numbers: [35, 65] Generated Node #0,3,1: 62:[35, 65] Operation: 75-10=65 Exploring Operation: 35-10=25, Resulting Numbers: [75, 25] Generated Node #0,3,2: 62:[75, 25] Operation: 35-10=25 Exploring Operation: 35+10=45, Resulting Numbers: [75, 45] Generated Node #0,3,3: 62:[75, 45] Operation: 35+10=45 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 62:[35, 65], Operations: ['91-81=10', '75-10=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,62 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[10, 40], Operations: ['91-81=10', '75-35=40'] Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,62 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,62 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 62:[75, 25], Operations: ['91-81=10', '35-10=25'] Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,62 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,62 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 62:[75, 45], Operations: ['91-81=10', '35+10=45'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,62 unequal: No Solution Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,62 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: 62:[35, 91, 6], Operations: ['81-75=6'] Exploring Operation: 91-35=56, Resulting Numbers: [6, 56] Generated Node #0,2,0: 62:[6, 56] Operation: 91-35=56 Exploring Operation: 35-6=29, Resulting Numbers: [91, 29] Generated Node #0,2,1: 62:[91, 29] Operation: 35-6=29 Exploring Operation: 91-6=85, Resulting Numbers: [35, 85] Generated Node #0,2,2: 62:[35, 85] Operation: 91-6=85 Exploring Operation: 35+6=41, Resulting Numbers: [91, 41] Generated Node #0,2,3: 62:[91, 41] Operation: 35+6=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[6, 56], Operations: ['81-75=6', '91-35=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[35, 91, 75, 81], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [35, 91, 6] Generated Node #0,2: 62:[35, 91, 6] Operation: 81-75=6 Moving to Node #0,2 Current State: 62:[35, 91, 6], Operations: ['81-75=6'] Exploring Operation: 91-35=56, Resulting Numbers: [6, 56] Generated Node #0,2,0: 62:[6, 56] Operation: 91-35=56 Moving to Node #0,2,0 Current State: 62:[6, 56], Operations: ['81-75=6', '91-35=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 26, 15, 45, 7 ]
57
[ "26-7=19", "45/15=3", "19*3=57" ]
Current State: 57:[26, 15, 45, 7], Operations: [] Exploring Operation: 26-7=19, Resulting Numbers: [15, 45, 19] Generated Node #2: [15, 45, 19] from Operation: 26-7=19 Current State: 57:[15, 45, 19], Operations: ['26-7=19'] Exploring Operation: 45/15=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 45/15=3 Current State: 57:[19, 3], Operations: ['26-7=19', '45/15=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[26, 15, 45, 7], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [26, 7, 3] Generated Node #0,0: 57:[26, 7, 3] Operation: 45/15=3 Exploring Operation: 45-26=19, Resulting Numbers: [15, 7, 19] Generated Node #0,1: 57:[15, 7, 19] Operation: 45-26=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[15, 7, 19], Operations: ['45-26=19'] Exploring Operation: 15-7=8, Resulting Numbers: [19, 8] Generated Node #0,1,0: 57:[19, 8] Operation: 15-7=8 Exploring Operation: 15+7=22, Resulting Numbers: [19, 22] Generated Node #0,1,1: 57:[19, 22] Operation: 15+7=22 Moving to Node #0,1,1 Current State: 57:[19, 22], Operations: ['45-26=19', '15+7=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[19, 8], Operations: ['45-26=19', '15-7=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[26, 7, 3], Operations: ['45/15=3'] Exploring Operation: 26-7=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 26-7=19 Exploring Operation: 26-3=23, Resulting Numbers: [7, 23] Generated Node #0,0,1: 57:[7, 23] Operation: 26-3=23 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['45/15=3', '26-7=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[26, 15, 45, 7], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [26, 7, 3] Generated Node #0,0: 57:[26, 7, 3] Operation: 45/15=3 Moving to Node #0,0 Current State: 57:[26, 7, 3], Operations: ['45/15=3'] Exploring Operation: 26-7=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 26-7=19 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['45/15=3', '26-7=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 58, 49, 46, 83 ]
70
[ "58+49=107", "83-46=37", "107-37=70" ]
Current State: 70:[58, 49, 46, 83], Operations: [] Exploring Operation: 58+49=107, Resulting Numbers: [46, 83, 107] Generated Node #2: [46, 83, 107] from Operation: 58+49=107 Current State: 70:[46, 83, 107], Operations: ['58+49=107'] Exploring Operation: 83-46=37, Resulting Numbers: [107, 37] Generated Node #3: [107, 37] from Operation: 83-46=37 Current State: 70:[107, 37], Operations: ['58+49=107', '83-46=37'] Exploring Operation: 107-37=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[58, 49, 46, 83], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [46, 83, 9] Generated Node #0,0: 70:[46, 83, 9] Operation: 58-49=9 Exploring Operation: 83-49=34, Resulting Numbers: [58, 46, 34] Generated Node #0,1: 70:[58, 46, 34] Operation: 83-49=34 Exploring Operation: 49-46=3, Resulting Numbers: [58, 83, 3] Generated Node #0,2: 70:[58, 83, 3] Operation: 49-46=3 Moving to Node #0,1 Current State: 70:[58, 46, 34], Operations: ['83-49=34'] Exploring Operation: 58-34=24, Resulting Numbers: [46, 24] Generated Node #0,1,0: 70:[46, 24] Operation: 58-34=24 Exploring Operation: 46-34=12, Resulting Numbers: [58, 12] Generated Node #0,1,1: 70:[58, 12] Operation: 46-34=12 Exploring Operation: 58-46=12, Resulting Numbers: [34, 12] Generated Node #0,1,2: 70:[34, 12] Operation: 58-46=12 Moving to Node #0,0 Current State: 70:[46, 83, 9], Operations: ['58-49=9'] Exploring Operation: 83-9=74, Resulting Numbers: [46, 74] Generated Node #0,0,0: 70:[46, 74] Operation: 83-9=74 Exploring Operation: 83-46=37, Resulting Numbers: [9, 37] Generated Node #0,0,1: 70:[9, 37] Operation: 83-46=37 Exploring Operation: 46-9=37, Resulting Numbers: [83, 37] Generated Node #0,0,2: 70:[83, 37] Operation: 46-9=37 Moving to Node #0,2 Current State: 70:[58, 83, 3], Operations: ['49-46=3'] Exploring Operation: 83-58=25, Resulting Numbers: [3, 25] Generated Node #0,2,0: 70:[3, 25] Operation: 83-58=25 Exploring Operation: 83-3=80, Resulting Numbers: [58, 80] Generated Node #0,2,1: 70:[58, 80] Operation: 83-3=80 Exploring Operation: 58+3=61, Resulting Numbers: [83, 61] Generated Node #0,2,2: 70:[83, 61] Operation: 58+3=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[3, 25], Operations: ['49-46=3', '83-58=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[58, 80], Operations: ['49-46=3', '83-3=80'] Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,70 unequal: No Solution Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,70 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[83, 61], Operations: ['49-46=3', '58+3=61'] Exploring Operation: 83+61=144, Resulting Numbers: [144] 144,70 unequal: No Solution Exploring Operation: 83*61=5063, Resulting Numbers: [5063] 5063,70 unequal: No Solution Exploring Operation: 83-61=22, Resulting Numbers: [22] 22,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 70:[34, 12], Operations: ['83-49=34', '58-46=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,70 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[9, 37], Operations: ['58-49=9', '83-46=37'] Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,70 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[58, 12], Operations: ['83-49=34', '46-34=12'] Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,70 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[58, 49, 46, 83], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [58, 46, 34] Generated Node #0,1: 70:[58, 46, 34] Operation: 83-49=34 Moving to Node #0,1 Current State: 70:[58, 46, 34], Operations: ['83-49=34'] Exploring Operation: 46-34=12, Resulting Numbers: [58, 12] Generated Node #0,1,1: 70:[58, 12] Operation: 46-34=12 Moving to Node #0,1,1 Current State: 70:[58, 12], Operations: ['83-49=34', '46-34=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.970486
hs_3
mult_heuristic
[ 30, 41, 13, 27 ]
18
[ "30-27=3", "41+13=54", "54/3=18" ]
Current State: 18:[30, 41, 13, 27], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [41, 13, 3] Generated Node #2: [41, 13, 3] from Operation: 30-27=3 Current State: 18:[41, 13, 3], Operations: ['30-27=3'] Exploring Operation: 41+13=54, Resulting Numbers: [3, 54] Generated Node #3: [3, 54] from Operation: 41+13=54 Current State: 18:[3, 54], Operations: ['30-27=3', '41+13=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[30, 41, 13, 27], Operations: [] Exploring Operation: 41-30=11, Resulting Numbers: [13, 27, 11] Generated Node #0,0: 18:[13, 27, 11] Operation: 41-30=11 Exploring Operation: 30-13=17, Resulting Numbers: [41, 27, 17] Generated Node #0,1: 18:[41, 27, 17] Operation: 30-13=17 Exploring Operation: 30-27=3, Resulting Numbers: [41, 13, 3] Generated Node #0,2: 18:[41, 13, 3] Operation: 30-27=3 Exploring Operation: 41-13=28, Resulting Numbers: [30, 27, 28] Generated Node #0,3: 18:[30, 27, 28] Operation: 41-13=28 Exploring Operation: 41-27=14, Resulting Numbers: [30, 13, 14] Generated Node #0,4: 18:[30, 13, 14] Operation: 41-27=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[13, 27, 11], Operations: ['41-30=11'] Exploring Operation: 13+27=40, Resulting Numbers: [11, 40] Generated Node #0,0,0: 18:[11, 40] Operation: 13+27=40 Exploring Operation: 13+11=24, Resulting Numbers: [27, 24] Generated Node #0,0,1: 18:[27, 24] Operation: 13+11=24 Exploring Operation: 27-13=14, Resulting Numbers: [11, 14] Generated Node #0,0,2: 18:[11, 14] Operation: 27-13=14 Exploring Operation: 13-11=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 18:[27, 2] Operation: 13-11=2 Exploring Operation: 27-11=16, Resulting Numbers: [13, 16] Generated Node #0,0,4: 18:[13, 16] Operation: 27-11=16 Moving to Node #0,0,2 Current State: 18:[11, 14], Operations: ['41-30=11', '27-13=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[13, 16], Operations: ['41-30=11', '27-11=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,18 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[27, 2], Operations: ['41-30=11', '13-11=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[27, 24], Operations: ['41-30=11', '13+11=24'] Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,18 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[11, 40], Operations: ['41-30=11', '13+27=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 18:[30, 13, 14], Operations: ['41-27=14'] Exploring Operation: 30-13=17, Resulting Numbers: [14, 17] Generated Node #0,4,0: 18:[14, 17] Operation: 30-13=17 Exploring Operation: 13+14=27, Resulting Numbers: [30, 27] Generated Node #0,4,1: 18:[30, 27] Operation: 13+14=27 Exploring Operation: 30-14=16, Resulting Numbers: [13, 16] Generated Node #0,4,2: 18:[13, 16] Operation: 30-14=16 Exploring Operation: 30+13=43, Resulting Numbers: [14, 43] Generated Node #0,4,3: 18:[14, 43] Operation: 30+13=43 Exploring Operation: 14-13=1, Resulting Numbers: [30, 1] Generated Node #0,4,4: 18:[30, 1] Operation: 14-13=1 Moving to Node #0,4,0 Current State: 18:[14, 17], Operations: ['41-27=14', '30-13=17'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,18 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,18 unequal: No Solution Moving to Node #0,4,2 Current State: 18:[13, 16], Operations: ['41-27=14', '30-14=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,18 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[30, 1], Operations: ['41-27=14', '14-13=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[30, 27], Operations: ['41-27=14', '13+14=27'] Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,18 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[14, 43], Operations: ['41-27=14', '30+13=43'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,18 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[41, 13, 3], Operations: ['30-27=3'] Exploring Operation: 41-13=28, Resulting Numbers: [3, 28] Generated Node #0,2,0: 18:[3, 28] Operation: 41-13=28 Exploring Operation: 41+3=44, Resulting Numbers: [13, 44] Generated Node #0,2,1: 18:[13, 44] Operation: 41+3=44 Exploring Operation: 13-3=10, Resulting Numbers: [41, 10] Generated Node #0,2,2: 18:[41, 10] Operation: 13-3=10 Exploring Operation: 41-3=38, Resulting Numbers: [13, 38] Generated Node #0,2,3: 18:[13, 38] Operation: 41-3=38 Exploring Operation: 13+3=16, Resulting Numbers: [41, 16] Generated Node #0,2,4: 18:[41, 16] Operation: 13+3=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[3, 28], Operations: ['30-27=3', '41-13=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 18:[41, 10], Operations: ['30-27=3', '13-3=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,18 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 18:[13, 38], Operations: ['30-27=3', '41-3=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,18 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 18:[41, 16], Operations: ['30-27=3', '13+3=16'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 18:[13, 44], Operations: ['30-27=3', '41+3=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,18 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[30, 27, 28], Operations: ['41-13=28'] Exploring Operation: 30+27=57, Resulting Numbers: [28, 57] Generated Node #0,3,0: 18:[28, 57] Operation: 30+27=57 Exploring Operation: 30-27=3, Resulting Numbers: [28, 3] Generated Node #0,3,1: 18:[28, 3] Operation: 30-27=3 Exploring Operation: 28-27=1, Resulting Numbers: [30, 1] Generated Node #0,3,2: 18:[30, 1] Operation: 28-27=1 Exploring Operation: 30+28=58, Resulting Numbers: [27, 58] Generated Node #0,3,3: 18:[27, 58] Operation: 30+28=58 Exploring Operation: 30-28=2, Resulting Numbers: [27, 2] Generated Node #0,3,4: 18:[27, 2] Operation: 30-28=2 Moving to Node #0,3,4 Current State: 18:[27, 2], Operations: ['41-13=28', '30-28=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[28, 3], Operations: ['41-13=28', '30-27=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,18 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[30, 1], Operations: ['41-13=28', '28-27=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[28, 57], Operations: ['41-13=28', '30+27=57'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 28+57=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 28*57=1596, Resulting Numbers: [1596] 1596,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[27, 58], Operations: ['41-13=28', '30+28=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[41, 27, 17], Operations: ['30-13=17'] Exploring Operation: 27-17=10, Resulting Numbers: [41, 10] Generated Node #0,1,0: 18:[41, 10] Operation: 27-17=10 Exploring Operation: 27+17=44, Resulting Numbers: [41, 44] Generated Node #0,1,1: 18:[41, 44] Operation: 27+17=44 Exploring Operation: 41-17=24, Resulting Numbers: [27, 24] Generated Node #0,1,2: 18:[27, 24] Operation: 41-17=24 Exploring Operation: 41-27=14, Resulting Numbers: [17, 14] Generated Node #0,1,3: 18:[17, 14] Operation: 41-27=14 Exploring Operation: 41+17=58, Resulting Numbers: [27, 58] Generated Node #0,1,4: 18:[27, 58] Operation: 41+17=58 Moving to Node #0,1,3 Current State: 18:[17, 14], Operations: ['30-13=17', '41-27=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[27, 24], Operations: ['30-13=17', '41-17=24'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[41, 10], Operations: ['30-13=17', '27-17=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,18 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[41, 44], Operations: ['30-13=17', '27+17=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[27, 58], Operations: ['30-13=17', '41+17=58'] Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,18 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,18 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
[ 55, 18, 12, 86 ]
74
[ "18*86=1548", "1548/12=129", "129-55=74" ]
Current State: 74:[55, 18, 12, 86], Operations: [] Exploring Operation: 18*86=1548, Resulting Numbers: [55, 12, 1548] Generated Node #2: [55, 12, 1548] from Operation: 18*86=1548 Current State: 74:[55, 12, 1548], Operations: ['18*86=1548'] Exploring Operation: 1548/12=129, Resulting Numbers: [55, 129] Generated Node #3: [55, 129] from Operation: 1548/12=129 Current State: 74:[55, 129], Operations: ['18*86=1548', '1548/12=129'] Exploring Operation: 129-55=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[55, 18, 12, 86], Operations: [] Exploring Operation: 86-55=31, Resulting Numbers: [18, 12, 31] Generated Node #0,0: 74:[18, 12, 31] Operation: 86-55=31 Exploring Operation: 55+18=73, Resulting Numbers: [12, 86, 73] Generated Node #0,1: 74:[12, 86, 73] Operation: 55+18=73 Exploring Operation: 55-18=37, Resulting Numbers: [12, 86, 37] Generated Node #0,2: 74:[12, 86, 37] Operation: 55-18=37 Moving to Node #0,2 Current State: 74:[12, 86, 37], Operations: ['55-18=37'] Exploring Operation: 86-37=49, Resulting Numbers: [12, 49] Generated Node #0,2,0: 74:[12, 49] Operation: 86-37=49 Exploring Operation: 12+86=98, Resulting Numbers: [37, 98] Generated Node #0,2,1: 74:[37, 98] Operation: 12+86=98 Exploring Operation: 86-12=74, Resulting Numbers: [37, 74] Generated Node #0,2,2: 74:[37, 74] Operation: 86-12=74 Moving to Node #0,1 Current State: 74:[12, 86, 73], Operations: ['55+18=73'] Exploring Operation: 12+73=85, Resulting Numbers: [86, 85] Generated Node #0,1,0: 74:[86, 85] Operation: 12+73=85 Exploring Operation: 86-73=13, Resulting Numbers: [12, 13] Generated Node #0,1,1: 74:[12, 13] Operation: 86-73=13 Exploring Operation: 86-12=74, Resulting Numbers: [73, 74] Generated Node #0,1,2: 74:[73, 74] Operation: 86-12=74 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[73, 74], Operations: ['55+18=73', '86-12=74'] Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 73*74=5402, Resulting Numbers: [5402] 5402,74 unequal: No Solution Exploring Operation: 73+74=147, Resulting Numbers: [147] 147,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,1,1 Current State: 74:[12, 13], Operations: ['55+18=73', '86-73=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,74 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,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,1,0 Current State: 74:[86, 85], Operations: ['55+18=73', '12+73=85'] Exploring Operation: 86*85=7310, Resulting Numbers: [7310] 7310,74 unequal: No Solution Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 86+85=171, Resulting Numbers: [171] 171,74 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: 74:[18, 12, 31], Operations: ['86-55=31'] Exploring Operation: 31-18=13, Resulting Numbers: [12, 13] Generated Node #0,0,0: 74:[12, 13] Operation: 31-18=13 Exploring Operation: 18-12=6, Resulting Numbers: [31, 6] Generated Node #0,0,1: 74:[31, 6] Operation: 18-12=6 Exploring Operation: 18+12=30, Resulting Numbers: [31, 30] Generated Node #0,0,2: 74:[31, 30] Operation: 18+12=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[31, 6], Operations: ['86-55=31', '18-12=6'] Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,74 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[31, 30], Operations: ['86-55=31', '18+12=30'] Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,74 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[12, 13], Operations: ['86-55=31', '31-18=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,74 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,74 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: 74:[37, 74], Operations: ['55-18=37', '86-12=74'] Exploring Operation: 37+74=111, Resulting Numbers: [111] 111,74 unequal: No Solution Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[12, 49], Operations: ['55-18=37', '86-37=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,74 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[37, 98], Operations: ['55-18=37', '12+86=98'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 37*98=3626, Resulting Numbers: [3626] 3626,74 unequal: No Solution Exploring Operation: 37+98=135, Resulting Numbers: [135] 135,74 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 57, 2, 10, 98 ]
31
[ "57+98=155", "10/2=5", "155/5=31" ]
Current State: 31:[57, 2, 10, 98], Operations: [] Exploring Operation: 57+98=155, Resulting Numbers: [2, 10, 155] Generated Node #2: [2, 10, 155] from Operation: 57+98=155 Current State: 31:[2, 10, 155], Operations: ['57+98=155'] Exploring Operation: 10/2=5, Resulting Numbers: [155, 5] Generated Node #3: [155, 5] from Operation: 10/2=5 Current State: 31:[155, 5], Operations: ['57+98=155', '10/2=5'] Exploring Operation: 155/5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[57, 2, 10, 98], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [2, 10, 41] Generated Node #0,0: 31:[2, 10, 41] Operation: 98-57=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[2, 10, 41], Operations: ['98-57=41'] Exploring Operation: 2*10=20, Resulting Numbers: [41, 20] Generated Node #0,0,0: 31:[41, 20] Operation: 2*10=20 Moving to Node #0,0,0 Current State: 31:[41, 20], Operations: ['98-57=41', '2*10=20'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,31 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
[ 54, 29, 58, 42 ]
33
[ "58/29=2", "42/2=21", "54-21=33" ]
Current State: 33:[54, 29, 58, 42], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [54, 42, 2] Generated Node #2: [54, 42, 2] from Operation: 58/29=2 Current State: 33:[54, 42, 2], Operations: ['58/29=2'] Exploring Operation: 42/2=21, Resulting Numbers: [54, 21] Generated Node #3: [54, 21] from Operation: 42/2=21 Current State: 33:[54, 21], Operations: ['58/29=2', '42/2=21'] Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[54, 29, 58, 42], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [54, 29, 16] Generated Node #0,0: 33:[54, 29, 16] Operation: 58-42=16 Exploring Operation: 58-54=4, Resulting Numbers: [29, 42, 4] Generated Node #0,1: 33:[29, 42, 4] Operation: 58-54=4 Exploring Operation: 58/29=2, Resulting Numbers: [54, 42, 2] Generated Node #0,2: 33:[54, 42, 2] Operation: 58/29=2 Exploring Operation: 54-42=12, Resulting Numbers: [29, 58, 12] Generated Node #0,3: 33:[29, 58, 12] Operation: 54-42=12 Moving to Node #0,1 Current State: 33:[29, 42, 4], Operations: ['58-54=4'] Exploring Operation: 42-4=38, Resulting Numbers: [29, 38] Generated Node #0,1,0: 33:[29, 38] Operation: 42-4=38 Exploring Operation: 29+4=33, Resulting Numbers: [42, 33] Generated Node #0,1,1: 33:[42, 33] Operation: 29+4=33 Exploring Operation: 42-29=13, Resulting Numbers: [4, 13] Generated Node #0,1,2: 33:[4, 13] Operation: 42-29=13 Exploring Operation: 29-4=25, Resulting Numbers: [42, 25] Generated Node #0,1,3: 33:[42, 25] Operation: 29-4=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[4, 13], Operations: ['58-54=4', '42-29=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,33 unequal: No Solution No 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: 33:[29, 38], Operations: ['58-54=4', '42-4=38'] Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,33 unequal: No Solution Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[42, 33], Operations: ['58-54=4', '29+4=33'] Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,33 unequal: No Solution Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,33 unequal: No Solution No 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: 33:[42, 25], Operations: ['58-54=4', '29-4=25'] Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 42*25=1050, Resulting Numbers: [1050] 1050,33 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: 33:[29, 58, 12], Operations: ['54-42=12'] Exploring Operation: 58-29=29, Resulting Numbers: [12, 29] Generated Node #0,3,0: 33:[12, 29] Operation: 58-29=29 Exploring Operation: 29-12=17, Resulting Numbers: [58, 17] Generated Node #0,3,1: 33:[58, 17] Operation: 29-12=17 Exploring Operation: 58/29=2, Resulting Numbers: [12, 2] Generated Node #0,3,2: 33:[12, 2] Operation: 58/29=2 Exploring Operation: 58-12=46, Resulting Numbers: [29, 46] Generated Node #0,3,3: 33:[29, 46] Operation: 58-12=46 Moving to Node #0,0 Current State: 33:[54, 29, 16], Operations: ['58-42=16'] Exploring Operation: 29+16=45, Resulting Numbers: [54, 45] Generated Node #0,0,0: 33:[54, 45] Operation: 29+16=45 Exploring Operation: 54-16=38, Resulting Numbers: [29, 38] Generated Node #0,0,1: 33:[29, 38] Operation: 54-16=38 Exploring Operation: 54-29=25, Resulting Numbers: [16, 25] Generated Node #0,0,2: 33:[16, 25] Operation: 54-29=25 Exploring Operation: 29-16=13, Resulting Numbers: [54, 13] Generated Node #0,0,3: 33:[54, 13] Operation: 29-16=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[29, 38], Operations: ['58-42=16', '54-16=38'] Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,33 unequal: No Solution No 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: 33:[16, 25], Operations: ['58-42=16', '54-29=25'] Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,33 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[54, 13], Operations: ['58-42=16', '29-16=13'] Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,33 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,33 unequal: No Solution No 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: 33:[54, 45], Operations: ['58-42=16', '29+16=45'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,33 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: 33:[54, 42, 2], Operations: ['58/29=2'] Exploring Operation: 54/2=27, Resulting Numbers: [42, 27] Generated Node #0,2,0: 33:[42, 27] Operation: 54/2=27 Exploring Operation: 54-42=12, Resulting Numbers: [2, 12] Generated Node #0,2,1: 33:[2, 12] Operation: 54-42=12 Exploring Operation: 42-2=40, Resulting Numbers: [54, 40] Generated Node #0,2,2: 33:[54, 40] Operation: 42-2=40 Exploring Operation: 54-2=52, Resulting Numbers: [42, 52] Generated Node #0,2,3: 33:[42, 52] Operation: 54-2=52 Moving to Node #0,3,2 Current State: 33:[12, 2], Operations: ['54-42=12', '58/29=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[2, 12], Operations: ['58/29=2', '54-42=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[12, 29], Operations: ['54-42=12', '58-29=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[42, 27], Operations: ['58/29=2', '54/2=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,33 unequal: No Solution Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,33 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[29, 46], Operations: ['54-42=12', '58-12=46'] Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 29*46=1334, Resulting Numbers: [1334] 1334,33 unequal: No Solution Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[42, 52], Operations: ['58/29=2', '54-2=52'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[54, 40], Operations: ['58/29=2', '42-2=40'] Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,33 unequal: No Solution Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[58, 17], Operations: ['54-42=12', '29-12=17'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,33 unequal: No Solution Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,33 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 53, 38, 22, 18 ]
87
[ "53+38=91", "22-18=4", "91-4=87" ]
Current State: 87:[53, 38, 22, 18], Operations: [] Exploring Operation: 53+38=91, Resulting Numbers: [22, 18, 91] Generated Node #2: [22, 18, 91] from Operation: 53+38=91 Current State: 87:[22, 18, 91], Operations: ['53+38=91'] Exploring Operation: 22-18=4, Resulting Numbers: [91, 4] Generated Node #3: [91, 4] from Operation: 22-18=4 Current State: 87:[91, 4], Operations: ['53+38=91', '22-18=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[53, 38, 22, 18], Operations: [] Exploring Operation: 53+38=91, Resulting Numbers: [22, 18, 91] Generated Node #0,0: 87:[22, 18, 91] Operation: 53+38=91 Exploring Operation: 53-22=31, Resulting Numbers: [38, 18, 31] Generated Node #0,1: 87:[38, 18, 31] Operation: 53-22=31 Exploring Operation: 53-18=35, Resulting Numbers: [38, 22, 35] Generated Node #0,2: 87:[38, 22, 35] Operation: 53-18=35 Exploring Operation: 53-38=15, Resulting Numbers: [22, 18, 15] Generated Node #0,3: 87:[22, 18, 15] Operation: 53-38=15 Moving to Node #0,0 Current State: 87:[22, 18, 91], Operations: ['53+38=91'] Exploring Operation: 91-22=69, Resulting Numbers: [18, 69] Generated Node #0,0,0: 87:[18, 69] Operation: 91-22=69 Exploring Operation: 22+18=40, Resulting Numbers: [91, 40] Generated Node #0,0,1: 87:[91, 40] Operation: 22+18=40 Exploring Operation: 22-18=4, Resulting Numbers: [91, 4] Generated Node #0,0,2: 87:[91, 4] Operation: 22-18=4 Exploring Operation: 91-18=73, Resulting Numbers: [22, 73] Generated Node #0,0,3: 87:[22, 73] Operation: 91-18=73 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[91, 4], Operations: ['53+38=91', '22-18=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[53, 38, 22, 18], Operations: [] Exploring Operation: 53+38=91, Resulting Numbers: [22, 18, 91] Generated Node #0,0: 87:[22, 18, 91] Operation: 53+38=91 Moving to Node #0,0 Current State: 87:[22, 18, 91], Operations: ['53+38=91'] Exploring Operation: 22-18=4, Resulting Numbers: [91, 4] Generated Node #0,0,2: 87:[91, 4] Operation: 22-18=4 Moving to Node #0,0,2 Current State: 87:[91, 4], Operations: ['53+38=91', '22-18=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 58, 38, 14, 40 ]
46
[ "58-38=20", "40-14=26", "20+26=46" ]
Current State: 46:[58, 38, 14, 40], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [14, 40, 20] Generated Node #2: [14, 40, 20] from Operation: 58-38=20 Current State: 46:[14, 40, 20], Operations: ['58-38=20'] Exploring Operation: 40-14=26, Resulting Numbers: [20, 26] Generated Node #3: [20, 26] from Operation: 40-14=26 Current State: 46:[20, 26], Operations: ['58-38=20', '40-14=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[58, 38, 14, 40], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [58, 14, 2] Generated Node #0,0: 46:[58, 14, 2] Operation: 40-38=2 Exploring Operation: 58-38=20, Resulting Numbers: [14, 40, 20] Generated Node #0,1: 46:[14, 40, 20] Operation: 58-38=20 Exploring Operation: 58-14=44, Resulting Numbers: [38, 40, 44] Generated Node #0,2: 46:[38, 40, 44] Operation: 58-14=44 Exploring Operation: 38-14=24, Resulting Numbers: [58, 40, 24] Generated Node #0,3: 46:[58, 40, 24] Operation: 38-14=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[38, 40, 44], Operations: ['58-14=44'] Exploring Operation: 44-38=6, Resulting Numbers: [40, 6] Generated Node #0,2,0: 46:[40, 6] Operation: 44-38=6 Exploring Operation: 38+40=78, Resulting Numbers: [44, 78] Generated Node #0,2,1: 46:[44, 78] Operation: 38+40=78 Exploring Operation: 44-40=4, Resulting Numbers: [38, 4] Generated Node #0,2,2: 46:[38, 4] Operation: 44-40=4 Exploring Operation: 40-38=2, Resulting Numbers: [44, 2] Generated Node #0,2,3: 46:[44, 2] Operation: 40-38=2 Moving to Node #0,2,3 Current State: 46:[44, 2], Operations: ['58-14=44', '40-38=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[58, 38, 14, 40], Operations: [] Exploring Operation: 58-14=44, Resulting Numbers: [38, 40, 44] Generated Node #0,2: 46:[38, 40, 44] Operation: 58-14=44 Moving to Node #0,2 Current State: 46:[38, 40, 44], Operations: ['58-14=44'] Exploring Operation: 40-38=2, Resulting Numbers: [44, 2] Generated Node #0,2,3: 46:[44, 2] Operation: 40-38=2 Moving to Node #0,2,3 Current State: 46:[44, 2], Operations: ['58-14=44', '40-38=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 82, 75, 26, 84 ]
62
[ "84-82=2", "26/2=13", "75-13=62" ]
Current State: 62:[82, 75, 26, 84], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [75, 26, 2] Generated Node #2: [75, 26, 2] from Operation: 84-82=2 Current State: 62:[75, 26, 2], Operations: ['84-82=2'] Exploring Operation: 26/2=13, Resulting Numbers: [75, 13] Generated Node #3: [75, 13] from Operation: 26/2=13 Current State: 62:[75, 13], Operations: ['84-82=2', '26/2=13'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[82, 75, 26, 84], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [82, 75, 58] Generated Node #0,0: 62:[82, 75, 58] Operation: 84-26=58 Exploring Operation: 84-82=2, Resulting Numbers: [75, 26, 2] Generated Node #0,1: 62:[75, 26, 2] Operation: 84-82=2 Exploring Operation: 84-75=9, Resulting Numbers: [82, 26, 9] Generated Node #0,2: 62:[82, 26, 9] Operation: 84-75=9 Exploring Operation: 82-75=7, Resulting Numbers: [26, 84, 7] Generated Node #0,3: 62:[26, 84, 7] Operation: 82-75=7 Moving to Node #0,1 Current State: 62:[75, 26, 2], Operations: ['84-82=2'] Exploring Operation: 75-2=73, Resulting Numbers: [26, 73] Generated Node #0,1,0: 62:[26, 73] Operation: 75-2=73 Exploring Operation: 75-26=49, Resulting Numbers: [2, 49] Generated Node #0,1,1: 62:[2, 49] Operation: 75-26=49 Exploring Operation: 75+2=77, Resulting Numbers: [26, 77] Generated Node #0,1,2: 62:[26, 77] Operation: 75+2=77 Exploring Operation: 26+2=28, Resulting Numbers: [75, 28] Generated Node #0,1,3: 62:[75, 28] Operation: 26+2=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[2, 49], Operations: ['84-82=2', '75-26=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,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,1,0 Current State: 62:[26, 73], Operations: ['84-82=2', '75-2=73'] Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,62 unequal: No Solution Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,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,1,3 Current State: 62:[75, 28], Operations: ['84-82=2', '26+2=28'] Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,62 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,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,1,2 Current State: 62:[26, 77], Operations: ['84-82=2', '75+2=77'] Exploring Operation: 26*77=2002, Resulting Numbers: [2002] 2002,62 unequal: No Solution Exploring Operation: 26+77=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,62 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: 62:[26, 84, 7], Operations: ['82-75=7'] Exploring Operation: 26+7=33, Resulting Numbers: [84, 33] Generated Node #0,3,0: 62:[84, 33] Operation: 26+7=33 Exploring Operation: 84/7=12, Resulting Numbers: [26, 12] Generated Node #0,3,1: 62:[26, 12] Operation: 84/7=12 Exploring Operation: 84-7=77, Resulting Numbers: [26, 77] Generated Node #0,3,2: 62:[26, 77] Operation: 84-7=77 Exploring Operation: 84-26=58, Resulting Numbers: [7, 58] Generated Node #0,3,3: 62:[7, 58] Operation: 84-26=58 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 62:[7, 58], Operations: ['82-75=7', '84-26=58'] Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,62 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 62:[26, 12], Operations: ['82-75=7', '84/7=12'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,62 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 62:[26, 77], Operations: ['82-75=7', '84-7=77'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 26*77=2002, Resulting Numbers: [2002] 2002,62 unequal: No Solution Exploring Operation: 26+77=103, Resulting Numbers: [103] 103,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[84, 33], Operations: ['82-75=7', '26+7=33'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 84*33=2772, Resulting Numbers: [2772] 2772,62 unequal: No Solution Exploring Operation: 84+33=117, Resulting Numbers: [117] 117,62 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: 62:[82, 26, 9], Operations: ['84-75=9'] Exploring Operation: 82-26=56, Resulting Numbers: [9, 56] Generated Node #0,2,0: 62:[9, 56] Operation: 82-26=56 Exploring Operation: 26+9=35, Resulting Numbers: [82, 35] Generated Node #0,2,1: 62:[82, 35] Operation: 26+9=35 Exploring Operation: 82-9=73, Resulting Numbers: [26, 73] Generated Node #0,2,2: 62:[26, 73] Operation: 82-9=73 Exploring Operation: 82+9=91, Resulting Numbers: [26, 91] Generated Node #0,2,3: 62:[26, 91] Operation: 82+9=91 Moving to Node #0,0 Current State: 62:[82, 75, 58], Operations: ['84-26=58'] Exploring Operation: 82-58=24, Resulting Numbers: [75, 24] Generated Node #0,0,0: 62:[75, 24] Operation: 82-58=24 Exploring Operation: 82+58=140, Resulting Numbers: [75, 140] Generated Node #0,0,1: 62:[75, 140] Operation: 82+58=140 Exploring Operation: 82-75=7, Resulting Numbers: [58, 7] Generated Node #0,0,2: 62:[58, 7] Operation: 82-75=7 Exploring Operation: 75-58=17, Resulting Numbers: [82, 17] Generated Node #0,0,3: 62:[82, 17] Operation: 75-58=17 Moving to Node #0,0,2 Current State: 62:[58, 7], Operations: ['84-26=58', '82-75=7'] Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,62 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[9, 56], Operations: ['84-75=9', '82-26=56'] Exploring Operation: 9*56=504, Resulting Numbers: [504] 504,62 unequal: No Solution Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[26, 73], Operations: ['84-75=9', '82-9=73'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,62 unequal: No Solution Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[75, 24], Operations: ['84-26=58', '82-58=24'] Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[82, 35], Operations: ['84-75=9', '26+9=35'] Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,62 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[26, 91], Operations: ['84-75=9', '82+9=91'] Exploring Operation: 26*91=2366, Resulting Numbers: [2366] 2366,62 unequal: No Solution Exploring Operation: 26+91=117, Resulting Numbers: [117] 117,62 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[82, 17], Operations: ['84-26=58', '75-58=17'] Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,62 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[75, 140], Operations: ['84-26=58', '82+58=140'] Exploring Operation: 75+140=215, Resulting Numbers: [215] 215,62 unequal: No Solution Exploring Operation: 75*140=10500, Resulting Numbers: [10500] 10500,62 unequal: No Solution Exploring Operation: 140-75=65, Resulting Numbers: [65] 65,62 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 41, 24, 36, 28 ]
57
[ "41+24=65", "36-28=8", "65-8=57" ]
Current State: 57:[41, 24, 36, 28], Operations: [] Exploring Operation: 41+24=65, Resulting Numbers: [36, 28, 65] Generated Node #2: [36, 28, 65] from Operation: 41+24=65 Current State: 57:[36, 28, 65], Operations: ['41+24=65'] Exploring Operation: 36-28=8, Resulting Numbers: [65, 8] Generated Node #3: [65, 8] from Operation: 36-28=8 Current State: 57:[65, 8], Operations: ['41+24=65', '36-28=8'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[41, 24, 36, 28], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [24, 28, 5] Generated Node #0,0: 57:[24, 28, 5] Operation: 41-36=5 Exploring Operation: 36-28=8, Resulting Numbers: [41, 24, 8] Generated Node #0,1: 57:[41, 24, 8] Operation: 36-28=8 Exploring Operation: 41-24=17, Resulting Numbers: [36, 28, 17] Generated Node #0,2: 57:[36, 28, 17] Operation: 41-24=17 Moving to Node #0,0 Current State: 57:[24, 28, 5], Operations: ['41-36=5'] Exploring Operation: 24-5=19, Resulting Numbers: [28, 19] Generated Node #0,0,0: 57:[28, 19] Operation: 24-5=19 Exploring Operation: 28-24=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 57:[5, 4] Operation: 28-24=4 Exploring Operation: 24+28=52, Resulting Numbers: [5, 52] Generated Node #0,0,2: 57:[5, 52] Operation: 24+28=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[5, 4], Operations: ['41-36=5', '28-24=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[5, 52], Operations: ['41-36=5', '24+28=52'] Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,57 unequal: No Solution Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[41, 24, 36, 28], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [24, 28, 5] Generated Node #0,0: 57:[24, 28, 5] Operation: 41-36=5 Moving to Node #0,0 Current State: 57:[24, 28, 5], Operations: ['41-36=5'] Exploring Operation: 24+28=52, Resulting Numbers: [5, 52] Generated Node #0,0,2: 57:[5, 52] Operation: 24+28=52 Moving to Node #0,0,2 Current State: 57:[5, 52], Operations: ['41-36=5', '24+28=52'] Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 87, 9, 45, 3 ]
36
[ "87-9=78", "45-3=42", "78-42=36" ]
Current State: 36:[87, 9, 45, 3], Operations: [] Exploring Operation: 87-9=78, Resulting Numbers: [45, 3, 78] Generated Node #2: [45, 3, 78] from Operation: 87-9=78 Current State: 36:[45, 3, 78], Operations: ['87-9=78'] Exploring Operation: 45-3=42, Resulting Numbers: [78, 42] Generated Node #3: [78, 42] from Operation: 45-3=42 Current State: 36:[78, 42], Operations: ['87-9=78', '45-3=42'] Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[87, 9, 45, 3], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [9, 3, 42] Generated Node #0,0: 36:[9, 3, 42] Operation: 87-45=42 Exploring Operation: 45-9=36, Resulting Numbers: [87, 3, 36] Generated Node #0,1: 36:[87, 3, 36] Operation: 45-9=36 Exploring Operation: 87/3=29, Resulting Numbers: [9, 45, 29] Generated Node #0,2: 36:[9, 45, 29] Operation: 87/3=29 Exploring Operation: 87-9=78, Resulting Numbers: [45, 3, 78] Generated Node #0,3: 36:[45, 3, 78] Operation: 87-9=78 Moving to Node #0,0 Current State: 36:[9, 3, 42], Operations: ['87-45=42'] Exploring Operation: 42/3=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 36:[9, 14] Operation: 42/3=14 Exploring Operation: 42-3=39, Resulting Numbers: [9, 39] Generated Node #0,0,1: 36:[9, 39] Operation: 42-3=39 Exploring Operation: 9+3=12, Resulting Numbers: [42, 12] Generated Node #0,0,2: 36:[42, 12] Operation: 9+3=12 Exploring Operation: 42-9=33, Resulting Numbers: [3, 33] Generated Node #0,0,3: 36:[3, 33] Operation: 42-9=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[9, 14], Operations: ['87-45=42', '42/3=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[9, 39], Operations: ['87-45=42', '42-3=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[3, 33], Operations: ['87-45=42', '42-9=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[87, 9, 45, 3], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [9, 3, 42] Generated Node #0,0: 36:[9, 3, 42] Operation: 87-45=42 Moving to Node #0,0 Current State: 36:[9, 3, 42], Operations: ['87-45=42'] Exploring Operation: 42-9=33, Resulting Numbers: [3, 33] Generated Node #0,0,3: 36:[3, 33] Operation: 42-9=33 Moving to Node #0,0,3 Current State: 36:[3, 33], Operations: ['87-45=42', '42-9=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 26, 33, 30, 26 ]
78
[ "26*33=858", "30*26=780", "858-780=78" ]
Current State: 78:[26, 33, 30, 26], Operations: [] Exploring Operation: 26*33=858, Resulting Numbers: [30, 858] Generated Node #2: [30, 858] from Operation: 26*33=858 Current State: 78:[30, 858], Operations: ['26*33=858'] Exploring Operation: 30*26=780, Resulting Numbers: [858, 780] Generated Node #3: [858, 780] from Operation: 30*26=780 Current State: 78:[858, 780], Operations: ['26*33=858', '30*26=780'] Exploring Operation: 858-780=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[26, 33, 30, 26], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [26, 26, 3] Generated Node #0,0: 78:[26, 26, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[26, 26, 3], Operations: ['33-30=3'] Exploring Operation: 26*3=78, Resulting Numbers: [26, 78] Generated Node #0,0,0: 78:[26, 78] Operation: 26*3=78 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[26, 78], Operations: ['33-30=3', '26*3=78'] Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,78 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
[ 68, 47, 6, 45 ]
28
[ "47-45=2", "68/2=34", "34-6=28" ]
Current State: 28:[68, 47, 6, 45], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [68, 6, 2] Generated Node #2: [68, 6, 2] from Operation: 47-45=2 Current State: 28:[68, 6, 2], Operations: ['47-45=2'] Exploring Operation: 68/2=34, Resulting Numbers: [6, 34] Generated Node #3: [6, 34] from Operation: 68/2=34 Current State: 28:[6, 34], Operations: ['47-45=2', '68/2=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[68, 47, 6, 45], Operations: [] Exploring Operation: 68-47=21, Resulting Numbers: [6, 45, 21] Generated Node #0,0: 28:[6, 45, 21] Operation: 68-47=21 Exploring Operation: 68-45=23, Resulting Numbers: [47, 6, 23] Generated Node #0,1: 28:[47, 6, 23] Operation: 68-45=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[6, 45, 21], Operations: ['68-47=21'] Exploring Operation: 45-21=24, Resulting Numbers: [6, 24] Generated Node #0,0,0: 28:[6, 24] Operation: 45-21=24 Exploring Operation: 45-6=39, Resulting Numbers: [21, 39] Generated Node #0,0,1: 28:[21, 39] Operation: 45-6=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[6, 24], Operations: ['68-47=21', '45-21=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[21, 39], Operations: ['68-47=21', '45-6=39'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[47, 6, 23], Operations: ['68-45=23'] Exploring Operation: 47-23=24, Resulting Numbers: [6, 24] Generated Node #0,1,0: 28:[6, 24] Operation: 47-23=24 Exploring Operation: 47-6=41, Resulting Numbers: [23, 41] Generated Node #0,1,1: 28:[23, 41] Operation: 47-6=41 Moving to Node #0,1,0 Current State: 28:[6, 24], Operations: ['68-45=23', '47-23=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[23, 41], Operations: ['68-45=23', '47-6=41'] Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 99, 78, 38, 41 ]
73
[ "41-38=3", "78/3=26", "99-26=73" ]
Current State: 73:[99, 78, 38, 41], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [99, 78, 3] Generated Node #2: [99, 78, 3] from Operation: 41-38=3 Current State: 73:[99, 78, 3], Operations: ['41-38=3'] Exploring Operation: 78/3=26, Resulting Numbers: [99, 26] Generated Node #3: [99, 26] from Operation: 78/3=26 Current State: 73:[99, 26], Operations: ['41-38=3', '78/3=26'] Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[99, 78, 38, 41], Operations: [] Exploring Operation: 38+41=79, Resulting Numbers: [99, 78, 79] Generated Node #0,0: 73:[99, 78, 79] Operation: 38+41=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[99, 78, 79], Operations: ['38+41=79'] Exploring Operation: 99-78=21, Resulting Numbers: [79, 21] Generated Node #0,0,0: 73:[79, 21] Operation: 99-78=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[79, 21], Operations: ['38+41=79', '99-78=21'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,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
[ 5, 65, 12, 25 ]
48
[ "5*25=125", "65+12=77", "125-77=48" ]
Current State: 48:[5, 65, 12, 25], Operations: [] Exploring Operation: 5*25=125, Resulting Numbers: [65, 12, 125] Generated Node #2: [65, 12, 125] from Operation: 5*25=125 Current State: 48:[65, 12, 125], Operations: ['5*25=125'] Exploring Operation: 65+12=77, Resulting Numbers: [125, 77] Generated Node #3: [125, 77] from Operation: 65+12=77 Current State: 48:[125, 77], Operations: ['5*25=125', '65+12=77'] Exploring Operation: 125-77=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[5, 65, 12, 25], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [65, 12, 5] Generated Node #0,0: 48:[65, 12, 5] Operation: 25/5=5 Exploring Operation: 65-5=60, Resulting Numbers: [12, 25, 60] Generated Node #0,1: 48:[12, 25, 60] Operation: 65-5=60 Exploring Operation: 65/5=13, Resulting Numbers: [12, 25, 13] Generated Node #0,2: 48:[12, 25, 13] Operation: 65/5=13 Exploring Operation: 65-12=53, Resulting Numbers: [5, 25, 53] Generated Node #0,3: 48:[5, 25, 53] Operation: 65-12=53 Exploring Operation: 65-25=40, Resulting Numbers: [5, 12, 40] Generated Node #0,4: 48:[5, 12, 40] Operation: 65-25=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[12, 25, 13], Operations: ['65/5=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12, 12] Generated Node #0,2,0: 48:[12, 12] Operation: 25-13=12 Exploring Operation: 12+13=25, Resulting Numbers: [25, 25] Generated Node #0,2,1: 48:[25, 25] Operation: 12+13=25 Exploring Operation: 25+13=38, Resulting Numbers: [12, 38] Generated Node #0,2,2: 48:[12, 38] Operation: 25+13=38 Exploring Operation: 13-12=1, Resulting Numbers: [25, 1] Generated Node #0,2,3: 48:[25, 1] Operation: 13-12=1 Exploring Operation: 25-12=13, Resulting Numbers: [13, 13] Generated Node #0,2,4: 48:[13, 13] Operation: 25-12=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[12, 12], Operations: ['65/5=13', '25-13=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,48 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[25, 25], Operations: ['65/5=13', '12+13=25'] Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,48 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[25, 1], Operations: ['65/5=13', '13-12=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 48:[13, 13], Operations: ['65/5=13', '25-12=13'] Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,48 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[12, 38], Operations: ['65/5=13', '25+13=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[5, 25, 53], Operations: ['65-12=53'] Exploring Operation: 53-25=28, Resulting Numbers: [5, 28] Generated Node #0,3,0: 48:[5, 28] Operation: 53-25=28 Exploring Operation: 25-5=20, Resulting Numbers: [53, 20] Generated Node #0,3,1: 48:[53, 20] Operation: 25-5=20 Exploring Operation: 5+25=30, Resulting Numbers: [53, 30] Generated Node #0,3,2: 48:[53, 30] Operation: 5+25=30 Exploring Operation: 25/5=5, Resulting Numbers: [53, 5] Generated Node #0,3,3: 48:[53, 5] Operation: 25/5=5 Exploring Operation: 53-5=48, Resulting Numbers: [25, 48] Generated Node #0,3,4: 48:[25, 48] Operation: 53-5=48 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 48:[25, 48], Operations: ['65-12=53', '53-5=48'] Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 25*48=1200, Resulting Numbers: [1200] 1200,48 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 48:[5, 28], Operations: ['65-12=53', '53-25=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,48 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 48:[53, 5], Operations: ['65-12=53', '25/5=5'] Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,48 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[5, 65, 12, 25], Operations: [] Exploring Operation: 65-12=53, Resulting Numbers: [5, 25, 53] Generated Node #0,3: 48:[5, 25, 53] Operation: 65-12=53 Moving to Node #0,3 Current State: 48:[5, 25, 53], Operations: ['65-12=53'] Exploring Operation: 25/5=5, Resulting Numbers: [53, 5] Generated Node #0,3,3: 48:[53, 5] Operation: 25/5=5 Moving to Node #0,3,3 Current State: 48:[53, 5], Operations: ['65-12=53', '25/5=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 28, 66, 53, 14 ]
26
[ "28/14=2", "66-53=13", "2*13=26" ]
Current State: 26:[28, 66, 53, 14], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [66, 53, 2] Generated Node #2: [66, 53, 2] from Operation: 28/14=2 Current State: 26:[66, 53, 2], Operations: ['28/14=2'] Exploring Operation: 66-53=13, Resulting Numbers: [2, 13] Generated Node #3: [2, 13] from Operation: 66-53=13 Current State: 26:[2, 13], Operations: ['28/14=2', '66-53=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[28, 66, 53, 14], Operations: [] Exploring Operation: 53-28=25, Resulting Numbers: [66, 14, 25] Generated Node #0,0: 26:[66, 14, 25] Operation: 53-28=25 Exploring Operation: 66-28=38, Resulting Numbers: [53, 14, 38] Generated Node #0,1: 26:[53, 14, 38] Operation: 66-28=38 Exploring Operation: 66-53=13, Resulting Numbers: [28, 14, 13] Generated Node #0,2: 26:[28, 14, 13] Operation: 66-53=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[28, 14, 13], Operations: ['66-53=13'] Exploring Operation: 28/14=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 26:[13, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [13, 14] Generated Node #0,2,1: 26:[13, 14] Operation: 28-14=14 Exploring Operation: 28-13=15, Resulting Numbers: [14, 15] Generated Node #0,2,2: 26:[14, 15] Operation: 28-13=15 Moving to Node #0,2,0 Current State: 26:[13, 2], Operations: ['66-53=13', '28/14=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[28, 66, 53, 14], Operations: [] Exploring Operation: 66-53=13, Resulting Numbers: [28, 14, 13] Generated Node #0,2: 26:[28, 14, 13] Operation: 66-53=13 Moving to Node #0,2 Current State: 26:[28, 14, 13], Operations: ['66-53=13'] Exploring Operation: 28/14=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 26:[13, 2] Operation: 28/14=2 Moving to Node #0,2,0 Current State: 26:[13, 2], Operations: ['66-53=13', '28/14=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 25, 66, 24, 92 ]
24
[ "25+66=91", "92-91=1", "24*1=24" ]
Current State: 24:[25, 66, 24, 92], Operations: [] Exploring Operation: 25+66=91, Resulting Numbers: [24, 92, 91] Generated Node #2: [24, 92, 91] from Operation: 25+66=91 Current State: 24:[24, 92, 91], Operations: ['25+66=91'] Exploring Operation: 92-91=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 92-91=1 Current State: 24:[24, 1], Operations: ['25+66=91', '92-91=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[25, 66, 24, 92], Operations: [] Exploring Operation: 92-66=26, Resulting Numbers: [25, 24, 26] Generated Node #0,0: 24:[25, 24, 26] Operation: 92-66=26 Exploring Operation: 66-25=41, Resulting Numbers: [24, 92, 41] Generated Node #0,1: 24:[24, 92, 41] Operation: 66-25=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[25, 24, 26], Operations: ['92-66=26'] Exploring Operation: 26-25=1, Resulting Numbers: [24, 1] Generated Node #0,0,0: 24:[24, 1] Operation: 26-25=1 Exploring Operation: 26-24=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 24:[25, 2] Operation: 26-24=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[24, 1], Operations: ['92-66=26', '26-25=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[25, 66, 24, 92], Operations: [] Exploring Operation: 92-66=26, Resulting Numbers: [25, 24, 26] Generated Node #0,0: 24:[25, 24, 26] Operation: 92-66=26 Moving to Node #0,0 Current State: 24:[25, 24, 26], Operations: ['92-66=26'] Exploring Operation: 26-25=1, Resulting Numbers: [24, 1] Generated Node #0,0,0: 24:[24, 1] Operation: 26-25=1 Moving to Node #0,0,0 Current State: 24:[24, 1], Operations: ['92-66=26', '26-25=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 71, 5, 74, 93 ]
97
[ "74*93=6882", "5+6882=6887", "6887/71=97" ]
Current State: 97:[71, 5, 74, 93], Operations: [] Exploring Operation: 74*93=6882, Resulting Numbers: [71, 5, 6882] Generated Node #2: [71, 5, 6882] from Operation: 74*93=6882 Current State: 97:[71, 5, 6882], Operations: ['74*93=6882'] Exploring Operation: 5+6882=6887, Resulting Numbers: [71, 6887] Generated Node #3: [71, 6887] from Operation: 5+6882=6887 Current State: 97:[71, 6887], Operations: ['74*93=6882', '5+6882=6887'] Exploring Operation: 6887/71=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[71, 5, 74, 93], Operations: [] Exploring Operation: 74-5=69, Resulting Numbers: [71, 93, 69] Generated Node #0,0: 97:[71, 93, 69] Operation: 74-5=69 Exploring Operation: 71+5=76, Resulting Numbers: [74, 93, 76] Generated Node #0,1: 97:[74, 93, 76] Operation: 71+5=76 Exploring Operation: 5+74=79, Resulting Numbers: [71, 93, 79] Generated Node #0,2: 97:[71, 93, 79] Operation: 5+74=79 Exploring Operation: 71-5=66, Resulting Numbers: [74, 93, 66] Generated Node #0,3: 97:[74, 93, 66] Operation: 71-5=66 Exploring Operation: 5+93=98, Resulting Numbers: [71, 74, 98] Generated Node #0,4: 97:[71, 74, 98] Operation: 5+93=98 Moving to Node #0,1 Current State: 97:[74, 93, 76], Operations: ['71+5=76'] Exploring Operation: 93+76=169, Resulting Numbers: [74, 169] Generated Node #0,1,0: 97:[74, 169] Operation: 93+76=169 Exploring Operation: 93-74=19, Resulting Numbers: [76, 19] Generated Node #0,1,1: 97:[76, 19] Operation: 93-74=19 Exploring Operation: 76-74=2, Resulting Numbers: [93, 2] Generated Node #0,1,2: 97:[93, 2] Operation: 76-74=2 Exploring Operation: 74+76=150, Resulting Numbers: [93, 150] Generated Node #0,1,3: 97:[93, 150] Operation: 74+76=150 Exploring Operation: 74+93=167, Resulting Numbers: [76, 167] Generated Node #0,1,4: 97:[76, 167] Operation: 74+93=167 Moving to Node #0,2 Current State: 97:[71, 93, 79], Operations: ['5+74=79'] Exploring Operation: 93+79=172, Resulting Numbers: [71, 172] Generated Node #0,2,0: 97:[71, 172] Operation: 93+79=172 Exploring Operation: 79-71=8, Resulting Numbers: [93, 8] Generated Node #0,2,1: 97:[93, 8] Operation: 79-71=8 Exploring Operation: 93-71=22, Resulting Numbers: [79, 22] Generated Node #0,2,2: 97:[79, 22] Operation: 93-71=22 Exploring Operation: 71+79=150, Resulting Numbers: [93, 150] Generated Node #0,2,3: 97:[93, 150] Operation: 71+79=150 Exploring Operation: 71+93=164, Resulting Numbers: [79, 164] Generated Node #0,2,4: 97:[79, 164] Operation: 71+93=164 Moving to Node #0,4 Current State: 97:[71, 74, 98], Operations: ['5+93=98'] Exploring Operation: 74-71=3, Resulting Numbers: [98, 3] Generated Node #0,4,0: 97:[98, 3] Operation: 74-71=3 Exploring Operation: 71+98=169, Resulting Numbers: [74, 169] Generated Node #0,4,1: 97:[74, 169] Operation: 71+98=169 Exploring Operation: 98-71=27, Resulting Numbers: [74, 27] Generated Node #0,4,2: 97:[74, 27] Operation: 98-71=27 Exploring Operation: 71+74=145, Resulting Numbers: [98, 145] Generated Node #0,4,3: 97:[98, 145] Operation: 71+74=145 Exploring Operation: 98-74=24, Resulting Numbers: [71, 24] Generated Node #0,4,4: 97:[71, 24] Operation: 98-74=24 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 97:[98, 145], Operations: ['5+93=98', '71+74=145'] Exploring Operation: 98+145=243, Resulting Numbers: [243] 243,97 unequal: No Solution Exploring Operation: 98*145=14210, Resulting Numbers: [14210] 14210,97 unequal: No Solution Exploring Operation: 145-98=47, Resulting Numbers: [47] 47,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 97:[74, 27], Operations: ['5+93=98', '98-71=27'] Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,97 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 97:[98, 3], Operations: ['5+93=98', '74-71=3'] Exploring Operation: 98*3=294, Resulting Numbers: [294] 294,97 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 97:[74, 169], Operations: ['5+93=98', '71+98=169'] Exploring Operation: 74+169=243, Resulting Numbers: [243] 243,97 unequal: No Solution Exploring Operation: 74*169=12506, Resulting Numbers: [12506] 12506,97 unequal: No Solution Exploring Operation: 169-74=95, Resulting Numbers: [95] 95,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 97:[71, 24], Operations: ['5+93=98', '98-74=24'] Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,97 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 97:[71, 93, 69], Operations: ['74-5=69'] Exploring Operation: 93+69=162, Resulting Numbers: [71, 162] Generated Node #0,0,0: 97:[71, 162] Operation: 93+69=162 Exploring Operation: 71-69=2, Resulting Numbers: [93, 2] Generated Node #0,0,1: 97:[93, 2] Operation: 71-69=2 Exploring Operation: 71+93=164, Resulting Numbers: [69, 164] Generated Node #0,0,2: 97:[69, 164] Operation: 71+93=164 Exploring Operation: 71+69=140, Resulting Numbers: [93, 140] Generated Node #0,0,3: 97:[93, 140] Operation: 71+69=140 Exploring Operation: 93-69=24, Resulting Numbers: [71, 24] Generated Node #0,0,4: 97:[71, 24] Operation: 93-69=24 Moving to Node #0,3 Current State: 97:[74, 93, 66], Operations: ['71-5=66'] Exploring Operation: 74+93=167, Resulting Numbers: [66, 167] Generated Node #0,3,0: 97:[66, 167] Operation: 74+93=167 Exploring Operation: 93-66=27, Resulting Numbers: [74, 27] Generated Node #0,3,1: 97:[74, 27] Operation: 93-66=27 Exploring Operation: 74+66=140, Resulting Numbers: [93, 140] Generated Node #0,3,2: 97:[93, 140] Operation: 74+66=140 Exploring Operation: 74-66=8, Resulting Numbers: [93, 8] Generated Node #0,3,3: 97:[93, 8] Operation: 74-66=8 Exploring Operation: 93+66=159, Resulting Numbers: [74, 159] Generated Node #0,3,4: 97:[74, 159] Operation: 93+66=159 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[93, 140], Operations: ['71-5=66', '74+66=140'] Exploring Operation: 93+140=233, Resulting Numbers: [233] 233,97 unequal: No Solution Exploring Operation: 140-93=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 93*140=13020, Resulting Numbers: [13020] 13020,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 97:[74, 159], Operations: ['71-5=66', '93+66=159'] Exploring Operation: 159-74=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 74*159=11766, Resulting Numbers: [11766] 11766,97 unequal: No Solution Exploring Operation: 74+159=233, Resulting Numbers: [233] 233,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[74, 27], Operations: ['71-5=66', '93-66=27'] Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,97 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[93, 8], Operations: ['71-5=66', '74-66=8'] Exploring Operation: 93*8=744, Resulting Numbers: [744] 744,97 unequal: No Solution Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[66, 167], Operations: ['71-5=66', '74+93=167'] Exploring Operation: 167-66=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 66+167=233, Resulting Numbers: [233] 233,97 unequal: No Solution Exploring Operation: 66*167=11022, Resulting Numbers: [11022] 11022,97 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: 97:[93, 140], Operations: ['74-5=69', '71+69=140'] Exploring Operation: 93+140=233, Resulting Numbers: [233] 233,97 unequal: No Solution Exploring Operation: 93*140=13020, Resulting Numbers: [13020] 13020,97 unequal: No Solution Exploring Operation: 140-93=47, Resulting Numbers: [47] 47,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[93, 150], Operations: ['5+74=79', '71+79=150'] Exploring Operation: 93+150=243, Resulting Numbers: [243] 243,97 unequal: No Solution Exploring Operation: 93*150=13950, Resulting Numbers: [13950] 13950,97 unequal: No Solution Exploring Operation: 150-93=57, Resulting Numbers: [57] 57,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[93, 150], Operations: ['71+5=76', '74+76=150'] Exploring Operation: 150-93=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 93+150=243, Resulting Numbers: [243] 243,97 unequal: No Solution Exploring Operation: 93*150=13950, Resulting Numbers: [13950] 13950,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[79, 164], Operations: ['5+74=79', '71+93=164'] Exploring Operation: 79*164=12956, Resulting Numbers: [12956] 12956,97 unequal: No Solution Exploring Operation: 164-79=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 79+164=243, Resulting Numbers: [243] 243,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[71, 162], Operations: ['74-5=69', '93+69=162'] Exploring Operation: 71+162=233, Resulting Numbers: [233] 233,97 unequal: No Solution Exploring Operation: 71*162=11502, Resulting Numbers: [11502] 11502,97 unequal: No Solution Exploring Operation: 162-71=91, Resulting Numbers: [91] 91,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[76, 167], Operations: ['71+5=76', '74+93=167'] Exploring Operation: 167-76=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 76*167=12692, Resulting Numbers: [12692] 12692,97 unequal: No Solution Exploring Operation: 76+167=243, Resulting Numbers: [243] 243,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[93, 8], Operations: ['5+74=79', '79-71=8'] Exploring Operation: 93*8=744, Resulting Numbers: [744] 744,97 unequal: No Solution Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[79, 22], Operations: ['5+74=79', '93-71=22'] Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,97 unequal: No Solution Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[74, 169], Operations: ['71+5=76', '93+76=169'] Exploring Operation: 169-74=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 74*169=12506, Resulting Numbers: [12506] 12506,97 unequal: No Solution Exploring Operation: 74+169=243, Resulting Numbers: [243] 243,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[69, 164], Operations: ['74-5=69', '71+93=164'] Exploring Operation: 69*164=11316, Resulting Numbers: [11316] 11316,97 unequal: No Solution Exploring Operation: 69+164=233, Resulting Numbers: [233] 233,97 unequal: No Solution Exploring Operation: 164-69=95, Resulting Numbers: [95] 95,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[76, 19], Operations: ['71+5=76', '93-74=19'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,97 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[93, 2], Operations: ['74-5=69', '71-69=2'] Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[93, 2], Operations: ['71+5=76', '76-74=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[71, 24], Operations: ['74-5=69', '93-69=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[71, 172], Operations: ['5+74=79', '93+79=172'] Exploring Operation: 71+172=243, Resulting Numbers: [243] 243,97 unequal: No Solution Exploring Operation: 172-71=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 71*172=12212, Resulting Numbers: [12212] 12212,97 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 78, 34, 75, 71 ]
58
[ "75-71=4", "34*4=136", "136-78=58" ]
Current State: 58:[78, 34, 75, 71], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [78, 34, 4] Generated Node #2: [78, 34, 4] from Operation: 75-71=4 Current State: 58:[78, 34, 4], Operations: ['75-71=4'] Exploring Operation: 34*4=136, Resulting Numbers: [78, 136] Generated Node #3: [78, 136] from Operation: 34*4=136 Current State: 58:[78, 136], Operations: ['75-71=4', '34*4=136'] Exploring Operation: 136-78=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[78, 34, 75, 71], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [34, 71, 3] Generated Node #0,0: 58:[34, 71, 3] Operation: 78-75=3 Moving to Node #0,0 Current State: 58:[34, 71, 3], Operations: ['78-75=3'] Exploring Operation: 71-34=37, Resulting Numbers: [3, 37] Generated Node #0,0,0: 58:[3, 37] Operation: 71-34=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[3, 37], Operations: ['78-75=3', '71-34=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,58 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
[ 20, 58, 79, 66 ]
65
[ "20+58=78", "79-66=13", "78-13=65" ]
Current State: 65:[20, 58, 79, 66], Operations: [] Exploring Operation: 20+58=78, Resulting Numbers: [79, 66, 78] Generated Node #2: [79, 66, 78] from Operation: 20+58=78 Current State: 65:[79, 66, 78], Operations: ['20+58=78'] Exploring Operation: 79-66=13, Resulting Numbers: [78, 13] Generated Node #3: [78, 13] from Operation: 79-66=13 Current State: 65:[78, 13], Operations: ['20+58=78', '79-66=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[20, 58, 79, 66], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [20, 79, 8] Generated Node #0,0: 65:[20, 79, 8] Operation: 66-58=8 Exploring Operation: 79-20=59, Resulting Numbers: [58, 66, 59] Generated Node #0,1: 65:[58, 66, 59] Operation: 79-20=59 Exploring Operation: 79-58=21, Resulting Numbers: [20, 66, 21] Generated Node #0,2: 65:[20, 66, 21] Operation: 79-58=21 Exploring Operation: 79-66=13, Resulting Numbers: [20, 58, 13] Generated Node #0,3: 65:[20, 58, 13] Operation: 79-66=13 Moving to Node #0,1 Current State: 65:[58, 66, 59], Operations: ['79-20=59'] Exploring Operation: 66-58=8, Resulting Numbers: [59, 8] Generated Node #0,1,0: 65:[59, 8] Operation: 66-58=8 Exploring Operation: 66-59=7, Resulting Numbers: [58, 7] Generated Node #0,1,1: 65:[58, 7] Operation: 66-59=7 Exploring Operation: 58+59=117, Resulting Numbers: [66, 117] Generated Node #0,1,2: 65:[66, 117] Operation: 58+59=117 Exploring Operation: 59-58=1, Resulting Numbers: [66, 1] Generated Node #0,1,3: 65:[66, 1] Operation: 59-58=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[66, 1], Operations: ['79-20=59', '59-58=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[20, 58, 79, 66], Operations: [] Exploring Operation: 79-20=59, Resulting Numbers: [58, 66, 59] Generated Node #0,1: 65:[58, 66, 59] Operation: 79-20=59 Moving to Node #0,1 Current State: 65:[58, 66, 59], Operations: ['79-20=59'] Exploring Operation: 59-58=1, Resulting Numbers: [66, 1] Generated Node #0,1,3: 65:[66, 1] Operation: 59-58=1 Moving to Node #0,1,3 Current State: 65:[66, 1], Operations: ['79-20=59', '59-58=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 8, 72, 4, 18 ]
42
[ "72-8=64", "4+18=22", "64-22=42" ]
Current State: 42:[8, 72, 4, 18], Operations: [] Exploring Operation: 72-8=64, Resulting Numbers: [4, 18, 64] Generated Node #2: [4, 18, 64] from Operation: 72-8=64 Current State: 42:[4, 18, 64], Operations: ['72-8=64'] Exploring Operation: 4+18=22, Resulting Numbers: [64, 22] Generated Node #3: [64, 22] from Operation: 4+18=22 Current State: 42:[64, 22], Operations: ['72-8=64', '4+18=22'] Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[8, 72, 4, 18], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [4, 18, 9] Generated Node #0,0: 42:[4, 18, 9] Operation: 72/8=9 Exploring Operation: 72/18=4, Resulting Numbers: [8, 4, 4] Generated Node #0,1: 42:[8, 4, 4] Operation: 72/18=4 Moving to Node #0,1 Current State: 42:[8, 4, 4], Operations: ['72/18=4'] Exploring Operation: 8/4=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 42:[4, 2] Operation: 8/4=2 Exploring Operation: 8/4=2, Resulting Numbers: [4, 2] Generated Node #0,1,1: 42:[4, 2] Operation: 8/4=2 Moving to Node #0,0 Current State: 42:[4, 18, 9], Operations: ['72/8=9'] Exploring Operation: 18-4=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 42:[9, 14] Operation: 18-4=14 Exploring Operation: 18/9=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 42:[4, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[4, 2], Operations: ['72/8=9', '18/9=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,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,0 Current State: 42:[9, 14], Operations: ['72/8=9', '18-4=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,42 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: 42:[4, 2], Operations: ['72/18=4', '8/4=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[4, 2], Operations: ['72/18=4', '8/4=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 49, 48, 46, 88 ]
55
[ "49+48=97", "88-46=42", "97-42=55" ]
Current State: 55:[49, 48, 46, 88], Operations: [] Exploring Operation: 49+48=97, Resulting Numbers: [46, 88, 97] Generated Node #2: [46, 88, 97] from Operation: 49+48=97 Current State: 55:[46, 88, 97], Operations: ['49+48=97'] Exploring Operation: 88-46=42, Resulting Numbers: [97, 42] Generated Node #3: [97, 42] from Operation: 88-46=42 Current State: 55:[97, 42], Operations: ['49+48=97', '88-46=42'] Exploring Operation: 97-42=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[49, 48, 46, 88], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [49, 48, 42] Generated Node #0,0: 55:[49, 48, 42] Operation: 88-46=42 Exploring Operation: 88-48=40, Resulting Numbers: [49, 46, 40] Generated Node #0,1: 55:[49, 46, 40] Operation: 88-48=40 Moving to Node #0,0 Current State: 55:[49, 48, 42], Operations: ['88-46=42'] Exploring Operation: 49-42=7, Resulting Numbers: [48, 7] Generated Node #0,0,0: 55:[48, 7] Operation: 49-42=7 Exploring Operation: 48-42=6, Resulting Numbers: [49, 6] Generated Node #0,0,1: 55:[49, 6] Operation: 48-42=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[49, 6], Operations: ['88-46=42', '48-42=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[49, 48, 46, 88], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [49, 48, 42] Generated Node #0,0: 55:[49, 48, 42] Operation: 88-46=42 Moving to Node #0,0 Current State: 55:[49, 48, 42], Operations: ['88-46=42'] Exploring Operation: 48-42=6, Resulting Numbers: [49, 6] Generated Node #0,0,1: 55:[49, 6] Operation: 48-42=6 Moving to Node #0,0,1 Current State: 55:[49, 6], Operations: ['88-46=42', '48-42=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 90, 26, 73, 89 ]
99
[ "90-89=1", "26+73=99", "1*99=99" ]
Current State: 99:[90, 26, 73, 89], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [26, 73, 1] Generated Node #2: [26, 73, 1] from Operation: 90-89=1 Current State: 99:[26, 73, 1], Operations: ['90-89=1'] Exploring Operation: 26+73=99, Resulting Numbers: [1, 99] Generated Node #3: [1, 99] from Operation: 26+73=99 Current State: 99:[1, 99], Operations: ['90-89=1', '26+73=99'] Exploring Operation: 1*99=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[90, 26, 73, 89], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [90, 89, 47] Generated Node #0,0: 99:[90, 89, 47] Operation: 73-26=47 Exploring Operation: 90-89=1, Resulting Numbers: [26, 73, 1] Generated Node #0,1: 99:[26, 73, 1] Operation: 90-89=1 Exploring Operation: 89-73=16, Resulting Numbers: [90, 26, 16] Generated Node #0,2: 99:[90, 26, 16] Operation: 89-73=16 Exploring Operation: 90-73=17, Resulting Numbers: [26, 89, 17] Generated Node #0,3: 99:[26, 89, 17] Operation: 90-73=17 Exploring Operation: 26+73=99, Resulting Numbers: [90, 89, 99] Generated Node #0,4: 99:[90, 89, 99] Operation: 26+73=99 Start Sub Search at level 1: Moving to Node #0,4 Current State: 99:[90, 89, 99], Operations: ['26+73=99'] Exploring Operation: 90-89=1, Resulting Numbers: [99, 1] Generated Node #0,4,0: 99:[99, 1] Operation: 90-89=1 Exploring Operation: 90+89=179, Resulting Numbers: [99, 179] Generated Node #0,4,1: 99:[99, 179] Operation: 90+89=179 Exploring Operation: 99-89=10, Resulting Numbers: [90, 10] Generated Node #0,4,2: 99:[90, 10] Operation: 99-89=10 Exploring Operation: 99-90=9, Resulting Numbers: [89, 9] Generated Node #0,4,3: 99:[89, 9] Operation: 99-90=9 Exploring Operation: 89+99=188, Resulting Numbers: [90, 188] Generated Node #0,4,4: 99:[90, 188] Operation: 89+99=188 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 99:[99, 1], Operations: ['26+73=99', '90-89=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[90, 26, 73, 89], Operations: [] Exploring Operation: 26+73=99, Resulting Numbers: [90, 89, 99] Generated Node #0,4: 99:[90, 89, 99] Operation: 26+73=99 Moving to Node #0,4 Current State: 99:[90, 89, 99], Operations: ['26+73=99'] Exploring Operation: 90-89=1, Resulting Numbers: [99, 1] Generated Node #0,4,0: 99:[99, 1] Operation: 90-89=1 Moving to Node #0,4,0 Current State: 99:[99, 1], Operations: ['26+73=99', '90-89=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 14, 20, 24, 53 ]
55
[ "24-14=10", "20/10=2", "53+2=55" ]
Current State: 55:[14, 20, 24, 53], Operations: [] Exploring Operation: 24-14=10, Resulting Numbers: [20, 53, 10] Generated Node #2: [20, 53, 10] from Operation: 24-14=10 Current State: 55:[20, 53, 10], Operations: ['24-14=10'] Exploring Operation: 20/10=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 20/10=2 Current State: 55:[53, 2], Operations: ['24-14=10', '20/10=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[14, 20, 24, 53], Operations: [] Exploring Operation: 24-14=10, Resulting Numbers: [20, 53, 10] Generated Node #0,0: 55:[20, 53, 10] Operation: 24-14=10 Exploring Operation: 24-20=4, Resulting Numbers: [14, 53, 4] Generated Node #0,1: 55:[14, 53, 4] Operation: 24-20=4 Moving to Node #0,1 Current State: 55:[14, 53, 4], Operations: ['24-20=4'] Exploring Operation: 14-4=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 55:[53, 10] Operation: 14-4=10 Exploring Operation: 14*4=56, Resulting Numbers: [53, 56] Generated Node #0,1,1: 55:[53, 56] Operation: 14*4=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[53, 10], Operations: ['24-20=4', '14-4=10'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,55 unequal: No Solution No 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: 55:[53, 56], Operations: ['24-20=4', '14*4=56'] Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,55 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,55 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: 55:[20, 53, 10], Operations: ['24-14=10'] Exploring Operation: 20/10=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 55:[53, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [53, 10] Generated Node #0,0,1: 55:[53, 10] Operation: 20-10=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[53, 10], Operations: ['24-14=10', '20-10=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,55 unequal: No Solution No 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: 55:[53, 2], Operations: ['24-14=10', '20/10=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[14, 20, 24, 53], Operations: [] Exploring Operation: 24-14=10, Resulting Numbers: [20, 53, 10] Generated Node #0,0: 55:[20, 53, 10] Operation: 24-14=10 Moving to Node #0,0 Current State: 55:[20, 53, 10], Operations: ['24-14=10'] Exploring Operation: 20/10=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 55:[53, 2] Operation: 20/10=2 Moving to Node #0,0,0 Current State: 55:[53, 2], Operations: ['24-14=10', '20/10=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 96, 16, 88, 14 ]
10
[ "96+16=112", "88+14=102", "112-102=10" ]
Current State: 10:[96, 16, 88, 14], Operations: [] Exploring Operation: 96+16=112, Resulting Numbers: [88, 14, 112] Generated Node #2: [88, 14, 112] from Operation: 96+16=112 Current State: 10:[88, 14, 112], Operations: ['96+16=112'] Exploring Operation: 88+14=102, Resulting Numbers: [112, 102] Generated Node #3: [112, 102] from Operation: 88+14=102 Current State: 10:[112, 102], Operations: ['96+16=112', '88+14=102'] Exploring Operation: 112-102=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[96, 16, 88, 14], Operations: [] Exploring Operation: 96-14=82, Resulting Numbers: [16, 88, 82] Generated Node #0,0: 10:[16, 88, 82] Operation: 96-14=82 Exploring Operation: 96-88=8, Resulting Numbers: [16, 14, 8] Generated Node #0,1: 10:[16, 14, 8] Operation: 96-88=8 Exploring Operation: 96/16=6, Resulting Numbers: [88, 14, 6] Generated Node #0,2: 10:[88, 14, 6] Operation: 96/16=6 Exploring Operation: 96-16=80, Resulting Numbers: [88, 14, 80] Generated Node #0,3: 10:[88, 14, 80] Operation: 96-16=80 Exploring Operation: 88-16=72, Resulting Numbers: [96, 14, 72] Generated Node #0,4: 10:[96, 14, 72] Operation: 88-16=72 Moving to Node #0,1 Current State: 10:[16, 14, 8], Operations: ['96-88=8'] Exploring Operation: 16/8=2, Resulting Numbers: [14, 2] Generated Node #0,1,0: 10:[14, 2] Operation: 16/8=2 Exploring Operation: 16+8=24, Resulting Numbers: [14, 24] Generated Node #0,1,1: 10:[14, 24] Operation: 16+8=24 Exploring Operation: 16-14=2, Resulting Numbers: [8, 2] Generated Node #0,1,2: 10:[8, 2] Operation: 16-14=2 Exploring Operation: 16-8=8, Resulting Numbers: [14, 8] Generated Node #0,1,3: 10:[14, 8] Operation: 16-8=8 Exploring Operation: 14-8=6, Resulting Numbers: [16, 6] Generated Node #0,1,4: 10:[16, 6] Operation: 14-8=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[8, 2], Operations: ['96-88=8', '16-14=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[96, 16, 88, 14], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [16, 14, 8] Generated Node #0,1: 10:[16, 14, 8] Operation: 96-88=8 Moving to Node #0,1 Current State: 10:[16, 14, 8], Operations: ['96-88=8'] Exploring Operation: 16-14=2, Resulting Numbers: [8, 2] Generated Node #0,1,2: 10:[8, 2] Operation: 16-14=2 Moving to Node #0,1,2 Current State: 10:[8, 2], Operations: ['96-88=8', '16-14=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 39, 99, 96, 67 ]
31
[ "99-39=60", "96-67=29", "60-29=31" ]
Current State: 31:[39, 99, 96, 67], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [96, 67, 60] Generated Node #2: [96, 67, 60] from Operation: 99-39=60 Current State: 31:[96, 67, 60], Operations: ['99-39=60'] Exploring Operation: 96-67=29, Resulting Numbers: [60, 29] Generated Node #3: [60, 29] from Operation: 96-67=29 Current State: 31:[60, 29], Operations: ['99-39=60', '96-67=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[39, 99, 96, 67], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [39, 67, 3] Generated Node #0,0: 31:[39, 67, 3] Operation: 99-96=3 Exploring Operation: 99-67=32, Resulting Numbers: [39, 96, 32] Generated Node #0,1: 31:[39, 96, 32] Operation: 99-67=32 Moving to Node #0,0 Current State: 31:[39, 67, 3], Operations: ['99-96=3'] Exploring Operation: 39-3=36, Resulting Numbers: [67, 36] Generated Node #0,0,0: 31:[67, 36] Operation: 39-3=36 Exploring Operation: 67-39=28, Resulting Numbers: [3, 28] Generated Node #0,0,1: 31:[3, 28] Operation: 67-39=28 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[3, 28], Operations: ['99-96=3', '67-39=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[39, 99, 96, 67], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [39, 67, 3] Generated Node #0,0: 31:[39, 67, 3] Operation: 99-96=3 Moving to Node #0,0 Current State: 31:[39, 67, 3], Operations: ['99-96=3'] Exploring Operation: 67-39=28, Resulting Numbers: [3, 28] Generated Node #0,0,1: 31:[3, 28] Operation: 67-39=28 Moving to Node #0,0,1 Current State: 31:[3, 28], Operations: ['99-96=3', '67-39=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 29, 70, 87, 30 ]
76
[ "70-29=41", "87+30=117", "117-41=76" ]
Current State: 76:[29, 70, 87, 30], Operations: [] Exploring Operation: 70-29=41, Resulting Numbers: [87, 30, 41] Generated Node #2: [87, 30, 41] from Operation: 70-29=41 Current State: 76:[87, 30, 41], Operations: ['70-29=41'] Exploring Operation: 87+30=117, Resulting Numbers: [41, 117] Generated Node #3: [41, 117] from Operation: 87+30=117 Current State: 76:[41, 117], Operations: ['70-29=41', '87+30=117'] Exploring Operation: 117-41=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[29, 70, 87, 30], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [70, 30, 3] Generated Node #0,0: 76:[70, 30, 3] Operation: 87/29=3 Moving to Node #0,0 Current State: 76:[70, 30, 3], Operations: ['87/29=3'] Exploring Operation: 70-30=40, Resulting Numbers: [3, 40] Generated Node #0,0,0: 76:[3, 40] Operation: 70-30=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[3, 40], Operations: ['87/29=3', '70-30=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 65, 7, 87, 52 ]
60
[ "87-52=35", "35/7=5", "65-5=60" ]
Current State: 60:[65, 7, 87, 52], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [65, 7, 35] Generated Node #2: [65, 7, 35] from Operation: 87-52=35 Current State: 60:[65, 7, 35], Operations: ['87-52=35'] Exploring Operation: 35/7=5, Resulting Numbers: [65, 5] Generated Node #3: [65, 5] from Operation: 35/7=5 Current State: 60:[65, 5], Operations: ['87-52=35', '35/7=5'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[65, 7, 87, 52], Operations: [] Exploring Operation: 87-7=80, Resulting Numbers: [65, 52, 80] Generated Node #0,0: 60:[65, 52, 80] Operation: 87-7=80 Exploring Operation: 65-52=13, Resulting Numbers: [7, 87, 13] Generated Node #0,1: 60:[7, 87, 13] Operation: 65-52=13 Exploring Operation: 87-65=22, Resulting Numbers: [7, 52, 22] Generated Node #0,2: 60:[7, 52, 22] Operation: 87-65=22 Exploring Operation: 87-52=35, Resulting Numbers: [65, 7, 35] Generated Node #0,3: 60:[65, 7, 35] Operation: 87-52=35 Moving to Node #0,2 Current State: 60:[7, 52, 22], Operations: ['87-65=22'] Exploring Operation: 7+22=29, Resulting Numbers: [52, 29] Generated Node #0,2,0: 60:[52, 29] Operation: 7+22=29 Exploring Operation: 22-7=15, Resulting Numbers: [52, 15] Generated Node #0,2,1: 60:[52, 15] Operation: 22-7=15 Exploring Operation: 7+52=59, Resulting Numbers: [22, 59] Generated Node #0,2,2: 60:[22, 59] Operation: 7+52=59 Exploring Operation: 52-22=30, Resulting Numbers: [7, 30] Generated Node #0,2,3: 60:[7, 30] Operation: 52-22=30 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 60:[7, 30], Operations: ['87-65=22', '52-22=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[22, 59], Operations: ['87-65=22', '7+52=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 22*59=1298, Resulting Numbers: [1298] 1298,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[52, 15], Operations: ['87-65=22', '22-7=15'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[52, 29], Operations: ['87-65=22', '7+22=29'] Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,60 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,60 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: 60:[65, 7, 35], Operations: ['87-52=35'] Exploring Operation: 65-35=30, Resulting Numbers: [7, 30] Generated Node #0,3,0: 60:[7, 30] Operation: 65-35=30 Exploring Operation: 65-7=58, Resulting Numbers: [35, 58] Generated Node #0,3,1: 60:[35, 58] Operation: 65-7=58 Exploring Operation: 35/7=5, Resulting Numbers: [65, 5] Generated Node #0,3,2: 60:[65, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [65, 28] Generated Node #0,3,3: 60:[65, 28] Operation: 35-7=28 Moving to Node #0,1 Current State: 60:[7, 87, 13], Operations: ['65-52=13'] Exploring Operation: 13-7=6, Resulting Numbers: [87, 6] Generated Node #0,1,0: 60:[87, 6] Operation: 13-7=6 Exploring Operation: 7+13=20, Resulting Numbers: [87, 20] Generated Node #0,1,1: 60:[87, 20] Operation: 7+13=20 Exploring Operation: 87-7=80, Resulting Numbers: [13, 80] Generated Node #0,1,2: 60:[13, 80] Operation: 87-7=80 Exploring Operation: 87-13=74, Resulting Numbers: [7, 74] Generated Node #0,1,3: 60:[7, 74] Operation: 87-13=74 Moving to Node #0,0 Current State: 60:[65, 52, 80], Operations: ['87-7=80'] Exploring Operation: 65-52=13, Resulting Numbers: [80, 13] Generated Node #0,0,0: 60:[80, 13] Operation: 65-52=13 Exploring Operation: 80-52=28, Resulting Numbers: [65, 28] Generated Node #0,0,1: 60:[65, 28] Operation: 80-52=28 Exploring Operation: 80-65=15, Resulting Numbers: [52, 15] Generated Node #0,0,2: 60:[52, 15] Operation: 80-65=15 Exploring Operation: 65+52=117, Resulting Numbers: [80, 117] Generated Node #0,0,3: 60:[80, 117] Operation: 65+52=117 Moving to Node #0,3,0 Current State: 60:[7, 30], Operations: ['87-52=35', '65-35=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,60 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[65, 5], Operations: ['87-52=35', '35/7=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,60 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[65, 7, 87, 52], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [65, 7, 35] Generated Node #0,3: 60:[65, 7, 35] Operation: 87-52=35 Moving to Node #0,3 Current State: 60:[65, 7, 35], Operations: ['87-52=35'] Exploring Operation: 35/7=5, Resulting Numbers: [65, 5] Generated Node #0,3,2: 60:[65, 5] Operation: 35/7=5 Moving to Node #0,3,2 Current State: 60:[65, 5], Operations: ['87-52=35', '35/7=5'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.962674
hs_4
sum_heuristic
[ 21, 5, 64, 20 ]
89
[ "21+64=85", "20/5=4", "85+4=89" ]
Current State: 89:[21, 5, 64, 20], Operations: [] Exploring Operation: 21+64=85, Resulting Numbers: [5, 20, 85] Generated Node #2: [5, 20, 85] from Operation: 21+64=85 Current State: 89:[5, 20, 85], Operations: ['21+64=85'] Exploring Operation: 20/5=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 20/5=4 Current State: 89:[85, 4], Operations: ['21+64=85', '20/5=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[21, 5, 64, 20], Operations: [] Exploring Operation: 5*20=100, Resulting Numbers: [21, 64, 100] Generated Node #0,0: 89:[21, 64, 100] Operation: 5*20=100 Exploring Operation: 21+5=26, Resulting Numbers: [64, 20, 26] Generated Node #0,1: 89:[64, 20, 26] Operation: 21+5=26 Exploring Operation: 21*5=105, Resulting Numbers: [64, 20, 105] Generated Node #0,2: 89:[64, 20, 105] Operation: 21*5=105 Moving to Node #0,0 Current State: 89:[21, 64, 100], Operations: ['5*20=100'] Exploring Operation: 100-21=79, Resulting Numbers: [64, 79] Generated Node #0,0,0: 89:[64, 79] Operation: 100-21=79 Exploring Operation: 64-21=43, Resulting Numbers: [100, 43] Generated Node #0,0,1: 89:[100, 43] Operation: 64-21=43 Exploring Operation: 21+64=85, Resulting Numbers: [100, 85] Generated Node #0,0,2: 89:[100, 85] Operation: 21+64=85 Moving to Node #0,2 Current State: 89:[64, 20, 105], Operations: ['21*5=105'] Exploring Operation: 64+20=84, Resulting Numbers: [105, 84] Generated Node #0,2,0: 89:[105, 84] Operation: 64+20=84 Exploring Operation: 105-20=85, Resulting Numbers: [64, 85] Generated Node #0,2,1: 89:[64, 85] Operation: 105-20=85 Exploring Operation: 64-20=44, Resulting Numbers: [105, 44] Generated Node #0,2,2: 89:[105, 44] Operation: 64-20=44 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[105, 84], Operations: ['21*5=105', '64+20=84'] Exploring Operation: 105+84=189, Resulting Numbers: [189] 189,89 unequal: No Solution Exploring Operation: 105*84=8820, Resulting Numbers: [8820] 8820,89 unequal: No Solution Exploring Operation: 105-84=21, Resulting Numbers: [21] 21,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[64, 85], Operations: ['21*5=105', '105-20=85'] Exploring Operation: 64*85=5440, Resulting Numbers: [5440] 5440,89 unequal: No Solution Exploring Operation: 64+85=149, Resulting Numbers: [149] 149,89 unequal: No Solution Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[105, 44], Operations: ['21*5=105', '64-20=44'] Exploring Operation: 105*44=4620, Resulting Numbers: [4620] 4620,89 unequal: No Solution Exploring Operation: 105-44=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 105+44=149, Resulting Numbers: [149] 149,89 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: 89:[64, 20, 26], Operations: ['21+5=26'] Exploring Operation: 64+20=84, Resulting Numbers: [26, 84] Generated Node #0,1,0: 89:[26, 84] Operation: 64+20=84 Exploring Operation: 20+26=46, Resulting Numbers: [64, 46] Generated Node #0,1,1: 89:[64, 46] Operation: 20+26=46 Exploring Operation: 64+26=90, Resulting Numbers: [20, 90] Generated Node #0,1,2: 89:[20, 90] Operation: 64+26=90 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[26, 84], Operations: ['21+5=26', '64+20=84'] Exploring Operation: 26*84=2184, Resulting Numbers: [2184] 2184,89 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 26+84=110, Resulting Numbers: [110] 110,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:[64, 46], Operations: ['21+5=26', '20+26=46'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[20, 90], Operations: ['21+5=26', '64+26=90'] Exploring Operation: 20+90=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 20*90=1800, Resulting Numbers: [1800] 1800,89 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 89:[100, 85], Operations: ['5*20=100', '21+64=85'] Exploring Operation: 100*85=8500, Resulting Numbers: [8500] 8500,89 unequal: No Solution Exploring Operation: 100-85=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 100+85=185, Resulting Numbers: [185] 185,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[64, 79], Operations: ['5*20=100', '100-21=79'] Exploring Operation: 64*79=5056, Resulting Numbers: [5056] 5056,89 unequal: No Solution Exploring Operation: 64+79=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[100, 43], Operations: ['5*20=100', '64-21=43'] Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 100*43=4300, Resulting Numbers: [4300] 4300,89 unequal: No Solution Exploring Operation: 100+43=143, Resulting Numbers: [143] 143,89 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 67, 72, 19, 62 ]
38
[ "72-67=5", "62-19=43", "43-5=38" ]
Current State: 38:[67, 72, 19, 62], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [19, 62, 5] Generated Node #2: [19, 62, 5] from Operation: 72-67=5 Current State: 38:[19, 62, 5], Operations: ['72-67=5'] Exploring Operation: 62-19=43, Resulting Numbers: [5, 43] Generated Node #3: [5, 43] from Operation: 62-19=43 Current State: 38:[5, 43], Operations: ['72-67=5', '62-19=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[67, 72, 19, 62], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [72, 19, 5] Generated Node #0,0: 38:[72, 19, 5] Operation: 67-62=5 Exploring Operation: 72-67=5, Resulting Numbers: [19, 62, 5] Generated Node #0,1: 38:[19, 62, 5] Operation: 72-67=5 Moving to Node #0,1 Current State: 38:[19, 62, 5], Operations: ['72-67=5'] Exploring Operation: 62-5=57, Resulting Numbers: [19, 57] Generated Node #0,1,0: 38:[19, 57] Operation: 62-5=57 Exploring Operation: 62-19=43, Resulting Numbers: [5, 43] Generated Node #0,1,1: 38:[5, 43] Operation: 62-19=43 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[5, 43], Operations: ['72-67=5', '62-19=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[67, 72, 19, 62], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [19, 62, 5] Generated Node #0,1: 38:[19, 62, 5] Operation: 72-67=5 Moving to Node #0,1 Current State: 38:[19, 62, 5], Operations: ['72-67=5'] Exploring Operation: 62-19=43, Resulting Numbers: [5, 43] Generated Node #0,1,1: 38:[5, 43] Operation: 62-19=43 Moving to Node #0,1,1 Current State: 38:[5, 43], Operations: ['72-67=5', '62-19=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 33, 51, 53, 15 ]
34
[ "33*53=1749", "1749-15=1734", "1734/51=34" ]
Current State: 34:[33, 51, 53, 15], Operations: [] Exploring Operation: 33*53=1749, Resulting Numbers: [51, 15, 1749] Generated Node #2: [51, 15, 1749] from Operation: 33*53=1749 Current State: 34:[51, 15, 1749], Operations: ['33*53=1749'] Exploring Operation: 1749-15=1734, Resulting Numbers: [51, 1734] Generated Node #3: [51, 1734] from Operation: 1749-15=1734 Current State: 34:[51, 1734], Operations: ['33*53=1749', '1749-15=1734'] Exploring Operation: 1734/51=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[33, 51, 53, 15], Operations: [] Exploring Operation: 51-33=18, Resulting Numbers: [53, 15, 18] Generated Node #0,0: 34:[53, 15, 18] Operation: 51-33=18 Exploring Operation: 53-33=20, Resulting Numbers: [51, 15, 20] Generated Node #0,1: 34:[51, 15, 20] Operation: 53-33=20 Exploring Operation: 51-15=36, Resulting Numbers: [33, 53, 36] Generated Node #0,2: 34:[33, 53, 36] Operation: 51-15=36 Exploring Operation: 53-51=2, Resulting Numbers: [33, 15, 2] Generated Node #0,3: 34:[33, 15, 2] Operation: 53-51=2 Moving to Node #0,3 Current State: 34:[33, 15, 2], Operations: ['53-51=2'] Exploring Operation: 15+2=17, Resulting Numbers: [33, 17] Generated Node #0,3,0: 34:[33, 17] Operation: 15+2=17 Exploring Operation: 33-2=31, Resulting Numbers: [15, 31] Generated Node #0,3,1: 34:[15, 31] Operation: 33-2=31 Exploring Operation: 33+2=35, Resulting Numbers: [15, 35] Generated Node #0,3,2: 34:[15, 35] Operation: 33+2=35 Exploring Operation: 33-15=18, Resulting Numbers: [2, 18] Generated Node #0,3,3: 34:[2, 18] Operation: 33-15=18 Moving to Node #0,1 Current State: 34:[51, 15, 20], Operations: ['53-33=20'] Exploring Operation: 15+20=35, Resulting Numbers: [51, 35] Generated Node #0,1,0: 34:[51, 35] Operation: 15+20=35 Exploring Operation: 51-15=36, Resulting Numbers: [20, 36] Generated Node #0,1,1: 34:[20, 36] Operation: 51-15=36 Exploring Operation: 51-20=31, Resulting Numbers: [15, 31] Generated Node #0,1,2: 34:[15, 31] Operation: 51-20=31 Exploring Operation: 20-15=5, Resulting Numbers: [51, 5] Generated Node #0,1,3: 34:[51, 5] Operation: 20-15=5 Moving to Node #0,0 Current State: 34:[53, 15, 18], Operations: ['51-33=18'] Exploring Operation: 53-18=35, Resulting Numbers: [15, 35] Generated Node #0,0,0: 34:[15, 35] Operation: 53-18=35 Exploring Operation: 53-15=38, Resulting Numbers: [18, 38] Generated Node #0,0,1: 34:[18, 38] Operation: 53-15=38 Exploring Operation: 15+18=33, Resulting Numbers: [53, 33] Generated Node #0,0,2: 34:[53, 33] Operation: 15+18=33 Exploring Operation: 18-15=3, Resulting Numbers: [53, 3] Generated Node #0,0,3: 34:[53, 3] Operation: 18-15=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[15, 35], Operations: ['51-33=18', '53-18=35'] Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,34 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[18, 38], Operations: ['51-33=18', '53-15=38'] Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,34 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[53, 33], Operations: ['51-33=18', '15+18=33'] Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[53, 3], Operations: ['51-33=18', '18-15=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,34 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,34 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: 34:[33, 53, 36], Operations: ['51-15=36'] Exploring Operation: 33+53=86, Resulting Numbers: [36, 86] Generated Node #0,2,0: 34:[36, 86] Operation: 33+53=86 Exploring Operation: 36-33=3, Resulting Numbers: [53, 3] Generated Node #0,2,1: 34:[53, 3] Operation: 36-33=3 Exploring Operation: 53-33=20, Resulting Numbers: [36, 20] Generated Node #0,2,2: 34:[36, 20] Operation: 53-33=20 Exploring Operation: 53-36=17, Resulting Numbers: [33, 17] Generated Node #0,2,3: 34:[33, 17] Operation: 53-36=17 Moving to Node #0,3,0 Current State: 34:[33, 17], Operations: ['53-51=2', '15+2=17'] Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,34 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[2, 18], Operations: ['53-51=2', '33-15=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[33, 17], Operations: ['51-15=36', '53-36=17'] Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,34 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[15, 35], Operations: ['53-51=2', '33+2=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,34 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[15, 31], Operations: ['53-33=20', '51-20=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[20, 36], Operations: ['53-33=20', '51-15=36'] Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,34 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[36, 20], Operations: ['51-15=36', '53-33=20'] Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,34 unequal: No Solution Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[15, 31], Operations: ['53-51=2', '33-2=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,34 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[51, 35], Operations: ['53-33=20', '15+20=35'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,34 unequal: No Solution Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[53, 3], Operations: ['51-15=36', '36-33=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,34 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[51, 5], Operations: ['53-33=20', '20-15=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[36, 86], Operations: ['51-15=36', '33+53=86'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,34 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,34 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 94, 51, 94, 94 ]
42
[ "94-51=43", "94/94=1", "43-1=42" ]
Current State: 42:[94, 51, 94, 94], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,42 equal: Goal Reached Exploring Operation: 94/94=1, Resulting Numbers: [43, 1] Generated Node #2: [43, 1] from Operation: 94/94=1 Current State: 42:[43, 1], Operations: ['94/94=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[94, 51, 94, 94], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [51, 94, 1] Generated Node #0,0: 42:[51, 94, 1] Operation: 94/94=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[51, 94, 1], Operations: ['94/94=1'] Exploring Operation: 94-51=43, Resulting Numbers: [1, 43] Generated Node #0,0,0: 42:[1, 43] Operation: 94-51=43 Moving to Node #0,0,0 Current State: 42:[1, 43], Operations: ['94/94=1', '94-51=43'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[94, 51, 94, 94], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [51, 94, 1] Generated Node #0,0: 42:[51, 94, 1] Operation: 94/94=1 Moving to Node #0,0 Current State: 42:[51, 94, 1], Operations: ['94/94=1'] Exploring Operation: 94-51=43, Resulting Numbers: [1, 43] Generated Node #0,0,0: 42:[1, 43] Operation: 94-51=43 Moving to Node #0,0,0 Current State: 42:[1, 43], Operations: ['94/94=1', '94-51=43'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 92, 74, 26 ]
95
[ "51+92=143", "74-26=48", "143-48=95" ]
Current State: 95:[51, 92, 74, 26], Operations: [] Exploring Operation: 51+92=143, Resulting Numbers: [74, 26, 143] Generated Node #2: [74, 26, 143] from Operation: 51+92=143 Current State: 95:[74, 26, 143], Operations: ['51+92=143'] Exploring Operation: 74-26=48, Resulting Numbers: [143, 48] Generated Node #3: [143, 48] from Operation: 74-26=48 Current State: 95:[143, 48], Operations: ['51+92=143', '74-26=48'] Exploring Operation: 143-48=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[51, 92, 74, 26], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [92, 26, 23] Generated Node #0,0: 95:[92, 26, 23] Operation: 74-51=23 Exploring Operation: 51+74=125, Resulting Numbers: [92, 26, 125] Generated Node #0,1: 95:[92, 26, 125] Operation: 51+74=125 Exploring Operation: 51-26=25, Resulting Numbers: [92, 74, 25] Generated Node #0,2: 95:[92, 74, 25] Operation: 51-26=25 Moving to Node #0,0 Current State: 95:[92, 26, 23], Operations: ['74-51=23'] Exploring Operation: 92+26=118, Resulting Numbers: [23, 118] Generated Node #0,0,0: 95:[23, 118] Operation: 92+26=118 Exploring Operation: 26-23=3, Resulting Numbers: [92, 3] Generated Node #0,0,1: 95:[92, 3] Operation: 26-23=3 Exploring Operation: 92/23=4, Resulting Numbers: [26, 4] Generated Node #0,0,2: 95:[26, 4] Operation: 92/23=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[92, 3], Operations: ['74-51=23', '26-23=3'] Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,95 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,95 unequal: No Solution Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[51, 92, 74, 26], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [92, 26, 23] Generated Node #0,0: 95:[92, 26, 23] Operation: 74-51=23 Moving to Node #0,0 Current State: 95:[92, 26, 23], Operations: ['74-51=23'] Exploring Operation: 26-23=3, Resulting Numbers: [92, 3] Generated Node #0,0,1: 95:[92, 3] Operation: 26-23=3 Moving to Node #0,0,1 Current State: 95:[92, 3], Operations: ['74-51=23', '26-23=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 86, 75, 19, 81 ]
99
[ "86+75=161", "81-19=62", "161-62=99" ]
Current State: 99:[86, 75, 19, 81], Operations: [] Exploring Operation: 86+75=161, Resulting Numbers: [19, 81, 161] Generated Node #2: [19, 81, 161] from Operation: 86+75=161 Current State: 99:[19, 81, 161], Operations: ['86+75=161'] Exploring Operation: 81-19=62, Resulting Numbers: [161, 62] Generated Node #3: [161, 62] from Operation: 81-19=62 Current State: 99:[161, 62], Operations: ['86+75=161', '81-19=62'] Exploring Operation: 161-62=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[86, 75, 19, 81], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [86, 19, 6] Generated Node #0,0: 99:[86, 19, 6] Operation: 81-75=6 Exploring Operation: 86-75=11, Resulting Numbers: [19, 81, 11] Generated Node #0,1: 99:[19, 81, 11] Operation: 86-75=11 Moving to Node #0,0 Current State: 99:[86, 19, 6], Operations: ['81-75=6'] Exploring Operation: 86+6=92, Resulting Numbers: [19, 92] Generated Node #0,0,0: 99:[19, 92] Operation: 86+6=92 Exploring Operation: 86+19=105, Resulting Numbers: [6, 105] Generated Node #0,0,1: 99:[6, 105] Operation: 86+19=105 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[6, 105], Operations: ['81-75=6', '86+19=105'] Exploring Operation: 6+105=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 105-6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[86, 75, 19, 81], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [86, 19, 6] Generated Node #0,0: 99:[86, 19, 6] Operation: 81-75=6 Moving to Node #0,0 Current State: 99:[86, 19, 6], Operations: ['81-75=6'] Exploring Operation: 86+19=105, Resulting Numbers: [6, 105] Generated Node #0,0,1: 99:[6, 105] Operation: 86+19=105 Moving to Node #0,0,1 Current State: 99:[6, 105], Operations: ['81-75=6', '86+19=105'] Exploring Operation: 105-6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 71, 45, 1, 31 ]
84
[ "71+45=116", "1+31=32", "116-32=84" ]
Current State: 84:[71, 45, 1, 31], Operations: [] Exploring Operation: 71+45=116, Resulting Numbers: [1, 31, 116] Generated Node #2: [1, 31, 116] from Operation: 71+45=116 Current State: 84:[1, 31, 116], Operations: ['71+45=116'] Exploring Operation: 1+31=32, Resulting Numbers: [116, 32] Generated Node #3: [116, 32] from Operation: 1+31=32 Current State: 84:[116, 32], Operations: ['71+45=116', '1+31=32'] Exploring Operation: 116-32=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[71, 45, 1, 31], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [71, 1, 14] Generated Node #0,0: 84:[71, 1, 14] Operation: 45-31=14 Exploring Operation: 71-31=40, Resulting Numbers: [45, 1, 40] Generated Node #0,1: 84:[45, 1, 40] Operation: 71-31=40 Exploring Operation: 71-45=26, Resulting Numbers: [1, 31, 26] Generated Node #0,2: 84:[1, 31, 26] Operation: 71-45=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[45, 1, 40], Operations: ['71-31=40'] Exploring Operation: 45-40=5, Resulting Numbers: [1, 5] Generated Node #0,1,0: 84:[1, 5] Operation: 45-40=5 Exploring Operation: 45-1=44, Resulting Numbers: [40, 44] Generated Node #0,1,1: 84:[40, 44] Operation: 45-1=44 Exploring Operation: 45+40=85, Resulting Numbers: [1, 85] Generated Node #0,1,2: 84:[1, 85] Operation: 45+40=85 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[1, 5], Operations: ['71-31=40', '45-40=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[1, 85], Operations: ['71-31=40', '45+40=85'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[71, 45, 1, 31], Operations: [] Exploring Operation: 71-31=40, Resulting Numbers: [45, 1, 40] Generated Node #0,1: 84:[45, 1, 40] Operation: 71-31=40 Moving to Node #0,1 Current State: 84:[45, 1, 40], Operations: ['71-31=40'] Exploring Operation: 45+40=85, Resulting Numbers: [1, 85] Generated Node #0,1,2: 84:[1, 85] Operation: 45+40=85 Moving to Node #0,1,2 Current State: 84:[1, 85], Operations: ['71-31=40', '45+40=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic