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
[ 85, 79, 78, 76 ]
89
[ "85-79=6", "78/6=13", "76+13=89" ]
Current State: 89:[85, 79, 78, 76], Operations: [] Exploring Operation: 85-79=6, Resulting Numbers: [78, 76, 6] Generated Node #2: [78, 76, 6] from Operation: 85-79=6 Current State: 89:[78, 76, 6], Operations: ['85-79=6'] Exploring Operation: 78/6=13, Resulting Numbers: [76, 13] Generated Node #3: [76, 13] from Operation: 78/6=13 Current State: 89:[76, 13], Operations: ['85-79=6', '78/6=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[85, 79, 78, 76], Operations: [] Exploring Operation: 78+76=154, Resulting Numbers: [85, 79, 154] Generated Node #0,0: 89:[85, 79, 154] Operation: 78+76=154 Moving to Node #0,0 Current State: 89:[85, 79, 154], Operations: ['78+76=154'] Exploring Operation: 154-79=75, Resulting Numbers: [85, 75] Generated Node #0,0,0: 89:[85, 75] Operation: 154-79=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[85, 75], Operations: ['78+76=154', '154-79=75'] Exploring Operation: 85+75=160, Resulting Numbers: [160] 160,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
sum_heuristic
[ 3, 85, 91, 27 ]
24
[ "3+85=88", "91-27=64", "88-64=24" ]
Current State: 24:[3, 85, 91, 27], Operations: [] Exploring Operation: 3+85=88, Resulting Numbers: [91, 27, 88] Generated Node #2: [91, 27, 88] from Operation: 3+85=88 Current State: 24:[91, 27, 88], Operations: ['3+85=88'] Exploring Operation: 91-27=64, Resulting Numbers: [88, 64] Generated Node #3: [88, 64] from Operation: 91-27=64 Current State: 24:[88, 64], Operations: ['3+85=88', '91-27=64'] Exploring Operation: 88-64=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[3, 85, 91, 27], Operations: [] Exploring Operation: 91-85=6, Resulting Numbers: [3, 27, 6] Generated Node #0,0: 24:[3, 27, 6] Operation: 91-85=6 Exploring Operation: 85-27=58, Resulting Numbers: [3, 91, 58] Generated Node #0,1: 24:[3, 91, 58] Operation: 85-27=58 Exploring Operation: 91-27=64, Resulting Numbers: [3, 85, 64] Generated Node #0,2: 24:[3, 85, 64] Operation: 91-27=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[3, 27, 6], Operations: ['91-85=6'] Exploring Operation: 27-3=24, Resulting Numbers: [6, 24] Generated Node #0,0,0: 24:[6, 24] Operation: 27-3=24 Exploring Operation: 27/3=9, Resulting Numbers: [6, 9] Generated Node #0,0,1: 24:[6, 9] Operation: 27/3=9 Exploring Operation: 6-3=3, Resulting Numbers: [27, 3] Generated Node #0,0,2: 24:[27, 3] Operation: 6-3=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[6, 24], Operations: ['91-85=6', '27-3=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[6, 9], Operations: ['91-85=6', '27/3=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 24:[27, 3], Operations: ['91-85=6', '6-3=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[3, 85, 91, 27], Operations: [] Exploring Operation: 91-85=6, Resulting Numbers: [3, 27, 6] Generated Node #0,0: 24:[3, 27, 6] Operation: 91-85=6 Moving to Node #0,0 Current State: 24:[3, 27, 6], Operations: ['91-85=6'] Exploring Operation: 6-3=3, Resulting Numbers: [27, 3] Generated Node #0,0,2: 24:[27, 3] Operation: 6-3=3 Moving to Node #0,0,2 Current State: 24:[27, 3], Operations: ['91-85=6', '6-3=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 76, 5, 19, 73 ]
72
[ "76/19=4", "73-5=68", "4+68=72" ]
Current State: 72:[76, 5, 19, 73], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [5, 73, 4] Generated Node #2: [5, 73, 4] from Operation: 76/19=4 Current State: 72:[5, 73, 4], Operations: ['76/19=4'] Exploring Operation: 73-5=68, Resulting Numbers: [4, 68] Generated Node #3: [4, 68] from Operation: 73-5=68 Current State: 72:[4, 68], Operations: ['76/19=4', '73-5=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[76, 5, 19, 73], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [5, 19, 3] Generated Node #0,0: 72:[5, 19, 3] Operation: 76-73=3 Exploring Operation: 76-5=71, Resulting Numbers: [19, 73, 71] Generated Node #0,1: 72:[19, 73, 71] Operation: 76-5=71 Exploring Operation: 5+19=24, Resulting Numbers: [76, 73, 24] Generated Node #0,2: 72:[76, 73, 24] Operation: 5+19=24 Exploring Operation: 19-5=14, Resulting Numbers: [76, 73, 14] Generated Node #0,3: 72:[76, 73, 14] Operation: 19-5=14 Exploring Operation: 76/19=4, Resulting Numbers: [5, 73, 4] Generated Node #0,4: 72:[5, 73, 4] Operation: 76/19=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[5, 19, 3], Operations: ['76-73=3'] Exploring Operation: 5-3=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 72:[19, 2] Operation: 5-3=2 Exploring Operation: 19-5=14, Resulting Numbers: [3, 14] Generated Node #0,0,1: 72:[3, 14] Operation: 19-5=14 Exploring Operation: 19+3=22, Resulting Numbers: [5, 22] Generated Node #0,0,2: 72:[5, 22] Operation: 19+3=22 Exploring Operation: 5+3=8, Resulting Numbers: [19, 8] Generated Node #0,0,3: 72:[19, 8] Operation: 5+3=8 Exploring Operation: 5+19=24, Resulting Numbers: [3, 24] Generated Node #0,0,4: 72:[3, 24] Operation: 5+19=24 Moving to Node #0,0,4 Current State: 72:[3, 24], Operations: ['76-73=3', '5+19=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[76, 5, 19, 73], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [5, 19, 3] Generated Node #0,0: 72:[5, 19, 3] Operation: 76-73=3 Moving to Node #0,0 Current State: 72:[5, 19, 3], Operations: ['76-73=3'] Exploring Operation: 5+19=24, Resulting Numbers: [3, 24] Generated Node #0,0,4: 72:[3, 24] Operation: 5+19=24 Moving to Node #0,0,4 Current State: 72:[3, 24], Operations: ['76-73=3', '5+19=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 2, 62, 65, 79 ]
55
[ "79-65=14", "14/2=7", "62-7=55" ]
Current State: 55:[2, 62, 65, 79], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [2, 62, 14] Generated Node #2: [2, 62, 14] from Operation: 79-65=14 Current State: 55:[2, 62, 14], Operations: ['79-65=14'] Exploring Operation: 14/2=7, Resulting Numbers: [62, 7] Generated Node #3: [62, 7] from Operation: 14/2=7 Current State: 55:[62, 7], Operations: ['79-65=14', '14/2=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[2, 62, 65, 79], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [2, 62, 14] Generated Node #0,0: 55:[2, 62, 14] Operation: 79-65=14 Exploring Operation: 65-62=3, Resulting Numbers: [2, 79, 3] Generated Node #0,1: 55:[2, 79, 3] Operation: 65-62=3 Exploring Operation: 79-62=17, Resulting Numbers: [2, 65, 17] Generated Node #0,2: 55:[2, 65, 17] Operation: 79-62=17 Moving to Node #0,0 Current State: 55:[2, 62, 14], Operations: ['79-65=14'] Exploring Operation: 14/2=7, Resulting Numbers: [62, 7] Generated Node #0,0,0: 55:[62, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [62, 12] Generated Node #0,0,1: 55:[62, 12] Operation: 14-2=12 Exploring Operation: 62-2=60, Resulting Numbers: [14, 60] Generated Node #0,0,2: 55:[14, 60] Operation: 62-2=60 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[62, 12], Operations: ['79-65=14', '14-2=12'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,55 unequal: No Solution Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,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,2 Current State: 55:[14, 60], Operations: ['79-65=14', '62-2=60'] Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,55 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,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:[62, 7], Operations: ['79-65=14', '14/2=7'] Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,55 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[2, 62, 65, 79], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [2, 62, 14] Generated Node #0,0: 55:[2, 62, 14] Operation: 79-65=14 Moving to Node #0,0 Current State: 55:[2, 62, 14], Operations: ['79-65=14'] Exploring Operation: 14/2=7, Resulting Numbers: [62, 7] Generated Node #0,0,0: 55:[62, 7] Operation: 14/2=7 Moving to Node #0,0,0 Current State: 55:[62, 7], Operations: ['79-65=14', '14/2=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 27, 17, 69, 29 ]
26
[ "29-27=2", "69-17=52", "52/2=26" ]
Current State: 26:[27, 17, 69, 29], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [17, 69, 2] Generated Node #2: [17, 69, 2] from Operation: 29-27=2 Current State: 26:[17, 69, 2], Operations: ['29-27=2'] Exploring Operation: 69-17=52, Resulting Numbers: [2, 52] Generated Node #3: [2, 52] from Operation: 69-17=52 Current State: 26:[2, 52], Operations: ['29-27=2', '69-17=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[27, 17, 69, 29], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [27, 69, 12] Generated Node #0,0: 26:[27, 69, 12] Operation: 29-17=12 Exploring Operation: 29-27=2, Resulting Numbers: [17, 69, 2] Generated Node #0,1: 26:[17, 69, 2] Operation: 29-27=2 Exploring Operation: 69-27=42, Resulting Numbers: [17, 29, 42] Generated Node #0,2: 26:[17, 29, 42] Operation: 69-27=42 Exploring Operation: 69-17=52, Resulting Numbers: [27, 29, 52] Generated Node #0,3: 26:[27, 29, 52] Operation: 69-17=52 Exploring Operation: 69-29=40, Resulting Numbers: [27, 17, 40] Generated Node #0,4: 26:[27, 17, 40] Operation: 69-29=40 Moving to Node #0,4 Current State: 26:[27, 17, 40], Operations: ['69-29=40'] Exploring Operation: 27-17=10, Resulting Numbers: [40, 10] Generated Node #0,4,0: 26:[40, 10] Operation: 27-17=10 Exploring Operation: 40-27=13, Resulting Numbers: [17, 13] Generated Node #0,4,1: 26:[17, 13] Operation: 40-27=13 Exploring Operation: 27+17=44, Resulting Numbers: [40, 44] Generated Node #0,4,2: 26:[40, 44] Operation: 27+17=44 Exploring Operation: 40-17=23, Resulting Numbers: [27, 23] Generated Node #0,4,3: 26:[27, 23] Operation: 40-17=23 Exploring Operation: 17+40=57, Resulting Numbers: [27, 57] Generated Node #0,4,4: 26:[27, 57] Operation: 17+40=57 Moving to Node #0,2 Current State: 26:[17, 29, 42], Operations: ['69-27=42'] Exploring Operation: 17+29=46, Resulting Numbers: [42, 46] Generated Node #0,2,0: 26:[42, 46] Operation: 17+29=46 Exploring Operation: 29-17=12, Resulting Numbers: [42, 12] Generated Node #0,2,1: 26:[42, 12] Operation: 29-17=12 Exploring Operation: 17+42=59, Resulting Numbers: [29, 59] Generated Node #0,2,2: 26:[29, 59] Operation: 17+42=59 Exploring Operation: 42-17=25, Resulting Numbers: [29, 25] Generated Node #0,2,3: 26:[29, 25] Operation: 42-17=25 Exploring Operation: 42-29=13, Resulting Numbers: [17, 13] Generated Node #0,2,4: 26:[17, 13] Operation: 42-29=13 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[29, 25], Operations: ['69-27=42', '42-17=25'] Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,26 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 26:[17, 13], Operations: ['69-27=42', '42-29=13'] Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,26 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[42, 12], Operations: ['69-27=42', '29-17=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,26 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[42, 46], Operations: ['69-27=42', '17+29=46'] Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,26 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[29, 59], Operations: ['69-27=42', '17+42=59'] Exploring Operation: 29*59=1711, Resulting Numbers: [1711] 1711,26 unequal: No Solution Exploring Operation: 29+59=88, Resulting Numbers: [88] 88,26 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,26 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: 26:[27, 29, 52], Operations: ['69-17=52'] Exploring Operation: 27+52=79, Resulting Numbers: [29, 79] Generated Node #0,3,0: 26:[29, 79] Operation: 27+52=79 Exploring Operation: 52-29=23, Resulting Numbers: [27, 23] Generated Node #0,3,1: 26:[27, 23] Operation: 52-29=23 Exploring Operation: 52-27=25, Resulting Numbers: [29, 25] Generated Node #0,3,2: 26:[29, 25] Operation: 52-27=25 Exploring Operation: 29-27=2, Resulting Numbers: [52, 2] Generated Node #0,3,3: 26:[52, 2] Operation: 29-27=2 Exploring Operation: 27+29=56, Resulting Numbers: [52, 56] Generated Node #0,3,4: 26:[52, 56] Operation: 27+29=56 Moving to Node #0,0 Current State: 26:[27, 69, 12], Operations: ['29-17=12'] Exploring Operation: 69-27=42, Resulting Numbers: [12, 42] Generated Node #0,0,0: 26:[12, 42] Operation: 69-27=42 Exploring Operation: 69-12=57, Resulting Numbers: [27, 57] Generated Node #0,0,1: 26:[27, 57] Operation: 69-12=57 Exploring Operation: 27+12=39, Resulting Numbers: [69, 39] Generated Node #0,0,2: 26:[69, 39] Operation: 27+12=39 Exploring Operation: 27-12=15, Resulting Numbers: [69, 15] Generated Node #0,0,3: 26:[69, 15] Operation: 27-12=15 Exploring Operation: 69+12=81, Resulting Numbers: [27, 81] Generated Node #0,0,4: 26:[27, 81] Operation: 69+12=81 Moving to Node #0,1 Current State: 26:[17, 69, 2], Operations: ['29-27=2'] Exploring Operation: 69+2=71, Resulting Numbers: [17, 71] Generated Node #0,1,0: 26:[17, 71] Operation: 69+2=71 Exploring Operation: 69-2=67, Resulting Numbers: [17, 67] Generated Node #0,1,1: 26:[17, 67] Operation: 69-2=67 Exploring Operation: 17+2=19, Resulting Numbers: [69, 19] Generated Node #0,1,2: 26:[69, 19] Operation: 17+2=19 Exploring Operation: 17-2=15, Resulting Numbers: [69, 15] Generated Node #0,1,3: 26:[69, 15] Operation: 17-2=15 Exploring Operation: 69-17=52, Resulting Numbers: [2, 52] Generated Node #0,1,4: 26:[2, 52] Operation: 69-17=52 Moving to Node #0,4,1 Current State: 26:[17, 13], Operations: ['69-29=40', '40-27=13'] Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,26 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[27, 23], Operations: ['69-17=52', '52-29=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,26 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[29, 25], Operations: ['69-17=52', '52-27=25'] Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,26 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[27, 23], Operations: ['69-29=40', '40-17=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,26 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,26 unequal: No Solution Moving to Node #0,4,0 Current State: 26:[40, 10], Operations: ['69-29=40', '27-17=10'] Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,26 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[12, 42], Operations: ['29-17=12', '69-27=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[52, 2], Operations: ['69-17=52', '29-27=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[27, 17, 69, 29], Operations: [] Exploring Operation: 69-17=52, Resulting Numbers: [27, 29, 52] Generated Node #0,3: 26:[27, 29, 52] Operation: 69-17=52 Moving to Node #0,3 Current State: 26:[27, 29, 52], Operations: ['69-17=52'] Exploring Operation: 29-27=2, Resulting Numbers: [52, 2] Generated Node #0,3,3: 26:[52, 2] Operation: 29-27=2 Moving to Node #0,3,3 Current State: 26:[52, 2], Operations: ['69-17=52', '29-27=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.940104
hs_5
sum_heuristic
[ 44, 20, 61, 64 ]
27
[ "44-20=24", "64-61=3", "24+3=27" ]
Current State: 27:[44, 20, 61, 64], Operations: [] Exploring Operation: 44-20=24, Resulting Numbers: [61, 64, 24] Generated Node #2: [61, 64, 24] from Operation: 44-20=24 Current State: 27:[61, 64, 24], Operations: ['44-20=24'] Exploring Operation: 64-61=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 64-61=3 Current State: 27:[24, 3], Operations: ['44-20=24', '64-61=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[44, 20, 61, 64], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [44, 20, 3] Generated Node #0,0: 27:[44, 20, 3] Operation: 64-61=3 Exploring Operation: 61-44=17, Resulting Numbers: [20, 64, 17] Generated Node #0,1: 27:[20, 64, 17] Operation: 61-44=17 Exploring Operation: 64-44=20, Resulting Numbers: [20, 61, 20] Generated Node #0,2: 27:[20, 61, 20] Operation: 64-44=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[44, 20, 3], Operations: ['64-61=3'] Exploring Operation: 44-3=41, Resulting Numbers: [20, 41] Generated Node #0,0,0: 27:[20, 41] Operation: 44-3=41 Exploring Operation: 44-20=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 27:[3, 24] Operation: 44-20=24 Exploring Operation: 20+3=23, Resulting Numbers: [44, 23] Generated Node #0,0,2: 27:[44, 23] Operation: 20+3=23 Moving to Node #0,0,1 Current State: 27:[3, 24], Operations: ['64-61=3', '44-20=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[44, 20, 61, 64], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [44, 20, 3] Generated Node #0,0: 27:[44, 20, 3] Operation: 64-61=3 Moving to Node #0,0 Current State: 27:[44, 20, 3], Operations: ['64-61=3'] Exploring Operation: 44-20=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 27:[3, 24] Operation: 44-20=24 Moving to Node #0,0,1 Current State: 27:[3, 24], Operations: ['64-61=3', '44-20=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 75, 71, 93, 73 ]
16
[ "75-71=4", "93-73=20", "20-4=16" ]
Current State: 16:[75, 71, 93, 73], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [93, 73, 4] Generated Node #2: [93, 73, 4] from Operation: 75-71=4 Current State: 16:[93, 73, 4], Operations: ['75-71=4'] Exploring Operation: 93-73=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 93-73=20 Current State: 16:[4, 20], Operations: ['75-71=4', '93-73=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[75, 71, 93, 73], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [75, 73, 22] Generated Node #0,0: 16:[75, 73, 22] Operation: 93-71=22 Exploring Operation: 93-73=20, Resulting Numbers: [75, 71, 20] Generated Node #0,1: 16:[75, 71, 20] Operation: 93-73=20 Exploring Operation: 93-75=18, Resulting Numbers: [71, 73, 18] Generated Node #0,2: 16:[71, 73, 18] Operation: 93-75=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[71, 73, 18], Operations: ['93-75=18'] Exploring Operation: 73-71=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 16:[18, 2] Operation: 73-71=2 Exploring Operation: 73-18=55, Resulting Numbers: [71, 55] Generated Node #0,2,1: 16:[71, 55] Operation: 73-18=55 Exploring Operation: 71-18=53, Resulting Numbers: [73, 53] Generated Node #0,2,2: 16:[73, 53] Operation: 71-18=53 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[18, 2], Operations: ['93-75=18', '73-71=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[75, 71, 93, 73], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [71, 73, 18] Generated Node #0,2: 16:[71, 73, 18] Operation: 93-75=18 Moving to Node #0,2 Current State: 16:[71, 73, 18], Operations: ['93-75=18'] Exploring Operation: 73-71=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 16:[18, 2] Operation: 73-71=2 Moving to Node #0,2,0 Current State: 16:[18, 2], Operations: ['93-75=18', '73-71=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 54, 36, 31, 52 ]
13
[ "54-52=2", "36/2=18", "31-18=13" ]
Current State: 13:[54, 36, 31, 52], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [36, 31, 2] Generated Node #2: [36, 31, 2] from Operation: 54-52=2 Current State: 13:[36, 31, 2], Operations: ['54-52=2'] Exploring Operation: 36/2=18, Resulting Numbers: [31, 18] Generated Node #3: [31, 18] from Operation: 36/2=18 Current State: 13:[31, 18], Operations: ['54-52=2', '36/2=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[54, 36, 31, 52], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [54, 31, 16] Generated Node #0,0: 13:[54, 31, 16] Operation: 52-36=16 Exploring Operation: 54-36=18, Resulting Numbers: [31, 52, 18] Generated Node #0,1: 13:[31, 52, 18] Operation: 54-36=18 Exploring Operation: 54-31=23, Resulting Numbers: [36, 52, 23] Generated Node #0,2: 13:[36, 52, 23] Operation: 54-31=23 Exploring Operation: 54-52=2, Resulting Numbers: [36, 31, 2] Generated Node #0,3: 13:[36, 31, 2] Operation: 54-52=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[36, 31, 2], Operations: ['54-52=2'] Exploring Operation: 36/2=18, Resulting Numbers: [31, 18] Generated Node #0,3,0: 13:[31, 18] Operation: 36/2=18 Exploring Operation: 36-2=34, Resulting Numbers: [31, 34] Generated Node #0,3,1: 13:[31, 34] Operation: 36-2=34 Exploring Operation: 36-31=5, Resulting Numbers: [2, 5] Generated Node #0,3,2: 13:[2, 5] Operation: 36-31=5 Exploring Operation: 31-2=29, Resulting Numbers: [36, 29] Generated Node #0,3,3: 13:[36, 29] Operation: 31-2=29 Moving to Node #0,3,2 Current State: 13:[2, 5], Operations: ['54-52=2', '36-31=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[31, 18], Operations: ['54-52=2', '36/2=18'] Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,13 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,13 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[54, 36, 31, 52], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [36, 31, 2] Generated Node #0,3: 13:[36, 31, 2] Operation: 54-52=2 Moving to Node #0,3 Current State: 13:[36, 31, 2], Operations: ['54-52=2'] Exploring Operation: 36/2=18, Resulting Numbers: [31, 18] Generated Node #0,3,0: 13:[31, 18] Operation: 36/2=18 Moving to Node #0,3,0 Current State: 13:[31, 18], Operations: ['54-52=2', '36/2=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 68, 80, 73, 62 ]
90
[ "73-68=5", "80-62=18", "5*18=90" ]
Current State: 90:[68, 80, 73, 62], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [80, 62, 5] Generated Node #2: [80, 62, 5] from Operation: 73-68=5 Current State: 90:[80, 62, 5], Operations: ['73-68=5'] Exploring Operation: 80-62=18, Resulting Numbers: [5, 18] Generated Node #3: [5, 18] from Operation: 80-62=18 Current State: 90:[5, 18], Operations: ['73-68=5', '80-62=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[68, 80, 73, 62], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [73, 62, 12] Generated Node #0,0: 90:[73, 62, 12] Operation: 80-68=12 Exploring Operation: 73-62=11, Resulting Numbers: [68, 80, 11] Generated Node #0,1: 90:[68, 80, 11] Operation: 73-62=11 Exploring Operation: 68-62=6, Resulting Numbers: [80, 73, 6] Generated Node #0,2: 90:[80, 73, 6] Operation: 68-62=6 Exploring Operation: 73-68=5, Resulting Numbers: [80, 62, 5] Generated Node #0,3: 90:[80, 62, 5] Operation: 73-68=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[80, 73, 6], Operations: ['68-62=6'] Exploring Operation: 73+6=79, Resulting Numbers: [80, 79] Generated Node #0,2,0: 90:[80, 79] Operation: 73+6=79 Exploring Operation: 73-6=67, Resulting Numbers: [80, 67] Generated Node #0,2,1: 90:[80, 67] Operation: 73-6=67 Exploring Operation: 80+6=86, Resulting Numbers: [73, 86] Generated Node #0,2,2: 90:[73, 86] Operation: 80+6=86 Exploring Operation: 80-73=7, Resulting Numbers: [6, 7] Generated Node #0,2,3: 90:[6, 7] Operation: 80-73=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 90:[6, 7], Operations: ['68-62=6', '80-73=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[80, 79], Operations: ['68-62=6', '73+6=79'] Exploring Operation: 80*79=6320, Resulting Numbers: [6320] 6320,90 unequal: No Solution Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 80+79=159, Resulting Numbers: [159] 159,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[73, 86], Operations: ['68-62=6', '80+6=86'] Exploring Operation: 73*86=6278, Resulting Numbers: [6278] 6278,90 unequal: No Solution Exploring Operation: 73+86=159, Resulting Numbers: [159] 159,90 unequal: No Solution Exploring Operation: 86-73=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[80, 67], Operations: ['68-62=6', '73-6=67'] Exploring Operation: 80+67=147, Resulting Numbers: [147] 147,90 unequal: No Solution Exploring Operation: 80*67=5360, Resulting Numbers: [5360] 5360,90 unequal: No Solution Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[80, 62, 5], Operations: ['73-68=5'] Exploring Operation: 80-62=18, Resulting Numbers: [5, 18] Generated Node #0,3,0: 90:[5, 18] Operation: 80-62=18 Exploring Operation: 80/5=16, Resulting Numbers: [62, 16] Generated Node #0,3,1: 90:[62, 16] Operation: 80/5=16 Exploring Operation: 80+5=85, Resulting Numbers: [62, 85] Generated Node #0,3,2: 90:[62, 85] Operation: 80+5=85 Exploring Operation: 62-5=57, Resulting Numbers: [80, 57] Generated Node #0,3,3: 90:[80, 57] Operation: 62-5=57 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 90:[5, 18], Operations: ['73-68=5', '80-62=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[68, 80, 73, 62], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [80, 62, 5] Generated Node #0,3: 90:[80, 62, 5] Operation: 73-68=5 Moving to Node #0,3 Current State: 90:[80, 62, 5], Operations: ['73-68=5'] Exploring Operation: 80-62=18, Resulting Numbers: [5, 18] Generated Node #0,3,0: 90:[5, 18] Operation: 80-62=18 Moving to Node #0,3,0 Current State: 90:[5, 18], Operations: ['73-68=5', '80-62=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 5, 24, 86, 35 ]
31
[ "35-24=11", "5*11=55", "86-55=31" ]
Current State: 31:[5, 24, 86, 35], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [5, 86, 11] Generated Node #2: [5, 86, 11] from Operation: 35-24=11 Current State: 31:[5, 86, 11], Operations: ['35-24=11'] Exploring Operation: 5*11=55, Resulting Numbers: [86, 55] Generated Node #3: [86, 55] from Operation: 5*11=55 Current State: 31:[86, 55], Operations: ['35-24=11', '5*11=55'] Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[5, 24, 86, 35], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [24, 35, 81] Generated Node #0,0: 31:[24, 35, 81] Operation: 86-5=81 Exploring Operation: 86-35=51, Resulting Numbers: [5, 24, 51] Generated Node #0,1: 31:[5, 24, 51] Operation: 86-35=51 Exploring Operation: 5+24=29, Resulting Numbers: [86, 35, 29] Generated Node #0,2: 31:[86, 35, 29] Operation: 5+24=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[5, 24, 51], Operations: ['86-35=51'] Exploring Operation: 51-5=46, Resulting Numbers: [24, 46] Generated Node #0,1,0: 31:[24, 46] Operation: 51-5=46 Exploring Operation: 51-24=27, Resulting Numbers: [5, 27] Generated Node #0,1,1: 31:[5, 27] Operation: 51-24=27 Exploring Operation: 5+24=29, Resulting Numbers: [51, 29] Generated Node #0,1,2: 31:[51, 29] Operation: 5+24=29 Moving to Node #0,1,0 Current State: 31:[24, 46], Operations: ['86-35=51', '51-5=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[51, 29], Operations: ['86-35=51', '5+24=29'] Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,31 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[5, 27], Operations: ['86-35=51', '51-24=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,31 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[24, 35, 81], Operations: ['86-5=81'] Exploring Operation: 81-35=46, Resulting Numbers: [24, 46] Generated Node #0,0,0: 31:[24, 46] Operation: 81-35=46 Exploring Operation: 35-24=11, Resulting Numbers: [81, 11] Generated Node #0,0,1: 31:[81, 11] Operation: 35-24=11 Exploring Operation: 81-24=57, Resulting Numbers: [35, 57] Generated Node #0,0,2: 31:[35, 57] Operation: 81-24=57 Moving to Node #0,0,0 Current State: 31:[24, 46], Operations: ['86-5=81', '81-35=46'] Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,31 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[35, 57], Operations: ['86-5=81', '81-24=57'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,31 unequal: No Solution Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[81, 11], Operations: ['86-5=81', '35-24=11'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,31 unequal: No Solution Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[86, 35, 29], Operations: ['5+24=29'] Exploring Operation: 86-29=57, Resulting Numbers: [35, 57] Generated Node #0,2,0: 31:[35, 57] Operation: 86-29=57 Exploring Operation: 86-35=51, Resulting Numbers: [29, 51] Generated Node #0,2,1: 31:[29, 51] Operation: 86-35=51 Exploring Operation: 35-29=6, Resulting Numbers: [86, 6] Generated Node #0,2,2: 31:[86, 6] Operation: 35-29=6 Moving to Node #0,2,1 Current State: 31:[29, 51], Operations: ['5+24=29', '86-35=51'] Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 29*51=1479, Resulting Numbers: [1479] 1479,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[35, 57], Operations: ['5+24=29', '86-29=57'] Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,31 unequal: No Solution Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,31 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[86, 6], Operations: ['5+24=29', '35-29=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,31 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 18, 25, 39, 80 ]
84
[ "18+25=43", "80-39=41", "43+41=84" ]
Current State: 84:[18, 25, 39, 80], Operations: [] Exploring Operation: 18+25=43, Resulting Numbers: [39, 80, 43] Generated Node #2: [39, 80, 43] from Operation: 18+25=43 Current State: 84:[39, 80, 43], Operations: ['18+25=43'] Exploring Operation: 80-39=41, Resulting Numbers: [43, 41] Generated Node #3: [43, 41] from Operation: 80-39=41 Current State: 84:[43, 41], Operations: ['18+25=43', '80-39=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[18, 25, 39, 80], Operations: [] Exploring Operation: 39-18=21, Resulting Numbers: [25, 80, 21] Generated Node #0,0: 84:[25, 80, 21] Operation: 39-18=21 Exploring Operation: 25-18=7, Resulting Numbers: [39, 80, 7] Generated Node #0,1: 84:[39, 80, 7] Operation: 25-18=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[25, 80, 21], Operations: ['39-18=21'] Exploring Operation: 25+21=46, Resulting Numbers: [80, 46] Generated Node #0,0,0: 84:[80, 46] Operation: 25+21=46 Exploring Operation: 25-21=4, Resulting Numbers: [80, 4] Generated Node #0,0,1: 84:[80, 4] Operation: 25-21=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[80, 4], Operations: ['39-18=21', '25-21=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[18, 25, 39, 80], Operations: [] Exploring Operation: 39-18=21, Resulting Numbers: [25, 80, 21] Generated Node #0,0: 84:[25, 80, 21] Operation: 39-18=21 Moving to Node #0,0 Current State: 84:[25, 80, 21], Operations: ['39-18=21'] Exploring Operation: 25-21=4, Resulting Numbers: [80, 4] Generated Node #0,0,1: 84:[80, 4] Operation: 25-21=4 Moving to Node #0,0,1 Current State: 84:[80, 4], Operations: ['39-18=21', '25-21=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 89, 48, 56, 85 ]
68
[ "89-85=4", "48/4=12", "56+12=68" ]
Current State: 68:[89, 48, 56, 85], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [48, 56, 4] Generated Node #2: [48, 56, 4] from Operation: 89-85=4 Current State: 68:[48, 56, 4], Operations: ['89-85=4'] Exploring Operation: 48/4=12, Resulting Numbers: [56, 12] Generated Node #3: [56, 12] from Operation: 48/4=12 Current State: 68:[56, 12], Operations: ['89-85=4', '48/4=12'] Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[89, 48, 56, 85], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [56, 85, 41] Generated Node #0,0: 68:[56, 85, 41] Operation: 89-48=41 Exploring Operation: 89-85=4, Resulting Numbers: [48, 56, 4] Generated Node #0,1: 68:[48, 56, 4] Operation: 89-85=4 Exploring Operation: 89-56=33, Resulting Numbers: [48, 85, 33] Generated Node #0,2: 68:[48, 85, 33] Operation: 89-56=33 Moving to Node #0,1 Current State: 68:[48, 56, 4], Operations: ['89-85=4'] Exploring Operation: 56-48=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 68:[4, 8] Operation: 56-48=8 Exploring Operation: 56/4=14, Resulting Numbers: [48, 14] Generated Node #0,1,1: 68:[48, 14] Operation: 56/4=14 Exploring Operation: 48/4=12, Resulting Numbers: [56, 12] Generated Node #0,1,2: 68:[56, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[4, 8], Operations: ['89-85=4', '56-48=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,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,1 Current State: 68:[48, 14], Operations: ['89-85=4', '56/4=14'] Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,68 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,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,2 Current State: 68:[56, 12], Operations: ['89-85=4', '48/4=12'] Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,68 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[89, 48, 56, 85], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [48, 56, 4] Generated Node #0,1: 68:[48, 56, 4] Operation: 89-85=4 Moving to Node #0,1 Current State: 68:[48, 56, 4], Operations: ['89-85=4'] Exploring Operation: 48/4=12, Resulting Numbers: [56, 12] Generated Node #0,1,2: 68:[56, 12] Operation: 48/4=12 Moving to Node #0,1,2 Current State: 68:[56, 12], Operations: ['89-85=4', '48/4=12'] Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 24, 9, 15, 32 ]
36
[ "15-9=6", "24/6=4", "32+4=36" ]
Current State: 36:[24, 9, 15, 32], Operations: [] Exploring Operation: 15-9=6, Resulting Numbers: [24, 32, 6] Generated Node #2: [24, 32, 6] from Operation: 15-9=6 Current State: 36:[24, 32, 6], Operations: ['15-9=6'] Exploring Operation: 24/6=4, Resulting Numbers: [32, 4] Generated Node #3: [32, 4] from Operation: 24/6=4 Current State: 36:[32, 4], Operations: ['15-9=6', '24/6=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[24, 9, 15, 32], Operations: [] Exploring Operation: 24-15=9, Resulting Numbers: [9, 32, 9] Generated Node #0,0: 36:[9, 32, 9] Operation: 24-15=9 Exploring Operation: 32-24=8, Resulting Numbers: [9, 15, 8] Generated Node #0,1: 36:[9, 15, 8] Operation: 32-24=8 Moving to Node #0,0 Current State: 36:[9, 32, 9], Operations: ['24-15=9'] Exploring Operation: 9+9=18, Resulting Numbers: [32, 18] Generated Node #0,0,0: 36:[32, 18] Operation: 9+9=18 Exploring Operation: 9+32=41, Resulting Numbers: [9, 41] Generated Node #0,0,1: 36:[9, 41] Operation: 9+32=41 Moving to Node #0,1 Current State: 36:[9, 15, 8], Operations: ['32-24=8'] Exploring Operation: 15-9=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 36:[8, 6] Operation: 15-9=6 Exploring Operation: 15-8=7, Resulting Numbers: [9, 7] Generated Node #0,1,1: 36:[9, 7] Operation: 15-8=7 Moving to Node #0,1,0 Current State: 36:[8, 6], Operations: ['32-24=8', '15-9=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[9, 7], Operations: ['32-24=8', '15-8=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[32, 18], Operations: ['24-15=9', '9+9=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[9, 41], Operations: ['24-15=9', '9+32=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,36 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 51, 36, 28 ]
60
[ "1+51=52", "36-28=8", "52+8=60" ]
Current State: 60:[1, 51, 36, 28], Operations: [] Exploring Operation: 1+51=52, Resulting Numbers: [36, 28, 52] Generated Node #2: [36, 28, 52] from Operation: 1+51=52 Current State: 60:[36, 28, 52], Operations: ['1+51=52'] Exploring Operation: 36-28=8, Resulting Numbers: [52, 8] Generated Node #3: [52, 8] from Operation: 36-28=8 Current State: 60:[52, 8], Operations: ['1+51=52', '36-28=8'] Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[1, 51, 36, 28], Operations: [] Exploring Operation: 36-28=8, Resulting Numbers: [1, 51, 8] Generated Node #0,0: 60:[1, 51, 8] Operation: 36-28=8 Exploring Operation: 51-28=23, Resulting Numbers: [1, 36, 23] Generated Node #0,1: 60:[1, 36, 23] Operation: 51-28=23 Exploring Operation: 36+28=64, Resulting Numbers: [1, 51, 64] Generated Node #0,2: 60:[1, 51, 64] Operation: 36+28=64 Exploring Operation: 51-36=15, Resulting Numbers: [1, 28, 15] Generated Node #0,3: 60:[1, 28, 15] Operation: 51-36=15 Moving to Node #0,3 Current State: 60:[1, 28, 15], Operations: ['51-36=15'] Exploring Operation: 1*15=15, Resulting Numbers: [28, 15] Generated Node #0,3,0: 60:[28, 15] Operation: 1*15=15 Exploring Operation: 1*28=28, Resulting Numbers: [15, 28] Generated Node #0,3,1: 60:[15, 28] Operation: 1*28=28 Exploring Operation: 28/1=28, Resulting Numbers: [15, 28] Generated Node #0,3,2: 60:[15, 28] Operation: 28/1=28 Exploring Operation: 1+28=29, Resulting Numbers: [15, 29] Generated Node #0,3,3: 60:[15, 29] Operation: 1+28=29 Moving to Node #0,1 Current State: 60:[1, 36, 23], Operations: ['51-28=23'] Exploring Operation: 36-23=13, Resulting Numbers: [1, 13] Generated Node #0,1,0: 60:[1, 13] Operation: 36-23=13 Exploring Operation: 36+23=59, Resulting Numbers: [1, 59] Generated Node #0,1,1: 60:[1, 59] Operation: 36+23=59 Exploring Operation: 23-1=22, Resulting Numbers: [36, 22] Generated Node #0,1,2: 60:[36, 22] Operation: 23-1=22 Exploring Operation: 36-1=35, Resulting Numbers: [23, 35] Generated Node #0,1,3: 60:[23, 35] Operation: 36-1=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[1, 13], Operations: ['51-28=23', '36-23=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[1, 59], Operations: ['51-28=23', '36+23=59'] Exploring Operation: 1*59=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 1+59=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[1, 51, 36, 28], Operations: [] Exploring Operation: 51-28=23, Resulting Numbers: [1, 36, 23] Generated Node #0,1: 60:[1, 36, 23] Operation: 51-28=23 Moving to Node #0,1 Current State: 60:[1, 36, 23], Operations: ['51-28=23'] Exploring Operation: 36+23=59, Resulting Numbers: [1, 59] Generated Node #0,1,1: 60:[1, 59] Operation: 36+23=59 Moving to Node #0,1,1 Current State: 60:[1, 59], Operations: ['51-28=23', '36+23=59'] Exploring Operation: 1+59=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 8, 72, 54, 60 ]
15
[ "72/8=9", "60-54=6", "9+6=15" ]
Current State: 15:[8, 72, 54, 60], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [54, 60, 9] Generated Node #2: [54, 60, 9] from Operation: 72/8=9 Current State: 15:[54, 60, 9], Operations: ['72/8=9'] Exploring Operation: 60-54=6, Resulting Numbers: [9, 6] Generated Node #3: [9, 6] from Operation: 60-54=6 Current State: 15:[9, 6], Operations: ['72/8=9', '60-54=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[8, 72, 54, 60], Operations: [] Exploring Operation: 72-8=64, Resulting Numbers: [54, 60, 64] Generated Node #0,0: 15:[54, 60, 64] Operation: 72-8=64 Exploring Operation: 60-54=6, Resulting Numbers: [8, 72, 6] Generated Node #0,1: 15:[8, 72, 6] Operation: 60-54=6 Exploring Operation: 72/8=9, Resulting Numbers: [54, 60, 9] Generated Node #0,2: 15:[54, 60, 9] Operation: 72/8=9 Exploring Operation: 72-54=18, Resulting Numbers: [8, 60, 18] Generated Node #0,3: 15:[8, 60, 18] Operation: 72-54=18 Exploring Operation: 72-60=12, Resulting Numbers: [8, 54, 12] Generated Node #0,4: 15:[8, 54, 12] Operation: 72-60=12 Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[8, 54, 12], Operations: ['72-60=12'] Exploring Operation: 8+54=62, Resulting Numbers: [12, 62] Generated Node #0,4,0: 15:[12, 62] Operation: 8+54=62 Exploring Operation: 54-8=46, Resulting Numbers: [12, 46] Generated Node #0,4,1: 15:[12, 46] Operation: 54-8=46 Exploring Operation: 8+12=20, Resulting Numbers: [54, 20] Generated Node #0,4,2: 15:[54, 20] Operation: 8+12=20 Exploring Operation: 12-8=4, Resulting Numbers: [54, 4] Generated Node #0,4,3: 15:[54, 4] Operation: 12-8=4 Exploring Operation: 54-12=42, Resulting Numbers: [8, 42] Generated Node #0,4,4: 15:[8, 42] Operation: 54-12=42 Moving to Node #0,4,4 Current State: 15:[8, 42], Operations: ['72-60=12', '54-12=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,15 unequal: No Solution Moving to Node #0,4,1 Current State: 15:[12, 46], Operations: ['72-60=12', '54-8=46'] Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,15 unequal: No Solution Moving to Node #0,4,3 Current State: 15:[54, 4], Operations: ['72-60=12', '12-8=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,15 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,15 unequal: No Solution Moving to Node #0,4,2 Current State: 15:[54, 20], Operations: ['72-60=12', '8+12=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,15 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,15 unequal: No Solution Moving to Node #0,4,0 Current State: 15:[12, 62], Operations: ['72-60=12', '8+54=62'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,15 unequal: No Solution Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[8, 60, 18], Operations: ['72-54=18'] Exploring Operation: 60-18=42, Resulting Numbers: [8, 42] Generated Node #0,3,0: 15:[8, 42] Operation: 60-18=42 Exploring Operation: 8+18=26, Resulting Numbers: [60, 26] Generated Node #0,3,1: 15:[60, 26] Operation: 8+18=26 Exploring Operation: 60-8=52, Resulting Numbers: [18, 52] Generated Node #0,3,2: 15:[18, 52] Operation: 60-8=52 Exploring Operation: 8+60=68, Resulting Numbers: [18, 68] Generated Node #0,3,3: 15:[18, 68] Operation: 8+60=68 Exploring Operation: 18-8=10, Resulting Numbers: [60, 10] Generated Node #0,3,4: 15:[60, 10] Operation: 18-8=10 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[8, 42], Operations: ['72-54=18', '60-18=42'] Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,15 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[18, 52], Operations: ['72-54=18', '60-8=52'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,15 unequal: No Solution Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 15:[60, 10], Operations: ['72-54=18', '18-8=10'] Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 60*10=600, Resulting Numbers: [600] 600,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 15:[60, 26], Operations: ['72-54=18', '8+18=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 15:[18, 68], Operations: ['72-54=18', '8+60=68'] Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[8, 72, 6], Operations: ['60-54=6'] Exploring Operation: 72/8=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 15:[6, 9] Operation: 72/8=9 Exploring Operation: 8+6=14, Resulting Numbers: [72, 14] Generated Node #0,1,1: 15:[72, 14] Operation: 8+6=14 Exploring Operation: 72-8=64, Resulting Numbers: [6, 64] Generated Node #0,1,2: 15:[6, 64] Operation: 72-8=64 Exploring Operation: 72/6=12, Resulting Numbers: [8, 12] Generated Node #0,1,3: 15:[8, 12] Operation: 72/6=12 Exploring Operation: 72-6=66, Resulting Numbers: [8, 66] Generated Node #0,1,4: 15:[8, 66] Operation: 72-6=66 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[6, 9], Operations: ['60-54=6', '72/8=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[8, 72, 54, 60], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [8, 72, 6] Generated Node #0,1: 15:[8, 72, 6] Operation: 60-54=6 Moving to Node #0,1 Current State: 15:[8, 72, 6], Operations: ['60-54=6'] Exploring Operation: 72/8=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 15:[6, 9] Operation: 72/8=9 Moving to Node #0,1,0 Current State: 15:[6, 9], Operations: ['60-54=6', '72/8=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 26, 60, 4, 2 ]
43
[ "26+60=86", "4-2=2", "86/2=43" ]
Current State: 43:[26, 60, 4, 2], Operations: [] Exploring Operation: 26+60=86, Resulting Numbers: [4, 2, 86] Generated Node #2: [4, 2, 86] from Operation: 26+60=86 Current State: 43:[4, 2, 86], Operations: ['26+60=86'] Exploring Operation: 4-2=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 4-2=2 Current State: 43:[86, 2], Operations: ['26+60=86', '4-2=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[26, 60, 4, 2], Operations: [] Exploring Operation: 26*2=52, Resulting Numbers: [60, 4, 52] Generated Node #0,0: 43:[60, 4, 52] Operation: 26*2=52 Moving to Node #0,0 Current State: 43:[60, 4, 52], Operations: ['26*2=52'] Exploring Operation: 60-4=56, Resulting Numbers: [52, 56] Generated Node #0,0,0: 43:[52, 56] Operation: 60-4=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[52, 56], Operations: ['26*2=52', '60-4=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 71, 83, 10, 7 ]
62
[ "83+7=90", "90/10=9", "71-9=62" ]
Current State: 62:[71, 83, 10, 7], Operations: [] Exploring Operation: 83+7=90, Resulting Numbers: [71, 10, 90] Generated Node #2: [71, 10, 90] from Operation: 83+7=90 Current State: 62:[71, 10, 90], Operations: ['83+7=90'] Exploring Operation: 90/10=9, Resulting Numbers: [71, 9] Generated Node #3: [71, 9] from Operation: 90/10=9 Current State: 62:[71, 9], Operations: ['83+7=90', '90/10=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[71, 83, 10, 7], Operations: [] Exploring Operation: 83-71=12, Resulting Numbers: [10, 7, 12] Generated Node #0,0: 62:[10, 7, 12] Operation: 83-71=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[10, 7, 12], Operations: ['83-71=12'] Exploring Operation: 12-10=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 62:[7, 2] Operation: 12-10=2 Moving to Node #0,0,0 Current State: 62:[7, 2], Operations: ['83-71=12', '12-10=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,62 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
[ 69, 32, 64, 71 ]
32
[ "69*32=2208", "64+2208=2272", "2272/71=32" ]
Current State: 32:[69, 32, 64, 71], Operations: [] Exploring Operation: 69*32=2208, Resulting Numbers: [64, 71, 2208] Generated Node #2: [64, 71, 2208] from Operation: 69*32=2208 Current State: 32:[64, 71, 2208], Operations: ['69*32=2208'] Exploring Operation: 64+2208=2272, Resulting Numbers: [71, 2272] Generated Node #3: [71, 2272] from Operation: 64+2208=2272 Current State: 32:[71, 2272], Operations: ['69*32=2208', '64+2208=2272'] Exploring Operation: 2272/71=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[69, 32, 64, 71], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [32, 64, 2] Generated Node #0,0: 32:[32, 64, 2] Operation: 71-69=2 Exploring Operation: 71-64=7, Resulting Numbers: [69, 32, 7] Generated Node #0,1: 32:[69, 32, 7] Operation: 71-64=7 Exploring Operation: 69-64=5, Resulting Numbers: [32, 71, 5] Generated Node #0,2: 32:[32, 71, 5] Operation: 69-64=5 Moving to Node #0,0 Current State: 32:[32, 64, 2], Operations: ['71-69=2'] Exploring Operation: 64/32=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 32:[2, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [2, 32] Generated Node #0,0,1: 32:[2, 32] Operation: 64-32=32 Exploring Operation: 64/2=32, Resulting Numbers: [32, 32] Generated Node #0,0,2: 32:[32, 32] Operation: 64/2=32 Moving to Node #0,1 Current State: 32:[69, 32, 7], Operations: ['71-64=7'] Exploring Operation: 69-7=62, Resulting Numbers: [32, 62] Generated Node #0,1,0: 32:[32, 62] Operation: 69-7=62 Exploring Operation: 69+7=76, Resulting Numbers: [32, 76] Generated Node #0,1,1: 32:[32, 76] Operation: 69+7=76 Exploring Operation: 69-32=37, Resulting Numbers: [7, 37] Generated Node #0,1,2: 32:[7, 37] Operation: 69-32=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[7, 37], Operations: ['71-64=7', '69-32=37'] Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,32 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[32, 62], Operations: ['71-64=7', '69-7=62'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 32+62=94, Resulting Numbers: [94] 94,32 unequal: No Solution Exploring Operation: 32*62=1984, Resulting Numbers: [1984] 1984,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[32, 76], Operations: ['71-64=7', '69+7=76'] Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,32 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,32 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: 32:[32, 71, 5], Operations: ['69-64=5'] Exploring Operation: 71-32=39, Resulting Numbers: [5, 39] Generated Node #0,2,0: 32:[5, 39] Operation: 71-32=39 Exploring Operation: 71-5=66, Resulting Numbers: [32, 66] Generated Node #0,2,1: 32:[32, 66] Operation: 71-5=66 Exploring Operation: 32+5=37, Resulting Numbers: [71, 37] Generated Node #0,2,2: 32:[71, 37] Operation: 32+5=37 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[5, 39], Operations: ['69-64=5', '71-32=39'] Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,32 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[32, 66], Operations: ['69-64=5', '71-5=66'] Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,32 unequal: No Solution Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,32 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[71, 37], Operations: ['69-64=5', '32+5=37'] Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,32 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,32 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: 32:[2, 2], Operations: ['71-69=2', '64/32=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[2, 32], Operations: ['71-69=2', '64-32=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[32, 32], Operations: ['71-69=2', '64/2=32'] Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,32 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 29, 22, 38, 36 ]
23
[ "29+22=51", "38+36=74", "74-51=23" ]
Current State: 23:[29, 22, 38, 36], Operations: [] Exploring Operation: 29+22=51, Resulting Numbers: [38, 36, 51] Generated Node #2: [38, 36, 51] from Operation: 29+22=51 Current State: 23:[38, 36, 51], Operations: ['29+22=51'] Exploring Operation: 38+36=74, Resulting Numbers: [51, 74] Generated Node #3: [51, 74] from Operation: 38+36=74 Current State: 23:[51, 74], Operations: ['29+22=51', '38+36=74'] Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[29, 22, 38, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [29, 22, 2] Generated Node #0,0: 23:[29, 22, 2] Operation: 38-36=2 Exploring Operation: 38-22=16, Resulting Numbers: [29, 36, 16] Generated Node #0,1: 23:[29, 36, 16] Operation: 38-22=16 Exploring Operation: 38-29=9, Resulting Numbers: [22, 36, 9] Generated Node #0,2: 23:[22, 36, 9] Operation: 38-29=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[29, 36, 16], Operations: ['38-22=16'] Exploring Operation: 36-16=20, Resulting Numbers: [29, 20] Generated Node #0,1,0: 23:[29, 20] Operation: 36-16=20 Exploring Operation: 36-29=7, Resulting Numbers: [16, 7] Generated Node #0,1,1: 23:[16, 7] Operation: 36-29=7 Exploring Operation: 29-16=13, Resulting Numbers: [36, 13] Generated Node #0,1,2: 23:[36, 13] Operation: 29-16=13 Moving to Node #0,1,0 Current State: 23:[29, 20], Operations: ['38-22=16', '36-16=20'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,23 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[16, 7], Operations: ['38-22=16', '36-29=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[29, 22, 38, 36], Operations: [] Exploring Operation: 38-22=16, Resulting Numbers: [29, 36, 16] Generated Node #0,1: 23:[29, 36, 16] Operation: 38-22=16 Moving to Node #0,1 Current State: 23:[29, 36, 16], Operations: ['38-22=16'] Exploring Operation: 36-29=7, Resulting Numbers: [16, 7] Generated Node #0,1,1: 23:[16, 7] Operation: 36-29=7 Moving to Node #0,1,1 Current State: 23:[16, 7], Operations: ['38-22=16', '36-29=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 49, 7, 5, 14 ]
70
[ "49-14=35", "7*5=35", "35+35=70" ]
Current State: 70:[49, 7, 5, 14], Operations: [] Exploring Operation: 49-14=35, Resulting Numbers: [7, 5, 35] Generated Node #2: [7, 5, 35] from Operation: 49-14=35 Current State: 70:[7, 5, 35], Operations: ['49-14=35'] Exploring Operation: 7*5=35, Resulting Numbers: [35, 35] Generated Node #3: [35, 35] from Operation: 7*5=35 Current State: 70:[35, 35], Operations: ['49-14=35', '7*5=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[49, 7, 5, 14], Operations: [] Exploring Operation: 49-7=42, Resulting Numbers: [5, 14, 42] Generated Node #0,0: 70:[5, 14, 42] Operation: 49-7=42 Exploring Operation: 49-14=35, Resulting Numbers: [7, 5, 35] Generated Node #0,1: 70:[7, 5, 35] Operation: 49-14=35 Exploring Operation: 49/7=7, Resulting Numbers: [5, 14, 7] Generated Node #0,2: 70:[5, 14, 7] Operation: 49/7=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[7, 5, 35], Operations: ['49-14=35'] Exploring Operation: 7*5=35, Resulting Numbers: [35, 35] Generated Node #0,1,0: 70:[35, 35] Operation: 7*5=35 Exploring Operation: 7-5=2, Resulting Numbers: [35, 2] Generated Node #0,1,1: 70:[35, 2] Operation: 7-5=2 Exploring Operation: 35/7=5, Resulting Numbers: [5, 5] Generated Node #0,1,2: 70:[5, 5] Operation: 35/7=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[35, 35], Operations: ['49-14=35', '7*5=35'] Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,70 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[49, 7, 5, 14], Operations: [] Exploring Operation: 49-14=35, Resulting Numbers: [7, 5, 35] Generated Node #0,1: 70:[7, 5, 35] Operation: 49-14=35 Moving to Node #0,1 Current State: 70:[7, 5, 35], Operations: ['49-14=35'] Exploring Operation: 7*5=35, Resulting Numbers: [35, 35] Generated Node #0,1,0: 70:[35, 35] Operation: 7*5=35 Moving to Node #0,1,0 Current State: 70:[35, 35], Operations: ['49-14=35', '7*5=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 6, 31, 69, 13 ]
40
[ "6*13=78", "69-31=38", "78-38=40" ]
Current State: 40:[6, 31, 69, 13], Operations: [] Exploring Operation: 6*13=78, Resulting Numbers: [31, 69, 78] Generated Node #2: [31, 69, 78] from Operation: 6*13=78 Current State: 40:[31, 69, 78], Operations: ['6*13=78'] Exploring Operation: 69-31=38, Resulting Numbers: [78, 38] Generated Node #3: [78, 38] from Operation: 69-31=38 Current State: 40:[78, 38], Operations: ['6*13=78', '69-31=38'] Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[6, 31, 69, 13], Operations: [] Exploring Operation: 31-13=18, Resulting Numbers: [6, 69, 18] Generated Node #0,0: 40:[6, 69, 18] Operation: 31-13=18 Exploring Operation: 69-31=38, Resulting Numbers: [6, 13, 38] Generated Node #0,1: 40:[6, 13, 38] Operation: 69-31=38 Exploring Operation: 69-13=56, Resulting Numbers: [6, 31, 56] Generated Node #0,2: 40:[6, 31, 56] Operation: 69-13=56 Exploring Operation: 6+31=37, Resulting Numbers: [69, 13, 37] Generated Node #0,3: 40:[69, 13, 37] Operation: 6+31=37 Exploring Operation: 31+13=44, Resulting Numbers: [6, 69, 44] Generated Node #0,4: 40:[6, 69, 44] Operation: 31+13=44 Moving to Node #0,1 Current State: 40:[6, 13, 38], Operations: ['69-31=38'] Exploring Operation: 13-6=7, Resulting Numbers: [38, 7] Generated Node #0,1,0: 40:[38, 7] Operation: 13-6=7 Exploring Operation: 38-13=25, Resulting Numbers: [6, 25] Generated Node #0,1,1: 40:[6, 25] Operation: 38-13=25 Exploring Operation: 6+13=19, Resulting Numbers: [38, 19] Generated Node #0,1,2: 40:[38, 19] Operation: 6+13=19 Exploring Operation: 6+38=44, Resulting Numbers: [13, 44] Generated Node #0,1,3: 40:[13, 44] Operation: 6+38=44 Exploring Operation: 38-6=32, Resulting Numbers: [13, 32] Generated Node #0,1,4: 40:[13, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[38, 7], Operations: ['69-31=38', '13-6=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,40 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[38, 19], Operations: ['69-31=38', '6+13=19'] Exploring Operation: 38+19=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 38*19=722, Resulting Numbers: [722] 722,40 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[6, 25], Operations: ['69-31=38', '38-13=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[13, 44], Operations: ['69-31=38', '6+38=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,40 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 40:[13, 32], Operations: ['69-31=38', '38-6=32'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,40 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: 40:[6, 31, 56], Operations: ['69-13=56'] Exploring Operation: 31-6=25, Resulting Numbers: [56, 25] Generated Node #0,2,0: 40:[56, 25] Operation: 31-6=25 Exploring Operation: 6+31=37, Resulting Numbers: [56, 37] Generated Node #0,2,1: 40:[56, 37] Operation: 6+31=37 Exploring Operation: 56-31=25, Resulting Numbers: [6, 25] Generated Node #0,2,2: 40:[6, 25] Operation: 56-31=25 Exploring Operation: 6+56=62, Resulting Numbers: [31, 62] Generated Node #0,2,3: 40:[31, 62] Operation: 6+56=62 Exploring Operation: 56-6=50, Resulting Numbers: [31, 50] Generated Node #0,2,4: 40:[31, 50] Operation: 56-6=50 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 40:[6, 25], Operations: ['69-13=56', '56-31=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 40:[56, 37], Operations: ['69-13=56', '6+31=37'] Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,40 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 40:[31, 50], Operations: ['69-13=56', '56-6=50'] Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,40 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[56, 25], Operations: ['69-13=56', '31-6=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,40 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[31, 62], Operations: ['69-13=56', '6+56=62'] Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,40 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 40:[6, 69, 18], Operations: ['31-13=18'] Exploring Operation: 18-6=12, Resulting Numbers: [69, 12] Generated Node #0,0,0: 40:[69, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [69, 3] Generated Node #0,0,1: 40:[69, 3] Operation: 18/6=3 Exploring Operation: 69-18=51, Resulting Numbers: [6, 51] Generated Node #0,0,2: 40:[6, 51] Operation: 69-18=51 Exploring Operation: 6+18=24, Resulting Numbers: [69, 24] Generated Node #0,0,3: 40:[69, 24] Operation: 6+18=24 Exploring Operation: 69-6=63, Resulting Numbers: [18, 63] Generated Node #0,0,4: 40:[18, 63] Operation: 69-6=63 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[6, 51], Operations: ['31-13=18', '69-18=51'] Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,40 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 40:[18, 63], Operations: ['31-13=18', '69-6=63'] Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,40 unequal: No Solution Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[69, 3], Operations: ['31-13=18', '18/6=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,40 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[69, 12], Operations: ['31-13=18', '18-6=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,40 unequal: No Solution Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[69, 24], Operations: ['31-13=18', '6+18=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 40:[6, 69, 44], Operations: ['31+13=44'] Exploring Operation: 69-44=25, Resulting Numbers: [6, 25] Generated Node #0,4,0: 40:[6, 25] Operation: 69-44=25 Exploring Operation: 6+44=50, Resulting Numbers: [69, 50] Generated Node #0,4,1: 40:[69, 50] Operation: 6+44=50 Exploring Operation: 6+69=75, Resulting Numbers: [44, 75] Generated Node #0,4,2: 40:[44, 75] Operation: 6+69=75 Exploring Operation: 44-6=38, Resulting Numbers: [69, 38] Generated Node #0,4,3: 40:[69, 38] Operation: 44-6=38 Exploring Operation: 69-6=63, Resulting Numbers: [44, 63] Generated Node #0,4,4: 40:[44, 63] Operation: 69-6=63 Moving to Node #0,3 Current State: 40:[69, 13, 37], Operations: ['6+31=37'] Exploring Operation: 69-13=56, Resulting Numbers: [37, 56] Generated Node #0,3,0: 40:[37, 56] Operation: 69-13=56 Exploring Operation: 69-37=32, Resulting Numbers: [13, 32] Generated Node #0,3,1: 40:[13, 32] Operation: 69-37=32 Exploring Operation: 37-13=24, Resulting Numbers: [69, 24] Generated Node #0,3,2: 40:[69, 24] Operation: 37-13=24 Exploring Operation: 13+37=50, Resulting Numbers: [69, 50] Generated Node #0,3,3: 40:[69, 50] Operation: 13+37=50 Exploring Operation: 69+13=82, Resulting Numbers: [37, 82] Generated Node #0,3,4: 40:[37, 82] Operation: 69+13=82 Moving to Node #0,4,0 Current State: 40:[6, 25], Operations: ['31+13=44', '69-44=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[13, 32], Operations: ['6+31=37', '69-37=32'] Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,40 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[37, 56], Operations: ['6+31=37', '69-13=56'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,40 unequal: No Solution Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,40 unequal: No Solution Moving to Node #0,4,4 Current State: 40:[44, 63], Operations: ['31+13=44', '69-6=63'] Exploring Operation: 44*63=2772, Resulting Numbers: [2772] 2772,40 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 44+63=107, Resulting Numbers: [107] 107,40 unequal: No Solution Moving to Node #0,4,3 Current State: 40:[69, 38], Operations: ['31+13=44', '44-6=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,40 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[69, 24], Operations: ['6+31=37', '37-13=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[69, 50], Operations: ['6+31=37', '13+37=50'] Exploring Operation: 69+50=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 69*50=3450, Resulting Numbers: [3450] 3450,40 unequal: No Solution Moving to Node #0,4,2 Current State: 40:[44, 75], Operations: ['31+13=44', '6+69=75'] Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 44+75=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 44*75=3300, Resulting Numbers: [3300] 3300,40 unequal: No Solution Moving to Node #0,4,1 Current State: 40:[69, 50], Operations: ['31+13=44', '6+44=50'] Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 69+50=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 69*50=3450, Resulting Numbers: [3450] 3450,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[37, 82], Operations: ['6+31=37', '69+13=82'] Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,40 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,40 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 31, 74, 63, 94 ]
73
[ "31+63=94", "94/94=1", "74-1=73" ]
Current State: 73:[31, 74, 63, 94], Operations: [] Exploring Operation: 31+63=94, Resulting Numbers: [74, 94, 94] Generated Node #2: [74, 94, 94] from Operation: 31+63=94 Current State: 73:[74, 94, 94], Operations: ['31+63=94'] Exploring Operation: 94/94=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 94/94=1 Current State: 73:[74, 1], Operations: ['31+63=94', '94/94=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[31, 74, 63, 94], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [74, 63, 63] Generated Node #0,0: 73:[74, 63, 63] Operation: 94-31=63 Exploring Operation: 31+63=94, Resulting Numbers: [74, 94, 94] Generated Node #0,1: 73:[74, 94, 94] Operation: 31+63=94 Exploring Operation: 31+74=105, Resulting Numbers: [63, 94, 105] Generated Node #0,2: 73:[63, 94, 105] Operation: 31+74=105 Exploring Operation: 74-31=43, Resulting Numbers: [63, 94, 43] Generated Node #0,3: 73:[63, 94, 43] Operation: 74-31=43 Moving to Node #0,0 Current State: 73:[74, 63, 63], Operations: ['94-31=63'] Exploring Operation: 63/63=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 73:[74, 1] Operation: 63/63=1 Exploring Operation: 63+63=126, Resulting Numbers: [74, 126] Generated Node #0,0,1: 73:[74, 126] Operation: 63+63=126 Exploring Operation: 74-63=11, Resulting Numbers: [63, 11] Generated Node #0,0,2: 73:[63, 11] Operation: 74-63=11 Exploring Operation: 74-63=11, Resulting Numbers: [63, 11] Generated Node #0,0,3: 73:[63, 11] Operation: 74-63=11 Moving to Node #0,1 Current State: 73:[74, 94, 94], Operations: ['31+63=94'] Exploring Operation: 94-74=20, Resulting Numbers: [94, 20] Generated Node #0,1,0: 73:[94, 20] Operation: 94-74=20 Exploring Operation: 94/94=1, Resulting Numbers: [74, 1] Generated Node #0,1,1: 73:[74, 1] Operation: 94/94=1 Exploring Operation: 94-94=0, Resulting Numbers: [74, 0] Generated Node #0,1,2: 73:[74, 0] Operation: 94-94=0 Exploring Operation: 94-74=20, Resulting Numbers: [94, 20] Generated Node #0,1,3: 73:[94, 20] Operation: 94-74=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[74, 1], Operations: ['31+63=94', '94/94=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[31, 74, 63, 94], Operations: [] Exploring Operation: 31+63=94, Resulting Numbers: [74, 94, 94] Generated Node #0,1: 73:[74, 94, 94] Operation: 31+63=94 Moving to Node #0,1 Current State: 73:[74, 94, 94], Operations: ['31+63=94'] Exploring Operation: 94/94=1, Resulting Numbers: [74, 1] Generated Node #0,1,1: 73:[74, 1] Operation: 94/94=1 Moving to Node #0,1,1 Current State: 73:[74, 1], Operations: ['31+63=94', '94/94=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 4, 75, 64, 70 ]
84
[ "75-70=5", "4*5=20", "64+20=84" ]
Current State: 84:[4, 75, 64, 70], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [4, 64, 5] Generated Node #2: [4, 64, 5] from Operation: 75-70=5 Current State: 84:[4, 64, 5], Operations: ['75-70=5'] Exploring Operation: 4*5=20, Resulting Numbers: [64, 20] Generated Node #3: [64, 20] from Operation: 4*5=20 Current State: 84:[64, 20], Operations: ['75-70=5', '4*5=20'] Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[4, 75, 64, 70], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [4, 70, 11] Generated Node #0,0: 84:[4, 70, 11] Operation: 75-64=11 Exploring Operation: 70-64=6, Resulting Numbers: [4, 75, 6] Generated Node #0,1: 84:[4, 75, 6] Operation: 70-64=6 Moving to Node #0,1 Current State: 84:[4, 75, 6], Operations: ['70-64=6'] Exploring Operation: 75+6=81, Resulting Numbers: [4, 81] Generated Node #0,1,0: 84:[4, 81] Operation: 75+6=81 Exploring Operation: 4+75=79, Resulting Numbers: [6, 79] Generated Node #0,1,1: 84:[6, 79] Operation: 4+75=79 Moving to Node #0,0 Current State: 84:[4, 70, 11], Operations: ['75-64=11'] Exploring Operation: 70+11=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 84:[4, 81] Operation: 70+11=81 Exploring Operation: 4+70=74, Resulting Numbers: [11, 74] Generated Node #0,0,1: 84:[11, 74] Operation: 4+70=74 Moving to Node #0,1,0 Current State: 84:[4, 81], Operations: ['70-64=6', '75+6=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[4, 81], Operations: ['75-64=11', '70+11=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[6, 79], Operations: ['70-64=6', '4+75=79'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[11, 74], Operations: ['75-64=11', '4+70=74'] Exploring Operation: 11+74=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,84 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 43, 85, 41, 6 ]
77
[ "85-43=42", "41-6=35", "42+35=77" ]
Current State: 77:[43, 85, 41, 6], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [41, 6, 42] Generated Node #2: [41, 6, 42] from Operation: 85-43=42 Current State: 77:[41, 6, 42], Operations: ['85-43=42'] Exploring Operation: 41-6=35, Resulting Numbers: [42, 35] Generated Node #3: [42, 35] from Operation: 41-6=35 Current State: 77:[42, 35], Operations: ['85-43=42', '41-6=35'] Exploring Operation: 42+35=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[43, 85, 41, 6], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [85, 6, 2] Generated Node #0,0: 77:[85, 6, 2] Operation: 43-41=2 Exploring Operation: 43+41=84, Resulting Numbers: [85, 6, 84] Generated Node #0,1: 77:[85, 6, 84] Operation: 43+41=84 Exploring Operation: 85-43=42, Resulting Numbers: [41, 6, 42] Generated Node #0,2: 77:[41, 6, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 77:[85, 6, 2], Operations: ['43-41=2'] Exploring Operation: 85-6=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 77:[2, 79] Operation: 85-6=79 Exploring Operation: 85-2=83, Resulting Numbers: [6, 83] Generated Node #0,0,1: 77:[6, 83] Operation: 85-2=83 Exploring Operation: 6+2=8, Resulting Numbers: [85, 8] Generated Node #0,0,2: 77:[85, 8] Operation: 6+2=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[2, 79], Operations: ['43-41=2', '85-6=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,77 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[43, 85, 41, 6], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [85, 6, 2] Generated Node #0,0: 77:[85, 6, 2] Operation: 43-41=2 Moving to Node #0,0 Current State: 77:[85, 6, 2], Operations: ['43-41=2'] Exploring Operation: 85-6=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 77:[2, 79] Operation: 85-6=79 Moving to Node #0,0,0 Current State: 77:[2, 79], Operations: ['43-41=2', '85-6=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 50, 94, 72, 94 ]
50
[ "94-94=0", "72*0=0", "50+0=50" ]
Current State: 50:[50, 94, 72, 94], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [50, 72, 0] Generated Node #2: [50, 72, 0] from Operation: 94-94=0 Current State: 50:[50, 72, 0], Operations: ['94-94=0'] Exploring Operation: 72*0=0, Resulting Numbers: [50, 0] Generated Node #3: [50, 0] from Operation: 72*0=0 Current State: 50:[50, 0], Operations: ['94-94=0', '72*0=0'] Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[50, 94, 72, 94], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [50, 72, 0] Generated Node #0,0: 50:[50, 72, 0] Operation: 94-94=0 Exploring Operation: 94/94=1, Resulting Numbers: [50, 72, 1] Generated Node #0,1: 50:[50, 72, 1] Operation: 94/94=1 Exploring Operation: 94-72=22, Resulting Numbers: [50, 94, 22] Generated Node #0,2: 50:[50, 94, 22] Operation: 94-72=22 Moving to Node #0,1 Current State: 50:[50, 72, 1], Operations: ['94/94=1'] Exploring Operation: 50*1=50, Resulting Numbers: [72, 50] Generated Node #0,1,0: 50:[72, 50] Operation: 50*1=50 Exploring Operation: 72-1=71, Resulting Numbers: [50, 71] Generated Node #0,1,1: 50:[50, 71] Operation: 72-1=71 Exploring Operation: 72-50=22, Resulting Numbers: [1, 22] Generated Node #0,1,2: 50:[1, 22] Operation: 72-50=22 Moving to Node #0,0 Current State: 50:[50, 72, 0], Operations: ['94-94=0'] Exploring Operation: 72*0=0, Resulting Numbers: [50, 0] Generated Node #0,0,0: 50:[50, 0] Operation: 72*0=0 Exploring Operation: 50+0=50, Resulting Numbers: [72, 50] Generated Node #0,0,1: 50:[72, 50] Operation: 50+0=50 Exploring Operation: 72-50=22, Resulting Numbers: [0, 22] Generated Node #0,0,2: 50:[0, 22] Operation: 72-50=22 Moving to Node #0,2 Current State: 50:[50, 94, 22], Operations: ['94-72=22'] Exploring Operation: 94-22=72, Resulting Numbers: [50, 72] Generated Node #0,2,0: 50:[50, 72] Operation: 94-22=72 Exploring Operation: 94-50=44, Resulting Numbers: [22, 44] Generated Node #0,2,1: 50:[22, 44] Operation: 94-50=44 Exploring Operation: 50-22=28, Resulting Numbers: [94, 28] Generated Node #0,2,2: 50:[94, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[22, 44], Operations: ['94-72=22', '94-50=44'] Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,50 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,50 unequal: No Solution No 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: 50:[50, 72], Operations: ['94-72=22', '94-22=72'] Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,50 unequal: No Solution Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,50 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,50 unequal: No Solution No 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: 50:[94, 28], Operations: ['94-72=22', '50-22=28'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,50 unequal: No Solution Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,50 unequal: No Solution Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,50 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: 50:[50, 0], Operations: ['94-94=0', '72*0=0'] Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[50, 94, 72, 94], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [50, 72, 0] Generated Node #0,0: 50:[50, 72, 0] Operation: 94-94=0 Moving to Node #0,0 Current State: 50:[50, 72, 0], Operations: ['94-94=0'] Exploring Operation: 72*0=0, Resulting Numbers: [50, 0] Generated Node #0,0,0: 50:[50, 0] Operation: 72*0=0 Moving to Node #0,0,0 Current State: 50:[50, 0], Operations: ['94-94=0', '72*0=0'] Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 57, 60, 49, 22 ]
68
[ "60-57=3", "49+22=71", "71-3=68" ]
Current State: 68:[57, 60, 49, 22], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [49, 22, 3] Generated Node #2: [49, 22, 3] from Operation: 60-57=3 Current State: 68:[49, 22, 3], Operations: ['60-57=3'] Exploring Operation: 49+22=71, Resulting Numbers: [3, 71] Generated Node #3: [3, 71] from Operation: 49+22=71 Current State: 68:[3, 71], Operations: ['60-57=3', '49+22=71'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[57, 60, 49, 22], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [60, 22, 8] Generated Node #0,0: 68:[60, 22, 8] Operation: 57-49=8 Moving to Node #0,0 Current State: 68:[60, 22, 8], Operations: ['57-49=8'] Exploring Operation: 60+8=68, Resulting Numbers: [22, 68] Generated Node #0,0,0: 68:[22, 68] Operation: 60+8=68 Moving to Node #0,0,0 Current State: 68:[22, 68], Operations: ['57-49=8', '60+8=68'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,68 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 31, 47, 22, 80 ]
74
[ "47-31=16", "80-22=58", "16+58=74" ]
Current State: 74:[31, 47, 22, 80], Operations: [] Exploring Operation: 47-31=16, Resulting Numbers: [22, 80, 16] Generated Node #2: [22, 80, 16] from Operation: 47-31=16 Current State: 74:[22, 80, 16], Operations: ['47-31=16'] Exploring Operation: 80-22=58, Resulting Numbers: [16, 58] Generated Node #3: [16, 58] from Operation: 80-22=58 Current State: 74:[16, 58], Operations: ['47-31=16', '80-22=58'] Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[31, 47, 22, 80], Operations: [] Exploring Operation: 47+22=69, Resulting Numbers: [31, 80, 69] Generated Node #0,0: 74:[31, 80, 69] Operation: 47+22=69 Exploring Operation: 47-22=25, Resulting Numbers: [31, 80, 25] Generated Node #0,1: 74:[31, 80, 25] Operation: 47-22=25 Exploring Operation: 31+47=78, Resulting Numbers: [22, 80, 78] Generated Node #0,2: 74:[22, 80, 78] Operation: 31+47=78 Exploring Operation: 31-22=9, Resulting Numbers: [47, 80, 9] Generated Node #0,3: 74:[47, 80, 9] Operation: 31-22=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[31, 80, 69], Operations: ['47+22=69'] Exploring Operation: 80-31=49, Resulting Numbers: [69, 49] Generated Node #0,0,0: 74:[69, 49] Operation: 80-31=49 Exploring Operation: 31+69=100, Resulting Numbers: [80, 100] Generated Node #0,0,1: 74:[80, 100] Operation: 31+69=100 Exploring Operation: 69-31=38, Resulting Numbers: [80, 38] Generated Node #0,0,2: 74:[80, 38] Operation: 69-31=38 Exploring Operation: 80-69=11, Resulting Numbers: [31, 11] Generated Node #0,0,3: 74:[31, 11] Operation: 80-69=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[80, 38], Operations: ['47+22=69', '69-31=38'] Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,74 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,74 unequal: No Solution No 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: 74:[31, 11], Operations: ['47+22=69', '80-69=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,74 unequal: No Solution No 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: 74:[69, 49], Operations: ['47+22=69', '80-31=49'] Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 69*49=3381, Resulting Numbers: [3381] 3381,74 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,74 unequal: No Solution No 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: 74:[80, 100], Operations: ['47+22=69', '31+69=100'] Exploring Operation: 80+100=180, Resulting Numbers: [180] 180,74 unequal: No Solution Exploring Operation: 100-80=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 80*100=8000, Resulting Numbers: [8000] 8000,74 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: 74:[47, 80, 9], Operations: ['31-22=9'] Exploring Operation: 47+9=56, Resulting Numbers: [80, 56] Generated Node #0,3,0: 74:[80, 56] Operation: 47+9=56 Exploring Operation: 80-9=71, Resulting Numbers: [47, 71] Generated Node #0,3,1: 74:[47, 71] Operation: 80-9=71 Exploring Operation: 47-9=38, Resulting Numbers: [80, 38] Generated Node #0,3,2: 74:[80, 38] Operation: 47-9=38 Exploring Operation: 80-47=33, Resulting Numbers: [9, 33] Generated Node #0,3,3: 74:[9, 33] Operation: 80-47=33 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 74:[80, 38], Operations: ['31-22=9', '47-9=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,74 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,74 unequal: No Solution No 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: 74:[9, 33], Operations: ['31-22=9', '80-47=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,74 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,74 unequal: No Solution No 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: 74:[47, 71], Operations: ['31-22=9', '80-9=71'] Exploring Operation: 47+71=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 47*71=3337, Resulting Numbers: [3337] 3337,74 unequal: No Solution No 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: 74:[80, 56], Operations: ['31-22=9', '47+9=56'] Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 80*56=4480, Resulting Numbers: [4480] 4480,74 unequal: No Solution Exploring Operation: 80+56=136, Resulting Numbers: [136] 136,74 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: 74:[31, 80, 25], Operations: ['47-22=25'] Exploring Operation: 31+25=56, Resulting Numbers: [80, 56] Generated Node #0,1,0: 74:[80, 56] Operation: 31+25=56 Exploring Operation: 31-25=6, Resulting Numbers: [80, 6] Generated Node #0,1,1: 74:[80, 6] Operation: 31-25=6 Exploring Operation: 80-31=49, Resulting Numbers: [25, 49] Generated Node #0,1,2: 74:[25, 49] Operation: 80-31=49 Exploring Operation: 80-25=55, Resulting Numbers: [31, 55] Generated Node #0,1,3: 74:[31, 55] Operation: 80-25=55 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[80, 6], Operations: ['47-22=25', '31-25=6'] Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,74 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,74 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[31, 47, 22, 80], Operations: [] Exploring Operation: 47-22=25, Resulting Numbers: [31, 80, 25] Generated Node #0,1: 74:[31, 80, 25] Operation: 47-22=25 Moving to Node #0,1 Current State: 74:[31, 80, 25], Operations: ['47-22=25'] Exploring Operation: 31-25=6, Resulting Numbers: [80, 6] Generated Node #0,1,1: 74:[80, 6] Operation: 31-25=6 Moving to Node #0,1,1 Current State: 74:[80, 6], Operations: ['47-22=25', '31-25=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 77, 44, 57, 72 ]
18
[ "77-44=33", "72-57=15", "33-15=18" ]
Current State: 18:[77, 44, 57, 72], Operations: [] Exploring Operation: 77-44=33, Resulting Numbers: [57, 72, 33] Generated Node #2: [57, 72, 33] from Operation: 77-44=33 Current State: 18:[57, 72, 33], Operations: ['77-44=33'] Exploring Operation: 72-57=15, Resulting Numbers: [33, 15] Generated Node #3: [33, 15] from Operation: 72-57=15 Current State: 18:[33, 15], Operations: ['77-44=33', '72-57=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[77, 44, 57, 72], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [44, 57, 5] Generated Node #0,0: 18:[44, 57, 5] Operation: 77-72=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[44, 57, 5], Operations: ['77-72=5'] Exploring Operation: 57-44=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 18:[5, 13] Operation: 57-44=13 Moving to Node #0,0,0 Current State: 18:[5, 13], Operations: ['77-72=5', '57-44=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[77, 44, 57, 72], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [44, 57, 5] Generated Node #0,0: 18:[44, 57, 5] Operation: 77-72=5 Moving to Node #0,0 Current State: 18:[44, 57, 5], Operations: ['77-72=5'] Exploring Operation: 57-44=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 18:[5, 13] Operation: 57-44=13 Moving to Node #0,0,0 Current State: 18:[5, 13], Operations: ['77-72=5', '57-44=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 27, 8, 49, 50 ]
20
[ "27-8=19", "50-49=1", "19+1=20" ]
Current State: 20:[27, 8, 49, 50], Operations: [] Exploring Operation: 27-8=19, Resulting Numbers: [49, 50, 19] Generated Node #2: [49, 50, 19] from Operation: 27-8=19 Current State: 20:[49, 50, 19], Operations: ['27-8=19'] Exploring Operation: 50-49=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 50-49=1 Current State: 20:[19, 1], Operations: ['27-8=19', '50-49=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[27, 8, 49, 50], Operations: [] Exploring Operation: 49-27=22, Resulting Numbers: [8, 50, 22] Generated Node #0,0: 20:[8, 50, 22] Operation: 49-27=22 Exploring Operation: 50-27=23, Resulting Numbers: [8, 49, 23] Generated Node #0,1: 20:[8, 49, 23] Operation: 50-27=23 Exploring Operation: 50-49=1, Resulting Numbers: [27, 8, 1] Generated Node #0,2: 20:[27, 8, 1] Operation: 50-49=1 Exploring Operation: 49-8=41, Resulting Numbers: [27, 50, 41] Generated Node #0,3: 20:[27, 50, 41] Operation: 49-8=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[27, 8, 1], Operations: ['50-49=1'] Exploring Operation: 8+1=9, Resulting Numbers: [27, 9] Generated Node #0,2,0: 20:[27, 9] Operation: 8+1=9 Exploring Operation: 27-1=26, Resulting Numbers: [8, 26] Generated Node #0,2,1: 20:[8, 26] Operation: 27-1=26 Exploring Operation: 27-8=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 20:[1, 19] Operation: 27-8=19 Exploring Operation: 27*1=27, Resulting Numbers: [8, 27] Generated Node #0,2,3: 20:[8, 27] Operation: 27*1=27 Moving to Node #0,2,2 Current State: 20:[1, 19], Operations: ['50-49=1', '27-8=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[27, 8, 49, 50], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [27, 8, 1] Generated Node #0,2: 20:[27, 8, 1] Operation: 50-49=1 Moving to Node #0,2 Current State: 20:[27, 8, 1], Operations: ['50-49=1'] Exploring Operation: 27-8=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 20:[1, 19] Operation: 27-8=19 Moving to Node #0,2,2 Current State: 20:[1, 19], Operations: ['50-49=1', '27-8=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 5, 32, 48, 36 ]
68
[ "36-32=4", "5*4=20", "48+20=68" ]
Current State: 68:[5, 32, 48, 36], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [5, 48, 4] Generated Node #2: [5, 48, 4] from Operation: 36-32=4 Current State: 68:[5, 48, 4], Operations: ['36-32=4'] Exploring Operation: 5*4=20, Resulting Numbers: [48, 20] Generated Node #3: [48, 20] from Operation: 5*4=20 Current State: 68:[48, 20], Operations: ['36-32=4', '5*4=20'] Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[5, 32, 48, 36], Operations: [] Exploring Operation: 48-36=12, Resulting Numbers: [5, 32, 12] Generated Node #0,0: 68:[5, 32, 12] Operation: 48-36=12 Exploring Operation: 48-32=16, Resulting Numbers: [5, 36, 16] Generated Node #0,1: 68:[5, 36, 16] Operation: 48-32=16 Moving to Node #0,1 Current State: 68:[5, 36, 16], Operations: ['48-32=16'] Exploring Operation: 36-5=31, Resulting Numbers: [16, 31] Generated Node #0,1,0: 68:[16, 31] Operation: 36-5=31 Exploring Operation: 36-16=20, Resulting Numbers: [5, 20] Generated Node #0,1,1: 68:[5, 20] Operation: 36-16=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[16, 31], Operations: ['48-32=16', '36-5=31'] Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,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,1 Current State: 68:[5, 20], Operations: ['48-32=16', '36-16=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,68 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: 68:[5, 32, 12], Operations: ['48-36=12'] Exploring Operation: 5+12=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 68:[32, 17] Operation: 5+12=17 Exploring Operation: 32-12=20, Resulting Numbers: [5, 20] Generated Node #0,0,1: 68:[5, 20] Operation: 32-12=20 Moving to Node #0,0,0 Current State: 68:[32, 17], Operations: ['48-36=12', '5+12=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[5, 20], Operations: ['48-36=12', '32-12=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,68 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 84, 4, 74, 94 ]
34
[ "94-84=10", "4*10=40", "74-40=34" ]
Current State: 34:[84, 4, 74, 94], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [4, 74, 10] Generated Node #2: [4, 74, 10] from Operation: 94-84=10 Current State: 34:[4, 74, 10], Operations: ['94-84=10'] Exploring Operation: 4*10=40, Resulting Numbers: [74, 40] Generated Node #3: [74, 40] from Operation: 4*10=40 Current State: 34:[74, 40], Operations: ['94-84=10', '4*10=40'] Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[84, 4, 74, 94], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [4, 74, 10] Generated Node #0,0: 34:[4, 74, 10] Operation: 94-84=10 Exploring Operation: 84/4=21, Resulting Numbers: [74, 94, 21] Generated Node #0,1: 34:[74, 94, 21] Operation: 84/4=21 Exploring Operation: 84-74=10, Resulting Numbers: [4, 94, 10] Generated Node #0,2: 34:[4, 94, 10] Operation: 84-74=10 Exploring Operation: 94-74=20, Resulting Numbers: [84, 4, 20] Generated Node #0,3: 34:[84, 4, 20] Operation: 94-74=20 Exploring Operation: 84-4=80, Resulting Numbers: [74, 94, 80] Generated Node #0,4: 34:[74, 94, 80] Operation: 84-4=80 Moving to Node #0,0 Current State: 34:[4, 74, 10], Operations: ['94-84=10'] Exploring Operation: 74-10=64, Resulting Numbers: [4, 64] Generated Node #0,0,0: 34:[4, 64] Operation: 74-10=64 Exploring Operation: 4+10=14, Resulting Numbers: [74, 14] Generated Node #0,0,1: 34:[74, 14] Operation: 4+10=14 Exploring Operation: 10-4=6, Resulting Numbers: [74, 6] Generated Node #0,0,2: 34:[74, 6] Operation: 10-4=6 Exploring Operation: 4*10=40, Resulting Numbers: [74, 40] Generated Node #0,0,3: 34:[74, 40] Operation: 4*10=40 Exploring Operation: 74-4=70, Resulting Numbers: [10, 70] Generated Node #0,0,4: 34:[10, 70] Operation: 74-4=70 Moving to Node #0,3 Current State: 34:[84, 4, 20], Operations: ['94-74=20'] Exploring Operation: 84/4=21, Resulting Numbers: [20, 21] Generated Node #0,3,0: 34:[20, 21] Operation: 84/4=21 Exploring Operation: 84-4=80, Resulting Numbers: [20, 80] Generated Node #0,3,1: 34:[20, 80] Operation: 84-4=80 Exploring Operation: 20-4=16, Resulting Numbers: [84, 16] Generated Node #0,3,2: 34:[84, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [84, 5] Generated Node #0,3,3: 34:[84, 5] Operation: 20/4=5 Exploring Operation: 84-20=64, Resulting Numbers: [4, 64] Generated Node #0,3,4: 34:[4, 64] Operation: 84-20=64 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[20, 21], Operations: ['94-74=20', '84/4=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,34 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,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,3,4 Current State: 34:[4, 64], Operations: ['94-74=20', '84-20=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,34 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,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,3,1 Current State: 34:[20, 80], Operations: ['94-74=20', '84-4=80'] Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 20*80=1600, Resulting Numbers: [1600] 1600,34 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 20+80=100, Resulting Numbers: [100] 100,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,3,2 Current State: 34:[84, 16], Operations: ['94-74=20', '20-4=16'] Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,34 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,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,3,3 Current State: 34:[84, 5], Operations: ['94-74=20', '20/4=5'] Exploring Operation: 84*5=420, Resulting Numbers: [420] 420,34 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,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:[4, 94, 10], Operations: ['84-74=10'] Exploring Operation: 4+10=14, Resulting Numbers: [94, 14] Generated Node #0,2,0: 34:[94, 14] Operation: 4+10=14 Exploring Operation: 94-10=84, Resulting Numbers: [4, 84] Generated Node #0,2,1: 34:[4, 84] Operation: 94-10=84 Exploring Operation: 94-4=90, Resulting Numbers: [10, 90] Generated Node #0,2,2: 34:[10, 90] Operation: 94-4=90 Exploring Operation: 10-4=6, Resulting Numbers: [94, 6] Generated Node #0,2,3: 34:[94, 6] Operation: 10-4=6 Exploring Operation: 4*10=40, Resulting Numbers: [94, 40] Generated Node #0,2,4: 34:[94, 40] Operation: 4*10=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[4, 84], Operations: ['84-74=10', '94-10=84'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 4+84=88, Resulting Numbers: [88] 88,34 unequal: No Solution Exploring Operation: 4*84=336, Resulting Numbers: [336] 336,34 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,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,2,0 Current State: 34:[94, 14], Operations: ['84-74=10', '4+10=14'] Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,34 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,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,2,2 Current State: 34:[10, 90], Operations: ['84-74=10', '94-4=90'] Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,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,2,3 Current State: 34:[94, 6], Operations: ['84-74=10', '10-4=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,34 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,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,2,4 Current State: 34:[94, 40], Operations: ['84-74=10', '4*10=40'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,34 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,34 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: 34:[74, 94, 21], Operations: ['84/4=21'] Exploring Operation: 94+21=115, Resulting Numbers: [74, 115] Generated Node #0,1,0: 34:[74, 115] Operation: 94+21=115 Exploring Operation: 94-74=20, Resulting Numbers: [21, 20] Generated Node #0,1,1: 34:[21, 20] Operation: 94-74=20 Exploring Operation: 94-21=73, Resulting Numbers: [74, 73] Generated Node #0,1,2: 34:[74, 73] Operation: 94-21=73 Exploring Operation: 74-21=53, Resulting Numbers: [94, 53] Generated Node #0,1,3: 34:[94, 53] Operation: 74-21=53 Exploring Operation: 74+21=95, Resulting Numbers: [94, 95] Generated Node #0,1,4: 34:[94, 95] Operation: 74+21=95 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[21, 20], Operations: ['84/4=21', '94-74=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,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,1,2 Current State: 34:[74, 73], Operations: ['84/4=21', '94-21=73'] Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,34 unequal: No Solution Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,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,1,3 Current State: 34:[94, 53], Operations: ['84/4=21', '74-21=53'] Exploring Operation: 94+53=147, Resulting Numbers: [147] 147,34 unequal: No Solution Exploring Operation: 94*53=4982, Resulting Numbers: [4982] 4982,34 unequal: No Solution Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,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,1,0 Current State: 34:[74, 115], Operations: ['84/4=21', '94+21=115'] Exploring Operation: 74+115=189, Resulting Numbers: [189] 189,34 unequal: No Solution Exploring Operation: 74*115=8510, Resulting Numbers: [8510] 8510,34 unequal: No Solution Exploring Operation: 115-74=41, Resulting Numbers: [41] 41,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,1,4 Current State: 34:[94, 95], Operations: ['84/4=21', '74+21=95'] Exploring Operation: 94+95=189, Resulting Numbers: [189] 189,34 unequal: No Solution Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 94*95=8930, Resulting Numbers: [8930] 8930,34 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: 34:[74, 94, 80], Operations: ['84-4=80'] Exploring Operation: 80-74=6, Resulting Numbers: [94, 6] Generated Node #0,4,0: 34:[94, 6] Operation: 80-74=6 Exploring Operation: 94-80=14, Resulting Numbers: [74, 14] Generated Node #0,4,1: 34:[74, 14] Operation: 94-80=14 Exploring Operation: 94-74=20, Resulting Numbers: [80, 20] Generated Node #0,4,2: 34:[80, 20] Operation: 94-74=20 Exploring Operation: 74+94=168, Resulting Numbers: [80, 168] Generated Node #0,4,3: 34:[80, 168] Operation: 74+94=168 Exploring Operation: 74+80=154, Resulting Numbers: [94, 154] Generated Node #0,4,4: 34:[94, 154] Operation: 74+80=154 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[74, 14], Operations: ['84-4=80', '94-80=14'] Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,34 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,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,4,2 Current State: 34:[80, 20], Operations: ['84-4=80', '94-74=20'] Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,34 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,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,4,0 Current State: 34:[94, 6], Operations: ['84-4=80', '80-74=6'] Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,34 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,34 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,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,4,3 Current State: 34:[80, 168], Operations: ['84-4=80', '74+94=168'] Exploring Operation: 80+168=248, Resulting Numbers: [248] 248,34 unequal: No Solution Exploring Operation: 168-80=88, Resulting Numbers: [88] 88,34 unequal: No Solution Exploring Operation: 80*168=13440, Resulting Numbers: [13440] 13440,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,4,4 Current State: 34:[94, 154], Operations: ['84-4=80', '74+80=154'] Exploring Operation: 94*154=14476, Resulting Numbers: [14476] 14476,34 unequal: No Solution Exploring Operation: 94+154=248, Resulting Numbers: [248] 248,34 unequal: No Solution Exploring Operation: 154-94=60, Resulting Numbers: [60] 60,34 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: 34:[4, 64], Operations: ['94-84=10', '74-10=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[10, 70], Operations: ['94-84=10', '74-4=70'] Exploring Operation: 10*70=700, Resulting Numbers: [700] 700,34 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[74, 14], Operations: ['94-84=10', '4+10=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,34 unequal: No Solution Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,34 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[74, 6], Operations: ['94-84=10', '10-4=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,34 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[74, 40], Operations: ['94-84=10', '4*10=40'] Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,34 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[84, 4, 74, 94], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [4, 74, 10] Generated Node #0,0: 34:[4, 74, 10] Operation: 94-84=10 Moving to Node #0,0 Current State: 34:[4, 74, 10], Operations: ['94-84=10'] Exploring Operation: 4*10=40, Resulting Numbers: [74, 40] Generated Node #0,0,3: 34:[74, 40] Operation: 4*10=40 Moving to Node #0,0,3 Current State: 34:[74, 40], Operations: ['94-84=10', '4*10=40'] Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.900174
hs_5
sum_heuristic
[ 97, 95, 64, 26 ]
58
[ "97-95=2", "64/2=32", "26+32=58" ]
Current State: 58:[97, 95, 64, 26], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [64, 26, 2] Generated Node #2: [64, 26, 2] from Operation: 97-95=2 Current State: 58:[64, 26, 2], Operations: ['97-95=2'] Exploring Operation: 64/2=32, Resulting Numbers: [26, 32] Generated Node #3: [26, 32] from Operation: 64/2=32 Current State: 58:[26, 32], Operations: ['97-95=2', '64/2=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[97, 95, 64, 26], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [64, 26, 2] Generated Node #0,0: 58:[64, 26, 2] Operation: 97-95=2 Exploring Operation: 97-64=33, Resulting Numbers: [95, 26, 33] Generated Node #0,1: 58:[95, 26, 33] Operation: 97-64=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[64, 26, 2], Operations: ['97-95=2'] Exploring Operation: 64/2=32, Resulting Numbers: [26, 32] Generated Node #0,0,0: 58:[26, 32] Operation: 64/2=32 Exploring Operation: 64-2=62, Resulting Numbers: [26, 62] Generated Node #0,0,1: 58:[26, 62] Operation: 64-2=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[26, 32], Operations: ['97-95=2', '64/2=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[97, 95, 64, 26], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [64, 26, 2] Generated Node #0,0: 58:[64, 26, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 58:[64, 26, 2], Operations: ['97-95=2'] Exploring Operation: 64/2=32, Resulting Numbers: [26, 32] Generated Node #0,0,0: 58:[26, 32] Operation: 64/2=32 Moving to Node #0,0,0 Current State: 58:[26, 32], Operations: ['97-95=2', '64/2=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 79, 12, 23, 92 ]
95
[ "79+12=91", "92/23=4", "91+4=95" ]
Current State: 95:[79, 12, 23, 92], Operations: [] Exploring Operation: 79+12=91, Resulting Numbers: [23, 92, 91] Generated Node #2: [23, 92, 91] from Operation: 79+12=91 Current State: 95:[23, 92, 91], Operations: ['79+12=91'] Exploring Operation: 92/23=4, Resulting Numbers: [91, 4] Generated Node #3: [91, 4] from Operation: 92/23=4 Current State: 95:[91, 4], Operations: ['79+12=91', '92/23=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[79, 12, 23, 92], Operations: [] Exploring Operation: 79+12=91, Resulting Numbers: [23, 92, 91] Generated Node #0,0: 95:[23, 92, 91] Operation: 79+12=91 Exploring Operation: 79+23=102, Resulting Numbers: [12, 92, 102] Generated Node #0,1: 95:[12, 92, 102] Operation: 79+23=102 Exploring Operation: 92-79=13, Resulting Numbers: [12, 23, 13] Generated Node #0,2: 95:[12, 23, 13] Operation: 92-79=13 Moving to Node #0,0 Current State: 95:[23, 92, 91], Operations: ['79+12=91'] Exploring Operation: 92/23=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 95:[91, 4] Operation: 92/23=4 Exploring Operation: 92-91=1, Resulting Numbers: [23, 1] Generated Node #0,0,1: 95:[23, 1] Operation: 92-91=1 Exploring Operation: 23+91=114, Resulting Numbers: [92, 114] Generated Node #0,0,2: 95:[92, 114] Operation: 23+91=114 Moving to Node #0,1 Current State: 95:[12, 92, 102], Operations: ['79+23=102'] Exploring Operation: 102-92=10, Resulting Numbers: [12, 10] Generated Node #0,1,0: 95:[12, 10] Operation: 102-92=10 Exploring Operation: 102-12=90, Resulting Numbers: [92, 90] Generated Node #0,1,1: 95:[92, 90] Operation: 102-12=90 Exploring Operation: 12+92=104, Resulting Numbers: [102, 104] Generated Node #0,1,2: 95:[102, 104] Operation: 12+92=104 Moving to Node #0,2 Current State: 95:[12, 23, 13], Operations: ['92-79=13'] Exploring Operation: 13-12=1, Resulting Numbers: [23, 1] Generated Node #0,2,0: 95:[23, 1] Operation: 13-12=1 Exploring Operation: 12+13=25, Resulting Numbers: [23, 25] Generated Node #0,2,1: 95:[23, 25] Operation: 12+13=25 Exploring Operation: 23-12=11, Resulting Numbers: [13, 11] Generated Node #0,2,2: 95:[13, 11] Operation: 23-12=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[23, 1], Operations: ['92-79=13', '13-12=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[23, 25], Operations: ['92-79=13', '12+13=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,95 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[13, 11], Operations: ['92-79=13', '23-12=11'] Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,95 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,95 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: 95:[91, 4], Operations: ['79+12=91', '92/23=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[79, 12, 23, 92], Operations: [] Exploring Operation: 79+12=91, Resulting Numbers: [23, 92, 91] Generated Node #0,0: 95:[23, 92, 91] Operation: 79+12=91 Moving to Node #0,0 Current State: 95:[23, 92, 91], Operations: ['79+12=91'] Exploring Operation: 92/23=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 95:[91, 4] Operation: 92/23=4 Moving to Node #0,0,0 Current State: 95:[91, 4], Operations: ['79+12=91', '92/23=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 31, 6, 12, 45 ]
74
[ "31+45=76", "12/6=2", "76-2=74" ]
Current State: 74:[31, 6, 12, 45], Operations: [] Exploring Operation: 31+45=76, Resulting Numbers: [6, 12, 76] Generated Node #2: [6, 12, 76] from Operation: 31+45=76 Current State: 74:[6, 12, 76], Operations: ['31+45=76'] Exploring Operation: 12/6=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 12/6=2 Current State: 74:[76, 2], Operations: ['31+45=76', '12/6=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[31, 6, 12, 45], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [31, 45, 2] Generated Node #0,0: 74:[31, 45, 2] Operation: 12/6=2 Exploring Operation: 45-12=33, Resulting Numbers: [31, 6, 33] Generated Node #0,1: 74:[31, 6, 33] Operation: 45-12=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[31, 45, 2], Operations: ['12/6=2'] Exploring Operation: 45-31=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 74:[2, 14] Operation: 45-31=14 Exploring Operation: 31+45=76, Resulting Numbers: [2, 76] Generated Node #0,0,1: 74:[2, 76] Operation: 31+45=76 Moving to Node #0,0,1 Current State: 74:[2, 76], Operations: ['12/6=2', '31+45=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[31, 6, 12, 45], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [31, 45, 2] Generated Node #0,0: 74:[31, 45, 2] Operation: 12/6=2 Moving to Node #0,0 Current State: 74:[31, 45, 2], Operations: ['12/6=2'] Exploring Operation: 31+45=76, Resulting Numbers: [2, 76] Generated Node #0,0,1: 74:[2, 76] Operation: 31+45=76 Moving to Node #0,0,1 Current State: 74:[2, 76], Operations: ['12/6=2', '31+45=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 69, 68, 2, 67 ]
65
[ "69-68=1", "67-2=65", "1*65=65" ]
Current State: 65:[69, 68, 2, 67], Operations: [] Exploring Operation: 69-68=1, Resulting Numbers: [2, 67, 1] Generated Node #2: [2, 67, 1] from Operation: 69-68=1 Current State: 65:[2, 67, 1], Operations: ['69-68=1'] Exploring Operation: 67-2=65, Resulting Numbers: [1, 65] Generated Node #3: [1, 65] from Operation: 67-2=65 Current State: 65:[1, 65], Operations: ['69-68=1', '67-2=65'] Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[69, 68, 2, 67], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [69, 68, 65] Generated Node #0,0: 65:[69, 68, 65] Operation: 67-2=65 Exploring Operation: 68-2=66, Resulting Numbers: [69, 67, 66] Generated Node #0,1: 65:[69, 67, 66] Operation: 68-2=66 Exploring Operation: 69-67=2, Resulting Numbers: [68, 2, 2] Generated Node #0,2: 65:[68, 2, 2] Operation: 69-67=2 Exploring Operation: 69-68=1, Resulting Numbers: [2, 67, 1] Generated Node #0,3: 65:[2, 67, 1] Operation: 69-68=1 Exploring Operation: 69-2=67, Resulting Numbers: [68, 67, 67] Generated Node #0,4: 65:[68, 67, 67] Operation: 69-2=67 Moving to Node #0,0 Current State: 65:[69, 68, 65], Operations: ['67-2=65'] Exploring Operation: 69-65=4, Resulting Numbers: [68, 4] Generated Node #0,0,0: 65:[68, 4] Operation: 69-65=4 Exploring Operation: 68-65=3, Resulting Numbers: [69, 3] Generated Node #0,0,1: 65:[69, 3] Operation: 68-65=3 Exploring Operation: 69+65=134, Resulting Numbers: [68, 134] Generated Node #0,0,2: 65:[68, 134] Operation: 69+65=134 Exploring Operation: 69+68=137, Resulting Numbers: [65, 137] Generated Node #0,0,3: 65:[65, 137] Operation: 69+68=137 Exploring Operation: 69-68=1, Resulting Numbers: [65, 1] Generated Node #0,0,4: 65:[65, 1] Operation: 69-68=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[68, 4], Operations: ['67-2=65', '69-65=4'] Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,65 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 65:[65, 1], Operations: ['67-2=65', '69-68=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[69, 68, 2, 67], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [69, 68, 65] Generated Node #0,0: 65:[69, 68, 65] Operation: 67-2=65 Moving to Node #0,0 Current State: 65:[69, 68, 65], Operations: ['67-2=65'] Exploring Operation: 69-68=1, Resulting Numbers: [65, 1] Generated Node #0,0,4: 65:[65, 1] Operation: 69-68=1 Moving to Node #0,0,4 Current State: 65:[65, 1], Operations: ['67-2=65', '69-68=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 99, 43, 83, 39 ]
100
[ "99-43=56", "83-39=44", "56+44=100" ]
Current State: 100:[99, 43, 83, 39], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [83, 39, 56] Generated Node #2: [83, 39, 56] from Operation: 99-43=56 Current State: 100:[83, 39, 56], Operations: ['99-43=56'] Exploring Operation: 83-39=44, Resulting Numbers: [56, 44] Generated Node #3: [56, 44] from Operation: 83-39=44 Current State: 100:[56, 44], Operations: ['99-43=56', '83-39=44'] Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[99, 43, 83, 39], Operations: [] Exploring Operation: 43-39=4, Resulting Numbers: [99, 83, 4] Generated Node #0,0: 100:[99, 83, 4] Operation: 43-39=4 Exploring Operation: 99-83=16, Resulting Numbers: [43, 39, 16] Generated Node #0,1: 100:[43, 39, 16] Operation: 99-83=16 Exploring Operation: 83-39=44, Resulting Numbers: [99, 43, 44] Generated Node #0,2: 100:[99, 43, 44] Operation: 83-39=44 Moving to Node #0,2 Current State: 100:[99, 43, 44], Operations: ['83-39=44'] Exploring Operation: 99-43=56, Resulting Numbers: [44, 56] Generated Node #0,2,0: 100:[44, 56] Operation: 99-43=56 Exploring Operation: 44-43=1, Resulting Numbers: [99, 1] Generated Node #0,2,1: 100:[99, 1] Operation: 44-43=1 Exploring Operation: 99-44=55, Resulting Numbers: [43, 55] Generated Node #0,2,2: 100:[43, 55] Operation: 99-44=55 Moving to Node #0,0 Current State: 100:[99, 83, 4], Operations: ['43-39=4'] Exploring Operation: 99-83=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 100:[4, 16] Operation: 99-83=16 Exploring Operation: 83+4=87, Resulting Numbers: [99, 87] Generated Node #0,0,1: 100:[99, 87] Operation: 83+4=87 Exploring Operation: 99+4=103, Resulting Numbers: [83, 103] Generated Node #0,0,2: 100:[83, 103] Operation: 99+4=103 Moving to Node #0,1 Current State: 100:[43, 39, 16], Operations: ['99-83=16'] Exploring Operation: 39-16=23, Resulting Numbers: [43, 23] Generated Node #0,1,0: 100:[43, 23] Operation: 39-16=23 Exploring Operation: 43-39=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 100:[16, 4] Operation: 43-39=4 Exploring Operation: 39+16=55, Resulting Numbers: [43, 55] Generated Node #0,1,2: 100:[43, 55] Operation: 39+16=55 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[16, 4], Operations: ['99-83=16', '43-39=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[43, 23], Operations: ['99-83=16', '39-16=23'] Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,100 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[43, 55], Operations: ['99-83=16', '39+16=55'] Exploring Operation: 43+55=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 43*55=2365, Resulting Numbers: [2365] 2365,100 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,100 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: 100:[99, 1], Operations: ['83-39=44', '44-43=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[99, 43, 83, 39], Operations: [] Exploring Operation: 83-39=44, Resulting Numbers: [99, 43, 44] Generated Node #0,2: 100:[99, 43, 44] Operation: 83-39=44 Moving to Node #0,2 Current State: 100:[99, 43, 44], Operations: ['83-39=44'] Exploring Operation: 44-43=1, Resulting Numbers: [99, 1] Generated Node #0,2,1: 100:[99, 1] Operation: 44-43=1 Moving to Node #0,2,1 Current State: 100:[99, 1], Operations: ['83-39=44', '44-43=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 22, 28, 21, 80 ]
38
[ "21*80=1680", "1680/28=60", "60-22=38" ]
Current State: 38:[22, 28, 21, 80], Operations: [] Exploring Operation: 21*80=1680, Resulting Numbers: [22, 28, 1680] Generated Node #2: [22, 28, 1680] from Operation: 21*80=1680 Current State: 38:[22, 28, 1680], Operations: ['21*80=1680'] Exploring Operation: 1680/28=60, Resulting Numbers: [22, 60] Generated Node #3: [22, 60] from Operation: 1680/28=60 Current State: 38:[22, 60], Operations: ['21*80=1680', '1680/28=60'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[22, 28, 21, 80], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [22, 21, 52] Generated Node #0,0: 38:[22, 21, 52] Operation: 80-28=52 Exploring Operation: 80-22=58, Resulting Numbers: [28, 21, 58] Generated Node #0,1: 38:[28, 21, 58] Operation: 80-22=58 Exploring Operation: 80-21=59, Resulting Numbers: [22, 28, 59] Generated Node #0,2: 38:[22, 28, 59] Operation: 80-21=59 Moving to Node #0,0 Current State: 38:[22, 21, 52], Operations: ['80-28=52'] Exploring Operation: 52-22=30, Resulting Numbers: [21, 30] Generated Node #0,0,0: 38:[21, 30] Operation: 52-22=30 Exploring Operation: 22-21=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 38:[52, 1] Operation: 22-21=1 Exploring Operation: 52-21=31, Resulting Numbers: [22, 31] Generated Node #0,0,2: 38:[22, 31] Operation: 52-21=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[21, 30], Operations: ['80-28=52', '52-22=30'] Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,38 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,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:[22, 31], Operations: ['80-28=52', '52-21=31'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,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:[52, 1], Operations: ['80-28=52', '22-21=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,38 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: 38:[28, 21, 58], Operations: ['80-22=58'] Exploring Operation: 28-21=7, Resulting Numbers: [58, 7] Generated Node #0,1,0: 38:[58, 7] Operation: 28-21=7 Exploring Operation: 58-21=37, Resulting Numbers: [28, 37] Generated Node #0,1,1: 38:[28, 37] Operation: 58-21=37 Exploring Operation: 58-28=30, Resulting Numbers: [21, 30] Generated Node #0,1,2: 38:[21, 30] Operation: 58-28=30 Moving to Node #0,2 Current State: 38:[22, 28, 59], Operations: ['80-21=59'] Exploring Operation: 59-22=37, Resulting Numbers: [28, 37] Generated Node #0,2,0: 38:[28, 37] Operation: 59-22=37 Exploring Operation: 59-28=31, Resulting Numbers: [22, 31] Generated Node #0,2,1: 38:[22, 31] Operation: 59-28=31 Exploring Operation: 28-22=6, Resulting Numbers: [59, 6] Generated Node #0,2,2: 38:[59, 6] Operation: 28-22=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[28, 37], Operations: ['80-21=59', '59-22=37'] Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,38 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,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,2,1 Current State: 38:[22, 31], Operations: ['80-21=59', '59-28=31'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,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,2,2 Current State: 38:[59, 6], Operations: ['80-21=59', '28-22=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,38 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 38:[28, 37], Operations: ['80-22=58', '58-21=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,38 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[21, 30], Operations: ['80-22=58', '58-28=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[58, 7], Operations: ['80-22=58', '28-21=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,38 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 52, 80, 66, 63 ]
74
[ "63-52=11", "66/11=6", "80-6=74" ]
Current State: 74:[52, 80, 66, 63], Operations: [] Exploring Operation: 63-52=11, Resulting Numbers: [80, 66, 11] Generated Node #2: [80, 66, 11] from Operation: 63-52=11 Current State: 74:[80, 66, 11], Operations: ['63-52=11'] Exploring Operation: 66/11=6, Resulting Numbers: [80, 6] Generated Node #3: [80, 6] from Operation: 66/11=6 Current State: 74:[80, 6], Operations: ['63-52=11', '66/11=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[52, 80, 66, 63], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [52, 80, 3] Generated Node #0,0: 74:[52, 80, 3] Operation: 66-63=3 Exploring Operation: 63-52=11, Resulting Numbers: [80, 66, 11] Generated Node #0,1: 74:[80, 66, 11] Operation: 63-52=11 Moving to Node #0,0 Current State: 74:[52, 80, 3], Operations: ['66-63=3'] Exploring Operation: 52-3=49, Resulting Numbers: [80, 49] Generated Node #0,0,0: 74:[80, 49] Operation: 52-3=49 Exploring Operation: 80-52=28, Resulting Numbers: [3, 28] Generated Node #0,0,1: 74:[3, 28] Operation: 80-52=28 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[3, 28], Operations: ['66-63=3', '80-52=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,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:[80, 49], Operations: ['66-63=3', '52-3=49'] Exploring Operation: 80+49=129, Resulting Numbers: [129] 129,74 unequal: No Solution Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,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:[80, 66, 11], Operations: ['63-52=11'] Exploring Operation: 66+11=77, Resulting Numbers: [80, 77] Generated Node #0,1,0: 74:[80, 77] Operation: 66+11=77 Exploring Operation: 66/11=6, Resulting Numbers: [80, 6] Generated Node #0,1,1: 74:[80, 6] Operation: 66/11=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[80, 77], Operations: ['63-52=11', '66+11=77'] Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,74 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[80, 6], Operations: ['63-52=11', '66/11=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,74 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[52, 80, 66, 63], Operations: [] Exploring Operation: 63-52=11, Resulting Numbers: [80, 66, 11] Generated Node #0,1: 74:[80, 66, 11] Operation: 63-52=11 Moving to Node #0,1 Current State: 74:[80, 66, 11], Operations: ['63-52=11'] Exploring Operation: 66/11=6, Resulting Numbers: [80, 6] Generated Node #0,1,1: 74:[80, 6] Operation: 66/11=6 Moving to Node #0,1,1 Current State: 74:[80, 6], Operations: ['63-52=11', '66/11=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 92, 27, 27, 81 ]
96
[ "27+81=108", "108/27=4", "92+4=96" ]
Current State: 96:[92, 27, 27, 81], Operations: [] Exploring Operation: 27+81=108, Resulting Numbers: [92, 108] Generated Node #2: [92, 108] from Operation: 27+81=108 Current State: 96:[92, 108], Operations: ['27+81=108'] Exploring Operation: 108/27=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 108/27=4 Current State: 96:[92, 4], Operations: ['27+81=108', '108/27=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[92, 27, 27, 81], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [27, 27, 11] Generated Node #0,0: 96:[27, 27, 11] Operation: 92-81=11 Exploring Operation: 81-27=54, Resulting Numbers: [92, 27, 54] Generated Node #0,1: 96:[92, 27, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [92, 27, 3] Generated Node #0,2: 96:[92, 27, 3] Operation: 81/27=3 Exploring Operation: 81-27=54, Resulting Numbers: [92, 27, 54] Generated Node #0,3: 96:[92, 27, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [92, 27, 3] Generated Node #0,4: 96:[92, 27, 3] Operation: 81/27=3 Moving to Node #0,0 Current State: 96:[27, 27, 11], Operations: ['92-81=11'] Exploring Operation: 27-27=0, Resulting Numbers: [11, 0] Generated Node #0,0,0: 96:[11, 0] Operation: 27-27=0 Exploring Operation: 27/27=1, Resulting Numbers: [11, 1] Generated Node #0,0,1: 96:[11, 1] Operation: 27/27=1 Exploring Operation: 27-11=16, Resulting Numbers: [27, 16] Generated Node #0,0,2: 96:[27, 16] Operation: 27-11=16 Exploring Operation: 27-11=16, Resulting Numbers: [27, 16] Generated Node #0,0,3: 96:[27, 16] Operation: 27-11=16 Exploring Operation: 27+27=54, Resulting Numbers: [11, 54] Generated Node #0,0,4: 96:[11, 54] Operation: 27+27=54 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[11, 1], Operations: ['92-81=11', '27/27=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[11, 0], Operations: ['92-81=11', '27-27=0'] Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[27, 16], Operations: ['92-81=11', '27-11=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,96 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[27, 16], Operations: ['92-81=11', '27-11=16'] Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 96:[11, 54], Operations: ['92-81=11', '27+27=54'] Exploring Operation: 11*54=594, Resulting Numbers: [594] 594,96 unequal: No Solution Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,96 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: 96:[92, 27, 3], Operations: ['81/27=3'] Exploring Operation: 92+3=95, Resulting Numbers: [27, 95] Generated Node #0,4,0: 96:[27, 95] Operation: 92+3=95 Exploring Operation: 27+3=30, Resulting Numbers: [92, 30] Generated Node #0,4,1: 96:[92, 30] Operation: 27+3=30 Exploring Operation: 27/3=9, Resulting Numbers: [92, 9] Generated Node #0,4,2: 96:[92, 9] Operation: 27/3=9 Exploring Operation: 92-3=89, Resulting Numbers: [27, 89] Generated Node #0,4,3: 96:[27, 89] Operation: 92-3=89 Exploring Operation: 27-3=24, Resulting Numbers: [92, 24] Generated Node #0,4,4: 96:[92, 24] Operation: 27-3=24 Moving to Node #0,2 Current State: 96:[92, 27, 3], Operations: ['81/27=3'] Exploring Operation: 27/3=9, Resulting Numbers: [92, 9] Generated Node #0,2,0: 96:[92, 9] Operation: 27/3=9 Exploring Operation: 27-3=24, Resulting Numbers: [92, 24] Generated Node #0,2,1: 96:[92, 24] Operation: 27-3=24 Exploring Operation: 27+3=30, Resulting Numbers: [92, 30] Generated Node #0,2,2: 96:[92, 30] Operation: 27+3=30 Exploring Operation: 92-3=89, Resulting Numbers: [27, 89] Generated Node #0,2,3: 96:[27, 89] Operation: 92-3=89 Exploring Operation: 92+3=95, Resulting Numbers: [27, 95] Generated Node #0,2,4: 96:[27, 95] Operation: 92+3=95 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[92, 24], Operations: ['81/27=3', '27-3=24'] Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 96:[27, 95], Operations: ['81/27=3', '92+3=95'] Exploring Operation: 27*95=2565, Resulting Numbers: [2565] 2565,96 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 27+95=122, Resulting Numbers: [122] 122,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[92, 9], Operations: ['81/27=3', '27/3=9'] Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 92*9=828, Resulting Numbers: [828] 828,96 unequal: No Solution Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[92, 30], Operations: ['81/27=3', '27+3=30'] Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,96 unequal: No Solution Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,96 unequal: No Solution Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[27, 89], Operations: ['81/27=3', '92-3=89'] Exploring Operation: 27*89=2403, Resulting Numbers: [2403] 2403,96 unequal: No Solution Exploring Operation: 27+89=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 96:[92, 27, 54], Operations: ['81-27=54'] Exploring Operation: 92-54=38, Resulting Numbers: [27, 38] Generated Node #0,1,0: 96:[27, 38] Operation: 92-54=38 Exploring Operation: 54/27=2, Resulting Numbers: [92, 2] Generated Node #0,1,1: 96:[92, 2] Operation: 54/27=2 Exploring Operation: 92-27=65, Resulting Numbers: [54, 65] Generated Node #0,1,2: 96:[54, 65] Operation: 92-27=65 Exploring Operation: 54-27=27, Resulting Numbers: [92, 27] Generated Node #0,1,3: 96:[92, 27] Operation: 54-27=27 Exploring Operation: 27+54=81, Resulting Numbers: [92, 81] Generated Node #0,1,4: 96:[92, 81] Operation: 27+54=81 Moving to Node #0,3 Current State: 96:[92, 27, 54], Operations: ['81-27=54'] Exploring Operation: 92-27=65, Resulting Numbers: [54, 65] Generated Node #0,3,0: 96:[54, 65] Operation: 92-27=65 Exploring Operation: 54/27=2, Resulting Numbers: [92, 2] Generated Node #0,3,1: 96:[92, 2] Operation: 54/27=2 Exploring Operation: 92-54=38, Resulting Numbers: [27, 38] Generated Node #0,3,2: 96:[27, 38] Operation: 92-54=38 Exploring Operation: 54-27=27, Resulting Numbers: [92, 27] Generated Node #0,3,3: 96:[92, 27] Operation: 54-27=27 Exploring Operation: 27+54=81, Resulting Numbers: [92, 81] Generated Node #0,3,4: 96:[92, 81] Operation: 27+54=81 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 96:[92, 2], Operations: ['81-27=54', '54/27=2'] Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,96 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,96 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,96 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 96:[92, 27], Operations: ['81-27=54', '54-27=27'] Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 92+27=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 92*27=2484, Resulting Numbers: [2484] 2484,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 96:[27, 38], Operations: ['81-27=54', '92-54=38'] Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 96:[92, 81], Operations: ['81-27=54', '27+54=81'] Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,96 unequal: No Solution Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,96 unequal: No Solution Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 96:[54, 65], Operations: ['81-27=54', '92-27=65'] Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,96 unequal: No Solution Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 96:[27, 95], Operations: ['81/27=3', '92+3=95'] Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 27+95=122, Resulting Numbers: [122] 122,96 unequal: No Solution Exploring Operation: 27*95=2565, Resulting Numbers: [2565] 2565,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[92, 2], Operations: ['81-27=54', '54/27=2'] Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,96 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,96 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,96 unequal: No Solution Moving to Node #0,4,4 Current State: 96:[92, 24], Operations: ['81/27=3', '27-3=24'] Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,96 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,96 unequal: No Solution Moving to Node #0,4,2 Current State: 96:[92, 9], Operations: ['81/27=3', '27/3=9'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,96 unequal: No Solution Exploring Operation: 92*9=828, Resulting Numbers: [828] 828,96 unequal: No Solution Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,96 unequal: No Solution Moving to Node #0,4,1 Current State: 96:[92, 30], Operations: ['81/27=3', '27+3=30'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,96 unequal: No Solution Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[92, 27], Operations: ['81-27=54', '54-27=27'] Exploring Operation: 92+27=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 92*27=2484, Resulting Numbers: [2484] 2484,96 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[27, 38], Operations: ['81-27=54', '92-54=38'] Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,96 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,96 unequal: No Solution Moving to Node #0,4,3 Current State: 96:[27, 89], Operations: ['81/27=3', '92-3=89'] Exploring Operation: 27+89=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 27*89=2403, Resulting Numbers: [2403] 2403,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[92, 81], Operations: ['81-27=54', '27+54=81'] Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,96 unequal: No Solution Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[54, 65], Operations: ['81-27=54', '92-27=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,96 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 24, 63, 49, 37 ]
99
[ "24+63=87", "49-37=12", "87+12=99" ]
Current State: 99:[24, 63, 49, 37], Operations: [] Exploring Operation: 24+63=87, Resulting Numbers: [49, 37, 87] Generated Node #2: [49, 37, 87] from Operation: 24+63=87 Current State: 99:[49, 37, 87], Operations: ['24+63=87'] Exploring Operation: 49-37=12, Resulting Numbers: [87, 12] Generated Node #3: [87, 12] from Operation: 49-37=12 Current State: 99:[87, 12], Operations: ['24+63=87', '49-37=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[24, 63, 49, 37], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [24, 37, 14] Generated Node #0,0: 99:[24, 37, 14] Operation: 63-49=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[24, 37, 14], Operations: ['63-49=14'] Exploring Operation: 37-24=13, Resulting Numbers: [14, 13] Generated Node #0,0,0: 99:[14, 13] Operation: 37-24=13 Moving to Node #0,0,0 Current State: 99:[14, 13], Operations: ['63-49=14', '37-24=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,99 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
[ 95, 30, 35, 43 ]
45
[ "95-35=60", "60/30=2", "43+2=45" ]
Current State: 45:[95, 30, 35, 43], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [30, 43, 60] Generated Node #2: [30, 43, 60] from Operation: 95-35=60 Current State: 45:[30, 43, 60], Operations: ['95-35=60'] Exploring Operation: 60/30=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 60/30=2 Current State: 45:[43, 2], Operations: ['95-35=60', '60/30=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[95, 30, 35, 43], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [95, 43, 5] Generated Node #0,0: 45:[95, 43, 5] Operation: 35-30=5 Exploring Operation: 95-43=52, Resulting Numbers: [30, 35, 52] Generated Node #0,1: 45:[30, 35, 52] Operation: 95-43=52 Exploring Operation: 43-30=13, Resulting Numbers: [95, 35, 13] Generated Node #0,2: 45:[95, 35, 13] Operation: 43-30=13 Exploring Operation: 95-30=65, Resulting Numbers: [35, 43, 65] Generated Node #0,3: 45:[35, 43, 65] Operation: 95-30=65 Exploring Operation: 95-35=60, Resulting Numbers: [30, 43, 60] Generated Node #0,4: 45:[30, 43, 60] Operation: 95-35=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[30, 35, 52], Operations: ['95-43=52'] Exploring Operation: 52-30=22, Resulting Numbers: [35, 22] Generated Node #0,1,0: 45:[35, 22] Operation: 52-30=22 Exploring Operation: 30+35=65, Resulting Numbers: [52, 65] Generated Node #0,1,1: 45:[52, 65] Operation: 30+35=65 Exploring Operation: 30+52=82, Resulting Numbers: [35, 82] Generated Node #0,1,2: 45:[35, 82] Operation: 30+52=82 Exploring Operation: 52-35=17, Resulting Numbers: [30, 17] Generated Node #0,1,3: 45:[30, 17] Operation: 52-35=17 Exploring Operation: 35-30=5, Resulting Numbers: [52, 5] Generated Node #0,1,4: 45:[52, 5] Operation: 35-30=5 Moving to Node #0,1,4 Current State: 45:[52, 5], Operations: ['95-43=52', '35-30=5'] Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,45 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[30, 17], Operations: ['95-43=52', '52-35=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,45 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[35, 22], Operations: ['95-43=52', '52-30=22'] Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,45 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[52, 65], Operations: ['95-43=52', '30+35=65'] Exploring Operation: 52+65=117, Resulting Numbers: [117] 117,45 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 52*65=3380, Resulting Numbers: [3380] 3380,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[35, 82], Operations: ['95-43=52', '30+52=82'] Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,45 unequal: No Solution Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,45 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[35, 43, 65], Operations: ['95-30=65'] Exploring Operation: 43-35=8, Resulting Numbers: [65, 8] Generated Node #0,3,0: 45:[65, 8] Operation: 43-35=8 Exploring Operation: 65-43=22, Resulting Numbers: [35, 22] Generated Node #0,3,1: 45:[35, 22] Operation: 65-43=22 Exploring Operation: 35+65=100, Resulting Numbers: [43, 100] Generated Node #0,3,2: 45:[43, 100] Operation: 35+65=100 Exploring Operation: 35+43=78, Resulting Numbers: [65, 78] Generated Node #0,3,3: 45:[65, 78] Operation: 35+43=78 Exploring Operation: 65-35=30, Resulting Numbers: [43, 30] Generated Node #0,3,4: 45:[43, 30] Operation: 65-35=30 Moving to Node #0,3,1 Current State: 45:[35, 22], Operations: ['95-30=65', '65-43=22'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[43, 30], Operations: ['95-30=65', '65-35=30'] Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,45 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[65, 8], Operations: ['95-30=65', '43-35=8'] Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,45 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[65, 78], Operations: ['95-30=65', '35+43=78'] Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 65*78=5070, Resulting Numbers: [5070] 5070,45 unequal: No Solution Exploring Operation: 65+78=143, Resulting Numbers: [143] 143,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[43, 100], Operations: ['95-30=65', '35+65=100'] Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,45 unequal: No Solution Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[30, 43, 60], Operations: ['95-35=60'] Exploring Operation: 30+43=73, Resulting Numbers: [60, 73] Generated Node #0,4,0: 45:[60, 73] Operation: 30+43=73 Exploring Operation: 60-43=17, Resulting Numbers: [30, 17] Generated Node #0,4,1: 45:[30, 17] Operation: 60-43=17 Exploring Operation: 43-30=13, Resulting Numbers: [60, 13] Generated Node #0,4,2: 45:[60, 13] Operation: 43-30=13 Exploring Operation: 60/30=2, Resulting Numbers: [43, 2] Generated Node #0,4,3: 45:[43, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [43, 30] Generated Node #0,4,4: 45:[43, 30] Operation: 60-30=30 Moving to Node #0,4,3 Current State: 45:[43, 2], Operations: ['95-35=60', '60/30=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[95, 30, 35, 43], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [30, 43, 60] Generated Node #0,4: 45:[30, 43, 60] Operation: 95-35=60 Moving to Node #0,4 Current State: 45:[30, 43, 60], Operations: ['95-35=60'] Exploring Operation: 60/30=2, Resulting Numbers: [43, 2] Generated Node #0,4,3: 45:[43, 2] Operation: 60/30=2 Moving to Node #0,4,3 Current State: 45:[43, 2], Operations: ['95-35=60', '60/30=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
mult_heuristic
[ 80, 85, 40, 3 ]
86
[ "80/40=2", "85+3=88", "88-2=86" ]
Current State: 86:[80, 85, 40, 3], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [85, 3, 2] Generated Node #2: [85, 3, 2] from Operation: 80/40=2 Current State: 86:[85, 3, 2], Operations: ['80/40=2'] Exploring Operation: 85+3=88, Resulting Numbers: [2, 88] Generated Node #3: [2, 88] from Operation: 85+3=88 Current State: 86:[2, 88], Operations: ['80/40=2', '85+3=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[80, 85, 40, 3], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [85, 3, 2] Generated Node #0,0: 86:[85, 3, 2] Operation: 80/40=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[85, 3, 2], Operations: ['80/40=2'] Exploring Operation: 85+3=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 86:[2, 88] Operation: 85+3=88 Moving to Node #0,0,0 Current State: 86:[2, 88], Operations: ['80/40=2', '85+3=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[80, 85, 40, 3], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [85, 3, 2] Generated Node #0,0: 86:[85, 3, 2] Operation: 80/40=2 Moving to Node #0,0 Current State: 86:[85, 3, 2], Operations: ['80/40=2'] Exploring Operation: 85+3=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 86:[2, 88] Operation: 85+3=88 Moving to Node #0,0,0 Current State: 86:[2, 88], Operations: ['80/40=2', '85+3=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 61, 68, 76, 80 ]
67
[ "61*76=4636", "4636-80=4556", "4556/68=67" ]
Current State: 67:[61, 68, 76, 80], Operations: [] Exploring Operation: 61*76=4636, Resulting Numbers: [68, 80, 4636] Generated Node #2: [68, 80, 4636] from Operation: 61*76=4636 Current State: 67:[68, 80, 4636], Operations: ['61*76=4636'] Exploring Operation: 4636-80=4556, Resulting Numbers: [68, 4556] Generated Node #3: [68, 4556] from Operation: 4636-80=4556 Current State: 67:[68, 4556], Operations: ['61*76=4636', '4636-80=4556'] Exploring Operation: 4556/68=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[61, 68, 76, 80], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [61, 76, 12] Generated Node #0,0: 67:[61, 76, 12] Operation: 80-68=12 Exploring Operation: 80-61=19, Resulting Numbers: [68, 76, 19] Generated Node #0,1: 67:[68, 76, 19] Operation: 80-61=19 Exploring Operation: 76-61=15, Resulting Numbers: [68, 80, 15] Generated Node #0,2: 67:[68, 80, 15] Operation: 76-61=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[68, 76, 19], Operations: ['80-61=19'] Exploring Operation: 68+19=87, Resulting Numbers: [76, 87] Generated Node #0,1,0: 67:[76, 87] Operation: 68+19=87 Exploring Operation: 68-19=49, Resulting Numbers: [76, 49] Generated Node #0,1,1: 67:[76, 49] Operation: 68-19=49 Exploring Operation: 76-19=57, Resulting Numbers: [68, 57] Generated Node #0,1,2: 67:[68, 57] Operation: 76-19=57 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[68, 57], Operations: ['80-61=19', '76-19=57'] Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,67 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,67 unequal: No Solution No 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: 67:[76, 49], Operations: ['80-61=19', '68-19=49'] Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,67 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,67 unequal: No Solution No 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: 67:[76, 87], Operations: ['80-61=19', '68+19=87'] Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 76+87=163, Resulting Numbers: [163] 163,67 unequal: No Solution Exploring Operation: 76*87=6612, Resulting Numbers: [6612] 6612,67 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: 67:[68, 80, 15], Operations: ['76-61=15'] Exploring Operation: 80-15=65, Resulting Numbers: [68, 65] Generated Node #0,2,0: 67:[68, 65] Operation: 80-15=65 Exploring Operation: 68+15=83, Resulting Numbers: [80, 83] Generated Node #0,2,1: 67:[80, 83] Operation: 68+15=83 Exploring Operation: 68-15=53, Resulting Numbers: [80, 53] Generated Node #0,2,2: 67:[80, 53] Operation: 68-15=53 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[68, 65], Operations: ['76-61=15', '80-15=65'] Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 68*65=4420, Resulting Numbers: [4420] 4420,67 unequal: No Solution No 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: 67:[80, 53], Operations: ['76-61=15', '68-15=53'] Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,67 unequal: No Solution Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,67 unequal: No Solution No 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: 67:[80, 83], Operations: ['76-61=15', '68+15=83'] Exploring Operation: 80+83=163, Resulting Numbers: [163] 163,67 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 80*83=6640, Resulting Numbers: [6640] 6640,67 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: 67:[61, 76, 12], Operations: ['80-68=12'] Exploring Operation: 61+12=73, Resulting Numbers: [76, 73] Generated Node #0,0,0: 67:[76, 73] Operation: 61+12=73 Exploring Operation: 76-12=64, Resulting Numbers: [61, 64] Generated Node #0,0,1: 67:[61, 64] Operation: 76-12=64 Exploring Operation: 61-12=49, Resulting Numbers: [76, 49] Generated Node #0,0,2: 67:[76, 49] Operation: 61-12=49 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[61, 64], Operations: ['80-68=12', '76-12=64'] Exploring Operation: 61+64=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 61*64=3904, Resulting Numbers: [3904] 3904,67 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,67 unequal: No Solution No 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: 67:[76, 73], Operations: ['80-68=12', '61+12=73'] Exploring Operation: 76*73=5548, Resulting Numbers: [5548] 5548,67 unequal: No Solution Exploring Operation: 76+73=149, Resulting Numbers: [149] 149,67 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,67 unequal: No Solution No 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: 67:[76, 49], Operations: ['80-68=12', '61-12=49'] Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 27, 45, 6, 6 ]
60
[ "27+45=72", "6+6=12", "72-12=60" ]
Current State: 60:[27, 45, 6, 6], Operations: [] Exploring Operation: 27+45=72, Resulting Numbers: [6, 6, 72] Generated Node #2: [6, 6, 72] from Operation: 27+45=72 Current State: 60:[6, 6, 72], Operations: ['27+45=72'] Exploring Operation: 6+6=12, Resulting Numbers: [72, 12] Generated Node #3: [72, 12] from Operation: 6+6=12 Current State: 60:[72, 12], Operations: ['27+45=72', '6+6=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[27, 45, 6, 6], Operations: [] Exploring Operation: 45-27=18, Resulting Numbers: [6, 6, 18] Generated Node #0,0: 60:[6, 6, 18] Operation: 45-27=18 Exploring Operation: 45+6=51, Resulting Numbers: [27, 6, 51] Generated Node #0,1: 60:[27, 6, 51] Operation: 45+6=51 Exploring Operation: 27+45=72, Resulting Numbers: [6, 6, 72] Generated Node #0,2: 60:[6, 6, 72] Operation: 27+45=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[6, 6, 18], Operations: ['45-27=18'] Exploring Operation: 18-6=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 60:[6, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 60:[6, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [6, 12] Generated Node #0,0,2: 60:[6, 12] Operation: 18-6=12 Moving to Node #0,0,0 Current State: 60:[6, 12], Operations: ['45-27=18', '18-6=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[6, 3], Operations: ['45-27=18', '18/6=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[6, 12], Operations: ['45-27=18', '18-6=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[27, 6, 51], Operations: ['45+6=51'] Exploring Operation: 6+51=57, Resulting Numbers: [27, 57] Generated Node #0,1,0: 60:[27, 57] Operation: 6+51=57 Exploring Operation: 51-27=24, Resulting Numbers: [6, 24] Generated Node #0,1,1: 60:[6, 24] Operation: 51-27=24 Exploring Operation: 27-6=21, Resulting Numbers: [51, 21] Generated Node #0,1,2: 60:[51, 21] Operation: 27-6=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[6, 24], Operations: ['45+6=51', '51-27=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[27, 57], Operations: ['45+6=51', '6+51=57'] Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,60 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[51, 21], Operations: ['45+6=51', '27-6=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,60 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[6, 6, 72], Operations: ['27+45=72'] Exploring Operation: 72/6=12, Resulting Numbers: [6, 12] Generated Node #0,2,0: 60:[6, 12] Operation: 72/6=12 Exploring Operation: 72-6=66, Resulting Numbers: [6, 66] Generated Node #0,2,1: 60:[6, 66] Operation: 72-6=66 Exploring Operation: 72/6=12, Resulting Numbers: [6, 12] Generated Node #0,2,2: 60:[6, 12] Operation: 72/6=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[6, 12], Operations: ['27+45=72', '72/6=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[6, 12], Operations: ['27+45=72', '72/6=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[6, 66], Operations: ['27+45=72', '72-6=66'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[27, 45, 6, 6], Operations: [] Exploring Operation: 27+45=72, Resulting Numbers: [6, 6, 72] Generated Node #0,2: 60:[6, 6, 72] Operation: 27+45=72 Moving to Node #0,2 Current State: 60:[6, 6, 72], Operations: ['27+45=72'] Exploring Operation: 72-6=66, Resulting Numbers: [6, 66] Generated Node #0,2,1: 60:[6, 66] Operation: 72-6=66 Moving to Node #0,2,1 Current State: 60:[6, 66], Operations: ['27+45=72', '72-6=66'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_3
sum_heuristic
[ 46, 86, 31, 2 ]
35
[ "46+86=132", "132/2=66", "66-31=35" ]
Current State: 35:[46, 86, 31, 2], Operations: [] Exploring Operation: 46+86=132, Resulting Numbers: [31, 2, 132] Generated Node #2: [31, 2, 132] from Operation: 46+86=132 Current State: 35:[31, 2, 132], Operations: ['46+86=132'] Exploring Operation: 132/2=66, Resulting Numbers: [31, 66] Generated Node #3: [31, 66] from Operation: 132/2=66 Current State: 35:[31, 66], Operations: ['46+86=132', '132/2=66'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[46, 86, 31, 2], Operations: [] Exploring Operation: 86-31=55, Resulting Numbers: [46, 2, 55] Generated Node #0,0: 35:[46, 2, 55] Operation: 86-31=55 Exploring Operation: 86/2=43, Resulting Numbers: [46, 31, 43] Generated Node #0,1: 35:[46, 31, 43] Operation: 86/2=43 Exploring Operation: 86-46=40, Resulting Numbers: [31, 2, 40] Generated Node #0,2: 35:[31, 2, 40] Operation: 86-46=40 Exploring Operation: 46-2=44, Resulting Numbers: [86, 31, 44] Generated Node #0,3: 35:[86, 31, 44] Operation: 46-2=44 Exploring Operation: 46-31=15, Resulting Numbers: [86, 2, 15] Generated Node #0,4: 35:[86, 2, 15] Operation: 46-31=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[31, 2, 40], Operations: ['86-46=40'] Exploring Operation: 31-2=29, Resulting Numbers: [40, 29] Generated Node #0,2,0: 35:[40, 29] Operation: 31-2=29 Exploring Operation: 40-31=9, Resulting Numbers: [2, 9] Generated Node #0,2,1: 35:[2, 9] Operation: 40-31=9 Exploring Operation: 31+2=33, Resulting Numbers: [40, 33] Generated Node #0,2,2: 35:[40, 33] Operation: 31+2=33 Exploring Operation: 2+40=42, Resulting Numbers: [31, 42] Generated Node #0,2,3: 35:[31, 42] Operation: 2+40=42 Exploring Operation: 40-2=38, Resulting Numbers: [31, 38] Generated Node #0,2,4: 35:[31, 38] Operation: 40-2=38 Moving to Node #0,2,1 Current State: 35:[2, 9], Operations: ['86-46=40', '40-31=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[31, 38], Operations: ['86-46=40', '40-2=38'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,35 unequal: No Solution Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[40, 33], Operations: ['86-46=40', '31+2=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,35 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[40, 29], Operations: ['86-46=40', '31-2=29'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,35 unequal: No Solution Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[31, 42], Operations: ['86-46=40', '2+40=42'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 31+42=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 31*42=1302, Resulting Numbers: [1302] 1302,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[46, 31, 43], Operations: ['86/2=43'] Exploring Operation: 46+31=77, Resulting Numbers: [43, 77] Generated Node #0,1,0: 35:[43, 77] Operation: 46+31=77 Exploring Operation: 46-43=3, Resulting Numbers: [31, 3] Generated Node #0,1,1: 35:[31, 3] Operation: 46-43=3 Exploring Operation: 31+43=74, Resulting Numbers: [46, 74] Generated Node #0,1,2: 35:[46, 74] Operation: 31+43=74 Exploring Operation: 43-31=12, Resulting Numbers: [46, 12] Generated Node #0,1,3: 35:[46, 12] Operation: 43-31=12 Exploring Operation: 46-31=15, Resulting Numbers: [43, 15] Generated Node #0,1,4: 35:[43, 15] Operation: 46-31=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[31, 3], Operations: ['86/2=43', '46-43=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 35:[46, 12], Operations: ['86/2=43', '43-31=12'] Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 35:[43, 15], Operations: ['86/2=43', '46-31=15'] Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,35 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[43, 77], Operations: ['86/2=43', '46+31=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,35 unequal: No Solution Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[46, 74], Operations: ['86/2=43', '31+43=74'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,35 unequal: No Solution Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[46, 2, 55], Operations: ['86-31=55'] Exploring Operation: 55-46=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 35:[2, 9] Operation: 55-46=9 Exploring Operation: 55-2=53, Resulting Numbers: [46, 53] Generated Node #0,0,1: 35:[46, 53] Operation: 55-2=53 Exploring Operation: 46-2=44, Resulting Numbers: [55, 44] Generated Node #0,0,2: 35:[55, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [55, 23] Generated Node #0,0,3: 35:[55, 23] Operation: 46/2=23 Exploring Operation: 46+2=48, Resulting Numbers: [55, 48] Generated Node #0,0,4: 35:[55, 48] Operation: 46+2=48 Moving to Node #0,0,0 Current State: 35:[2, 9], Operations: ['86-31=55', '55-46=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[55, 44], Operations: ['86-31=55', '46-2=44'] Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,35 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,35 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[46, 53], Operations: ['86-31=55', '55-2=53'] Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,35 unequal: No Solution Exploring Operation: 46*53=2438, Resulting Numbers: [2438] 2438,35 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[55, 23], Operations: ['86-31=55', '46/2=23'] Exploring Operation: 55+23=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 55*23=1265, Resulting Numbers: [1265] 1265,35 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[55, 48], Operations: ['86-31=55', '46+2=48'] Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,35 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[86, 2, 15], Operations: ['46-31=15'] Exploring Operation: 86-15=71, Resulting Numbers: [2, 71] Generated Node #0,4,0: 35:[2, 71] Operation: 86-15=71 Exploring Operation: 86-2=84, Resulting Numbers: [15, 84] Generated Node #0,4,1: 35:[15, 84] Operation: 86-2=84 Exploring Operation: 86/2=43, Resulting Numbers: [15, 43] Generated Node #0,4,2: 35:[15, 43] Operation: 86/2=43 Exploring Operation: 2*15=30, Resulting Numbers: [86, 30] Generated Node #0,4,3: 35:[86, 30] Operation: 2*15=30 Exploring Operation: 15-2=13, Resulting Numbers: [86, 13] Generated Node #0,4,4: 35:[86, 13] Operation: 15-2=13 Moving to Node #0,4,2 Current State: 35:[15, 43], Operations: ['46-31=15', '86/2=43'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 15*43=645, Resulting Numbers: [645] 645,35 unequal: No Solution Moving to Node #0,4,0 Current State: 35:[2, 71], Operations: ['46-31=15', '86-15=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,35 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,35 unequal: No Solution Moving to Node #0,4,3 Current State: 35:[86, 30], Operations: ['46-31=15', '2*15=30'] Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,35 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,35 unequal: No Solution Moving to Node #0,4,1 Current State: 35:[15, 84], Operations: ['46-31=15', '86-2=84'] Exploring Operation: 15*84=1260, Resulting Numbers: [1260] 1260,35 unequal: No Solution Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,35 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,35 unequal: No Solution Moving to Node #0,4,4 Current State: 35:[86, 13], Operations: ['46-31=15', '15-2=13'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,35 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[86, 31, 44], Operations: ['46-2=44'] Exploring Operation: 31+44=75, Resulting Numbers: [86, 75] Generated Node #0,3,0: 35:[86, 75] Operation: 31+44=75 Exploring Operation: 86-31=55, Resulting Numbers: [44, 55] Generated Node #0,3,1: 35:[44, 55] Operation: 86-31=55 Exploring Operation: 86-44=42, Resulting Numbers: [31, 42] Generated Node #0,3,2: 35:[31, 42] Operation: 86-44=42 Exploring Operation: 86+31=117, Resulting Numbers: [44, 117] Generated Node #0,3,3: 35:[44, 117] Operation: 86+31=117 Exploring Operation: 44-31=13, Resulting Numbers: [86, 13] Generated Node #0,3,4: 35:[86, 13] Operation: 44-31=13 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[31, 42], Operations: ['46-2=44', '86-44=42'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 31+42=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 31*42=1302, Resulting Numbers: [1302] 1302,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[44, 55], Operations: ['46-2=44', '86-31=55'] Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,35 unequal: No Solution Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,35 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 35:[86, 13], Operations: ['46-2=44', '44-31=13'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,35 unequal: No Solution Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[86, 75], Operations: ['46-2=44', '31+44=75'] Exploring Operation: 86+75=161, Resulting Numbers: [161] 161,35 unequal: No Solution Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 86*75=6450, Resulting Numbers: [6450] 6450,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[44, 117], Operations: ['46-2=44', '86+31=117'] Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 44+117=161, Resulting Numbers: [161] 161,35 unequal: No Solution Exploring Operation: 44*117=5148, Resulting Numbers: [5148] 5148,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 97, 12, 1, 7 ]
25
[ "7-1=6", "12*6=72", "97-72=25" ]
Current State: 25:[97, 12, 1, 7], Operations: [] Exploring Operation: 7-1=6, Resulting Numbers: [97, 12, 6] Generated Node #2: [97, 12, 6] from Operation: 7-1=6 Current State: 25:[97, 12, 6], Operations: ['7-1=6'] Exploring Operation: 12*6=72, Resulting Numbers: [97, 72] Generated Node #3: [97, 72] from Operation: 12*6=72 Current State: 25:[97, 72], Operations: ['7-1=6', '12*6=72'] Exploring Operation: 97-72=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[97, 12, 1, 7], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [97, 1, 5] Generated Node #0,0: 25:[97, 1, 5] Operation: 12-7=5 Exploring Operation: 97-12=85, Resulting Numbers: [1, 7, 85] Generated Node #0,1: 25:[1, 7, 85] Operation: 97-12=85 Exploring Operation: 97-1=96, Resulting Numbers: [12, 7, 96] Generated Node #0,2: 25:[12, 7, 96] Operation: 97-1=96 Exploring Operation: 97-7=90, Resulting Numbers: [12, 1, 90] Generated Node #0,3: 25:[12, 1, 90] Operation: 97-7=90 Moving to Node #0,1 Current State: 25:[1, 7, 85], Operations: ['97-12=85'] Exploring Operation: 1*7=7, Resulting Numbers: [85, 7] Generated Node #0,1,0: 25:[85, 7] Operation: 1*7=7 Exploring Operation: 85-7=78, Resulting Numbers: [1, 78] Generated Node #0,1,1: 25:[1, 78] Operation: 85-7=78 Exploring Operation: 7-1=6, Resulting Numbers: [85, 6] Generated Node #0,1,2: 25:[85, 6] Operation: 7-1=6 Exploring Operation: 85-1=84, Resulting Numbers: [7, 84] Generated Node #0,1,3: 25:[7, 84] Operation: 85-1=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[1, 78], Operations: ['97-12=85', '85-7=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 1+78=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[85, 6], Operations: ['97-12=85', '7-1=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[7, 84], Operations: ['97-12=85', '85-1=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,25 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[85, 7], Operations: ['97-12=85', '1*7=7'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,25 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: 25:[12, 1, 90], Operations: ['97-7=90'] Exploring Operation: 12*1=12, Resulting Numbers: [90, 12] Generated Node #0,3,0: 25:[90, 12] Operation: 12*1=12 Exploring Operation: 90-1=89, Resulting Numbers: [12, 89] Generated Node #0,3,1: 25:[12, 89] Operation: 90-1=89 Exploring Operation: 12-1=11, Resulting Numbers: [90, 11] Generated Node #0,3,2: 25:[90, 11] Operation: 12-1=11 Exploring Operation: 90-12=78, Resulting Numbers: [1, 78] Generated Node #0,3,3: 25:[1, 78] Operation: 90-12=78 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[1, 78], Operations: ['97-7=90', '90-12=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 1+78=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[12, 89], Operations: ['97-7=90', '90-1=89'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 12*89=1068, Resulting Numbers: [1068] 1068,25 unequal: No Solution Exploring Operation: 12+89=101, Resulting Numbers: [101] 101,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[90, 11], Operations: ['97-7=90', '12-1=11'] Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,25 unequal: No Solution Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[90, 12], Operations: ['97-7=90', '12*1=12'] Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 90*12=1080, Resulting Numbers: [1080] 1080,25 unequal: No Solution Exploring Operation: 90+12=102, Resulting Numbers: [102] 102,25 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: 25:[97, 1, 5], Operations: ['12-7=5'] Exploring Operation: 97/1=97, Resulting Numbers: [5, 97] Generated Node #0,0,0: 25:[5, 97] Operation: 97/1=97 Exploring Operation: 97*1=97, Resulting Numbers: [5, 97] Generated Node #0,0,1: 25:[5, 97] Operation: 97*1=97 Exploring Operation: 97-5=92, Resulting Numbers: [1, 92] Generated Node #0,0,2: 25:[1, 92] Operation: 97-5=92 Exploring Operation: 97-1=96, Resulting Numbers: [5, 96] Generated Node #0,0,3: 25:[5, 96] Operation: 97-1=96 Moving to Node #0,2 Current State: 25:[12, 7, 96], Operations: ['97-1=96'] Exploring Operation: 96/12=8, Resulting Numbers: [7, 8] Generated Node #0,2,0: 25:[7, 8] Operation: 96/12=8 Exploring Operation: 96-12=84, Resulting Numbers: [7, 84] Generated Node #0,2,1: 25:[7, 84] Operation: 96-12=84 Exploring Operation: 96-7=89, Resulting Numbers: [12, 89] Generated Node #0,2,2: 25:[12, 89] Operation: 96-7=89 Exploring Operation: 12-7=5, Resulting Numbers: [96, 5] Generated Node #0,2,3: 25:[96, 5] Operation: 12-7=5 Moving to Node #0,2,0 Current State: 25:[7, 8], Operations: ['97-1=96', '96/12=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[7, 84], Operations: ['97-1=96', '96-12=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,25 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[12, 89], Operations: ['97-1=96', '96-7=89'] Exploring Operation: 12*89=1068, Resulting Numbers: [1068] 1068,25 unequal: No Solution Exploring Operation: 12+89=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[1, 92], Operations: ['12-7=5', '97-5=92'] Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,25 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[5, 96], Operations: ['12-7=5', '97-1=96'] Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,25 unequal: No Solution Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[96, 5], Operations: ['97-1=96', '12-7=5'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 96*5=480, Resulting Numbers: [480] 480,25 unequal: No Solution Exploring Operation: 96+5=101, Resulting Numbers: [101] 101,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[5, 97], Operations: ['12-7=5', '97*1=97'] Exploring Operation: 5*97=485, Resulting Numbers: [485] 485,25 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 5+97=102, Resulting Numbers: [102] 102,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[5, 97], Operations: ['12-7=5', '97/1=97'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,25 unequal: No Solution Exploring Operation: 5+97=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 5*97=485, Resulting Numbers: [485] 485,25 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 22, 14, 2, 46 ]
80
[ "22+14=36", "46-2=44", "36+44=80" ]
Current State: 80:[22, 14, 2, 46], Operations: [] Exploring Operation: 22+14=36, Resulting Numbers: [2, 46, 36] Generated Node #2: [2, 46, 36] from Operation: 22+14=36 Current State: 80:[2, 46, 36], Operations: ['22+14=36'] Exploring Operation: 46-2=44, Resulting Numbers: [36, 44] Generated Node #3: [36, 44] from Operation: 46-2=44 Current State: 80:[36, 44], Operations: ['22+14=36', '46-2=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[22, 14, 2, 46], Operations: [] Exploring Operation: 46-22=24, Resulting Numbers: [14, 2, 24] Generated Node #0,0: 80:[14, 2, 24] Operation: 46-22=24 Exploring Operation: 22-14=8, Resulting Numbers: [2, 46, 8] Generated Node #0,1: 80:[2, 46, 8] Operation: 22-14=8 Exploring Operation: 22-2=20, Resulting Numbers: [14, 46, 20] Generated Node #0,2: 80:[14, 46, 20] Operation: 22-2=20 Exploring Operation: 46/2=23, Resulting Numbers: [22, 14, 23] Generated Node #0,3: 80:[22, 14, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[14, 2, 24], Operations: ['46-22=24'] Exploring Operation: 14+2=16, Resulting Numbers: [24, 16] Generated Node #0,0,0: 80:[24, 16] Operation: 14+2=16 Exploring Operation: 14+24=38, Resulting Numbers: [2, 38] Generated Node #0,0,1: 80:[2, 38] Operation: 14+24=38 Exploring Operation: 24-2=22, Resulting Numbers: [14, 22] Generated Node #0,0,2: 80:[14, 22] Operation: 24-2=22 Exploring Operation: 24-14=10, Resulting Numbers: [2, 10] Generated Node #0,0,3: 80:[2, 10] Operation: 24-14=10 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[2, 10], Operations: ['46-22=24', '24-14=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[2, 38], Operations: ['46-22=24', '14+24=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[24, 16], Operations: ['46-22=24', '14+2=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,80 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[14, 22], Operations: ['46-22=24', '24-2=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,80 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[2, 46, 8], Operations: ['22-14=8'] Exploring Operation: 46/2=23, Resulting Numbers: [8, 23] Generated Node #0,1,0: 80:[8, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [8, 44] Generated Node #0,1,1: 80:[8, 44] Operation: 46-2=44 Exploring Operation: 46-8=38, Resulting Numbers: [2, 38] Generated Node #0,1,2: 80:[2, 38] Operation: 46-8=38 Exploring Operation: 2+8=10, Resulting Numbers: [46, 10] Generated Node #0,1,3: 80:[46, 10] Operation: 2+8=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[2, 38], Operations: ['22-14=8', '46-8=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[8, 23], Operations: ['22-14=8', '46/2=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,80 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[8, 44], Operations: ['22-14=8', '46-2=44'] Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,80 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 80:[46, 10], Operations: ['22-14=8', '2+8=10'] Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,80 unequal: No Solution Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[22, 14, 23], Operations: ['46/2=23'] Exploring Operation: 23-14=9, Resulting Numbers: [22, 9] Generated Node #0,3,0: 80:[22, 9] Operation: 23-14=9 Exploring Operation: 23-22=1, Resulting Numbers: [14, 1] Generated Node #0,3,1: 80:[14, 1] Operation: 23-22=1 Exploring Operation: 22-14=8, Resulting Numbers: [23, 8] Generated Node #0,3,2: 80:[23, 8] Operation: 22-14=8 Exploring Operation: 14+23=37, Resulting Numbers: [22, 37] Generated Node #0,3,3: 80:[22, 37] Operation: 14+23=37 Moving to Node #0,3,0 Current State: 80:[22, 9], Operations: ['46/2=23', '23-14=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[23, 8], Operations: ['46/2=23', '22-14=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,80 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[14, 1], Operations: ['46/2=23', '23-22=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[22, 37], Operations: ['46/2=23', '14+23=37'] Exploring Operation: 22*37=814, Resulting Numbers: [814] 814,80 unequal: No Solution Exploring Operation: 22+37=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[14, 46, 20], Operations: ['22-2=20'] Exploring Operation: 14+20=34, Resulting Numbers: [46, 34] Generated Node #0,2,0: 80:[46, 34] Operation: 14+20=34 Exploring Operation: 20-14=6, Resulting Numbers: [46, 6] Generated Node #0,2,1: 80:[46, 6] Operation: 20-14=6 Exploring Operation: 46-20=26, Resulting Numbers: [14, 26] Generated Node #0,2,2: 80:[14, 26] Operation: 46-20=26 Exploring Operation: 46-14=32, Resulting Numbers: [20, 32] Generated Node #0,2,3: 80:[20, 32] Operation: 46-14=32 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[46, 6], Operations: ['22-2=20', '20-14=6'] Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,80 unequal: No Solution Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[14, 26], Operations: ['22-2=20', '46-20=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[20, 32], Operations: ['22-2=20', '46-14=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[46, 34], Operations: ['22-2=20', '14+20=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,80 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[22, 14, 2, 46], Operations: [] Exploring Operation: 22-2=20, Resulting Numbers: [14, 46, 20] Generated Node #0,2: 80:[14, 46, 20] Operation: 22-2=20 Moving to Node #0,2 Current State: 80:[14, 46, 20], Operations: ['22-2=20'] Exploring Operation: 14+20=34, Resulting Numbers: [46, 34] Generated Node #0,2,0: 80:[46, 34] Operation: 14+20=34 Moving to Node #0,2,0 Current State: 80:[46, 34], Operations: ['22-2=20', '14+20=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.934028
hs_4
sum_heuristic
[ 64, 76, 58, 23 ]
59
[ "64+76=140", "58+23=81", "140-81=59" ]
Current State: 59:[64, 76, 58, 23], Operations: [] Exploring Operation: 64+76=140, Resulting Numbers: [58, 23, 140] Generated Node #2: [58, 23, 140] from Operation: 64+76=140 Current State: 59:[58, 23, 140], Operations: ['64+76=140'] Exploring Operation: 58+23=81, Resulting Numbers: [140, 81] Generated Node #3: [140, 81] from Operation: 58+23=81 Current State: 59:[140, 81], Operations: ['64+76=140', '58+23=81'] Exploring Operation: 140-81=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[64, 76, 58, 23], Operations: [] Exploring Operation: 58+23=81, Resulting Numbers: [64, 76, 81] Generated Node #0,0: 59:[64, 76, 81] Operation: 58+23=81 Exploring Operation: 76-23=53, Resulting Numbers: [64, 58, 53] Generated Node #0,1: 59:[64, 58, 53] Operation: 76-23=53 Exploring Operation: 64+23=87, Resulting Numbers: [76, 58, 87] Generated Node #0,2: 59:[76, 58, 87] Operation: 64+23=87 Exploring Operation: 64-23=41, Resulting Numbers: [76, 58, 41] Generated Node #0,3: 59:[76, 58, 41] Operation: 64-23=41 Moving to Node #0,1 Current State: 59:[64, 58, 53], Operations: ['76-23=53'] Exploring Operation: 64-53=11, Resulting Numbers: [58, 11] Generated Node #0,1,0: 59:[58, 11] Operation: 64-53=11 Exploring Operation: 58+53=111, Resulting Numbers: [64, 111] Generated Node #0,1,1: 59:[64, 111] Operation: 58+53=111 Exploring Operation: 64-58=6, Resulting Numbers: [53, 6] Generated Node #0,1,2: 59:[53, 6] Operation: 64-58=6 Exploring Operation: 64+53=117, Resulting Numbers: [58, 117] Generated Node #0,1,3: 59:[58, 117] Operation: 64+53=117 Moving to Node #0,3 Current State: 59:[76, 58, 41], Operations: ['64-23=41'] Exploring Operation: 76-41=35, Resulting Numbers: [58, 35] Generated Node #0,3,0: 59:[58, 35] Operation: 76-41=35 Exploring Operation: 58+41=99, Resulting Numbers: [76, 99] Generated Node #0,3,1: 59:[76, 99] Operation: 58+41=99 Exploring Operation: 76-58=18, Resulting Numbers: [41, 18] Generated Node #0,3,2: 59:[41, 18] Operation: 76-58=18 Exploring Operation: 76+41=117, Resulting Numbers: [58, 117] Generated Node #0,3,3: 59:[58, 117] Operation: 76+41=117 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[58, 35], Operations: ['64-23=41', '76-41=35'] Exploring Operation: 58*35=2030, Resulting Numbers: [2030] 2030,59 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[76, 99], Operations: ['64-23=41', '58+41=99'] Exploring Operation: 76*99=7524, Resulting Numbers: [7524] 7524,59 unequal: No Solution Exploring Operation: 99-76=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 76+99=175, Resulting Numbers: [175] 175,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[41, 18], Operations: ['64-23=41', '76-58=18'] Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[64, 76, 58, 23], Operations: [] Exploring Operation: 64-23=41, Resulting Numbers: [76, 58, 41] Generated Node #0,3: 59:[76, 58, 41] Operation: 64-23=41 Moving to Node #0,3 Current State: 59:[76, 58, 41], Operations: ['64-23=41'] Exploring Operation: 76-58=18, Resulting Numbers: [41, 18] Generated Node #0,3,2: 59:[41, 18] Operation: 76-58=18 Moving to Node #0,3,2 Current State: 59:[41, 18], Operations: ['64-23=41', '76-58=18'] Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 55, 4, 20, 60 ]
85
[ "60-55=5", "4*20=80", "5+80=85" ]
Current State: 85:[55, 4, 20, 60], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [4, 20, 5] Generated Node #2: [4, 20, 5] from Operation: 60-55=5 Current State: 85:[4, 20, 5], Operations: ['60-55=5'] Exploring Operation: 4*20=80, Resulting Numbers: [5, 80] Generated Node #3: [5, 80] from Operation: 4*20=80 Current State: 85:[5, 80], Operations: ['60-55=5', '4*20=80'] Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[55, 4, 20, 60], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [55, 20, 15] Generated Node #0,0: 85:[55, 20, 15] Operation: 60/4=15 Exploring Operation: 60-55=5, Resulting Numbers: [4, 20, 5] Generated Node #0,1: 85:[4, 20, 5] Operation: 60-55=5 Exploring Operation: 60/20=3, Resulting Numbers: [55, 4, 3] Generated Node #0,2: 85:[55, 4, 3] Operation: 60/20=3 Exploring Operation: 55+60=115, Resulting Numbers: [4, 20, 115] Generated Node #0,3: 85:[4, 20, 115] Operation: 55+60=115 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[4, 20, 5], Operations: ['60-55=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 85:[4, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 85:[4, 15] Operation: 20-5=15 Exploring Operation: 20-4=16, Resulting Numbers: [5, 16] Generated Node #0,1,2: 85:[5, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [5, 5] Generated Node #0,1,3: 85:[5, 5] Operation: 20/4=5 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 85:[5, 5], Operations: ['60-55=5', '20/4=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[5, 16], Operations: ['60-55=5', '20-4=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[4, 4], Operations: ['60-55=5', '20/5=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,85 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[4, 15], Operations: ['60-55=5', '20-5=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[55, 4, 3], Operations: ['60/20=3'] Exploring Operation: 55-3=52, Resulting Numbers: [4, 52] Generated Node #0,2,0: 85:[4, 52] Operation: 55-3=52 Exploring Operation: 4+3=7, Resulting Numbers: [55, 7] Generated Node #0,2,1: 85:[55, 7] Operation: 4+3=7 Exploring Operation: 55+4=59, Resulting Numbers: [3, 59] Generated Node #0,2,2: 85:[3, 59] Operation: 55+4=59 Exploring Operation: 55+3=58, Resulting Numbers: [4, 58] Generated Node #0,2,3: 85:[4, 58] Operation: 55+3=58 Moving to Node #0,2,2 Current State: 85:[3, 59], Operations: ['60/20=3', '55+4=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,85 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[4, 58], Operations: ['60/20=3', '55+3=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,85 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,85 unequal: No Solution Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[55, 7], Operations: ['60/20=3', '4+3=7'] Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,85 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[4, 52], Operations: ['60/20=3', '55-3=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,85 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,85 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[4, 20, 115], Operations: ['55+60=115'] Exploring Operation: 115-4=111, Resulting Numbers: [20, 111] Generated Node #0,3,0: 85:[20, 111] Operation: 115-4=111 Exploring Operation: 20/4=5, Resulting Numbers: [115, 5] Generated Node #0,3,1: 85:[115, 5] Operation: 20/4=5 Exploring Operation: 115-20=95, Resulting Numbers: [4, 95] Generated Node #0,3,2: 85:[4, 95] Operation: 115-20=95 Exploring Operation: 20-4=16, Resulting Numbers: [115, 16] Generated Node #0,3,3: 85:[115, 16] Operation: 20-4=16 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 85:[4, 95], Operations: ['55+60=115', '115-20=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,85 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 85:[20, 111], Operations: ['55+60=115', '115-4=111'] Exploring Operation: 20+111=131, Resulting Numbers: [131] 131,85 unequal: No Solution Exploring Operation: 111-20=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 20*111=2220, Resulting Numbers: [2220] 2220,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 85:[115, 5], Operations: ['55+60=115', '20/4=5'] Exploring Operation: 115+5=120, Resulting Numbers: [120] 120,85 unequal: No Solution Exploring Operation: 115*5=575, Resulting Numbers: [575] 575,85 unequal: No Solution Exploring Operation: 115-5=110, Resulting Numbers: [110] 110,85 unequal: No Solution Exploring Operation: 115/5=23, Resulting Numbers: [23] 23,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 85:[115, 16], Operations: ['55+60=115', '20-4=16'] Exploring Operation: 115*16=1840, Resulting Numbers: [1840] 1840,85 unequal: No Solution Exploring Operation: 115+16=131, Resulting Numbers: [131] 131,85 unequal: No Solution Exploring Operation: 115-16=99, Resulting Numbers: [99] 99,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[55, 20, 15], Operations: ['60/4=15'] Exploring Operation: 55-20=35, Resulting Numbers: [15, 35] Generated Node #0,0,0: 85:[15, 35] Operation: 55-20=35 Exploring Operation: 55+20=75, Resulting Numbers: [15, 75] Generated Node #0,0,1: 85:[15, 75] Operation: 55+20=75 Exploring Operation: 55-15=40, Resulting Numbers: [20, 40] Generated Node #0,0,2: 85:[20, 40] Operation: 55-15=40 Exploring Operation: 55+15=70, Resulting Numbers: [20, 70] Generated Node #0,0,3: 85:[20, 70] Operation: 55+15=70 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[15, 75], Operations: ['60/4=15', '55+20=75'] Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 85:[20, 70], Operations: ['60/4=15', '55+15=70'] Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,85 unequal: No Solution Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[15, 35], Operations: ['60/4=15', '55-20=35'] Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,85 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[20, 40], Operations: ['60/4=15', '55-15=40'] Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,85 unequal: No Solution Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 59, 54, 57, 58 ]
31
[ "59-57=2", "54/2=27", "58-27=31" ]
Current State: 31:[59, 54, 57, 58], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [54, 58, 2] Generated Node #2: [54, 58, 2] from Operation: 59-57=2 Current State: 31:[54, 58, 2], Operations: ['59-57=2'] Exploring Operation: 54/2=27, Resulting Numbers: [58, 27] Generated Node #3: [58, 27] from Operation: 54/2=27 Current State: 31:[58, 27], Operations: ['59-57=2', '54/2=27'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[59, 54, 57, 58], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [54, 57, 1] Generated Node #0,0: 31:[54, 57, 1] Operation: 59-58=1 Exploring Operation: 58-57=1, Resulting Numbers: [59, 54, 1] Generated Node #0,1: 31:[59, 54, 1] Operation: 58-57=1 Exploring Operation: 58-54=4, Resulting Numbers: [59, 57, 4] Generated Node #0,2: 31:[59, 57, 4] Operation: 58-54=4 Exploring Operation: 59-54=5, Resulting Numbers: [57, 58, 5] Generated Node #0,3: 31:[57, 58, 5] Operation: 59-54=5 Exploring Operation: 59-57=2, Resulting Numbers: [54, 58, 2] Generated Node #0,4: 31:[54, 58, 2] Operation: 59-57=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[54, 57, 1], Operations: ['59-58=1'] Exploring Operation: 54/1=54, Resulting Numbers: [57, 54] Generated Node #0,0,0: 31:[57, 54] Operation: 54/1=54 Exploring Operation: 54*1=54, Resulting Numbers: [57, 54] Generated Node #0,0,1: 31:[57, 54] Operation: 54*1=54 Exploring Operation: 57-1=56, Resulting Numbers: [54, 56] Generated Node #0,0,2: 31:[54, 56] Operation: 57-1=56 Exploring Operation: 54-1=53, Resulting Numbers: [57, 53] Generated Node #0,0,3: 31:[57, 53] Operation: 54-1=53 Exploring Operation: 57*1=57, Resulting Numbers: [54, 57] Generated Node #0,0,4: 31:[54, 57] Operation: 57*1=57 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[54, 56], Operations: ['59-58=1', '57-1=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[57, 53], Operations: ['59-58=1', '54-1=53'] Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,31 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[57, 54], Operations: ['59-58=1', '54/1=54'] Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,31 unequal: No Solution Exploring Operation: 57*54=3078, Resulting Numbers: [3078] 3078,31 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[57, 54], Operations: ['59-58=1', '54*1=54'] Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,31 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 57*54=3078, Resulting Numbers: [3078] 3078,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 31:[54, 57], Operations: ['59-58=1', '57*1=57'] Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,31 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[57, 58, 5], Operations: ['59-54=5'] Exploring Operation: 57-5=52, Resulting Numbers: [58, 52] Generated Node #0,3,0: 31:[58, 52] Operation: 57-5=52 Exploring Operation: 58+5=63, Resulting Numbers: [57, 63] Generated Node #0,3,1: 31:[57, 63] Operation: 58+5=63 Exploring Operation: 58-5=53, Resulting Numbers: [57, 53] Generated Node #0,3,2: 31:[57, 53] Operation: 58-5=53 Exploring Operation: 57+5=62, Resulting Numbers: [58, 62] Generated Node #0,3,3: 31:[58, 62] Operation: 57+5=62 Exploring Operation: 58-57=1, Resulting Numbers: [5, 1] Generated Node #0,3,4: 31:[5, 1] Operation: 58-57=1 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[58, 52], Operations: ['59-54=5', '57-5=52'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[57, 53], Operations: ['59-54=5', '58-5=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,31 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 31:[5, 1], Operations: ['59-54=5', '58-57=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[57, 63], Operations: ['59-54=5', '58+5=63'] Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,31 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[58, 62], Operations: ['59-54=5', '57+5=62'] Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,31 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[54, 58, 2], Operations: ['59-57=2'] Exploring Operation: 54+2=56, Resulting Numbers: [58, 56] Generated Node #0,4,0: 31:[58, 56] Operation: 54+2=56 Exploring Operation: 54-2=52, Resulting Numbers: [58, 52] Generated Node #0,4,1: 31:[58, 52] Operation: 54-2=52 Exploring Operation: 58-2=56, Resulting Numbers: [54, 56] Generated Node #0,4,2: 31:[54, 56] Operation: 58-2=56 Exploring Operation: 54/2=27, Resulting Numbers: [58, 27] Generated Node #0,4,3: 31:[58, 27] Operation: 54/2=27 Exploring Operation: 58/2=29, Resulting Numbers: [54, 29] Generated Node #0,4,4: 31:[54, 29] Operation: 58/2=29 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 31:[54, 29], Operations: ['59-57=2', '58/2=29'] Exploring Operation: 54*29=1566, Resulting Numbers: [1566] 1566,31 unequal: No Solution Exploring Operation: 54+29=83, Resulting Numbers: [83] 83,31 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[58, 27], Operations: ['59-57=2', '54/2=27'] Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[59, 54, 57, 58], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [54, 58, 2] Generated Node #0,4: 31:[54, 58, 2] Operation: 59-57=2 Moving to Node #0,4 Current State: 31:[54, 58, 2], Operations: ['59-57=2'] Exploring Operation: 54/2=27, Resulting Numbers: [58, 27] Generated Node #0,4,3: 31:[58, 27] Operation: 54/2=27 Moving to Node #0,4,3 Current State: 31:[58, 27], Operations: ['59-57=2', '54/2=27'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
mult_heuristic
[ 23, 9, 17, 22 ]
37
[ "23+9=32", "22-17=5", "32+5=37" ]
Current State: 37:[23, 9, 17, 22], Operations: [] Exploring Operation: 23+9=32, Resulting Numbers: [17, 22, 32] Generated Node #2: [17, 22, 32] from Operation: 23+9=32 Current State: 37:[17, 22, 32], Operations: ['23+9=32'] Exploring Operation: 22-17=5, Resulting Numbers: [32, 5] Generated Node #3: [32, 5] from Operation: 22-17=5 Current State: 37:[32, 5], Operations: ['23+9=32', '22-17=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[23, 9, 17, 22], Operations: [] Exploring Operation: 23+9=32, Resulting Numbers: [17, 22, 32] Generated Node #0,0: 37:[17, 22, 32] Operation: 23+9=32 Exploring Operation: 9+17=26, Resulting Numbers: [23, 22, 26] Generated Node #0,1: 37:[23, 22, 26] Operation: 9+17=26 Moving to Node #0,0 Current State: 37:[17, 22, 32], Operations: ['23+9=32'] Exploring Operation: 17+32=49, Resulting Numbers: [22, 49] Generated Node #0,0,0: 37:[22, 49] Operation: 17+32=49 Exploring Operation: 17+22=39, Resulting Numbers: [32, 39] Generated Node #0,0,1: 37:[32, 39] Operation: 17+22=39 Moving to Node #0,1 Current State: 37:[23, 22, 26], Operations: ['9+17=26'] Exploring Operation: 22+26=48, Resulting Numbers: [23, 48] Generated Node #0,1,0: 37:[23, 48] Operation: 22+26=48 Exploring Operation: 23+22=45, Resulting Numbers: [26, 45] Generated Node #0,1,1: 37:[26, 45] Operation: 23+22=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[26, 45], Operations: ['9+17=26', '23+22=45'] Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[23, 48], Operations: ['9+17=26', '22+26=48'] Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 23+48=71, Resulting Numbers: [71] 71,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 37:[32, 39], Operations: ['23+9=32', '17+22=39'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[22, 49], Operations: ['23+9=32', '17+32=49'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 17, 15, 80, 47 ]
31
[ "17-15=2", "80-47=33", "33-2=31" ]
Current State: 31:[17, 15, 80, 47], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [80, 47, 2] Generated Node #2: [80, 47, 2] from Operation: 17-15=2 Current State: 31:[80, 47, 2], Operations: ['17-15=2'] Exploring Operation: 80-47=33, Resulting Numbers: [2, 33] Generated Node #3: [2, 33] from Operation: 80-47=33 Current State: 31:[2, 33], Operations: ['17-15=2', '80-47=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[17, 15, 80, 47], Operations: [] Exploring Operation: 80-17=63, Resulting Numbers: [15, 47, 63] Generated Node #0,0: 31:[15, 47, 63] Operation: 80-17=63 Exploring Operation: 80-47=33, Resulting Numbers: [17, 15, 33] Generated Node #0,1: 31:[17, 15, 33] Operation: 80-47=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[17, 15, 33], Operations: ['80-47=33'] Exploring Operation: 33-15=18, Resulting Numbers: [17, 18] Generated Node #0,1,0: 31:[17, 18] Operation: 33-15=18 Exploring Operation: 17+15=32, Resulting Numbers: [33, 32] Generated Node #0,1,1: 31:[33, 32] Operation: 17+15=32 Moving to Node #0,1,1 Current State: 31:[33, 32], Operations: ['80-47=33', '17+15=32'] Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[17, 18], Operations: ['80-47=33', '33-15=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[15, 47, 63], Operations: ['80-17=63'] Exploring Operation: 63-47=16, Resulting Numbers: [15, 16] Generated Node #0,0,0: 31:[15, 16] Operation: 63-47=16 Exploring Operation: 47-15=32, Resulting Numbers: [63, 32] Generated Node #0,0,1: 31:[63, 32] Operation: 47-15=32 Moving to Node #0,0,0 Current State: 31:[15, 16], Operations: ['80-17=63', '63-47=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[17, 15, 80, 47], Operations: [] Exploring Operation: 80-17=63, Resulting Numbers: [15, 47, 63] Generated Node #0,0: 31:[15, 47, 63] Operation: 80-17=63 Moving to Node #0,0 Current State: 31:[15, 47, 63], Operations: ['80-17=63'] Exploring Operation: 63-47=16, Resulting Numbers: [15, 16] Generated Node #0,0,0: 31:[15, 16] Operation: 63-47=16 Moving to Node #0,0,0 Current State: 31:[15, 16], Operations: ['80-17=63', '63-47=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 7, 95, 66, 10 ]
33
[ "95+66=161", "161/7=23", "10+23=33" ]
Current State: 33:[7, 95, 66, 10], Operations: [] Exploring Operation: 95+66=161, Resulting Numbers: [7, 10, 161] Generated Node #2: [7, 10, 161] from Operation: 95+66=161 Current State: 33:[7, 10, 161], Operations: ['95+66=161'] Exploring Operation: 161/7=23, Resulting Numbers: [10, 23] Generated Node #3: [10, 23] from Operation: 161/7=23 Current State: 33:[10, 23], Operations: ['95+66=161', '161/7=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[7, 95, 66, 10], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [7, 10, 29] Generated Node #0,0: 33:[7, 10, 29] Operation: 95-66=29 Exploring Operation: 66-7=59, Resulting Numbers: [95, 10, 59] Generated Node #0,1: 33:[95, 10, 59] Operation: 66-7=59 Exploring Operation: 95-7=88, Resulting Numbers: [66, 10, 88] Generated Node #0,2: 33:[66, 10, 88] Operation: 95-7=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[7, 10, 29], Operations: ['95-66=29'] Exploring Operation: 7+10=17, Resulting Numbers: [29, 17] Generated Node #0,0,0: 33:[29, 17] Operation: 7+10=17 Exploring Operation: 10-7=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 33:[29, 3] Operation: 10-7=3 Exploring Operation: 7+29=36, Resulting Numbers: [10, 36] Generated Node #0,0,2: 33:[10, 36] Operation: 7+29=36 Moving to Node #0,0,1 Current State: 33:[29, 3], Operations: ['95-66=29', '10-7=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[10, 36], Operations: ['95-66=29', '7+29=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[29, 17], Operations: ['95-66=29', '7+10=17'] Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,33 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,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 Current State: 33:[95, 10, 59], Operations: ['66-7=59'] Exploring Operation: 59-10=49, Resulting Numbers: [95, 49] Generated Node #0,1,0: 33:[95, 49] Operation: 59-10=49 Exploring Operation: 95-59=36, Resulting Numbers: [10, 36] Generated Node #0,1,1: 33:[10, 36] Operation: 95-59=36 Exploring Operation: 95-10=85, Resulting Numbers: [59, 85] Generated Node #0,1,2: 33:[59, 85] Operation: 95-10=85 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[10, 36], Operations: ['66-7=59', '95-59=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,33 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[95, 49], Operations: ['66-7=59', '59-10=49'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 95*49=4655, Resulting Numbers: [4655] 4655,33 unequal: No Solution Exploring Operation: 95+49=144, Resulting Numbers: [144] 144,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[59, 85], Operations: ['66-7=59', '95-10=85'] Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,33 unequal: No Solution Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,33 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,33 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: 33:[66, 10, 88], Operations: ['95-7=88'] Exploring Operation: 66-10=56, Resulting Numbers: [88, 56] Generated Node #0,2,0: 33:[88, 56] Operation: 66-10=56 Exploring Operation: 88-10=78, Resulting Numbers: [66, 78] Generated Node #0,2,1: 33:[66, 78] Operation: 88-10=78 Exploring Operation: 88-66=22, Resulting Numbers: [10, 22] Generated Node #0,2,2: 33:[10, 22] Operation: 88-66=22 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[10, 22], Operations: ['95-7=88', '88-66=22'] Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 10*22=220, Resulting Numbers: [220] 220,33 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[88, 56], Operations: ['95-7=88', '66-10=56'] Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 88+56=144, Resulting Numbers: [144] 144,33 unequal: No Solution Exploring Operation: 88*56=4928, Resulting Numbers: [4928] 4928,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[66, 78], Operations: ['95-7=88', '88-10=78'] Exploring Operation: 66+78=144, Resulting Numbers: [144] 144,33 unequal: No Solution Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 66*78=5148, Resulting Numbers: [5148] 5148,33 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
[ 77, 19, 71, 74 ]
30
[ "77-74=3", "19+71=90", "90/3=30" ]
Current State: 30:[77, 19, 71, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [19, 71, 3] Generated Node #2: [19, 71, 3] from Operation: 77-74=3 Current State: 30:[19, 71, 3], Operations: ['77-74=3'] Exploring Operation: 19+71=90, Resulting Numbers: [3, 90] Generated Node #3: [3, 90] from Operation: 19+71=90 Current State: 30:[3, 90], Operations: ['77-74=3', '19+71=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[77, 19, 71, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [19, 71, 3] Generated Node #0,0: 30:[19, 71, 3] Operation: 77-74=3 Exploring Operation: 77-71=6, Resulting Numbers: [19, 74, 6] Generated Node #0,1: 30:[19, 74, 6] Operation: 77-71=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[19, 71, 3], Operations: ['77-74=3'] Exploring Operation: 71-19=52, Resulting Numbers: [3, 52] Generated Node #0,0,0: 30:[3, 52] Operation: 71-19=52 Exploring Operation: 19-3=16, Resulting Numbers: [71, 16] Generated Node #0,0,1: 30:[71, 16] Operation: 19-3=16 Moving to Node #0,0,0 Current State: 30:[3, 52], Operations: ['77-74=3', '71-19=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[71, 16], Operations: ['77-74=3', '19-3=16'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,30 unequal: No Solution No 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: 30:[19, 74, 6], Operations: ['77-71=6'] Exploring Operation: 74-19=55, Resulting Numbers: [6, 55] Generated Node #0,1,0: 30:[6, 55] Operation: 74-19=55 Exploring Operation: 74-6=68, Resulting Numbers: [19, 68] Generated Node #0,1,1: 30:[19, 68] Operation: 74-6=68 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[6, 55], Operations: ['77-71=6', '74-19=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[19, 68], Operations: ['77-71=6', '74-6=68'] Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 63, 85, 27, 61 ]
29
[ "63-61=2", "85-27=58", "58/2=29" ]
Current State: 29:[63, 85, 27, 61], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [85, 27, 2] Generated Node #2: [85, 27, 2] from Operation: 63-61=2 Current State: 29:[85, 27, 2], Operations: ['63-61=2'] Exploring Operation: 85-27=58, Resulting Numbers: [2, 58] Generated Node #3: [2, 58] from Operation: 85-27=58 Current State: 29:[2, 58], Operations: ['63-61=2', '85-27=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[63, 85, 27, 61], Operations: [] Exploring Operation: 85-63=22, Resulting Numbers: [27, 61, 22] Generated Node #0,0: 29:[27, 61, 22] Operation: 85-63=22 Exploring Operation: 63-61=2, Resulting Numbers: [85, 27, 2] Generated Node #0,1: 29:[85, 27, 2] Operation: 63-61=2 Exploring Operation: 85-61=24, Resulting Numbers: [63, 27, 24] Generated Node #0,2: 29:[63, 27, 24] Operation: 85-61=24 Moving to Node #0,0 Current State: 29:[27, 61, 22], Operations: ['85-63=22'] Exploring Operation: 61-27=34, Resulting Numbers: [22, 34] Generated Node #0,0,0: 29:[22, 34] Operation: 61-27=34 Exploring Operation: 61-22=39, Resulting Numbers: [27, 39] Generated Node #0,0,1: 29:[27, 39] Operation: 61-22=39 Exploring Operation: 27+22=49, Resulting Numbers: [61, 49] Generated Node #0,0,2: 29:[61, 49] Operation: 27+22=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[22, 34], Operations: ['85-63=22', '61-27=34'] Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,29 unequal: No Solution Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[27, 39], Operations: ['85-63=22', '61-22=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,29 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[61, 49], Operations: ['85-63=22', '27+22=49'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 61*49=2989, Resulting Numbers: [2989] 2989,29 unequal: No Solution Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 29:[63, 27, 24], Operations: ['85-61=24'] Exploring Operation: 27+24=51, Resulting Numbers: [63, 51] Generated Node #0,2,0: 29:[63, 51] Operation: 27+24=51 Exploring Operation: 63-24=39, Resulting Numbers: [27, 39] Generated Node #0,2,1: 29:[27, 39] Operation: 63-24=39 Exploring Operation: 63-27=36, Resulting Numbers: [24, 36] Generated Node #0,2,2: 29:[24, 36] Operation: 63-27=36 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[27, 39], Operations: ['85-61=24', '63-24=39'] Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[24, 36], Operations: ['85-61=24', '63-27=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,29 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[63, 51], Operations: ['85-61=24', '27+24=51'] Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,29 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,29 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: 29:[85, 27, 2], Operations: ['63-61=2'] Exploring Operation: 85-2=83, Resulting Numbers: [27, 83] Generated Node #0,1,0: 29:[27, 83] Operation: 85-2=83 Exploring Operation: 85-27=58, Resulting Numbers: [2, 58] Generated Node #0,1,1: 29:[2, 58] Operation: 85-27=58 Exploring Operation: 27+2=29, Resulting Numbers: [85, 29] Generated Node #0,1,2: 29:[85, 29] Operation: 27+2=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[27, 83], Operations: ['63-61=2', '85-2=83'] Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,29 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,29 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[2, 58], Operations: ['63-61=2', '85-27=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[63, 85, 27, 61], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [85, 27, 2] Generated Node #0,1: 29:[85, 27, 2] Operation: 63-61=2 Moving to Node #0,1 Current State: 29:[85, 27, 2], Operations: ['63-61=2'] Exploring Operation: 85-27=58, Resulting Numbers: [2, 58] Generated Node #0,1,1: 29:[2, 58] Operation: 85-27=58 Moving to Node #0,1,1 Current State: 29:[2, 58], Operations: ['63-61=2', '85-27=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_3
sum_heuristic
[ 44, 48, 5, 73 ]
74
[ "48-44=4", "5+73=78", "78-4=74" ]
Current State: 74:[44, 48, 5, 73], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [5, 73, 4] Generated Node #2: [5, 73, 4] from Operation: 48-44=4 Current State: 74:[5, 73, 4], Operations: ['48-44=4'] Exploring Operation: 5+73=78, Resulting Numbers: [4, 78] Generated Node #3: [4, 78] from Operation: 5+73=78 Current State: 74:[4, 78], Operations: ['48-44=4', '5+73=78'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[44, 48, 5, 73], Operations: [] Exploring Operation: 44-5=39, Resulting Numbers: [48, 73, 39] Generated Node #0,0: 74:[48, 73, 39] Operation: 44-5=39 Exploring Operation: 48-44=4, Resulting Numbers: [5, 73, 4] Generated Node #0,1: 74:[5, 73, 4] Operation: 48-44=4 Exploring Operation: 48-5=43, Resulting Numbers: [44, 73, 43] Generated Node #0,2: 74:[44, 73, 43] Operation: 48-5=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[5, 73, 4], Operations: ['48-44=4'] Exploring Operation: 5+73=78, Resulting Numbers: [4, 78] Generated Node #0,1,0: 74:[4, 78] Operation: 5+73=78 Exploring Operation: 73+4=77, Resulting Numbers: [5, 77] Generated Node #0,1,1: 74:[5, 77] Operation: 73+4=77 Exploring Operation: 5-4=1, Resulting Numbers: [73, 1] Generated Node #0,1,2: 74:[73, 1] Operation: 5-4=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[73, 1], Operations: ['48-44=4', '5-4=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[44, 48, 5, 73], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [5, 73, 4] Generated Node #0,1: 74:[5, 73, 4] Operation: 48-44=4 Moving to Node #0,1 Current State: 74:[5, 73, 4], Operations: ['48-44=4'] Exploring Operation: 5-4=1, Resulting Numbers: [73, 1] Generated Node #0,1,2: 74:[73, 1] Operation: 5-4=1 Moving to Node #0,1,2 Current State: 74:[73, 1], Operations: ['48-44=4', '5-4=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 97, 80, 53, 87 ]
45
[ "97-87=10", "80/10=8", "53-8=45" ]
Current State: 45:[97, 80, 53, 87], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [80, 53, 10] Generated Node #2: [80, 53, 10] from Operation: 97-87=10 Current State: 45:[80, 53, 10], Operations: ['97-87=10'] Exploring Operation: 80/10=8, Resulting Numbers: [53, 8] Generated Node #3: [53, 8] from Operation: 80/10=8 Current State: 45:[53, 8], Operations: ['97-87=10', '80/10=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[97, 80, 53, 87], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [80, 53, 10] Generated Node #0,0: 45:[80, 53, 10] Operation: 97-87=10 Exploring Operation: 97-80=17, Resulting Numbers: [53, 87, 17] Generated Node #0,1: 45:[53, 87, 17] Operation: 97-80=17 Exploring Operation: 87-53=34, Resulting Numbers: [97, 80, 34] Generated Node #0,2: 45:[97, 80, 34] Operation: 87-53=34 Exploring Operation: 87-80=7, Resulting Numbers: [97, 53, 7] Generated Node #0,3: 45:[97, 53, 7] Operation: 87-80=7 Exploring Operation: 97-53=44, Resulting Numbers: [80, 87, 44] Generated Node #0,4: 45:[80, 87, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 45:[80, 53, 10], Operations: ['97-87=10'] Exploring Operation: 80/10=8, Resulting Numbers: [53, 8] Generated Node #0,0,0: 45:[53, 8] Operation: 80/10=8 Exploring Operation: 80-53=27, Resulting Numbers: [10, 27] Generated Node #0,0,1: 45:[10, 27] Operation: 80-53=27 Exploring Operation: 53-10=43, Resulting Numbers: [80, 43] Generated Node #0,0,2: 45:[80, 43] Operation: 53-10=43 Exploring Operation: 80-10=70, Resulting Numbers: [53, 70] Generated Node #0,0,3: 45:[53, 70] Operation: 80-10=70 Exploring Operation: 80+10=90, Resulting Numbers: [53, 90] Generated Node #0,0,4: 45:[53, 90] Operation: 80+10=90 Moving to Node #0,1 Current State: 45:[53, 87, 17], Operations: ['97-80=17'] Exploring Operation: 87-17=70, Resulting Numbers: [53, 70] Generated Node #0,1,0: 45:[53, 70] Operation: 87-17=70 Exploring Operation: 53+17=70, Resulting Numbers: [87, 70] Generated Node #0,1,1: 45:[87, 70] Operation: 53+17=70 Exploring Operation: 87-53=34, Resulting Numbers: [17, 34] Generated Node #0,1,2: 45:[17, 34] Operation: 87-53=34 Exploring Operation: 87+17=104, Resulting Numbers: [53, 104] Generated Node #0,1,3: 45:[53, 104] Operation: 87+17=104 Exploring Operation: 53-17=36, Resulting Numbers: [87, 36] Generated Node #0,1,4: 45:[87, 36] Operation: 53-17=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[17, 34], Operations: ['97-80=17', '87-53=34'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,45 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[53, 70], Operations: ['97-80=17', '87-17=70'] Exploring Operation: 53+70=123, Resulting Numbers: [123] 123,45 unequal: No Solution Exploring Operation: 53*70=3710, Resulting Numbers: [3710] 3710,45 unequal: No Solution Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[87, 36], Operations: ['97-80=17', '53-17=36'] Exploring Operation: 87+36=123, Resulting Numbers: [123] 123,45 unequal: No Solution Exploring Operation: 87*36=3132, Resulting Numbers: [3132] 3132,45 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[87, 70], Operations: ['97-80=17', '53+17=70'] Exploring Operation: 87+70=157, Resulting Numbers: [157] 157,45 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 87*70=6090, Resulting Numbers: [6090] 6090,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[53, 104], Operations: ['97-80=17', '87+17=104'] Exploring Operation: 53*104=5512, Resulting Numbers: [5512] 5512,45 unequal: No Solution Exploring Operation: 53+104=157, Resulting Numbers: [157] 157,45 unequal: No Solution Exploring Operation: 104-53=51, Resulting Numbers: [51] 51,45 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: 45:[97, 53, 7], Operations: ['87-80=7'] Exploring Operation: 53-7=46, Resulting Numbers: [97, 46] Generated Node #0,3,0: 45:[97, 46] Operation: 53-7=46 Exploring Operation: 53+7=60, Resulting Numbers: [97, 60] Generated Node #0,3,1: 45:[97, 60] Operation: 53+7=60 Exploring Operation: 97-53=44, Resulting Numbers: [7, 44] Generated Node #0,3,2: 45:[7, 44] Operation: 97-53=44 Exploring Operation: 97-7=90, Resulting Numbers: [53, 90] Generated Node #0,3,3: 45:[53, 90] Operation: 97-7=90 Exploring Operation: 97+7=104, Resulting Numbers: [53, 104] Generated Node #0,3,4: 45:[53, 104] Operation: 97+7=104 Moving to Node #0,4 Current State: 45:[80, 87, 44], Operations: ['97-53=44'] Exploring Operation: 87+44=131, Resulting Numbers: [80, 131] Generated Node #0,4,0: 45:[80, 131] Operation: 87+44=131 Exploring Operation: 87-44=43, Resulting Numbers: [80, 43] Generated Node #0,4,1: 45:[80, 43] Operation: 87-44=43 Exploring Operation: 87-80=7, Resulting Numbers: [44, 7] Generated Node #0,4,2: 45:[44, 7] Operation: 87-80=7 Exploring Operation: 80-44=36, Resulting Numbers: [87, 36] Generated Node #0,4,3: 45:[87, 36] Operation: 80-44=36 Exploring Operation: 80+44=124, Resulting Numbers: [87, 124] Generated Node #0,4,4: 45:[87, 124] Operation: 80+44=124 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 45:[44, 7], Operations: ['97-53=44', '87-80=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,45 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 45:[80, 43], Operations: ['97-53=44', '87-44=43'] Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,45 unequal: No Solution Exploring Operation: 80*43=3440, Resulting Numbers: [3440] 3440,45 unequal: No Solution Exploring Operation: 80+43=123, Resulting Numbers: [123] 123,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 45:[87, 36], Operations: ['97-53=44', '80-44=36'] Exploring Operation: 87+36=123, Resulting Numbers: [123] 123,45 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 87*36=3132, Resulting Numbers: [3132] 3132,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 45:[80, 131], Operations: ['97-53=44', '87+44=131'] Exploring Operation: 80+131=211, Resulting Numbers: [211] 211,45 unequal: No Solution Exploring Operation: 80*131=10480, Resulting Numbers: [10480] 10480,45 unequal: No Solution Exploring Operation: 131-80=51, Resulting Numbers: [51] 51,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 45:[87, 124], Operations: ['97-53=44', '80+44=124'] Exploring Operation: 87*124=10788, Resulting Numbers: [10788] 10788,45 unequal: No Solution Exploring Operation: 87+124=211, Resulting Numbers: [211] 211,45 unequal: No Solution Exploring Operation: 124-87=37, Resulting Numbers: [37] 37,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 45:[97, 80, 34], Operations: ['87-53=34'] Exploring Operation: 97+34=131, Resulting Numbers: [80, 131] Generated Node #0,2,0: 45:[80, 131] Operation: 97+34=131 Exploring Operation: 97-80=17, Resulting Numbers: [34, 17] Generated Node #0,2,1: 45:[34, 17] Operation: 97-80=17 Exploring Operation: 80+34=114, Resulting Numbers: [97, 114] Generated Node #0,2,2: 45:[97, 114] Operation: 80+34=114 Exploring Operation: 80-34=46, Resulting Numbers: [97, 46] Generated Node #0,2,3: 45:[97, 46] Operation: 80-34=46 Exploring Operation: 97-34=63, Resulting Numbers: [80, 63] Generated Node #0,2,4: 45:[80, 63] Operation: 97-34=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[34, 17], Operations: ['87-53=34', '97-80=17'] Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,45 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[97, 46], Operations: ['87-53=34', '80-34=46'] Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 97*46=4462, Resulting Numbers: [4462] 4462,45 unequal: No Solution Exploring Operation: 97+46=143, Resulting Numbers: [143] 143,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 45:[80, 63], Operations: ['87-53=34', '97-34=63'] Exploring Operation: 80*63=5040, Resulting Numbers: [5040] 5040,45 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 80+63=143, Resulting Numbers: [143] 143,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[80, 131], Operations: ['87-53=34', '97+34=131'] Exploring Operation: 80+131=211, Resulting Numbers: [211] 211,45 unequal: No Solution Exploring Operation: 80*131=10480, Resulting Numbers: [10480] 10480,45 unequal: No Solution Exploring Operation: 131-80=51, Resulting Numbers: [51] 51,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[97, 114], Operations: ['87-53=34', '80+34=114'] Exploring Operation: 97+114=211, Resulting Numbers: [211] 211,45 unequal: No Solution Exploring Operation: 97*114=11058, Resulting Numbers: [11058] 11058,45 unequal: No Solution Exploring Operation: 114-97=17, Resulting Numbers: [17] 17,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 45:[7, 44], Operations: ['87-80=7', '97-53=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,45 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[53, 8], Operations: ['97-87=10', '80/10=8'] Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,45 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[97, 80, 53, 87], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [80, 53, 10] Generated Node #0,0: 45:[80, 53, 10] Operation: 97-87=10 Moving to Node #0,0 Current State: 45:[80, 53, 10], Operations: ['97-87=10'] Exploring Operation: 80/10=8, Resulting Numbers: [53, 8] Generated Node #0,0,0: 45:[53, 8] Operation: 80/10=8 Moving to Node #0,0,0 Current State: 45:[53, 8], Operations: ['97-87=10', '80/10=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.925347
hs_5
sum_heuristic
[ 64, 74, 16, 25 ]
90
[ "74-64=10", "25-16=9", "10*9=90" ]
Current State: 90:[64, 74, 16, 25], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [16, 25, 10] Generated Node #2: [16, 25, 10] from Operation: 74-64=10 Current State: 90:[16, 25, 10], Operations: ['74-64=10'] Exploring Operation: 25-16=9, Resulting Numbers: [10, 9] Generated Node #3: [10, 9] from Operation: 25-16=9 Current State: 90:[10, 9], Operations: ['74-64=10', '25-16=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[64, 74, 16, 25], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [74, 25, 4] Generated Node #0,0: 90:[74, 25, 4] Operation: 64/16=4 Exploring Operation: 64-25=39, Resulting Numbers: [74, 16, 39] Generated Node #0,1: 90:[74, 16, 39] Operation: 64-25=39 Exploring Operation: 64-16=48, Resulting Numbers: [74, 25, 48] Generated Node #0,2: 90:[74, 25, 48] Operation: 64-16=48 Exploring Operation: 64+25=89, Resulting Numbers: [74, 16, 89] Generated Node #0,3: 90:[74, 16, 89] Operation: 64+25=89 Exploring Operation: 74-64=10, Resulting Numbers: [16, 25, 10] Generated Node #0,4: 90:[16, 25, 10] Operation: 74-64=10 Moving to Node #0,4 Current State: 90:[16, 25, 10], Operations: ['74-64=10'] Exploring Operation: 25-16=9, Resulting Numbers: [10, 9] Generated Node #0,4,0: 90:[10, 9] Operation: 25-16=9 Exploring Operation: 25+10=35, Resulting Numbers: [16, 35] Generated Node #0,4,1: 90:[16, 35] Operation: 25+10=35 Exploring Operation: 16+25=41, Resulting Numbers: [10, 41] Generated Node #0,4,2: 90:[10, 41] Operation: 16+25=41 Exploring Operation: 25-10=15, Resulting Numbers: [16, 15] Generated Node #0,4,3: 90:[16, 15] Operation: 25-10=15 Exploring Operation: 16-10=6, Resulting Numbers: [25, 6] Generated Node #0,4,4: 90:[25, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 90:[10, 9], Operations: ['74-64=10', '25-16=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[64, 74, 16, 25], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [16, 25, 10] Generated Node #0,4: 90:[16, 25, 10] Operation: 74-64=10 Moving to Node #0,4 Current State: 90:[16, 25, 10], Operations: ['74-64=10'] Exploring Operation: 25-16=9, Resulting Numbers: [10, 9] Generated Node #0,4,0: 90:[10, 9] Operation: 25-16=9 Moving to Node #0,4,0 Current State: 90:[10, 9], Operations: ['74-64=10', '25-16=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 95, 49, 52, 2 ]
75
[ "95-49=46", "46/2=23", "52+23=75" ]
Current State: 75:[95, 49, 52, 2], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [52, 2, 46] Generated Node #2: [52, 2, 46] from Operation: 95-49=46 Current State: 75:[52, 2, 46], Operations: ['95-49=46'] Exploring Operation: 46/2=23, Resulting Numbers: [52, 23] Generated Node #3: [52, 23] from Operation: 46/2=23 Current State: 75:[52, 23], Operations: ['95-49=46', '46/2=23'] Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[95, 49, 52, 2], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [95, 2, 3] Generated Node #0,0: 75:[95, 2, 3] Operation: 52-49=3 Exploring Operation: 95-52=43, Resulting Numbers: [49, 2, 43] Generated Node #0,1: 75:[49, 2, 43] Operation: 95-52=43 Exploring Operation: 95-49=46, Resulting Numbers: [52, 2, 46] Generated Node #0,2: 75:[52, 2, 46] Operation: 95-49=46 Moving to Node #0,0 Current State: 75:[95, 2, 3], Operations: ['52-49=3'] Exploring Operation: 95-3=92, Resulting Numbers: [2, 92] Generated Node #0,0,0: 75:[2, 92] Operation: 95-3=92 Exploring Operation: 95-2=93, Resulting Numbers: [3, 93] Generated Node #0,0,1: 75:[3, 93] Operation: 95-2=93 Exploring Operation: 2+3=5, Resulting Numbers: [95, 5] Generated Node #0,0,2: 75:[95, 5] Operation: 2+3=5 Moving to Node #0,1 Current State: 75:[49, 2, 43], Operations: ['95-52=43'] Exploring Operation: 49-43=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 75:[2, 6] Operation: 49-43=6 Exploring Operation: 49+43=92, Resulting Numbers: [2, 92] Generated Node #0,1,1: 75:[2, 92] Operation: 49+43=92 Exploring Operation: 2*43=86, Resulting Numbers: [49, 86] Generated Node #0,1,2: 75:[49, 86] Operation: 2*43=86 Moving to Node #0,2 Current State: 75:[52, 2, 46], Operations: ['95-49=46'] Exploring Operation: 52/2=26, Resulting Numbers: [46, 26] Generated Node #0,2,0: 75:[46, 26] Operation: 52/2=26 Exploring Operation: 52+46=98, Resulting Numbers: [2, 98] Generated Node #0,2,1: 75:[2, 98] Operation: 52+46=98 Exploring Operation: 52-46=6, Resulting Numbers: [2, 6] Generated Node #0,2,2: 75:[2, 6] Operation: 52-46=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[2, 6], Operations: ['95-49=46', '52-46=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[46, 26], Operations: ['95-49=46', '52/2=26'] Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[2, 98], Operations: ['95-49=46', '52+46=98'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,75 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: 75:[2, 6], Operations: ['95-52=43', '49-43=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[2, 92], Operations: ['52-49=3', '95-3=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,75 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[2, 92], Operations: ['95-52=43', '49+43=92'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,75 unequal: No Solution Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[3, 93], Operations: ['52-49=3', '95-2=93'] Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,75 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[95, 5], Operations: ['52-49=3', '2+3=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[49, 86], Operations: ['95-52=43', '2*43=86'] Exploring Operation: 49*86=4214, Resulting Numbers: [4214] 4214,75 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 49+86=135, Resulting Numbers: [135] 135,75 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 96, 76, 23, 19 ]
62
[ "96-76=20", "23+19=42", "20+42=62" ]
Current State: 62:[96, 76, 23, 19], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [23, 19, 20] Generated Node #2: [23, 19, 20] from Operation: 96-76=20 Current State: 62:[23, 19, 20], Operations: ['96-76=20'] Exploring Operation: 23+19=42, Resulting Numbers: [20, 42] Generated Node #3: [20, 42] from Operation: 23+19=42 Current State: 62:[20, 42], Operations: ['96-76=20', '23+19=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[96, 76, 23, 19], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [23, 19, 20] Generated Node #0,0: 62:[23, 19, 20] Operation: 96-76=20 Exploring Operation: 96-19=77, Resulting Numbers: [76, 23, 77] Generated Node #0,1: 62:[76, 23, 77] Operation: 96-19=77 Exploring Operation: 76-19=57, Resulting Numbers: [96, 23, 57] Generated Node #0,2: 62:[96, 23, 57] Operation: 76-19=57 Exploring Operation: 96-23=73, Resulting Numbers: [76, 19, 73] Generated Node #0,3: 62:[76, 19, 73] Operation: 96-23=73 Exploring Operation: 76/19=4, Resulting Numbers: [96, 23, 4] Generated Node #0,4: 62:[96, 23, 4] Operation: 76/19=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[23, 19, 20], Operations: ['96-76=20'] Exploring Operation: 23-19=4, Resulting Numbers: [20, 4] Generated Node #0,0,0: 62:[20, 4] Operation: 23-19=4 Exploring Operation: 20-19=1, Resulting Numbers: [23, 1] Generated Node #0,0,1: 62:[23, 1] Operation: 20-19=1 Exploring Operation: 23+19=42, Resulting Numbers: [20, 42] Generated Node #0,0,2: 62:[20, 42] Operation: 23+19=42 Exploring Operation: 23-20=3, Resulting Numbers: [19, 3] Generated Node #0,0,3: 62:[19, 3] Operation: 23-20=3 Exploring Operation: 19+20=39, Resulting Numbers: [23, 39] Generated Node #0,0,4: 62:[23, 39] Operation: 19+20=39 Moving to Node #0,0,1 Current State: 62:[23, 1], Operations: ['96-76=20', '20-19=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[19, 3], Operations: ['96-76=20', '23-20=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[20, 4], Operations: ['96-76=20', '23-19=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,62 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,62 unequal: No Solution Moving to Node #0,0,4 Current State: 62:[23, 39], Operations: ['96-76=20', '19+20=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,62 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[96, 76, 23, 19], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [23, 19, 20] Generated Node #0,0: 62:[23, 19, 20] Operation: 96-76=20 Moving to Node #0,0 Current State: 62:[23, 19, 20], Operations: ['96-76=20'] Exploring Operation: 19+20=39, Resulting Numbers: [23, 39] Generated Node #0,0,4: 62:[23, 39] Operation: 19+20=39 Moving to Node #0,0,4 Current State: 62:[23, 39], Operations: ['96-76=20', '19+20=39'] Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 51, 24, 31, 45 ]
54
[ "51-31=20", "24*45=1080", "1080/20=54" ]
Current State: 54:[51, 24, 31, 45], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [24, 45, 20] Generated Node #2: [24, 45, 20] from Operation: 51-31=20 Current State: 54:[24, 45, 20], Operations: ['51-31=20'] Exploring Operation: 24*45=1080, Resulting Numbers: [20, 1080] Generated Node #3: [20, 1080] from Operation: 24*45=1080 Current State: 54:[20, 1080], Operations: ['51-31=20', '24*45=1080'] Exploring Operation: 1080/20=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[51, 24, 31, 45], Operations: [] Exploring Operation: 51-45=6, Resulting Numbers: [24, 31, 6] Generated Node #0,0: 54:[24, 31, 6] Operation: 51-45=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[24, 31, 6], Operations: ['51-45=6'] Exploring Operation: 24+31=55, Resulting Numbers: [6, 55] Generated Node #0,0,0: 54:[6, 55] Operation: 24+31=55 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[6, 55], Operations: ['51-45=6', '24+31=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,54 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
[ 3, 3, 32, 76 ]
29
[ "3+32=35", "3*35=105", "105-76=29" ]
Current State: 29:[3, 3, 32, 76], Operations: [] Exploring Operation: 3+32=35, Resulting Numbers: [76, 35] Generated Node #2: [76, 35] from Operation: 3+32=35 Current State: 29:[76, 35], Operations: ['3+32=35'] Exploring Operation: 3*35=105, Resulting Numbers: [76, 105] Generated Node #3: [76, 105] from Operation: 3*35=105 Current State: 29:[76, 105], Operations: ['3+32=35', '3*35=105'] Exploring Operation: 105-76=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[3, 3, 32, 76], Operations: [] Exploring Operation: 3+3=6, Resulting Numbers: [32, 76, 6] Generated Node #0,0: 29:[32, 76, 6] Operation: 3+3=6 Exploring Operation: 32-3=29, Resulting Numbers: [3, 76, 29] Generated Node #0,1: 29:[3, 76, 29] Operation: 32-3=29 Exploring Operation: 3*3=9, Resulting Numbers: [32, 76, 9] Generated Node #0,2: 29:[32, 76, 9] Operation: 3*3=9 Exploring Operation: 76-32=44, Resulting Numbers: [3, 3, 44] Generated Node #0,3: 29:[3, 3, 44] Operation: 76-32=44 Exploring Operation: 76-3=73, Resulting Numbers: [3, 32, 73] Generated Node #0,4: 29:[3, 32, 73] Operation: 76-3=73 Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[3, 3, 44], Operations: ['76-32=44'] Exploring Operation: 44-3=41, Resulting Numbers: [3, 41] Generated Node #0,3,0: 29:[3, 41] Operation: 44-3=41 Exploring Operation: 3*3=9, Resulting Numbers: [44, 9] Generated Node #0,3,1: 29:[44, 9] Operation: 3*3=9 Exploring Operation: 3/3=1, Resulting Numbers: [44, 1] Generated Node #0,3,2: 29:[44, 1] Operation: 3/3=1 Exploring Operation: 3+3=6, Resulting Numbers: [44, 6] Generated Node #0,3,3: 29:[44, 6] Operation: 3+3=6 Exploring Operation: 44-3=41, Resulting Numbers: [3, 41] Generated Node #0,3,4: 29:[3, 41] Operation: 44-3=41 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[44, 9], Operations: ['76-32=44', '3*3=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,29 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,29 unequal: No Solution No 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: 29:[3, 41], Operations: ['76-32=44', '44-3=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,29 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,29 unequal: No Solution No 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: 29:[44, 6], Operations: ['76-32=44', '3+3=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,29 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 29:[3, 41], Operations: ['76-32=44', '44-3=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,29 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[44, 1], Operations: ['76-32=44', '3/3=1'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[32, 76, 9], Operations: ['3*3=9'] Exploring Operation: 32-9=23, Resulting Numbers: [76, 23] Generated Node #0,2,0: 29:[76, 23] Operation: 32-9=23 Exploring Operation: 76+9=85, Resulting Numbers: [32, 85] Generated Node #0,2,1: 29:[32, 85] Operation: 76+9=85 Exploring Operation: 76-9=67, Resulting Numbers: [32, 67] Generated Node #0,2,2: 29:[32, 67] Operation: 76-9=67 Exploring Operation: 76-32=44, Resulting Numbers: [9, 44] Generated Node #0,2,3: 29:[9, 44] Operation: 76-32=44 Exploring Operation: 32+9=41, Resulting Numbers: [76, 41] Generated Node #0,2,4: 29:[76, 41] Operation: 32+9=41 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[9, 44], Operations: ['3*3=9', '76-32=44'] Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,29 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,29 unequal: No Solution No 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: 29:[32, 67], Operations: ['3*3=9', '76-9=67'] Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 32+67=99, Resulting Numbers: [99] 99,29 unequal: No Solution Exploring Operation: 32*67=2144, Resulting Numbers: [2144] 2144,29 unequal: No Solution No 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: 29:[76, 23], Operations: ['3*3=9', '32-9=23'] Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,29 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,29 unequal: No Solution Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,29 unequal: No Solution No 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: 29:[32, 85], Operations: ['3*3=9', '76+9=85'] Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,29 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,29 unequal: No Solution Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,29 unequal: No Solution No 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: 29:[76, 41], Operations: ['3*3=9', '32+9=41'] Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,29 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[32, 76, 6], Operations: ['3+3=6'] Exploring Operation: 76-32=44, Resulting Numbers: [6, 44] Generated Node #0,0,0: 29:[6, 44] Operation: 76-32=44 Exploring Operation: 32-6=26, Resulting Numbers: [76, 26] Generated Node #0,0,1: 29:[76, 26] Operation: 32-6=26 Exploring Operation: 76+6=82, Resulting Numbers: [32, 82] Generated Node #0,0,2: 29:[32, 82] Operation: 76+6=82 Exploring Operation: 76-6=70, Resulting Numbers: [32, 70] Generated Node #0,0,3: 29:[32, 70] Operation: 76-6=70 Exploring Operation: 32+6=38, Resulting Numbers: [76, 38] Generated Node #0,0,4: 29:[76, 38] Operation: 32+6=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[6, 44], Operations: ['3+3=6', '76-32=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,29 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,29 unequal: No Solution No 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: 29:[32, 70], Operations: ['3+3=6', '76-6=70'] Exploring Operation: 32*70=2240, Resulting Numbers: [2240] 2240,29 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 32+70=102, Resulting Numbers: [102] 102,29 unequal: No Solution No 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: 29:[76, 26], Operations: ['3+3=6', '32-6=26'] Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,29 unequal: No Solution Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,29 unequal: No Solution No 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: 29:[32, 82], Operations: ['3+3=6', '76+6=82'] Exploring Operation: 32+82=114, Resulting Numbers: [114] 114,29 unequal: No Solution Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 32*82=2624, Resulting Numbers: [2624] 2624,29 unequal: No Solution No 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: 29:[76, 38], Operations: ['3+3=6', '32+6=38'] Exploring Operation: 76*38=2888, Resulting Numbers: [2888] 2888,29 unequal: No Solution Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,29 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[3, 76, 29], Operations: ['32-3=29'] Exploring Operation: 76-3=73, Resulting Numbers: [29, 73] Generated Node #0,1,0: 29:[29, 73] Operation: 76-3=73 Exploring Operation: 29-3=26, Resulting Numbers: [76, 26] Generated Node #0,1,1: 29:[76, 26] Operation: 29-3=26 Exploring Operation: 76-29=47, Resulting Numbers: [3, 47] Generated Node #0,1,2: 29:[3, 47] Operation: 76-29=47 Exploring Operation: 3+29=32, Resulting Numbers: [76, 32] Generated Node #0,1,3: 29:[76, 32] Operation: 3+29=32 Exploring Operation: 3+76=79, Resulting Numbers: [29, 79] Generated Node #0,1,4: 29:[29, 79] Operation: 3+76=79 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[29, 73], Operations: ['32-3=29', '76-3=73'] Exploring Operation: 29+73=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 29*73=2117, Resulting Numbers: [2117] 2117,29 unequal: No Solution No 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: 29:[3, 47], Operations: ['32-3=29', '76-29=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,29 unequal: No Solution No 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: 29:[76, 26], Operations: ['32-3=29', '29-3=26'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[76, 32], Operations: ['32-3=29', '3+29=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,29 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,29 unequal: No Solution No 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: 29:[29, 79], Operations: ['32-3=29', '3+76=79'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 29*79=2291, Resulting Numbers: [2291] 2291,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[3, 32, 73], Operations: ['76-3=73'] Exploring Operation: 3+73=76, Resulting Numbers: [32, 76] Generated Node #0,4,0: 29:[32, 76] Operation: 3+73=76 Exploring Operation: 3+32=35, Resulting Numbers: [73, 35] Generated Node #0,4,1: 29:[73, 35] Operation: 3+32=35 Exploring Operation: 73-3=70, Resulting Numbers: [32, 70] Generated Node #0,4,2: 29:[32, 70] Operation: 73-3=70 Exploring Operation: 73-32=41, Resulting Numbers: [3, 41] Generated Node #0,4,3: 29:[3, 41] Operation: 73-32=41 Exploring Operation: 32-3=29, Resulting Numbers: [73, 29] Generated Node #0,4,4: 29:[73, 29] Operation: 32-3=29 Moving to Node #0,4,3 Current State: 29:[3, 41], Operations: ['76-3=73', '73-32=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[73, 29], Operations: ['76-3=73', '32-3=29'] Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,29 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,29 unequal: No Solution Moving to Node #0,4,2 Current State: 29:[32, 70], Operations: ['76-3=73', '73-3=70'] Exploring Operation: 32*70=2240, Resulting Numbers: [2240] 2240,29 unequal: No Solution Exploring Operation: 32+70=102, Resulting Numbers: [102] 102,29 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[32, 76], Operations: ['76-3=73', '3+73=76'] Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,29 unequal: No Solution Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,29 unequal: No Solution Moving to Node #0,4,1 Current State: 29:[73, 35], Operations: ['76-3=73', '3+32=35'] Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,29 unequal: No Solution Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,29 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
[ 48, 9, 90, 20 ]
71
[ "48-9=39", "90+20=110", "110-39=71" ]
Current State: 71:[48, 9, 90, 20], Operations: [] Exploring Operation: 48-9=39, Resulting Numbers: [90, 20, 39] Generated Node #2: [90, 20, 39] from Operation: 48-9=39 Current State: 71:[90, 20, 39], Operations: ['48-9=39'] Exploring Operation: 90+20=110, Resulting Numbers: [39, 110] Generated Node #3: [39, 110] from Operation: 90+20=110 Current State: 71:[39, 110], Operations: ['48-9=39', '90+20=110'] Exploring Operation: 110-39=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[48, 9, 90, 20], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [48, 9, 70] Generated Node #0,0: 71:[48, 9, 70] Operation: 90-20=70 Exploring Operation: 48+20=68, Resulting Numbers: [9, 90, 68] Generated Node #0,1: 71:[9, 90, 68] Operation: 48+20=68 Exploring Operation: 90-9=81, Resulting Numbers: [48, 20, 81] Generated Node #0,2: 71:[48, 20, 81] Operation: 90-9=81 Exploring Operation: 48+9=57, Resulting Numbers: [90, 20, 57] Generated Node #0,3: 71:[90, 20, 57] Operation: 48+9=57 Exploring Operation: 9+20=29, Resulting Numbers: [48, 90, 29] Generated Node #0,4: 71:[48, 90, 29] Operation: 9+20=29 Moving to Node #0,1 Current State: 71:[9, 90, 68], Operations: ['48+20=68'] Exploring Operation: 9+90=99, Resulting Numbers: [68, 99] Generated Node #0,1,0: 71:[68, 99] Operation: 9+90=99 Exploring Operation: 90/9=10, Resulting Numbers: [68, 10] Generated Node #0,1,1: 71:[68, 10] Operation: 90/9=10 Exploring Operation: 9+68=77, Resulting Numbers: [90, 77] Generated Node #0,1,2: 71:[90, 77] Operation: 9+68=77 Exploring Operation: 68-9=59, Resulting Numbers: [90, 59] Generated Node #0,1,3: 71:[90, 59] Operation: 68-9=59 Exploring Operation: 90-9=81, Resulting Numbers: [68, 81] Generated Node #0,1,4: 71:[68, 81] Operation: 90-9=81 Moving to Node #0,3 Current State: 71:[90, 20, 57], Operations: ['48+9=57'] Exploring Operation: 57-20=37, Resulting Numbers: [90, 37] Generated Node #0,3,0: 71:[90, 37] Operation: 57-20=37 Exploring Operation: 90-57=33, Resulting Numbers: [20, 33] Generated Node #0,3,1: 71:[20, 33] Operation: 90-57=33 Exploring Operation: 90-20=70, Resulting Numbers: [57, 70] Generated Node #0,3,2: 71:[57, 70] Operation: 90-20=70 Exploring Operation: 20+57=77, Resulting Numbers: [90, 77] Generated Node #0,3,3: 71:[90, 77] Operation: 20+57=77 Exploring Operation: 90+20=110, Resulting Numbers: [57, 110] Generated Node #0,3,4: 71:[57, 110] Operation: 90+20=110 Moving to Node #0,2 Current State: 71:[48, 20, 81], Operations: ['90-9=81'] Exploring Operation: 48+20=68, Resulting Numbers: [81, 68] Generated Node #0,2,0: 71:[81, 68] Operation: 48+20=68 Exploring Operation: 20+81=101, Resulting Numbers: [48, 101] Generated Node #0,2,1: 71:[48, 101] Operation: 20+81=101 Exploring Operation: 48-20=28, Resulting Numbers: [81, 28] Generated Node #0,2,2: 71:[81, 28] Operation: 48-20=28 Exploring Operation: 81-48=33, Resulting Numbers: [20, 33] Generated Node #0,2,3: 71:[20, 33] Operation: 81-48=33 Exploring Operation: 81-20=61, Resulting Numbers: [48, 61] Generated Node #0,2,4: 71:[48, 61] Operation: 81-20=61 Moving to Node #0,4 Current State: 71:[48, 90, 29], Operations: ['9+20=29'] Exploring Operation: 90-48=42, Resulting Numbers: [29, 42] Generated Node #0,4,0: 71:[29, 42] Operation: 90-48=42 Exploring Operation: 90-29=61, Resulting Numbers: [48, 61] Generated Node #0,4,1: 71:[48, 61] Operation: 90-29=61 Exploring Operation: 90+29=119, Resulting Numbers: [48, 119] Generated Node #0,4,2: 71:[48, 119] Operation: 90+29=119 Exploring Operation: 48+29=77, Resulting Numbers: [90, 77] Generated Node #0,4,3: 71:[90, 77] Operation: 48+29=77 Exploring Operation: 48-29=19, Resulting Numbers: [90, 19] Generated Node #0,4,4: 71:[90, 19] Operation: 48-29=19 Moving to Node #0,0 Current State: 71:[48, 9, 70], Operations: ['90-20=70'] Exploring Operation: 9+70=79, Resulting Numbers: [48, 79] Generated Node #0,0,0: 71:[48, 79] Operation: 9+70=79 Exploring Operation: 48-9=39, Resulting Numbers: [70, 39] Generated Node #0,0,1: 71:[70, 39] Operation: 48-9=39 Exploring Operation: 48+70=118, Resulting Numbers: [9, 118] Generated Node #0,0,2: 71:[9, 118] Operation: 48+70=118 Exploring Operation: 48+9=57, Resulting Numbers: [70, 57] Generated Node #0,0,3: 71:[70, 57] Operation: 48+9=57 Exploring Operation: 70-9=61, Resulting Numbers: [48, 61] Generated Node #0,0,4: 71:[48, 61] Operation: 70-9=61 Moving to Node #0,1,4 Current State: 71:[68, 81], Operations: ['48+20=68', '90-9=81'] Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 68*81=5508, Resulting Numbers: [5508] 5508,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[81, 68], Operations: ['90-9=81', '48+20=68'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 81*68=5508, Resulting Numbers: [5508] 5508,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[57, 70], Operations: ['48+9=57', '90-20=70'] Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 57+70=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 57*70=3990, Resulting Numbers: [3990] 3990,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[70, 57], Operations: ['90-20=70', '48+9=57'] Exploring Operation: 70+57=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 70*57=3990, Resulting Numbers: [3990] 3990,71 unequal: No Solution Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[90, 77], Operations: ['48+9=57', '20+57=77'] Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,71 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,71 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[90, 77], Operations: ['48+20=68', '9+68=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,71 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[90, 77], Operations: ['9+20=29', '48+29=77'] Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,71 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,71 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[68, 99], Operations: ['48+20=68', '9+90=99'] Exploring Operation: 68+99=167, Resulting Numbers: [167] 167,71 unequal: No Solution Exploring Operation: 99-68=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 68*99=6732, Resulting Numbers: [6732] 6732,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[48, 79], Operations: ['90-20=70', '9+70=79'] Exploring Operation: 48*79=3792, Resulting Numbers: [3792] 3792,71 unequal: No Solution Exploring Operation: 48+79=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 79-48=31, Resulting Numbers: [31] 31,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[90, 59], Operations: ['48+20=68', '68-9=59'] Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[48, 61], Operations: ['90-20=70', '70-9=61'] Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,71 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[48, 61], Operations: ['90-9=81', '81-20=61'] Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,71 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[70, 39], Operations: ['90-20=70', '48-9=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[48, 61], Operations: ['9+20=29', '90-29=61'] Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,71 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[81, 28], Operations: ['90-9=81', '48-20=28'] Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,71 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[48, 101], Operations: ['90-9=81', '20+81=101'] Exploring Operation: 48+101=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 48*101=4848, Resulting Numbers: [4848] 4848,71 unequal: No Solution Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[57, 110], Operations: ['48+9=57', '90+20=110'] Exploring Operation: 57*110=6270, Resulting Numbers: [6270] 6270,71 unequal: No Solution Exploring Operation: 57+110=167, Resulting Numbers: [167] 167,71 unequal: No Solution Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[90, 37], Operations: ['48+9=57', '57-20=37'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,71 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[68, 10], Operations: ['48+20=68', '90/9=10'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[48, 119], Operations: ['9+20=29', '90+29=119'] Exploring Operation: 48*119=5712, Resulting Numbers: [5712] 5712,71 unequal: No Solution Exploring Operation: 119-48=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[48, 9, 90, 20], Operations: [] Exploring Operation: 9+20=29, Resulting Numbers: [48, 90, 29] Generated Node #0,4: 71:[48, 90, 29] Operation: 9+20=29 Moving to Node #0,4 Current State: 71:[48, 90, 29], Operations: ['9+20=29'] Exploring Operation: 90+29=119, Resulting Numbers: [48, 119] Generated Node #0,4,2: 71:[48, 119] Operation: 90+29=119 Moving to Node #0,4,2 Current State: 71:[48, 119], Operations: ['9+20=29', '90+29=119'] Exploring Operation: 119-48=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.919271
hs_5
sum_heuristic
[ 36, 86, 50, 47 ]
48
[ "86-36=50", "50/50=1", "47+1=48" ]
Current State: 48:[36, 86, 50, 47], Operations: [] Exploring Operation: 86-36=50, Resulting Numbers: [50, 47, 50] Generated Node #2: [50, 47, 50] from Operation: 86-36=50 Current State: 48:[50, 47, 50], Operations: ['86-36=50'] Exploring Operation: 50/50=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 50/50=1 Current State: 48:[47, 1], Operations: ['86-36=50', '50/50=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[36, 86, 50, 47], Operations: [] Exploring Operation: 50-36=14, Resulting Numbers: [86, 47, 14] Generated Node #0,0: 48:[86, 47, 14] Operation: 50-36=14 Exploring Operation: 86-36=50, Resulting Numbers: [50, 47, 50] Generated Node #0,1: 48:[50, 47, 50] Operation: 86-36=50 Exploring Operation: 47-36=11, Resulting Numbers: [86, 50, 11] Generated Node #0,2: 48:[86, 50, 11] Operation: 47-36=11 Exploring Operation: 86-47=39, Resulting Numbers: [36, 50, 39] Generated Node #0,3: 48:[36, 50, 39] Operation: 86-47=39 Exploring Operation: 86-50=36, Resulting Numbers: [36, 47, 36] Generated Node #0,4: 48:[36, 47, 36] Operation: 86-50=36 Moving to Node #0,1 Current State: 48:[50, 47, 50], Operations: ['86-36=50'] Exploring Operation: 50-47=3, Resulting Numbers: [50, 3] Generated Node #0,1,0: 48:[50, 3] Operation: 50-47=3 Exploring Operation: 50-50=0, Resulting Numbers: [47, 0] Generated Node #0,1,1: 48:[47, 0] Operation: 50-50=0 Exploring Operation: 50+47=97, Resulting Numbers: [50, 97] Generated Node #0,1,2: 48:[50, 97] Operation: 50+47=97 Exploring Operation: 50-47=3, Resulting Numbers: [50, 3] Generated Node #0,1,3: 48:[50, 3] Operation: 50-47=3 Exploring Operation: 50/50=1, Resulting Numbers: [47, 1] Generated Node #0,1,4: 48:[47, 1] Operation: 50/50=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[50, 3], Operations: ['86-36=50', '50-47=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[50, 3], Operations: ['86-36=50', '50-47=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,48 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 48:[47, 1], Operations: ['86-36=50', '50/50=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[36, 86, 50, 47], Operations: [] Exploring Operation: 86-36=50, Resulting Numbers: [50, 47, 50] Generated Node #0,1: 48:[50, 47, 50] Operation: 86-36=50 Moving to Node #0,1 Current State: 48:[50, 47, 50], Operations: ['86-36=50'] Exploring Operation: 50/50=1, Resulting Numbers: [47, 1] Generated Node #0,1,4: 48:[47, 1] Operation: 50/50=1 Moving to Node #0,1,4 Current State: 48:[47, 1], Operations: ['86-36=50', '50/50=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 51, 99, 85, 74 ]
37
[ "99-51=48", "85-74=11", "48-11=37" ]
Current State: 37:[51, 99, 85, 74], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [85, 74, 48] Generated Node #2: [85, 74, 48] from Operation: 99-51=48 Current State: 37:[85, 74, 48], Operations: ['99-51=48'] Exploring Operation: 85-74=11, Resulting Numbers: [48, 11] Generated Node #3: [48, 11] from Operation: 85-74=11 Current State: 37:[48, 11], Operations: ['99-51=48', '85-74=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[51, 99, 85, 74], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [51, 85, 25] Generated Node #0,0: 37:[51, 85, 25] Operation: 99-74=25 Exploring Operation: 99-51=48, Resulting Numbers: [85, 74, 48] Generated Node #0,1: 37:[85, 74, 48] Operation: 99-51=48 Exploring Operation: 99-85=14, Resulting Numbers: [51, 74, 14] Generated Node #0,2: 37:[51, 74, 14] Operation: 99-85=14 Moving to Node #0,0 Current State: 37:[51, 85, 25], Operations: ['99-74=25'] Exploring Operation: 85-25=60, Resulting Numbers: [51, 60] Generated Node #0,0,0: 37:[51, 60] Operation: 85-25=60 Exploring Operation: 85-51=34, Resulting Numbers: [25, 34] Generated Node #0,0,1: 37:[25, 34] Operation: 85-51=34 Exploring Operation: 51-25=26, Resulting Numbers: [85, 26] Generated Node #0,0,2: 37:[85, 26] Operation: 51-25=26 Moving to Node #0,2 Current State: 37:[51, 74, 14], Operations: ['99-85=14'] Exploring Operation: 74-51=23, Resulting Numbers: [14, 23] Generated Node #0,2,0: 37:[14, 23] Operation: 74-51=23 Exploring Operation: 51-14=37, Resulting Numbers: [74, 37] Generated Node #0,2,1: 37:[74, 37] Operation: 51-14=37 Exploring Operation: 74-14=60, Resulting Numbers: [51, 60] Generated Node #0,2,2: 37:[51, 60] Operation: 74-14=60 Moving to Node #0,1 Current State: 37:[85, 74, 48], Operations: ['99-51=48'] Exploring Operation: 85-48=37, Resulting Numbers: [74, 37] Generated Node #0,1,0: 37:[74, 37] Operation: 85-48=37 Exploring Operation: 74-48=26, Resulting Numbers: [85, 26] Generated Node #0,1,1: 37:[85, 26] Operation: 74-48=26 Exploring Operation: 85-74=11, Resulting Numbers: [48, 11] Generated Node #0,1,2: 37:[48, 11] Operation: 85-74=11 Moving to Node #0,0,1 Current State: 37:[25, 34], Operations: ['99-74=25', '85-51=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,37 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,37 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[51, 60], Operations: ['99-85=14', '74-14=60'] Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,37 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,37 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[74, 37], Operations: ['99-51=48', '85-48=37'] Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[51, 99, 85, 74], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [85, 74, 48] Generated Node #0,1: 37:[85, 74, 48] Operation: 99-51=48 Moving to Node #0,1 Current State: 37:[85, 74, 48], Operations: ['99-51=48'] Exploring Operation: 85-48=37, Resulting Numbers: [74, 37] Generated Node #0,1,0: 37:[74, 37] Operation: 85-48=37 Moving to Node #0,1,0 Current State: 37:[74, 37], Operations: ['99-51=48', '85-48=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.979167
hs_3
mult_heuristic
[ 97, 35, 28, 25 ]
78
[ "35-28=7", "25*7=175", "175-97=78" ]
Current State: 78:[97, 35, 28, 25], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [97, 25, 7] Generated Node #2: [97, 25, 7] from Operation: 35-28=7 Current State: 78:[97, 25, 7], Operations: ['35-28=7'] Exploring Operation: 25*7=175, Resulting Numbers: [97, 175] Generated Node #3: [97, 175] from Operation: 25*7=175 Current State: 78:[97, 175], Operations: ['35-28=7', '25*7=175'] Exploring Operation: 175-97=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[97, 35, 28, 25], Operations: [] Exploring Operation: 28-25=3, Resulting Numbers: [97, 35, 3] Generated Node #0,0: 78:[97, 35, 3] Operation: 28-25=3 Exploring Operation: 97-35=62, Resulting Numbers: [28, 25, 62] Generated Node #0,1: 78:[28, 25, 62] Operation: 97-35=62 Exploring Operation: 97-28=69, Resulting Numbers: [35, 25, 69] Generated Node #0,2: 78:[35, 25, 69] Operation: 97-28=69 Exploring Operation: 35-28=7, Resulting Numbers: [97, 25, 7] Generated Node #0,3: 78:[97, 25, 7] Operation: 35-28=7 Exploring Operation: 97-25=72, Resulting Numbers: [35, 28, 72] Generated Node #0,4: 78:[35, 28, 72] Operation: 97-25=72 Moving to Node #0,4 Current State: 78:[35, 28, 72], Operations: ['97-25=72'] Exploring Operation: 28+72=100, Resulting Numbers: [35, 100] Generated Node #0,4,0: 78:[35, 100] Operation: 28+72=100 Exploring Operation: 72-28=44, Resulting Numbers: [35, 44] Generated Node #0,4,1: 78:[35, 44] Operation: 72-28=44 Exploring Operation: 35-28=7, Resulting Numbers: [72, 7] Generated Node #0,4,2: 78:[72, 7] Operation: 35-28=7 Exploring Operation: 72-35=37, Resulting Numbers: [28, 37] Generated Node #0,4,3: 78:[28, 37] Operation: 72-35=37 Exploring Operation: 35+28=63, Resulting Numbers: [72, 63] Generated Node #0,4,4: 78:[72, 63] Operation: 35+28=63 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[28, 37], Operations: ['97-25=72', '72-35=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 78:[72, 7], Operations: ['97-25=72', '35-28=7'] Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,78 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 78:[35, 44], Operations: ['97-25=72', '72-28=44'] Exploring Operation: 35*44=1540, Resulting Numbers: [1540] 1540,78 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 78:[72, 63], Operations: ['97-25=72', '35+28=63'] Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 72*63=4536, Resulting Numbers: [4536] 4536,78 unequal: No Solution Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 78:[35, 100], Operations: ['97-25=72', '28+72=100'] Exploring Operation: 35+100=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 35*100=3500, Resulting Numbers: [3500] 3500,78 unequal: No Solution Exploring Operation: 100-35=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[35, 25, 69], Operations: ['97-28=69'] Exploring Operation: 25+69=94, Resulting Numbers: [35, 94] Generated Node #0,2,0: 78:[35, 94] Operation: 25+69=94 Exploring Operation: 35+25=60, Resulting Numbers: [69, 60] Generated Node #0,2,1: 78:[69, 60] Operation: 35+25=60 Exploring Operation: 35-25=10, Resulting Numbers: [69, 10] Generated Node #0,2,2: 78:[69, 10] Operation: 35-25=10 Exploring Operation: 69-35=34, Resulting Numbers: [25, 34] Generated Node #0,2,3: 78:[25, 34] Operation: 69-35=34 Exploring Operation: 69-25=44, Resulting Numbers: [35, 44] Generated Node #0,2,4: 78:[35, 44] Operation: 69-25=44 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[25, 34], Operations: ['97-28=69', '69-35=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,78 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 78:[35, 44], Operations: ['97-28=69', '69-25=44'] Exploring Operation: 35*44=1540, Resulting Numbers: [1540] 1540,78 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[69, 10], Operations: ['97-28=69', '35-25=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[35, 94], Operations: ['97-28=69', '25+69=94'] Exploring Operation: 35+94=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 35*94=3290, Resulting Numbers: [3290] 3290,78 unequal: No Solution Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[69, 60], Operations: ['97-28=69', '35+25=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 78:[28, 25, 62], Operations: ['97-35=62'] Exploring Operation: 28+62=90, Resulting Numbers: [25, 90] Generated Node #0,1,0: 78:[25, 90] Operation: 28+62=90 Exploring Operation: 28-25=3, Resulting Numbers: [62, 3] Generated Node #0,1,1: 78:[62, 3] Operation: 28-25=3 Exploring Operation: 62-25=37, Resulting Numbers: [28, 37] Generated Node #0,1,2: 78:[28, 37] Operation: 62-25=37 Exploring Operation: 62-28=34, Resulting Numbers: [25, 34] Generated Node #0,1,3: 78:[25, 34] Operation: 62-28=34 Exploring Operation: 25+62=87, Resulting Numbers: [28, 87] Generated Node #0,1,4: 78:[28, 87] Operation: 25+62=87 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[28, 37], Operations: ['97-35=62', '62-25=37'] Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,78 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[25, 34], Operations: ['97-35=62', '62-28=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 78:[28, 87], Operations: ['97-35=62', '25+62=87'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,78 unequal: No Solution Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[25, 90], Operations: ['97-35=62', '28+62=90'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 25+90=115, Resulting Numbers: [115] 115,78 unequal: No Solution Exploring Operation: 25*90=2250, Resulting Numbers: [2250] 2250,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[62, 3], Operations: ['97-35=62', '28-25=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,78 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: 78:[97, 25, 7], Operations: ['35-28=7'] Exploring Operation: 97-25=72, Resulting Numbers: [7, 72] Generated Node #0,3,0: 78:[7, 72] Operation: 97-25=72 Exploring Operation: 97+7=104, Resulting Numbers: [25, 104] Generated Node #0,3,1: 78:[25, 104] Operation: 97+7=104 Exploring Operation: 97-7=90, Resulting Numbers: [25, 90] Generated Node #0,3,2: 78:[25, 90] Operation: 97-7=90 Exploring Operation: 25-7=18, Resulting Numbers: [97, 18] Generated Node #0,3,3: 78:[97, 18] Operation: 25-7=18 Exploring Operation: 25+7=32, Resulting Numbers: [97, 32] Generated Node #0,3,4: 78:[97, 32] Operation: 25+7=32 Moving to Node #0,0 Current State: 78:[97, 35, 3], Operations: ['28-25=3'] Exploring Operation: 97+3=100, Resulting Numbers: [35, 100] Generated Node #0,0,0: 78:[35, 100] Operation: 97+3=100 Exploring Operation: 35+3=38, Resulting Numbers: [97, 38] Generated Node #0,0,1: 78:[97, 38] Operation: 35+3=38 Exploring Operation: 97-35=62, Resulting Numbers: [3, 62] Generated Node #0,0,2: 78:[3, 62] Operation: 97-35=62 Exploring Operation: 97-3=94, Resulting Numbers: [35, 94] Generated Node #0,0,3: 78:[35, 94] Operation: 97-3=94 Exploring Operation: 35-3=32, Resulting Numbers: [97, 32] Generated Node #0,0,4: 78:[97, 32] Operation: 35-3=32 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[3, 62], Operations: ['28-25=3', '97-35=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,78 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[97, 38], Operations: ['28-25=3', '35+3=38'] Exploring Operation: 97*38=3686, Resulting Numbers: [3686] 3686,78 unequal: No Solution Exploring Operation: 97+38=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[35, 94], Operations: ['28-25=3', '97-3=94'] Exploring Operation: 35*94=3290, Resulting Numbers: [3290] 3290,78 unequal: No Solution Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 35+94=129, Resulting Numbers: [129] 129,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 78:[97, 32], Operations: ['28-25=3', '35-3=32'] Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,78 unequal: No Solution Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[35, 100], Operations: ['28-25=3', '97+3=100'] Exploring Operation: 100-35=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 35+100=135, Resulting Numbers: [135] 135,78 unequal: No Solution Exploring Operation: 35*100=3500, Resulting Numbers: [3500] 3500,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 78:[7, 72], Operations: ['35-28=7', '97-25=72'] Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,78 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[25, 90], Operations: ['35-28=7', '97-7=90'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 25+90=115, Resulting Numbers: [115] 115,78 unequal: No Solution Exploring Operation: 25*90=2250, Resulting Numbers: [2250] 2250,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[97, 18], Operations: ['35-28=7', '25-7=18'] Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,78 unequal: No Solution Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,78 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,78 unequal: No Solution Moving to Node #0,3,4 Current State: 78:[97, 32], Operations: ['35-28=7', '25+7=32'] Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,78 unequal: No Solution Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[25, 104], Operations: ['35-28=7', '97+7=104'] Exploring Operation: 25+104=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 25*104=2600, Resulting Numbers: [2600] 2600,78 unequal: No Solution Exploring Operation: 104-25=79, Resulting Numbers: [79] 79,78 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 3, 27, 63, 90 ]
57
[ "3+27=30", "90-63=27", "30+27=57" ]
Current State: 57:[3, 27, 63, 90], Operations: [] Exploring Operation: 3+27=30, Resulting Numbers: [63, 90, 30] Generated Node #2: [63, 90, 30] from Operation: 3+27=30 Current State: 57:[63, 90, 30], Operations: ['3+27=30'] Exploring Operation: 90-63=27, Resulting Numbers: [30, 27] Generated Node #3: [30, 27] from Operation: 90-63=27 Current State: 57:[30, 27], Operations: ['3+27=30', '90-63=27'] Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[3, 27, 63, 90], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [3, 27, 27] Generated Node #0,0: 57:[3, 27, 27] Operation: 90-63=27 Exploring Operation: 90/3=30, Resulting Numbers: [27, 63, 30] Generated Node #0,1: 57:[27, 63, 30] Operation: 90/3=30 Exploring Operation: 90-27=63, Resulting Numbers: [3, 63, 63] Generated Node #0,2: 57:[3, 63, 63] Operation: 90-27=63 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[3, 63, 63], Operations: ['90-27=63'] Exploring Operation: 63/3=21, Resulting Numbers: [63, 21] Generated Node #0,2,0: 57:[63, 21] Operation: 63/3=21 Exploring Operation: 63-63=0, Resulting Numbers: [3, 0] Generated Node #0,2,1: 57:[3, 0] Operation: 63-63=0 Exploring Operation: 63/63=1, Resulting Numbers: [3, 1] Generated Node #0,2,2: 57:[3, 1] Operation: 63/63=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[3, 1], Operations: ['90-27=63', '63/63=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[3, 0], Operations: ['90-27=63', '63-63=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[63, 21], Operations: ['90-27=63', '63/3=21'] Exploring Operation: 63+21=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[3, 27, 27], Operations: ['90-63=27'] Exploring Operation: 27-27=0, Resulting Numbers: [3, 0] Generated Node #0,0,0: 57:[3, 0] Operation: 27-27=0 Exploring Operation: 27/27=1, Resulting Numbers: [3, 1] Generated Node #0,0,1: 57:[3, 1] Operation: 27/27=1 Exploring Operation: 27+27=54, Resulting Numbers: [3, 54] Generated Node #0,0,2: 57:[3, 54] Operation: 27+27=54 Moving to Node #0,0,1 Current State: 57:[3, 1], Operations: ['90-63=27', '27/27=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[3, 0], Operations: ['90-63=27', '27-27=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[3, 54], Operations: ['90-63=27', '27+27=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[3, 27, 63, 90], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [3, 27, 27] Generated Node #0,0: 57:[3, 27, 27] Operation: 90-63=27 Moving to Node #0,0 Current State: 57:[3, 27, 27], Operations: ['90-63=27'] Exploring Operation: 27+27=54, Resulting Numbers: [3, 54] Generated Node #0,0,2: 57:[3, 54] Operation: 27+27=54 Moving to Node #0,0,2 Current State: 57:[3, 54], Operations: ['90-63=27', '27+27=54'] Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 53, 77, 26, 90 ]
55
[ "90-77=13", "26/13=2", "53+2=55" ]
Current State: 55:[53, 77, 26, 90], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [53, 26, 13] Generated Node #2: [53, 26, 13] from Operation: 90-77=13 Current State: 55:[53, 26, 13], Operations: ['90-77=13'] Exploring Operation: 26/13=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 26/13=2 Current State: 55:[53, 2], Operations: ['90-77=13', '26/13=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[53, 77, 26, 90], Operations: [] Exploring Operation: 77-26=51, Resulting Numbers: [53, 90, 51] Generated Node #0,0: 55:[53, 90, 51] Operation: 77-26=51 Exploring Operation: 90-53=37, Resulting Numbers: [77, 26, 37] Generated Node #0,1: 55:[77, 26, 37] Operation: 90-53=37 Exploring Operation: 77-53=24, Resulting Numbers: [26, 90, 24] Generated Node #0,2: 55:[26, 90, 24] Operation: 77-53=24 Exploring Operation: 90-77=13, Resulting Numbers: [53, 26, 13] Generated Node #0,3: 55:[53, 26, 13] Operation: 90-77=13 Exploring Operation: 90-26=64, Resulting Numbers: [53, 77, 64] Generated Node #0,4: 55:[53, 77, 64] Operation: 90-26=64 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[53, 26, 13], Operations: ['90-77=13'] Exploring Operation: 53+26=79, Resulting Numbers: [13, 79] Generated Node #0,3,0: 55:[13, 79] Operation: 53+26=79 Exploring Operation: 53-26=27, Resulting Numbers: [13, 27] Generated Node #0,3,1: 55:[13, 27] Operation: 53-26=27 Exploring Operation: 26/13=2, Resulting Numbers: [53, 2] Generated Node #0,3,2: 55:[53, 2] Operation: 26/13=2 Exploring Operation: 26-13=13, Resulting Numbers: [53, 13] Generated Node #0,3,3: 55:[53, 13] Operation: 26-13=13 Exploring Operation: 26+13=39, Resulting Numbers: [53, 39] Generated Node #0,3,4: 55:[53, 39] Operation: 26+13=39 Moving to Node #0,3,3 Current State: 55:[53, 13], Operations: ['90-77=13', '26-13=13'] Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,55 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[53, 2], Operations: ['90-77=13', '26/13=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:[53, 77, 26, 90], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [53, 26, 13] Generated Node #0,3: 55:[53, 26, 13] Operation: 90-77=13 Moving to Node #0,3 Current State: 55:[53, 26, 13], Operations: ['90-77=13'] Exploring Operation: 26/13=2, Resulting Numbers: [53, 2] Generated Node #0,3,2: 55:[53, 2] Operation: 26/13=2 Moving to Node #0,3,2 Current State: 55:[53, 2], Operations: ['90-77=13', '26/13=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 58, 37, 62, 5 ]
81
[ "58+37=95", "95/5=19", "62+19=81" ]
Current State: 81:[58, 37, 62, 5], Operations: [] Exploring Operation: 58+37=95, Resulting Numbers: [62, 5, 95] Generated Node #2: [62, 5, 95] from Operation: 58+37=95 Current State: 81:[62, 5, 95], Operations: ['58+37=95'] Exploring Operation: 95/5=19, Resulting Numbers: [62, 19] Generated Node #3: [62, 19] from Operation: 95/5=19 Current State: 81:[62, 19], Operations: ['58+37=95', '95/5=19'] Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[58, 37, 62, 5], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [37, 5, 4] Generated Node #0,0: 81:[37, 5, 4] Operation: 62-58=4 Moving to Node #0,0 Current State: 81:[37, 5, 4], Operations: ['62-58=4'] Exploring Operation: 37-5=32, Resulting Numbers: [4, 32] Generated Node #0,0,0: 81:[4, 32] Operation: 37-5=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[4, 32], Operations: ['62-58=4', '37-5=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 39, 26, 39, 81 ]
84
[ "39-26=13", "39/13=3", "81+3=84" ]
Current State: 84:[39, 26, 39, 81], Operations: [] Exploring Operation: 39-26=13, Resulting Numbers: [81, 13] Generated Node #2: [81, 13] from Operation: 39-26=13 Current State: 84:[81, 13], Operations: ['39-26=13'] Exploring Operation: 39/13=3, Resulting Numbers: [81, 3] Generated Node #3: [81, 3] from Operation: 39/13=3 Current State: 84:[81, 3], Operations: ['39-26=13', '39/13=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[39, 26, 39, 81], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [26, 39, 42] Generated Node #0,0: 84:[26, 39, 42] Operation: 81-39=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[26, 39, 42], Operations: ['81-39=42'] Exploring Operation: 39-26=13, Resulting Numbers: [42, 13] Generated Node #0,0,0: 84:[42, 13] Operation: 39-26=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[42, 13], Operations: ['81-39=42', '39-26=13'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 26, 37, 26, 88 ]
88
[ "26-26=0", "37*0=0", "88+0=88" ]
Current State: 88:[26, 37, 26, 88], Operations: [] Exploring Operation: 26-26=0, Resulting Numbers: [37, 88, 0] Generated Node #2: [37, 88, 0] from Operation: 26-26=0 Current State: 88:[37, 88, 0], Operations: ['26-26=0'] Exploring Operation: 37*0=0, Resulting Numbers: [88, 0] Generated Node #3: [88, 0] from Operation: 37*0=0 Current State: 88:[88, 0], Operations: ['26-26=0', '37*0=0'] Exploring Operation: 88+0=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[26, 37, 26, 88], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [26, 88, 11] Generated Node #0,0: 88:[26, 88, 11] Operation: 37-26=11 Exploring Operation: 37-26=11, Resulting Numbers: [26, 88, 11] Generated Node #0,1: 88:[26, 88, 11] Operation: 37-26=11 Exploring Operation: 26/26=1, Resulting Numbers: [37, 88, 1] Generated Node #0,2: 88:[37, 88, 1] Operation: 26/26=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[26, 88, 11], Operations: ['37-26=11'] Exploring Operation: 26+11=37, Resulting Numbers: [88, 37] Generated Node #0,0,0: 88:[88, 37] Operation: 26+11=37 Exploring Operation: 26-11=15, Resulting Numbers: [88, 15] Generated Node #0,0,1: 88:[88, 15] Operation: 26-11=15 Exploring Operation: 88/11=8, Resulting Numbers: [26, 8] Generated Node #0,0,2: 88:[26, 8] Operation: 88/11=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[88, 15], Operations: ['37-26=11', '26-11=15'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,88 unequal: No Solution Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,88 unequal: No Solution No 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: 88:[26, 8], Operations: ['37-26=11', '88/11=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,88 unequal: No Solution No 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: 88:[88, 37], Operations: ['37-26=11', '26+11=37'] Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 88+37=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 88*37=3256, Resulting Numbers: [3256] 3256,88 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: 88:[26, 88, 11], Operations: ['37-26=11'] Exploring Operation: 26+11=37, Resulting Numbers: [88, 37] Generated Node #0,1,0: 88:[88, 37] Operation: 26+11=37 Exploring Operation: 26-11=15, Resulting Numbers: [88, 15] Generated Node #0,1,1: 88:[88, 15] Operation: 26-11=15 Exploring Operation: 88/11=8, Resulting Numbers: [26, 8] Generated Node #0,1,2: 88:[26, 8] Operation: 88/11=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[88, 15], Operations: ['37-26=11', '26-11=15'] Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,88 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,88 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,88 unequal: No Solution No 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: 88:[26, 8], Operations: ['37-26=11', '88/11=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,88 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,88 unequal: No Solution No 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: 88:[88, 37], Operations: ['37-26=11', '26+11=37'] Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 88*37=3256, Resulting Numbers: [3256] 3256,88 unequal: No Solution Exploring Operation: 88+37=125, Resulting Numbers: [125] 125,88 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: 88:[37, 88, 1], Operations: ['26/26=1'] Exploring Operation: 37*1=37, Resulting Numbers: [88, 37] Generated Node #0,2,0: 88:[88, 37] Operation: 37*1=37 Exploring Operation: 37/1=37, Resulting Numbers: [88, 37] Generated Node #0,2,1: 88:[88, 37] Operation: 37/1=37 Exploring Operation: 37+1=38, Resulting Numbers: [88, 38] Generated Node #0,2,2: 88:[88, 38] Operation: 37+1=38 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[88, 38], Operations: ['26/26=1', '37+1=38'] Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,88 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,88 unequal: No Solution No 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: 88:[88, 37], Operations: ['26/26=1', '37*1=37'] Exploring Operation: 88+37=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 88*37=3256, Resulting Numbers: [3256] 3256,88 unequal: No Solution No 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: 88:[88, 37], Operations: ['26/26=1', '37/1=37'] Exploring Operation: 88+37=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 88*37=3256, Resulting Numbers: [3256] 3256,88 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 63, 21, 48, 79 ]
73
[ "63-21=42", "79-48=31", "42+31=73" ]
Current State: 73:[63, 21, 48, 79], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [48, 79, 42] Generated Node #2: [48, 79, 42] from Operation: 63-21=42 Current State: 73:[48, 79, 42], Operations: ['63-21=42'] Exploring Operation: 79-48=31, Resulting Numbers: [42, 31] Generated Node #3: [42, 31] from Operation: 79-48=31 Current State: 73:[42, 31], Operations: ['63-21=42', '79-48=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[63, 21, 48, 79], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [48, 79, 42] Generated Node #0,0: 73:[48, 79, 42] Operation: 63-21=42 Exploring Operation: 63+21=84, Resulting Numbers: [48, 79, 84] Generated Node #0,1: 73:[48, 79, 84] Operation: 63+21=84 Exploring Operation: 21+48=69, Resulting Numbers: [63, 79, 69] Generated Node #0,2: 73:[63, 79, 69] Operation: 21+48=69 Exploring Operation: 79-21=58, Resulting Numbers: [63, 48, 58] Generated Node #0,3: 73:[63, 48, 58] Operation: 79-21=58 Moving to Node #0,2 Current State: 73:[63, 79, 69], Operations: ['21+48=69'] Exploring Operation: 79-63=16, Resulting Numbers: [69, 16] Generated Node #0,2,0: 73:[69, 16] Operation: 79-63=16 Exploring Operation: 69-63=6, Resulting Numbers: [79, 6] Generated Node #0,2,1: 73:[79, 6] Operation: 69-63=6 Exploring Operation: 63+69=132, Resulting Numbers: [79, 132] Generated Node #0,2,2: 73:[79, 132] Operation: 63+69=132 Exploring Operation: 63+79=142, Resulting Numbers: [69, 142] Generated Node #0,2,3: 73:[69, 142] Operation: 63+79=142 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[69, 16], Operations: ['21+48=69', '79-63=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,73 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,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,2,2 Current State: 73:[79, 132], Operations: ['21+48=69', '63+69=132'] Exploring Operation: 132-79=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 79*132=10428, Resulting Numbers: [10428] 10428,73 unequal: No Solution Exploring Operation: 79+132=211, Resulting Numbers: [211] 211,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,2,1 Current State: 73:[79, 6], Operations: ['21+48=69', '69-63=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[63, 21, 48, 79], Operations: [] Exploring Operation: 21+48=69, Resulting Numbers: [63, 79, 69] Generated Node #0,2: 73:[63, 79, 69] Operation: 21+48=69 Moving to Node #0,2 Current State: 73:[63, 79, 69], Operations: ['21+48=69'] Exploring Operation: 69-63=6, Resulting Numbers: [79, 6] Generated Node #0,2,1: 73:[79, 6] Operation: 69-63=6 Moving to Node #0,2,1 Current State: 73:[79, 6], Operations: ['21+48=69', '69-63=6'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 28, 26, 98, 52 ]
42
[ "28*52=1456", "1456/26=56", "98-56=42" ]
Current State: 42:[28, 26, 98, 52], Operations: [] Exploring Operation: 28*52=1456, Resulting Numbers: [26, 98, 1456] Generated Node #2: [26, 98, 1456] from Operation: 28*52=1456 Current State: 42:[26, 98, 1456], Operations: ['28*52=1456'] Exploring Operation: 1456/26=56, Resulting Numbers: [98, 56] Generated Node #3: [98, 56] from Operation: 1456/26=56 Current State: 42:[98, 56], Operations: ['28*52=1456', '1456/26=56'] Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[28, 26, 98, 52], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [28, 98, 2] Generated Node #0,0: 42:[28, 98, 2] Operation: 52/26=2 Exploring Operation: 98-52=46, Resulting Numbers: [28, 26, 46] Generated Node #0,1: 42:[28, 26, 46] Operation: 98-52=46 Exploring Operation: 98-26=72, Resulting Numbers: [28, 52, 72] Generated Node #0,2: 42:[28, 52, 72] Operation: 98-26=72 Exploring Operation: 98-28=70, Resulting Numbers: [26, 52, 70] Generated Node #0,3: 42:[26, 52, 70] Operation: 98-28=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[28, 26, 46], Operations: ['98-52=46'] Exploring Operation: 46-26=20, Resulting Numbers: [28, 20] Generated Node #0,1,0: 42:[28, 20] Operation: 46-26=20 Exploring Operation: 46-28=18, Resulting Numbers: [26, 18] Generated Node #0,1,1: 42:[26, 18] Operation: 46-28=18 Exploring Operation: 28-26=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 42:[46, 2] Operation: 28-26=2 Exploring Operation: 28+26=54, Resulting Numbers: [46, 54] Generated Node #0,1,3: 42:[46, 54] Operation: 28+26=54 Moving to Node #0,1,2 Current State: 42:[46, 2], Operations: ['98-52=46', '28-26=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[26, 18], Operations: ['98-52=46', '46-28=18'] Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,42 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[28, 20], Operations: ['98-52=46', '46-26=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[46, 54], Operations: ['98-52=46', '28+26=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 46*54=2484, Resulting Numbers: [2484] 2484,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,3 Current State: 42:[26, 52, 70], Operations: ['98-28=70'] Exploring Operation: 52/26=2, Resulting Numbers: [70, 2] Generated Node #0,3,0: 42:[70, 2] Operation: 52/26=2 Exploring Operation: 70-52=18, Resulting Numbers: [26, 18] Generated Node #0,3,1: 42:[26, 18] Operation: 70-52=18 Exploring Operation: 70-26=44, Resulting Numbers: [52, 44] Generated Node #0,3,2: 42:[52, 44] Operation: 70-26=44 Exploring Operation: 52-26=26, Resulting Numbers: [70, 26] Generated Node #0,3,3: 42:[70, 26] Operation: 52-26=26 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[26, 18], Operations: ['98-28=70', '70-52=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,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,3,2 Current State: 42:[52, 44], Operations: ['98-28=70', '70-26=44'] Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,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,3,0 Current State: 42:[70, 2], Operations: ['98-28=70', '52/26=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,42 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,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,3,3 Current State: 42:[70, 26], Operations: ['98-28=70', '52-26=26'] Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,42 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[28, 52, 72], Operations: ['98-26=72'] Exploring Operation: 72-52=20, Resulting Numbers: [28, 20] Generated Node #0,2,0: 42:[28, 20] Operation: 72-52=20 Exploring Operation: 28+52=80, Resulting Numbers: [72, 80] Generated Node #0,2,1: 42:[72, 80] Operation: 28+52=80 Exploring Operation: 72-28=44, Resulting Numbers: [52, 44] Generated Node #0,2,2: 42:[52, 44] Operation: 72-28=44 Exploring Operation: 52-28=24, Resulting Numbers: [72, 24] Generated Node #0,2,3: 42:[72, 24] Operation: 52-28=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[28, 20], Operations: ['98-26=72', '72-52=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,42 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,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,2,2 Current State: 42:[52, 44], Operations: ['98-26=72', '72-28=44'] Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,42 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,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,2,3 Current State: 42:[72, 24], Operations: ['98-26=72', '52-28=24'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 72+24=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 72*24=1728, Resulting Numbers: [1728] 1728,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,2,1 Current State: 42:[72, 80], Operations: ['98-26=72', '28+52=80'] Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,42 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[28, 98, 2], Operations: ['52/26=2'] Exploring Operation: 28/2=14, Resulting Numbers: [98, 14] Generated Node #0,0,0: 42:[98, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [98, 26] Generated Node #0,0,1: 42:[98, 26] Operation: 28-2=26 Exploring Operation: 98/2=49, Resulting Numbers: [28, 49] Generated Node #0,0,2: 42:[28, 49] Operation: 98/2=49 Exploring Operation: 98-28=70, Resulting Numbers: [2, 70] Generated Node #0,0,3: 42:[2, 70] Operation: 98-28=70 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[28, 49], Operations: ['52/26=2', '98/2=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,42 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,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,0,3 Current State: 42:[2, 70], Operations: ['52/26=2', '98-28=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,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,0,0 Current State: 42:[98, 14], Operations: ['52/26=2', '28/2=14'] Exploring Operation: 98+14=112, Resulting Numbers: [112] 112,42 unequal: No Solution Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,42 unequal: No Solution Exploring Operation: 98*14=1372, Resulting Numbers: [1372] 1372,42 unequal: No Solution Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,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,0,1 Current State: 42:[98, 26], Operations: ['52/26=2', '28-2=26'] Exploring Operation: 98*26=2548, Resulting Numbers: [2548] 2548,42 unequal: No Solution Exploring Operation: 98+26=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,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_4
mult_heuristic
[ 2, 31, 35, 95 ]
89
[ "31-2=29", "95-35=60", "29+60=89" ]
Current State: 89:[2, 31, 35, 95], Operations: [] Exploring Operation: 31-2=29, Resulting Numbers: [35, 95, 29] Generated Node #2: [35, 95, 29] from Operation: 31-2=29 Current State: 89:[35, 95, 29], Operations: ['31-2=29'] Exploring Operation: 95-35=60, Resulting Numbers: [29, 60] Generated Node #3: [29, 60] from Operation: 95-35=60 Current State: 89:[29, 60], Operations: ['31-2=29', '95-35=60'] Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[2, 31, 35, 95], Operations: [] Exploring Operation: 2*35=70, Resulting Numbers: [31, 95, 70] Generated Node #0,0: 89:[31, 95, 70] Operation: 2*35=70 Exploring Operation: 2+31=33, Resulting Numbers: [35, 95, 33] Generated Node #0,1: 89:[35, 95, 33] Operation: 2+31=33 Exploring Operation: 2+35=37, Resulting Numbers: [31, 95, 37] Generated Node #0,2: 89:[31, 95, 37] Operation: 2+35=37 Exploring Operation: 95-2=93, Resulting Numbers: [31, 35, 93] Generated Node #0,3: 89:[31, 35, 93] Operation: 95-2=93 Exploring Operation: 2*31=62, Resulting Numbers: [35, 95, 62] Generated Node #0,4: 89:[35, 95, 62] Operation: 2*31=62 Moving to Node #0,0 Current State: 89:[31, 95, 70], Operations: ['2*35=70'] Exploring Operation: 31+95=126, Resulting Numbers: [70, 126] Generated Node #0,0,0: 89:[70, 126] Operation: 31+95=126 Exploring Operation: 31+70=101, Resulting Numbers: [95, 101] Generated Node #0,0,1: 89:[95, 101] Operation: 31+70=101 Exploring Operation: 70-31=39, Resulting Numbers: [95, 39] Generated Node #0,0,2: 89:[95, 39] Operation: 70-31=39 Exploring Operation: 95-31=64, Resulting Numbers: [70, 64] Generated Node #0,0,3: 89:[70, 64] Operation: 95-31=64 Exploring Operation: 95-70=25, Resulting Numbers: [31, 25] Generated Node #0,0,4: 89:[31, 25] Operation: 95-70=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[95, 101], Operations: ['2*35=70', '31+70=101'] Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,89 unequal: No Solution Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,89 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,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,0,3 Current State: 89:[70, 64], Operations: ['2*35=70', '95-31=64'] Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 70+64=134, Resulting Numbers: [134] 134,89 unequal: No Solution Exploring Operation: 70*64=4480, Resulting Numbers: [4480] 4480,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,0,0 Current State: 89:[70, 126], Operations: ['2*35=70', '31+95=126'] Exploring Operation: 70+126=196, Resulting Numbers: [196] 196,89 unequal: No Solution Exploring Operation: 70*126=8820, Resulting Numbers: [8820] 8820,89 unequal: No Solution Exploring Operation: 126-70=56, Resulting Numbers: [56] 56,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[95, 39], Operations: ['2*35=70', '70-31=39'] Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,89 unequal: No Solution Exploring Operation: 95*39=3705, Resulting Numbers: [3705] 3705,89 unequal: No Solution Exploring Operation: 95+39=134, Resulting Numbers: [134] 134,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,0,4 Current State: 89:[31, 25], Operations: ['2*35=70', '95-70=25'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,89 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,89 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: 89:[35, 95, 62], Operations: ['2*31=62'] Exploring Operation: 95-35=60, Resulting Numbers: [62, 60] Generated Node #0,4,0: 89:[62, 60] Operation: 95-35=60 Exploring Operation: 62-35=27, Resulting Numbers: [95, 27] Generated Node #0,4,1: 89:[95, 27] Operation: 62-35=27 Exploring Operation: 35+95=130, Resulting Numbers: [62, 130] Generated Node #0,4,2: 89:[62, 130] Operation: 35+95=130 Exploring Operation: 95-62=33, Resulting Numbers: [35, 33] Generated Node #0,4,3: 89:[35, 33] Operation: 95-62=33 Exploring Operation: 35+62=97, Resulting Numbers: [95, 97] Generated Node #0,4,4: 89:[95, 97] Operation: 35+62=97 Moving to Node #0,1 Current State: 89:[35, 95, 33], Operations: ['2+31=33'] Exploring Operation: 35-33=2, Resulting Numbers: [95, 2] Generated Node #0,1,0: 89:[95, 2] Operation: 35-33=2 Exploring Operation: 95-35=60, Resulting Numbers: [33, 60] Generated Node #0,1,1: 89:[33, 60] Operation: 95-35=60 Exploring Operation: 95-33=62, Resulting Numbers: [35, 62] Generated Node #0,1,2: 89:[35, 62] Operation: 95-33=62 Exploring Operation: 95+33=128, Resulting Numbers: [35, 128] Generated Node #0,1,3: 89:[35, 128] Operation: 95+33=128 Exploring Operation: 35+33=68, Resulting Numbers: [95, 68] Generated Node #0,1,4: 89:[95, 68] Operation: 35+33=68 Moving to Node #0,2 Current State: 89:[31, 95, 37], Operations: ['2+35=37'] Exploring Operation: 95-37=58, Resulting Numbers: [31, 58] Generated Node #0,2,0: 89:[31, 58] Operation: 95-37=58 Exploring Operation: 37-31=6, Resulting Numbers: [95, 6] Generated Node #0,2,1: 89:[95, 6] Operation: 37-31=6 Exploring Operation: 31+95=126, Resulting Numbers: [37, 126] Generated Node #0,2,2: 89:[37, 126] Operation: 31+95=126 Exploring Operation: 95-31=64, Resulting Numbers: [37, 64] Generated Node #0,2,3: 89:[37, 64] Operation: 95-31=64 Exploring Operation: 31+37=68, Resulting Numbers: [95, 68] Generated Node #0,2,4: 89:[95, 68] Operation: 31+37=68 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 89:[95, 68], Operations: ['2+35=37', '31+37=68'] Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 95*68=6460, Resulting Numbers: [6460] 6460,89 unequal: No Solution Exploring Operation: 95+68=163, Resulting Numbers: [163] 163,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,3 Current State: 89:[37, 64], Operations: ['2+35=37', '95-31=64'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 37+64=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 37*64=2368, Resulting Numbers: [2368] 2368,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,0 Current State: 89:[31, 58], Operations: ['2+35=37', '95-37=58'] Exploring Operation: 31*58=1798, Resulting Numbers: [1798] 1798,89 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[2, 31, 35, 95], Operations: [] Exploring Operation: 2+35=37, Resulting Numbers: [31, 95, 37] Generated Node #0,2: 89:[31, 95, 37] Operation: 2+35=37 Moving to Node #0,2 Current State: 89:[31, 95, 37], Operations: ['2+35=37'] Exploring Operation: 95-37=58, Resulting Numbers: [31, 58] Generated Node #0,2,0: 89:[31, 58] Operation: 95-37=58 Moving to Node #0,2,0 Current State: 89:[31, 58], Operations: ['2+35=37', '95-37=58'] Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_5
mult_heuristic
[ 5, 68, 23, 45 ]
92
[ "5*23=115", "68-45=23", "115-23=92" ]
Current State: 92:[5, 68, 23, 45], Operations: [] Exploring Operation: 5*23=115, Resulting Numbers: [68, 45, 115] Generated Node #2: [68, 45, 115] from Operation: 5*23=115 Current State: 92:[68, 45, 115], Operations: ['5*23=115'] Exploring Operation: 68-45=23, Resulting Numbers: [115, 23] Generated Node #3: [115, 23] from Operation: 68-45=23 Current State: 92:[115, 23], Operations: ['5*23=115', '68-45=23'] Exploring Operation: 115-23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[5, 68, 23, 45], Operations: [] Exploring Operation: 68-5=63, Resulting Numbers: [23, 45, 63] Generated Node #0,0: 92:[23, 45, 63] Operation: 68-5=63 Exploring Operation: 68-45=23, Resulting Numbers: [5, 23, 23] Generated Node #0,1: 92:[5, 23, 23] Operation: 68-45=23 Exploring Operation: 68+23=91, Resulting Numbers: [5, 45, 91] Generated Node #0,2: 92:[5, 45, 91] Operation: 68+23=91 Exploring Operation: 68-23=45, Resulting Numbers: [5, 45, 45] Generated Node #0,3: 92:[5, 45, 45] Operation: 68-23=45 Moving to Node #0,1 Current State: 92:[5, 23, 23], Operations: ['68-45=23'] Exploring Operation: 5+23=28, Resulting Numbers: [23, 28] Generated Node #0,1,0: 92:[23, 28] Operation: 5+23=28 Exploring Operation: 23+23=46, Resulting Numbers: [5, 46] Generated Node #0,1,1: 92:[5, 46] Operation: 23+23=46 Exploring Operation: 23-23=0, Resulting Numbers: [5, 0] Generated Node #0,1,2: 92:[5, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [5, 1] Generated Node #0,1,3: 92:[5, 1] Operation: 23/23=1 Moving to Node #0,3 Current State: 92:[5, 45, 45], Operations: ['68-23=45'] Exploring Operation: 45+45=90, Resulting Numbers: [5, 90] Generated Node #0,3,0: 92:[5, 90] Operation: 45+45=90 Exploring Operation: 45-45=0, Resulting Numbers: [5, 0] Generated Node #0,3,1: 92:[5, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [5, 1] Generated Node #0,3,2: 92:[5, 1] Operation: 45/45=1 Exploring Operation: 5+45=50, Resulting Numbers: [45, 50] Generated Node #0,3,3: 92:[45, 50] Operation: 5+45=50 Moving to Node #0,2 Current State: 92:[5, 45, 91], Operations: ['68+23=91'] Exploring Operation: 5+45=50, Resulting Numbers: [91, 50] Generated Node #0,2,0: 92:[91, 50] Operation: 5+45=50 Exploring Operation: 91-45=46, Resulting Numbers: [5, 46] Generated Node #0,2,1: 92:[5, 46] Operation: 91-45=46 Exploring Operation: 5+91=96, Resulting Numbers: [45, 96] Generated Node #0,2,2: 92:[45, 96] Operation: 5+91=96 Exploring Operation: 45/5=9, Resulting Numbers: [91, 9] Generated Node #0,2,3: 92:[91, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[5, 46], Operations: ['68+23=91', '91-45=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[91, 50], Operations: ['68+23=91', '5+45=50'] Exploring Operation: 91+50=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 91*50=4550, Resulting Numbers: [4550] 4550,92 unequal: No Solution Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[45, 96], Operations: ['68+23=91', '5+91=96'] Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[91, 9], Operations: ['68+23=91', '45/5=9'] Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 91*9=819, Resulting Numbers: [819] 819,92 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: 92:[23, 45, 63], Operations: ['68-5=63'] Exploring Operation: 63-45=18, Resulting Numbers: [23, 18] Generated Node #0,0,0: 92:[23, 18] Operation: 63-45=18 Exploring Operation: 23+63=86, Resulting Numbers: [45, 86] Generated Node #0,0,1: 92:[45, 86] Operation: 23+63=86 Exploring Operation: 63-23=40, Resulting Numbers: [45, 40] Generated Node #0,0,2: 92:[45, 40] Operation: 63-23=40 Exploring Operation: 45+63=108, Resulting Numbers: [23, 108] Generated Node #0,0,3: 92:[23, 108] Operation: 45+63=108 Moving to Node #0,1,1 Current State: 92:[5, 46], Operations: ['68-45=23', '23+23=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,92 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[5, 1], Operations: ['68-45=23', '23/23=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[5, 1], Operations: ['68-23=45', '45/45=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[5, 0], Operations: ['68-45=23', '23-23=0'] Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[5, 0], Operations: ['68-23=45', '45-45=0'] Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[5, 90], Operations: ['68-23=45', '45+45=90'] Exploring Operation: 5*90=450, Resulting Numbers: [450] 450,92 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[45, 50], Operations: ['68-23=45', '5+45=50'] Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[23, 28], Operations: ['68-45=23', '5+23=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,92 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[23, 18], Operations: ['68-5=63', '63-45=18'] Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,92 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[45, 86], Operations: ['68-5=63', '23+63=86'] Exploring Operation: 45+86=131, Resulting Numbers: [131] 131,92 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 45*86=3870, Resulting Numbers: [3870] 3870,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[45, 40], Operations: ['68-5=63', '63-23=40'] Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[23, 108], Operations: ['68-5=63', '45+63=108'] Exploring Operation: 23+108=131, Resulting Numbers: [131] 131,92 unequal: No Solution Exploring Operation: 23*108=2484, Resulting Numbers: [2484] 2484,92 unequal: No Solution Exploring Operation: 108-23=85, Resulting Numbers: [85] 85,92 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 91, 25, 4, 60 ]
10
[ "91-25=66", "60-4=56", "66-56=10" ]
Current State: 10:[91, 25, 4, 60], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [4, 60, 66] Generated Node #2: [4, 60, 66] from Operation: 91-25=66 Current State: 10:[4, 60, 66], Operations: ['91-25=66'] Exploring Operation: 60-4=56, Resulting Numbers: [66, 56] Generated Node #3: [66, 56] from Operation: 60-4=56 Current State: 10:[66, 56], Operations: ['91-25=66', '60-4=56'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[91, 25, 4, 60], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [25, 4, 31] Generated Node #0,0: 10:[25, 4, 31] Operation: 91-60=31 Moving to Node #0,0 Current State: 10:[25, 4, 31], Operations: ['91-60=31'] Exploring Operation: 31-25=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 10:[4, 6] Operation: 31-25=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[4, 6], Operations: ['91-60=31', '31-25=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[91, 25, 4, 60], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [25, 4, 31] Generated Node #0,0: 10:[25, 4, 31] Operation: 91-60=31 Moving to Node #0,0 Current State: 10:[25, 4, 31], Operations: ['91-60=31'] Exploring Operation: 31-25=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 10:[4, 6] Operation: 31-25=6 Moving to Node #0,0,0 Current State: 10:[4, 6], Operations: ['91-60=31', '31-25=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 26, 45, 3, 93 ]
16
[ "26+93=119", "45*3=135", "135-119=16" ]
Current State: 16:[26, 45, 3, 93], Operations: [] Exploring Operation: 26+93=119, Resulting Numbers: [45, 3, 119] Generated Node #2: [45, 3, 119] from Operation: 26+93=119 Current State: 16:[45, 3, 119], Operations: ['26+93=119'] Exploring Operation: 45*3=135, Resulting Numbers: [119, 135] Generated Node #3: [119, 135] from Operation: 45*3=135 Current State: 16:[119, 135], Operations: ['26+93=119', '45*3=135'] Exploring Operation: 135-119=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[26, 45, 3, 93], Operations: [] Exploring Operation: 45-26=19, Resulting Numbers: [3, 93, 19] Generated Node #0,0: 16:[3, 93, 19] Operation: 45-26=19 Exploring Operation: 93-26=67, Resulting Numbers: [45, 3, 67] Generated Node #0,1: 16:[45, 3, 67] Operation: 93-26=67 Exploring Operation: 93-45=48, Resulting Numbers: [26, 3, 48] Generated Node #0,2: 16:[26, 3, 48] Operation: 93-45=48 Exploring Operation: 93/3=31, Resulting Numbers: [26, 45, 31] Generated Node #0,3: 16:[26, 45, 31] Operation: 93/3=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[26, 3, 48], Operations: ['93-45=48'] Exploring Operation: 26-3=23, Resulting Numbers: [48, 23] Generated Node #0,2,0: 16:[48, 23] Operation: 26-3=23 Exploring Operation: 48-26=22, Resulting Numbers: [3, 22] Generated Node #0,2,1: 16:[3, 22] Operation: 48-26=22 Exploring Operation: 48-3=45, Resulting Numbers: [26, 45] Generated Node #0,2,2: 16:[26, 45] Operation: 48-3=45 Exploring Operation: 48/3=16, Resulting Numbers: [26, 16] Generated Node #0,2,3: 16:[26, 16] Operation: 48/3=16 Moving to Node #0,2,1 Current State: 16:[3, 22], Operations: ['93-45=48', '48-26=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,16 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[26, 16], Operations: ['93-45=48', '48/3=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,16 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[26, 45], Operations: ['93-45=48', '48-3=45'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[48, 23], Operations: ['93-45=48', '26-3=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[26, 45, 31], Operations: ['93/3=31'] Exploring Operation: 26+45=71, Resulting Numbers: [31, 71] Generated Node #0,3,0: 16:[31, 71] Operation: 26+45=71 Exploring Operation: 45-31=14, Resulting Numbers: [26, 14] Generated Node #0,3,1: 16:[26, 14] Operation: 45-31=14 Exploring Operation: 31-26=5, Resulting Numbers: [45, 5] Generated Node #0,3,2: 16:[45, 5] Operation: 31-26=5 Exploring Operation: 45-26=19, Resulting Numbers: [31, 19] Generated Node #0,3,3: 16:[31, 19] Operation: 45-26=19 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[26, 14], Operations: ['93/3=31', '45-31=14'] Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,16 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[31, 19], Operations: ['93/3=31', '45-26=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 16:[45, 5], Operations: ['93/3=31', '31-26=5'] Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,16 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 16:[31, 71], Operations: ['93/3=31', '26+45=71'] Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,16 unequal: No Solution Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,16 unequal: No Solution Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[3, 93, 19], Operations: ['45-26=19'] Exploring Operation: 19-3=16, Resulting Numbers: [93, 16] Generated Node #0,0,0: 16:[93, 16] Operation: 19-3=16 Exploring Operation: 93/3=31, Resulting Numbers: [19, 31] Generated Node #0,0,1: 16:[19, 31] Operation: 93/3=31 Exploring Operation: 93-19=74, Resulting Numbers: [3, 74] Generated Node #0,0,2: 16:[3, 74] Operation: 93-19=74 Exploring Operation: 93-3=90, Resulting Numbers: [19, 90] Generated Node #0,0,3: 16:[19, 90] Operation: 93-3=90 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[19, 31], Operations: ['45-26=19', '93/3=31'] Exploring Operation: 19+31=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 19*31=589, Resulting Numbers: [589] 589,16 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[3, 74], Operations: ['45-26=19', '93-19=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[93, 16], Operations: ['45-26=19', '19-3=16'] Exploring Operation: 93-16=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 93*16=1488, Resulting Numbers: [1488] 1488,16 unequal: No Solution Exploring Operation: 93+16=109, Resulting Numbers: [109] 109,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 16:[19, 90], Operations: ['45-26=19', '93-3=90'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 19*90=1710, Resulting Numbers: [1710] 1710,16 unequal: No Solution Exploring Operation: 19+90=109, Resulting Numbers: [109] 109,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[45, 3, 67], Operations: ['93-26=67'] Exploring Operation: 45/3=15, Resulting Numbers: [67, 15] Generated Node #0,1,0: 16:[67, 15] Operation: 45/3=15 Exploring Operation: 67-45=22, Resulting Numbers: [3, 22] Generated Node #0,1,1: 16:[3, 22] Operation: 67-45=22 Exploring Operation: 45-3=42, Resulting Numbers: [67, 42] Generated Node #0,1,2: 16:[67, 42] Operation: 45-3=42 Exploring Operation: 67-3=64, Resulting Numbers: [45, 64] Generated Node #0,1,3: 16:[45, 64] Operation: 67-3=64 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[3, 22], Operations: ['93-26=67', '67-45=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,16 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[67, 15], Operations: ['93-26=67', '45/3=15'] Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,16 unequal: No Solution Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,16 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[67, 42], Operations: ['93-26=67', '45-3=42'] Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,16 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 16:[45, 64], Operations: ['93-26=67', '67-3=64'] Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 45+64=109, Resulting Numbers: [109] 109,16 unequal: No Solution Exploring Operation: 45*64=2880, Resulting Numbers: [2880] 2880,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 38, 57, 39, 53 ]
73
[ "57-38=19", "39+53=92", "92-19=73" ]
Current State: 73:[38, 57, 39, 53], Operations: [] Exploring Operation: 57-38=19, Resulting Numbers: [39, 53, 19] Generated Node #2: [39, 53, 19] from Operation: 57-38=19 Current State: 73:[39, 53, 19], Operations: ['57-38=19'] Exploring Operation: 39+53=92, Resulting Numbers: [19, 92] Generated Node #3: [19, 92] from Operation: 39+53=92 Current State: 73:[19, 92], Operations: ['57-38=19', '39+53=92'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[38, 57, 39, 53], Operations: [] Exploring Operation: 39+53=92, Resulting Numbers: [38, 57, 92] Generated Node #0,0: 73:[38, 57, 92] Operation: 39+53=92 Exploring Operation: 38+53=91, Resulting Numbers: [57, 39, 91] Generated Node #0,1: 73:[57, 39, 91] Operation: 38+53=91 Exploring Operation: 38+39=77, Resulting Numbers: [57, 53, 77] Generated Node #0,2: 73:[57, 53, 77] Operation: 38+39=77 Moving to Node #0,2 Current State: 73:[57, 53, 77], Operations: ['38+39=77'] Exploring Operation: 77-53=24, Resulting Numbers: [57, 24] Generated Node #0,2,0: 73:[57, 24] Operation: 77-53=24 Exploring Operation: 57-53=4, Resulting Numbers: [77, 4] Generated Node #0,2,1: 73:[77, 4] Operation: 57-53=4 Exploring Operation: 57+53=110, Resulting Numbers: [77, 110] Generated Node #0,2,2: 73:[77, 110] Operation: 57+53=110 Moving to Node #0,1 Current State: 73:[57, 39, 91], Operations: ['38+53=91'] Exploring Operation: 57-39=18, Resulting Numbers: [91, 18] Generated Node #0,1,0: 73:[91, 18] Operation: 57-39=18 Exploring Operation: 57+39=96, Resulting Numbers: [91, 96] Generated Node #0,1,1: 73:[91, 96] Operation: 57+39=96 Exploring Operation: 91-39=52, Resulting Numbers: [57, 52] Generated Node #0,1,2: 73:[57, 52] Operation: 91-39=52 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[57, 52], Operations: ['38+53=91', '91-39=52'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 57*52=2964, Resulting Numbers: [2964] 2964,73 unequal: No Solution Exploring Operation: 57+52=109, Resulting Numbers: [109] 109,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[91, 96], Operations: ['38+53=91', '57+39=96'] Exploring Operation: 91+96=187, Resulting Numbers: [187] 187,73 unequal: No Solution Exploring Operation: 96-91=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 91*96=8736, Resulting Numbers: [8736] 8736,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,0 Current State: 73:[91, 18], Operations: ['38+53=91', '57-39=18'] Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[38, 57, 39, 53], Operations: [] Exploring Operation: 38+53=91, Resulting Numbers: [57, 39, 91] Generated Node #0,1: 73:[57, 39, 91] Operation: 38+53=91 Moving to Node #0,1 Current State: 73:[57, 39, 91], Operations: ['38+53=91'] Exploring Operation: 57-39=18, Resulting Numbers: [91, 18] Generated Node #0,1,0: 73:[91, 18] Operation: 57-39=18 Moving to Node #0,1,0 Current State: 73:[91, 18], Operations: ['38+53=91', '57-39=18'] Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 43, 28, 43, 91 ]
63
[ "43+28=71", "43+91=134", "134-71=63" ]
Current State: 63:[43, 28, 43, 91], Operations: [] Exploring Operation: 43+28=71, Resulting Numbers: [91, 71] Generated Node #2: [91, 71] from Operation: 43+28=71 Current State: 63:[91, 71], Operations: ['43+28=71'] Exploring Operation: 43+91=134, Resulting Numbers: [71, 134] Generated Node #3: [71, 134] from Operation: 43+91=134 Current State: 63:[71, 134], Operations: ['43+28=71', '43+91=134'] Exploring Operation: 134-71=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[43, 28, 43, 91], Operations: [] Exploring Operation: 43/43=1, Resulting Numbers: [28, 91, 1] Generated Node #0,0: 63:[28, 91, 1] Operation: 43/43=1 Exploring Operation: 43-43=0, Resulting Numbers: [28, 91, 0] Generated Node #0,1: 63:[28, 91, 0] Operation: 43-43=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[28, 91, 1], Operations: ['43/43=1'] Exploring Operation: 28-1=27, Resulting Numbers: [91, 27] Generated Node #0,0,0: 63:[91, 27] Operation: 28-1=27 Exploring Operation: 91-28=63, Resulting Numbers: [1, 63] Generated Node #0,0,1: 63:[1, 63] Operation: 91-28=63 Moving to Node #0,0,1 Current State: 63:[1, 63], Operations: ['43/43=1', '91-28=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[43, 28, 43, 91], Operations: [] Exploring Operation: 43/43=1, Resulting Numbers: [28, 91, 1] Generated Node #0,0: 63:[28, 91, 1] Operation: 43/43=1 Moving to Node #0,0 Current State: 63:[28, 91, 1], Operations: ['43/43=1'] Exploring Operation: 91-28=63, Resulting Numbers: [1, 63] Generated Node #0,0,1: 63:[1, 63] Operation: 91-28=63 Moving to Node #0,0,1 Current State: 63:[1, 63], Operations: ['43/43=1', '91-28=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 15, 44, 70, 84 ]
95
[ "15+44=59", "70+84=154", "154-59=95" ]
Current State: 95:[15, 44, 70, 84], Operations: [] Exploring Operation: 15+44=59, Resulting Numbers: [70, 84, 59] Generated Node #2: [70, 84, 59] from Operation: 15+44=59 Current State: 95:[70, 84, 59], Operations: ['15+44=59'] Exploring Operation: 70+84=154, Resulting Numbers: [59, 154] Generated Node #3: [59, 154] from Operation: 70+84=154 Current State: 95:[59, 154], Operations: ['15+44=59', '70+84=154'] Exploring Operation: 154-59=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[15, 44, 70, 84], Operations: [] Exploring Operation: 44-15=29, Resulting Numbers: [70, 84, 29] Generated Node #0,0: 95:[70, 84, 29] Operation: 44-15=29 Exploring Operation: 84-70=14, Resulting Numbers: [15, 44, 14] Generated Node #0,1: 95:[15, 44, 14] Operation: 84-70=14 Exploring Operation: 44+70=114, Resulting Numbers: [15, 84, 114] Generated Node #0,2: 95:[15, 84, 114] Operation: 44+70=114 Exploring Operation: 15+70=85, Resulting Numbers: [44, 84, 85] Generated Node #0,3: 95:[44, 84, 85] Operation: 15+70=85 Exploring Operation: 70-44=26, Resulting Numbers: [15, 84, 26] Generated Node #0,4: 95:[15, 84, 26] Operation: 70-44=26 Moving to Node #0,4 Current State: 95:[15, 84, 26], Operations: ['70-44=26'] Exploring Operation: 15+26=41, Resulting Numbers: [84, 41] Generated Node #0,4,0: 95:[84, 41] Operation: 15+26=41 Exploring Operation: 26-15=11, Resulting Numbers: [84, 11] Generated Node #0,4,1: 95:[84, 11] Operation: 26-15=11 Exploring Operation: 84-15=69, Resulting Numbers: [26, 69] Generated Node #0,4,2: 95:[26, 69] Operation: 84-15=69 Exploring Operation: 15+84=99, Resulting Numbers: [26, 99] Generated Node #0,4,3: 95:[26, 99] Operation: 15+84=99 Exploring Operation: 84+26=110, Resulting Numbers: [15, 110] Generated Node #0,4,4: 95:[15, 110] Operation: 84+26=110 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 95:[26, 99], Operations: ['70-44=26', '15+84=99'] Exploring Operation: 26*99=2574, Resulting Numbers: [2574] 2574,95 unequal: No Solution Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 26+99=125, Resulting Numbers: [125] 125,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[84, 11], Operations: ['70-44=26', '26-15=11'] Exploring Operation: 84*11=924, Resulting Numbers: [924] 924,95 unequal: No Solution Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[15, 44, 70, 84], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [15, 84, 26] Generated Node #0,4: 95:[15, 84, 26] Operation: 70-44=26 Moving to Node #0,4 Current State: 95:[15, 84, 26], Operations: ['70-44=26'] Exploring Operation: 26-15=11, Resulting Numbers: [84, 11] Generated Node #0,4,1: 95:[84, 11] Operation: 26-15=11 Moving to Node #0,4,1 Current State: 95:[84, 11], Operations: ['70-44=26', '26-15=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 41, 56, 33, 25 ]
32
[ "41-33=8", "56/8=7", "25+7=32" ]
Current State: 32:[41, 56, 33, 25], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [56, 25, 8] Generated Node #2: [56, 25, 8] from Operation: 41-33=8 Current State: 32:[56, 25, 8], Operations: ['41-33=8'] Exploring Operation: 56/8=7, Resulting Numbers: [25, 7] Generated Node #3: [25, 7] from Operation: 56/8=7 Current State: 32:[25, 7], Operations: ['41-33=8', '56/8=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[41, 56, 33, 25], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [33, 25, 15] Generated Node #0,0: 32:[33, 25, 15] Operation: 56-41=15 Exploring Operation: 56-33=23, Resulting Numbers: [41, 25, 23] Generated Node #0,1: 32:[41, 25, 23] Operation: 56-33=23 Exploring Operation: 41-25=16, Resulting Numbers: [56, 33, 16] Generated Node #0,2: 32:[56, 33, 16] Operation: 41-25=16 Exploring Operation: 56-25=31, Resulting Numbers: [41, 33, 31] Generated Node #0,3: 32:[41, 33, 31] Operation: 56-25=31 Exploring Operation: 41-33=8, Resulting Numbers: [56, 25, 8] Generated Node #0,4: 32:[56, 25, 8] Operation: 41-33=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[33, 25, 15], Operations: ['56-41=15'] Exploring Operation: 25-15=10, Resulting Numbers: [33, 10] Generated Node #0,0,0: 32:[33, 10] Operation: 25-15=10 Exploring Operation: 33-15=18, Resulting Numbers: [25, 18] Generated Node #0,0,1: 32:[25, 18] Operation: 33-15=18 Exploring Operation: 25+15=40, Resulting Numbers: [33, 40] Generated Node #0,0,2: 32:[33, 40] Operation: 25+15=40 Exploring Operation: 33-25=8, Resulting Numbers: [15, 8] Generated Node #0,0,3: 32:[15, 8] Operation: 33-25=8 Exploring Operation: 33+15=48, Resulting Numbers: [25, 48] Generated Node #0,0,4: 32:[25, 48] Operation: 33+15=48 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 32:[15, 8], Operations: ['56-41=15', '33-25=8'] Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,32 unequal: No Solution No 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: 32:[33, 10], Operations: ['56-41=15', '25-15=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,32 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,32 unequal: No Solution No 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: 32:[25, 18], Operations: ['56-41=15', '33-15=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,32 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,32 unequal: No Solution No 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: 32:[33, 40], Operations: ['56-41=15', '25+15=40'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,32 unequal: No Solution Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,32 unequal: No Solution No 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: 32:[25, 48], Operations: ['56-41=15', '33+15=48'] Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 25*48=1200, Resulting Numbers: [1200] 1200,32 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[41, 33, 31], Operations: ['56-25=31'] Exploring Operation: 41-31=10, Resulting Numbers: [33, 10] Generated Node #0,3,0: 32:[33, 10] Operation: 41-31=10 Exploring Operation: 41-33=8, Resulting Numbers: [31, 8] Generated Node #0,3,1: 32:[31, 8] Operation: 41-33=8 Exploring Operation: 33+31=64, Resulting Numbers: [41, 64] Generated Node #0,3,2: 32:[41, 64] Operation: 33+31=64 Exploring Operation: 41+31=72, Resulting Numbers: [33, 72] Generated Node #0,3,3: 32:[33, 72] Operation: 41+31=72 Exploring Operation: 33-31=2, Resulting Numbers: [41, 2] Generated Node #0,3,4: 32:[41, 2] Operation: 33-31=2 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 32:[31, 8], Operations: ['56-25=31', '41-33=8'] Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,32 unequal: No Solution No 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: 32:[33, 10], Operations: ['56-25=31', '41-31=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,32 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 32:[41, 2], Operations: ['56-25=31', '33-31=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,32 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 32:[41, 64], Operations: ['56-25=31', '33+31=64'] Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,32 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,32 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,32 unequal: No Solution No 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: 32:[33, 72], Operations: ['56-25=31', '41+31=72'] Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,32 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,32 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[41, 25, 23], Operations: ['56-33=23'] Exploring Operation: 41+23=64, Resulting Numbers: [25, 64] Generated Node #0,1,0: 32:[25, 64] Operation: 41+23=64 Exploring Operation: 25-23=2, Resulting Numbers: [41, 2] Generated Node #0,1,1: 32:[41, 2] Operation: 25-23=2 Exploring Operation: 41-23=18, Resulting Numbers: [25, 18] Generated Node #0,1,2: 32:[25, 18] Operation: 41-23=18 Exploring Operation: 41-25=16, Resulting Numbers: [23, 16] Generated Node #0,1,3: 32:[23, 16] Operation: 41-25=16 Exploring Operation: 25+23=48, Resulting Numbers: [41, 48] Generated Node #0,1,4: 32:[41, 48] Operation: 25+23=48 Moving to Node #0,1,3 Current State: 32:[23, 16], Operations: ['56-33=23', '41-25=16'] Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,32 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[25, 18], Operations: ['56-33=23', '41-23=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,32 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[41, 2], Operations: ['56-33=23', '25-23=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,32 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[41, 48], Operations: ['56-33=23', '25+23=48'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,32 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[25, 64], Operations: ['56-33=23', '41+23=64'] Exploring Operation: 25*64=1600, Resulting Numbers: [1600] 1600,32 unequal: No Solution Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 25+64=89, Resulting Numbers: [89] 89,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[56, 33, 16], Operations: ['41-25=16'] Exploring Operation: 33+16=49, Resulting Numbers: [56, 49] Generated Node #0,2,0: 32:[56, 49] Operation: 33+16=49 Exploring Operation: 33-16=17, Resulting Numbers: [56, 17] Generated Node #0,2,1: 32:[56, 17] Operation: 33-16=17 Exploring Operation: 56+16=72, Resulting Numbers: [33, 72] Generated Node #0,2,2: 32:[33, 72] Operation: 56+16=72 Exploring Operation: 56-16=40, Resulting Numbers: [33, 40] Generated Node #0,2,3: 32:[33, 40] Operation: 56-16=40 Exploring Operation: 56-33=23, Resulting Numbers: [16, 23] Generated Node #0,2,4: 32:[16, 23] Operation: 56-33=23 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 32:[16, 23], Operations: ['41-25=16', '56-33=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,32 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,32 unequal: No Solution No 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: 32:[33, 40], Operations: ['41-25=16', '56-16=40'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,32 unequal: No Solution No 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: 32:[56, 17], Operations: ['41-25=16', '33-16=17'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,32 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,32 unequal: No Solution No 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: 32:[56, 49], Operations: ['41-25=16', '33+16=49'] Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,32 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,32 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,32 unequal: No Solution No 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: 32:[33, 72], Operations: ['41-25=16', '56+16=72'] Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,32 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 32:[56, 25, 8], Operations: ['41-33=8'] Exploring Operation: 56/8=7, Resulting Numbers: [25, 7] Generated Node #0,4,0: 32:[25, 7] Operation: 56/8=7 Exploring Operation: 25-8=17, Resulting Numbers: [56, 17] Generated Node #0,4,1: 32:[56, 17] Operation: 25-8=17 Exploring Operation: 56-8=48, Resulting Numbers: [25, 48] Generated Node #0,4,2: 32:[25, 48] Operation: 56-8=48 Exploring Operation: 56-25=31, Resulting Numbers: [8, 31] Generated Node #0,4,3: 32:[8, 31] Operation: 56-25=31 Exploring Operation: 25+8=33, Resulting Numbers: [56, 33] Generated Node #0,4,4: 32:[56, 33] Operation: 25+8=33 Moving to Node #0,4,3 Current State: 32:[8, 31], Operations: ['41-33=8', '56-25=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,32 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[25, 7], Operations: ['41-33=8', '56/8=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,32 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[41, 56, 33, 25], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [56, 25, 8] Generated Node #0,4: 32:[56, 25, 8] Operation: 41-33=8 Moving to Node #0,4 Current State: 32:[56, 25, 8], Operations: ['41-33=8'] Exploring Operation: 56/8=7, Resulting Numbers: [25, 7] Generated Node #0,4,0: 32:[25, 7] Operation: 56/8=7 Moving to Node #0,4,0 Current State: 32:[25, 7], Operations: ['41-33=8', '56/8=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.913194
hs_5
sum_heuristic
[ 34, 33, 38, 5 ]
53
[ "38-34=4", "5*4=20", "33+20=53" ]
Current State: 53:[34, 33, 38, 5], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [33, 5, 4] Generated Node #2: [33, 5, 4] from Operation: 38-34=4 Current State: 53:[33, 5, 4], Operations: ['38-34=4'] Exploring Operation: 5*4=20, Resulting Numbers: [33, 20] Generated Node #3: [33, 20] from Operation: 5*4=20 Current State: 53:[33, 20], Operations: ['38-34=4', '5*4=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[34, 33, 38, 5], Operations: [] Exploring Operation: 34+5=39, Resulting Numbers: [33, 38, 39] Generated Node #0,0: 53:[33, 38, 39] Operation: 34+5=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[33, 38, 39], Operations: ['34+5=39'] Exploring Operation: 33+38=71, Resulting Numbers: [39, 71] Generated Node #0,0,0: 53:[39, 71] Operation: 33+38=71 Moving to Node #0,0,0 Current State: 53:[39, 71], Operations: ['34+5=39', '33+38=71'] Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,53 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
[ 53, 66, 2, 19 ]
98
[ "53+66=119", "2+19=21", "119-21=98" ]
Current State: 98:[53, 66, 2, 19], Operations: [] Exploring Operation: 53+66=119, Resulting Numbers: [2, 19, 119] Generated Node #2: [2, 19, 119] from Operation: 53+66=119 Current State: 98:[2, 19, 119], Operations: ['53+66=119'] Exploring Operation: 2+19=21, Resulting Numbers: [119, 21] Generated Node #3: [119, 21] from Operation: 2+19=21 Current State: 98:[119, 21], Operations: ['53+66=119', '2+19=21'] Exploring Operation: 119-21=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[53, 66, 2, 19], Operations: [] Exploring Operation: 66+19=85, Resulting Numbers: [53, 2, 85] Generated Node #0,0: 98:[53, 2, 85] Operation: 66+19=85 Exploring Operation: 66-19=47, Resulting Numbers: [53, 2, 47] Generated Node #0,1: 98:[53, 2, 47] Operation: 66-19=47 Exploring Operation: 53-2=51, Resulting Numbers: [66, 19, 51] Generated Node #0,2: 98:[66, 19, 51] Operation: 53-2=51 Exploring Operation: 66-53=13, Resulting Numbers: [2, 19, 13] Generated Node #0,3: 98:[2, 19, 13] Operation: 66-53=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[53, 2, 47], Operations: ['66-19=47'] Exploring Operation: 53-47=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 98:[2, 6] Operation: 53-47=6 Exploring Operation: 53+47=100, Resulting Numbers: [2, 100] Generated Node #0,1,1: 98:[2, 100] Operation: 53+47=100 Exploring Operation: 2+47=49, Resulting Numbers: [53, 49] Generated Node #0,1,2: 98:[53, 49] Operation: 2+47=49 Exploring Operation: 53-2=51, Resulting Numbers: [47, 51] Generated Node #0,1,3: 98:[47, 51] Operation: 53-2=51 Moving to Node #0,1,0 Current State: 98:[2, 6], Operations: ['66-19=47', '53-47=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,98 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[2, 100], Operations: ['66-19=47', '53+47=100'] Exploring Operation: 2+100=102, Resulting Numbers: [102] 102,98 unequal: No Solution Exploring Operation: 2*100=200, Resulting Numbers: [200] 200,98 unequal: No Solution Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[53, 66, 2, 19], Operations: [] Exploring Operation: 66-19=47, Resulting Numbers: [53, 2, 47] Generated Node #0,1: 98:[53, 2, 47] Operation: 66-19=47 Moving to Node #0,1 Current State: 98:[53, 2, 47], Operations: ['66-19=47'] Exploring Operation: 53+47=100, Resulting Numbers: [2, 100] Generated Node #0,1,1: 98:[2, 100] Operation: 53+47=100 Moving to Node #0,1,1 Current State: 98:[2, 100], Operations: ['66-19=47', '53+47=100'] Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 96, 2, 46, 6 ]
19
[ "96-46=50", "50/2=25", "25-6=19" ]
Current State: 19:[96, 2, 46, 6], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [2, 6, 50] Generated Node #2: [2, 6, 50] from Operation: 96-46=50 Current State: 19:[2, 6, 50], Operations: ['96-46=50'] Exploring Operation: 50/2=25, Resulting Numbers: [6, 25] Generated Node #3: [6, 25] from Operation: 50/2=25 Current State: 19:[6, 25], Operations: ['96-46=50', '50/2=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[96, 2, 46, 6], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [2, 6, 50] Generated Node #0,0: 19:[2, 6, 50] Operation: 96-46=50 Exploring Operation: 46/2=23, Resulting Numbers: [96, 6, 23] Generated Node #0,1: 19:[96, 6, 23] Operation: 46/2=23 Exploring Operation: 2*6=12, Resulting Numbers: [96, 46, 12] Generated Node #0,2: 19:[96, 46, 12] Operation: 2*6=12 Exploring Operation: 96/2=48, Resulting Numbers: [46, 6, 48] Generated Node #0,3: 19:[46, 6, 48] Operation: 96/2=48 Exploring Operation: 96/6=16, Resulting Numbers: [2, 46, 16] Generated Node #0,4: 19:[2, 46, 16] Operation: 96/6=16 Moving to Node #0,4 Current State: 19:[2, 46, 16], Operations: ['96/6=16'] Exploring Operation: 46-2=44, Resulting Numbers: [16, 44] Generated Node #0,4,0: 19:[16, 44] Operation: 46-2=44 Exploring Operation: 2+16=18, Resulting Numbers: [46, 18] Generated Node #0,4,1: 19:[46, 18] Operation: 2+16=18 Exploring Operation: 2+46=48, Resulting Numbers: [16, 48] Generated Node #0,4,2: 19:[16, 48] Operation: 2+46=48 Exploring Operation: 46-16=30, Resulting Numbers: [2, 30] Generated Node #0,4,3: 19:[2, 30] Operation: 46-16=30 Exploring Operation: 46/2=23, Resulting Numbers: [16, 23] Generated Node #0,4,4: 19:[16, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 19:[16, 23], Operations: ['96/6=16', '46/2=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,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,4,0 Current State: 19:[16, 44], Operations: ['96/6=16', '46-2=44'] Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 16*44=704, Resulting Numbers: [704] 704,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,4,1 Current State: 19:[46, 18], Operations: ['96/6=16', '2+16=18'] Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,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,4,3 Current State: 19:[2, 30], Operations: ['96/6=16', '46-16=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 19:[16, 48], Operations: ['96/6=16', '2+46=48'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 16*48=768, Resulting Numbers: [768] 768,19 unequal: No Solution Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,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:[2, 6, 50], Operations: ['96-46=50'] Exploring Operation: 2*6=12, Resulting Numbers: [50, 12] Generated Node #0,0,0: 19:[50, 12] Operation: 2*6=12 Exploring Operation: 2+6=8, Resulting Numbers: [50, 8] Generated Node #0,0,1: 19:[50, 8] Operation: 2+6=8 Exploring Operation: 50-2=48, Resulting Numbers: [6, 48] Generated Node #0,0,2: 19:[6, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [6, 25] Generated Node #0,0,3: 19:[6, 25] Operation: 50/2=25 Exploring Operation: 50-6=44, Resulting Numbers: [2, 44] Generated Node #0,0,4: 19:[2, 44] Operation: 50-6=44 Moving to Node #0,3 Current State: 19:[46, 6, 48], Operations: ['96/2=48'] Exploring Operation: 48-46=2, Resulting Numbers: [6, 2] Generated Node #0,3,0: 19:[6, 2] Operation: 48-46=2 Exploring Operation: 48-6=42, Resulting Numbers: [46, 42] Generated Node #0,3,1: 19:[46, 42] Operation: 48-6=42 Exploring Operation: 46+6=52, Resulting Numbers: [48, 52] Generated Node #0,3,2: 19:[48, 52] Operation: 46+6=52 Exploring Operation: 48/6=8, Resulting Numbers: [46, 8] Generated Node #0,3,3: 19:[46, 8] Operation: 48/6=8 Exploring Operation: 46-6=40, Resulting Numbers: [48, 40] Generated Node #0,3,4: 19:[48, 40] Operation: 46-6=40 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 19:[6, 2], Operations: ['96/2=48', '48-46=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,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,3,3 Current State: 19:[46, 8], Operations: ['96/2=48', '48/6=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,19 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,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,3,1 Current State: 19:[46, 42], Operations: ['96/2=48', '48-6=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,19 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,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,3,4 Current State: 19:[48, 40], Operations: ['96/2=48', '46-6=40'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,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,3,2 Current State: 19:[48, 52], Operations: ['96/2=48', '46+6=52'] Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 19:[96, 6, 23], Operations: ['46/2=23'] Exploring Operation: 96+6=102, Resulting Numbers: [23, 102] Generated Node #0,1,0: 19:[23, 102] Operation: 96+6=102 Exploring Operation: 23-6=17, Resulting Numbers: [96, 17] Generated Node #0,1,1: 19:[96, 17] Operation: 23-6=17 Exploring Operation: 96/6=16, Resulting Numbers: [23, 16] Generated Node #0,1,2: 19:[23, 16] Operation: 96/6=16 Exploring Operation: 96-6=90, Resulting Numbers: [23, 90] Generated Node #0,1,3: 19:[23, 90] Operation: 96-6=90 Exploring Operation: 96-23=73, Resulting Numbers: [6, 73] Generated Node #0,1,4: 19:[6, 73] Operation: 96-23=73 Moving to Node #0,2 Current State: 19:[96, 46, 12], Operations: ['2*6=12'] Exploring Operation: 46-12=34, Resulting Numbers: [96, 34] Generated Node #0,2,0: 19:[96, 34] Operation: 46-12=34 Exploring Operation: 96/12=8, Resulting Numbers: [46, 8] Generated Node #0,2,1: 19:[46, 8] Operation: 96/12=8 Exploring Operation: 96-46=50, Resulting Numbers: [12, 50] Generated Node #0,2,2: 19:[12, 50] Operation: 96-46=50 Exploring Operation: 96+12=108, Resulting Numbers: [46, 108] Generated Node #0,2,3: 19:[46, 108] Operation: 96+12=108 Exploring Operation: 96-12=84, Resulting Numbers: [46, 84] Generated Node #0,2,4: 19:[46, 84] Operation: 96-12=84 Moving to Node #0,1,2 Current State: 19:[23, 16], Operations: ['46/2=23', '96/6=16'] Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,19 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[6, 25], Operations: ['96-46=50', '50/2=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,19 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[96, 2, 46, 6], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [2, 6, 50] Generated Node #0,0: 19:[2, 6, 50] Operation: 96-46=50 Moving to Node #0,0 Current State: 19:[2, 6, 50], Operations: ['96-46=50'] Exploring Operation: 50/2=25, Resulting Numbers: [6, 25] Generated Node #0,0,3: 19:[6, 25] Operation: 50/2=25 Moving to Node #0,0,3 Current State: 19:[6, 25], Operations: ['96-46=50', '50/2=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.936632
hs_5
sum_heuristic
[ 58, 37, 10, 93 ]
71
[ "37+93=130", "130/10=13", "58+13=71" ]
Current State: 71:[58, 37, 10, 93], Operations: [] Exploring Operation: 37+93=130, Resulting Numbers: [58, 10, 130] Generated Node #2: [58, 10, 130] from Operation: 37+93=130 Current State: 71:[58, 10, 130], Operations: ['37+93=130'] Exploring Operation: 130/10=13, Resulting Numbers: [58, 13] Generated Node #3: [58, 13] from Operation: 130/10=13 Current State: 71:[58, 13], Operations: ['37+93=130', '130/10=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[58, 37, 10, 93], Operations: [] Exploring Operation: 58+10=68, Resulting Numbers: [37, 93, 68] Generated Node #0,0: 71:[37, 93, 68] Operation: 58+10=68 Moving to Node #0,0 Current State: 71:[37, 93, 68], Operations: ['58+10=68'] Exploring Operation: 93-37=56, Resulting Numbers: [68, 56] Generated Node #0,0,0: 71:[68, 56] Operation: 93-37=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[68, 56], Operations: ['58+10=68', '93-37=56'] Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 85, 74, 65, 94 ]
40
[ "85-74=11", "94-65=29", "11+29=40" ]
Current State: 40:[85, 74, 65, 94], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [65, 94, 11] Generated Node #2: [65, 94, 11] from Operation: 85-74=11 Current State: 40:[65, 94, 11], Operations: ['85-74=11'] Exploring Operation: 94-65=29, Resulting Numbers: [11, 29] Generated Node #3: [11, 29] from Operation: 94-65=29 Current State: 40:[11, 29], Operations: ['85-74=11', '94-65=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[85, 74, 65, 94], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [65, 94, 11] Generated Node #0,0: 40:[65, 94, 11] Operation: 85-74=11 Exploring Operation: 94-74=20, Resulting Numbers: [85, 65, 20] Generated Node #0,1: 40:[85, 65, 20] Operation: 94-74=20 Exploring Operation: 94-65=29, Resulting Numbers: [85, 74, 29] Generated Node #0,2: 40:[85, 74, 29] Operation: 94-65=29 Exploring Operation: 94-85=9, Resulting Numbers: [74, 65, 9] Generated Node #0,3: 40:[74, 65, 9] Operation: 94-85=9 Exploring Operation: 85-65=20, Resulting Numbers: [74, 94, 20] Generated Node #0,4: 40:[74, 94, 20] Operation: 85-65=20 Moving to Node #0,3 Current State: 40:[74, 65, 9], Operations: ['94-85=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65, 65] Generated Node #0,3,0: 40:[65, 65] Operation: 74-9=65 Exploring Operation: 74+9=83, Resulting Numbers: [65, 83] Generated Node #0,3,1: 40:[65, 83] Operation: 74+9=83 Exploring Operation: 65+9=74, Resulting Numbers: [74, 74] Generated Node #0,3,2: 40:[74, 74] Operation: 65+9=74 Exploring Operation: 65-9=56, Resulting Numbers: [74, 56] Generated Node #0,3,3: 40:[74, 56] Operation: 65-9=56 Exploring Operation: 74-65=9, Resulting Numbers: [9, 9] Generated Node #0,3,4: 40:[9, 9] Operation: 74-65=9 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 40:[9, 9], Operations: ['94-85=9', '74-65=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[65, 65], Operations: ['94-85=9', '74-9=65'] Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,40 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,40 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[74, 56], Operations: ['94-85=9', '65-9=56'] Exploring Operation: 74+56=130, Resulting Numbers: [130] 130,40 unequal: No Solution Exploring Operation: 74*56=4144, Resulting Numbers: [4144] 4144,40 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[65, 83], Operations: ['94-85=9', '74+9=83'] Exploring Operation: 65+83=148, Resulting Numbers: [148] 148,40 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 65*83=5395, Resulting Numbers: [5395] 5395,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[74, 74], Operations: ['94-85=9', '65+9=74'] Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,40 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,40 unequal: No Solution Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 40:[85, 65, 20], Operations: ['94-74=20'] Exploring Operation: 85-20=65, Resulting Numbers: [65, 65] Generated Node #0,1,0: 40:[65, 65] Operation: 85-20=65 Exploring Operation: 85-65=20, Resulting Numbers: [20, 20] Generated Node #0,1,1: 40:[20, 20] Operation: 85-65=20 Exploring Operation: 65+20=85, Resulting Numbers: [85, 85] Generated Node #0,1,2: 40:[85, 85] Operation: 65+20=85 Exploring Operation: 85+20=105, Resulting Numbers: [65, 105] Generated Node #0,1,3: 40:[65, 105] Operation: 85+20=105 Exploring Operation: 65-20=45, Resulting Numbers: [85, 45] Generated Node #0,1,4: 40:[85, 45] Operation: 65-20=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[20, 20], Operations: ['94-74=20', '85-65=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,40 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[85, 74, 65, 94], Operations: [] Exploring Operation: 94-74=20, Resulting Numbers: [85, 65, 20] Generated Node #0,1: 40:[85, 65, 20] Operation: 94-74=20 Moving to Node #0,1 Current State: 40:[85, 65, 20], Operations: ['94-74=20'] Exploring Operation: 85-65=20, Resulting Numbers: [20, 20] Generated Node #0,1,1: 40:[20, 20] Operation: 85-65=20 Moving to Node #0,1,1 Current State: 40:[20, 20], Operations: ['94-74=20', '85-65=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 38, 32, 72, 35 ]
32
[ "72-38=34", "35-34=1", "32*1=32" ]
Current State: 32:[38, 32, 72, 35], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [32, 35, 34] Generated Node #2: [32, 35, 34] from Operation: 72-38=34 Current State: 32:[32, 35, 34], Operations: ['72-38=34'] Exploring Operation: 35-34=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 35-34=1 Current State: 32:[32, 1], Operations: ['72-38=34', '35-34=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[38, 32, 72, 35], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [32, 35, 34] Generated Node #0,0: 32:[32, 35, 34] Operation: 72-38=34 Exploring Operation: 72-35=37, Resulting Numbers: [38, 32, 37] Generated Node #0,1: 32:[38, 32, 37] Operation: 72-35=37 Exploring Operation: 72-32=40, Resulting Numbers: [38, 35, 40] Generated Node #0,2: 32:[38, 35, 40] Operation: 72-32=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[32, 35, 34], Operations: ['72-38=34'] Exploring Operation: 35-32=3, Resulting Numbers: [34, 3] Generated Node #0,0,0: 32:[34, 3] Operation: 35-32=3 Exploring Operation: 34-32=2, Resulting Numbers: [35, 2] Generated Node #0,0,1: 32:[35, 2] Operation: 34-32=2 Exploring Operation: 35-34=1, Resulting Numbers: [32, 1] Generated Node #0,0,2: 32:[32, 1] Operation: 35-34=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[32, 1], Operations: ['72-38=34', '35-34=1'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[38, 32, 72, 35], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [32, 35, 34] Generated Node #0,0: 32:[32, 35, 34] Operation: 72-38=34 Moving to Node #0,0 Current State: 32:[32, 35, 34], Operations: ['72-38=34'] Exploring Operation: 35-34=1, Resulting Numbers: [32, 1] Generated Node #0,0,2: 32:[32, 1] Operation: 35-34=1 Moving to Node #0,0,2 Current State: 32:[32, 1], Operations: ['72-38=34', '35-34=1'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 75, 21, 45, 75 ]
45
[ "75-75=0", "21*0=0", "45+0=45" ]
Current State: 45:[75, 21, 45, 75], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [21, 45, 0] Generated Node #2: [21, 45, 0] from Operation: 75-75=0 Current State: 45:[21, 45, 0], Operations: ['75-75=0'] Exploring Operation: 21*0=0, Resulting Numbers: [45, 0] Generated Node #3: [45, 0] from Operation: 21*0=0 Current State: 45:[45, 0], Operations: ['75-75=0', '21*0=0'] Exploring Operation: 45+0=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[75, 21, 45, 75], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [21, 45, 1] Generated Node #0,0: 45:[21, 45, 1] Operation: 75/75=1 Exploring Operation: 75-21=54, Resulting Numbers: [45, 75, 54] Generated Node #0,1: 45:[45, 75, 54] Operation: 75-21=54 Exploring Operation: 75-75=0, Resulting Numbers: [21, 45, 0] Generated Node #0,2: 45:[21, 45, 0] Operation: 75-75=0 Exploring Operation: 75-21=54, Resulting Numbers: [75, 45, 54] Generated Node #0,3: 45:[75, 45, 54] Operation: 75-21=54 Exploring Operation: 75-45=30, Resulting Numbers: [21, 75, 30] Generated Node #0,4: 45:[21, 75, 30] Operation: 75-45=30 Moving to Node #0,0 Current State: 45:[21, 45, 1], Operations: ['75/75=1'] Exploring Operation: 45*1=45, Resulting Numbers: [21, 45] Generated Node #0,0,0: 45:[21, 45] Operation: 45*1=45 Exploring Operation: 21*1=21, Resulting Numbers: [45, 21] Generated Node #0,0,1: 45:[45, 21] Operation: 21*1=21 Exploring Operation: 45/1=45, Resulting Numbers: [21, 45] Generated Node #0,0,2: 45:[21, 45] Operation: 45/1=45 Exploring Operation: 21-1=20, Resulting Numbers: [45, 20] Generated Node #0,0,3: 45:[45, 20] Operation: 21-1=20 Exploring Operation: 21/1=21, Resulting Numbers: [45, 21] Generated Node #0,0,4: 45:[45, 21] Operation: 21/1=21 Moving to Node #0,2 Current State: 45:[21, 45, 0], Operations: ['75-75=0'] Exploring Operation: 45-0=45, Resulting Numbers: [21, 45] Generated Node #0,2,0: 45:[21, 45] Operation: 45-0=45 Exploring Operation: 21*0=0, Resulting Numbers: [45, 0] Generated Node #0,2,1: 45:[45, 0] Operation: 21*0=0 Exploring Operation: 21+0=21, Resulting Numbers: [45, 21] Generated Node #0,2,2: 45:[45, 21] Operation: 21+0=21 Exploring Operation: 45+0=45, Resulting Numbers: [21, 45] Generated Node #0,2,3: 45:[21, 45] Operation: 45+0=45 Exploring Operation: 21-0=21, Resulting Numbers: [45, 21] Generated Node #0,2,4: 45:[45, 21] Operation: 21-0=21 Moving to Node #0,1 Current State: 45:[45, 75, 54], Operations: ['75-21=54'] Exploring Operation: 45+75=120, Resulting Numbers: [54, 120] Generated Node #0,1,0: 45:[54, 120] Operation: 45+75=120 Exploring Operation: 75-45=30, Resulting Numbers: [54, 30] Generated Node #0,1,1: 45:[54, 30] Operation: 75-45=30 Exploring Operation: 45+54=99, Resulting Numbers: [75, 99] Generated Node #0,1,2: 45:[75, 99] Operation: 45+54=99 Exploring Operation: 54-45=9, Resulting Numbers: [75, 9] Generated Node #0,1,3: 45:[75, 9] Operation: 54-45=9 Exploring Operation: 75-54=21, Resulting Numbers: [45, 21] Generated Node #0,1,4: 45:[45, 21] Operation: 75-54=21 Moving to Node #0,3 Current State: 45:[75, 45, 54], Operations: ['75-21=54'] Exploring Operation: 75-45=30, Resulting Numbers: [54, 30] Generated Node #0,3,0: 45:[54, 30] Operation: 75-45=30 Exploring Operation: 75-54=21, Resulting Numbers: [45, 21] Generated Node #0,3,1: 45:[45, 21] Operation: 75-54=21 Exploring Operation: 75+45=120, Resulting Numbers: [54, 120] Generated Node #0,3,2: 45:[54, 120] Operation: 75+45=120 Exploring Operation: 75+54=129, Resulting Numbers: [45, 129] Generated Node #0,3,3: 45:[45, 129] Operation: 75+54=129 Exploring Operation: 54-45=9, Resulting Numbers: [75, 9] Generated Node #0,3,4: 45:[75, 9] Operation: 54-45=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 45:[45, 21], Operations: ['75-21=54', '75-54=21'] Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,45 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 45:[54, 30], Operations: ['75-21=54', '75-45=30'] Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,45 unequal: No Solution Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,45 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 45:[75, 9], Operations: ['75-21=54', '54-45=9'] Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,45 unequal: No Solution Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,45 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 45:[54, 120], Operations: ['75-21=54', '75+45=120'] Exploring Operation: 54*120=6480, Resulting Numbers: [6480] 6480,45 unequal: No Solution Exploring Operation: 120-54=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 54+120=174, Resulting Numbers: [174] 174,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[45, 129], Operations: ['75-21=54', '75+54=129'] Exploring Operation: 45*129=5805, Resulting Numbers: [5805] 5805,45 unequal: No Solution Exploring Operation: 129-45=84, Resulting Numbers: [84] 84,45 unequal: No Solution Exploring Operation: 45+129=174, Resulting Numbers: [174] 174,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 45:[21, 75, 30], Operations: ['75-45=30'] Exploring Operation: 75-30=45, Resulting Numbers: [21, 45] Generated Node #0,4,0: 45:[21, 45] Operation: 75-30=45 Exploring Operation: 30-21=9, Resulting Numbers: [75, 9] Generated Node #0,4,1: 45:[75, 9] Operation: 30-21=9 Exploring Operation: 21+75=96, Resulting Numbers: [30, 96] Generated Node #0,4,2: 45:[30, 96] Operation: 21+75=96 Exploring Operation: 75-21=54, Resulting Numbers: [30, 54] Generated Node #0,4,3: 45:[30, 54] Operation: 75-21=54 Exploring Operation: 21+30=51, Resulting Numbers: [75, 51] Generated Node #0,4,4: 45:[75, 51] Operation: 21+30=51 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 45:[21, 45], Operations: ['75-45=30', '75-30=45'] Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,45 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 45:[30, 54], Operations: ['75-45=30', '75-21=54'] Exploring Operation: 30*54=1620, Resulting Numbers: [1620] 1620,45 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 30+54=84, Resulting Numbers: [84] 84,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 45:[75, 9], Operations: ['75-45=30', '30-21=9'] Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,45 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 45:[75, 51], Operations: ['75-45=30', '21+30=51'] Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 75+51=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 75*51=3825, Resulting Numbers: [3825] 3825,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 45:[30, 96], Operations: ['75-45=30', '21+75=96'] Exploring Operation: 30+96=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 30*96=2880, Resulting Numbers: [2880] 2880,45 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: 45:[45, 0], Operations: ['75-75=0', '21*0=0'] Exploring Operation: 45+0=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[75, 21, 45, 75], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [21, 45, 0] Generated Node #0,2: 45:[21, 45, 0] Operation: 75-75=0 Moving to Node #0,2 Current State: 45:[21, 45, 0], Operations: ['75-75=0'] Exploring Operation: 21*0=0, Resulting Numbers: [45, 0] Generated Node #0,2,1: 45:[45, 0] Operation: 21*0=0 Moving to Node #0,2,1 Current State: 45:[45, 0], Operations: ['75-75=0', '21*0=0'] Exploring Operation: 45+0=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 72, 90, 9, 2 ]
28
[ "90*2=180", "72+180=252", "252/9=28" ]
Current State: 28:[72, 90, 9, 2], Operations: [] Exploring Operation: 90*2=180, Resulting Numbers: [72, 9, 180] Generated Node #2: [72, 9, 180] from Operation: 90*2=180 Current State: 28:[72, 9, 180], Operations: ['90*2=180'] Exploring Operation: 72+180=252, Resulting Numbers: [9, 252] Generated Node #3: [9, 252] from Operation: 72+180=252 Current State: 28:[9, 252], Operations: ['90*2=180', '72+180=252'] Exploring Operation: 252/9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[72, 90, 9, 2], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [72, 2, 10] Generated Node #0,0: 28:[72, 2, 10] Operation: 90/9=10 Exploring Operation: 90/2=45, Resulting Numbers: [72, 9, 45] Generated Node #0,1: 28:[72, 9, 45] Operation: 90/2=45 Exploring Operation: 72/2=36, Resulting Numbers: [90, 9, 36] Generated Node #0,2: 28:[90, 9, 36] Operation: 72/2=36 Exploring Operation: 72/9=8, Resulting Numbers: [90, 2, 8] Generated Node #0,3: 28:[90, 2, 8] Operation: 72/9=8 Exploring Operation: 90-72=18, Resulting Numbers: [9, 2, 18] Generated Node #0,4: 28:[9, 2, 18] Operation: 90-72=18 Moving to Node #0,4 Current State: 28:[9, 2, 18], Operations: ['90-72=18'] Exploring Operation: 9-2=7, Resulting Numbers: [18, 7] Generated Node #0,4,0: 28:[18, 7] Operation: 9-2=7 Exploring Operation: 9+18=27, Resulting Numbers: [2, 27] Generated Node #0,4,1: 28:[2, 27] Operation: 9+18=27 Exploring Operation: 18/9=2, Resulting Numbers: [2, 2] Generated Node #0,4,2: 28:[2, 2] Operation: 18/9=2 Exploring Operation: 18-2=16, Resulting Numbers: [9, 16] Generated Node #0,4,3: 28:[9, 16] Operation: 18-2=16 Exploring Operation: 18-9=9, Resulting Numbers: [2, 9] Generated Node #0,4,4: 28:[2, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 28:[2, 2], Operations: ['90-72=18', '18/9=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 28:[2, 27], Operations: ['90-72=18', '9+18=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 28:[2, 9], Operations: ['90-72=18', '18-9=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 28:[18, 7], Operations: ['90-72=18', '9-2=7'] Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,28 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 28:[9, 16], Operations: ['90-72=18', '18-2=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 28:[72, 2, 10], Operations: ['90/9=10'] Exploring Operation: 10-2=8, Resulting Numbers: [72, 8] Generated Node #0,0,0: 28:[72, 8] Operation: 10-2=8 Exploring Operation: 72/2=36, Resulting Numbers: [10, 36] Generated Node #0,0,1: 28:[10, 36] Operation: 72/2=36 Exploring Operation: 72-10=62, Resulting Numbers: [2, 62] Generated Node #0,0,2: 28:[2, 62] Operation: 72-10=62 Exploring Operation: 72-2=70, Resulting Numbers: [10, 70] Generated Node #0,0,3: 28:[10, 70] Operation: 72-2=70 Exploring Operation: 10/2=5, Resulting Numbers: [72, 5] Generated Node #0,0,4: 28:[72, 5] Operation: 10/2=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[10, 36], Operations: ['90/9=10', '72/2=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[2, 62], Operations: ['90/9=10', '72-10=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[72, 8], Operations: ['90/9=10', '10-2=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,28 unequal: No Solution Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,28 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[10, 70], Operations: ['90/9=10', '72-2=70'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 10*70=700, Resulting Numbers: [700] 700,28 unequal: No Solution Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,28 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 28:[72, 5], Operations: ['90/9=10', '10/2=5'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,28 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,28 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 28:[72, 9, 45], Operations: ['90/2=45'] Exploring Operation: 72/9=8, Resulting Numbers: [45, 8] Generated Node #0,1,0: 28:[45, 8] Operation: 72/9=8 Exploring Operation: 72-9=63, Resulting Numbers: [45, 63] Generated Node #0,1,1: 28:[45, 63] Operation: 72-9=63 Exploring Operation: 72-45=27, Resulting Numbers: [9, 27] Generated Node #0,1,2: 28:[9, 27] Operation: 72-45=27 Exploring Operation: 45/9=5, Resulting Numbers: [72, 5] Generated Node #0,1,3: 28:[72, 5] Operation: 45/9=5 Exploring Operation: 45-9=36, Resulting Numbers: [72, 36] Generated Node #0,1,4: 28:[72, 36] Operation: 45-9=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[9, 27], Operations: ['90/2=45', '72-45=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[45, 8], Operations: ['90/2=45', '72/9=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,28 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[72, 5], Operations: ['90/2=45', '45/9=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,28 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[45, 63], Operations: ['90/2=45', '72-9=63'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 28:[72, 36], Operations: ['90/2=45', '45-9=36'] Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 72*36=2592, Resulting Numbers: [2592] 2592,28 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 28:[90, 2, 8], Operations: ['72/9=8'] Exploring Operation: 8-2=6, Resulting Numbers: [90, 6] Generated Node #0,3,0: 28:[90, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [90, 4] Generated Node #0,3,1: 28:[90, 4] Operation: 8/2=4 Exploring Operation: 90-8=82, Resulting Numbers: [2, 82] Generated Node #0,3,2: 28:[2, 82] Operation: 90-8=82 Exploring Operation: 90-2=88, Resulting Numbers: [8, 88] Generated Node #0,3,3: 28:[8, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [8, 45] Generated Node #0,3,4: 28:[8, 45] Operation: 90/2=45 Moving to Node #0,2 Current State: 28:[90, 9, 36], Operations: ['72/2=36'] Exploring Operation: 36/9=4, Resulting Numbers: [90, 4] Generated Node #0,2,0: 28:[90, 4] Operation: 36/9=4 Exploring Operation: 90-9=81, Resulting Numbers: [36, 81] Generated Node #0,2,1: 28:[36, 81] Operation: 90-9=81 Exploring Operation: 90/9=10, Resulting Numbers: [36, 10] Generated Node #0,2,2: 28:[36, 10] Operation: 90/9=10 Exploring Operation: 90-36=54, Resulting Numbers: [9, 54] Generated Node #0,2,3: 28:[9, 54] Operation: 90-36=54 Exploring Operation: 36-9=27, Resulting Numbers: [90, 27] Generated Node #0,2,4: 28:[90, 27] Operation: 36-9=27 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[36, 10], Operations: ['72/2=36', '90/9=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[9, 54], Operations: ['72/2=36', '90-36=54'] Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,28 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 9*54=486, Resulting Numbers: [486] 486,28 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[36, 81], Operations: ['72/2=36', '90-9=81'] Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 36*81=2916, Resulting Numbers: [2916] 2916,28 unequal: No Solution Exploring Operation: 36+81=117, Resulting Numbers: [117] 117,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[90, 4], Operations: ['72/2=36', '36/9=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,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,4 Current State: 28:[90, 27], Operations: ['72/2=36', '36-9=27'] Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,28 unequal: No Solution Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,28 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 28:[8, 45], Operations: ['72/9=8', '90/2=45'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[2, 82], Operations: ['72/9=8', '90-8=82'] Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,28 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,28 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[8, 88], Operations: ['72/9=8', '90-2=88'] Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,28 unequal: No Solution Exploring Operation: 8*88=704, Resulting Numbers: [704] 704,28 unequal: No Solution Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[90, 4], Operations: ['72/9=8', '8/2=4'] Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[90, 6], Operations: ['72/9=8', '8-2=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 90*6=540, Resulting Numbers: [540] 540,28 unequal: No Solution Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,28 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 79, 21, 23, 10 ]
25
[ "79-21=58", "23+10=33", "58-33=25" ]
Current State: 25:[79, 21, 23, 10], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [23, 10, 58] Generated Node #2: [23, 10, 58] from Operation: 79-21=58 Current State: 25:[23, 10, 58], Operations: ['79-21=58'] Exploring Operation: 23+10=33, Resulting Numbers: [58, 33] Generated Node #3: [58, 33] from Operation: 23+10=33 Current State: 25:[58, 33], Operations: ['79-21=58', '23+10=33'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[79, 21, 23, 10], Operations: [] Exploring Operation: 21+10=31, Resulting Numbers: [79, 23, 31] Generated Node #0,0: 25:[79, 23, 31] Operation: 21+10=31 Exploring Operation: 79-23=56, Resulting Numbers: [21, 10, 56] Generated Node #0,1: 25:[21, 10, 56] Operation: 79-23=56 Exploring Operation: 79-10=69, Resulting Numbers: [21, 23, 69] Generated Node #0,2: 25:[21, 23, 69] Operation: 79-10=69 Exploring Operation: 23-21=2, Resulting Numbers: [79, 10, 2] Generated Node #0,3: 25:[79, 10, 2] Operation: 23-21=2 Exploring Operation: 79-21=58, Resulting Numbers: [23, 10, 58] Generated Node #0,4: 25:[23, 10, 58] Operation: 79-21=58 Moving to Node #0,1 Current State: 25:[21, 10, 56], Operations: ['79-23=56'] Exploring Operation: 10+56=66, Resulting Numbers: [21, 66] Generated Node #0,1,0: 25:[21, 66] Operation: 10+56=66 Exploring Operation: 21+10=31, Resulting Numbers: [56, 31] Generated Node #0,1,1: 25:[56, 31] Operation: 21+10=31 Exploring Operation: 56-21=35, Resulting Numbers: [10, 35] Generated Node #0,1,2: 25:[10, 35] Operation: 56-21=35 Exploring Operation: 56-10=46, Resulting Numbers: [21, 46] Generated Node #0,1,3: 25:[21, 46] Operation: 56-10=46 Exploring Operation: 21-10=11, Resulting Numbers: [56, 11] Generated Node #0,1,4: 25:[56, 11] Operation: 21-10=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[10, 35], Operations: ['79-23=56', '56-21=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,25 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[79, 21, 23, 10], Operations: [] Exploring Operation: 79-23=56, Resulting Numbers: [21, 10, 56] Generated Node #0,1: 25:[21, 10, 56] Operation: 79-23=56 Moving to Node #0,1 Current State: 25:[21, 10, 56], Operations: ['79-23=56'] Exploring Operation: 56-21=35, Resulting Numbers: [10, 35] Generated Node #0,1,2: 25:[10, 35] Operation: 56-21=35 Moving to Node #0,1,2 Current State: 25:[10, 35], Operations: ['79-23=56', '56-21=35'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 40, 68, 27, 59 ]
85
[ "40*68=2720", "59-27=32", "2720/32=85" ]
Current State: 85:[40, 68, 27, 59], Operations: [] Exploring Operation: 40*68=2720, Resulting Numbers: [27, 59, 2720] Generated Node #2: [27, 59, 2720] from Operation: 40*68=2720 Current State: 85:[27, 59, 2720], Operations: ['40*68=2720'] Exploring Operation: 59-27=32, Resulting Numbers: [2720, 32] Generated Node #3: [2720, 32] from Operation: 59-27=32 Current State: 85:[2720, 32], Operations: ['40*68=2720', '59-27=32'] Exploring Operation: 2720/32=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[40, 68, 27, 59], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [68, 27, 19] Generated Node #0,0: 85:[68, 27, 19] Operation: 59-40=19 Exploring Operation: 68-59=9, Resulting Numbers: [40, 27, 9] Generated Node #0,1: 85:[40, 27, 9] Operation: 68-59=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[68, 27, 19], Operations: ['59-40=19'] Exploring Operation: 68+27=95, Resulting Numbers: [19, 95] Generated Node #0,0,0: 85:[19, 95] Operation: 68+27=95 Exploring Operation: 68+19=87, Resulting Numbers: [27, 87] Generated Node #0,0,1: 85:[27, 87] Operation: 68+19=87 Moving to Node #0,0,0 Current State: 85:[19, 95], Operations: ['59-40=19', '68+27=95'] Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[27, 87], Operations: ['59-40=19', '68+19=87'] Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 27+87=114, Resulting Numbers: [114] 114,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[40, 27, 9], Operations: ['68-59=9'] Exploring Operation: 40+27=67, Resulting Numbers: [9, 67] Generated Node #0,1,0: 85:[9, 67] Operation: 40+27=67 Exploring Operation: 40-27=13, Resulting Numbers: [9, 13] Generated Node #0,1,1: 85:[9, 13] Operation: 40-27=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[9, 13], Operations: ['68-59=9', '40-27=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[9, 67], Operations: ['68-59=9', '40+27=67'] Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 54, 54, 81, 25 ]
55
[ "54/54=1", "81-25=56", "56-1=55" ]
Current State: 55:[54, 54, 81, 25], Operations: [] Exploring Operation: 54/54=1, Resulting Numbers: [81, 25, 1] Generated Node #2: [81, 25, 1] from Operation: 54/54=1 Current State: 55:[81, 25, 1], Operations: ['54/54=1'] Exploring Operation: 81-25=56, Resulting Numbers: [1, 56] Generated Node #3: [1, 56] from Operation: 81-25=56 Current State: 55:[1, 56], Operations: ['54/54=1', '81-25=56'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[54, 54, 81, 25], Operations: [] Exploring Operation: 81-25=56, Resulting Numbers: [54, 54, 56] Generated Node #0,0: 55:[54, 54, 56] Operation: 81-25=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[54, 54, 56], Operations: ['81-25=56'] Exploring Operation: 56-54=2, Resulting Numbers: [54, 2] Generated Node #0,0,0: 55:[54, 2] Operation: 56-54=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[54, 2], Operations: ['81-25=56', '56-54=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 50, 9, 56, 16 ]
58
[ "9+16=25", "50/25=2", "56+2=58" ]
Current State: 58:[50, 9, 56, 16], Operations: [] Exploring Operation: 9+16=25, Resulting Numbers: [50, 56, 25] Generated Node #2: [50, 56, 25] from Operation: 9+16=25 Current State: 58:[50, 56, 25], Operations: ['9+16=25'] Exploring Operation: 50/25=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 50/25=2 Current State: 58:[56, 2], Operations: ['9+16=25', '50/25=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[50, 9, 56, 16], Operations: [] Exploring Operation: 9+16=25, Resulting Numbers: [50, 56, 25] Generated Node #0,0: 58:[50, 56, 25] Operation: 9+16=25 Exploring Operation: 50-16=34, Resulting Numbers: [9, 56, 34] Generated Node #0,1: 58:[9, 56, 34] Operation: 50-16=34 Exploring Operation: 16-9=7, Resulting Numbers: [50, 56, 7] Generated Node #0,2: 58:[50, 56, 7] Operation: 16-9=7 Moving to Node #0,0 Current State: 58:[50, 56, 25], Operations: ['9+16=25'] Exploring Operation: 56-50=6, Resulting Numbers: [25, 6] Generated Node #0,0,0: 58:[25, 6] Operation: 56-50=6 Exploring Operation: 50/25=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 58:[56, 2] Operation: 50/25=2 Exploring Operation: 50-25=25, Resulting Numbers: [56, 25] Generated Node #0,0,2: 58:[56, 25] Operation: 50-25=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[56, 2], Operations: ['9+16=25', '50/25=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[50, 9, 56, 16], Operations: [] Exploring Operation: 9+16=25, Resulting Numbers: [50, 56, 25] Generated Node #0,0: 58:[50, 56, 25] Operation: 9+16=25 Moving to Node #0,0 Current State: 58:[50, 56, 25], Operations: ['9+16=25'] Exploring Operation: 50/25=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 58:[56, 2] Operation: 50/25=2 Moving to Node #0,0,1 Current State: 58:[56, 2], Operations: ['9+16=25', '50/25=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 49, 6, 88, 90 ]
92
[ "90-88=2", "49*2=98", "98-6=92" ]
Current State: 92:[49, 6, 88, 90], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [49, 6, 2] Generated Node #2: [49, 6, 2] from Operation: 90-88=2 Current State: 92:[49, 6, 2], Operations: ['90-88=2'] Exploring Operation: 49*2=98, Resulting Numbers: [6, 98] Generated Node #3: [6, 98] from Operation: 49*2=98 Current State: 92:[6, 98], Operations: ['90-88=2', '49*2=98'] Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[49, 6, 88, 90], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [49, 6, 2] Generated Node #0,0: 92:[49, 6, 2] Operation: 90-88=2 Exploring Operation: 49-6=43, Resulting Numbers: [88, 90, 43] Generated Node #0,1: 92:[88, 90, 43] Operation: 49-6=43 Exploring Operation: 6+88=94, Resulting Numbers: [49, 90, 94] Generated Node #0,2: 92:[49, 90, 94] Operation: 6+88=94 Exploring Operation: 90-49=41, Resulting Numbers: [6, 88, 41] Generated Node #0,3: 92:[6, 88, 41] Operation: 90-49=41 Exploring Operation: 88-49=39, Resulting Numbers: [6, 90, 39] Generated Node #0,4: 92:[6, 90, 39] Operation: 88-49=39 Moving to Node #0,0 Current State: 92:[49, 6, 2], Operations: ['90-88=2'] Exploring Operation: 6-2=4, Resulting Numbers: [49, 4] Generated Node #0,0,0: 92:[49, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [49, 3] Generated Node #0,0,1: 92:[49, 3] Operation: 6/2=3 Exploring Operation: 49+2=51, Resulting Numbers: [6, 51] Generated Node #0,0,2: 92:[6, 51] Operation: 49+2=51 Exploring Operation: 49-6=43, Resulting Numbers: [2, 43] Generated Node #0,0,3: 92:[2, 43] Operation: 49-6=43 Exploring Operation: 49-2=47, Resulting Numbers: [6, 47] Generated Node #0,0,4: 92:[6, 47] Operation: 49-2=47 Moving to Node #0,2 Current State: 92:[49, 90, 94], Operations: ['6+88=94'] Exploring Operation: 94-49=45, Resulting Numbers: [90, 45] Generated Node #0,2,0: 92:[90, 45] Operation: 94-49=45 Exploring Operation: 49+90=139, Resulting Numbers: [94, 139] Generated Node #0,2,1: 92:[94, 139] Operation: 49+90=139 Exploring Operation: 94-90=4, Resulting Numbers: [49, 4] Generated Node #0,2,2: 92:[49, 4] Operation: 94-90=4 Exploring Operation: 90-49=41, Resulting Numbers: [94, 41] Generated Node #0,2,3: 92:[94, 41] Operation: 90-49=41 Exploring Operation: 49+94=143, Resulting Numbers: [90, 143] Generated Node #0,2,4: 92:[90, 143] Operation: 49+94=143 Moving to Node #0,1 Current State: 92:[88, 90, 43], Operations: ['49-6=43'] Exploring Operation: 88+43=131, Resulting Numbers: [90, 131] Generated Node #0,1,0: 92:[90, 131] Operation: 88+43=131 Exploring Operation: 90-88=2, Resulting Numbers: [43, 2] Generated Node #0,1,1: 92:[43, 2] Operation: 90-88=2 Exploring Operation: 90-43=47, Resulting Numbers: [88, 47] Generated Node #0,1,2: 92:[88, 47] Operation: 90-43=47 Exploring Operation: 88-43=45, Resulting Numbers: [90, 45] Generated Node #0,1,3: 92:[90, 45] Operation: 88-43=45 Exploring Operation: 90+43=133, Resulting Numbers: [88, 133] Generated Node #0,1,4: 92:[88, 133] Operation: 90+43=133 Moving to Node #0,3 Current State: 92:[6, 88, 41], Operations: ['90-49=41'] Exploring Operation: 88-6=82, Resulting Numbers: [41, 82] Generated Node #0,3,0: 92:[41, 82] Operation: 88-6=82 Exploring Operation: 6+41=47, Resulting Numbers: [88, 47] Generated Node #0,3,1: 92:[88, 47] Operation: 6+41=47 Exploring Operation: 6+88=94, Resulting Numbers: [41, 94] Generated Node #0,3,2: 92:[41, 94] Operation: 6+88=94 Exploring Operation: 88-41=47, Resulting Numbers: [6, 47] Generated Node #0,3,3: 92:[6, 47] Operation: 88-41=47 Exploring Operation: 41-6=35, Resulting Numbers: [88, 35] Generated Node #0,3,4: 92:[88, 35] Operation: 41-6=35 Moving to Node #0,4 Current State: 92:[6, 90, 39], Operations: ['88-49=39'] Exploring Operation: 6+90=96, Resulting Numbers: [39, 96] Generated Node #0,4,0: 92:[39, 96] Operation: 6+90=96 Exploring Operation: 6+39=45, Resulting Numbers: [90, 45] Generated Node #0,4,1: 92:[90, 45] Operation: 6+39=45 Exploring Operation: 90-39=51, Resulting Numbers: [6, 51] Generated Node #0,4,2: 92:[6, 51] Operation: 90-39=51 Exploring Operation: 90-6=84, Resulting Numbers: [39, 84] Generated Node #0,4,3: 92:[39, 84] Operation: 90-6=84 Exploring Operation: 39-6=33, Resulting Numbers: [90, 33] Generated Node #0,4,4: 92:[90, 33] Operation: 39-6=33 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 92:[90, 45], Operations: ['88-49=39', '6+39=45'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,92 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 92:[6, 51], Operations: ['88-49=39', '90-39=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 92:[39, 96], Operations: ['88-49=39', '6+90=96'] Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 39*96=3744, Resulting Numbers: [3744] 3744,92 unequal: No Solution Exploring Operation: 39+96=135, Resulting Numbers: [135] 135,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 92:[90, 33], Operations: ['88-49=39', '39-6=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,92 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 92:[39, 84], Operations: ['88-49=39', '90-6=84'] Exploring Operation: 84-39=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 39*84=3276, Resulting Numbers: [3276] 3276,92 unequal: No Solution Exploring Operation: 39+84=123, Resulting Numbers: [123] 123,92 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: 92:[49, 4], Operations: ['90-88=2', '6-2=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,92 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[6, 47], Operations: ['90-88=2', '49-2=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,92 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[49, 4], Operations: ['6+88=94', '94-90=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[90, 45], Operations: ['6+88=94', '94-49=45'] Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,92 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[90, 45], Operations: ['49-6=43', '88-43=45'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,92 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[2, 43], Operations: ['90-88=2', '49-6=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[43, 2], Operations: ['49-6=43', '90-88=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[6, 47], Operations: ['90-49=41', '88-41=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,92 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[49, 3], Operations: ['90-88=2', '6/2=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[88, 47], Operations: ['49-6=43', '90-43=47'] Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,92 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[88, 47], Operations: ['90-49=41', '6+41=47'] Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[6, 51], Operations: ['90-88=2', '49+2=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,92 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[94, 41], Operations: ['6+88=94', '90-49=41'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[41, 94], Operations: ['90-49=41', '6+88=94'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 41*94=3854, Resulting Numbers: [3854] 3854,92 unequal: No Solution Exploring Operation: 41+94=135, Resulting Numbers: [135] 135,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[41, 82], Operations: ['90-49=41', '88-6=82'] Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,92 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 41*82=3362, Resulting Numbers: [3362] 3362,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[88, 35], Operations: ['90-49=41', '41-6=35'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,92 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[90, 131], Operations: ['49-6=43', '88+43=131'] Exploring Operation: 90*131=11790, Resulting Numbers: [11790] 11790,92 unequal: No Solution Exploring Operation: 90+131=221, Resulting Numbers: [221] 221,92 unequal: No Solution Exploring Operation: 131-90=41, Resulting Numbers: [41] 41,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[88, 133], Operations: ['49-6=43', '90+43=133'] Exploring Operation: 88+133=221, Resulting Numbers: [221] 221,92 unequal: No Solution Exploring Operation: 88*133=11704, Resulting Numbers: [11704] 11704,92 unequal: No Solution Exploring Operation: 133-88=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[94, 139], Operations: ['6+88=94', '49+90=139'] Exploring Operation: 139-94=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 94+139=233, Resulting Numbers: [233] 233,92 unequal: No Solution Exploring Operation: 94*139=13066, Resulting Numbers: [13066] 13066,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[90, 143], Operations: ['6+88=94', '49+94=143'] Exploring Operation: 90+143=233, Resulting Numbers: [233] 233,92 unequal: No Solution Exploring Operation: 143-90=53, Resulting Numbers: [53] 53,92 unequal: No Solution Exploring Operation: 90*143=12870, Resulting Numbers: [12870] 12870,92 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 24, 49, 54, 66 ]
18
[ "24+66=90", "54-49=5", "90/5=18" ]
Current State: 18:[24, 49, 54, 66], Operations: [] Exploring Operation: 24+66=90, Resulting Numbers: [49, 54, 90] Generated Node #2: [49, 54, 90] from Operation: 24+66=90 Current State: 18:[49, 54, 90], Operations: ['24+66=90'] Exploring Operation: 54-49=5, Resulting Numbers: [90, 5] Generated Node #3: [90, 5] from Operation: 54-49=5 Current State: 18:[90, 5], Operations: ['24+66=90', '54-49=5'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[24, 49, 54, 66], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [24, 54, 17] Generated Node #0,0: 18:[24, 54, 17] Operation: 66-49=17 Exploring Operation: 54-49=5, Resulting Numbers: [24, 66, 5] Generated Node #0,1: 18:[24, 66, 5] Operation: 54-49=5 Exploring Operation: 66-54=12, Resulting Numbers: [24, 49, 12] Generated Node #0,2: 18:[24, 49, 12] Operation: 66-54=12 Moving to Node #0,2 Current State: 18:[24, 49, 12], Operations: ['66-54=12'] Exploring Operation: 49-24=25, Resulting Numbers: [12, 25] Generated Node #0,2,0: 18:[12, 25] Operation: 49-24=25 Exploring Operation: 49-12=37, Resulting Numbers: [24, 37] Generated Node #0,2,1: 18:[24, 37] Operation: 49-12=37 Exploring Operation: 24/12=2, Resulting Numbers: [49, 2] Generated Node #0,2,2: 18:[49, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[12, 25], Operations: ['66-54=12', '49-24=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,18 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,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,1 Current State: 18:[24, 37], Operations: ['66-54=12', '49-12=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,18 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,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,2 Current State: 18:[49, 2], Operations: ['66-54=12', '24/12=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,18 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: 18:[24, 54, 17], Operations: ['66-49=17'] Exploring Operation: 54-24=30, Resulting Numbers: [17, 30] Generated Node #0,0,0: 18:[17, 30] Operation: 54-24=30 Exploring Operation: 54-17=37, Resulting Numbers: [24, 37] Generated Node #0,0,1: 18:[24, 37] Operation: 54-17=37 Exploring Operation: 24-17=7, Resulting Numbers: [54, 7] Generated Node #0,0,2: 18:[54, 7] Operation: 24-17=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[17, 30], Operations: ['66-49=17', '54-24=30'] Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,18 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,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,0,1 Current State: 18:[24, 37], Operations: ['66-49=17', '54-17=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,18 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,18 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,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,0,2 Current State: 18:[54, 7], Operations: ['66-49=17', '24-17=7'] Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,18 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,18 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: 18:[24, 66, 5], Operations: ['54-49=5'] Exploring Operation: 66-5=61, Resulting Numbers: [24, 61] Generated Node #0,1,0: 18:[24, 61] Operation: 66-5=61 Exploring Operation: 24-5=19, Resulting Numbers: [66, 19] Generated Node #0,1,1: 18:[66, 19] Operation: 24-5=19 Exploring Operation: 66-24=42, Resulting Numbers: [5, 42] Generated Node #0,1,2: 18:[5, 42] Operation: 66-24=42 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[5, 42], Operations: ['54-49=5', '66-24=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,18 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,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,0 Current State: 18:[24, 61], Operations: ['54-49=5', '66-5=61'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,18 unequal: No Solution Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 24*61=1464, Resulting Numbers: [1464] 1464,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,1 Current State: 18:[66, 19], Operations: ['54-49=5', '24-5=19'] Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 66*19=1254, Resulting Numbers: [1254] 1254,18 unequal: No Solution Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,18 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
[ 7, 28, 67, 49 ]
15
[ "7*67=469", "469-49=420", "420/28=15" ]
Current State: 15:[7, 28, 67, 49], Operations: [] Exploring Operation: 7*67=469, Resulting Numbers: [28, 49, 469] Generated Node #2: [28, 49, 469] from Operation: 7*67=469 Current State: 15:[28, 49, 469], Operations: ['7*67=469'] Exploring Operation: 469-49=420, Resulting Numbers: [28, 420] Generated Node #3: [28, 420] from Operation: 469-49=420 Current State: 15:[28, 420], Operations: ['7*67=469', '469-49=420'] Exploring Operation: 420/28=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[7, 28, 67, 49], Operations: [] Exploring Operation: 67-49=18, Resulting Numbers: [7, 28, 18] Generated Node #0,0: 15:[7, 28, 18] Operation: 67-49=18 Moving to Node #0,0 Current State: 15:[7, 28, 18], Operations: ['67-49=18'] Exploring Operation: 28/7=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 15:[18, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[18, 4], Operations: ['67-49=18', '28/7=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,15 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
[ 39, 71, 53, 56 ]
96
[ "71-39=32", "56-53=3", "32*3=96" ]
Current State: 96:[39, 71, 53, 56], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [53, 56, 32] Generated Node #2: [53, 56, 32] from Operation: 71-39=32 Current State: 96:[53, 56, 32], Operations: ['71-39=32'] Exploring Operation: 56-53=3, Resulting Numbers: [32, 3] Generated Node #3: [32, 3] from Operation: 56-53=3 Current State: 96:[32, 3], Operations: ['71-39=32', '56-53=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[39, 71, 53, 56], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [53, 56, 32] Generated Node #0,0: 96:[53, 56, 32] Operation: 71-39=32 Moving to Node #0,0 Current State: 96:[53, 56, 32], Operations: ['71-39=32'] Exploring Operation: 56-53=3, Resulting Numbers: [32, 3] Generated Node #0,0,0: 96:[32, 3] Operation: 56-53=3 Moving to Node #0,0,0 Current State: 96:[32, 3], Operations: ['71-39=32', '56-53=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[39, 71, 53, 56], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [53, 56, 32] Generated Node #0,0: 96:[53, 56, 32] Operation: 71-39=32 Moving to Node #0,0 Current State: 96:[53, 56, 32], Operations: ['71-39=32'] Exploring Operation: 56-53=3, Resulting Numbers: [32, 3] Generated Node #0,0,0: 96:[32, 3] Operation: 56-53=3 Moving to Node #0,0,0 Current State: 96:[32, 3], Operations: ['71-39=32', '56-53=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 19, 55, 3, 98 ]
94
[ "19+98=117", "117/3=39", "55+39=94" ]
Current State: 94:[19, 55, 3, 98], Operations: [] Exploring Operation: 19+98=117, Resulting Numbers: [55, 3, 117] Generated Node #2: [55, 3, 117] from Operation: 19+98=117 Current State: 94:[55, 3, 117], Operations: ['19+98=117'] Exploring Operation: 117/3=39, Resulting Numbers: [55, 39] Generated Node #3: [55, 39] from Operation: 117/3=39 Current State: 94:[55, 39], Operations: ['19+98=117', '117/3=39'] Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[19, 55, 3, 98], Operations: [] Exploring Operation: 98-19=79, Resulting Numbers: [55, 3, 79] Generated Node #0,0: 94:[55, 3, 79] Operation: 98-19=79 Exploring Operation: 19*3=57, Resulting Numbers: [55, 98, 57] Generated Node #0,1: 94:[55, 98, 57] Operation: 19*3=57 Exploring Operation: 98-55=43, Resulting Numbers: [19, 3, 43] Generated Node #0,2: 94:[19, 3, 43] Operation: 98-55=43 Exploring Operation: 55-19=36, Resulting Numbers: [3, 98, 36] Generated Node #0,3: 94:[3, 98, 36] Operation: 55-19=36 Moving to Node #0,3 Current State: 94:[3, 98, 36], Operations: ['55-19=36'] Exploring Operation: 36/3=12, Resulting Numbers: [98, 12] Generated Node #0,3,0: 94:[98, 12] Operation: 36/3=12 Exploring Operation: 3+36=39, Resulting Numbers: [98, 39] Generated Node #0,3,1: 94:[98, 39] Operation: 3+36=39 Exploring Operation: 98-3=95, Resulting Numbers: [36, 95] Generated Node #0,3,2: 94:[36, 95] Operation: 98-3=95 Exploring Operation: 98-36=62, Resulting Numbers: [3, 62] Generated Node #0,3,3: 94:[3, 62] Operation: 98-36=62 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[98, 39], Operations: ['55-19=36', '3+36=39'] Exploring Operation: 98-39=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 98+39=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 98*39=3822, Resulting Numbers: [3822] 3822,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[36, 95], Operations: ['55-19=36', '98-3=95'] Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,94 unequal: No Solution Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[98, 12], Operations: ['55-19=36', '36/3=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,94 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[3, 62], Operations: ['55-19=36', '98-36=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,94 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[19, 3, 43], Operations: ['98-55=43'] Exploring Operation: 19+43=62, Resulting Numbers: [3, 62] Generated Node #0,2,0: 94:[3, 62] Operation: 19+43=62 Exploring Operation: 19-3=16, Resulting Numbers: [43, 16] Generated Node #0,2,1: 94:[43, 16] Operation: 19-3=16 Exploring Operation: 19*3=57, Resulting Numbers: [43, 57] Generated Node #0,2,2: 94:[43, 57] Operation: 19*3=57 Exploring Operation: 3+43=46, Resulting Numbers: [19, 46] Generated Node #0,2,3: 94:[19, 46] Operation: 3+43=46 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[43, 57], Operations: ['98-55=43', '19*3=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[3, 62], Operations: ['98-55=43', '19+43=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[43, 16], Operations: ['98-55=43', '19-3=16'] Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,94 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[19, 46], Operations: ['98-55=43', '3+43=46'] Exploring Operation: 19*46=874, Resulting Numbers: [874] 874,94 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,94 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: 94:[55, 98, 57], Operations: ['19*3=57'] Exploring Operation: 55+57=112, Resulting Numbers: [98, 112] Generated Node #0,1,0: 94:[98, 112] Operation: 55+57=112 Exploring Operation: 98-55=43, Resulting Numbers: [57, 43] Generated Node #0,1,1: 94:[57, 43] Operation: 98-55=43 Exploring Operation: 57-55=2, Resulting Numbers: [98, 2] Generated Node #0,1,2: 94:[98, 2] Operation: 57-55=2 Exploring Operation: 98-57=41, Resulting Numbers: [55, 41] Generated Node #0,1,3: 94:[55, 41] Operation: 98-57=41 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[98, 2], Operations: ['19*3=57', '57-55=2'] Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,94 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[57, 43], Operations: ['19*3=57', '98-55=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,94 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[55, 41], Operations: ['19*3=57', '98-57=41'] Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,94 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,94 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[98, 112], Operations: ['19*3=57', '55+57=112'] Exploring Operation: 112-98=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 98*112=10976, Resulting Numbers: [10976] 10976,94 unequal: No Solution Exploring Operation: 98+112=210, Resulting Numbers: [210] 210,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[55, 3, 79], Operations: ['98-19=79'] Exploring Operation: 55+3=58, Resulting Numbers: [79, 58] Generated Node #0,0,0: 94:[79, 58] Operation: 55+3=58 Exploring Operation: 79-55=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 94:[3, 24] Operation: 79-55=24 Exploring Operation: 55-3=52, Resulting Numbers: [79, 52] Generated Node #0,0,2: 94:[79, 52] Operation: 55-3=52 Exploring Operation: 3+79=82, Resulting Numbers: [55, 82] Generated Node #0,0,3: 94:[55, 82] Operation: 3+79=82 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[79, 52], Operations: ['98-19=79', '55-3=52'] Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,94 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[55, 82], Operations: ['98-19=79', '3+79=82'] Exploring Operation: 55+82=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 55*82=4510, Resulting Numbers: [4510] 4510,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[3, 24], Operations: ['98-19=79', '79-55=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[79, 58], Operations: ['98-19=79', '55+3=58'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,94 unequal: No Solution Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 2, 89, 24, 9 ]
28
[ "89-24=65", "65-9=56", "56/2=28" ]
Current State: 28:[2, 89, 24, 9], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [2, 9, 65] Generated Node #2: [2, 9, 65] from Operation: 89-24=65 Current State: 28:[2, 9, 65], Operations: ['89-24=65'] Exploring Operation: 65-9=56, Resulting Numbers: [2, 56] Generated Node #3: [2, 56] from Operation: 65-9=56 Current State: 28:[2, 56], Operations: ['89-24=65', '65-9=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 89, 24, 9], Operations: [] Exploring Operation: 24-9=15, Resulting Numbers: [2, 89, 15] Generated Node #0,0: 28:[2, 89, 15] Operation: 24-9=15 Exploring Operation: 89-9=80, Resulting Numbers: [2, 24, 80] Generated Node #0,1: 28:[2, 24, 80] Operation: 89-9=80 Exploring Operation: 89-2=87, Resulting Numbers: [24, 9, 87] Generated Node #0,2: 28:[24, 9, 87] Operation: 89-2=87 Exploring Operation: 89-24=65, Resulting Numbers: [2, 9, 65] Generated Node #0,3: 28:[2, 9, 65] Operation: 89-24=65 Exploring Operation: 2+24=26, Resulting Numbers: [89, 9, 26] Generated Node #0,4: 28:[89, 9, 26] Operation: 2+24=26 Moving to Node #0,3 Current State: 28:[2, 9, 65], Operations: ['89-24=65'] Exploring Operation: 9-2=7, Resulting Numbers: [65, 7] Generated Node #0,3,0: 28:[65, 7] Operation: 9-2=7 Exploring Operation: 65-2=63, Resulting Numbers: [9, 63] Generated Node #0,3,1: 28:[9, 63] Operation: 65-2=63 Exploring Operation: 2+9=11, Resulting Numbers: [65, 11] Generated Node #0,3,2: 28:[65, 11] Operation: 2+9=11 Exploring Operation: 65-9=56, Resulting Numbers: [2, 56] Generated Node #0,3,3: 28:[2, 56] Operation: 65-9=56 Exploring Operation: 2*9=18, Resulting Numbers: [65, 18] Generated Node #0,3,4: 28:[65, 18] Operation: 2*9=18 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[2, 56], Operations: ['89-24=65', '65-9=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[2, 89, 24, 9], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [2, 9, 65] Generated Node #0,3: 28:[2, 9, 65] Operation: 89-24=65 Moving to Node #0,3 Current State: 28:[2, 9, 65], Operations: ['89-24=65'] Exploring Operation: 65-9=56, Resulting Numbers: [2, 56] Generated Node #0,3,3: 28:[2, 56] Operation: 65-9=56 Moving to Node #0,3,3 Current State: 28:[2, 56], Operations: ['89-24=65', '65-9=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 18, 2, 86, 58 ]
32
[ "86-58=28", "28/2=14", "18+14=32" ]
Current State: 32:[18, 2, 86, 58], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [18, 2, 28] Generated Node #2: [18, 2, 28] from Operation: 86-58=28 Current State: 32:[18, 2, 28], Operations: ['86-58=28'] Exploring Operation: 28/2=14, Resulting Numbers: [18, 14] Generated Node #3: [18, 14] from Operation: 28/2=14 Current State: 32:[18, 14], Operations: ['86-58=28', '28/2=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[18, 2, 86, 58], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [18, 58, 43] Generated Node #0,0: 32:[18, 58, 43] Operation: 86/2=43 Exploring Operation: 86-58=28, Resulting Numbers: [18, 2, 28] Generated Node #0,1: 32:[18, 2, 28] Operation: 86-58=28 Moving to Node #0,1 Current State: 32:[18, 2, 28], Operations: ['86-58=28'] Exploring Operation: 28-18=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 32:[2, 10] Operation: 28-18=10 Exploring Operation: 18-2=16, Resulting Numbers: [28, 16] Generated Node #0,1,1: 32:[28, 16] Operation: 18-2=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[2, 10], Operations: ['86-58=28', '28-18=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[28, 16], Operations: ['86-58=28', '18-2=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,32 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: 32:[18, 58, 43], Operations: ['86/2=43'] Exploring Operation: 58-18=40, Resulting Numbers: [43, 40] Generated Node #0,0,0: 32:[43, 40] Operation: 58-18=40 Exploring Operation: 58-43=15, Resulting Numbers: [18, 15] Generated Node #0,0,1: 32:[18, 15] Operation: 58-43=15 Moving to Node #0,0,1 Current State: 32:[18, 15], Operations: ['86/2=43', '58-43=15'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[43, 40], Operations: ['86/2=43', '58-18=40'] Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,32 unequal: No Solution No solution found.
0
hs_2
sum_heuristic