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
[ 55, 37, 44, 2 ]
24
[ "55+37=92", "92-44=48", "48/2=24" ]
Current State: 24:[55, 37, 44, 2], Operations: [] Exploring Operation: 55+37=92, Resulting Numbers: [44, 2, 92] Generated Node #2: [44, 2, 92] from Operation: 55+37=92 Current State: 24:[44, 2, 92], Operations: ['55+37=92'] Exploring Operation: 92-44=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 92-44=48 Current State: 24:[2, 48], Operations: ['55+37=92', '92-44=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[55, 37, 44, 2], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [37, 2, 11] Generated Node #0,0: 24:[37, 2, 11] Operation: 55-44=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[37, 2, 11], Operations: ['55-44=11'] Exploring Operation: 37-11=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 24:[2, 26] Operation: 37-11=26 Moving to Node #0,0,0 Current State: 24:[2, 26], Operations: ['55-44=11', '37-11=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[55, 37, 44, 2], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [37, 2, 11] Generated Node #0,0: 24:[37, 2, 11] Operation: 55-44=11 Moving to Node #0,0 Current State: 24:[37, 2, 11], Operations: ['55-44=11'] Exploring Operation: 37-11=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 24:[2, 26] Operation: 37-11=26 Moving to Node #0,0,0 Current State: 24:[2, 26], Operations: ['55-44=11', '37-11=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 58, 3, 79, 82 ]
100
[ "58+3=61", "79+82=161", "161-61=100" ]
Current State: 100:[58, 3, 79, 82], Operations: [] Exploring Operation: 58+3=61, Resulting Numbers: [79, 82, 61] Generated Node #2: [79, 82, 61] from Operation: 58+3=61 Current State: 100:[79, 82, 61], Operations: ['58+3=61'] Exploring Operation: 79+82=161, Resulting Numbers: [61, 161] Generated Node #3: [61, 161] from Operation: 79+82=161 Current State: 100:[61, 161], Operations: ['58+3=61', '79+82=161'] Exploring Operation: 161-61=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[58, 3, 79, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [58, 3, 3] Generated Node #0,0: 100:[58, 3, 3] Operation: 82-79=3 Moving to Node #0,0 Current State: 100:[58, 3, 3], Operations: ['82-79=3'] Exploring Operation: 58-3=55, Resulting Numbers: [3, 55] Generated Node #0,0,0: 100:[3, 55] Operation: 58-3=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[3, 55], Operations: ['82-79=3', '58-3=55'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 7, 3, 2, 59 ]
12
[ "59-2=57", "57/3=19", "19-7=12" ]
Current State: 12:[7, 3, 2, 59], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [7, 3, 57] Generated Node #2: [7, 3, 57] from Operation: 59-2=57 Current State: 12:[7, 3, 57], Operations: ['59-2=57'] Exploring Operation: 57/3=19, Resulting Numbers: [7, 19] Generated Node #3: [7, 19] from Operation: 57/3=19 Current State: 12:[7, 19], Operations: ['59-2=57', '57/3=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[7, 3, 2, 59], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [7, 3, 57] Generated Node #0,0: 12:[7, 3, 57] Operation: 59-2=57 Exploring Operation: 59-3=56, Resulting Numbers: [7, 2, 56] Generated Node #0,1: 12:[7, 2, 56] Operation: 59-3=56 Exploring Operation: 59-7=52, Resulting Numbers: [3, 2, 52] Generated Node #0,2: 12:[3, 2, 52] Operation: 59-7=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[3, 2, 52], Operations: ['59-7=52'] Exploring Operation: 52-2=50, Resulting Numbers: [3, 50] Generated Node #0,2,0: 12:[3, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [3, 26] Generated Node #0,2,1: 12:[3, 26] Operation: 52/2=26 Exploring Operation: 52-3=49, Resulting Numbers: [2, 49] Generated Node #0,2,2: 12:[2, 49] Operation: 52-3=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[3, 26], Operations: ['59-7=52', '52/2=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[2, 49], Operations: ['59-7=52', '52-3=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,12 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[3, 50], Operations: ['59-7=52', '52-2=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,12 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[7, 2, 56], Operations: ['59-3=56'] Exploring Operation: 56-7=49, Resulting Numbers: [2, 49] Generated Node #0,1,0: 12:[2, 49] Operation: 56-7=49 Exploring Operation: 56/2=28, Resulting Numbers: [7, 28] Generated Node #0,1,1: 12:[7, 28] Operation: 56/2=28 Exploring Operation: 56/7=8, Resulting Numbers: [2, 8] Generated Node #0,1,2: 12:[2, 8] Operation: 56/7=8 Moving to Node #0,1,2 Current State: 12:[2, 8], Operations: ['59-3=56', '56/7=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[7, 28], Operations: ['59-3=56', '56/2=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[2, 49], Operations: ['59-3=56', '56-7=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[7, 3, 57], Operations: ['59-2=57'] Exploring Operation: 57/3=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 12:[7, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [7, 54] Generated Node #0,0,1: 12:[7, 54] Operation: 57-3=54 Exploring Operation: 57-7=50, Resulting Numbers: [3, 50] Generated Node #0,0,2: 12:[3, 50] Operation: 57-7=50 Moving to Node #0,0,0 Current State: 12:[7, 19], Operations: ['59-2=57', '57/3=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,12 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[7, 3, 2, 59], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [7, 3, 57] Generated Node #0,0: 12:[7, 3, 57] Operation: 59-2=57 Moving to Node #0,0 Current State: 12:[7, 3, 57], Operations: ['59-2=57'] Exploring Operation: 57/3=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 12:[7, 19] Operation: 57/3=19 Moving to Node #0,0,0 Current State: 12:[7, 19], Operations: ['59-2=57', '57/3=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 3, 28, 5, 58 ]
97
[ "3+28=31", "5*31=155", "155-58=97" ]
Current State: 97:[3, 28, 5, 58], Operations: [] Exploring Operation: 3+28=31, Resulting Numbers: [5, 58, 31] Generated Node #2: [5, 58, 31] from Operation: 3+28=31 Current State: 97:[5, 58, 31], Operations: ['3+28=31'] Exploring Operation: 5*31=155, Resulting Numbers: [58, 155] Generated Node #3: [58, 155] from Operation: 5*31=155 Current State: 97:[58, 155], Operations: ['3+28=31', '5*31=155'] Exploring Operation: 155-58=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[3, 28, 5, 58], Operations: [] Exploring Operation: 3*28=84, Resulting Numbers: [5, 58, 84] Generated Node #0,0: 97:[5, 58, 84] Operation: 3*28=84 Exploring Operation: 28*5=140, Resulting Numbers: [3, 58, 140] Generated Node #0,1: 97:[3, 58, 140] Operation: 28*5=140 Exploring Operation: 3*5=15, Resulting Numbers: [28, 58, 15] Generated Node #0,2: 97:[28, 58, 15] Operation: 3*5=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[5, 58, 84], Operations: ['3*28=84'] Exploring Operation: 5+58=63, Resulting Numbers: [84, 63] Generated Node #0,0,0: 97:[84, 63] Operation: 5+58=63 Exploring Operation: 5+84=89, Resulting Numbers: [58, 89] Generated Node #0,0,1: 97:[58, 89] Operation: 5+84=89 Exploring Operation: 58-5=53, Resulting Numbers: [84, 53] Generated Node #0,0,2: 97:[84, 53] Operation: 58-5=53 Moving to Node #0,0,0 Current State: 97:[84, 63], Operations: ['3*28=84', '5+58=63'] Exploring Operation: 84+63=147, Resulting Numbers: [147] 147,97 unequal: No Solution Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 84*63=5292, Resulting Numbers: [5292] 5292,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[58, 89], Operations: ['3*28=84', '5+84=89'] Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,97 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[84, 53], Operations: ['3*28=84', '58-5=53'] Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[3, 58, 140], Operations: ['28*5=140'] Exploring Operation: 140-3=137, Resulting Numbers: [58, 137] Generated Node #0,1,0: 97:[58, 137] Operation: 140-3=137 Exploring Operation: 3+58=61, Resulting Numbers: [140, 61] Generated Node #0,1,1: 97:[140, 61] Operation: 3+58=61 Exploring Operation: 58-3=55, Resulting Numbers: [140, 55] Generated Node #0,1,2: 97:[140, 55] Operation: 58-3=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[58, 137], Operations: ['28*5=140', '140-3=137'] Exploring Operation: 137-58=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 58*137=7946, Resulting Numbers: [7946] 7946,97 unequal: No Solution Exploring Operation: 58+137=195, Resulting Numbers: [195] 195,97 unequal: No Solution No 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: 97:[140, 61], Operations: ['28*5=140', '3+58=61'] Exploring Operation: 140*61=8540, Resulting Numbers: [8540] 8540,97 unequal: No Solution Exploring Operation: 140+61=201, Resulting Numbers: [201] 201,97 unequal: No Solution Exploring Operation: 140-61=79, Resulting Numbers: [79] 79,97 unequal: No Solution No 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: 97:[140, 55], Operations: ['28*5=140', '58-3=55'] Exploring Operation: 140*55=7700, Resulting Numbers: [7700] 7700,97 unequal: No Solution Exploring Operation: 140+55=195, Resulting Numbers: [195] 195,97 unequal: No Solution Exploring Operation: 140-55=85, Resulting Numbers: [85] 85,97 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: 97:[28, 58, 15], Operations: ['3*5=15'] Exploring Operation: 28+15=43, Resulting Numbers: [58, 43] Generated Node #0,2,0: 97:[58, 43] Operation: 28+15=43 Exploring Operation: 58+15=73, Resulting Numbers: [28, 73] Generated Node #0,2,1: 97:[28, 73] Operation: 58+15=73 Exploring Operation: 28+58=86, Resulting Numbers: [15, 86] Generated Node #0,2,2: 97:[15, 86] Operation: 28+58=86 Moving to Node #0,2,0 Current State: 97:[58, 43], Operations: ['3*5=15', '28+15=43'] Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 58*43=2494, Resulting Numbers: [2494] 2494,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[28, 73], Operations: ['3*5=15', '58+15=73'] Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 28*73=2044, Resulting Numbers: [2044] 2044,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[15, 86], Operations: ['3*5=15', '28+58=86'] Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 15+86=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 15*86=1290, Resulting Numbers: [1290] 1290,97 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
[ 83, 64, 61, 37 ]
43
[ "83-64=19", "61-37=24", "19+24=43" ]
Current State: 43:[83, 64, 61, 37], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [61, 37, 19] Generated Node #2: [61, 37, 19] from Operation: 83-64=19 Current State: 43:[61, 37, 19], Operations: ['83-64=19'] Exploring Operation: 61-37=24, Resulting Numbers: [19, 24] Generated Node #3: [19, 24] from Operation: 61-37=24 Current State: 43:[19, 24], Operations: ['83-64=19', '61-37=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[83, 64, 61, 37], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [64, 61, 46] Generated Node #0,0: 43:[64, 61, 46] Operation: 83-37=46 Exploring Operation: 83-64=19, Resulting Numbers: [61, 37, 19] Generated Node #0,1: 43:[61, 37, 19] Operation: 83-64=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[64, 61, 46], Operations: ['83-37=46'] Exploring Operation: 64-46=18, Resulting Numbers: [61, 18] Generated Node #0,0,0: 43:[61, 18] Operation: 64-46=18 Exploring Operation: 64-61=3, Resulting Numbers: [46, 3] Generated Node #0,0,1: 43:[46, 3] Operation: 64-61=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[61, 18], Operations: ['83-37=46', '64-46=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[83, 64, 61, 37], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [64, 61, 46] Generated Node #0,0: 43:[64, 61, 46] Operation: 83-37=46 Moving to Node #0,0 Current State: 43:[64, 61, 46], Operations: ['83-37=46'] Exploring Operation: 64-46=18, Resulting Numbers: [61, 18] Generated Node #0,0,0: 43:[61, 18] Operation: 64-46=18 Moving to Node #0,0,0 Current State: 43:[61, 18], Operations: ['83-37=46', '64-46=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 41, 72, 34, 6 ]
30
[ "41-34=7", "6*7=42", "72-42=30" ]
Current State: 30:[41, 72, 34, 6], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [72, 6, 7] Generated Node #2: [72, 6, 7] from Operation: 41-34=7 Current State: 30:[72, 6, 7], Operations: ['41-34=7'] Exploring Operation: 6*7=42, Resulting Numbers: [72, 42] Generated Node #3: [72, 42] from Operation: 6*7=42 Current State: 30:[72, 42], Operations: ['41-34=7', '6*7=42'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[41, 72, 34, 6], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [72, 6, 7] Generated Node #0,0: 30:[72, 6, 7] Operation: 41-34=7 Exploring Operation: 41-6=35, Resulting Numbers: [72, 34, 35] Generated Node #0,1: 30:[72, 34, 35] Operation: 41-6=35 Exploring Operation: 72-41=31, Resulting Numbers: [34, 6, 31] Generated Node #0,2: 30:[34, 6, 31] Operation: 72-41=31 Exploring Operation: 72/6=12, Resulting Numbers: [41, 34, 12] Generated Node #0,3: 30:[41, 34, 12] Operation: 72/6=12 Exploring Operation: 72-34=38, Resulting Numbers: [41, 6, 38] Generated Node #0,4: 30:[41, 6, 38] Operation: 72-34=38 Moving to Node #0,2 Current State: 30:[34, 6, 31], Operations: ['72-41=31'] Exploring Operation: 31-6=25, Resulting Numbers: [34, 25] Generated Node #0,2,0: 30:[34, 25] Operation: 31-6=25 Exploring Operation: 34-31=3, Resulting Numbers: [6, 3] Generated Node #0,2,1: 30:[6, 3] Operation: 34-31=3 Exploring Operation: 6+31=37, Resulting Numbers: [34, 37] Generated Node #0,2,2: 30:[34, 37] Operation: 6+31=37 Exploring Operation: 34-6=28, Resulting Numbers: [31, 28] Generated Node #0,2,3: 30:[31, 28] Operation: 34-6=28 Exploring Operation: 34+6=40, Resulting Numbers: [31, 40] Generated Node #0,2,4: 30:[31, 40] Operation: 34+6=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[6, 3], Operations: ['72-41=31', '34-31=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,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,2,3 Current State: 30:[31, 28], Operations: ['72-41=31', '34-6=28'] Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,30 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,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,2,0 Current State: 30:[34, 25], Operations: ['72-41=31', '31-6=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,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,2,2 Current State: 30:[34, 37], Operations: ['72-41=31', '6+31=37'] Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,30 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,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,2,4 Current State: 30:[31, 40], Operations: ['72-41=31', '34+6=40'] Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,30 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,30 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: 30:[41, 34, 12], Operations: ['72/6=12'] Exploring Operation: 34-12=22, Resulting Numbers: [41, 22] Generated Node #0,3,0: 30:[41, 22] Operation: 34-12=22 Exploring Operation: 41+12=53, Resulting Numbers: [34, 53] Generated Node #0,3,1: 30:[34, 53] Operation: 41+12=53 Exploring Operation: 34+12=46, Resulting Numbers: [41, 46] Generated Node #0,3,2: 30:[41, 46] Operation: 34+12=46 Exploring Operation: 41-34=7, Resulting Numbers: [12, 7] Generated Node #0,3,3: 30:[12, 7] Operation: 41-34=7 Exploring Operation: 41-12=29, Resulting Numbers: [34, 29] Generated Node #0,3,4: 30:[34, 29] Operation: 41-12=29 Moving to Node #0,4 Current State: 30:[41, 6, 38], Operations: ['72-34=38'] Exploring Operation: 6+38=44, Resulting Numbers: [41, 44] Generated Node #0,4,0: 30:[41, 44] Operation: 6+38=44 Exploring Operation: 41-38=3, Resulting Numbers: [6, 3] Generated Node #0,4,1: 30:[6, 3] Operation: 41-38=3 Exploring Operation: 38-6=32, Resulting Numbers: [41, 32] Generated Node #0,4,2: 30:[41, 32] Operation: 38-6=32 Exploring Operation: 41+6=47, Resulting Numbers: [38, 47] Generated Node #0,4,3: 30:[38, 47] Operation: 41+6=47 Exploring Operation: 41-6=35, Resulting Numbers: [38, 35] Generated Node #0,4,4: 30:[38, 35] Operation: 41-6=35 Moving to Node #0,0 Current State: 30:[72, 6, 7], Operations: ['41-34=7'] Exploring Operation: 7-6=1, Resulting Numbers: [72, 1] Generated Node #0,0,0: 30:[72, 1] Operation: 7-6=1 Exploring Operation: 6+7=13, Resulting Numbers: [72, 13] Generated Node #0,0,1: 30:[72, 13] Operation: 6+7=13 Exploring Operation: 72/6=12, Resulting Numbers: [7, 12] Generated Node #0,0,2: 30:[7, 12] Operation: 72/6=12 Exploring Operation: 72-6=66, Resulting Numbers: [7, 66] Generated Node #0,0,3: 30:[7, 66] Operation: 72-6=66 Exploring Operation: 72-7=65, Resulting Numbers: [6, 65] Generated Node #0,0,4: 30:[6, 65] Operation: 72-7=65 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[7, 12], Operations: ['41-34=7', '72/6=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,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,0,4 Current State: 30:[6, 65], Operations: ['41-34=7', '72-7=65'] Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,30 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,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,0,3 Current State: 30:[7, 66], Operations: ['41-34=7', '72-6=66'] Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 7*66=462, Resulting Numbers: [462] 462,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,0,0 Current State: 30:[72, 1], Operations: ['41-34=7', '7-6=1'] Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,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,0,1 Current State: 30:[72, 13], Operations: ['41-34=7', '6+7=13'] Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,30 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,30 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: 30:[72, 34, 35], Operations: ['41-6=35'] Exploring Operation: 72-35=37, Resulting Numbers: [34, 37] Generated Node #0,1,0: 30:[34, 37] Operation: 72-35=37 Exploring Operation: 72+34=106, Resulting Numbers: [35, 106] Generated Node #0,1,1: 30:[35, 106] Operation: 72+34=106 Exploring Operation: 35-34=1, Resulting Numbers: [72, 1] Generated Node #0,1,2: 30:[72, 1] Operation: 35-34=1 Exploring Operation: 72+35=107, Resulting Numbers: [34, 107] Generated Node #0,1,3: 30:[34, 107] Operation: 72+35=107 Exploring Operation: 72-34=38, Resulting Numbers: [35, 38] Generated Node #0,1,4: 30:[35, 38] Operation: 72-34=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[34, 37], Operations: ['41-6=35', '72-35=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,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,4 Current State: 30:[35, 38], Operations: ['41-6=35', '72-34=38'] Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,30 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,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,2 Current State: 30:[72, 1], Operations: ['41-6=35', '35-34=1'] Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,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,1 Current State: 30:[35, 106], Operations: ['41-6=35', '72+34=106'] Exploring Operation: 35*106=3710, Resulting Numbers: [3710] 3710,30 unequal: No Solution Exploring Operation: 106-35=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 35+106=141, Resulting Numbers: [141] 141,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,3 Current State: 30:[34, 107], Operations: ['41-6=35', '72+35=107'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 34+107=141, Resulting Numbers: [141] 141,30 unequal: No Solution Exploring Operation: 34*107=3638, Resulting Numbers: [3638] 3638,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 30:[6, 3], Operations: ['72-34=38', '41-38=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[12, 7], Operations: ['72/6=12', '41-34=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[34, 29], Operations: ['72/6=12', '41-12=29'] Exploring Operation: 34*29=986, Resulting Numbers: [986] 986,30 unequal: No Solution Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,30 unequal: No Solution Moving to Node #0,4,2 Current State: 30:[41, 32], Operations: ['72-34=38', '38-6=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,30 unequal: No Solution Moving to Node #0,4,4 Current State: 30:[38, 35], Operations: ['72-34=38', '41-6=35'] Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 38+35=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 38*35=1330, Resulting Numbers: [1330] 1330,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[41, 22], Operations: ['72/6=12', '34-12=22'] Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,30 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,4,3 Current State: 30:[38, 47], Operations: ['72-34=38', '41+6=47'] Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 38*47=1786, Resulting Numbers: [1786] 1786,30 unequal: No Solution Exploring Operation: 38+47=85, Resulting Numbers: [85] 85,30 unequal: No Solution Moving to Node #0,4,0 Current State: 30:[41, 44], Operations: ['72-34=38', '6+38=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,30 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[41, 46], Operations: ['72/6=12', '34+12=46'] Exploring Operation: 41*46=1886, Resulting Numbers: [1886] 1886,30 unequal: No Solution Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,30 unequal: No Solution Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[34, 53], Operations: ['72/6=12', '41+12=53'] Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 34*53=1802, Resulting Numbers: [1802] 1802,30 unequal: No Solution Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,30 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 54, 62, 75, 66 ]
25
[ "54+62=116", "75+66=141", "141-116=25" ]
Current State: 25:[54, 62, 75, 66], Operations: [] Exploring Operation: 54+62=116, Resulting Numbers: [75, 66, 116] Generated Node #2: [75, 66, 116] from Operation: 54+62=116 Current State: 25:[75, 66, 116], Operations: ['54+62=116'] Exploring Operation: 75+66=141, Resulting Numbers: [116, 141] Generated Node #3: [116, 141] from Operation: 75+66=141 Current State: 25:[116, 141], Operations: ['54+62=116', '75+66=141'] Exploring Operation: 141-116=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[54, 62, 75, 66], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [54, 62, 9] Generated Node #0,0: 25:[54, 62, 9] Operation: 75-66=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[54, 62, 9], Operations: ['75-66=9'] Exploring Operation: 62-54=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 25:[9, 8] Operation: 62-54=8 Moving to Node #0,0,0 Current State: 25:[9, 8], Operations: ['75-66=9', '62-54=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,25 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
[ 83, 40, 84, 53 ]
14
[ "83+40=123", "84+53=137", "137-123=14" ]
Current State: 14:[83, 40, 84, 53], Operations: [] Exploring Operation: 83+40=123, Resulting Numbers: [84, 53, 123] Generated Node #2: [84, 53, 123] from Operation: 83+40=123 Current State: 14:[84, 53, 123], Operations: ['83+40=123'] Exploring Operation: 84+53=137, Resulting Numbers: [123, 137] Generated Node #3: [123, 137] from Operation: 84+53=137 Current State: 14:[123, 137], Operations: ['83+40=123', '84+53=137'] Exploring Operation: 137-123=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[83, 40, 84, 53], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [40, 84, 30] Generated Node #0,0: 14:[40, 84, 30] Operation: 83-53=30 Exploring Operation: 84-40=44, Resulting Numbers: [83, 53, 44] Generated Node #0,1: 14:[83, 53, 44] Operation: 84-40=44 Exploring Operation: 83-40=43, Resulting Numbers: [84, 53, 43] Generated Node #0,2: 14:[84, 53, 43] Operation: 83-40=43 Exploring Operation: 84-83=1, Resulting Numbers: [40, 53, 1] Generated Node #0,3: 14:[40, 53, 1] Operation: 84-83=1 Exploring Operation: 84-53=31, Resulting Numbers: [83, 40, 31] Generated Node #0,4: 14:[83, 40, 31] Operation: 84-53=31 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[40, 53, 1], Operations: ['84-83=1'] Exploring Operation: 40*1=40, Resulting Numbers: [53, 40] Generated Node #0,3,0: 14:[53, 40] Operation: 40*1=40 Exploring Operation: 53-40=13, Resulting Numbers: [1, 13] Generated Node #0,3,1: 14:[1, 13] Operation: 53-40=13 Exploring Operation: 40-1=39, Resulting Numbers: [53, 39] Generated Node #0,3,2: 14:[53, 39] Operation: 40-1=39 Exploring Operation: 53-1=52, Resulting Numbers: [40, 52] Generated Node #0,3,3: 14:[40, 52] Operation: 53-1=52 Exploring Operation: 40/1=40, Resulting Numbers: [53, 40] Generated Node #0,3,4: 14:[53, 40] Operation: 40/1=40 Moving to Node #0,3,1 Current State: 14:[1, 13], Operations: ['84-83=1', '53-40=13'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[83, 40, 84, 53], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [40, 53, 1] Generated Node #0,3: 14:[40, 53, 1] Operation: 84-83=1 Moving to Node #0,3 Current State: 14:[40, 53, 1], Operations: ['84-83=1'] Exploring Operation: 53-40=13, Resulting Numbers: [1, 13] Generated Node #0,3,1: 14:[1, 13] Operation: 53-40=13 Moving to Node #0,3,1 Current State: 14:[1, 13], Operations: ['84-83=1', '53-40=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 48, 5, 7, 93 ]
10
[ "93-48=45", "5*7=35", "45-35=10" ]
Current State: 10:[48, 5, 7, 93], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [5, 7, 45] Generated Node #2: [5, 7, 45] from Operation: 93-48=45 Current State: 10:[5, 7, 45], Operations: ['93-48=45'] Exploring Operation: 5*7=35, Resulting Numbers: [45, 35] Generated Node #3: [45, 35] from Operation: 5*7=35 Current State: 10:[45, 35], Operations: ['93-48=45', '5*7=35'] Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[48, 5, 7, 93], Operations: [] Exploring Operation: 93-5=88, Resulting Numbers: [48, 7, 88] Generated Node #0,0: 10:[48, 7, 88] Operation: 93-5=88 Exploring Operation: 93-7=86, Resulting Numbers: [48, 5, 86] Generated Node #0,1: 10:[48, 5, 86] Operation: 93-7=86 Exploring Operation: 48-7=41, Resulting Numbers: [5, 93, 41] Generated Node #0,2: 10:[5, 93, 41] Operation: 48-7=41 Exploring Operation: 48-5=43, Resulting Numbers: [7, 93, 43] Generated Node #0,3: 10:[7, 93, 43] Operation: 48-5=43 Exploring Operation: 93-48=45, Resulting Numbers: [5, 7, 45] Generated Node #0,4: 10:[5, 7, 45] Operation: 93-48=45 Moving to Node #0,4 Current State: 10:[5, 7, 45], Operations: ['93-48=45'] Exploring Operation: 45/5=9, Resulting Numbers: [7, 9] Generated Node #0,4,0: 10:[7, 9] Operation: 45/5=9 Exploring Operation: 5+7=12, Resulting Numbers: [45, 12] Generated Node #0,4,1: 10:[45, 12] Operation: 5+7=12 Exploring Operation: 45-5=40, Resulting Numbers: [7, 40] Generated Node #0,4,2: 10:[7, 40] Operation: 45-5=40 Exploring Operation: 45-7=38, Resulting Numbers: [5, 38] Generated Node #0,4,3: 10:[5, 38] Operation: 45-7=38 Exploring Operation: 7-5=2, Resulting Numbers: [45, 2] Generated Node #0,4,4: 10:[45, 2] Operation: 7-5=2 Moving to Node #0,2 Current State: 10:[5, 93, 41], Operations: ['48-7=41'] Exploring Operation: 41-5=36, Resulting Numbers: [93, 36] Generated Node #0,2,0: 10:[93, 36] Operation: 41-5=36 Exploring Operation: 5+41=46, Resulting Numbers: [93, 46] Generated Node #0,2,1: 10:[93, 46] Operation: 5+41=46 Exploring Operation: 5+93=98, Resulting Numbers: [41, 98] Generated Node #0,2,2: 10:[41, 98] Operation: 5+93=98 Exploring Operation: 93-41=52, Resulting Numbers: [5, 52] Generated Node #0,2,3: 10:[5, 52] Operation: 93-41=52 Exploring Operation: 93-5=88, Resulting Numbers: [41, 88] Generated Node #0,2,4: 10:[41, 88] Operation: 93-5=88 Moving to Node #0,1 Current State: 10:[48, 5, 86], Operations: ['93-7=86'] Exploring Operation: 5+86=91, Resulting Numbers: [48, 91] Generated Node #0,1,0: 10:[48, 91] Operation: 5+86=91 Exploring Operation: 48+5=53, Resulting Numbers: [86, 53] Generated Node #0,1,1: 10:[86, 53] Operation: 48+5=53 Exploring Operation: 86-48=38, Resulting Numbers: [5, 38] Generated Node #0,1,2: 10:[5, 38] Operation: 86-48=38 Exploring Operation: 86-5=81, Resulting Numbers: [48, 81] Generated Node #0,1,3: 10:[48, 81] Operation: 86-5=81 Exploring Operation: 48-5=43, Resulting Numbers: [86, 43] Generated Node #0,1,4: 10:[86, 43] Operation: 48-5=43 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[5, 38], Operations: ['93-7=86', '86-48=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[48, 81], Operations: ['93-7=86', '86-5=81'] Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,10 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[86, 43], Operations: ['93-7=86', '48-5=43'] Exploring Operation: 86*43=3698, Resulting Numbers: [3698] 3698,10 unequal: No Solution Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[48, 91], Operations: ['93-7=86', '5+86=91'] Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,10 unequal: No Solution Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,10 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[86, 53], Operations: ['93-7=86', '48+5=53'] Exploring Operation: 86*53=4558, Resulting Numbers: [4558] 4558,10 unequal: No Solution Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 86+53=139, Resulting Numbers: [139] 139,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[48, 7, 88], Operations: ['93-5=88'] Exploring Operation: 48-7=41, Resulting Numbers: [88, 41] Generated Node #0,0,0: 10:[88, 41] Operation: 48-7=41 Exploring Operation: 88-48=40, Resulting Numbers: [7, 40] Generated Node #0,0,1: 10:[7, 40] Operation: 88-48=40 Exploring Operation: 7+88=95, Resulting Numbers: [48, 95] Generated Node #0,0,2: 10:[48, 95] Operation: 7+88=95 Exploring Operation: 48+7=55, Resulting Numbers: [88, 55] Generated Node #0,0,3: 10:[88, 55] Operation: 48+7=55 Exploring Operation: 88-7=81, Resulting Numbers: [48, 81] Generated Node #0,0,4: 10:[48, 81] Operation: 88-7=81 Moving to Node #0,3 Current State: 10:[7, 93, 43], Operations: ['48-5=43'] Exploring Operation: 93-43=50, Resulting Numbers: [7, 50] Generated Node #0,3,0: 10:[7, 50] Operation: 93-43=50 Exploring Operation: 7+43=50, Resulting Numbers: [93, 50] Generated Node #0,3,1: 10:[93, 50] Operation: 7+43=50 Exploring Operation: 93-7=86, Resulting Numbers: [43, 86] Generated Node #0,3,2: 10:[43, 86] Operation: 93-7=86 Exploring Operation: 43-7=36, Resulting Numbers: [93, 36] Generated Node #0,3,3: 10:[93, 36] Operation: 43-7=36 Exploring Operation: 7+93=100, Resulting Numbers: [43, 100] Generated Node #0,3,4: 10:[43, 100] Operation: 7+93=100 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[7, 50], Operations: ['48-5=43', '93-43=50'] Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,10 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 10:[43, 86], Operations: ['48-5=43', '93-7=86'] Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 43*86=3698, Resulting Numbers: [3698] 3698,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 10:[93, 36], Operations: ['48-5=43', '43-7=36'] Exploring Operation: 93*36=3348, Resulting Numbers: [3348] 3348,10 unequal: No Solution Exploring Operation: 93+36=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[93, 50], Operations: ['48-5=43', '7+43=50'] Exploring Operation: 93+50=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 93*50=4650, Resulting Numbers: [4650] 4650,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 10:[43, 100], Operations: ['48-5=43', '7+93=100'] Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,10 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: 10:[7, 9], Operations: ['93-48=45', '45/5=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[5, 38], Operations: ['93-48=45', '45-7=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,10 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[7, 40], Operations: ['93-48=45', '45-5=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,10 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[7, 40], Operations: ['93-5=88', '88-48=40'] Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,10 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[45, 2], Operations: ['93-48=45', '7-5=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[45, 12], Operations: ['93-48=45', '5+7=12'] Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[5, 52], Operations: ['48-7=41', '93-41=52'] Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,10 unequal: No Solution Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[93, 36], Operations: ['48-7=41', '41-5=36'] Exploring Operation: 93+36=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 93*36=3348, Resulting Numbers: [3348] 3348,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[48, 81], Operations: ['93-5=88', '88-7=81'] Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,10 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[88, 41], Operations: ['93-5=88', '48-7=41'] Exploring Operation: 88*41=3608, Resulting Numbers: [3608] 3608,10 unequal: No Solution Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 88+41=129, Resulting Numbers: [129] 129,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[41, 88], Operations: ['48-7=41', '93-5=88'] Exploring Operation: 41*88=3608, Resulting Numbers: [3608] 3608,10 unequal: No Solution Exploring Operation: 41+88=129, Resulting Numbers: [129] 129,10 unequal: No Solution Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[93, 46], Operations: ['48-7=41', '5+41=46'] Exploring Operation: 93*46=4278, Resulting Numbers: [4278] 4278,10 unequal: No Solution Exploring Operation: 93+46=139, Resulting Numbers: [139] 139,10 unequal: No Solution Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[41, 98], Operations: ['48-7=41', '5+93=98'] Exploring Operation: 41*98=4018, Resulting Numbers: [4018] 4018,10 unequal: No Solution Exploring Operation: 98-41=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 41+98=139, Resulting Numbers: [139] 139,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[88, 55], Operations: ['93-5=88', '48+7=55'] Exploring Operation: 88+55=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 88*55=4840, Resulting Numbers: [4840] 4840,10 unequal: No Solution Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[48, 95], Operations: ['93-5=88', '7+88=95'] Exploring Operation: 48*95=4560, Resulting Numbers: [4560] 4560,10 unequal: No Solution Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 48+95=143, Resulting Numbers: [143] 143,10 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 66, 70, 18, 72 ]
51
[ "72-70=2", "66/2=33", "18+33=51" ]
Current State: 51:[66, 70, 18, 72], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [66, 18, 2] Generated Node #2: [66, 18, 2] from Operation: 72-70=2 Current State: 51:[66, 18, 2], Operations: ['72-70=2'] Exploring Operation: 66/2=33, Resulting Numbers: [18, 33] Generated Node #3: [18, 33] from Operation: 66/2=33 Current State: 51:[18, 33], Operations: ['72-70=2', '66/2=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[66, 70, 18, 72], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [18, 72, 4] Generated Node #0,0: 51:[18, 72, 4] Operation: 70-66=4 Exploring Operation: 72-70=2, Resulting Numbers: [66, 18, 2] Generated Node #0,1: 51:[66, 18, 2] Operation: 72-70=2 Exploring Operation: 72-66=6, Resulting Numbers: [70, 18, 6] Generated Node #0,2: 51:[70, 18, 6] Operation: 72-66=6 Exploring Operation: 72/18=4, Resulting Numbers: [66, 70, 4] Generated Node #0,3: 51:[66, 70, 4] Operation: 72/18=4 Moving to Node #0,1 Current State: 51:[66, 18, 2], Operations: ['72-70=2'] Exploring Operation: 66/2=33, Resulting Numbers: [18, 33] Generated Node #0,1,0: 51:[18, 33] Operation: 66/2=33 Exploring Operation: 66-2=64, Resulting Numbers: [18, 64] Generated Node #0,1,1: 51:[18, 64] Operation: 66-2=64 Exploring Operation: 66-18=48, Resulting Numbers: [2, 48] Generated Node #0,1,2: 51:[2, 48] Operation: 66-18=48 Exploring Operation: 18-2=16, Resulting Numbers: [66, 16] Generated Node #0,1,3: 51:[66, 16] Operation: 18-2=16 Moving to Node #0,2 Current State: 51:[70, 18, 6], Operations: ['72-66=6'] Exploring Operation: 18/6=3, Resulting Numbers: [70, 3] Generated Node #0,2,0: 51:[70, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [70, 12] Generated Node #0,2,1: 51:[70, 12] Operation: 18-6=12 Exploring Operation: 70-6=64, Resulting Numbers: [18, 64] Generated Node #0,2,2: 51:[18, 64] Operation: 70-6=64 Exploring Operation: 70-18=52, Resulting Numbers: [6, 52] Generated Node #0,2,3: 51:[6, 52] Operation: 70-18=52 Moving to Node #0,0 Current State: 51:[18, 72, 4], Operations: ['70-66=4'] Exploring Operation: 72/4=18, Resulting Numbers: [18, 18] Generated Node #0,0,0: 51:[18, 18] Operation: 72/4=18 Exploring Operation: 72/18=4, Resulting Numbers: [4, 4] Generated Node #0,0,1: 51:[4, 4] Operation: 72/18=4 Exploring Operation: 72-4=68, Resulting Numbers: [18, 68] Generated Node #0,0,2: 51:[18, 68] Operation: 72-4=68 Exploring Operation: 72-18=54, Resulting Numbers: [4, 54] Generated Node #0,0,3: 51:[4, 54] Operation: 72-18=54 Moving to Node #0,3 Current State: 51:[66, 70, 4], Operations: ['72/18=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66, 66] Generated Node #0,3,0: 51:[66, 66] Operation: 70-4=66 Exploring Operation: 66+4=70, Resulting Numbers: [70, 70] Generated Node #0,3,1: 51:[70, 70] Operation: 66+4=70 Exploring Operation: 66-4=62, Resulting Numbers: [70, 62] Generated Node #0,3,2: 51:[70, 62] Operation: 66-4=62 Exploring Operation: 70-66=4, Resulting Numbers: [4, 4] Generated Node #0,3,3: 51:[4, 4] Operation: 70-66=4 Moving to Node #0,0,0 Current State: 51:[18, 18], Operations: ['70-66=4', '72/4=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[4, 4], Operations: ['72/18=4', '70-66=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[4, 4], Operations: ['70-66=4', '72/18=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[2, 48], Operations: ['72-70=2', '66-18=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[4, 54], Operations: ['70-66=4', '72-18=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[6, 52], Operations: ['72-66=6', '70-18=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,51 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[18, 64], Operations: ['72-66=6', '70-6=64'] Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,51 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[18, 64], Operations: ['72-70=2', '66-2=64'] Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,51 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[66, 16], Operations: ['72-70=2', '18-2=16'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,51 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[18, 33], Operations: ['72-70=2', '66/2=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[66, 70, 18, 72], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [66, 18, 2] Generated Node #0,1: 51:[66, 18, 2] Operation: 72-70=2 Moving to Node #0,1 Current State: 51:[66, 18, 2], Operations: ['72-70=2'] Exploring Operation: 66/2=33, Resulting Numbers: [18, 33] Generated Node #0,1,0: 51:[18, 33] Operation: 66/2=33 Moving to Node #0,1,0 Current State: 51:[18, 33], Operations: ['72-70=2', '66/2=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.951389
hs_4
sum_heuristic
[ 58, 2, 41, 2 ]
99
[ "58+2=60", "41-2=39", "60+39=99" ]
Current State: 99:[58, 2, 41, 2], Operations: [] Exploring Operation: 58+2=60, Resulting Numbers: [41, 60] Generated Node #2: [41, 60] from Operation: 58+2=60 Current State: 99:[41, 60], Operations: ['58+2=60'] Exploring Operation: 41-2=39, Resulting Numbers: [60, 39] Generated Node #3: [60, 39] from Operation: 41-2=39 Current State: 99:[60, 39], Operations: ['58+2=60', '41-2=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[58, 2, 41, 2], Operations: [] Exploring Operation: 58+41=99, Resulting Numbers: [2, 2, 99] Generated Node #0,0: 99:[2, 2, 99] Operation: 58+41=99 Exploring Operation: 58-41=17, Resulting Numbers: [2, 2, 17] Generated Node #0,1: 99:[2, 2, 17] Operation: 58-41=17 Moving to Node #0,0 Current State: 99:[2, 2, 99], Operations: ['58+41=99'] Exploring Operation: 2+2=4, Resulting Numbers: [99, 4] Generated Node #0,0,0: 99:[99, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [99, 4] Generated Node #0,0,1: 99:[99, 4] Operation: 2*2=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[99, 4], Operations: ['58+41=99', '2+2=4'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,99 unequal: No Solution No 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: 99:[99, 4], Operations: ['58+41=99', '2*2=4'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,99 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: 99:[2, 2, 17], Operations: ['58-41=17'] Exploring Operation: 2*17=34, Resulting Numbers: [2, 34] Generated Node #0,1,0: 99:[2, 34] Operation: 2*17=34 Exploring Operation: 2*17=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 99:[2, 34] Operation: 2*17=34 Moving to Node #0,1,0 Current State: 99:[2, 34], Operations: ['58-41=17', '2*17=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[2, 34], Operations: ['58-41=17', '2*17=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,99 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 60, 34, 85, 99 ]
40
[ "60-34=26", "99-85=14", "26+14=40" ]
Current State: 40:[60, 34, 85, 99], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [85, 99, 26] Generated Node #2: [85, 99, 26] from Operation: 60-34=26 Current State: 40:[85, 99, 26], Operations: ['60-34=26'] Exploring Operation: 99-85=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 99-85=14 Current State: 40:[26, 14], Operations: ['60-34=26', '99-85=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[60, 34, 85, 99], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [60, 34, 14] Generated Node #0,0: 40:[60, 34, 14] Operation: 99-85=14 Moving to Node #0,0 Current State: 40:[60, 34, 14], Operations: ['99-85=14'] Exploring Operation: 60-34=26, Resulting Numbers: [14, 26] Generated Node #0,0,0: 40:[14, 26] Operation: 60-34=26 Moving to Node #0,0,0 Current State: 40:[14, 26], Operations: ['99-85=14', '60-34=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[60, 34, 85, 99], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [60, 34, 14] Generated Node #0,0: 40:[60, 34, 14] Operation: 99-85=14 Moving to Node #0,0 Current State: 40:[60, 34, 14], Operations: ['99-85=14'] Exploring Operation: 60-34=26, Resulting Numbers: [14, 26] Generated Node #0,0,0: 40:[14, 26] Operation: 60-34=26 Moving to Node #0,0,0 Current State: 40:[14, 26], Operations: ['99-85=14', '60-34=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 40, 10, 39, 84 ]
75
[ "40-10=30", "84-39=45", "30+45=75" ]
Current State: 75:[40, 10, 39, 84], Operations: [] Exploring Operation: 40-10=30, Resulting Numbers: [39, 84, 30] Generated Node #2: [39, 84, 30] from Operation: 40-10=30 Current State: 75:[39, 84, 30], Operations: ['40-10=30'] Exploring Operation: 84-39=45, Resulting Numbers: [30, 45] Generated Node #3: [30, 45] from Operation: 84-39=45 Current State: 75:[30, 45], Operations: ['40-10=30', '84-39=45'] Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[40, 10, 39, 84], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [10, 84, 1] Generated Node #0,0: 75:[10, 84, 1] Operation: 40-39=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[10, 84, 1], Operations: ['40-39=1'] Exploring Operation: 84-10=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 75:[1, 74] Operation: 84-10=74 Moving to Node #0,0,0 Current State: 75:[1, 74], Operations: ['40-39=1', '84-10=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[40, 10, 39, 84], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [10, 84, 1] Generated Node #0,0: 75:[10, 84, 1] Operation: 40-39=1 Moving to Node #0,0 Current State: 75:[10, 84, 1], Operations: ['40-39=1'] Exploring Operation: 84-10=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 75:[1, 74] Operation: 84-10=74 Moving to Node #0,0,0 Current State: 75:[1, 74], Operations: ['40-39=1', '84-10=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 7, 41, 22, 23 ]
34
[ "41-7=34", "23-22=1", "34*1=34" ]
Current State: 34:[7, 41, 22, 23], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [22, 23, 34] Generated Node #2: [22, 23, 34] from Operation: 41-7=34 Current State: 34:[22, 23, 34], Operations: ['41-7=34'] Exploring Operation: 23-22=1, Resulting Numbers: [34, 1] Generated Node #3: [34, 1] from Operation: 23-22=1 Current State: 34:[34, 1], Operations: ['41-7=34', '23-22=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[7, 41, 22, 23], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [22, 23, 34] Generated Node #0,0: 34:[22, 23, 34] Operation: 41-7=34 Exploring Operation: 23-7=16, Resulting Numbers: [41, 22, 16] Generated Node #0,1: 34:[41, 22, 16] Operation: 23-7=16 Exploring Operation: 41-23=18, Resulting Numbers: [7, 22, 18] Generated Node #0,2: 34:[7, 22, 18] Operation: 41-23=18 Moving to Node #0,0 Current State: 34:[22, 23, 34], Operations: ['41-7=34'] Exploring Operation: 34-22=12, Resulting Numbers: [23, 12] Generated Node #0,0,0: 34:[23, 12] Operation: 34-22=12 Exploring Operation: 22+23=45, Resulting Numbers: [34, 45] Generated Node #0,0,1: 34:[34, 45] Operation: 22+23=45 Exploring Operation: 23-22=1, Resulting Numbers: [34, 1] Generated Node #0,0,2: 34:[34, 1] Operation: 23-22=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[34, 1], Operations: ['41-7=34', '23-22=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[7, 41, 22, 23], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [22, 23, 34] Generated Node #0,0: 34:[22, 23, 34] Operation: 41-7=34 Moving to Node #0,0 Current State: 34:[22, 23, 34], Operations: ['41-7=34'] Exploring Operation: 23-22=1, Resulting Numbers: [34, 1] Generated Node #0,0,2: 34:[34, 1] Operation: 23-22=1 Moving to Node #0,0,2 Current State: 34:[34, 1], Operations: ['41-7=34', '23-22=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 90, 21, 39, 92 ]
16
[ "90-21=69", "92-39=53", "69-53=16" ]
Current State: 16:[90, 21, 39, 92], Operations: [] Exploring Operation: 90-21=69, Resulting Numbers: [39, 92, 69] Generated Node #2: [39, 92, 69] from Operation: 90-21=69 Current State: 16:[39, 92, 69], Operations: ['90-21=69'] Exploring Operation: 92-39=53, Resulting Numbers: [69, 53] Generated Node #3: [69, 53] from Operation: 92-39=53 Current State: 16:[69, 53], Operations: ['90-21=69', '92-39=53'] Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[90, 21, 39, 92], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [21, 92, 51] Generated Node #0,0: 16:[21, 92, 51] Operation: 90-39=51 Exploring Operation: 92-39=53, Resulting Numbers: [90, 21, 53] Generated Node #0,1: 16:[90, 21, 53] Operation: 92-39=53 Exploring Operation: 90-21=69, Resulting Numbers: [39, 92, 69] Generated Node #0,2: 16:[39, 92, 69] Operation: 90-21=69 Exploring Operation: 92-90=2, Resulting Numbers: [21, 39, 2] Generated Node #0,3: 16:[21, 39, 2] Operation: 92-90=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[21, 39, 2], Operations: ['92-90=2'] Exploring Operation: 21-2=19, Resulting Numbers: [39, 19] Generated Node #0,3,0: 16:[39, 19] Operation: 21-2=19 Exploring Operation: 21+2=23, Resulting Numbers: [39, 23] Generated Node #0,3,1: 16:[39, 23] Operation: 21+2=23 Exploring Operation: 39-2=37, Resulting Numbers: [21, 37] Generated Node #0,3,2: 16:[21, 37] Operation: 39-2=37 Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #0,3,3: 16:[2, 18] Operation: 39-21=18 Moving to Node #0,3,3 Current State: 16:[2, 18], Operations: ['92-90=2', '39-21=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[90, 21, 39, 92], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [21, 39, 2] Generated Node #0,3: 16:[21, 39, 2] Operation: 92-90=2 Moving to Node #0,3 Current State: 16:[21, 39, 2], Operations: ['92-90=2'] Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #0,3,3: 16:[2, 18] Operation: 39-21=18 Moving to Node #0,3,3 Current State: 16:[2, 18], Operations: ['92-90=2', '39-21=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 26, 74, 18, 31 ]
87
[ "26+74=100", "31-18=13", "100-13=87" ]
Current State: 87:[26, 74, 18, 31], Operations: [] Exploring Operation: 26+74=100, Resulting Numbers: [18, 31, 100] Generated Node #2: [18, 31, 100] from Operation: 26+74=100 Current State: 87:[18, 31, 100], Operations: ['26+74=100'] Exploring Operation: 31-18=13, Resulting Numbers: [100, 13] Generated Node #3: [100, 13] from Operation: 31-18=13 Current State: 87:[100, 13], Operations: ['26+74=100', '31-18=13'] Exploring Operation: 100-13=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[26, 74, 18, 31], Operations: [] Exploring Operation: 74+18=92, Resulting Numbers: [26, 31, 92] Generated Node #0,0: 87:[26, 31, 92] Operation: 74+18=92 Exploring Operation: 26-18=8, Resulting Numbers: [74, 31, 8] Generated Node #0,1: 87:[74, 31, 8] Operation: 26-18=8 Moving to Node #0,0 Current State: 87:[26, 31, 92], Operations: ['74+18=92'] Exploring Operation: 31-26=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 31-26=5 Exploring Operation: 92-26=66, Resulting Numbers: [31, 66] Generated Node #0,0,1: 87:[31, 66] Operation: 92-26=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['74+18=92', '31-26=5'] Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,87 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[26, 74, 18, 31], Operations: [] Exploring Operation: 74+18=92, Resulting Numbers: [26, 31, 92] Generated Node #0,0: 87:[26, 31, 92] Operation: 74+18=92 Moving to Node #0,0 Current State: 87:[26, 31, 92], Operations: ['74+18=92'] Exploring Operation: 31-26=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 31-26=5 Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['74+18=92', '31-26=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 42, 1, 64, 77 ]
100
[ "42-1=41", "64+77=141", "141-41=100" ]
Current State: 100:[42, 1, 64, 77], Operations: [] Exploring Operation: 42-1=41, Resulting Numbers: [64, 77, 41] Generated Node #2: [64, 77, 41] from Operation: 42-1=41 Current State: 100:[64, 77, 41], Operations: ['42-1=41'] Exploring Operation: 64+77=141, Resulting Numbers: [41, 141] Generated Node #3: [41, 141] from Operation: 64+77=141 Current State: 100:[41, 141], Operations: ['42-1=41', '64+77=141'] Exploring Operation: 141-41=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[42, 1, 64, 77], Operations: [] Exploring Operation: 77-64=13, Resulting Numbers: [42, 1, 13] Generated Node #0,0: 100:[42, 1, 13] Operation: 77-64=13 Exploring Operation: 77-42=35, Resulting Numbers: [1, 64, 35] Generated Node #0,1: 100:[1, 64, 35] Operation: 77-42=35 Exploring Operation: 64-42=22, Resulting Numbers: [1, 77, 22] Generated Node #0,2: 100:[1, 77, 22] Operation: 64-42=22 Exploring Operation: 42+64=106, Resulting Numbers: [1, 77, 106] Generated Node #0,3: 100:[1, 77, 106] Operation: 42+64=106 Moving to Node #0,0 Current State: 100:[42, 1, 13], Operations: ['77-64=13'] Exploring Operation: 13-1=12, Resulting Numbers: [42, 12] Generated Node #0,0,0: 100:[42, 12] Operation: 13-1=12 Exploring Operation: 42+13=55, Resulting Numbers: [1, 55] Generated Node #0,0,1: 100:[1, 55] Operation: 42+13=55 Exploring Operation: 42+1=43, Resulting Numbers: [13, 43] Generated Node #0,0,2: 100:[13, 43] Operation: 42+1=43 Exploring Operation: 42-13=29, Resulting Numbers: [1, 29] Generated Node #0,0,3: 100:[1, 29] Operation: 42-13=29 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 100:[1, 29], Operations: ['77-64=13', '42-13=29'] Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,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,0,1 Current State: 100:[1, 55], Operations: ['77-64=13', '42+13=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,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,0,0 Current State: 100:[42, 12], Operations: ['77-64=13', '13-1=12'] Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,100 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,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,0,2 Current State: 100:[13, 43], Operations: ['77-64=13', '42+1=43'] Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,100 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,100 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: 100:[1, 64, 35], Operations: ['77-42=35'] Exploring Operation: 35-1=34, Resulting Numbers: [64, 34] Generated Node #0,1,0: 100:[64, 34] Operation: 35-1=34 Exploring Operation: 64-1=63, Resulting Numbers: [35, 63] Generated Node #0,1,1: 100:[35, 63] Operation: 64-1=63 Exploring Operation: 64+35=99, Resulting Numbers: [1, 99] Generated Node #0,1,2: 100:[1, 99] Operation: 64+35=99 Exploring Operation: 64-35=29, Resulting Numbers: [1, 29] Generated Node #0,1,3: 100:[1, 29] Operation: 64-35=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[1, 99], Operations: ['77-42=35', '64+35=99'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[42, 1, 64, 77], Operations: [] Exploring Operation: 77-42=35, Resulting Numbers: [1, 64, 35] Generated Node #0,1: 100:[1, 64, 35] Operation: 77-42=35 Moving to Node #0,1 Current State: 100:[1, 64, 35], Operations: ['77-42=35'] Exploring Operation: 64+35=99, Resulting Numbers: [1, 99] Generated Node #0,1,2: 100:[1, 99] Operation: 64+35=99 Moving to Node #0,1,2 Current State: 100:[1, 99], Operations: ['77-42=35', '64+35=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 44, 9, 47, 84 ]
96
[ "44-9=35", "47+84=131", "131-35=96" ]
Current State: 96:[44, 9, 47, 84], Operations: [] Exploring Operation: 44-9=35, Resulting Numbers: [47, 84, 35] Generated Node #2: [47, 84, 35] from Operation: 44-9=35 Current State: 96:[47, 84, 35], Operations: ['44-9=35'] Exploring Operation: 47+84=131, Resulting Numbers: [35, 131] Generated Node #3: [35, 131] from Operation: 47+84=131 Current State: 96:[35, 131], Operations: ['44-9=35', '47+84=131'] Exploring Operation: 131-35=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[44, 9, 47, 84], Operations: [] Exploring Operation: 9+84=93, Resulting Numbers: [44, 47, 93] Generated Node #0,0: 96:[44, 47, 93] Operation: 9+84=93 Moving to Node #0,0 Current State: 96:[44, 47, 93], Operations: ['9+84=93'] Exploring Operation: 93-44=49, Resulting Numbers: [47, 49] Generated Node #0,0,0: 96:[47, 49] Operation: 93-44=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[47, 49], Operations: ['9+84=93', '93-44=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[44, 9, 47, 84], Operations: [] Exploring Operation: 9+84=93, Resulting Numbers: [44, 47, 93] Generated Node #0,0: 96:[44, 47, 93] Operation: 9+84=93 Moving to Node #0,0 Current State: 96:[44, 47, 93], Operations: ['9+84=93'] Exploring Operation: 93-44=49, Resulting Numbers: [47, 49] Generated Node #0,0,0: 96:[47, 49] Operation: 93-44=49 Moving to Node #0,0,0 Current State: 96:[47, 49], Operations: ['9+84=93', '93-44=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 29, 83, 70, 75 ]
49
[ "83-29=54", "75-70=5", "54-5=49" ]
Current State: 49:[29, 83, 70, 75], Operations: [] Exploring Operation: 83-29=54, Resulting Numbers: [70, 75, 54] Generated Node #2: [70, 75, 54] from Operation: 83-29=54 Current State: 49:[70, 75, 54], Operations: ['83-29=54'] Exploring Operation: 75-70=5, Resulting Numbers: [54, 5] Generated Node #3: [54, 5] from Operation: 75-70=5 Current State: 49:[54, 5], Operations: ['83-29=54', '75-70=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[29, 83, 70, 75], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [29, 70, 8] Generated Node #0,0: 49:[29, 70, 8] Operation: 83-75=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[29, 70, 8], Operations: ['83-75=8'] Exploring Operation: 70-29=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 49:[8, 41] Operation: 70-29=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[8, 41], Operations: ['83-75=8', '70-29=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[29, 83, 70, 75], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [29, 70, 8] Generated Node #0,0: 49:[29, 70, 8] Operation: 83-75=8 Moving to Node #0,0 Current State: 49:[29, 70, 8], Operations: ['83-75=8'] Exploring Operation: 70-29=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 49:[8, 41] Operation: 70-29=41 Moving to Node #0,0,0 Current State: 49:[8, 41], Operations: ['83-75=8', '70-29=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 24, 70, 12, 61 ]
79
[ "24*70=1680", "1680/12=140", "140-61=79" ]
Current State: 79:[24, 70, 12, 61], Operations: [] Exploring Operation: 24*70=1680, Resulting Numbers: [12, 61, 1680] Generated Node #2: [12, 61, 1680] from Operation: 24*70=1680 Current State: 79:[12, 61, 1680], Operations: ['24*70=1680'] Exploring Operation: 1680/12=140, Resulting Numbers: [61, 140] Generated Node #3: [61, 140] from Operation: 1680/12=140 Current State: 79:[61, 140], Operations: ['24*70=1680', '1680/12=140'] Exploring Operation: 140-61=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[24, 70, 12, 61], Operations: [] Exploring Operation: 70+12=82, Resulting Numbers: [24, 61, 82] Generated Node #0,0: 79:[24, 61, 82] Operation: 70+12=82 Exploring Operation: 24+12=36, Resulting Numbers: [70, 61, 36] Generated Node #0,1: 79:[70, 61, 36] Operation: 24+12=36 Exploring Operation: 12+61=73, Resulting Numbers: [24, 70, 73] Generated Node #0,2: 79:[24, 70, 73] Operation: 12+61=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[70, 61, 36], Operations: ['24+12=36'] Exploring Operation: 70+36=106, Resulting Numbers: [61, 106] Generated Node #0,1,0: 79:[61, 106] Operation: 70+36=106 Exploring Operation: 70-36=34, Resulting Numbers: [61, 34] Generated Node #0,1,1: 79:[61, 34] Operation: 70-36=34 Exploring Operation: 61+36=97, Resulting Numbers: [70, 97] Generated Node #0,1,2: 79:[70, 97] Operation: 61+36=97 Moving to Node #0,1,2 Current State: 79:[70, 97], Operations: ['24+12=36', '61+36=97'] Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 70*97=6790, Resulting Numbers: [6790] 6790,79 unequal: No Solution Exploring Operation: 70+97=167, Resulting Numbers: [167] 167,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[61, 106], Operations: ['24+12=36', '70+36=106'] Exploring Operation: 61+106=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 61*106=6466, Resulting Numbers: [6466] 6466,79 unequal: No Solution Exploring Operation: 106-61=45, Resulting Numbers: [45] 45,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[61, 34], Operations: ['24+12=36', '70-36=34'] Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,79 unequal: No Solution Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,79 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[24, 70, 73], Operations: ['12+61=73'] Exploring Operation: 24+70=94, Resulting Numbers: [73, 94] Generated Node #0,2,0: 79:[73, 94] Operation: 24+70=94 Exploring Operation: 24+73=97, Resulting Numbers: [70, 97] Generated Node #0,2,1: 79:[70, 97] Operation: 24+73=97 Exploring Operation: 70-24=46, Resulting Numbers: [73, 46] Generated Node #0,2,2: 79:[73, 46] Operation: 70-24=46 Moving to Node #0,2,0 Current State: 79:[73, 94], Operations: ['12+61=73', '24+70=94'] Exploring Operation: 73*94=6862, Resulting Numbers: [6862] 6862,79 unequal: No Solution Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 73+94=167, Resulting Numbers: [167] 167,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[70, 97], Operations: ['12+61=73', '24+73=97'] Exploring Operation: 70+97=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 70*97=6790, Resulting Numbers: [6790] 6790,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[73, 46], Operations: ['12+61=73', '70-24=46'] Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 73*46=3358, Resulting Numbers: [3358] 3358,79 unequal: No Solution Exploring Operation: 73+46=119, Resulting Numbers: [119] 119,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[24, 61, 82], Operations: ['70+12=82'] Exploring Operation: 24+61=85, Resulting Numbers: [82, 85] Generated Node #0,0,0: 79:[82, 85] Operation: 24+61=85 Exploring Operation: 61-24=37, Resulting Numbers: [82, 37] Generated Node #0,0,1: 79:[82, 37] Operation: 61-24=37 Exploring Operation: 82-24=58, Resulting Numbers: [61, 58] Generated Node #0,0,2: 79:[61, 58] Operation: 82-24=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[82, 85], Operations: ['70+12=82', '24+61=85'] Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,79 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,79 unequal: No Solution No 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: 79:[61, 58], Operations: ['70+12=82', '82-24=58'] Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,79 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,79 unequal: No Solution No 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: 79:[82, 37], Operations: ['70+12=82', '61-24=37'] Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,79 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 3, 51, 42, 73 ]
48
[ "51/3=17", "73-42=31", "17+31=48" ]
Current State: 48:[3, 51, 42, 73], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [42, 73, 17] Generated Node #2: [42, 73, 17] from Operation: 51/3=17 Current State: 48:[42, 73, 17], Operations: ['51/3=17'] Exploring Operation: 73-42=31, Resulting Numbers: [17, 31] Generated Node #3: [17, 31] from Operation: 73-42=31 Current State: 48:[17, 31], Operations: ['51/3=17', '73-42=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[3, 51, 42, 73], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [3, 42, 22] Generated Node #0,0: 48:[3, 42, 22] Operation: 73-51=22 Moving to Node #0,0 Current State: 48:[3, 42, 22], Operations: ['73-51=22'] Exploring Operation: 42/3=14, Resulting Numbers: [22, 14] Generated Node #0,0,0: 48:[22, 14] Operation: 42/3=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[22, 14], Operations: ['73-51=22', '42/3=14'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,48 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
[ 29, 87, 78, 73 ]
47
[ "87/29=3", "78/3=26", "73-26=47" ]
Current State: 47:[29, 87, 78, 73], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [78, 73, 3] Generated Node #2: [78, 73, 3] from Operation: 87/29=3 Current State: 47:[78, 73, 3], Operations: ['87/29=3'] Exploring Operation: 78/3=26, Resulting Numbers: [73, 26] Generated Node #3: [73, 26] from Operation: 78/3=26 Current State: 47:[73, 26], Operations: ['87/29=3', '78/3=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[29, 87, 78, 73], Operations: [] Exploring Operation: 73-29=44, Resulting Numbers: [87, 78, 44] Generated Node #0,0: 47:[87, 78, 44] Operation: 73-29=44 Exploring Operation: 87-29=58, Resulting Numbers: [78, 73, 58] Generated Node #0,1: 47:[78, 73, 58] Operation: 87-29=58 Exploring Operation: 78-29=49, Resulting Numbers: [87, 73, 49] Generated Node #0,2: 47:[87, 73, 49] Operation: 78-29=49 Exploring Operation: 87-78=9, Resulting Numbers: [29, 73, 9] Generated Node #0,3: 47:[29, 73, 9] Operation: 87-78=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[78, 73, 58], Operations: ['87-29=58'] Exploring Operation: 78-73=5, Resulting Numbers: [58, 5] Generated Node #0,1,0: 47:[58, 5] Operation: 78-73=5 Exploring Operation: 73-58=15, Resulting Numbers: [78, 15] Generated Node #0,1,1: 47:[78, 15] Operation: 73-58=15 Exploring Operation: 78+73=151, Resulting Numbers: [58, 151] Generated Node #0,1,2: 47:[58, 151] Operation: 78+73=151 Exploring Operation: 78-58=20, Resulting Numbers: [73, 20] Generated Node #0,1,3: 47:[73, 20] Operation: 78-58=20 Moving to Node #0,1,0 Current State: 47:[58, 5], Operations: ['87-29=58', '78-73=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,47 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[73, 20], Operations: ['87-29=58', '78-58=20'] Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,47 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[78, 15], Operations: ['87-29=58', '73-58=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[58, 151], Operations: ['87-29=58', '78+73=151'] Exploring Operation: 151-58=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 58*151=8758, Resulting Numbers: [8758] 8758,47 unequal: No Solution Exploring Operation: 58+151=209, Resulting Numbers: [209] 209,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[87, 73, 49], Operations: ['78-29=49'] Exploring Operation: 87+73=160, Resulting Numbers: [49, 160] Generated Node #0,2,0: 47:[49, 160] Operation: 87+73=160 Exploring Operation: 73-49=24, Resulting Numbers: [87, 24] Generated Node #0,2,1: 47:[87, 24] Operation: 73-49=24 Exploring Operation: 87-49=38, Resulting Numbers: [73, 38] Generated Node #0,2,2: 47:[73, 38] Operation: 87-49=38 Exploring Operation: 87-73=14, Resulting Numbers: [49, 14] Generated Node #0,2,3: 47:[49, 14] Operation: 87-73=14 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[73, 38], Operations: ['78-29=49', '87-49=38'] Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,47 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[49, 14], Operations: ['78-29=49', '87-73=14'] Exploring Operation: 49+14=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 49*14=686, Resulting Numbers: [686] 686,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[87, 24], Operations: ['78-29=49', '73-49=24'] Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,47 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[49, 160], Operations: ['78-29=49', '87+73=160'] Exploring Operation: 49+160=209, Resulting Numbers: [209] 209,47 unequal: No Solution Exploring Operation: 49*160=7840, Resulting Numbers: [7840] 7840,47 unequal: No Solution Exploring Operation: 160-49=111, Resulting Numbers: [111] 111,47 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: 47:[87, 78, 44], Operations: ['73-29=44'] Exploring Operation: 87-44=43, Resulting Numbers: [78, 43] Generated Node #0,0,0: 47:[78, 43] Operation: 87-44=43 Exploring Operation: 87+44=131, Resulting Numbers: [78, 131] Generated Node #0,0,1: 47:[78, 131] Operation: 87+44=131 Exploring Operation: 87-78=9, Resulting Numbers: [44, 9] Generated Node #0,0,2: 47:[44, 9] Operation: 87-78=9 Exploring Operation: 78-44=34, Resulting Numbers: [87, 34] Generated Node #0,0,3: 47:[87, 34] Operation: 78-44=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[78, 43], Operations: ['73-29=44', '87-44=43'] Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,47 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,47 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[44, 9], Operations: ['73-29=44', '87-78=9'] Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,47 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[87, 34], Operations: ['73-29=44', '78-44=34'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,47 unequal: No Solution Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[78, 131], Operations: ['73-29=44', '87+44=131'] Exploring Operation: 78+131=209, Resulting Numbers: [209] 209,47 unequal: No Solution Exploring Operation: 78*131=10218, Resulting Numbers: [10218] 10218,47 unequal: No Solution Exploring Operation: 131-78=53, Resulting Numbers: [53] 53,47 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: 47:[29, 73, 9], Operations: ['87-78=9'] Exploring Operation: 73-9=64, Resulting Numbers: [29, 64] Generated Node #0,3,0: 47:[29, 64] Operation: 73-9=64 Exploring Operation: 73-29=44, Resulting Numbers: [9, 44] Generated Node #0,3,1: 47:[9, 44] Operation: 73-29=44 Exploring Operation: 29-9=20, Resulting Numbers: [73, 20] Generated Node #0,3,2: 47:[73, 20] Operation: 29-9=20 Exploring Operation: 29+9=38, Resulting Numbers: [73, 38] Generated Node #0,3,3: 47:[73, 38] Operation: 29+9=38 Moving to Node #0,3,0 Current State: 47:[29, 64], Operations: ['87-78=9', '73-9=64'] Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 29*64=1856, Resulting Numbers: [1856] 1856,47 unequal: No Solution Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[73, 38], Operations: ['87-78=9', '29+9=38'] Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[9, 44], Operations: ['87-78=9', '73-29=44'] Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,47 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[73, 20], Operations: ['87-78=9', '29-9=20'] Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,47 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,47 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,47 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
[ 7, 60, 11, 84 ]
12
[ "7*84=588", "60-11=49", "588/49=12" ]
Current State: 12:[7, 60, 11, 84], Operations: [] Exploring Operation: 7*84=588, Resulting Numbers: [60, 11, 588] Generated Node #2: [60, 11, 588] from Operation: 7*84=588 Current State: 12:[60, 11, 588], Operations: ['7*84=588'] Exploring Operation: 60-11=49, Resulting Numbers: [588, 49] Generated Node #3: [588, 49] from Operation: 60-11=49 Current State: 12:[588, 49], Operations: ['7*84=588', '60-11=49'] Exploring Operation: 588/49=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[7, 60, 11, 84], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [7, 11, 24] Generated Node #0,0: 12:[7, 11, 24] Operation: 84-60=24 Exploring Operation: 84/7=12, Resulting Numbers: [60, 11, 12] Generated Node #0,1: 12:[60, 11, 12] Operation: 84/7=12 Exploring Operation: 60-11=49, Resulting Numbers: [7, 84, 49] Generated Node #0,2: 12:[7, 84, 49] Operation: 60-11=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[7, 11, 24], Operations: ['84-60=24'] Exploring Operation: 24-7=17, Resulting Numbers: [11, 17] Generated Node #0,0,0: 12:[11, 17] Operation: 24-7=17 Exploring Operation: 11-7=4, Resulting Numbers: [24, 4] Generated Node #0,0,1: 12:[24, 4] Operation: 11-7=4 Exploring Operation: 24-11=13, Resulting Numbers: [7, 13] Generated Node #0,0,2: 12:[7, 13] Operation: 24-11=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[7, 13], Operations: ['84-60=24', '24-11=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[11, 17], Operations: ['84-60=24', '24-7=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[24, 4], Operations: ['84-60=24', '11-7=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[60, 11, 12], Operations: ['84/7=12'] Exploring Operation: 60-12=48, Resulting Numbers: [11, 48] Generated Node #0,1,0: 12:[11, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [11, 5] Generated Node #0,1,1: 12:[11, 5] Operation: 60/12=5 Exploring Operation: 60-11=49, Resulting Numbers: [12, 49] Generated Node #0,1,2: 12:[12, 49] Operation: 60-11=49 Moving to Node #0,1,1 Current State: 12:[11, 5], Operations: ['84/7=12', '60/12=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[11, 48], Operations: ['84/7=12', '60-12=48'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,12 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[12, 49], Operations: ['84/7=12', '60-11=49'] Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[7, 84, 49], Operations: ['60-11=49'] Exploring Operation: 84/7=12, Resulting Numbers: [49, 12] Generated Node #0,2,0: 12:[49, 12] Operation: 84/7=12 Exploring Operation: 84-49=35, Resulting Numbers: [7, 35] Generated Node #0,2,1: 12:[7, 35] Operation: 84-49=35 Exploring Operation: 49/7=7, Resulting Numbers: [84, 7] Generated Node #0,2,2: 12:[84, 7] Operation: 49/7=7 Moving to Node #0,2,1 Current State: 12:[7, 35], Operations: ['60-11=49', '84-49=35'] Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[49, 12], Operations: ['60-11=49', '84/7=12'] Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,12 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[84, 7], Operations: ['60-11=49', '49/7=7'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[7, 60, 11, 84], Operations: [] Exploring Operation: 60-11=49, Resulting Numbers: [7, 84, 49] Generated Node #0,2: 12:[7, 84, 49] Operation: 60-11=49 Moving to Node #0,2 Current State: 12:[7, 84, 49], Operations: ['60-11=49'] Exploring Operation: 49/7=7, Resulting Numbers: [84, 7] Generated Node #0,2,2: 12:[84, 7] Operation: 49/7=7 Moving to Node #0,2,2 Current State: 12:[84, 7], Operations: ['60-11=49', '49/7=7'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 37, 78, 43, 48 ]
11
[ "48-37=11", "78+43=121", "121/11=11" ]
Current State: 11:[37, 78, 43, 48], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [78, 43, 11] Generated Node #2: [78, 43, 11] from Operation: 48-37=11 Current State: 11:[78, 43, 11], Operations: ['48-37=11'] Exploring Operation: 78+43=121, Resulting Numbers: [11, 121] Generated Node #3: [11, 121] from Operation: 78+43=121 Current State: 11:[11, 121], Operations: ['48-37=11', '78+43=121'] Exploring Operation: 121/11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[37, 78, 43, 48], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [37, 48, 35] Generated Node #0,0: 11:[37, 48, 35] Operation: 78-43=35 Exploring Operation: 78-48=30, Resulting Numbers: [37, 43, 30] Generated Node #0,1: 11:[37, 43, 30] Operation: 78-48=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[37, 43, 30], Operations: ['78-48=30'] Exploring Operation: 43-30=13, Resulting Numbers: [37, 13] Generated Node #0,1,0: 11:[37, 13] Operation: 43-30=13 Exploring Operation: 43-37=6, Resulting Numbers: [30, 6] Generated Node #0,1,1: 11:[30, 6] Operation: 43-37=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[30, 6], Operations: ['78-48=30', '43-37=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,11 unequal: No Solution No 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: 11:[37, 13], Operations: ['78-48=30', '43-30=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,11 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: 11:[37, 48, 35], Operations: ['78-43=35'] Exploring Operation: 48-35=13, Resulting Numbers: [37, 13] Generated Node #0,0,0: 11:[37, 13] Operation: 48-35=13 Exploring Operation: 48-37=11, Resulting Numbers: [35, 11] Generated Node #0,0,1: 11:[35, 11] Operation: 48-37=11 Moving to Node #0,0,1 Current State: 11:[35, 11], Operations: ['78-43=35', '48-37=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[37, 13], Operations: ['78-43=35', '48-35=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 22, 62, 40 ]
43
[ "4+62=66", "66/22=3", "40+3=43" ]
Current State: 43:[4, 22, 62, 40], Operations: [] Exploring Operation: 4+62=66, Resulting Numbers: [22, 40, 66] Generated Node #2: [22, 40, 66] from Operation: 4+62=66 Current State: 43:[22, 40, 66], Operations: ['4+62=66'] Exploring Operation: 66/22=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 66/22=3 Current State: 43:[40, 3], Operations: ['4+62=66', '66/22=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[4, 22, 62, 40], Operations: [] Exploring Operation: 4+22=26, Resulting Numbers: [62, 40, 26] Generated Node #0,0: 43:[62, 40, 26] Operation: 4+22=26 Exploring Operation: 62-4=58, Resulting Numbers: [22, 40, 58] Generated Node #0,1: 43:[22, 40, 58] Operation: 62-4=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[62, 40, 26], Operations: ['4+22=26'] Exploring Operation: 62-26=36, Resulting Numbers: [40, 36] Generated Node #0,0,0: 43:[40, 36] Operation: 62-26=36 Exploring Operation: 62-40=22, Resulting Numbers: [26, 22] Generated Node #0,0,1: 43:[26, 22] Operation: 62-40=22 Moving to Node #0,0,0 Current State: 43:[40, 36], Operations: ['4+22=26', '62-26=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[26, 22], Operations: ['4+22=26', '62-40=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[22, 40, 58], Operations: ['62-4=58'] Exploring Operation: 22+40=62, Resulting Numbers: [58, 62] Generated Node #0,1,0: 43:[58, 62] Operation: 22+40=62 Exploring Operation: 58-22=36, Resulting Numbers: [40, 36] Generated Node #0,1,1: 43:[40, 36] Operation: 58-22=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[40, 36], Operations: ['62-4=58', '58-22=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[58, 62], Operations: ['62-4=58', '22+40=62'] Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,43 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
[ 76, 83, 8, 93 ]
53
[ "93-76=17", "8*17=136", "136-83=53" ]
Current State: 53:[76, 83, 8, 93], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [83, 8, 17] Generated Node #2: [83, 8, 17] from Operation: 93-76=17 Current State: 53:[83, 8, 17], Operations: ['93-76=17'] Exploring Operation: 8*17=136, Resulting Numbers: [83, 136] Generated Node #3: [83, 136] from Operation: 8*17=136 Current State: 53:[83, 136], Operations: ['93-76=17', '8*17=136'] Exploring Operation: 136-83=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[76, 83, 8, 93], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [76, 83, 85] Generated Node #0,0: 53:[76, 83, 85] Operation: 93-8=85 Exploring Operation: 83-8=75, Resulting Numbers: [76, 93, 75] Generated Node #0,1: 53:[76, 93, 75] Operation: 83-8=75 Exploring Operation: 76-8=68, Resulting Numbers: [83, 93, 68] Generated Node #0,2: 53:[83, 93, 68] Operation: 76-8=68 Moving to Node #0,0 Current State: 53:[76, 83, 85], Operations: ['93-8=85'] Exploring Operation: 83-76=7, Resulting Numbers: [85, 7] Generated Node #0,0,0: 53:[85, 7] Operation: 83-76=7 Exploring Operation: 85-76=9, Resulting Numbers: [83, 9] Generated Node #0,0,1: 53:[83, 9] Operation: 85-76=9 Exploring Operation: 85-83=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 53:[76, 2] Operation: 85-83=2 Moving to Node #0,1 Current State: 53:[76, 93, 75], Operations: ['83-8=75'] Exploring Operation: 93-75=18, Resulting Numbers: [76, 18] Generated Node #0,1,0: 53:[76, 18] Operation: 93-75=18 Exploring Operation: 76-75=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 53:[93, 1] Operation: 76-75=1 Exploring Operation: 93-76=17, Resulting Numbers: [75, 17] Generated Node #0,1,2: 53:[75, 17] Operation: 93-76=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[76, 18], Operations: ['83-8=75', '93-75=18'] Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,53 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[75, 17], Operations: ['83-8=75', '93-76=17'] Exploring Operation: 75*17=1275, Resulting Numbers: [1275] 1275,53 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 75+17=92, Resulting Numbers: [92] 92,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[93, 1], Operations: ['83-8=75', '76-75=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,53 unequal: No Solution Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,53 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: 53:[83, 93, 68], Operations: ['76-8=68'] Exploring Operation: 93-83=10, Resulting Numbers: [68, 10] Generated Node #0,2,0: 53:[68, 10] Operation: 93-83=10 Exploring Operation: 83-68=15, Resulting Numbers: [93, 15] Generated Node #0,2,1: 53:[93, 15] Operation: 83-68=15 Exploring Operation: 93-68=25, Resulting Numbers: [83, 25] Generated Node #0,2,2: 53:[83, 25] Operation: 93-68=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[68, 10], Operations: ['76-8=68', '93-83=10'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,53 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[83, 25], Operations: ['76-8=68', '93-68=25'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 83*25=2075, Resulting Numbers: [2075] 2075,53 unequal: No Solution Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[93, 15], Operations: ['76-8=68', '83-68=15'] Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,53 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,53 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: 53:[83, 9], Operations: ['93-8=85', '85-76=9'] Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,53 unequal: No Solution Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[76, 2], Operations: ['93-8=85', '85-83=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[85, 7], Operations: ['93-8=85', '83-76=7'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,53 unequal: No Solution Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,53 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 73, 50, 52, 79 ]
76
[ "73+79=152", "52-50=2", "152/2=76" ]
Current State: 76:[73, 50, 52, 79], Operations: [] Exploring Operation: 73+79=152, Resulting Numbers: [50, 52, 152] Generated Node #2: [50, 52, 152] from Operation: 73+79=152 Current State: 76:[50, 52, 152], Operations: ['73+79=152'] Exploring Operation: 52-50=2, Resulting Numbers: [152, 2] Generated Node #3: [152, 2] from Operation: 52-50=2 Current State: 76:[152, 2], Operations: ['73+79=152', '52-50=2'] Exploring Operation: 152/2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[73, 50, 52, 79], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [73, 79, 2] Generated Node #0,0: 76:[73, 79, 2] Operation: 52-50=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[73, 79, 2], Operations: ['52-50=2'] Exploring Operation: 79-73=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 76:[2, 6] Operation: 79-73=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[2, 6], Operations: ['52-50=2', '79-73=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 77, 95, 54 ]
43
[ "7+77=84", "95-54=41", "84-41=43" ]
Current State: 43:[7, 77, 95, 54], Operations: [] Exploring Operation: 7+77=84, Resulting Numbers: [95, 54, 84] Generated Node #2: [95, 54, 84] from Operation: 7+77=84 Current State: 43:[95, 54, 84], Operations: ['7+77=84'] Exploring Operation: 95-54=41, Resulting Numbers: [84, 41] Generated Node #3: [84, 41] from Operation: 95-54=41 Current State: 43:[84, 41], Operations: ['7+77=84', '95-54=41'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[7, 77, 95, 54], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [77, 95, 47] Generated Node #0,0: 43:[77, 95, 47] Operation: 54-7=47 Exploring Operation: 77-7=70, Resulting Numbers: [95, 54, 70] Generated Node #0,1: 43:[95, 54, 70] Operation: 77-7=70 Exploring Operation: 95-54=41, Resulting Numbers: [7, 77, 41] Generated Node #0,2: 43:[7, 77, 41] Operation: 95-54=41 Exploring Operation: 95-77=18, Resulting Numbers: [7, 54, 18] Generated Node #0,3: 43:[7, 54, 18] Operation: 95-77=18 Exploring Operation: 95-7=88, Resulting Numbers: [77, 54, 88] Generated Node #0,4: 43:[77, 54, 88] Operation: 95-7=88 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[7, 77, 41], Operations: ['95-54=41'] Exploring Operation: 77-7=70, Resulting Numbers: [41, 70] Generated Node #0,2,0: 43:[41, 70] Operation: 77-7=70 Exploring Operation: 41-7=34, Resulting Numbers: [77, 34] Generated Node #0,2,1: 43:[77, 34] Operation: 41-7=34 Exploring Operation: 77/7=11, Resulting Numbers: [41, 11] Generated Node #0,2,2: 43:[41, 11] Operation: 77/7=11 Exploring Operation: 7+41=48, Resulting Numbers: [77, 48] Generated Node #0,2,3: 43:[77, 48] Operation: 7+41=48 Exploring Operation: 7+77=84, Resulting Numbers: [41, 84] Generated Node #0,2,4: 43:[41, 84] Operation: 7+77=84 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[41, 70], Operations: ['95-54=41', '77-7=70'] Exploring Operation: 41*70=2870, Resulting Numbers: [2870] 2870,43 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 41+70=111, Resulting Numbers: [111] 111,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[41, 11], Operations: ['95-54=41', '77/7=11'] Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,43 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 43:[77, 48], Operations: ['95-54=41', '7+41=48'] Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,43 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[77, 34], Operations: ['95-54=41', '41-7=34'] Exploring Operation: 77*34=2618, Resulting Numbers: [2618] 2618,43 unequal: No Solution Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[7, 77, 95, 54], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [7, 77, 41] Generated Node #0,2: 43:[7, 77, 41] Operation: 95-54=41 Moving to Node #0,2 Current State: 43:[7, 77, 41], Operations: ['95-54=41'] Exploring Operation: 41-7=34, Resulting Numbers: [77, 34] Generated Node #0,2,1: 43:[77, 34] Operation: 41-7=34 Moving to Node #0,2,1 Current State: 43:[77, 34], Operations: ['95-54=41', '41-7=34'] Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 77, 64, 86, 83 ]
10
[ "77-64=13", "86-83=3", "13-3=10" ]
Current State: 10:[77, 64, 86, 83], Operations: [] Exploring Operation: 77-64=13, Resulting Numbers: [86, 83, 13] Generated Node #2: [86, 83, 13] from Operation: 77-64=13 Current State: 10:[86, 83, 13], Operations: ['77-64=13'] Exploring Operation: 86-83=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 86-83=3 Current State: 10:[13, 3], Operations: ['77-64=13', '86-83=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[77, 64, 86, 83], Operations: [] Exploring Operation: 77-64=13, Resulting Numbers: [86, 83, 13] Generated Node #0,0: 10:[86, 83, 13] Operation: 77-64=13 Exploring Operation: 86-64=22, Resulting Numbers: [77, 83, 22] Generated Node #0,1: 10:[77, 83, 22] Operation: 86-64=22 Exploring Operation: 86-77=9, Resulting Numbers: [64, 83, 9] Generated Node #0,2: 10:[64, 83, 9] Operation: 86-77=9 Exploring Operation: 83-77=6, Resulting Numbers: [64, 86, 6] Generated Node #0,3: 10:[64, 86, 6] Operation: 83-77=6 Exploring Operation: 86-83=3, Resulting Numbers: [77, 64, 3] Generated Node #0,4: 10:[77, 64, 3] Operation: 86-83=3 Moving to Node #0,4 Current State: 10:[77, 64, 3], Operations: ['86-83=3'] Exploring Operation: 64+3=67, Resulting Numbers: [77, 67] Generated Node #0,4,0: 10:[77, 67] Operation: 64+3=67 Exploring Operation: 77-3=74, Resulting Numbers: [64, 74] Generated Node #0,4,1: 10:[64, 74] Operation: 77-3=74 Exploring Operation: 64-3=61, Resulting Numbers: [77, 61] Generated Node #0,4,2: 10:[77, 61] Operation: 64-3=61 Exploring Operation: 77-64=13, Resulting Numbers: [3, 13] Generated Node #0,4,3: 10:[3, 13] Operation: 77-64=13 Exploring Operation: 77+3=80, Resulting Numbers: [64, 80] Generated Node #0,4,4: 10:[64, 80] Operation: 77+3=80 Moving to Node #0,2 Current State: 10:[64, 83, 9], Operations: ['86-77=9'] Exploring Operation: 83-64=19, Resulting Numbers: [9, 19] Generated Node #0,2,0: 10:[9, 19] Operation: 83-64=19 Exploring Operation: 64-9=55, Resulting Numbers: [83, 55] Generated Node #0,2,1: 10:[83, 55] Operation: 64-9=55 Exploring Operation: 64+9=73, Resulting Numbers: [83, 73] Generated Node #0,2,2: 10:[83, 73] Operation: 64+9=73 Exploring Operation: 83-9=74, Resulting Numbers: [64, 74] Generated Node #0,2,3: 10:[64, 74] Operation: 83-9=74 Exploring Operation: 83+9=92, Resulting Numbers: [64, 92] Generated Node #0,2,4: 10:[64, 92] Operation: 83+9=92 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[9, 19], Operations: ['86-77=9', '83-64=19'] Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[77, 64, 86, 83], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [64, 83, 9] Generated Node #0,2: 10:[64, 83, 9] Operation: 86-77=9 Moving to Node #0,2 Current State: 10:[64, 83, 9], Operations: ['86-77=9'] Exploring Operation: 83-64=19, Resulting Numbers: [9, 19] Generated Node #0,2,0: 10:[9, 19] Operation: 83-64=19 Moving to Node #0,2,0 Current State: 10:[9, 19], Operations: ['86-77=9', '83-64=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 13, 22, 31, 65 ]
91
[ "31*65=2015", "2015-13=2002", "2002/22=91" ]
Current State: 91:[13, 22, 31, 65], Operations: [] Exploring Operation: 31*65=2015, Resulting Numbers: [13, 22, 2015] Generated Node #2: [13, 22, 2015] from Operation: 31*65=2015 Current State: 91:[13, 22, 2015], Operations: ['31*65=2015'] Exploring Operation: 2015-13=2002, Resulting Numbers: [22, 2002] Generated Node #3: [22, 2002] from Operation: 2015-13=2002 Current State: 91:[22, 2002], Operations: ['31*65=2015', '2015-13=2002'] Exploring Operation: 2002/22=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[13, 22, 31, 65], Operations: [] Exploring Operation: 65-31=34, Resulting Numbers: [13, 22, 34] Generated Node #0,0: 91:[13, 22, 34] Operation: 65-31=34 Exploring Operation: 31-22=9, Resulting Numbers: [13, 65, 9] Generated Node #0,1: 91:[13, 65, 9] Operation: 31-22=9 Exploring Operation: 31+65=96, Resulting Numbers: [13, 22, 96] Generated Node #0,2: 91:[13, 22, 96] Operation: 31+65=96 Exploring Operation: 65/13=5, Resulting Numbers: [22, 31, 5] Generated Node #0,3: 91:[22, 31, 5] Operation: 65/13=5 Exploring Operation: 22+65=87, Resulting Numbers: [13, 31, 87] Generated Node #0,4: 91:[13, 31, 87] Operation: 22+65=87 Moving to Node #0,2 Current State: 91:[13, 22, 96], Operations: ['31+65=96'] Exploring Operation: 96-13=83, Resulting Numbers: [22, 83] Generated Node #0,2,0: 91:[22, 83] Operation: 96-13=83 Exploring Operation: 22-13=9, Resulting Numbers: [96, 9] Generated Node #0,2,1: 91:[96, 9] Operation: 22-13=9 Exploring Operation: 96-22=74, Resulting Numbers: [13, 74] Generated Node #0,2,2: 91:[13, 74] Operation: 96-22=74 Exploring Operation: 13+96=109, Resulting Numbers: [22, 109] Generated Node #0,2,3: 91:[22, 109] Operation: 13+96=109 Exploring Operation: 13+22=35, Resulting Numbers: [96, 35] Generated Node #0,2,4: 91:[96, 35] Operation: 13+22=35 Moving to Node #0,4 Current State: 91:[13, 31, 87], Operations: ['22+65=87'] Exploring Operation: 31-13=18, Resulting Numbers: [87, 18] Generated Node #0,4,0: 91:[87, 18] Operation: 31-13=18 Exploring Operation: 31+87=118, Resulting Numbers: [13, 118] Generated Node #0,4,1: 91:[13, 118] Operation: 31+87=118 Exploring Operation: 13+31=44, Resulting Numbers: [87, 44] Generated Node #0,4,2: 91:[87, 44] Operation: 13+31=44 Exploring Operation: 87-13=74, Resulting Numbers: [31, 74] Generated Node #0,4,3: 91:[31, 74] Operation: 87-13=74 Exploring Operation: 13+87=100, Resulting Numbers: [31, 100] Generated Node #0,4,4: 91:[31, 100] Operation: 13+87=100 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 91:[87, 18], Operations: ['22+65=87', '31-13=18'] Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,91 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 91:[13, 118], Operations: ['22+65=87', '31+87=118'] Exploring Operation: 13*118=1534, Resulting Numbers: [1534] 1534,91 unequal: No Solution Exploring Operation: 13+118=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 118-13=105, Resulting Numbers: [105] 105,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 91:[31, 100], Operations: ['22+65=87', '13+87=100'] Exploring Operation: 31*100=3100, Resulting Numbers: [3100] 3100,91 unequal: No Solution Exploring Operation: 100-31=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 31+100=131, Resulting Numbers: [131] 131,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 91:[87, 44], Operations: ['22+65=87', '13+31=44'] Exploring Operation: 87+44=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 87*44=3828, Resulting Numbers: [3828] 3828,91 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 91:[31, 74], Operations: ['22+65=87', '87-13=74'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 31+74=105, Resulting Numbers: [105] 105,91 unequal: No Solution Exploring Operation: 31*74=2294, Resulting Numbers: [2294] 2294,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[13, 65, 9], Operations: ['31-22=9'] Exploring Operation: 65/13=5, Resulting Numbers: [9, 5] Generated Node #0,1,0: 91:[9, 5] Operation: 65/13=5 Exploring Operation: 65+9=74, Resulting Numbers: [13, 74] Generated Node #0,1,1: 91:[13, 74] Operation: 65+9=74 Exploring Operation: 13+9=22, Resulting Numbers: [65, 22] Generated Node #0,1,2: 91:[65, 22] Operation: 13+9=22 Exploring Operation: 13-9=4, Resulting Numbers: [65, 4] Generated Node #0,1,3: 91:[65, 4] Operation: 13-9=4 Exploring Operation: 13+65=78, Resulting Numbers: [9, 78] Generated Node #0,1,4: 91:[9, 78] Operation: 13+65=78 Moving to Node #0,3 Current State: 91:[22, 31, 5], Operations: ['65/13=5'] Exploring Operation: 22+5=27, Resulting Numbers: [31, 27] Generated Node #0,3,0: 91:[31, 27] Operation: 22+5=27 Exploring Operation: 31-5=26, Resulting Numbers: [22, 26] Generated Node #0,3,1: 91:[22, 26] Operation: 31-5=26 Exploring Operation: 31-22=9, Resulting Numbers: [5, 9] Generated Node #0,3,2: 91:[5, 9] Operation: 31-22=9 Exploring Operation: 22-5=17, Resulting Numbers: [31, 17] Generated Node #0,3,3: 91:[31, 17] Operation: 22-5=17 Exploring Operation: 31+5=36, Resulting Numbers: [22, 36] Generated Node #0,3,4: 91:[22, 36] Operation: 31+5=36 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[5, 9], Operations: ['65/13=5', '31-22=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[22, 26], Operations: ['65/13=5', '31-5=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,91 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[31, 17], Operations: ['65/13=5', '22-5=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[31, 27], Operations: ['65/13=5', '22+5=27'] Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,91 unequal: No Solution Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,91 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 91:[22, 36], Operations: ['65/13=5', '31+5=36'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 22+36=58, Resulting Numbers: [58] 58,91 unequal: No Solution Exploring Operation: 22*36=792, Resulting Numbers: [792] 792,91 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: 91:[13, 22, 34], Operations: ['65-31=34'] Exploring Operation: 22+34=56, Resulting Numbers: [13, 56] Generated Node #0,0,0: 91:[13, 56] Operation: 22+34=56 Exploring Operation: 34-13=21, Resulting Numbers: [22, 21] Generated Node #0,0,1: 91:[22, 21] Operation: 34-13=21 Exploring Operation: 13+22=35, Resulting Numbers: [34, 35] Generated Node #0,0,2: 91:[34, 35] Operation: 13+22=35 Exploring Operation: 22-13=9, Resulting Numbers: [34, 9] Generated Node #0,0,3: 91:[34, 9] Operation: 22-13=9 Exploring Operation: 34-22=12, Resulting Numbers: [13, 12] Generated Node #0,0,4: 91:[13, 12] Operation: 34-22=12 Moving to Node #0,0,4 Current State: 91:[13, 12], Operations: ['65-31=34', '34-22=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[9, 5], Operations: ['31-22=9', '65/13=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[96, 9], Operations: ['31+65=96', '22-13=9'] Exploring Operation: 96+9=105, Resulting Numbers: [105] 105,91 unequal: No Solution Exploring Operation: 96*9=864, Resulting Numbers: [864] 864,91 unequal: No Solution Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[9, 78], Operations: ['31-22=9', '13+65=78'] Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,91 unequal: No Solution Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[13, 74], Operations: ['31+65=96', '96-22=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 13*74=962, Resulting Numbers: [962] 962,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[22, 21], Operations: ['65-31=34', '34-13=21'] Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,91 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[22, 83], Operations: ['31+65=96', '96-13=83'] Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 22+83=105, Resulting Numbers: [105] 105,91 unequal: No Solution Exploring Operation: 22*83=1826, Resulting Numbers: [1826] 1826,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[13, 74], Operations: ['31-22=9', '65+9=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 13*74=962, Resulting Numbers: [962] 962,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[34, 9], Operations: ['65-31=34', '22-13=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,91 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[96, 35], Operations: ['31+65=96', '13+22=35'] Exploring Operation: 96+35=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 96*35=3360, Resulting Numbers: [3360] 3360,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[22, 109], Operations: ['31+65=96', '13+96=109'] Exploring Operation: 22*109=2398, Resulting Numbers: [2398] 2398,91 unequal: No Solution Exploring Operation: 22+109=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 109-22=87, Resulting Numbers: [87] 87,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[65, 4], Operations: ['31-22=9', '13-9=4'] Exploring Operation: 65*4=260, Resulting Numbers: [260] 260,91 unequal: No Solution Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[13, 56], Operations: ['65-31=34', '22+34=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,91 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[65, 22], Operations: ['31-22=9', '13+9=22'] Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[34, 35], Operations: ['65-31=34', '13+22=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,91 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 39, 41, 14, 92 ]
39
[ "41-39=2", "92-14=78", "78/2=39" ]
Current State: 39:[39, 41, 14, 92], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [14, 92, 2] Generated Node #2: [14, 92, 2] from Operation: 41-39=2 Current State: 39:[14, 92, 2], Operations: ['41-39=2'] Exploring Operation: 92-14=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 92-14=78 Current State: 39:[2, 78], Operations: ['41-39=2', '92-14=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[39, 41, 14, 92], Operations: [] Exploring Operation: 92-39=53, Resulting Numbers: [41, 14, 53] Generated Node #0,0: 39:[41, 14, 53] Operation: 92-39=53 Exploring Operation: 92-41=51, Resulting Numbers: [39, 14, 51] Generated Node #0,1: 39:[39, 14, 51] Operation: 92-41=51 Exploring Operation: 92-14=78, Resulting Numbers: [39, 41, 78] Generated Node #0,2: 39:[39, 41, 78] Operation: 92-14=78 Exploring Operation: 41-39=2, Resulting Numbers: [14, 92, 2] Generated Node #0,3: 39:[14, 92, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[39, 14, 51], Operations: ['92-41=51'] Exploring Operation: 39+14=53, Resulting Numbers: [51, 53] Generated Node #0,1,0: 39:[51, 53] Operation: 39+14=53 Exploring Operation: 51-39=12, Resulting Numbers: [14, 12] Generated Node #0,1,1: 39:[14, 12] Operation: 51-39=12 Exploring Operation: 39-14=25, Resulting Numbers: [51, 25] Generated Node #0,1,2: 39:[51, 25] Operation: 39-14=25 Exploring Operation: 51-14=37, Resulting Numbers: [39, 37] Generated Node #0,1,3: 39:[39, 37] Operation: 51-14=37 Moving to Node #0,1,1 Current State: 39:[14, 12], Operations: ['92-41=51', '51-39=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[39, 37], Operations: ['92-41=51', '51-14=37'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[51, 25], Operations: ['92-41=51', '39-14=25'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,39 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[51, 53], Operations: ['92-41=51', '39+14=53'] Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 51*53=2703, Resulting Numbers: [2703] 2703,39 unequal: No Solution Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[41, 14, 53], Operations: ['92-39=53'] Exploring Operation: 41+14=55, Resulting Numbers: [53, 55] Generated Node #0,0,0: 39:[53, 55] Operation: 41+14=55 Exploring Operation: 53-41=12, Resulting Numbers: [14, 12] Generated Node #0,0,1: 39:[14, 12] Operation: 53-41=12 Exploring Operation: 41-14=27, Resulting Numbers: [53, 27] Generated Node #0,0,2: 39:[53, 27] Operation: 41-14=27 Exploring Operation: 53-14=39, Resulting Numbers: [41, 39] Generated Node #0,0,3: 39:[41, 39] Operation: 53-14=39 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[14, 12], Operations: ['92-39=53', '53-41=12'] Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,39 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 39:[41, 39], Operations: ['92-39=53', '53-14=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,39 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[53, 27], Operations: ['92-39=53', '41-14=27'] Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,39 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[53, 55], Operations: ['92-39=53', '41+14=55'] Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 53*55=2915, Resulting Numbers: [2915] 2915,39 unequal: No Solution Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[39, 41, 78], Operations: ['92-14=78'] Exploring Operation: 78/39=2, Resulting Numbers: [41, 2] Generated Node #0,2,0: 39:[41, 2] Operation: 78/39=2 Exploring Operation: 78-41=37, Resulting Numbers: [39, 37] Generated Node #0,2,1: 39:[39, 37] Operation: 78-41=37 Exploring Operation: 78-39=39, Resulting Numbers: [41, 39] Generated Node #0,2,2: 39:[41, 39] Operation: 78-39=39 Exploring Operation: 41-39=2, Resulting Numbers: [78, 2] Generated Node #0,2,3: 39:[78, 2] Operation: 41-39=2 Moving to Node #0,2,1 Current State: 39:[39, 37], Operations: ['92-14=78', '78-41=37'] Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,39 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[41, 39], Operations: ['92-14=78', '78-39=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,39 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[41, 2], Operations: ['92-14=78', '78/39=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,39 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[39, 41, 14, 92], Operations: [] Exploring Operation: 92-14=78, Resulting Numbers: [39, 41, 78] Generated Node #0,2: 39:[39, 41, 78] Operation: 92-14=78 Moving to Node #0,2 Current State: 39:[39, 41, 78], Operations: ['92-14=78'] Exploring Operation: 78/39=2, Resulting Numbers: [41, 2] Generated Node #0,2,0: 39:[41, 2] Operation: 78/39=2 Moving to Node #0,2,0 Current State: 39:[41, 2], Operations: ['92-14=78', '78/39=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic
[ 79, 7, 9, 4 ]
73
[ "79+7=86", "9+4=13", "86-13=73" ]
Current State: 73:[79, 7, 9, 4], Operations: [] Exploring Operation: 79+7=86, Resulting Numbers: [9, 4, 86] Generated Node #2: [9, 4, 86] from Operation: 79+7=86 Current State: 73:[9, 4, 86], Operations: ['79+7=86'] Exploring Operation: 9+4=13, Resulting Numbers: [86, 13] Generated Node #3: [86, 13] from Operation: 9+4=13 Current State: 73:[86, 13], Operations: ['79+7=86', '9+4=13'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[79, 7, 9, 4], Operations: [] Exploring Operation: 7*4=28, Resulting Numbers: [79, 9, 28] Generated Node #0,0: 73:[79, 9, 28] Operation: 7*4=28 Exploring Operation: 9*4=36, Resulting Numbers: [79, 7, 36] Generated Node #0,1: 73:[79, 7, 36] Operation: 9*4=36 Exploring Operation: 79-4=75, Resulting Numbers: [7, 9, 75] Generated Node #0,2: 73:[7, 9, 75] Operation: 79-4=75 Exploring Operation: 7*9=63, Resulting Numbers: [79, 4, 63] Generated Node #0,3: 73:[79, 4, 63] Operation: 7*9=63 Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[79, 4, 63], Operations: ['7*9=63'] Exploring Operation: 79-4=75, Resulting Numbers: [63, 75] Generated Node #0,3,0: 73:[63, 75] Operation: 79-4=75 Exploring Operation: 79+4=83, Resulting Numbers: [63, 83] Generated Node #0,3,1: 73:[63, 83] Operation: 79+4=83 Exploring Operation: 63-4=59, Resulting Numbers: [79, 59] Generated Node #0,3,2: 73:[79, 59] Operation: 63-4=59 Exploring Operation: 4+63=67, Resulting Numbers: [79, 67] Generated Node #0,3,3: 73:[79, 67] Operation: 4+63=67 Moving to Node #0,3,0 Current State: 73:[63, 75], Operations: ['7*9=63', '79-4=75'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[79, 67], Operations: ['7*9=63', '4+63=67'] Exploring Operation: 79+67=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 79*67=5293, Resulting Numbers: [5293] 5293,73 unequal: No Solution Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[79, 59], Operations: ['7*9=63', '63-4=59'] Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 79*59=4661, Resulting Numbers: [4661] 4661,73 unequal: No Solution Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[63, 83], Operations: ['7*9=63', '79+4=83'] Exploring Operation: 63+83=146, Resulting Numbers: [146] 146,73 unequal: No Solution Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 63*83=5229, Resulting Numbers: [5229] 5229,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[79, 7, 36], Operations: ['9*4=36'] Exploring Operation: 36-7=29, Resulting Numbers: [79, 29] Generated Node #0,1,0: 73:[79, 29] Operation: 36-7=29 Exploring Operation: 79-7=72, Resulting Numbers: [36, 72] Generated Node #0,1,1: 73:[36, 72] Operation: 79-7=72 Exploring Operation: 7+36=43, Resulting Numbers: [79, 43] Generated Node #0,1,2: 73:[79, 43] Operation: 7+36=43 Exploring Operation: 79+7=86, Resulting Numbers: [36, 86] Generated Node #0,1,3: 73:[36, 86] Operation: 79+7=86 Moving to Node #0,1,2 Current State: 73:[79, 43], Operations: ['9*4=36', '7+36=43'] Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,73 unequal: No Solution Exploring Operation: 79*43=3397, Resulting Numbers: [3397] 3397,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[36, 72], Operations: ['9*4=36', '79-7=72'] Exploring Operation: 36*72=2592, Resulting Numbers: [2592] 2592,73 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 36+72=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[36, 86], Operations: ['9*4=36', '79+7=86'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,73 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[79, 29], Operations: ['9*4=36', '36-7=29'] Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 79*29=2291, Resulting Numbers: [2291] 2291,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,0 Current State: 73:[79, 9, 28], Operations: ['7*4=28'] Exploring Operation: 28-9=19, Resulting Numbers: [79, 19] Generated Node #0,0,0: 73:[79, 19] Operation: 28-9=19 Exploring Operation: 79-9=70, Resulting Numbers: [28, 70] Generated Node #0,0,1: 73:[28, 70] Operation: 79-9=70 Exploring Operation: 9+28=37, Resulting Numbers: [79, 37] Generated Node #0,0,2: 73:[79, 37] Operation: 9+28=37 Exploring Operation: 79+9=88, Resulting Numbers: [28, 88] Generated Node #0,0,3: 73:[28, 88] Operation: 79+9=88 Moving to Node #0,0,2 Current State: 73:[79, 37], Operations: ['7*4=28', '9+28=37'] Exploring Operation: 79+37=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 79*37=2923, Resulting Numbers: [2923] 2923,73 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[28, 70], Operations: ['7*4=28', '79-9=70'] Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,73 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[28, 88], Operations: ['7*4=28', '79+9=88'] Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,73 unequal: No Solution Exploring Operation: 28*88=2464, Resulting Numbers: [2464] 2464,73 unequal: No Solution Exploring Operation: 28+88=116, Resulting Numbers: [116] 116,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[79, 19], Operations: ['7*4=28', '28-9=19'] Exploring Operation: 79*19=1501, Resulting Numbers: [1501] 1501,73 unequal: No Solution Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,73 unequal: No Solution Exploring Operation: 79+19=98, Resulting Numbers: [98] 98,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 Current State: 73:[7, 9, 75], Operations: ['79-4=75'] Exploring Operation: 7+9=16, Resulting Numbers: [75, 16] Generated Node #0,2,0: 73:[75, 16] Operation: 7+9=16 Exploring Operation: 9-7=2, Resulting Numbers: [75, 2] Generated Node #0,2,1: 73:[75, 2] Operation: 9-7=2 Exploring Operation: 75-7=68, Resulting Numbers: [9, 68] Generated Node #0,2,2: 73:[9, 68] Operation: 75-7=68 Exploring Operation: 7*9=63, Resulting Numbers: [75, 63] Generated Node #0,2,3: 73:[75, 63] Operation: 7*9=63 Moving to Node #0,2,3 Current State: 73:[75, 63], Operations: ['79-4=75', '7*9=63'] Exploring Operation: 75*63=4725, Resulting Numbers: [4725] 4725,73 unequal: No Solution Exploring Operation: 75+63=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[75, 16], Operations: ['79-4=75', '7+9=16'] Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,73 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[9, 68], Operations: ['79-4=75', '75-7=68'] Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,73 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[75, 2], Operations: ['79-4=75', '9-7=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[79, 7, 9, 4], Operations: [] Exploring Operation: 79-4=75, Resulting Numbers: [7, 9, 75] Generated Node #0,2: 73:[7, 9, 75] Operation: 79-4=75 Moving to Node #0,2 Current State: 73:[7, 9, 75], Operations: ['79-4=75'] Exploring Operation: 9-7=2, Resulting Numbers: [75, 2] Generated Node #0,2,1: 73:[75, 2] Operation: 9-7=2 Moving to Node #0,2,1 Current State: 73:[75, 2], Operations: ['79-4=75', '9-7=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.9375
hs_4
sum_heuristic
[ 49, 15, 75, 85 ]
44
[ "49-15=34", "85-75=10", "34+10=44" ]
Current State: 44:[49, 15, 75, 85], Operations: [] Exploring Operation: 49-15=34, Resulting Numbers: [75, 85, 34] Generated Node #2: [75, 85, 34] from Operation: 49-15=34 Current State: 44:[75, 85, 34], Operations: ['49-15=34'] Exploring Operation: 85-75=10, Resulting Numbers: [34, 10] Generated Node #3: [34, 10] from Operation: 85-75=10 Current State: 44:[34, 10], Operations: ['49-15=34', '85-75=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[49, 15, 75, 85], Operations: [] Exploring Operation: 85-49=36, Resulting Numbers: [15, 75, 36] Generated Node #0,0: 44:[15, 75, 36] Operation: 85-49=36 Exploring Operation: 85-75=10, Resulting Numbers: [49, 15, 10] Generated Node #0,1: 44:[49, 15, 10] Operation: 85-75=10 Exploring Operation: 75-49=26, Resulting Numbers: [15, 85, 26] Generated Node #0,2: 44:[15, 85, 26] Operation: 75-49=26 Exploring Operation: 75-15=60, Resulting Numbers: [49, 85, 60] Generated Node #0,3: 44:[49, 85, 60] Operation: 75-15=60 Exploring Operation: 75/15=5, Resulting Numbers: [49, 85, 5] Generated Node #0,4: 44:[49, 85, 5] Operation: 75/15=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[49, 15, 10], Operations: ['85-75=10'] Exploring Operation: 49-10=39, Resulting Numbers: [15, 39] Generated Node #0,1,0: 44:[15, 39] Operation: 49-10=39 Exploring Operation: 49-15=34, Resulting Numbers: [10, 34] Generated Node #0,1,1: 44:[10, 34] Operation: 49-15=34 Exploring Operation: 49+10=59, Resulting Numbers: [15, 59] Generated Node #0,1,2: 44:[15, 59] Operation: 49+10=59 Exploring Operation: 15+10=25, Resulting Numbers: [49, 25] Generated Node #0,1,3: 44:[49, 25] Operation: 15+10=25 Exploring Operation: 15-10=5, Resulting Numbers: [49, 5] Generated Node #0,1,4: 44:[49, 5] Operation: 15-10=5 Moving to Node #0,1,4 Current State: 44:[49, 5], Operations: ['85-75=10', '15-10=5'] Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,44 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[49, 15, 75, 85], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [49, 15, 10] Generated Node #0,1: 44:[49, 15, 10] Operation: 85-75=10 Moving to Node #0,1 Current State: 44:[49, 15, 10], Operations: ['85-75=10'] Exploring Operation: 15-10=5, Resulting Numbers: [49, 5] Generated Node #0,1,4: 44:[49, 5] Operation: 15-10=5 Moving to Node #0,1,4 Current State: 44:[49, 5], Operations: ['85-75=10', '15-10=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 32, 10, 88, 16 ]
54
[ "32/16=2", "88/2=44", "10+44=54" ]
Current State: 54:[32, 10, 88, 16], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [10, 88, 2] Generated Node #2: [10, 88, 2] from Operation: 32/16=2 Current State: 54:[10, 88, 2], Operations: ['32/16=2'] Exploring Operation: 88/2=44, Resulting Numbers: [10, 44] Generated Node #3: [10, 44] from Operation: 88/2=44 Current State: 54:[10, 44], Operations: ['32/16=2', '88/2=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[32, 10, 88, 16], Operations: [] Exploring Operation: 88-32=56, Resulting Numbers: [10, 16, 56] Generated Node #0,0: 54:[10, 16, 56] Operation: 88-32=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[10, 16, 56], Operations: ['88-32=56'] Exploring Operation: 16-10=6, Resulting Numbers: [56, 6] Generated Node #0,0,0: 54:[56, 6] Operation: 16-10=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[56, 6], Operations: ['88-32=56', '16-10=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,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
[ 9, 19, 21, 45 ]
74
[ "45/9=5", "19*5=95", "95-21=74" ]
Current State: 74:[9, 19, 21, 45], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [19, 21, 5] Generated Node #2: [19, 21, 5] from Operation: 45/9=5 Current State: 74:[19, 21, 5], Operations: ['45/9=5'] Exploring Operation: 19*5=95, Resulting Numbers: [21, 95] Generated Node #3: [21, 95] from Operation: 19*5=95 Current State: 74:[21, 95], Operations: ['45/9=5', '19*5=95'] Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[9, 19, 21, 45], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [9, 45, 2] Generated Node #0,0: 74:[9, 45, 2] Operation: 21-19=2 Exploring Operation: 19+21=40, Resulting Numbers: [9, 45, 40] Generated Node #0,1: 74:[9, 45, 40] Operation: 19+21=40 Exploring Operation: 19-9=10, Resulting Numbers: [21, 45, 10] Generated Node #0,2: 74:[21, 45, 10] Operation: 19-9=10 Moving to Node #0,0 Current State: 74:[9, 45, 2], Operations: ['21-19=2'] Exploring Operation: 45-9=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 74:[2, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 74:[2, 5] Operation: 45/9=5 Exploring Operation: 9-2=7, Resulting Numbers: [45, 7] Generated Node #0,0,2: 74:[45, 7] Operation: 9-2=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[2, 36], Operations: ['21-19=2', '45-9=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[2, 5], Operations: ['21-19=2', '45/9=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[45, 7], Operations: ['21-19=2', '9-2=7'] Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,74 unequal: No Solution Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,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:[9, 45, 40], Operations: ['19+21=40'] Exploring Operation: 45-40=5, Resulting Numbers: [9, 5] Generated Node #0,1,0: 74:[9, 5] Operation: 45-40=5 Exploring Operation: 45-9=36, Resulting Numbers: [40, 36] Generated Node #0,1,1: 74:[40, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [40, 5] Generated Node #0,1,2: 74:[40, 5] Operation: 45/9=5 Moving to Node #0,2 Current State: 74:[21, 45, 10], Operations: ['19-9=10'] Exploring Operation: 21-10=11, Resulting Numbers: [45, 11] Generated Node #0,2,0: 74:[45, 11] Operation: 21-10=11 Exploring Operation: 21+10=31, Resulting Numbers: [45, 31] Generated Node #0,2,1: 74:[45, 31] Operation: 21+10=31 Exploring Operation: 21+45=66, Resulting Numbers: [10, 66] Generated Node #0,2,2: 74:[10, 66] Operation: 21+45=66 Moving to Node #0,1,1 Current State: 74:[40, 36], Operations: ['19+21=40', '45-9=36'] Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,74 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[40, 5], Operations: ['19+21=40', '45/9=5'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,74 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[9, 5], Operations: ['19+21=40', '45-40=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[45, 31], Operations: ['19-9=10', '21+10=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,74 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[10, 66], Operations: ['19-9=10', '21+45=66'] Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,74 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[45, 11], Operations: ['19-9=10', '21-10=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,74 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,74 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 75, 92, 25, 64 ]
72
[ "92-75=17", "25+64=89", "89-17=72" ]
Current State: 72:[75, 92, 25, 64], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [25, 64, 17] Generated Node #2: [25, 64, 17] from Operation: 92-75=17 Current State: 72:[25, 64, 17], Operations: ['92-75=17'] Exploring Operation: 25+64=89, Resulting Numbers: [17, 89] Generated Node #3: [17, 89] from Operation: 25+64=89 Current State: 72:[17, 89], Operations: ['92-75=17', '25+64=89'] Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[75, 92, 25, 64], Operations: [] Exploring Operation: 92-64=28, Resulting Numbers: [75, 25, 28] Generated Node #0,0: 72:[75, 25, 28] Operation: 92-64=28 Exploring Operation: 92-75=17, Resulting Numbers: [25, 64, 17] Generated Node #0,1: 72:[25, 64, 17] Operation: 92-75=17 Exploring Operation: 92-25=67, Resulting Numbers: [75, 64, 67] Generated Node #0,2: 72:[75, 64, 67] Operation: 92-25=67 Moving to Node #0,0 Current State: 72:[75, 25, 28], Operations: ['92-64=28'] Exploring Operation: 75-28=47, Resulting Numbers: [25, 47] Generated Node #0,0,0: 72:[25, 47] Operation: 75-28=47 Exploring Operation: 28-25=3, Resulting Numbers: [75, 3] Generated Node #0,0,1: 72:[75, 3] Operation: 28-25=3 Exploring Operation: 75/25=3, Resulting Numbers: [28, 3] Generated Node #0,0,2: 72:[28, 3] Operation: 75/25=3 Moving to Node #0,1 Current State: 72:[25, 64, 17], Operations: ['92-75=17'] Exploring Operation: 25-17=8, Resulting Numbers: [64, 8] Generated Node #0,1,0: 72:[64, 8] Operation: 25-17=8 Exploring Operation: 64+17=81, Resulting Numbers: [25, 81] Generated Node #0,1,1: 72:[25, 81] Operation: 64+17=81 Exploring Operation: 64-25=39, Resulting Numbers: [17, 39] Generated Node #0,1,2: 72:[17, 39] Operation: 64-25=39 Moving to Node #0,2 Current State: 72:[75, 64, 67], Operations: ['92-25=67'] Exploring Operation: 75-64=11, Resulting Numbers: [67, 11] Generated Node #0,2,0: 72:[67, 11] Operation: 75-64=11 Exploring Operation: 67-64=3, Resulting Numbers: [75, 3] Generated Node #0,2,1: 72:[75, 3] Operation: 67-64=3 Exploring Operation: 75-67=8, Resulting Numbers: [64, 8] Generated Node #0,2,2: 72:[64, 8] Operation: 75-67=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[75, 3], Operations: ['92-25=67', '67-64=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[75, 92, 25, 64], Operations: [] Exploring Operation: 92-25=67, Resulting Numbers: [75, 64, 67] Generated Node #0,2: 72:[75, 64, 67] Operation: 92-25=67 Moving to Node #0,2 Current State: 72:[75, 64, 67], Operations: ['92-25=67'] Exploring Operation: 67-64=3, Resulting Numbers: [75, 3] Generated Node #0,2,1: 72:[75, 3] Operation: 67-64=3 Moving to Node #0,2,1 Current State: 72:[75, 3], Operations: ['92-25=67', '67-64=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 4, 16, 76, 52 ]
87
[ "76/4=19", "16+52=68", "19+68=87" ]
Current State: 87:[4, 16, 76, 52], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [16, 52, 19] Generated Node #2: [16, 52, 19] from Operation: 76/4=19 Current State: 87:[16, 52, 19], Operations: ['76/4=19'] Exploring Operation: 16+52=68, Resulting Numbers: [19, 68] Generated Node #3: [19, 68] from Operation: 16+52=68 Current State: 87:[19, 68], Operations: ['76/4=19', '16+52=68'] Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[4, 16, 76, 52], Operations: [] Exploring Operation: 16+76=92, Resulting Numbers: [4, 52, 92] Generated Node #0,0: 87:[4, 52, 92] Operation: 16+76=92 Exploring Operation: 76-52=24, Resulting Numbers: [4, 16, 24] Generated Node #0,1: 87:[4, 16, 24] Operation: 76-52=24 Exploring Operation: 16+52=68, Resulting Numbers: [4, 76, 68] Generated Node #0,2: 87:[4, 76, 68] Operation: 16+52=68 Exploring Operation: 52-16=36, Resulting Numbers: [4, 76, 36] Generated Node #0,3: 87:[4, 76, 36] Operation: 52-16=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[4, 16, 24], Operations: ['76-52=24'] Exploring Operation: 4+16=20, Resulting Numbers: [24, 20] Generated Node #0,1,0: 87:[24, 20] Operation: 4+16=20 Exploring Operation: 16/4=4, Resulting Numbers: [24, 4] Generated Node #0,1,1: 87:[24, 4] Operation: 16/4=4 Exploring Operation: 16+24=40, Resulting Numbers: [4, 40] Generated Node #0,1,2: 87:[4, 40] Operation: 16+24=40 Exploring Operation: 24-16=8, Resulting Numbers: [4, 8] Generated Node #0,1,3: 87:[4, 8] Operation: 24-16=8 Moving to Node #0,1,1 Current State: 87:[24, 4], Operations: ['76-52=24', '16/4=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,87 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[4, 8], Operations: ['76-52=24', '24-16=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[4, 40], Operations: ['76-52=24', '16+24=40'] Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[24, 20], Operations: ['76-52=24', '4+16=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,87 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[4, 76, 36], Operations: ['52-16=36'] Exploring Operation: 4+76=80, Resulting Numbers: [36, 80] Generated Node #0,3,0: 87:[36, 80] Operation: 4+76=80 Exploring Operation: 76-36=40, Resulting Numbers: [4, 40] Generated Node #0,3,1: 87:[4, 40] Operation: 76-36=40 Exploring Operation: 76/4=19, Resulting Numbers: [36, 19] Generated Node #0,3,2: 87:[36, 19] Operation: 76/4=19 Exploring Operation: 36-4=32, Resulting Numbers: [76, 32] Generated Node #0,3,3: 87:[76, 32] Operation: 36-4=32 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 87:[4, 40], Operations: ['52-16=36', '76-36=40'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,87 unequal: No Solution No 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: 87:[36, 80], Operations: ['52-16=36', '4+76=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,87 unequal: No Solution No 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: 87:[76, 32], Operations: ['52-16=36', '36-4=32'] Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,87 unequal: No Solution No 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: 87:[36, 19], Operations: ['52-16=36', '76/4=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,87 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,87 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: 87:[4, 52, 92], Operations: ['16+76=92'] Exploring Operation: 52/4=13, Resulting Numbers: [92, 13] Generated Node #0,0,0: 87:[92, 13] Operation: 52/4=13 Exploring Operation: 92-52=40, Resulting Numbers: [4, 40] Generated Node #0,0,1: 87:[4, 40] Operation: 92-52=40 Exploring Operation: 92-4=88, Resulting Numbers: [52, 88] Generated Node #0,0,2: 87:[52, 88] Operation: 92-4=88 Exploring Operation: 52-4=48, Resulting Numbers: [92, 48] Generated Node #0,0,3: 87:[92, 48] Operation: 52-4=48 Moving to Node #0,0,1 Current State: 87:[4, 40], Operations: ['16+76=92', '92-52=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[92, 13], Operations: ['16+76=92', '52/4=13'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,87 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[92, 48], Operations: ['16+76=92', '52-4=48'] Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 92+48=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 92*48=4416, Resulting Numbers: [4416] 4416,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[52, 88], Operations: ['16+76=92', '92-4=88'] Exploring Operation: 52+88=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 52*88=4576, Resulting Numbers: [4576] 4576,87 unequal: No Solution Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[4, 76, 68], Operations: ['16+52=68'] Exploring Operation: 76-68=8, Resulting Numbers: [4, 8] Generated Node #0,2,0: 87:[4, 8] Operation: 76-68=8 Exploring Operation: 4+68=72, Resulting Numbers: [76, 72] Generated Node #0,2,1: 87:[76, 72] Operation: 4+68=72 Exploring Operation: 4+76=80, Resulting Numbers: [68, 80] Generated Node #0,2,2: 87:[68, 80] Operation: 4+76=80 Exploring Operation: 68/4=17, Resulting Numbers: [76, 17] Generated Node #0,2,3: 87:[76, 17] Operation: 68/4=17 Moving to Node #0,2,0 Current State: 87:[4, 8], Operations: ['16+52=68', '76-68=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[76, 17], Operations: ['16+52=68', '68/4=17'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[68, 80], Operations: ['16+52=68', '4+76=80'] Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,87 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[76, 72], Operations: ['16+52=68', '4+68=72'] Exploring Operation: 76*72=5472, Resulting Numbers: [5472] 5472,87 unequal: No Solution Exploring Operation: 76+72=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,87 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
[ 9, 90, 92, 63 ]
14
[ "63/9=7", "92-90=2", "7*2=14" ]
Current State: 14:[9, 90, 92, 63], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [90, 92, 7] Generated Node #2: [90, 92, 7] from Operation: 63/9=7 Current State: 14:[90, 92, 7], Operations: ['63/9=7'] Exploring Operation: 92-90=2, Resulting Numbers: [7, 2] Generated Node #3: [7, 2] from Operation: 92-90=2 Current State: 14:[7, 2], Operations: ['63/9=7', '92-90=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[9, 90, 92, 63], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [9, 92, 27] Generated Node #0,0: 14:[9, 92, 27] Operation: 90-63=27 Exploring Operation: 92-63=29, Resulting Numbers: [9, 90, 29] Generated Node #0,1: 14:[9, 90, 29] Operation: 92-63=29 Exploring Operation: 92-90=2, Resulting Numbers: [9, 63, 2] Generated Node #0,2: 14:[9, 63, 2] Operation: 92-90=2 Moving to Node #0,2 Current State: 14:[9, 63, 2], Operations: ['92-90=2'] Exploring Operation: 9-2=7, Resulting Numbers: [63, 7] Generated Node #0,2,0: 14:[63, 7] Operation: 9-2=7 Exploring Operation: 63/9=7, Resulting Numbers: [2, 7] Generated Node #0,2,1: 14:[2, 7] Operation: 63/9=7 Exploring Operation: 63-9=54, Resulting Numbers: [2, 54] Generated Node #0,2,2: 14:[2, 54] Operation: 63-9=54 Moving to Node #0,0 Current State: 14:[9, 92, 27], Operations: ['90-63=27'] Exploring Operation: 27/9=3, Resulting Numbers: [92, 3] Generated Node #0,0,0: 14:[92, 3] Operation: 27/9=3 Exploring Operation: 92-9=83, Resulting Numbers: [27, 83] Generated Node #0,0,1: 14:[27, 83] Operation: 92-9=83 Exploring Operation: 92-27=65, Resulting Numbers: [9, 65] Generated Node #0,0,2: 14:[9, 65] Operation: 92-27=65 Moving to Node #0,1 Current State: 14:[9, 90, 29], Operations: ['92-63=29'] Exploring Operation: 90-9=81, Resulting Numbers: [29, 81] Generated Node #0,1,0: 14:[29, 81] Operation: 90-9=81 Exploring Operation: 90-29=61, Resulting Numbers: [9, 61] Generated Node #0,1,1: 14:[9, 61] Operation: 90-29=61 Exploring Operation: 90/9=10, Resulting Numbers: [29, 10] Generated Node #0,1,2: 14:[29, 10] Operation: 90/9=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[29, 10], Operations: ['92-63=29', '90/9=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[9, 61], Operations: ['92-63=29', '90-29=61'] Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,14 unequal: No Solution Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[29, 81], Operations: ['92-63=29', '90-9=81'] Exploring Operation: 29*81=2349, Resulting Numbers: [2349] 2349,14 unequal: No Solution Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 29+81=110, Resulting Numbers: [110] 110,14 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: 14:[2, 7], Operations: ['92-90=2', '63/9=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[9, 90, 92, 63], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [9, 63, 2] Generated Node #0,2: 14:[9, 63, 2] Operation: 92-90=2 Moving to Node #0,2 Current State: 14:[9, 63, 2], Operations: ['92-90=2'] Exploring Operation: 63/9=7, Resulting Numbers: [2, 7] Generated Node #0,2,1: 14:[2, 7] Operation: 63/9=7 Moving to Node #0,2,1 Current State: 14:[2, 7], Operations: ['92-90=2', '63/9=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 13, 12, 80, 23 ]
77
[ "13+23=36", "36/12=3", "80-3=77" ]
Current State: 77:[13, 12, 80, 23], Operations: [] Exploring Operation: 13+23=36, Resulting Numbers: [12, 80, 36] Generated Node #2: [12, 80, 36] from Operation: 13+23=36 Current State: 77:[12, 80, 36], Operations: ['13+23=36'] Exploring Operation: 36/12=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 36/12=3 Current State: 77:[80, 3], Operations: ['13+23=36', '36/12=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[13, 12, 80, 23], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [13, 80, 11] Generated Node #0,0: 77:[13, 80, 11] Operation: 23-12=11 Exploring Operation: 23-13=10, Resulting Numbers: [12, 80, 10] Generated Node #0,1: 77:[12, 80, 10] Operation: 23-13=10 Moving to Node #0,0 Current State: 77:[13, 80, 11], Operations: ['23-12=11'] Exploring Operation: 80-13=67, Resulting Numbers: [11, 67] Generated Node #0,0,0: 77:[11, 67] Operation: 80-13=67 Exploring Operation: 13-11=2, Resulting Numbers: [80, 2] Generated Node #0,0,1: 77:[80, 2] Operation: 13-11=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[80, 2], Operations: ['23-12=11', '13-11=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,77 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[11, 67], Operations: ['23-12=11', '80-13=67'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,77 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: 77:[12, 80, 10], Operations: ['23-13=10'] Exploring Operation: 12-10=2, Resulting Numbers: [80, 2] Generated Node #0,1,0: 77:[80, 2] Operation: 12-10=2 Exploring Operation: 80/10=8, Resulting Numbers: [12, 8] Generated Node #0,1,1: 77:[12, 8] Operation: 80/10=8 Moving to Node #0,1,1 Current State: 77:[12, 8], Operations: ['23-13=10', '80/10=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[80, 2], Operations: ['23-13=10', '12-10=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,77 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 45, 10, 75, 28 ]
34
[ "45*10=450", "450/75=6", "28+6=34" ]
Current State: 34:[45, 10, 75, 28], Operations: [] Exploring Operation: 45*10=450, Resulting Numbers: [75, 28, 450] Generated Node #2: [75, 28, 450] from Operation: 45*10=450 Current State: 34:[75, 28, 450], Operations: ['45*10=450'] Exploring Operation: 450/75=6, Resulting Numbers: [28, 6] Generated Node #3: [28, 6] from Operation: 450/75=6 Current State: 34:[28, 6], Operations: ['45*10=450', '450/75=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[45, 10, 75, 28], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [10, 28, 30] Generated Node #0,0: 34:[10, 28, 30] Operation: 75-45=30 Moving to Node #0,0 Current State: 34:[10, 28, 30], Operations: ['75-45=30'] Exploring Operation: 28-10=18, Resulting Numbers: [30, 18] Generated Node #0,0,0: 34:[30, 18] Operation: 28-10=18 Moving to Node #0,0,0 Current State: 34:[30, 18], Operations: ['75-45=30', '28-10=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,34 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 69, 56, 3, 39 ]
89
[ "69+56=125", "39-3=36", "125-36=89" ]
Current State: 89:[69, 56, 3, 39], Operations: [] Exploring Operation: 69+56=125, Resulting Numbers: [3, 39, 125] Generated Node #2: [3, 39, 125] from Operation: 69+56=125 Current State: 89:[3, 39, 125], Operations: ['69+56=125'] Exploring Operation: 39-3=36, Resulting Numbers: [125, 36] Generated Node #3: [125, 36] from Operation: 39-3=36 Current State: 89:[125, 36], Operations: ['69+56=125', '39-3=36'] Exploring Operation: 125-36=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[69, 56, 3, 39], Operations: [] Exploring Operation: 3*39=117, Resulting Numbers: [69, 56, 117] Generated Node #0,0: 89:[69, 56, 117] Operation: 3*39=117 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[69, 56, 117], Operations: ['3*39=117'] Exploring Operation: 117-56=61, Resulting Numbers: [69, 61] Generated Node #0,0,0: 89:[69, 61] Operation: 117-56=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[69, 61], Operations: ['3*39=117', '117-56=61'] Exploring Operation: 69+61=130, Resulting Numbers: [130] 130,89 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
[ 3, 59, 39, 21 ]
61
[ "3+39=42", "42/21=2", "59+2=61" ]
Current State: 61:[3, 59, 39, 21], Operations: [] Exploring Operation: 3+39=42, Resulting Numbers: [59, 21, 42] Generated Node #2: [59, 21, 42] from Operation: 3+39=42 Current State: 61:[59, 21, 42], Operations: ['3+39=42'] Exploring Operation: 42/21=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 42/21=2 Current State: 61:[59, 2], Operations: ['3+39=42', '42/21=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[3, 59, 39, 21], Operations: [] Exploring Operation: 3+21=24, Resulting Numbers: [59, 39, 24] Generated Node #0,0: 61:[59, 39, 24] Operation: 3+21=24 Exploring Operation: 3*21=63, Resulting Numbers: [59, 39, 63] Generated Node #0,1: 61:[59, 39, 63] Operation: 3*21=63 Exploring Operation: 3+39=42, Resulting Numbers: [59, 21, 42] Generated Node #0,2: 61:[59, 21, 42] Operation: 3+39=42 Exploring Operation: 39+21=60, Resulting Numbers: [3, 59, 60] Generated Node #0,3: 61:[3, 59, 60] Operation: 39+21=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[59, 39, 63], Operations: ['3*21=63'] Exploring Operation: 39+63=102, Resulting Numbers: [59, 102] Generated Node #0,1,0: 61:[59, 102] Operation: 39+63=102 Exploring Operation: 59+39=98, Resulting Numbers: [63, 98] Generated Node #0,1,1: 61:[63, 98] Operation: 59+39=98 Exploring Operation: 63-39=24, Resulting Numbers: [59, 24] Generated Node #0,1,2: 61:[59, 24] Operation: 63-39=24 Exploring Operation: 59-39=20, Resulting Numbers: [63, 20] Generated Node #0,1,3: 61:[63, 20] Operation: 59-39=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[63, 98], Operations: ['3*21=63', '59+39=98'] Exploring Operation: 63*98=6174, Resulting Numbers: [6174] 6174,61 unequal: No Solution Exploring Operation: 63+98=161, Resulting Numbers: [161] 161,61 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[59, 24], Operations: ['3*21=63', '63-39=24'] Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,61 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[59, 102], Operations: ['3*21=63', '39+63=102'] Exploring Operation: 59*102=6018, Resulting Numbers: [6018] 6018,61 unequal: No Solution Exploring Operation: 59+102=161, Resulting Numbers: [161] 161,61 unequal: No Solution Exploring Operation: 102-59=43, Resulting Numbers: [43] 43,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 61:[63, 20], Operations: ['3*21=63', '59-39=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,61 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,61 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: 61:[59, 39, 24], Operations: ['3+21=24'] Exploring Operation: 39+24=63, Resulting Numbers: [59, 63] Generated Node #0,0,0: 61:[59, 63] Operation: 39+24=63 Exploring Operation: 59-24=35, Resulting Numbers: [39, 35] Generated Node #0,0,1: 61:[39, 35] Operation: 59-24=35 Exploring Operation: 59+24=83, Resulting Numbers: [39, 83] Generated Node #0,0,2: 61:[39, 83] Operation: 59+24=83 Exploring Operation: 39-24=15, Resulting Numbers: [59, 15] Generated Node #0,0,3: 61:[59, 15] Operation: 39-24=15 Moving to Node #0,0,0 Current State: 61:[59, 63], Operations: ['3+21=24', '39+24=63'] Exploring Operation: 59+63=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 59*63=3717, Resulting Numbers: [3717] 3717,61 unequal: No Solution Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[39, 83], Operations: ['3+21=24', '59+24=83'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[59, 15], Operations: ['3+21=24', '39-24=15'] Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 59*15=885, Resulting Numbers: [885] 885,61 unequal: No Solution Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[39, 35], Operations: ['3+21=24', '59-24=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,61 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[59, 21, 42], Operations: ['3+39=42'] Exploring Operation: 59+21=80, Resulting Numbers: [42, 80] Generated Node #0,2,0: 61:[42, 80] Operation: 59+21=80 Exploring Operation: 21+42=63, Resulting Numbers: [59, 63] Generated Node #0,2,1: 61:[59, 63] Operation: 21+42=63 Exploring Operation: 42-21=21, Resulting Numbers: [59, 21] Generated Node #0,2,2: 61:[59, 21] Operation: 42-21=21 Exploring Operation: 59-21=38, Resulting Numbers: [42, 38] Generated Node #0,2,3: 61:[42, 38] Operation: 59-21=38 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[59, 63], Operations: ['3+39=42', '21+42=63'] Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 59*63=3717, Resulting Numbers: [3717] 3717,61 unequal: No Solution Exploring Operation: 59+63=122, Resulting Numbers: [122] 122,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 61:[42, 80], Operations: ['3+39=42', '59+21=80'] Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,61 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,61 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 61:[59, 21], Operations: ['3+39=42', '42-21=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,61 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 61:[42, 38], Operations: ['3+39=42', '59-21=38'] Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,61 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,61 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: 61:[3, 59, 60], Operations: ['39+21=60'] Exploring Operation: 59-3=56, Resulting Numbers: [60, 56] Generated Node #0,3,0: 61:[60, 56] Operation: 59-3=56 Exploring Operation: 60-3=57, Resulting Numbers: [59, 57] Generated Node #0,3,1: 61:[59, 57] Operation: 60-3=57 Exploring Operation: 3+60=63, Resulting Numbers: [59, 63] Generated Node #0,3,2: 61:[59, 63] Operation: 3+60=63 Exploring Operation: 3+59=62, Resulting Numbers: [60, 62] Generated Node #0,3,3: 61:[60, 62] Operation: 3+59=62 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 61:[60, 62], Operations: ['39+21=60', '3+59=62'] Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,61 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[59, 63], Operations: ['39+21=60', '3+60=63'] Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 59*63=3717, Resulting Numbers: [3717] 3717,61 unequal: No Solution Exploring Operation: 59+63=122, Resulting Numbers: [122] 122,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[60, 56], Operations: ['39+21=60', '59-3=56'] Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[59, 57], Operations: ['39+21=60', '60-3=57'] Exploring Operation: 59+57=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 59*57=3363, Resulting Numbers: [3363] 3363,61 unequal: No Solution Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,61 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
[ 65, 28, 87, 32 ]
92
[ "65-28=37", "87-32=55", "37+55=92" ]
Current State: 92:[65, 28, 87, 32], Operations: [] Exploring Operation: 65-28=37, Resulting Numbers: [87, 32, 37] Generated Node #2: [87, 32, 37] from Operation: 65-28=37 Current State: 92:[87, 32, 37], Operations: ['65-28=37'] Exploring Operation: 87-32=55, Resulting Numbers: [37, 55] Generated Node #3: [37, 55] from Operation: 87-32=55 Current State: 92:[37, 55], Operations: ['65-28=37', '87-32=55'] Exploring Operation: 37+55=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[65, 28, 87, 32], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [28, 32, 22] Generated Node #0,0: 92:[28, 32, 22] Operation: 87-65=22 Exploring Operation: 65+28=93, Resulting Numbers: [87, 32, 93] Generated Node #0,1: 92:[87, 32, 93] Operation: 65+28=93 Moving to Node #0,0 Current State: 92:[28, 32, 22], Operations: ['87-65=22'] Exploring Operation: 28-22=6, Resulting Numbers: [32, 6] Generated Node #0,0,0: 92:[32, 6] Operation: 28-22=6 Exploring Operation: 32-28=4, Resulting Numbers: [22, 4] Generated Node #0,0,1: 92:[22, 4] Operation: 32-28=4 Moving to Node #0,1 Current State: 92:[87, 32, 93], Operations: ['65+28=93'] Exploring Operation: 87-32=55, Resulting Numbers: [93, 55] Generated Node #0,1,0: 92:[93, 55] Operation: 87-32=55 Exploring Operation: 93-87=6, Resulting Numbers: [32, 6] Generated Node #0,1,1: 92:[32, 6] Operation: 93-87=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[93, 55], Operations: ['65+28=93', '87-32=55'] Exploring Operation: 93-55=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 93+55=148, Resulting Numbers: [148] 148,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[32, 6], Operations: ['65+28=93', '93-87=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,92 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: 92:[22, 4], Operations: ['87-65=22', '32-28=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[32, 6], Operations: ['87-65=22', '28-22=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,92 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 99, 11, 34, 17 ]
93
[ "99+11=110", "34-17=17", "110-17=93" ]
Current State: 93:[99, 11, 34, 17], Operations: [] Exploring Operation: 99+11=110, Resulting Numbers: [34, 17, 110] Generated Node #2: [34, 17, 110] from Operation: 99+11=110 Current State: 93:[34, 17, 110], Operations: ['99+11=110'] Exploring Operation: 34-17=17, Resulting Numbers: [110, 17] Generated Node #3: [110, 17] from Operation: 34-17=17 Current State: 93:[110, 17], Operations: ['99+11=110', '34-17=17'] Exploring Operation: 110-17=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[99, 11, 34, 17], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [99, 11, 2] Generated Node #0,0: 93:[99, 11, 2] Operation: 34/17=2 Exploring Operation: 17-11=6, Resulting Numbers: [99, 34, 6] Generated Node #0,1: 93:[99, 34, 6] Operation: 17-11=6 Exploring Operation: 11+17=28, Resulting Numbers: [99, 34, 28] Generated Node #0,2: 93:[99, 34, 28] Operation: 11+17=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[99, 34, 6], Operations: ['17-11=6'] Exploring Operation: 34-6=28, Resulting Numbers: [99, 28] Generated Node #0,1,0: 93:[99, 28] Operation: 34-6=28 Exploring Operation: 99-6=93, Resulting Numbers: [34, 93] Generated Node #0,1,1: 93:[34, 93] Operation: 99-6=93 Exploring Operation: 99+6=105, Resulting Numbers: [34, 105] Generated Node #0,1,2: 93:[34, 105] Operation: 99+6=105 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[34, 93], Operations: ['17-11=6', '99-6=93'] Exploring Operation: 34*93=3162, Resulting Numbers: [3162] 3162,93 unequal: No Solution Exploring Operation: 34+93=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,93 unequal: No Solution No 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: 93:[99, 28], Operations: ['17-11=6', '34-6=28'] Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,93 unequal: No Solution Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,93 unequal: No Solution No 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: 93:[34, 105], Operations: ['17-11=6', '99+6=105'] Exploring Operation: 34+105=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 34*105=3570, Resulting Numbers: [3570] 3570,93 unequal: No Solution Exploring Operation: 105-34=71, Resulting Numbers: [71] 71,93 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: 93:[99, 34, 28], Operations: ['11+17=28'] Exploring Operation: 34-28=6, Resulting Numbers: [99, 6] Generated Node #0,2,0: 93:[99, 6] Operation: 34-28=6 Exploring Operation: 99-28=71, Resulting Numbers: [34, 71] Generated Node #0,2,1: 93:[34, 71] Operation: 99-28=71 Exploring Operation: 99-34=65, Resulting Numbers: [28, 65] Generated Node #0,2,2: 93:[28, 65] Operation: 99-34=65 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[99, 6], Operations: ['11+17=28', '34-28=6'] Exploring Operation: 99*6=594, Resulting Numbers: [594] 594,93 unequal: No Solution Exploring Operation: 99+6=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[99, 11, 34, 17], Operations: [] Exploring Operation: 11+17=28, Resulting Numbers: [99, 34, 28] Generated Node #0,2: 93:[99, 34, 28] Operation: 11+17=28 Moving to Node #0,2 Current State: 93:[99, 34, 28], Operations: ['11+17=28'] Exploring Operation: 34-28=6, Resulting Numbers: [99, 6] Generated Node #0,2,0: 93:[99, 6] Operation: 34-28=6 Moving to Node #0,2,0 Current State: 93:[99, 6], Operations: ['11+17=28', '34-28=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 3, 52, 9, 31 ]
32
[ "3*31=93", "52+9=61", "93-61=32" ]
Current State: 32:[3, 52, 9, 31], Operations: [] Exploring Operation: 3*31=93, Resulting Numbers: [52, 9, 93] Generated Node #2: [52, 9, 93] from Operation: 3*31=93 Current State: 32:[52, 9, 93], Operations: ['3*31=93'] Exploring Operation: 52+9=61, Resulting Numbers: [93, 61] Generated Node #3: [93, 61] from Operation: 52+9=61 Current State: 32:[93, 61], Operations: ['3*31=93', '52+9=61'] Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[3, 52, 9, 31], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [3, 9, 21] Generated Node #0,0: 32:[3, 9, 21] Operation: 52-31=21 Exploring Operation: 52-3=49, Resulting Numbers: [9, 31, 49] Generated Node #0,1: 32:[9, 31, 49] Operation: 52-3=49 Exploring Operation: 52-9=43, Resulting Numbers: [3, 31, 43] Generated Node #0,2: 32:[3, 31, 43] Operation: 52-9=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[3, 9, 21], Operations: ['52-31=21'] Exploring Operation: 21-3=18, Resulting Numbers: [9, 18] Generated Node #0,0,0: 32:[9, 18] Operation: 21-3=18 Exploring Operation: 21/3=7, Resulting Numbers: [9, 7] Generated Node #0,0,1: 32:[9, 7] Operation: 21/3=7 Exploring Operation: 9+21=30, Resulting Numbers: [3, 30] Generated Node #0,0,2: 32:[3, 30] Operation: 9+21=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[9, 7], Operations: ['52-31=21', '21/3=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,32 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,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:[9, 18], Operations: ['52-31=21', '21-3=18'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,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:[3, 30], Operations: ['52-31=21', '9+21=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,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,2 Current State: 32:[3, 31, 43], Operations: ['52-9=43'] Exploring Operation: 3+31=34, Resulting Numbers: [43, 34] Generated Node #0,2,0: 32:[43, 34] Operation: 3+31=34 Exploring Operation: 43-31=12, Resulting Numbers: [3, 12] Generated Node #0,2,1: 32:[3, 12] Operation: 43-31=12 Exploring Operation: 43-3=40, Resulting Numbers: [31, 40] Generated Node #0,2,2: 32:[31, 40] Operation: 43-3=40 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 32:[3, 12], Operations: ['52-9=43', '43-31=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,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:[31, 40], Operations: ['52-9=43', '43-3=40'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,32 unequal: No Solution Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,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:[43, 34], Operations: ['52-9=43', '3+31=34'] Exploring Operation: 43*34=1462, Resulting Numbers: [1462] 1462,32 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,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:[9, 31, 49], Operations: ['52-3=49'] Exploring Operation: 31-9=22, Resulting Numbers: [49, 22] Generated Node #0,1,0: 32:[49, 22] Operation: 31-9=22 Exploring Operation: 49-31=18, Resulting Numbers: [9, 18] Generated Node #0,1,1: 32:[9, 18] Operation: 49-31=18 Exploring Operation: 49-9=40, Resulting Numbers: [31, 40] Generated Node #0,1,2: 32:[31, 40] Operation: 49-9=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[9, 18], Operations: ['52-3=49', '49-31=18'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,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,1,2 Current State: 32:[31, 40], Operations: ['52-3=49', '49-9=40'] Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,32 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,32 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,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,1,0 Current State: 32:[49, 22], Operations: ['52-3=49', '31-9=22'] Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,32 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,32 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 92, 81, 55, 11 ]
33
[ "92-81=11", "55-11=44", "44-11=33" ]
Current State: 33:[92, 81, 55, 11], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [55, 11, 11] Generated Node #2: [55, 11, 11] from Operation: 92-81=11 Current State: 33:[55, 11, 11], Operations: ['92-81=11'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,33 equal: Goal Reached Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[92, 81, 55, 11], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [55, 11, 11] Generated Node #0,0: 33:[55, 11, 11] Operation: 92-81=11 Exploring Operation: 81-55=26, Resulting Numbers: [92, 11, 26] Generated Node #0,1: 33:[92, 11, 26] Operation: 81-55=26 Exploring Operation: 92-55=37, Resulting Numbers: [81, 11, 37] Generated Node #0,2: 33:[81, 11, 37] Operation: 92-55=37 Moving to Node #0,0 Current State: 33:[55, 11, 11], Operations: ['92-81=11'] Exploring Operation: 55/11=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 33:[11, 5] Operation: 55/11=5 Exploring Operation: 55-11=44, Resulting Numbers: [11, 44] Generated Node #0,0,1: 33:[11, 44] Operation: 55-11=44 Exploring Operation: 55/11=5, Resulting Numbers: [11, 5] Generated Node #0,0,2: 33:[11, 5] Operation: 55/11=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[11, 5], Operations: ['92-81=11', '55/11=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[11, 5], Operations: ['92-81=11', '55/11=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[11, 44], Operations: ['92-81=11', '55-11=44'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[92, 81, 55, 11], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [55, 11, 11] Generated Node #0,0: 33:[55, 11, 11] Operation: 92-81=11 Moving to Node #0,0 Current State: 33:[55, 11, 11], Operations: ['92-81=11'] Exploring Operation: 55-11=44, Resulting Numbers: [11, 44] Generated Node #0,0,1: 33:[11, 44] Operation: 55-11=44 Moving to Node #0,0,1 Current State: 33:[11, 44], Operations: ['92-81=11', '55-11=44'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 7, 34, 24, 32 ]
10
[ "34-32=2", "7*2=14", "24-14=10" ]
Current State: 10:[7, 34, 24, 32], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [7, 24, 2] Generated Node #2: [7, 24, 2] from Operation: 34-32=2 Current State: 10:[7, 24, 2], Operations: ['34-32=2'] Exploring Operation: 7*2=14, Resulting Numbers: [24, 14] Generated Node #3: [24, 14] from Operation: 7*2=14 Current State: 10:[24, 14], Operations: ['34-32=2', '7*2=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[7, 34, 24, 32], Operations: [] Exploring Operation: 34-7=27, Resulting Numbers: [24, 32, 27] Generated Node #0,0: 10:[24, 32, 27] Operation: 34-7=27 Exploring Operation: 24-7=17, Resulting Numbers: [34, 32, 17] Generated Node #0,1: 10:[34, 32, 17] Operation: 24-7=17 Exploring Operation: 32-24=8, Resulting Numbers: [7, 34, 8] Generated Node #0,2: 10:[7, 34, 8] Operation: 32-24=8 Exploring Operation: 34-32=2, Resulting Numbers: [7, 24, 2] Generated Node #0,3: 10:[7, 24, 2] Operation: 34-32=2 Exploring Operation: 34-24=10, Resulting Numbers: [7, 32, 10] Generated Node #0,4: 10:[7, 32, 10] Operation: 34-24=10 Moving to Node #0,3 Current State: 10:[7, 24, 2], Operations: ['34-32=2'] Exploring Operation: 7-2=5, Resulting Numbers: [24, 5] Generated Node #0,3,0: 10:[24, 5] Operation: 7-2=5 Exploring Operation: 24/2=12, Resulting Numbers: [7, 12] Generated Node #0,3,1: 10:[7, 12] Operation: 24/2=12 Exploring Operation: 7+2=9, Resulting Numbers: [24, 9] Generated Node #0,3,2: 10:[24, 9] Operation: 7+2=9 Exploring Operation: 24-2=22, Resulting Numbers: [7, 22] Generated Node #0,3,3: 10:[7, 22] Operation: 24-2=22 Exploring Operation: 24-7=17, Resulting Numbers: [2, 17] Generated Node #0,3,4: 10:[2, 17] Operation: 24-7=17 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[7, 12], Operations: ['34-32=2', '24/2=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 10:[2, 17], Operations: ['34-32=2', '24-7=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[24, 5], Operations: ['34-32=2', '7-2=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 10:[7, 22], Operations: ['34-32=2', '24-2=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,10 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 10:[24, 9], Operations: ['34-32=2', '7+2=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,10 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,10 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: 10:[7, 32, 10], Operations: ['34-24=10'] Exploring Operation: 7+10=17, Resulting Numbers: [32, 17] Generated Node #0,4,0: 10:[32, 17] Operation: 7+10=17 Exploring Operation: 7+32=39, Resulting Numbers: [10, 39] Generated Node #0,4,1: 10:[10, 39] Operation: 7+32=39 Exploring Operation: 32-10=22, Resulting Numbers: [7, 22] Generated Node #0,4,2: 10:[7, 22] Operation: 32-10=22 Exploring Operation: 32-7=25, Resulting Numbers: [10, 25] Generated Node #0,4,3: 10:[10, 25] Operation: 32-7=25 Exploring Operation: 10-7=3, Resulting Numbers: [32, 3] Generated Node #0,4,4: 10:[32, 3] Operation: 10-7=3 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 10:[7, 22], Operations: ['34-24=10', '32-10=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 10:[10, 25], Operations: ['34-24=10', '32-7=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 10:[32, 3], Operations: ['34-24=10', '10-7=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 10:[32, 17], Operations: ['34-24=10', '7+10=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 10:[10, 39], Operations: ['34-24=10', '7+32=39'] Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,10 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: 10:[7, 34, 8], Operations: ['32-24=8'] Exploring Operation: 7+34=41, Resulting Numbers: [8, 41] Generated Node #0,2,0: 10:[8, 41] Operation: 7+34=41 Exploring Operation: 8-7=1, Resulting Numbers: [34, 1] Generated Node #0,2,1: 10:[34, 1] Operation: 8-7=1 Exploring Operation: 34-7=27, Resulting Numbers: [8, 27] Generated Node #0,2,2: 10:[8, 27] Operation: 34-7=27 Exploring Operation: 34-8=26, Resulting Numbers: [7, 26] Generated Node #0,2,3: 10:[7, 26] Operation: 34-8=26 Exploring Operation: 7+8=15, Resulting Numbers: [34, 15] Generated Node #0,2,4: 10:[34, 15] Operation: 7+8=15 Moving to Node #0,0 Current State: 10:[24, 32, 27], Operations: ['34-7=27'] Exploring Operation: 32-24=8, Resulting Numbers: [27, 8] Generated Node #0,0,0: 10:[27, 8] Operation: 32-24=8 Exploring Operation: 32-27=5, Resulting Numbers: [24, 5] Generated Node #0,0,1: 10:[24, 5] Operation: 32-27=5 Exploring Operation: 24+32=56, Resulting Numbers: [27, 56] Generated Node #0,0,2: 10:[27, 56] Operation: 24+32=56 Exploring Operation: 27-24=3, Resulting Numbers: [32, 3] Generated Node #0,0,3: 10:[32, 3] Operation: 27-24=3 Exploring Operation: 24+27=51, Resulting Numbers: [32, 51] Generated Node #0,0,4: 10:[32, 51] Operation: 24+27=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[24, 5], Operations: ['34-7=27', '32-27=5'] Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[27, 8], Operations: ['34-7=27', '32-24=8'] Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,10 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 10:[32, 3], Operations: ['34-7=27', '27-24=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[27, 56], Operations: ['34-7=27', '24+32=56'] Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,10 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 10:[32, 51], Operations: ['34-7=27', '24+27=51'] Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 32*51=1632, Resulting Numbers: [1632] 1632,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 10:[34, 32, 17], Operations: ['24-7=17'] Exploring Operation: 34-17=17, Resulting Numbers: [32, 17] Generated Node #0,1,0: 10:[32, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 10:[32, 2] Operation: 34/17=2 Exploring Operation: 32-17=15, Resulting Numbers: [34, 15] Generated Node #0,1,2: 10:[34, 15] Operation: 32-17=15 Exploring Operation: 34-32=2, Resulting Numbers: [17, 2] Generated Node #0,1,3: 10:[17, 2] Operation: 34-32=2 Exploring Operation: 34+32=66, Resulting Numbers: [17, 66] Generated Node #0,1,4: 10:[17, 66] Operation: 34+32=66 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[17, 2], Operations: ['24-7=17', '34-32=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[32, 2], Operations: ['24-7=17', '34/17=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[32, 17], Operations: ['24-7=17', '34-17=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,10 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[34, 15], Operations: ['24-7=17', '32-17=15'] Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,10 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[17, 66], Operations: ['24-7=17', '34+32=66'] Exploring Operation: 17+66=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 17*66=1122, Resulting Numbers: [1122] 1122,10 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 10:[7, 26], Operations: ['32-24=8', '34-8=26'] Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,10 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[8, 27], Operations: ['32-24=8', '34-7=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[34, 1], Operations: ['32-24=8', '8-7=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[34, 15], Operations: ['32-24=8', '7+8=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[8, 41], Operations: ['32-24=8', '7+34=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,10 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 27, 75, 28, 91 ]
71
[ "75-27=48", "28+91=119", "119-48=71" ]
Current State: 71:[27, 75, 28, 91], Operations: [] Exploring Operation: 75-27=48, Resulting Numbers: [28, 91, 48] Generated Node #2: [28, 91, 48] from Operation: 75-27=48 Current State: 71:[28, 91, 48], Operations: ['75-27=48'] Exploring Operation: 28+91=119, Resulting Numbers: [48, 119] Generated Node #3: [48, 119] from Operation: 28+91=119 Current State: 71:[48, 119], Operations: ['75-27=48', '28+91=119'] Exploring Operation: 119-48=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[27, 75, 28, 91], Operations: [] Exploring Operation: 91-28=63, Resulting Numbers: [27, 75, 63] Generated Node #0,0: 71:[27, 75, 63] Operation: 91-28=63 Exploring Operation: 91-27=64, Resulting Numbers: [75, 28, 64] Generated Node #0,1: 71:[75, 28, 64] Operation: 91-27=64 Exploring Operation: 75-27=48, Resulting Numbers: [28, 91, 48] Generated Node #0,2: 71:[28, 91, 48] Operation: 75-27=48 Exploring Operation: 27+28=55, Resulting Numbers: [75, 91, 55] Generated Node #0,3: 71:[75, 91, 55] Operation: 27+28=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[75, 91, 55], Operations: ['27+28=55'] Exploring Operation: 91-75=16, Resulting Numbers: [55, 16] Generated Node #0,3,0: 71:[55, 16] Operation: 91-75=16 Exploring Operation: 75+55=130, Resulting Numbers: [91, 130] Generated Node #0,3,1: 71:[91, 130] Operation: 75+55=130 Exploring Operation: 91-55=36, Resulting Numbers: [75, 36] Generated Node #0,3,2: 71:[75, 36] Operation: 91-55=36 Exploring Operation: 75-55=20, Resulting Numbers: [91, 20] Generated Node #0,3,3: 71:[91, 20] Operation: 75-55=20 Moving to Node #0,3,2 Current State: 71:[75, 36], Operations: ['27+28=55', '91-55=36'] Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,71 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[91, 20], Operations: ['27+28=55', '75-55=20'] Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,71 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[27, 75, 28, 91], Operations: [] Exploring Operation: 27+28=55, Resulting Numbers: [75, 91, 55] Generated Node #0,3: 71:[75, 91, 55] Operation: 27+28=55 Moving to Node #0,3 Current State: 71:[75, 91, 55], Operations: ['27+28=55'] Exploring Operation: 75-55=20, Resulting Numbers: [91, 20] Generated Node #0,3,3: 71:[91, 20] Operation: 75-55=20 Moving to Node #0,3,3 Current State: 71:[91, 20], Operations: ['27+28=55', '75-55=20'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 12, 30, 29, 71 ]
24
[ "30-12=18", "71-29=42", "42-18=24" ]
Current State: 24:[12, 30, 29, 71], Operations: [] Exploring Operation: 30-12=18, Resulting Numbers: [29, 71, 18] Generated Node #2: [29, 71, 18] from Operation: 30-12=18 Current State: 24:[29, 71, 18], Operations: ['30-12=18'] Exploring Operation: 71-29=42, Resulting Numbers: [18, 42] Generated Node #3: [18, 42] from Operation: 71-29=42 Current State: 24:[18, 42], Operations: ['30-12=18', '71-29=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[12, 30, 29, 71], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [12, 30, 42] Generated Node #0,0: 24:[12, 30, 42] Operation: 71-29=42 Exploring Operation: 71-12=59, Resulting Numbers: [30, 29, 59] Generated Node #0,1: 24:[30, 29, 59] Operation: 71-12=59 Exploring Operation: 30-29=1, Resulting Numbers: [12, 71, 1] Generated Node #0,2: 24:[12, 71, 1] Operation: 30-29=1 Exploring Operation: 71-30=41, Resulting Numbers: [12, 29, 41] Generated Node #0,3: 24:[12, 29, 41] Operation: 71-30=41 Moving to Node #0,3 Current State: 24:[12, 29, 41], Operations: ['71-30=41'] Exploring Operation: 12+29=41, Resulting Numbers: [41, 41] Generated Node #0,3,0: 24:[41, 41] Operation: 12+29=41 Exploring Operation: 29-12=17, Resulting Numbers: [41, 17] Generated Node #0,3,1: 24:[41, 17] Operation: 29-12=17 Exploring Operation: 41-29=12, Resulting Numbers: [12, 12] Generated Node #0,3,2: 24:[12, 12] Operation: 41-29=12 Exploring Operation: 41-12=29, Resulting Numbers: [29, 29] Generated Node #0,3,3: 24:[29, 29] Operation: 41-12=29 Moving to Node #0,0 Current State: 24:[12, 30, 42], Operations: ['71-29=42'] Exploring Operation: 42-12=30, Resulting Numbers: [30, 30] Generated Node #0,0,0: 24:[30, 30] Operation: 42-12=30 Exploring Operation: 12+30=42, Resulting Numbers: [42, 42] Generated Node #0,0,1: 24:[42, 42] Operation: 12+30=42 Exploring Operation: 30-12=18, Resulting Numbers: [42, 18] Generated Node #0,0,2: 24:[42, 18] Operation: 30-12=18 Exploring Operation: 42-30=12, Resulting Numbers: [12, 12] Generated Node #0,0,3: 24:[12, 12] Operation: 42-30=12 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[12, 12], Operations: ['71-29=42', '42-30=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[12, 30, 29, 71], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [12, 30, 42] Generated Node #0,0: 24:[12, 30, 42] Operation: 71-29=42 Moving to Node #0,0 Current State: 24:[12, 30, 42], Operations: ['71-29=42'] Exploring Operation: 42-30=12, Resulting Numbers: [12, 12] Generated Node #0,0,3: 24:[12, 12] Operation: 42-30=12 Moving to Node #0,0,3 Current State: 24:[12, 12], Operations: ['71-29=42', '42-30=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 22, 16, 9, 51 ]
22
[ "22+16=38", "9+51=60", "60-38=22" ]
Current State: 22:[22, 16, 9, 51], Operations: [] Exploring Operation: 22+16=38, Resulting Numbers: [9, 51, 38] Generated Node #2: [9, 51, 38] from Operation: 22+16=38 Current State: 22:[9, 51, 38], Operations: ['22+16=38'] Exploring Operation: 9+51=60, Resulting Numbers: [38, 60] Generated Node #3: [38, 60] from Operation: 9+51=60 Current State: 22:[38, 60], Operations: ['22+16=38', '9+51=60'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[22, 16, 9, 51], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [16, 9, 29] Generated Node #0,0: 22:[16, 9, 29] Operation: 51-22=29 Exploring Operation: 51-16=35, Resulting Numbers: [22, 9, 35] Generated Node #0,1: 22:[22, 9, 35] Operation: 51-16=35 Moving to Node #0,0 Current State: 22:[16, 9, 29], Operations: ['51-22=29'] Exploring Operation: 29-16=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 22:[9, 13] Operation: 29-16=13 Exploring Operation: 29-9=20, Resulting Numbers: [16, 20] Generated Node #0,0,1: 22:[16, 20] Operation: 29-9=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[9, 13], Operations: ['51-22=29', '29-16=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[22, 16, 9, 51], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [16, 9, 29] Generated Node #0,0: 22:[16, 9, 29] Operation: 51-22=29 Moving to Node #0,0 Current State: 22:[16, 9, 29], Operations: ['51-22=29'] Exploring Operation: 29-16=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 22:[9, 13] Operation: 29-16=13 Moving to Node #0,0,0 Current State: 22:[9, 13], Operations: ['51-22=29', '29-16=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 18, 28, 35, 33 ]
38
[ "35-33=2", "28*2=56", "56-18=38" ]
Current State: 38:[18, 28, 35, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [18, 28, 2] Generated Node #2: [18, 28, 2] from Operation: 35-33=2 Current State: 38:[18, 28, 2], Operations: ['35-33=2'] Exploring Operation: 28*2=56, Resulting Numbers: [18, 56] Generated Node #3: [18, 56] from Operation: 28*2=56 Current State: 38:[18, 56], Operations: ['35-33=2', '28*2=56'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[18, 28, 35, 33], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [18, 33, 7] Generated Node #0,0: 38:[18, 33, 7] Operation: 35-28=7 Exploring Operation: 18+28=46, Resulting Numbers: [35, 33, 46] Generated Node #0,1: 38:[35, 33, 46] Operation: 18+28=46 Exploring Operation: 33-28=5, Resulting Numbers: [18, 35, 5] Generated Node #0,2: 38:[18, 35, 5] Operation: 33-28=5 Exploring Operation: 35-33=2, Resulting Numbers: [18, 28, 2] Generated Node #0,3: 38:[18, 28, 2] Operation: 35-33=2 Exploring Operation: 28-18=10, Resulting Numbers: [35, 33, 10] Generated Node #0,4: 38:[35, 33, 10] Operation: 28-18=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[18, 35, 5], Operations: ['33-28=5'] Exploring Operation: 35+5=40, Resulting Numbers: [18, 40] Generated Node #0,2,0: 38:[18, 40] Operation: 35+5=40 Exploring Operation: 35-18=17, Resulting Numbers: [5, 17] Generated Node #0,2,1: 38:[5, 17] Operation: 35-18=17 Exploring Operation: 18-5=13, Resulting Numbers: [35, 13] Generated Node #0,2,2: 38:[35, 13] Operation: 18-5=13 Exploring Operation: 35/5=7, Resulting Numbers: [18, 7] Generated Node #0,2,3: 38:[18, 7] Operation: 35/5=7 Exploring Operation: 18+5=23, Resulting Numbers: [35, 23] Generated Node #0,2,4: 38:[35, 23] Operation: 18+5=23 Moving to Node #0,2,0 Current State: 38:[18, 40], Operations: ['33-28=5', '35+5=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,38 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[5, 17], Operations: ['33-28=5', '35-18=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,38 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[18, 7], Operations: ['33-28=5', '35/5=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,38 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[35, 23], Operations: ['33-28=5', '18+5=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,38 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[35, 13], Operations: ['33-28=5', '18-5=13'] Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,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,3 Current State: 38:[18, 28, 2], Operations: ['35-33=2'] Exploring Operation: 28-18=10, Resulting Numbers: [2, 10] Generated Node #0,3,0: 38:[2, 10] Operation: 28-18=10 Exploring Operation: 28+2=30, Resulting Numbers: [18, 30] Generated Node #0,3,1: 38:[18, 30] Operation: 28+2=30 Exploring Operation: 28/2=14, Resulting Numbers: [18, 14] Generated Node #0,3,2: 38:[18, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [18, 26] Generated Node #0,3,3: 38:[18, 26] Operation: 28-2=26 Exploring Operation: 18+28=46, Resulting Numbers: [2, 46] Generated Node #0,3,4: 38:[2, 46] Operation: 18+28=46 Moving to Node #0,3,2 Current State: 38:[18, 14], Operations: ['35-33=2', '28/2=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[18, 26], Operations: ['35-33=2', '28-2=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,38 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[2, 10], Operations: ['35-33=2', '28-18=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,38 unequal: No Solution Moving to Node #0,3,4 Current State: 38:[2, 46], Operations: ['35-33=2', '18+28=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,38 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[18, 30], Operations: ['35-33=2', '28+2=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,38 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,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 Current State: 38:[18, 33, 7], Operations: ['35-28=7'] Exploring Operation: 18-7=11, Resulting Numbers: [33, 11] Generated Node #0,0,0: 38:[33, 11] Operation: 18-7=11 Exploring Operation: 18+7=25, Resulting Numbers: [33, 25] Generated Node #0,0,1: 38:[33, 25] Operation: 18+7=25 Exploring Operation: 33+7=40, Resulting Numbers: [18, 40] Generated Node #0,0,2: 38:[18, 40] Operation: 33+7=40 Exploring Operation: 33-7=26, Resulting Numbers: [18, 26] Generated Node #0,0,3: 38:[18, 26] Operation: 33-7=26 Exploring Operation: 33-18=15, Resulting Numbers: [7, 15] Generated Node #0,0,4: 38:[7, 15] Operation: 33-18=15 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[18, 40], Operations: ['35-28=7', '33+7=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[18, 26], Operations: ['35-28=7', '33-7=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,38 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 38:[7, 15], Operations: ['35-28=7', '33-18=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[33, 25], Operations: ['35-28=7', '18+7=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[33, 11], Operations: ['35-28=7', '18-7=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[35, 33, 46], Operations: ['18+28=46'] Exploring Operation: 35+33=68, Resulting Numbers: [46, 68] Generated Node #0,1,0: 38:[46, 68] Operation: 35+33=68 Exploring Operation: 46-35=11, Resulting Numbers: [33, 11] Generated Node #0,1,1: 38:[33, 11] Operation: 46-35=11 Exploring Operation: 33+46=79, Resulting Numbers: [35, 79] Generated Node #0,1,2: 38:[35, 79] Operation: 33+46=79 Exploring Operation: 46-33=13, Resulting Numbers: [35, 13] Generated Node #0,1,3: 38:[35, 13] Operation: 46-33=13 Exploring Operation: 35-33=2, Resulting Numbers: [46, 2] Generated Node #0,1,4: 38:[46, 2] Operation: 35-33=2 Moving to Node #0,1,4 Current State: 38:[46, 2], Operations: ['18+28=46', '35-33=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,38 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[35, 13], Operations: ['18+28=46', '46-33=13'] Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,38 unequal: No Solution Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[33, 11], Operations: ['18+28=46', '46-35=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,38 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[46, 68], Operations: ['18+28=46', '35+33=68'] Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,38 unequal: No Solution Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,38 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[35, 79], Operations: ['18+28=46', '33+46=79'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,38 unequal: No Solution Exploring Operation: 35*79=2765, Resulting Numbers: [2765] 2765,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,4 Current State: 38:[35, 33, 10], Operations: ['28-18=10'] Exploring Operation: 33+10=43, Resulting Numbers: [35, 43] Generated Node #0,4,0: 38:[35, 43] Operation: 33+10=43 Exploring Operation: 35-33=2, Resulting Numbers: [10, 2] Generated Node #0,4,1: 38:[10, 2] Operation: 35-33=2 Exploring Operation: 33-10=23, Resulting Numbers: [35, 23] Generated Node #0,4,2: 38:[35, 23] Operation: 33-10=23 Exploring Operation: 35+10=45, Resulting Numbers: [33, 45] Generated Node #0,4,3: 38:[33, 45] Operation: 35+10=45 Exploring Operation: 35-10=25, Resulting Numbers: [33, 25] Generated Node #0,4,4: 38:[33, 25] Operation: 35-10=25 Moving to Node #0,4,2 Current State: 38:[35, 23], Operations: ['28-18=10', '33-10=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,38 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,38 unequal: No Solution Moving to Node #0,4,1 Current State: 38:[10, 2], Operations: ['28-18=10', '35-33=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,38 unequal: No Solution Moving to Node #0,4,0 Current State: 38:[35, 43], Operations: ['28-18=10', '33+10=43'] Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,38 unequal: No Solution Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,38 unequal: No Solution Moving to Node #0,4,4 Current State: 38:[33, 25], Operations: ['28-18=10', '35-10=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,38 unequal: No Solution Moving to Node #0,4,3 Current State: 38:[33, 45], Operations: ['28-18=10', '35+10=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,38 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,38 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
[ 28, 53, 18, 79 ]
86
[ "53-28=25", "79-18=61", "25+61=86" ]
Current State: 86:[28, 53, 18, 79], Operations: [] Exploring Operation: 53-28=25, Resulting Numbers: [18, 79, 25] Generated Node #2: [18, 79, 25] from Operation: 53-28=25 Current State: 86:[18, 79, 25], Operations: ['53-28=25'] Exploring Operation: 79-18=61, Resulting Numbers: [25, 61] Generated Node #3: [25, 61] from Operation: 79-18=61 Current State: 86:[25, 61], Operations: ['53-28=25', '79-18=61'] Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[28, 53, 18, 79], Operations: [] Exploring Operation: 28+18=46, Resulting Numbers: [53, 79, 46] Generated Node #0,0: 86:[53, 79, 46] Operation: 28+18=46 Exploring Operation: 28-18=10, Resulting Numbers: [53, 79, 10] Generated Node #0,1: 86:[53, 79, 10] Operation: 28-18=10 Exploring Operation: 28+53=81, Resulting Numbers: [18, 79, 81] Generated Node #0,2: 86:[18, 79, 81] Operation: 28+53=81 Exploring Operation: 53-18=35, Resulting Numbers: [28, 79, 35] Generated Node #0,3: 86:[28, 79, 35] Operation: 53-18=35 Moving to Node #0,0 Current State: 86:[53, 79, 46], Operations: ['28+18=46'] Exploring Operation: 79-46=33, Resulting Numbers: [53, 33] Generated Node #0,0,0: 86:[53, 33] Operation: 79-46=33 Exploring Operation: 79-53=26, Resulting Numbers: [46, 26] Generated Node #0,0,1: 86:[46, 26] Operation: 79-53=26 Exploring Operation: 53-46=7, Resulting Numbers: [79, 7] Generated Node #0,0,2: 86:[79, 7] Operation: 53-46=7 Exploring Operation: 53+46=99, Resulting Numbers: [79, 99] Generated Node #0,0,3: 86:[79, 99] Operation: 53+46=99 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[79, 7], Operations: ['28+18=46', '53-46=7'] Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 79*7=553, Resulting Numbers: [553] 553,86 unequal: No Solution Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[28, 53, 18, 79], Operations: [] Exploring Operation: 28+18=46, Resulting Numbers: [53, 79, 46] Generated Node #0,0: 86:[53, 79, 46] Operation: 28+18=46 Moving to Node #0,0 Current State: 86:[53, 79, 46], Operations: ['28+18=46'] Exploring Operation: 53-46=7, Resulting Numbers: [79, 7] Generated Node #0,0,2: 86:[79, 7] Operation: 53-46=7 Moving to Node #0,0,2 Current State: 86:[79, 7], Operations: ['28+18=46', '53-46=7'] Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 93, 59, 20, 87 ]
73
[ "93-59=34", "20+87=107", "107-34=73" ]
Current State: 73:[93, 59, 20, 87], Operations: [] Exploring Operation: 93-59=34, Resulting Numbers: [20, 87, 34] Generated Node #2: [20, 87, 34] from Operation: 93-59=34 Current State: 73:[20, 87, 34], Operations: ['93-59=34'] Exploring Operation: 20+87=107, Resulting Numbers: [34, 107] Generated Node #3: [34, 107] from Operation: 20+87=107 Current State: 73:[34, 107], Operations: ['93-59=34', '20+87=107'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[93, 59, 20, 87], Operations: [] Exploring Operation: 93-20=73, Resulting Numbers: [59, 87, 73] Generated Node #0,0: 73:[59, 87, 73] Operation: 93-20=73 Exploring Operation: 87-20=67, Resulting Numbers: [93, 59, 67] Generated Node #0,1: 73:[93, 59, 67] Operation: 87-20=67 Exploring Operation: 93+20=113, Resulting Numbers: [59, 87, 113] Generated Node #0,2: 73:[59, 87, 113] Operation: 93+20=113 Exploring Operation: 59+20=79, Resulting Numbers: [93, 87, 79] Generated Node #0,3: 73:[93, 87, 79] Operation: 59+20=79 Exploring Operation: 59-20=39, Resulting Numbers: [93, 87, 39] Generated Node #0,4: 73:[93, 87, 39] Operation: 59-20=39 Moving to Node #0,0 Current State: 73:[59, 87, 73], Operations: ['93-20=73'] Exploring Operation: 73-59=14, Resulting Numbers: [87, 14] Generated Node #0,0,0: 73:[87, 14] Operation: 73-59=14 Exploring Operation: 59+73=132, Resulting Numbers: [87, 132] Generated Node #0,0,1: 73:[87, 132] Operation: 59+73=132 Exploring Operation: 87-59=28, Resulting Numbers: [73, 28] Generated Node #0,0,2: 73:[73, 28] Operation: 87-59=28 Exploring Operation: 87-73=14, Resulting Numbers: [59, 14] Generated Node #0,0,3: 73:[59, 14] Operation: 87-73=14 Exploring Operation: 59+87=146, Resulting Numbers: [73, 146] Generated Node #0,0,4: 73:[73, 146] Operation: 59+87=146 Moving to Node #0,3 Current State: 73:[93, 87, 79], Operations: ['59+20=79'] Exploring Operation: 87-79=8, Resulting Numbers: [93, 8] Generated Node #0,3,0: 73:[93, 8] Operation: 87-79=8 Exploring Operation: 93+79=172, Resulting Numbers: [87, 172] Generated Node #0,3,1: 73:[87, 172] Operation: 93+79=172 Exploring Operation: 93+87=180, Resulting Numbers: [79, 180] Generated Node #0,3,2: 73:[79, 180] Operation: 93+87=180 Exploring Operation: 93-87=6, Resulting Numbers: [79, 6] Generated Node #0,3,3: 73:[79, 6] Operation: 93-87=6 Exploring Operation: 93-79=14, Resulting Numbers: [87, 14] Generated Node #0,3,4: 73:[87, 14] Operation: 93-79=14 Moving to Node #0,1 Current State: 73:[93, 59, 67], Operations: ['87-20=67'] Exploring Operation: 93-59=34, Resulting Numbers: [67, 34] Generated Node #0,1,0: 73:[67, 34] Operation: 93-59=34 Exploring Operation: 93-67=26, Resulting Numbers: [59, 26] Generated Node #0,1,1: 73:[59, 26] Operation: 93-67=26 Exploring Operation: 67-59=8, Resulting Numbers: [93, 8] Generated Node #0,1,2: 73:[93, 8] Operation: 67-59=8 Exploring Operation: 59+67=126, Resulting Numbers: [93, 126] Generated Node #0,1,3: 73:[93, 126] Operation: 59+67=126 Exploring Operation: 93+59=152, Resulting Numbers: [67, 152] Generated Node #0,1,4: 73:[67, 152] Operation: 93+59=152 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[67, 34], Operations: ['87-20=67', '93-59=34'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,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:[59, 26], Operations: ['87-20=67', '93-67=26'] Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,73 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,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,3 Current State: 73:[93, 126], Operations: ['87-20=67', '59+67=126'] Exploring Operation: 126-93=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 93*126=11718, Resulting Numbers: [11718] 11718,73 unequal: No Solution Exploring Operation: 93+126=219, Resulting Numbers: [219] 219,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,2 Current State: 73:[93, 8], Operations: ['87-20=67', '67-59=8'] Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 93*8=744, Resulting Numbers: [744] 744,73 unequal: No Solution Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,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,4 Current State: 73:[67, 152], Operations: ['87-20=67', '93+59=152'] Exploring Operation: 67*152=10184, Resulting Numbers: [10184] 10184,73 unequal: No Solution Exploring Operation: 67+152=219, Resulting Numbers: [219] 219,73 unequal: No Solution Exploring Operation: 152-67=85, Resulting Numbers: [85] 85,73 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: 73:[59, 87, 113], Operations: ['93+20=113'] Exploring Operation: 113-87=26, Resulting Numbers: [59, 26] Generated Node #0,2,0: 73:[59, 26] Operation: 113-87=26 Exploring Operation: 59+87=146, Resulting Numbers: [113, 146] Generated Node #0,2,1: 73:[113, 146] Operation: 59+87=146 Exploring Operation: 59+113=172, Resulting Numbers: [87, 172] Generated Node #0,2,2: 73:[87, 172] Operation: 59+113=172 Exploring Operation: 113-59=54, Resulting Numbers: [87, 54] Generated Node #0,2,3: 73:[87, 54] Operation: 113-59=54 Exploring Operation: 87-59=28, Resulting Numbers: [113, 28] Generated Node #0,2,4: 73:[113, 28] Operation: 87-59=28 Moving to Node #0,4 Current State: 73:[93, 87, 39], Operations: ['59-20=39'] Exploring Operation: 87-39=48, Resulting Numbers: [93, 48] Generated Node #0,4,0: 73:[93, 48] Operation: 87-39=48 Exploring Operation: 93+39=132, Resulting Numbers: [87, 132] Generated Node #0,4,1: 73:[87, 132] Operation: 93+39=132 Exploring Operation: 93-39=54, Resulting Numbers: [87, 54] Generated Node #0,4,2: 73:[87, 54] Operation: 93-39=54 Exploring Operation: 93-87=6, Resulting Numbers: [39, 6] Generated Node #0,4,3: 73:[39, 6] Operation: 93-87=6 Exploring Operation: 87+39=126, Resulting Numbers: [93, 126] Generated Node #0,4,4: 73:[93, 126] Operation: 87+39=126 Moving to Node #0,2,3 Current State: 73:[87, 54], Operations: ['93+20=113', '113-59=54'] Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 87*54=4698, Resulting Numbers: [4698] 4698,73 unequal: No Solution Exploring Operation: 87+54=141, Resulting Numbers: [141] 141,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[87, 54], Operations: ['59-20=39', '93-39=54'] Exploring Operation: 87*54=4698, Resulting Numbers: [4698] 4698,73 unequal: No Solution Exploring Operation: 87+54=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[73, 28], Operations: ['93-20=73', '87-59=28'] Exploring Operation: 73+28=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 73*28=2044, Resulting Numbers: [2044] 2044,73 unequal: No Solution Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[93, 48], Operations: ['59-20=39', '87-39=48'] Exploring Operation: 93*48=4464, Resulting Numbers: [4464] 4464,73 unequal: No Solution Exploring Operation: 93+48=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[59, 26], Operations: ['93+20=113', '113-87=26'] Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[87, 14], Operations: ['59+20=79', '93-79=14'] Exploring Operation: 87+14=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[93, 59, 20, 87], Operations: [] Exploring Operation: 59+20=79, Resulting Numbers: [93, 87, 79] Generated Node #0,3: 73:[93, 87, 79] Operation: 59+20=79 Moving to Node #0,3 Current State: 73:[93, 87, 79], Operations: ['59+20=79'] Exploring Operation: 93-79=14, Resulting Numbers: [87, 14] Generated Node #0,3,4: 73:[87, 14] Operation: 93-79=14 Moving to Node #0,3,4 Current State: 73:[87, 14], Operations: ['59+20=79', '93-79=14'] Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.942708
hs_5
mult_heuristic
[ 27, 10, 11, 77 ]
97
[ "10*77=770", "770/11=70", "27+70=97" ]
Current State: 97:[27, 10, 11, 77], Operations: [] Exploring Operation: 10*77=770, Resulting Numbers: [27, 11, 770] Generated Node #2: [27, 11, 770] from Operation: 10*77=770 Current State: 97:[27, 11, 770], Operations: ['10*77=770'] Exploring Operation: 770/11=70, Resulting Numbers: [27, 70] Generated Node #3: [27, 70] from Operation: 770/11=70 Current State: 97:[27, 70], Operations: ['10*77=770', '770/11=70'] Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[27, 10, 11, 77], Operations: [] Exploring Operation: 10*11=110, Resulting Numbers: [27, 77, 110] Generated Node #0,0: 97:[27, 77, 110] Operation: 10*11=110 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[27, 77, 110], Operations: ['10*11=110'] Exploring Operation: 27+77=104, Resulting Numbers: [110, 104] Generated Node #0,0,0: 97:[110, 104] Operation: 27+77=104 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[110, 104], Operations: ['10*11=110', '27+77=104'] Exploring Operation: 110-104=6, Resulting Numbers: [6] 6,97 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
[ 38, 18, 9, 67 ]
57
[ "38+67=105", "18*9=162", "162-105=57" ]
Current State: 57:[38, 18, 9, 67], Operations: [] Exploring Operation: 38+67=105, Resulting Numbers: [18, 9, 105] Generated Node #2: [18, 9, 105] from Operation: 38+67=105 Current State: 57:[18, 9, 105], Operations: ['38+67=105'] Exploring Operation: 18*9=162, Resulting Numbers: [105, 162] Generated Node #3: [105, 162] from Operation: 18*9=162 Current State: 57:[105, 162], Operations: ['38+67=105', '18*9=162'] Exploring Operation: 162-105=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[38, 18, 9, 67], Operations: [] Exploring Operation: 38+18=56, Resulting Numbers: [9, 67, 56] Generated Node #0,0: 57:[9, 67, 56] Operation: 38+18=56 Moving to Node #0,0 Current State: 57:[9, 67, 56], Operations: ['38+18=56'] Exploring Operation: 67-9=58, Resulting Numbers: [56, 58] Generated Node #0,0,0: 57:[56, 58] Operation: 67-9=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[56, 58], Operations: ['38+18=56', '67-9=58'] Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 93, 33, 74, 15 ]
29
[ "93-33=60", "74+15=89", "89-60=29" ]
Current State: 29:[93, 33, 74, 15], Operations: [] Exploring Operation: 93-33=60, Resulting Numbers: [74, 15, 60] Generated Node #2: [74, 15, 60] from Operation: 93-33=60 Current State: 29:[74, 15, 60], Operations: ['93-33=60'] Exploring Operation: 74+15=89, Resulting Numbers: [60, 89] Generated Node #3: [60, 89] from Operation: 74+15=89 Current State: 29:[60, 89], Operations: ['93-33=60', '74+15=89'] Exploring Operation: 89-60=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[93, 33, 74, 15], Operations: [] Exploring Operation: 93-74=19, Resulting Numbers: [33, 15, 19] Generated Node #0,0: 29:[33, 15, 19] Operation: 93-74=19 Exploring Operation: 93-33=60, Resulting Numbers: [74, 15, 60] Generated Node #0,1: 29:[74, 15, 60] Operation: 93-33=60 Moving to Node #0,0 Current State: 29:[33, 15, 19], Operations: ['93-74=19'] Exploring Operation: 15+19=34, Resulting Numbers: [33, 34] Generated Node #0,0,0: 29:[33, 34] Operation: 15+19=34 Exploring Operation: 33-15=18, Resulting Numbers: [19, 18] Generated Node #0,0,1: 29:[19, 18] Operation: 33-15=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[33, 34], Operations: ['93-74=19', '15+19=34'] Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,29 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,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:[19, 18], Operations: ['93-74=19', '33-15=18'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,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:[74, 15, 60], Operations: ['93-33=60'] Exploring Operation: 74-15=59, Resulting Numbers: [60, 59] Generated Node #0,1,0: 29:[60, 59] Operation: 74-15=59 Exploring Operation: 74-60=14, Resulting Numbers: [15, 14] Generated Node #0,1,1: 29:[15, 14] Operation: 74-60=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[15, 14], Operations: ['93-33=60', '74-60=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[93, 33, 74, 15], Operations: [] Exploring Operation: 93-33=60, Resulting Numbers: [74, 15, 60] Generated Node #0,1: 29:[74, 15, 60] Operation: 93-33=60 Moving to Node #0,1 Current State: 29:[74, 15, 60], Operations: ['93-33=60'] Exploring Operation: 74-60=14, Resulting Numbers: [15, 14] Generated Node #0,1,1: 29:[15, 14] Operation: 74-60=14 Moving to Node #0,1,1 Current State: 29:[15, 14], Operations: ['93-33=60', '74-60=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 39, 1, 60, 34 ]
65
[ "39*1=39", "60-34=26", "39+26=65" ]
Current State: 65:[39, 1, 60, 34], Operations: [] Exploring Operation: 39*1=39, Resulting Numbers: [60, 34, 39] Generated Node #2: [60, 34, 39] from Operation: 39*1=39 Current State: 65:[60, 34, 39], Operations: ['39*1=39'] Exploring Operation: 60-34=26, Resulting Numbers: [39, 26] Generated Node #3: [39, 26] from Operation: 60-34=26 Current State: 65:[39, 26], Operations: ['39*1=39', '60-34=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[39, 1, 60, 34], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [1, 60, 5] Generated Node #0,0: 65:[1, 60, 5] Operation: 39-34=5 Exploring Operation: 39+34=73, Resulting Numbers: [1, 60, 73] Generated Node #0,1: 65:[1, 60, 73] Operation: 39+34=73 Exploring Operation: 60-34=26, Resulting Numbers: [39, 1, 26] Generated Node #0,2: 65:[39, 1, 26] Operation: 60-34=26 Exploring Operation: 60-39=21, Resulting Numbers: [1, 34, 21] Generated Node #0,3: 65:[1, 34, 21] Operation: 60-39=21 Moving to Node #0,0 Current State: 65:[1, 60, 5], Operations: ['39-34=5'] Exploring Operation: 60/1=60, Resulting Numbers: [5, 60] Generated Node #0,0,0: 65:[5, 60] Operation: 60/1=60 Exploring Operation: 1+60=61, Resulting Numbers: [5, 61] Generated Node #0,0,1: 65:[5, 61] Operation: 1+60=61 Exploring Operation: 60+5=65, Resulting Numbers: [1, 65] Generated Node #0,0,2: 65:[1, 65] Operation: 60+5=65 Exploring Operation: 1*60=60, Resulting Numbers: [5, 60] Generated Node #0,0,3: 65:[5, 60] Operation: 1*60=60 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[5, 61], Operations: ['39-34=5', '1+60=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,65 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,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,2 Current State: 65:[1, 65], Operations: ['39-34=5', '60+5=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[39, 1, 60, 34], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [1, 60, 5] Generated Node #0,0: 65:[1, 60, 5] Operation: 39-34=5 Moving to Node #0,0 Current State: 65:[1, 60, 5], Operations: ['39-34=5'] Exploring Operation: 60+5=65, Resulting Numbers: [1, 65] Generated Node #0,0,2: 65:[1, 65] Operation: 60+5=65 Moving to Node #0,0,2 Current State: 65:[1, 65], Operations: ['39-34=5', '60+5=65'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 39, 32, 67, 92 ]
46
[ "39+32=71", "92-67=25", "71-25=46" ]
Current State: 46:[39, 32, 67, 92], Operations: [] Exploring Operation: 39+32=71, Resulting Numbers: [67, 92, 71] Generated Node #2: [67, 92, 71] from Operation: 39+32=71 Current State: 46:[67, 92, 71], Operations: ['39+32=71'] Exploring Operation: 92-67=25, Resulting Numbers: [71, 25] Generated Node #3: [71, 25] from Operation: 92-67=25 Current State: 46:[71, 25], Operations: ['39+32=71', '92-67=25'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[39, 32, 67, 92], Operations: [] Exploring Operation: 92-39=53, Resulting Numbers: [32, 67, 53] Generated Node #0,0: 46:[32, 67, 53] Operation: 92-39=53 Exploring Operation: 92-32=60, Resulting Numbers: [39, 67, 60] Generated Node #0,1: 46:[39, 67, 60] Operation: 92-32=60 Exploring Operation: 67-39=28, Resulting Numbers: [32, 92, 28] Generated Node #0,2: 46:[32, 92, 28] Operation: 67-39=28 Exploring Operation: 92-67=25, Resulting Numbers: [39, 32, 25] Generated Node #0,3: 46:[39, 32, 25] Operation: 92-67=25 Moving to Node #0,3 Current State: 46:[39, 32, 25], Operations: ['92-67=25'] Exploring Operation: 39-25=14, Resulting Numbers: [32, 14] Generated Node #0,3,0: 46:[32, 14] Operation: 39-25=14 Exploring Operation: 32+25=57, Resulting Numbers: [39, 57] Generated Node #0,3,1: 46:[39, 57] Operation: 32+25=57 Exploring Operation: 32-25=7, Resulting Numbers: [39, 7] Generated Node #0,3,2: 46:[39, 7] Operation: 32-25=7 Exploring Operation: 39-32=7, Resulting Numbers: [25, 7] Generated Node #0,3,3: 46:[25, 7] Operation: 39-32=7 Moving to Node #0,0 Current State: 46:[32, 67, 53], Operations: ['92-39=53'] Exploring Operation: 53-32=21, Resulting Numbers: [67, 21] Generated Node #0,0,0: 46:[67, 21] Operation: 53-32=21 Exploring Operation: 67-32=35, Resulting Numbers: [53, 35] Generated Node #0,0,1: 46:[53, 35] Operation: 67-32=35 Exploring Operation: 67-53=14, Resulting Numbers: [32, 14] Generated Node #0,0,2: 46:[32, 14] Operation: 67-53=14 Exploring Operation: 32+67=99, Resulting Numbers: [53, 99] Generated Node #0,0,3: 46:[53, 99] Operation: 32+67=99 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[53, 35], Operations: ['92-39=53', '67-32=35'] Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,46 unequal: No Solution Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[32, 14], Operations: ['92-39=53', '67-53=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[39, 32, 67, 92], Operations: [] Exploring Operation: 92-39=53, Resulting Numbers: [32, 67, 53] Generated Node #0,0: 46:[32, 67, 53] Operation: 92-39=53 Moving to Node #0,0 Current State: 46:[32, 67, 53], Operations: ['92-39=53'] Exploring Operation: 67-53=14, Resulting Numbers: [32, 14] Generated Node #0,0,2: 46:[32, 14] Operation: 67-53=14 Moving to Node #0,0,2 Current State: 46:[32, 14], Operations: ['92-39=53', '67-53=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 19, 67, 40, 9 ]
10
[ "19*40=760", "67+9=76", "760/76=10" ]
Current State: 10:[19, 67, 40, 9], Operations: [] Exploring Operation: 19*40=760, Resulting Numbers: [67, 9, 760] Generated Node #2: [67, 9, 760] from Operation: 19*40=760 Current State: 10:[67, 9, 760], Operations: ['19*40=760'] Exploring Operation: 67+9=76, Resulting Numbers: [760, 76] Generated Node #3: [760, 76] from Operation: 67+9=76 Current State: 10:[760, 76], Operations: ['19*40=760', '67+9=76'] Exploring Operation: 760/76=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[19, 67, 40, 9], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [67, 40, 10] Generated Node #0,0: 10:[67, 40, 10] Operation: 19-9=10 Exploring Operation: 67-19=48, Resulting Numbers: [40, 9, 48] Generated Node #0,1: 10:[40, 9, 48] Operation: 67-19=48 Exploring Operation: 40-19=21, Resulting Numbers: [67, 9, 21] Generated Node #0,2: 10:[67, 9, 21] Operation: 40-19=21 Exploring Operation: 67-40=27, Resulting Numbers: [19, 9, 27] Generated Node #0,3: 10:[19, 9, 27] Operation: 67-40=27 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[19, 9, 27], Operations: ['67-40=27'] Exploring Operation: 27-9=18, Resulting Numbers: [19, 18] Generated Node #0,3,0: 10:[19, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [19, 3] Generated Node #0,3,1: 10:[19, 3] Operation: 27/9=3 Exploring Operation: 27-19=8, Resulting Numbers: [9, 8] Generated Node #0,3,2: 10:[9, 8] Operation: 27-19=8 Exploring Operation: 19-9=10, Resulting Numbers: [27, 10] Generated Node #0,3,3: 10:[27, 10] Operation: 19-9=10 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[9, 8], Operations: ['67-40=27', '27-19=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[19, 3], Operations: ['67-40=27', '27/9=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[19, 18], Operations: ['67-40=27', '27-9=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,10 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[27, 10], Operations: ['67-40=27', '19-9=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[40, 9, 48], Operations: ['67-19=48'] Exploring Operation: 48-9=39, Resulting Numbers: [40, 39] Generated Node #0,1,0: 10:[40, 39] Operation: 48-9=39 Exploring Operation: 40+9=49, Resulting Numbers: [48, 49] Generated Node #0,1,1: 10:[48, 49] Operation: 40+9=49 Exploring Operation: 40-9=31, Resulting Numbers: [48, 31] Generated Node #0,1,2: 10:[48, 31] Operation: 40-9=31 Exploring Operation: 48-40=8, Resulting Numbers: [9, 8] Generated Node #0,1,3: 10:[9, 8] Operation: 48-40=8 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 10:[9, 8], Operations: ['67-19=48', '48-40=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[40, 39], Operations: ['67-19=48', '48-9=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,10 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[48, 31], Operations: ['67-19=48', '40-9=31'] Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,10 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[48, 49], Operations: ['67-19=48', '40+9=49'] Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,10 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,10 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[67, 9, 21], Operations: ['40-19=21'] Exploring Operation: 21-9=12, Resulting Numbers: [67, 12] Generated Node #0,2,0: 10:[67, 12] Operation: 21-9=12 Exploring Operation: 67-21=46, Resulting Numbers: [9, 46] Generated Node #0,2,1: 10:[9, 46] Operation: 67-21=46 Exploring Operation: 67-9=58, Resulting Numbers: [21, 58] Generated Node #0,2,2: 10:[21, 58] Operation: 67-9=58 Exploring Operation: 67+9=76, Resulting Numbers: [21, 76] Generated Node #0,2,3: 10:[21, 76] Operation: 67+9=76 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[9, 46], Operations: ['40-19=21', '67-21=46'] Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,10 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[67, 12], Operations: ['40-19=21', '21-9=12'] Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[21, 58], Operations: ['40-19=21', '67-9=58'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,10 unequal: No Solution Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 10:[21, 76], Operations: ['40-19=21', '67+9=76'] Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,10 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[67, 40, 10], Operations: ['19-9=10'] Exploring Operation: 67-10=57, Resulting Numbers: [40, 57] Generated Node #0,0,0: 10:[40, 57] Operation: 67-10=57 Exploring Operation: 67-40=27, Resulting Numbers: [10, 27] Generated Node #0,0,1: 10:[10, 27] Operation: 67-40=27 Exploring Operation: 40-10=30, Resulting Numbers: [67, 30] Generated Node #0,0,2: 10:[67, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [67, 4] Generated Node #0,0,3: 10:[67, 4] Operation: 40/10=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[10, 27], Operations: ['19-9=10', '67-40=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[67, 4], Operations: ['19-9=10', '40/10=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,10 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[40, 57], Operations: ['19-9=10', '67-10=57'] Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,10 unequal: No Solution Exploring Operation: 40*57=2280, Resulting Numbers: [2280] 2280,10 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[67, 30], Operations: ['19-9=10', '40-10=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,10 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 46, 15, 74, 44 ]
14
[ "46*15=690", "690-74=616", "616/44=14" ]
Current State: 14:[46, 15, 74, 44], Operations: [] Exploring Operation: 46*15=690, Resulting Numbers: [74, 44, 690] Generated Node #2: [74, 44, 690] from Operation: 46*15=690 Current State: 14:[74, 44, 690], Operations: ['46*15=690'] Exploring Operation: 690-74=616, Resulting Numbers: [44, 616] Generated Node #3: [44, 616] from Operation: 690-74=616 Current State: 14:[44, 616], Operations: ['46*15=690', '690-74=616'] Exploring Operation: 616/44=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[46, 15, 74, 44], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [15, 44, 28] Generated Node #0,0: 14:[15, 44, 28] Operation: 74-46=28 Exploring Operation: 74-44=30, Resulting Numbers: [46, 15, 30] Generated Node #0,1: 14:[46, 15, 30] Operation: 74-44=30 Moving to Node #0,0 Current State: 14:[15, 44, 28], Operations: ['74-46=28'] Exploring Operation: 44-28=16, Resulting Numbers: [15, 16] Generated Node #0,0,0: 14:[15, 16] Operation: 44-28=16 Exploring Operation: 44-15=29, Resulting Numbers: [28, 29] Generated Node #0,0,1: 14:[28, 29] Operation: 44-15=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[15, 16], Operations: ['74-46=28', '44-28=16'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[28, 29], Operations: ['74-46=28', '44-15=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,14 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: 14:[46, 15, 30], Operations: ['74-44=30'] Exploring Operation: 46-30=16, Resulting Numbers: [15, 16] Generated Node #0,1,0: 14:[15, 16] Operation: 46-30=16 Exploring Operation: 30/15=2, Resulting Numbers: [46, 2] Generated Node #0,1,1: 14:[46, 2] Operation: 30/15=2 Moving to Node #0,1,0 Current State: 14:[15, 16], Operations: ['74-44=30', '46-30=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[46, 2], Operations: ['74-44=30', '30/15=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,14 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 13, 60, 18, 17 ]
12
[ "60-13=47", "18+17=35", "47-35=12" ]
Current State: 12:[13, 60, 18, 17], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [18, 17, 47] Generated Node #2: [18, 17, 47] from Operation: 60-13=47 Current State: 12:[18, 17, 47], Operations: ['60-13=47'] Exploring Operation: 18+17=35, Resulting Numbers: [47, 35] Generated Node #3: [47, 35] from Operation: 18+17=35 Current State: 12:[47, 35], Operations: ['60-13=47', '18+17=35'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[13, 60, 18, 17], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [13, 17, 42] Generated Node #0,0: 12:[13, 17, 42] Operation: 60-18=42 Exploring Operation: 60-17=43, Resulting Numbers: [13, 18, 43] Generated Node #0,1: 12:[13, 18, 43] Operation: 60-17=43 Exploring Operation: 60-13=47, Resulting Numbers: [18, 17, 47] Generated Node #0,2: 12:[18, 17, 47] Operation: 60-13=47 Exploring Operation: 18-17=1, Resulting Numbers: [13, 60, 1] Generated Node #0,3: 12:[13, 60, 1] Operation: 18-17=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[13, 17, 42], Operations: ['60-18=42'] Exploring Operation: 13+17=30, Resulting Numbers: [42, 30] Generated Node #0,0,0: 12:[42, 30] Operation: 13+17=30 Exploring Operation: 42-17=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 12:[13, 25] Operation: 42-17=25 Exploring Operation: 42-13=29, Resulting Numbers: [17, 29] Generated Node #0,0,2: 12:[17, 29] Operation: 42-13=29 Exploring Operation: 17-13=4, Resulting Numbers: [42, 4] Generated Node #0,0,3: 12:[42, 4] Operation: 17-13=4 Moving to Node #0,0,1 Current State: 12:[13, 25], Operations: ['60-18=42', '42-17=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[13, 60, 18, 17], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [13, 17, 42] Generated Node #0,0: 12:[13, 17, 42] Operation: 60-18=42 Moving to Node #0,0 Current State: 12:[13, 17, 42], Operations: ['60-18=42'] Exploring Operation: 42-17=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 12:[13, 25] Operation: 42-17=25 Moving to Node #0,0,1 Current State: 12:[13, 25], Operations: ['60-18=42', '42-17=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 98, 23, 11, 17 ]
28
[ "98+23=121", "121/11=11", "17+11=28" ]
Current State: 28:[98, 23, 11, 17], Operations: [] Exploring Operation: 98+23=121, Resulting Numbers: [11, 17, 121] Generated Node #2: [11, 17, 121] from Operation: 98+23=121 Current State: 28:[11, 17, 121], Operations: ['98+23=121'] Exploring Operation: 121/11=11, Resulting Numbers: [17, 11] Generated Node #3: [17, 11] from Operation: 121/11=11 Current State: 28:[17, 11], Operations: ['98+23=121', '121/11=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[98, 23, 11, 17], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [23, 11, 81] Generated Node #0,0: 28:[23, 11, 81] Operation: 98-17=81 Exploring Operation: 98-11=87, Resulting Numbers: [23, 17, 87] Generated Node #0,1: 28:[23, 17, 87] Operation: 98-11=87 Exploring Operation: 23-17=6, Resulting Numbers: [98, 11, 6] Generated Node #0,2: 28:[98, 11, 6] Operation: 23-17=6 Exploring Operation: 98-23=75, Resulting Numbers: [11, 17, 75] Generated Node #0,3: 28:[11, 17, 75] Operation: 98-23=75 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[11, 17, 75], Operations: ['98-23=75'] Exploring Operation: 17-11=6, Resulting Numbers: [75, 6] Generated Node #0,3,0: 28:[75, 6] Operation: 17-11=6 Exploring Operation: 75-11=64, Resulting Numbers: [17, 64] Generated Node #0,3,1: 28:[17, 64] Operation: 75-11=64 Exploring Operation: 75-17=58, Resulting Numbers: [11, 58] Generated Node #0,3,2: 28:[11, 58] Operation: 75-17=58 Exploring Operation: 11+17=28, Resulting Numbers: [75, 28] Generated Node #0,3,3: 28:[75, 28] Operation: 11+17=28 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[11, 58], Operations: ['98-23=75', '75-17=58'] Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,28 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[17, 64], Operations: ['98-23=75', '75-11=64'] Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,28 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[75, 28], Operations: ['98-23=75', '11+17=28'] Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,28 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,28 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[75, 6], Operations: ['98-23=75', '17-11=6'] Exploring Operation: 75*6=450, Resulting Numbers: [450] 450,28 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[23, 11, 81], Operations: ['98-17=81'] Exploring Operation: 23+11=34, Resulting Numbers: [81, 34] Generated Node #0,0,0: 28:[81, 34] Operation: 23+11=34 Exploring Operation: 81-23=58, Resulting Numbers: [11, 58] Generated Node #0,0,1: 28:[11, 58] Operation: 81-23=58 Exploring Operation: 81-11=70, Resulting Numbers: [23, 70] Generated Node #0,0,2: 28:[23, 70] Operation: 81-11=70 Exploring Operation: 23-11=12, Resulting Numbers: [81, 12] Generated Node #0,0,3: 28:[81, 12] Operation: 23-11=12 Moving to Node #0,0,1 Current State: 28:[11, 58], Operations: ['98-17=81', '81-23=58'] Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,28 unequal: No Solution Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[23, 70], Operations: ['98-17=81', '81-11=70'] Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,28 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,28 unequal: No Solution Moving to Node #0,0,3 Current State: 28:[81, 12], Operations: ['98-17=81', '23-11=12'] Exploring Operation: 81+12=93, Resulting Numbers: [93] 93,28 unequal: No Solution Exploring Operation: 81*12=972, Resulting Numbers: [972] 972,28 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[81, 34], Operations: ['98-17=81', '23+11=34'] Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,28 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,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 Current State: 28:[23, 17, 87], Operations: ['98-11=87'] Exploring Operation: 23-17=6, Resulting Numbers: [87, 6] Generated Node #0,1,0: 28:[87, 6] Operation: 23-17=6 Exploring Operation: 23+17=40, Resulting Numbers: [87, 40] Generated Node #0,1,1: 28:[87, 40] Operation: 23+17=40 Exploring Operation: 87-17=70, Resulting Numbers: [23, 70] Generated Node #0,1,2: 28:[23, 70] Operation: 87-17=70 Exploring Operation: 87-23=64, Resulting Numbers: [17, 64] Generated Node #0,1,3: 28:[17, 64] Operation: 87-23=64 Moving to Node #0,1,3 Current State: 28:[17, 64], Operations: ['98-11=87', '87-23=64'] Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,28 unequal: No Solution Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[23, 70], Operations: ['98-11=87', '87-17=70'] Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,28 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[87, 6], Operations: ['98-11=87', '23-17=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,28 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[87, 40], Operations: ['98-11=87', '23+17=40'] Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,28 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[98, 11, 6], Operations: ['23-17=6'] Exploring Operation: 11+6=17, Resulting Numbers: [98, 17] Generated Node #0,2,0: 28:[98, 17] Operation: 11+6=17 Exploring Operation: 98-6=92, Resulting Numbers: [11, 92] Generated Node #0,2,1: 28:[11, 92] Operation: 98-6=92 Exploring Operation: 98-11=87, Resulting Numbers: [6, 87] Generated Node #0,2,2: 28:[6, 87] Operation: 98-11=87 Exploring Operation: 11-6=5, Resulting Numbers: [98, 5] Generated Node #0,2,3: 28:[98, 5] Operation: 11-6=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[6, 87], Operations: ['23-17=6', '98-11=87'] Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,28 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[11, 92], Operations: ['23-17=6', '98-6=92'] Exploring Operation: 11*92=1012, Resulting Numbers: [1012] 1012,28 unequal: No Solution Exploring Operation: 11+92=103, Resulting Numbers: [103] 103,28 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[98, 5], Operations: ['23-17=6', '11-6=5'] Exploring Operation: 98*5=490, Resulting Numbers: [490] 490,28 unequal: No Solution Exploring Operation: 98+5=103, Resulting Numbers: [103] 103,28 unequal: No Solution Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[98, 17], Operations: ['23-17=6', '11+6=17'] Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,28 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 10, 3, 68, 73 ]
61
[ "73-3=70", "70/10=7", "68-7=61" ]
Current State: 61:[10, 3, 68, 73], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [10, 68, 70] Generated Node #2: [10, 68, 70] from Operation: 73-3=70 Current State: 61:[10, 68, 70], Operations: ['73-3=70'] Exploring Operation: 70/10=7, Resulting Numbers: [68, 7] Generated Node #3: [68, 7] from Operation: 70/10=7 Current State: 61:[68, 7], Operations: ['73-3=70', '70/10=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[10, 3, 68, 73], Operations: [] Exploring Operation: 10*3=30, Resulting Numbers: [68, 73, 30] Generated Node #0,0: 61:[68, 73, 30] Operation: 10*3=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[68, 73, 30], Operations: ['10*3=30'] Exploring Operation: 73-30=43, Resulting Numbers: [68, 43] Generated Node #0,0,0: 61:[68, 43] Operation: 73-30=43 Moving to Node #0,0,0 Current State: 61:[68, 43], Operations: ['10*3=30', '73-30=43'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,61 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
[ 60, 61, 39, 20 ]
62
[ "60+61=121", "39+20=59", "121-59=62" ]
Current State: 62:[60, 61, 39, 20], Operations: [] Exploring Operation: 60+61=121, Resulting Numbers: [39, 20, 121] Generated Node #2: [39, 20, 121] from Operation: 60+61=121 Current State: 62:[39, 20, 121], Operations: ['60+61=121'] Exploring Operation: 39+20=59, Resulting Numbers: [121, 59] Generated Node #3: [121, 59] from Operation: 39+20=59 Current State: 62:[121, 59], Operations: ['60+61=121', '39+20=59'] Exploring Operation: 121-59=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[60, 61, 39, 20], Operations: [] Exploring Operation: 39+20=59, Resulting Numbers: [60, 61, 59] Generated Node #0,0: 62:[60, 61, 59] Operation: 39+20=59 Exploring Operation: 60-20=40, Resulting Numbers: [61, 39, 40] Generated Node #0,1: 62:[61, 39, 40] Operation: 60-20=40 Exploring Operation: 60/20=3, Resulting Numbers: [61, 39, 3] Generated Node #0,2: 62:[61, 39, 3] Operation: 60/20=3 Exploring Operation: 61-60=1, Resulting Numbers: [39, 20, 1] Generated Node #0,3: 62:[39, 20, 1] Operation: 61-60=1 Exploring Operation: 39-20=19, Resulting Numbers: [60, 61, 19] Generated Node #0,4: 62:[60, 61, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[60, 61, 59], Operations: ['39+20=59'] Exploring Operation: 60+59=119, Resulting Numbers: [61, 119] Generated Node #0,0,0: 62:[61, 119] Operation: 60+59=119 Exploring Operation: 61+59=120, Resulting Numbers: [60, 120] Generated Node #0,0,1: 62:[60, 120] Operation: 61+59=120 Exploring Operation: 61-59=2, Resulting Numbers: [60, 2] Generated Node #0,0,2: 62:[60, 2] Operation: 61-59=2 Exploring Operation: 60-59=1, Resulting Numbers: [61, 1] Generated Node #0,0,3: 62:[61, 1] Operation: 60-59=1 Exploring Operation: 61-60=1, Resulting Numbers: [59, 1] Generated Node #0,0,4: 62:[59, 1] Operation: 61-60=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[60, 2], Operations: ['39+20=59', '61-59=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[60, 61, 39, 20], Operations: [] Exploring Operation: 39+20=59, Resulting Numbers: [60, 61, 59] Generated Node #0,0: 62:[60, 61, 59] Operation: 39+20=59 Moving to Node #0,0 Current State: 62:[60, 61, 59], Operations: ['39+20=59'] Exploring Operation: 61-59=2, Resulting Numbers: [60, 2] Generated Node #0,0,2: 62:[60, 2] Operation: 61-59=2 Moving to Node #0,0,2 Current State: 62:[60, 2], Operations: ['39+20=59', '61-59=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 27, 19, 96, 23 ]
22
[ "96-27=69", "69/23=3", "19+3=22" ]
Current State: 22:[27, 19, 96, 23], Operations: [] Exploring Operation: 96-27=69, Resulting Numbers: [19, 23, 69] Generated Node #2: [19, 23, 69] from Operation: 96-27=69 Current State: 22:[19, 23, 69], Operations: ['96-27=69'] Exploring Operation: 69/23=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 69/23=3 Current State: 22:[19, 3], Operations: ['96-27=69', '69/23=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[27, 19, 96, 23], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [27, 19, 73] Generated Node #0,0: 22:[27, 19, 73] Operation: 96-23=73 Exploring Operation: 96-27=69, Resulting Numbers: [19, 23, 69] Generated Node #0,1: 22:[19, 23, 69] Operation: 96-27=69 Exploring Operation: 96-19=77, Resulting Numbers: [27, 23, 77] Generated Node #0,2: 22:[27, 23, 77] Operation: 96-19=77 Moving to Node #0,1 Current State: 22:[19, 23, 69], Operations: ['96-27=69'] Exploring Operation: 69-19=50, Resulting Numbers: [23, 50] Generated Node #0,1,0: 22:[23, 50] Operation: 69-19=50 Exploring Operation: 69-23=46, Resulting Numbers: [19, 46] Generated Node #0,1,1: 22:[19, 46] Operation: 69-23=46 Exploring Operation: 69/23=3, Resulting Numbers: [19, 3] Generated Node #0,1,2: 22:[19, 3] Operation: 69/23=3 Moving to Node #0,0 Current State: 22:[27, 19, 73], Operations: ['96-23=73'] Exploring Operation: 27-19=8, Resulting Numbers: [73, 8] Generated Node #0,0,0: 22:[73, 8] Operation: 27-19=8 Exploring Operation: 73-27=46, Resulting Numbers: [19, 46] Generated Node #0,0,1: 22:[19, 46] Operation: 73-27=46 Exploring Operation: 73-19=54, Resulting Numbers: [27, 54] Generated Node #0,0,2: 22:[27, 54] Operation: 73-19=54 Moving to Node #0,2 Current State: 22:[27, 23, 77], Operations: ['96-19=77'] Exploring Operation: 77-23=54, Resulting Numbers: [27, 54] Generated Node #0,2,0: 22:[27, 54] Operation: 77-23=54 Exploring Operation: 27-23=4, Resulting Numbers: [77, 4] Generated Node #0,2,1: 22:[77, 4] Operation: 27-23=4 Exploring Operation: 77-27=50, Resulting Numbers: [23, 50] Generated Node #0,2,2: 22:[23, 50] Operation: 77-27=50 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[23, 50], Operations: ['96-19=77', '77-27=50'] Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,22 unequal: No Solution Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,22 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,22 unequal: No Solution No 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: 22:[27, 54], Operations: ['96-19=77', '77-23=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,22 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,22 unequal: No Solution No 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: 22:[77, 4], Operations: ['96-19=77', '27-23=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,22 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,22 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 22:[19, 3], Operations: ['96-27=69', '69/23=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[27, 19, 96, 23], Operations: [] Exploring Operation: 96-27=69, Resulting Numbers: [19, 23, 69] Generated Node #0,1: 22:[19, 23, 69] Operation: 96-27=69 Moving to Node #0,1 Current State: 22:[19, 23, 69], Operations: ['96-27=69'] Exploring Operation: 69/23=3, Resulting Numbers: [19, 3] Generated Node #0,1,2: 22:[19, 3] Operation: 69/23=3 Moving to Node #0,1,2 Current State: 22:[19, 3], Operations: ['96-27=69', '69/23=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 26, 45, 73, 26 ]
24
[ "26+45=71", "73-26=47", "71-47=24" ]
Current State: 24:[26, 45, 73, 26], Operations: [] Exploring Operation: 26+45=71, Resulting Numbers: [73, 71] Generated Node #2: [73, 71] from Operation: 26+45=71 Current State: 24:[73, 71], Operations: ['26+45=71'] Exploring Operation: 73-26=47, Resulting Numbers: [71, 47] Generated Node #3: [71, 47] from Operation: 73-26=47 Current State: 24:[71, 47], Operations: ['26+45=71', '73-26=47'] Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[26, 45, 73, 26], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [45, 26, 47] Generated Node #0,0: 24:[45, 26, 47] Operation: 73-26=47 Exploring Operation: 73-45=28, Resulting Numbers: [26, 26, 28] Generated Node #0,1: 24:[26, 26, 28] Operation: 73-45=28 Exploring Operation: 73-26=47, Resulting Numbers: [26, 45, 47] Generated Node #0,2: 24:[26, 45, 47] Operation: 73-26=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[26, 26, 28], Operations: ['73-45=28'] Exploring Operation: 28-26=2, Resulting Numbers: [26, 2] Generated Node #0,1,0: 24:[26, 2] Operation: 28-26=2 Exploring Operation: 26/26=1, Resulting Numbers: [28, 1] Generated Node #0,1,1: 24:[28, 1] Operation: 26/26=1 Exploring Operation: 28-26=2, Resulting Numbers: [26, 2] Generated Node #0,1,2: 24:[26, 2] Operation: 28-26=2 Moving to Node #0,1,0 Current State: 24:[26, 2], Operations: ['73-45=28', '28-26=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[26, 45, 73, 26], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [26, 26, 28] Generated Node #0,1: 24:[26, 26, 28] Operation: 73-45=28 Moving to Node #0,1 Current State: 24:[26, 26, 28], Operations: ['73-45=28'] Exploring Operation: 28-26=2, Resulting Numbers: [26, 2] Generated Node #0,1,0: 24:[26, 2] Operation: 28-26=2 Moving to Node #0,1,0 Current State: 24:[26, 2], Operations: ['73-45=28', '28-26=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 83, 41, 25, 6 ]
26
[ "83+41=124", "25*6=150", "150-124=26" ]
Current State: 26:[83, 41, 25, 6], Operations: [] Exploring Operation: 83+41=124, Resulting Numbers: [25, 6, 124] Generated Node #2: [25, 6, 124] from Operation: 83+41=124 Current State: 26:[25, 6, 124], Operations: ['83+41=124'] Exploring Operation: 25*6=150, Resulting Numbers: [124, 150] Generated Node #3: [124, 150] from Operation: 25*6=150 Current State: 26:[124, 150], Operations: ['83+41=124', '25*6=150'] Exploring Operation: 150-124=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[83, 41, 25, 6], Operations: [] Exploring Operation: 83-41=42, Resulting Numbers: [25, 6, 42] Generated Node #0,0: 26:[25, 6, 42] Operation: 83-41=42 Exploring Operation: 83-25=58, Resulting Numbers: [41, 6, 58] Generated Node #0,1: 26:[41, 6, 58] Operation: 83-25=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[25, 6, 42], Operations: ['83-41=42'] Exploring Operation: 42-25=17, Resulting Numbers: [6, 17] Generated Node #0,0,0: 26:[6, 17] Operation: 42-25=17 Exploring Operation: 42/6=7, Resulting Numbers: [25, 7] Generated Node #0,0,1: 26:[25, 7] Operation: 42/6=7 Moving to Node #0,0,1 Current State: 26:[25, 7], Operations: ['83-41=42', '42/6=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[6, 17], Operations: ['83-41=42', '42-25=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,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,1 Current State: 26:[41, 6, 58], Operations: ['83-25=58'] Exploring Operation: 41-6=35, Resulting Numbers: [58, 35] Generated Node #0,1,0: 26:[58, 35] Operation: 41-6=35 Exploring Operation: 58-41=17, Resulting Numbers: [6, 17] Generated Node #0,1,1: 26:[6, 17] Operation: 58-41=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 26:[6, 17], Operations: ['83-25=58', '58-41=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[58, 35], Operations: ['83-25=58', '41-6=35'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 33, 56, 4, 16 ]
60
[ "33*4=132", "56+16=72", "132-72=60" ]
Current State: 60:[33, 56, 4, 16], Operations: [] Exploring Operation: 33*4=132, Resulting Numbers: [56, 16, 132] Generated Node #2: [56, 16, 132] from Operation: 33*4=132 Current State: 60:[56, 16, 132], Operations: ['33*4=132'] Exploring Operation: 56+16=72, Resulting Numbers: [132, 72] Generated Node #3: [132, 72] from Operation: 56+16=72 Current State: 60:[132, 72], Operations: ['33*4=132', '56+16=72'] Exploring Operation: 132-72=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[33, 56, 4, 16], Operations: [] Exploring Operation: 56-33=23, Resulting Numbers: [4, 16, 23] Generated Node #0,0: 60:[4, 16, 23] Operation: 56-33=23 Exploring Operation: 56+4=60, Resulting Numbers: [33, 16, 60] Generated Node #0,1: 60:[33, 16, 60] Operation: 56+4=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[4, 16, 23], Operations: ['56-33=23'] Exploring Operation: 23-4=19, Resulting Numbers: [16, 19] Generated Node #0,0,0: 60:[16, 19] Operation: 23-4=19 Exploring Operation: 23-16=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 60:[4, 7] Operation: 23-16=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[4, 7], Operations: ['56-33=23', '23-16=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[16, 19], Operations: ['56-33=23', '23-4=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[33, 16, 60], Operations: ['56+4=60'] Exploring Operation: 33-16=17, Resulting Numbers: [60, 17] Generated Node #0,1,0: 60:[60, 17] Operation: 33-16=17 Exploring Operation: 60-33=27, Resulting Numbers: [16, 27] Generated Node #0,1,1: 60:[16, 27] Operation: 60-33=27 Moving to Node #0,1,0 Current State: 60:[60, 17], Operations: ['56+4=60', '33-16=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,60 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[16, 27], Operations: ['56+4=60', '60-33=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 83, 64, 32, 44 ]
95
[ "83-64=19", "32+44=76", "19+76=95" ]
Current State: 95:[83, 64, 32, 44], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [32, 44, 19] Generated Node #2: [32, 44, 19] from Operation: 83-64=19 Current State: 95:[32, 44, 19], Operations: ['83-64=19'] Exploring Operation: 32+44=76, Resulting Numbers: [19, 76] Generated Node #3: [19, 76] from Operation: 32+44=76 Current State: 95:[19, 76], Operations: ['83-64=19', '32+44=76'] Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[83, 64, 32, 44], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [83, 32, 20] Generated Node #0,0: 95:[83, 32, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 95:[83, 32, 20], Operations: ['64-44=20'] Exploring Operation: 32-20=12, Resulting Numbers: [83, 12] Generated Node #0,0,0: 95:[83, 12] Operation: 32-20=12 Moving to Node #0,0,0 Current State: 95:[83, 12], Operations: ['64-44=20', '32-20=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[83, 64, 32, 44], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [83, 32, 20] Generated Node #0,0: 95:[83, 32, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 95:[83, 32, 20], Operations: ['64-44=20'] Exploring Operation: 32-20=12, Resulting Numbers: [83, 12] Generated Node #0,0,0: 95:[83, 12] Operation: 32-20=12 Moving to Node #0,0,0 Current State: 95:[83, 12], Operations: ['64-44=20', '32-20=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 7, 6, 69, 86 ]
18
[ "7-6=1", "86-69=17", "1+17=18" ]
Current State: 18:[7, 6, 69, 86], Operations: [] Exploring Operation: 7-6=1, Resulting Numbers: [69, 86, 1] Generated Node #2: [69, 86, 1] from Operation: 7-6=1 Current State: 18:[69, 86, 1], Operations: ['7-6=1'] Exploring Operation: 86-69=17, Resulting Numbers: [1, 17] Generated Node #3: [1, 17] from Operation: 86-69=17 Current State: 18:[1, 17], Operations: ['7-6=1', '86-69=17'] Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[7, 6, 69, 86], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [7, 6, 17] Generated Node #0,0: 18:[7, 6, 17] Operation: 86-69=17 Exploring Operation: 69-7=62, Resulting Numbers: [6, 86, 62] Generated Node #0,1: 18:[6, 86, 62] Operation: 69-7=62 Moving to Node #0,0 Current State: 18:[7, 6, 17], Operations: ['86-69=17'] Exploring Operation: 7-6=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 18:[17, 1] Operation: 7-6=1 Exploring Operation: 17-7=10, Resulting Numbers: [6, 10] Generated Node #0,0,1: 18:[6, 10] Operation: 17-7=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[6, 10], Operations: ['86-69=17', '17-7=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,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,0 Current State: 18:[17, 1], Operations: ['86-69=17', '7-6=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[7, 6, 69, 86], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [7, 6, 17] Generated Node #0,0: 18:[7, 6, 17] Operation: 86-69=17 Moving to Node #0,0 Current State: 18:[7, 6, 17], Operations: ['86-69=17'] Exploring Operation: 7-6=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 18:[17, 1] Operation: 7-6=1 Moving to Node #0,0,0 Current State: 18:[17, 1], Operations: ['86-69=17', '7-6=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 10, 16, 57, 56 ]
26
[ "10+16=26", "57-56=1", "26*1=26" ]
Current State: 26:[10, 16, 57, 56], Operations: [] Exploring Operation: 10+16=26, Resulting Numbers: [57, 56, 26] Generated Node #2: [57, 56, 26] from Operation: 10+16=26 Current State: 26:[57, 56, 26], Operations: ['10+16=26'] Exploring Operation: 57-56=1, Resulting Numbers: [26, 1] Generated Node #3: [26, 1] from Operation: 57-56=1 Current State: 26:[26, 1], Operations: ['10+16=26', '57-56=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[10, 16, 57, 56], Operations: [] Exploring Operation: 57-16=41, Resulting Numbers: [10, 56, 41] Generated Node #0,0: 26:[10, 56, 41] Operation: 57-16=41 Exploring Operation: 56-16=40, Resulting Numbers: [10, 57, 40] Generated Node #0,1: 26:[10, 57, 40] Operation: 56-16=40 Exploring Operation: 57-56=1, Resulting Numbers: [10, 16, 1] Generated Node #0,2: 26:[10, 16, 1] Operation: 57-56=1 Moving to Node #0,2 Current State: 26:[10, 16, 1], Operations: ['57-56=1'] Exploring Operation: 16-10=6, Resulting Numbers: [1, 6] Generated Node #0,2,0: 26:[1, 6] Operation: 16-10=6 Exploring Operation: 10+16=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 26:[1, 26] Operation: 10+16=26 Exploring Operation: 10+1=11, Resulting Numbers: [16, 11] Generated Node #0,2,2: 26:[16, 11] Operation: 10+1=11 Moving to Node #0,0 Current State: 26:[10, 56, 41], Operations: ['57-16=41'] Exploring Operation: 56-10=46, Resulting Numbers: [41, 46] Generated Node #0,0,0: 26:[41, 46] Operation: 56-10=46 Exploring Operation: 56-41=15, Resulting Numbers: [10, 15] Generated Node #0,0,1: 26:[10, 15] Operation: 56-41=15 Exploring Operation: 41-10=31, Resulting Numbers: [56, 31] Generated Node #0,0,2: 26:[56, 31] Operation: 41-10=31 Moving to Node #0,1 Current State: 26:[10, 57, 40], Operations: ['56-16=40'] Exploring Operation: 57-40=17, Resulting Numbers: [10, 17] Generated Node #0,1,0: 26:[10, 17] Operation: 57-40=17 Exploring Operation: 57-10=47, Resulting Numbers: [40, 47] Generated Node #0,1,1: 26:[40, 47] Operation: 57-10=47 Exploring Operation: 40/10=4, Resulting Numbers: [57, 4] Generated Node #0,1,2: 26:[57, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[10, 17], Operations: ['56-16=40', '57-40=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,26 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,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,1,2 Current State: 26:[57, 4], Operations: ['56-16=40', '40/10=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,26 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,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,1,1 Current State: 26:[40, 47], Operations: ['56-16=40', '57-10=47'] Exploring Operation: 40+47=87, Resulting Numbers: [87] 87,26 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 40*47=1880, Resulting Numbers: [1880] 1880,26 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: 26:[1, 26], Operations: ['57-56=1', '10+16=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[10, 16, 57, 56], Operations: [] Exploring Operation: 57-56=1, Resulting Numbers: [10, 16, 1] Generated Node #0,2: 26:[10, 16, 1] Operation: 57-56=1 Moving to Node #0,2 Current State: 26:[10, 16, 1], Operations: ['57-56=1'] Exploring Operation: 10+16=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 26:[1, 26] Operation: 10+16=26 Moving to Node #0,2,1 Current State: 26:[1, 26], Operations: ['57-56=1', '10+16=26'] Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 31, 73, 13, 86 ]
82
[ "31+86=117", "117/13=9", "73+9=82" ]
Current State: 82:[31, 73, 13, 86], Operations: [] Exploring Operation: 31+86=117, Resulting Numbers: [73, 13, 117] Generated Node #2: [73, 13, 117] from Operation: 31+86=117 Current State: 82:[73, 13, 117], Operations: ['31+86=117'] Exploring Operation: 117/13=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 117/13=9 Current State: 82:[73, 9], Operations: ['31+86=117', '117/13=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[31, 73, 13, 86], Operations: [] Exploring Operation: 73-31=42, Resulting Numbers: [13, 86, 42] Generated Node #0,0: 82:[13, 86, 42] Operation: 73-31=42 Exploring Operation: 31+13=44, Resulting Numbers: [73, 86, 44] Generated Node #0,1: 82:[73, 86, 44] Operation: 31+13=44 Exploring Operation: 73+13=86, Resulting Numbers: [31, 86, 86] Generated Node #0,2: 82:[31, 86, 86] Operation: 73+13=86 Moving to Node #0,0 Current State: 82:[13, 86, 42], Operations: ['73-31=42'] Exploring Operation: 86-42=44, Resulting Numbers: [13, 44] Generated Node #0,0,0: 82:[13, 44] Operation: 86-42=44 Exploring Operation: 86-13=73, Resulting Numbers: [42, 73] Generated Node #0,0,1: 82:[42, 73] Operation: 86-13=73 Exploring Operation: 42-13=29, Resulting Numbers: [86, 29] Generated Node #0,0,2: 82:[86, 29] Operation: 42-13=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[42, 73], Operations: ['73-31=42', '86-13=73'] Exploring Operation: 42+73=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 42*73=3066, Resulting Numbers: [3066] 3066,82 unequal: No Solution Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,82 unequal: No Solution No 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: 82:[13, 44], Operations: ['73-31=42', '86-42=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,82 unequal: No Solution No 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: 82:[86, 29], Operations: ['73-31=42', '42-13=29'] Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,82 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,82 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: 82:[73, 86, 44], Operations: ['31+13=44'] Exploring Operation: 86-44=42, Resulting Numbers: [73, 42] Generated Node #0,1,0: 82:[73, 42] Operation: 86-44=42 Exploring Operation: 73-44=29, Resulting Numbers: [86, 29] Generated Node #0,1,1: 82:[86, 29] Operation: 73-44=29 Exploring Operation: 86-73=13, Resulting Numbers: [44, 13] Generated Node #0,1,2: 82:[44, 13] Operation: 86-73=13 Moving to Node #0,2 Current State: 82:[31, 86, 86], Operations: ['73+13=86'] Exploring Operation: 86-31=55, Resulting Numbers: [86, 55] Generated Node #0,2,0: 82:[86, 55] Operation: 86-31=55 Exploring Operation: 86/86=1, Resulting Numbers: [31, 1] Generated Node #0,2,1: 82:[31, 1] Operation: 86/86=1 Exploring Operation: 86-86=0, Resulting Numbers: [31, 0] Generated Node #0,2,2: 82:[31, 0] Operation: 86-86=0 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[31, 1], Operations: ['73+13=86', '86/86=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,82 unequal: No Solution No 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: 82:[31, 0], Operations: ['73+13=86', '86-86=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,82 unequal: No Solution No 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: 82:[86, 55], Operations: ['73+13=86', '86-31=55'] Exploring Operation: 86*55=4730, Resulting Numbers: [4730] 4730,82 unequal: No Solution Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,82 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: 82:[73, 42], Operations: ['31+13=44', '86-44=42'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 73*42=3066, Resulting Numbers: [3066] 3066,82 unequal: No Solution Exploring Operation: 73+42=115, Resulting Numbers: [115] 115,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[44, 13], Operations: ['31+13=44', '86-73=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[86, 29], Operations: ['31+13=44', '73-44=29'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,82 unequal: No Solution Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,82 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 14, 2, 32, 50 ]
98
[ "14+2=16", "32+50=82", "16+82=98" ]
Current State: 98:[14, 2, 32, 50], Operations: [] Exploring Operation: 14+2=16, Resulting Numbers: [32, 50, 16] Generated Node #2: [32, 50, 16] from Operation: 14+2=16 Current State: 98:[32, 50, 16], Operations: ['14+2=16'] Exploring Operation: 32+50=82, Resulting Numbers: [16, 82] Generated Node #3: [16, 82] from Operation: 32+50=82 Current State: 98:[16, 82], Operations: ['14+2=16', '32+50=82'] Exploring Operation: 16+82=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[14, 2, 32, 50], Operations: [] Exploring Operation: 32-14=18, Resulting Numbers: [2, 50, 18] Generated Node #0,0: 98:[2, 50, 18] Operation: 32-14=18 Exploring Operation: 50-32=18, Resulting Numbers: [14, 2, 18] Generated Node #0,1: 98:[14, 2, 18] Operation: 50-32=18 Exploring Operation: 32/2=16, Resulting Numbers: [14, 50, 16] Generated Node #0,2: 98:[14, 50, 16] Operation: 32/2=16 Exploring Operation: 14+32=46, Resulting Numbers: [2, 50, 46] Generated Node #0,3: 98:[2, 50, 46] Operation: 14+32=46 Exploring Operation: 2+32=34, Resulting Numbers: [14, 50, 34] Generated Node #0,4: 98:[14, 50, 34] Operation: 2+32=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[14, 50, 16], Operations: ['32/2=16'] Exploring Operation: 14+16=30, Resulting Numbers: [50, 30] Generated Node #0,2,0: 98:[50, 30] Operation: 14+16=30 Exploring Operation: 50-14=36, Resulting Numbers: [16, 36] Generated Node #0,2,1: 98:[16, 36] Operation: 50-14=36 Exploring Operation: 50-16=34, Resulting Numbers: [14, 34] Generated Node #0,2,2: 98:[14, 34] Operation: 50-16=34 Exploring Operation: 16-14=2, Resulting Numbers: [50, 2] Generated Node #0,2,3: 98:[50, 2] Operation: 16-14=2 Exploring Operation: 14+50=64, Resulting Numbers: [16, 64] Generated Node #0,2,4: 98:[16, 64] Operation: 14+50=64 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 98:[50, 2], Operations: ['32/2=16', '16-14=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,98 unequal: No Solution No 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: 98:[16, 36], Operations: ['32/2=16', '50-14=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,98 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,98 unequal: No Solution No 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: 98:[14, 34], Operations: ['32/2=16', '50-16=34'] Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,98 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,98 unequal: No Solution No 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: 98:[50, 30], Operations: ['32/2=16', '14+16=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,98 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,98 unequal: No Solution No 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: 98:[16, 64], Operations: ['32/2=16', '14+50=64'] Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,98 unequal: No Solution Exploring Operation: 16*64=1024, Resulting Numbers: [1024] 1024,98 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: 98:[14, 2, 18], Operations: ['50-32=18'] Exploring Operation: 14/2=7, Resulting Numbers: [18, 7] Generated Node #0,1,0: 98:[18, 7] Operation: 14/2=7 Exploring Operation: 14+2=16, Resulting Numbers: [18, 16] Generated Node #0,1,1: 98:[18, 16] Operation: 14+2=16 Exploring Operation: 18/2=9, Resulting Numbers: [14, 9] Generated Node #0,1,2: 98:[14, 9] Operation: 18/2=9 Exploring Operation: 18-14=4, Resulting Numbers: [2, 4] Generated Node #0,1,3: 98:[2, 4] Operation: 18-14=4 Exploring Operation: 18-2=16, Resulting Numbers: [14, 16] Generated Node #0,1,4: 98:[14, 16] Operation: 18-2=16 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[14, 9], Operations: ['50-32=18', '18/2=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,98 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,98 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,98 unequal: No Solution No 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: 98:[2, 4], Operations: ['50-32=18', '18-14=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,98 unequal: No Solution No 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: 98:[14, 16], Operations: ['50-32=18', '18-2=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,98 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,98 unequal: No Solution No 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: 98:[18, 7], Operations: ['50-32=18', '14/2=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,98 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,98 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,98 unequal: No Solution No 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: 98:[18, 16], Operations: ['50-32=18', '14+2=16'] Exploring Operation: 18*16=288, Resulting Numbers: [288] 288,98 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 18+16=34, Resulting Numbers: [34] 34,98 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: 98:[2, 50, 46], Operations: ['14+32=46'] Exploring Operation: 2*50=100, Resulting Numbers: [46, 100] Generated Node #0,3,0: 98:[46, 100] Operation: 2*50=100 Exploring Operation: 50+46=96, Resulting Numbers: [2, 96] Generated Node #0,3,1: 98:[2, 96] Operation: 50+46=96 Exploring Operation: 2+46=48, Resulting Numbers: [50, 48] Generated Node #0,3,2: 98:[50, 48] Operation: 2+46=48 Exploring Operation: 50-46=4, Resulting Numbers: [2, 4] Generated Node #0,3,3: 98:[2, 4] Operation: 50-46=4 Exploring Operation: 50-2=48, Resulting Numbers: [46, 48] Generated Node #0,3,4: 98:[46, 48] Operation: 50-2=48 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 98:[2, 96], Operations: ['14+32=46', '50+46=96'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[14, 2, 32, 50], Operations: [] Exploring Operation: 14+32=46, Resulting Numbers: [2, 50, 46] Generated Node #0,3: 98:[2, 50, 46] Operation: 14+32=46 Moving to Node #0,3 Current State: 98:[2, 50, 46], Operations: ['14+32=46'] Exploring Operation: 50+46=96, Resulting Numbers: [2, 96] Generated Node #0,3,1: 98:[2, 96] Operation: 50+46=96 Moving to Node #0,3,1 Current State: 98:[2, 96], Operations: ['14+32=46', '50+46=96'] Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 22, 34, 14, 31 ]
62
[ "34-22=12", "14-12=2", "31*2=62" ]
Current State: 62:[22, 34, 14, 31], Operations: [] Exploring Operation: 34-22=12, Resulting Numbers: [14, 31, 12] Generated Node #2: [14, 31, 12] from Operation: 34-22=12 Current State: 62:[14, 31, 12], Operations: ['34-22=12'] Exploring Operation: 14-12=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 14-12=2 Current State: 62:[31, 2], Operations: ['34-22=12', '14-12=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[22, 34, 14, 31], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [34, 31, 8] Generated Node #0,0: 62:[34, 31, 8] Operation: 22-14=8 Exploring Operation: 22+14=36, Resulting Numbers: [34, 31, 36] Generated Node #0,1: 62:[34, 31, 36] Operation: 22+14=36 Exploring Operation: 34-22=12, Resulting Numbers: [14, 31, 12] Generated Node #0,2: 62:[14, 31, 12] Operation: 34-22=12 Exploring Operation: 22+34=56, Resulting Numbers: [14, 31, 56] Generated Node #0,3: 62:[14, 31, 56] Operation: 22+34=56 Exploring Operation: 34-14=20, Resulting Numbers: [22, 31, 20] Generated Node #0,4: 62:[22, 31, 20] Operation: 34-14=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[34, 31, 36], Operations: ['22+14=36'] Exploring Operation: 36-34=2, Resulting Numbers: [31, 2] Generated Node #0,1,0: 62:[31, 2] Operation: 36-34=2 Exploring Operation: 36-31=5, Resulting Numbers: [34, 5] Generated Node #0,1,1: 62:[34, 5] Operation: 36-31=5 Exploring Operation: 34+36=70, Resulting Numbers: [31, 70] Generated Node #0,1,2: 62:[31, 70] Operation: 34+36=70 Exploring Operation: 34+31=65, Resulting Numbers: [36, 65] Generated Node #0,1,3: 62:[36, 65] Operation: 34+31=65 Exploring Operation: 34-31=3, Resulting Numbers: [36, 3] Generated Node #0,1,4: 62:[36, 3] Operation: 34-31=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[31, 2], Operations: ['22+14=36', '36-34=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[22, 34, 14, 31], Operations: [] Exploring Operation: 22+14=36, Resulting Numbers: [34, 31, 36] Generated Node #0,1: 62:[34, 31, 36] Operation: 22+14=36 Moving to Node #0,1 Current State: 62:[34, 31, 36], Operations: ['22+14=36'] Exploring Operation: 36-34=2, Resulting Numbers: [31, 2] Generated Node #0,1,0: 62:[31, 2] Operation: 36-34=2 Moving to Node #0,1,0 Current State: 62:[31, 2], Operations: ['22+14=36', '36-34=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 64, 21, 17, 71 ]
11
[ "64-21=43", "71-17=54", "54-43=11" ]
Current State: 11:[64, 21, 17, 71], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [17, 71, 43] Generated Node #2: [17, 71, 43] from Operation: 64-21=43 Current State: 11:[17, 71, 43], Operations: ['64-21=43'] Exploring Operation: 71-17=54, Resulting Numbers: [43, 54] Generated Node #3: [43, 54] from Operation: 71-17=54 Current State: 11:[43, 54], Operations: ['64-21=43', '71-17=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[64, 21, 17, 71], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [17, 71, 43] Generated Node #0,0: 11:[17, 71, 43] Operation: 64-21=43 Exploring Operation: 71-21=50, Resulting Numbers: [64, 17, 50] Generated Node #0,1: 11:[64, 17, 50] Operation: 71-21=50 Exploring Operation: 71-64=7, Resulting Numbers: [21, 17, 7] Generated Node #0,2: 11:[21, 17, 7] Operation: 71-64=7 Exploring Operation: 64-17=47, Resulting Numbers: [21, 71, 47] Generated Node #0,3: 11:[21, 71, 47] Operation: 64-17=47 Moving to Node #0,2 Current State: 11:[21, 17, 7], Operations: ['71-64=7'] Exploring Operation: 21/7=3, Resulting Numbers: [17, 3] Generated Node #0,2,0: 11:[17, 3] Operation: 21/7=3 Exploring Operation: 17-7=10, Resulting Numbers: [21, 10] Generated Node #0,2,1: 11:[21, 10] Operation: 17-7=10 Exploring Operation: 21-17=4, Resulting Numbers: [7, 4] Generated Node #0,2,2: 11:[7, 4] Operation: 21-17=4 Exploring Operation: 21-7=14, Resulting Numbers: [17, 14] Generated Node #0,2,3: 11:[17, 14] Operation: 21-7=14 Moving to Node #0,1 Current State: 11:[64, 17, 50], Operations: ['71-21=50'] Exploring Operation: 64-17=47, Resulting Numbers: [50, 47] Generated Node #0,1,0: 11:[50, 47] Operation: 64-17=47 Exploring Operation: 50-17=33, Resulting Numbers: [64, 33] Generated Node #0,1,1: 11:[64, 33] Operation: 50-17=33 Exploring Operation: 64-50=14, Resulting Numbers: [17, 14] Generated Node #0,1,2: 11:[17, 14] Operation: 64-50=14 Exploring Operation: 64+17=81, Resulting Numbers: [50, 81] Generated Node #0,1,3: 11:[50, 81] Operation: 64+17=81 Moving to Node #0,0 Current State: 11:[17, 71, 43], Operations: ['64-21=43'] Exploring Operation: 71-17=54, Resulting Numbers: [43, 54] Generated Node #0,0,0: 11:[43, 54] Operation: 71-17=54 Exploring Operation: 71-43=28, Resulting Numbers: [17, 28] Generated Node #0,0,1: 11:[17, 28] Operation: 71-43=28 Exploring Operation: 17+71=88, Resulting Numbers: [43, 88] Generated Node #0,0,2: 11:[43, 88] Operation: 17+71=88 Exploring Operation: 43-17=26, Resulting Numbers: [71, 26] Generated Node #0,0,3: 11:[71, 26] Operation: 43-17=26 Moving to Node #0,3 Current State: 11:[21, 71, 47], Operations: ['64-17=47'] Exploring Operation: 47-21=26, Resulting Numbers: [71, 26] Generated Node #0,3,0: 11:[71, 26] Operation: 47-21=26 Exploring Operation: 71-21=50, Resulting Numbers: [47, 50] Generated Node #0,3,1: 11:[47, 50] Operation: 71-21=50 Exploring Operation: 71-47=24, Resulting Numbers: [21, 24] Generated Node #0,3,2: 11:[21, 24] Operation: 71-47=24 Exploring Operation: 21+71=92, Resulting Numbers: [47, 92] Generated Node #0,3,3: 11:[47, 92] Operation: 21+71=92 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[21, 24], Operations: ['64-17=47', '71-47=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,11 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,11 unequal: No Solution No 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: 11:[71, 26], Operations: ['64-17=47', '47-21=26'] Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,11 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,11 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,11 unequal: No Solution No 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: 11:[47, 50], Operations: ['64-17=47', '71-21=50'] Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,11 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,11 unequal: No Solution No 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: 11:[47, 92], Operations: ['64-17=47', '21+71=92'] Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,11 unequal: No Solution Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 11:[17, 14], Operations: ['71-64=7', '21-7=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,11 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[17, 14], Operations: ['71-21=50', '64-50=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,11 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[7, 4], Operations: ['71-64=7', '21-17=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[64, 21, 17, 71], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [21, 17, 7] Generated Node #0,2: 11:[21, 17, 7] Operation: 71-64=7 Moving to Node #0,2 Current State: 11:[21, 17, 7], Operations: ['71-64=7'] Exploring Operation: 21-17=4, Resulting Numbers: [7, 4] Generated Node #0,2,2: 11:[7, 4] Operation: 21-17=4 Moving to Node #0,2,2 Current State: 11:[7, 4], Operations: ['71-64=7', '21-17=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.960938
hs_4
mult_heuristic
[ 31, 74, 77, 16 ]
71
[ "77+16=93", "93/31=3", "74-3=71" ]
Current State: 71:[31, 74, 77, 16], Operations: [] Exploring Operation: 77+16=93, Resulting Numbers: [31, 74, 93] Generated Node #2: [31, 74, 93] from Operation: 77+16=93 Current State: 71:[31, 74, 93], Operations: ['77+16=93'] Exploring Operation: 93/31=3, Resulting Numbers: [74, 3] Generated Node #3: [74, 3] from Operation: 93/31=3 Current State: 71:[74, 3], Operations: ['77+16=93', '93/31=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[31, 74, 77, 16], Operations: [] Exploring Operation: 31+16=47, Resulting Numbers: [74, 77, 47] Generated Node #0,0: 71:[74, 77, 47] Operation: 31+16=47 Exploring Operation: 77-16=61, Resulting Numbers: [31, 74, 61] Generated Node #0,1: 71:[31, 74, 61] Operation: 77-16=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[74, 77, 47], Operations: ['31+16=47'] Exploring Operation: 77-47=30, Resulting Numbers: [74, 30] Generated Node #0,0,0: 71:[74, 30] Operation: 77-47=30 Exploring Operation: 74-47=27, Resulting Numbers: [77, 27] Generated Node #0,0,1: 71:[77, 27] Operation: 74-47=27 Moving to Node #0,0,0 Current State: 71:[74, 30], Operations: ['31+16=47', '77-47=30'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[77, 27], Operations: ['31+16=47', '74-47=27'] Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[31, 74, 61], Operations: ['77-16=61'] Exploring Operation: 74-31=43, Resulting Numbers: [61, 43] Generated Node #0,1,0: 71:[61, 43] Operation: 74-31=43 Exploring Operation: 31+61=92, Resulting Numbers: [74, 92] Generated Node #0,1,1: 71:[74, 92] Operation: 31+61=92 Moving to Node #0,1,1 Current State: 71:[74, 92], Operations: ['77-16=61', '31+61=92'] Exploring Operation: 74+92=166, Resulting Numbers: [166] 166,71 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[61, 43], Operations: ['77-16=61', '74-31=43'] Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 74, 64, 8, 38 ]
92
[ "74+64=138", "8+38=46", "138-46=92" ]
Current State: 92:[74, 64, 8, 38], Operations: [] Exploring Operation: 74+64=138, Resulting Numbers: [8, 38, 138] Generated Node #2: [8, 38, 138] from Operation: 74+64=138 Current State: 92:[8, 38, 138], Operations: ['74+64=138'] Exploring Operation: 8+38=46, Resulting Numbers: [138, 46] Generated Node #3: [138, 46] from Operation: 8+38=46 Current State: 92:[138, 46], Operations: ['74+64=138', '8+38=46'] Exploring Operation: 138-46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[74, 64, 8, 38], Operations: [] Exploring Operation: 64-38=26, Resulting Numbers: [74, 8, 26] Generated Node #0,0: 92:[74, 8, 26] Operation: 64-38=26 Exploring Operation: 74-64=10, Resulting Numbers: [8, 38, 10] Generated Node #0,1: 92:[8, 38, 10] Operation: 74-64=10 Moving to Node #0,1 Current State: 92:[8, 38, 10], Operations: ['74-64=10'] Exploring Operation: 38+10=48, Resulting Numbers: [8, 48] Generated Node #0,1,0: 92:[8, 48] Operation: 38+10=48 Exploring Operation: 8+38=46, Resulting Numbers: [10, 46] Generated Node #0,1,1: 92:[10, 46] Operation: 8+38=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[8, 48], Operations: ['74-64=10', '38+10=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[10, 46], Operations: ['74-64=10', '8+38=46'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,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:[74, 8, 26], Operations: ['64-38=26'] Exploring Operation: 74+26=100, Resulting Numbers: [8, 100] Generated Node #0,0,0: 92:[8, 100] Operation: 74+26=100 Exploring Operation: 74-26=48, Resulting Numbers: [8, 48] Generated Node #0,0,1: 92:[8, 48] Operation: 74-26=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[8, 48], Operations: ['64-38=26', '74-26=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,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,0,0 Current State: 92:[8, 100], Operations: ['64-38=26', '74+26=100'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[74, 64, 8, 38], Operations: [] Exploring Operation: 64-38=26, Resulting Numbers: [74, 8, 26] Generated Node #0,0: 92:[74, 8, 26] Operation: 64-38=26 Moving to Node #0,0 Current State: 92:[74, 8, 26], Operations: ['64-38=26'] Exploring Operation: 74+26=100, Resulting Numbers: [8, 100] Generated Node #0,0,0: 92:[8, 100] Operation: 74+26=100 Moving to Node #0,0,0 Current State: 92:[8, 100], Operations: ['64-38=26', '74+26=100'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 96, 47, 87, 41 ]
97
[ "96+47=143", "87-41=46", "143-46=97" ]
Current State: 97:[96, 47, 87, 41], Operations: [] Exploring Operation: 96+47=143, Resulting Numbers: [87, 41, 143] Generated Node #2: [87, 41, 143] from Operation: 96+47=143 Current State: 97:[87, 41, 143], Operations: ['96+47=143'] Exploring Operation: 87-41=46, Resulting Numbers: [143, 46] Generated Node #3: [143, 46] from Operation: 87-41=46 Current State: 97:[143, 46], Operations: ['96+47=143', '87-41=46'] Exploring Operation: 143-46=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[96, 47, 87, 41], Operations: [] Exploring Operation: 47+41=88, Resulting Numbers: [96, 87, 88] Generated Node #0,0: 97:[96, 87, 88] Operation: 47+41=88 Exploring Operation: 87+41=128, Resulting Numbers: [96, 47, 128] Generated Node #0,1: 97:[96, 47, 128] Operation: 87+41=128 Exploring Operation: 47+87=134, Resulting Numbers: [96, 41, 134] Generated Node #0,2: 97:[96, 41, 134] Operation: 47+87=134 Exploring Operation: 96+41=137, Resulting Numbers: [47, 87, 137] Generated Node #0,3: 97:[47, 87, 137] Operation: 96+41=137 Moving to Node #0,0 Current State: 97:[96, 87, 88], Operations: ['47+41=88'] Exploring Operation: 96+87=183, Resulting Numbers: [88, 183] Generated Node #0,0,0: 97:[88, 183] Operation: 96+87=183 Exploring Operation: 87+88=175, Resulting Numbers: [96, 175] Generated Node #0,0,1: 97:[96, 175] Operation: 87+88=175 Exploring Operation: 96+88=184, Resulting Numbers: [87, 184] Generated Node #0,0,2: 97:[87, 184] Operation: 96+88=184 Exploring Operation: 96-87=9, Resulting Numbers: [88, 9] Generated Node #0,0,3: 97:[88, 9] Operation: 96-87=9 Moving to Node #0,1 Current State: 97:[96, 47, 128], Operations: ['87+41=128'] Exploring Operation: 128-47=81, Resulting Numbers: [96, 81] Generated Node #0,1,0: 97:[96, 81] Operation: 128-47=81 Exploring Operation: 96+47=143, Resulting Numbers: [128, 143] Generated Node #0,1,1: 97:[128, 143] Operation: 96+47=143 Exploring Operation: 47+128=175, Resulting Numbers: [96, 175] Generated Node #0,1,2: 97:[96, 175] Operation: 47+128=175 Exploring Operation: 96-47=49, Resulting Numbers: [128, 49] Generated Node #0,1,3: 97:[128, 49] Operation: 96-47=49 Moving to Node #0,2 Current State: 97:[96, 41, 134], Operations: ['47+87=134'] Exploring Operation: 134-41=93, Resulting Numbers: [96, 93] Generated Node #0,2,0: 97:[96, 93] Operation: 134-41=93 Exploring Operation: 96-41=55, Resulting Numbers: [134, 55] Generated Node #0,2,1: 97:[134, 55] Operation: 96-41=55 Exploring Operation: 96+41=137, Resulting Numbers: [134, 137] Generated Node #0,2,2: 97:[134, 137] Operation: 96+41=137 Exploring Operation: 41+134=175, Resulting Numbers: [96, 175] Generated Node #0,2,3: 97:[96, 175] Operation: 41+134=175 Moving to Node #0,3 Current State: 97:[47, 87, 137], Operations: ['96+41=137'] Exploring Operation: 87-47=40, Resulting Numbers: [137, 40] Generated Node #0,3,0: 97:[137, 40] Operation: 87-47=40 Exploring Operation: 47+87=134, Resulting Numbers: [137, 134] Generated Node #0,3,1: 97:[137, 134] Operation: 47+87=134 Exploring Operation: 47+137=184, Resulting Numbers: [87, 184] Generated Node #0,3,2: 97:[87, 184] Operation: 47+137=184 Exploring Operation: 137-47=90, Resulting Numbers: [87, 90] Generated Node #0,3,3: 97:[87, 90] Operation: 137-47=90 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[87, 90], Operations: ['96+41=137', '137-47=90'] Exploring Operation: 87+90=177, Resulting Numbers: [177] 177,97 unequal: No Solution Exploring Operation: 87*90=7830, Resulting Numbers: [7830] 7830,97 unequal: No Solution Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[137, 134], Operations: ['96+41=137', '47+87=134'] Exploring Operation: 137-134=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 137+134=271, Resulting Numbers: [271] 271,97 unequal: No Solution Exploring Operation: 137*134=18358, Resulting Numbers: [18358] 18358,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[137, 40], Operations: ['96+41=137', '87-47=40'] Exploring Operation: 137+40=177, Resulting Numbers: [177] 177,97 unequal: No Solution Exploring Operation: 137-40=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[96, 47, 87, 41], Operations: [] Exploring Operation: 96+41=137, Resulting Numbers: [47, 87, 137] Generated Node #0,3: 97:[47, 87, 137] Operation: 96+41=137 Moving to Node #0,3 Current State: 97:[47, 87, 137], Operations: ['96+41=137'] Exploring Operation: 87-47=40, Resulting Numbers: [137, 40] Generated Node #0,3,0: 97:[137, 40] Operation: 87-47=40 Moving to Node #0,3,0 Current State: 97:[137, 40], Operations: ['96+41=137', '87-47=40'] Exploring Operation: 137-40=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 46, 26, 30, 49 ]
16
[ "49-46=3", "30/3=10", "26-10=16" ]
Current State: 16:[46, 26, 30, 49], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [26, 30, 3] Generated Node #2: [26, 30, 3] from Operation: 49-46=3 Current State: 16:[26, 30, 3], Operations: ['49-46=3'] Exploring Operation: 30/3=10, Resulting Numbers: [26, 10] Generated Node #3: [26, 10] from Operation: 30/3=10 Current State: 16:[26, 10], Operations: ['49-46=3', '30/3=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[46, 26, 30, 49], Operations: [] Exploring Operation: 49-30=19, Resulting Numbers: [46, 26, 19] Generated Node #0,0: 16:[46, 26, 19] Operation: 49-30=19 Exploring Operation: 46-30=16, Resulting Numbers: [26, 49, 16] Generated Node #0,1: 16:[26, 49, 16] Operation: 46-30=16 Exploring Operation: 46-26=20, Resulting Numbers: [30, 49, 20] Generated Node #0,2: 16:[30, 49, 20] Operation: 46-26=20 Exploring Operation: 49-46=3, Resulting Numbers: [26, 30, 3] Generated Node #0,3: 16:[26, 30, 3] Operation: 49-46=3 Moving to Node #0,3 Current State: 16:[26, 30, 3], Operations: ['49-46=3'] Exploring Operation: 30-3=27, Resulting Numbers: [26, 27] Generated Node #0,3,0: 16:[26, 27] Operation: 30-3=27 Exploring Operation: 26-3=23, Resulting Numbers: [30, 23] Generated Node #0,3,1: 16:[30, 23] Operation: 26-3=23 Exploring Operation: 30/3=10, Resulting Numbers: [26, 10] Generated Node #0,3,2: 16:[26, 10] Operation: 30/3=10 Exploring Operation: 30-26=4, Resulting Numbers: [3, 4] Generated Node #0,3,3: 16:[3, 4] Operation: 30-26=4 Moving to Node #0,1 Current State: 16:[26, 49, 16], Operations: ['46-30=16'] Exploring Operation: 49-16=33, Resulting Numbers: [26, 33] Generated Node #0,1,0: 16:[26, 33] Operation: 49-16=33 Exploring Operation: 49-26=23, Resulting Numbers: [16, 23] Generated Node #0,1,1: 16:[16, 23] Operation: 49-26=23 Exploring Operation: 26-16=10, Resulting Numbers: [49, 10] Generated Node #0,1,2: 16:[49, 10] Operation: 26-16=10 Exploring Operation: 26+49=75, Resulting Numbers: [16, 75] Generated Node #0,1,3: 16:[16, 75] Operation: 26+49=75 Moving to Node #0,0 Current State: 16:[46, 26, 19], Operations: ['49-30=19'] Exploring Operation: 46+26=72, Resulting Numbers: [19, 72] Generated Node #0,0,0: 16:[19, 72] Operation: 46+26=72 Exploring Operation: 46-19=27, Resulting Numbers: [26, 27] Generated Node #0,0,1: 16:[26, 27] Operation: 46-19=27 Exploring Operation: 26-19=7, Resulting Numbers: [46, 7] Generated Node #0,0,2: 16:[46, 7] Operation: 26-19=7 Exploring Operation: 46-26=20, Resulting Numbers: [19, 20] Generated Node #0,0,3: 16:[19, 20] Operation: 46-26=20 Moving to Node #0,2 Current State: 16:[30, 49, 20], Operations: ['46-26=20'] Exploring Operation: 30-20=10, Resulting Numbers: [49, 10] Generated Node #0,2,0: 16:[49, 10] Operation: 30-20=10 Exploring Operation: 49-20=29, Resulting Numbers: [30, 29] Generated Node #0,2,1: 16:[30, 29] Operation: 49-20=29 Exploring Operation: 49-30=19, Resulting Numbers: [20, 19] Generated Node #0,2,2: 16:[20, 19] Operation: 49-30=19 Exploring Operation: 30+49=79, Resulting Numbers: [20, 79] Generated Node #0,2,3: 16:[20, 79] Operation: 30+49=79 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[20, 19], Operations: ['46-26=20', '49-30=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,16 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,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,2,1 Current State: 16:[30, 29], Operations: ['46-26=20', '49-20=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,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,2,0 Current State: 16:[49, 10], Operations: ['46-26=20', '30-20=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,16 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,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,2,3 Current State: 16:[20, 79], Operations: ['46-26=20', '30+49=79'] Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,16 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 16:[3, 4], Operations: ['49-46=3', '30-26=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[16, 23], Operations: ['46-30=16', '49-26=23'] Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,16 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,16 unequal: No Solution Moving to Node #0,0,3 Current State: 16:[19, 20], Operations: ['49-30=19', '46-26=20'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,16 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[26, 10], Operations: ['49-46=3', '30/3=10'] Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,16 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[46, 26, 30, 49], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [26, 30, 3] Generated Node #0,3: 16:[26, 30, 3] Operation: 49-46=3 Moving to Node #0,3 Current State: 16:[26, 30, 3], Operations: ['49-46=3'] Exploring Operation: 30/3=10, Resulting Numbers: [26, 10] Generated Node #0,3,2: 16:[26, 10] Operation: 30/3=10 Moving to Node #0,3,2 Current State: 16:[26, 10], Operations: ['49-46=3', '30/3=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.958333
hs_4
mult_heuristic
[ 82, 18, 99, 81 ]
46
[ "82-18=64", "99-81=18", "64-18=46" ]
Current State: 46:[82, 18, 99, 81], Operations: [] Exploring Operation: 82-18=64, Resulting Numbers: [99, 81, 64] Generated Node #2: [99, 81, 64] from Operation: 82-18=64 Current State: 46:[99, 81, 64], Operations: ['82-18=64'] Exploring Operation: 99-81=18, Resulting Numbers: [64, 18] Generated Node #3: [64, 18] from Operation: 99-81=18 Current State: 46:[64, 18], Operations: ['82-18=64', '99-81=18'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[82, 18, 99, 81], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [18, 81, 17] Generated Node #0,0: 46:[18, 81, 17] Operation: 99-82=17 Exploring Operation: 99-18=81, Resulting Numbers: [82, 81, 81] Generated Node #0,1: 46:[82, 81, 81] Operation: 99-18=81 Exploring Operation: 82-81=1, Resulting Numbers: [18, 99, 1] Generated Node #0,2: 46:[18, 99, 1] Operation: 82-81=1 Exploring Operation: 99-81=18, Resulting Numbers: [82, 18, 18] Generated Node #0,3: 46:[82, 18, 18] Operation: 99-81=18 Exploring Operation: 82-18=64, Resulting Numbers: [99, 81, 64] Generated Node #0,4: 46:[99, 81, 64] Operation: 82-18=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[18, 81, 17], Operations: ['99-82=17'] Exploring Operation: 18+17=35, Resulting Numbers: [81, 35] Generated Node #0,0,0: 46:[81, 35] Operation: 18+17=35 Exploring Operation: 81-18=63, Resulting Numbers: [17, 63] Generated Node #0,0,1: 46:[17, 63] Operation: 81-18=63 Exploring Operation: 81-17=64, Resulting Numbers: [18, 64] Generated Node #0,0,2: 46:[18, 64] Operation: 81-17=64 Exploring Operation: 18-17=1, Resulting Numbers: [81, 1] Generated Node #0,0,3: 46:[81, 1] Operation: 18-17=1 Exploring Operation: 81+17=98, Resulting Numbers: [18, 98] Generated Node #0,0,4: 46:[18, 98] Operation: 81+17=98 Moving to Node #0,0,1 Current State: 46:[17, 63], Operations: ['99-82=17', '81-18=63'] Exploring Operation: 17*63=1071, Resulting Numbers: [1071] 1071,46 unequal: No Solution Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[82, 18, 99, 81], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [18, 81, 17] Generated Node #0,0: 46:[18, 81, 17] Operation: 99-82=17 Moving to Node #0,0 Current State: 46:[18, 81, 17], Operations: ['99-82=17'] Exploring Operation: 81-18=63, Resulting Numbers: [17, 63] Generated Node #0,0,1: 46:[17, 63] Operation: 81-18=63 Moving to Node #0,0,1 Current State: 46:[17, 63], Operations: ['99-82=17', '81-18=63'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 11, 66, 55, 36 ]
43
[ "66*36=2376", "2376-11=2365", "2365/55=43" ]
Current State: 43:[11, 66, 55, 36], Operations: [] Exploring Operation: 66*36=2376, Resulting Numbers: [11, 55, 2376] Generated Node #2: [11, 55, 2376] from Operation: 66*36=2376 Current State: 43:[11, 55, 2376], Operations: ['66*36=2376'] Exploring Operation: 2376-11=2365, Resulting Numbers: [55, 2365] Generated Node #3: [55, 2365] from Operation: 2376-11=2365 Current State: 43:[55, 2365], Operations: ['66*36=2376', '2376-11=2365'] Exploring Operation: 2365/55=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[11, 66, 55, 36], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [66, 36, 44] Generated Node #0,0: 43:[66, 36, 44] Operation: 55-11=44 Exploring Operation: 66-11=55, Resulting Numbers: [55, 36, 55] Generated Node #0,1: 43:[55, 36, 55] Operation: 66-11=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[66, 36, 44], Operations: ['55-11=44'] Exploring Operation: 66-44=22, Resulting Numbers: [36, 22] Generated Node #0,0,0: 43:[36, 22] Operation: 66-44=22 Exploring Operation: 66-36=30, Resulting Numbers: [44, 30] Generated Node #0,0,1: 43:[44, 30] Operation: 66-36=30 Moving to Node #0,0,1 Current State: 43:[44, 30], Operations: ['55-11=44', '66-36=30'] Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,43 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[36, 22], Operations: ['55-11=44', '66-44=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,43 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[55, 36, 55], Operations: ['66-11=55'] Exploring Operation: 55-36=19, Resulting Numbers: [55, 19] Generated Node #0,1,0: 43:[55, 19] Operation: 55-36=19 Exploring Operation: 55-36=19, Resulting Numbers: [55, 19] Generated Node #0,1,1: 43:[55, 19] Operation: 55-36=19 Moving to Node #0,1,0 Current State: 43:[55, 19], Operations: ['66-11=55', '55-36=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,43 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[55, 19], Operations: ['66-11=55', '55-36=19'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 52, 73, 31, 25 ]
36
[ "52+73=125", "125/25=5", "31+5=36" ]
Current State: 36:[52, 73, 31, 25], Operations: [] Exploring Operation: 52+73=125, Resulting Numbers: [31, 25, 125] Generated Node #2: [31, 25, 125] from Operation: 52+73=125 Current State: 36:[31, 25, 125], Operations: ['52+73=125'] Exploring Operation: 125/25=5, Resulting Numbers: [31, 5] Generated Node #3: [31, 5] from Operation: 125/25=5 Current State: 36:[31, 5], Operations: ['52+73=125', '125/25=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[52, 73, 31, 25], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [31, 25, 21] Generated Node #0,0: 36:[31, 25, 21] Operation: 73-52=21 Exploring Operation: 73-31=42, Resulting Numbers: [52, 25, 42] Generated Node #0,1: 36:[52, 25, 42] Operation: 73-31=42 Exploring Operation: 73-25=48, Resulting Numbers: [52, 31, 48] Generated Node #0,2: 36:[52, 31, 48] Operation: 73-25=48 Moving to Node #0,0 Current State: 36:[31, 25, 21], Operations: ['73-52=21'] Exploring Operation: 25-21=4, Resulting Numbers: [31, 4] Generated Node #0,0,0: 36:[31, 4] Operation: 25-21=4 Exploring Operation: 31-25=6, Resulting Numbers: [21, 6] Generated Node #0,0,1: 36:[21, 6] Operation: 31-25=6 Exploring Operation: 31-21=10, Resulting Numbers: [25, 10] Generated Node #0,0,2: 36:[25, 10] Operation: 31-21=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[21, 6], Operations: ['73-52=21', '31-25=6'] Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[31, 4], Operations: ['73-52=21', '25-21=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[25, 10], Operations: ['73-52=21', '31-21=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,36 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,36 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: 36:[52, 25, 42], Operations: ['73-31=42'] Exploring Operation: 52-42=10, Resulting Numbers: [25, 10] Generated Node #0,1,0: 36:[25, 10] Operation: 52-42=10 Exploring Operation: 52-25=27, Resulting Numbers: [42, 27] Generated Node #0,1,1: 36:[42, 27] Operation: 52-25=27 Exploring Operation: 42-25=17, Resulting Numbers: [52, 17] Generated Node #0,1,2: 36:[52, 17] Operation: 42-25=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[25, 10], Operations: ['73-31=42', '52-42=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,36 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[42, 27], Operations: ['73-31=42', '52-25=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[52, 17], Operations: ['73-31=42', '42-25=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,36 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: 36:[52, 31, 48], Operations: ['73-25=48'] Exploring Operation: 52-31=21, Resulting Numbers: [48, 21] Generated Node #0,2,0: 36:[48, 21] Operation: 52-31=21 Exploring Operation: 52-48=4, Resulting Numbers: [31, 4] Generated Node #0,2,1: 36:[31, 4] Operation: 52-48=4 Exploring Operation: 48-31=17, Resulting Numbers: [52, 17] Generated Node #0,2,2: 36:[52, 17] Operation: 48-31=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[31, 4], Operations: ['73-25=48', '52-48=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,36 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[48, 21], Operations: ['73-25=48', '52-31=21'] Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,36 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[52, 17], Operations: ['73-25=48', '48-31=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,36 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,36 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
[ 52, 8, 19, 4 ]
40
[ "52/4=13", "8+19=27", "13+27=40" ]
Current State: 40:[52, 8, 19, 4], Operations: [] Exploring Operation: 52/4=13, Resulting Numbers: [8, 19, 13] Generated Node #2: [8, 19, 13] from Operation: 52/4=13 Current State: 40:[8, 19, 13], Operations: ['52/4=13'] Exploring Operation: 8+19=27, Resulting Numbers: [13, 27] Generated Node #3: [13, 27] from Operation: 8+19=27 Current State: 40:[13, 27], Operations: ['52/4=13', '8+19=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[52, 8, 19, 4], Operations: [] Exploring Operation: 52-19=33, Resulting Numbers: [8, 4, 33] Generated Node #0,0: 40:[8, 4, 33] Operation: 52-19=33 Exploring Operation: 52/4=13, Resulting Numbers: [8, 19, 13] Generated Node #0,1: 40:[8, 19, 13] Operation: 52/4=13 Exploring Operation: 52-8=44, Resulting Numbers: [19, 4, 44] Generated Node #0,2: 40:[19, 4, 44] Operation: 52-8=44 Moving to Node #0,1 Current State: 40:[8, 19, 13], Operations: ['52/4=13'] Exploring Operation: 8+13=21, Resulting Numbers: [19, 21] Generated Node #0,1,0: 40:[19, 21] Operation: 8+13=21 Exploring Operation: 13-8=5, Resulting Numbers: [19, 5] Generated Node #0,1,1: 40:[19, 5] Operation: 13-8=5 Exploring Operation: 19-13=6, Resulting Numbers: [8, 6] Generated Node #0,1,2: 40:[8, 6] Operation: 19-13=6 Moving to Node #0,2 Current State: 40:[19, 4, 44], Operations: ['52-8=44'] Exploring Operation: 44-19=25, Resulting Numbers: [4, 25] Generated Node #0,2,0: 40:[4, 25] Operation: 44-19=25 Exploring Operation: 44-4=40, Resulting Numbers: [19, 40] Generated Node #0,2,1: 40:[19, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [19, 11] Generated Node #0,2,2: 40:[19, 11] Operation: 44/4=11 Moving to Node #0,0 Current State: 40:[8, 4, 33], Operations: ['52-19=33'] Exploring Operation: 33-8=25, Resulting Numbers: [4, 25] Generated Node #0,0,0: 40:[4, 25] Operation: 33-8=25 Exploring Operation: 4+33=37, Resulting Numbers: [8, 37] Generated Node #0,0,1: 40:[8, 37] Operation: 4+33=37 Exploring Operation: 8+33=41, Resulting Numbers: [4, 41] Generated Node #0,0,2: 40:[4, 41] Operation: 8+33=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[4, 41], Operations: ['52-19=33', '8+33=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,40 unequal: No Solution Exploring Operation: 4+41=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:[8, 37], Operations: ['52-19=33', '4+33=37'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,40 unequal: No Solution Exploring Operation: 8+37=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,0 Current State: 40:[4, 25], Operations: ['52-19=33', '33-8=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,40 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 40:[19, 5], Operations: ['52/4=13', '13-8=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[8, 6], Operations: ['52/4=13', '19-13=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[19, 40], Operations: ['52-8=44', '44-4=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,40 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[19, 21], Operations: ['52/4=13', '8+13=21'] Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,40 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[52, 8, 19, 4], Operations: [] Exploring Operation: 52/4=13, Resulting Numbers: [8, 19, 13] Generated Node #0,1: 40:[8, 19, 13] Operation: 52/4=13 Moving to Node #0,1 Current State: 40:[8, 19, 13], Operations: ['52/4=13'] Exploring Operation: 8+13=21, Resulting Numbers: [19, 21] Generated Node #0,1,0: 40:[19, 21] Operation: 8+13=21 Moving to Node #0,1,0 Current State: 40:[19, 21], Operations: ['52/4=13', '8+13=21'] Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 13, 70, 81, 76 ]
88
[ "13+70=83", "81-76=5", "83+5=88" ]
Current State: 88:[13, 70, 81, 76], Operations: [] Exploring Operation: 13+70=83, Resulting Numbers: [81, 76, 83] Generated Node #2: [81, 76, 83] from Operation: 13+70=83 Current State: 88:[81, 76, 83], Operations: ['13+70=83'] Exploring Operation: 81-76=5, Resulting Numbers: [83, 5] Generated Node #3: [83, 5] from Operation: 81-76=5 Current State: 88:[83, 5], Operations: ['13+70=83', '81-76=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[13, 70, 81, 76], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [13, 81, 6] Generated Node #0,0: 88:[13, 81, 6] Operation: 76-70=6 Moving to Node #0,0 Current State: 88:[13, 81, 6], Operations: ['76-70=6'] Exploring Operation: 81+6=87, Resulting Numbers: [13, 87] Generated Node #0,0,0: 88:[13, 87] Operation: 81+6=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[13, 87], Operations: ['76-70=6', '81+6=87'] Exploring Operation: 13+87=100, Resulting Numbers: [100] 100,88 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
[ 63, 85, 95, 6 ]
47
[ "63+85=148", "95+6=101", "148-101=47" ]
Current State: 47:[63, 85, 95, 6], Operations: [] Exploring Operation: 63+85=148, Resulting Numbers: [95, 6, 148] Generated Node #2: [95, 6, 148] from Operation: 63+85=148 Current State: 47:[95, 6, 148], Operations: ['63+85=148'] Exploring Operation: 95+6=101, Resulting Numbers: [148, 101] Generated Node #3: [148, 101] from Operation: 95+6=101 Current State: 47:[148, 101], Operations: ['63+85=148', '95+6=101'] Exploring Operation: 148-101=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[63, 85, 95, 6], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [85, 6, 32] Generated Node #0,0: 47:[85, 6, 32] Operation: 95-63=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[85, 6, 32], Operations: ['95-63=32'] Exploring Operation: 85-6=79, Resulting Numbers: [32, 79] Generated Node #0,0,0: 47:[32, 79] Operation: 85-6=79 Moving to Node #0,0,0 Current State: 47:[32, 79], Operations: ['95-63=32', '85-6=79'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[63, 85, 95, 6], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [85, 6, 32] Generated Node #0,0: 47:[85, 6, 32] Operation: 95-63=32 Moving to Node #0,0 Current State: 47:[85, 6, 32], Operations: ['95-63=32'] Exploring Operation: 85-6=79, Resulting Numbers: [32, 79] Generated Node #0,0,0: 47:[32, 79] Operation: 85-6=79 Moving to Node #0,0,0 Current State: 47:[32, 79], Operations: ['95-63=32', '85-6=79'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 45, 38, 43, 88 ]
79
[ "43-38=5", "45/5=9", "88-9=79" ]
Current State: 79:[45, 38, 43, 88], Operations: [] Exploring Operation: 43-38=5, Resulting Numbers: [45, 88, 5] Generated Node #2: [45, 88, 5] from Operation: 43-38=5 Current State: 79:[45, 88, 5], Operations: ['43-38=5'] Exploring Operation: 45/5=9, Resulting Numbers: [88, 9] Generated Node #3: [88, 9] from Operation: 45/5=9 Current State: 79:[88, 9], Operations: ['43-38=5', '45/5=9'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[45, 38, 43, 88], Operations: [] Exploring Operation: 38+43=81, Resulting Numbers: [45, 88, 81] Generated Node #0,0: 79:[45, 88, 81] Operation: 38+43=81 Moving to Node #0,0 Current State: 79:[45, 88, 81], Operations: ['38+43=81'] Exploring Operation: 88-45=43, Resulting Numbers: [81, 43] Generated Node #0,0,0: 79:[81, 43] Operation: 88-45=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[81, 43], Operations: ['38+43=81', '88-45=43'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,79 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
[ 82, 77, 34, 3 ]
67
[ "82-34=48", "3*48=144", "144-77=67" ]
Current State: 67:[82, 77, 34, 3], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [77, 3, 48] Generated Node #2: [77, 3, 48] from Operation: 82-34=48 Current State: 67:[77, 3, 48], Operations: ['82-34=48'] Exploring Operation: 3*48=144, Resulting Numbers: [77, 144] Generated Node #3: [77, 144] from Operation: 3*48=144 Current State: 67:[77, 144], Operations: ['82-34=48', '3*48=144'] Exploring Operation: 144-77=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[82, 77, 34, 3], Operations: [] Exploring Operation: 77-3=74, Resulting Numbers: [82, 34, 74] Generated Node #0,0: 67:[82, 34, 74] Operation: 77-3=74 Exploring Operation: 82-3=79, Resulting Numbers: [77, 34, 79] Generated Node #0,1: 67:[77, 34, 79] Operation: 82-3=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[82, 34, 74], Operations: ['77-3=74'] Exploring Operation: 74-34=40, Resulting Numbers: [82, 40] Generated Node #0,0,0: 67:[82, 40] Operation: 74-34=40 Exploring Operation: 82-34=48, Resulting Numbers: [74, 48] Generated Node #0,0,1: 67:[74, 48] Operation: 82-34=48 Moving to Node #0,0,1 Current State: 67:[74, 48], Operations: ['77-3=74', '82-34=48'] Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[82, 40], Operations: ['77-3=74', '74-34=40'] Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[77, 34, 79], Operations: ['82-3=79'] Exploring Operation: 79-34=45, Resulting Numbers: [77, 45] Generated Node #0,1,0: 67:[77, 45] Operation: 79-34=45 Exploring Operation: 77-34=43, Resulting Numbers: [79, 43] Generated Node #0,1,1: 67:[79, 43] Operation: 77-34=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[77, 45], Operations: ['82-3=79', '79-34=45'] Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,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:[79, 43], Operations: ['82-3=79', '77-34=43'] Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,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_2
sum_heuristic
[ 32, 74, 12, 68 ]
16
[ "74-68=6", "32*6=192", "192/12=16" ]
Current State: 16:[32, 74, 12, 68], Operations: [] Exploring Operation: 74-68=6, Resulting Numbers: [32, 12, 6] Generated Node #2: [32, 12, 6] from Operation: 74-68=6 Current State: 16:[32, 12, 6], Operations: ['74-68=6'] Exploring Operation: 32*6=192, Resulting Numbers: [12, 192] Generated Node #3: [12, 192] from Operation: 32*6=192 Current State: 16:[12, 192], Operations: ['74-68=6', '32*6=192'] Exploring Operation: 192/12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[32, 74, 12, 68], Operations: [] Exploring Operation: 74-68=6, Resulting Numbers: [32, 12, 6] Generated Node #0,0: 16:[32, 12, 6] Operation: 74-68=6 Exploring Operation: 74-32=42, Resulting Numbers: [12, 68, 42] Generated Node #0,1: 16:[12, 68, 42] Operation: 74-32=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[32, 12, 6], Operations: ['74-68=6'] Exploring Operation: 32-12=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 16:[6, 20] Operation: 32-12=20 Exploring Operation: 32-6=26, Resulting Numbers: [12, 26] Generated Node #0,0,1: 16:[12, 26] Operation: 32-6=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[6, 20], Operations: ['74-68=6', '32-12=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,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,1 Current State: 16:[12, 26], Operations: ['74-68=6', '32-6=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,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:[12, 68, 42], Operations: ['74-32=42'] Exploring Operation: 68-12=56, Resulting Numbers: [42, 56] Generated Node #0,1,0: 16:[42, 56] Operation: 68-12=56 Exploring Operation: 68-42=26, Resulting Numbers: [12, 26] Generated Node #0,1,1: 16:[12, 26] Operation: 68-42=26 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[12, 26], Operations: ['74-32=42', '68-42=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,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:[42, 56], Operations: ['74-32=42', '68-12=56'] Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,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_2
sum_heuristic
[ 50, 65, 13, 6 ]
17
[ "50+65=115", "115-13=102", "102/6=17" ]
Current State: 17:[50, 65, 13, 6], Operations: [] Exploring Operation: 50+65=115, Resulting Numbers: [13, 6, 115] Generated Node #2: [13, 6, 115] from Operation: 50+65=115 Current State: 17:[13, 6, 115], Operations: ['50+65=115'] Exploring Operation: 115-13=102, Resulting Numbers: [6, 102] Generated Node #3: [6, 102] from Operation: 115-13=102 Current State: 17:[6, 102], Operations: ['50+65=115', '115-13=102'] Exploring Operation: 102/6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[50, 65, 13, 6], Operations: [] Exploring Operation: 50-13=37, Resulting Numbers: [65, 6, 37] Generated Node #0,0: 17:[65, 6, 37] Operation: 50-13=37 Exploring Operation: 50-6=44, Resulting Numbers: [65, 13, 44] Generated Node #0,1: 17:[65, 13, 44] Operation: 50-6=44 Exploring Operation: 65/13=5, Resulting Numbers: [50, 6, 5] Generated Node #0,2: 17:[50, 6, 5] Operation: 65/13=5 Exploring Operation: 65-50=15, Resulting Numbers: [13, 6, 15] Generated Node #0,3: 17:[13, 6, 15] Operation: 65-50=15 Moving to Node #0,3 Current State: 17:[13, 6, 15], Operations: ['65-50=15'] Exploring Operation: 13+6=19, Resulting Numbers: [15, 19] Generated Node #0,3,0: 17:[15, 19] Operation: 13+6=19 Exploring Operation: 6+15=21, Resulting Numbers: [13, 21] Generated Node #0,3,1: 17:[13, 21] Operation: 6+15=21 Exploring Operation: 15-6=9, Resulting Numbers: [13, 9] Generated Node #0,3,2: 17:[13, 9] Operation: 15-6=9 Exploring Operation: 13-6=7, Resulting Numbers: [15, 7] Generated Node #0,3,3: 17:[15, 7] Operation: 13-6=7 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[15, 19], Operations: ['65-50=15', '13+6=19'] Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,17 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[13, 21], Operations: ['65-50=15', '6+15=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[13, 9], Operations: ['65-50=15', '15-6=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[15, 7], Operations: ['65-50=15', '13-6=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,17 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: 17:[50, 6, 5], Operations: ['65/13=5'] Exploring Operation: 50-6=44, Resulting Numbers: [5, 44] Generated Node #0,2,0: 17:[5, 44] Operation: 50-6=44 Exploring Operation: 50-5=45, Resulting Numbers: [6, 45] Generated Node #0,2,1: 17:[6, 45] Operation: 50-5=45 Exploring Operation: 6+5=11, Resulting Numbers: [50, 11] Generated Node #0,2,2: 17:[50, 11] Operation: 6+5=11 Exploring Operation: 50/5=10, Resulting Numbers: [6, 10] Generated Node #0,2,3: 17:[6, 10] Operation: 50/5=10 Moving to Node #0,1 Current State: 17:[65, 13, 44], Operations: ['50-6=44'] Exploring Operation: 44-13=31, Resulting Numbers: [65, 31] Generated Node #0,1,0: 17:[65, 31] Operation: 44-13=31 Exploring Operation: 65/13=5, Resulting Numbers: [44, 5] Generated Node #0,1,1: 17:[44, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [44, 52] Generated Node #0,1,2: 17:[44, 52] Operation: 65-13=52 Exploring Operation: 65-44=21, Resulting Numbers: [13, 21] Generated Node #0,1,3: 17:[13, 21] Operation: 65-44=21 Moving to Node #0,0 Current State: 17:[65, 6, 37], Operations: ['50-13=37'] Exploring Operation: 65-6=59, Resulting Numbers: [37, 59] Generated Node #0,0,0: 17:[37, 59] Operation: 65-6=59 Exploring Operation: 65+6=71, Resulting Numbers: [37, 71] Generated Node #0,0,1: 17:[37, 71] Operation: 65+6=71 Exploring Operation: 65-37=28, Resulting Numbers: [6, 28] Generated Node #0,0,2: 17:[6, 28] Operation: 65-37=28 Exploring Operation: 37-6=31, Resulting Numbers: [65, 31] Generated Node #0,0,3: 17:[65, 31] Operation: 37-6=31 Moving to Node #0,1,3 Current State: 17:[13, 21], Operations: ['50-6=44', '65-44=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,17 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[6, 10], Operations: ['65/13=5', '50/5=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[6, 28], Operations: ['50-13=37', '65-37=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,17 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[6, 45], Operations: ['65/13=5', '50-5=45'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,17 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[44, 5], Operations: ['50-6=44', '65/13=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 44*5=220, Resulting Numbers: [220] 220,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[5, 44], Operations: ['65/13=5', '50-6=44'] Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,17 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[50, 11], Operations: ['65/13=5', '6+5=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,17 unequal: No Solution Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[65, 31], Operations: ['50-6=44', '44-13=31'] Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,17 unequal: No Solution Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,17 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[65, 31], Operations: ['50-13=37', '37-6=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,17 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[37, 59], Operations: ['50-13=37', '65-6=59'] Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,17 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,17 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[44, 52], Operations: ['50-6=44', '65-13=52'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,17 unequal: No Solution Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[37, 71], Operations: ['50-13=37', '65+6=71'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 37+71=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 37*71=2627, Resulting Numbers: [2627] 2627,17 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 21, 10, 63, 15 ]
50
[ "21*10=210", "15*210=3150", "3150/63=50" ]
Current State: 50:[21, 10, 63, 15], Operations: [] Exploring Operation: 21*10=210, Resulting Numbers: [63, 15, 210] Generated Node #2: [63, 15, 210] from Operation: 21*10=210 Current State: 50:[63, 15, 210], Operations: ['21*10=210'] Exploring Operation: 15*210=3150, Resulting Numbers: [63, 3150] Generated Node #3: [63, 3150] from Operation: 15*210=3150 Current State: 50:[63, 3150], Operations: ['21*10=210', '15*210=3150'] Exploring Operation: 3150/63=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[21, 10, 63, 15], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [21, 10, 48] Generated Node #0,0: 50:[21, 10, 48] Operation: 63-15=48 Exploring Operation: 63/21=3, Resulting Numbers: [10, 15, 3] Generated Node #0,1: 50:[10, 15, 3] Operation: 63/21=3 Exploring Operation: 21-15=6, Resulting Numbers: [10, 63, 6] Generated Node #0,2: 50:[10, 63, 6] Operation: 21-15=6 Exploring Operation: 63-10=53, Resulting Numbers: [21, 15, 53] Generated Node #0,3: 50:[21, 15, 53] Operation: 63-10=53 Exploring Operation: 63-21=42, Resulting Numbers: [10, 15, 42] Generated Node #0,4: 50:[10, 15, 42] Operation: 63-21=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[21, 10, 48], Operations: ['63-15=48'] Exploring Operation: 48-21=27, Resulting Numbers: [10, 27] Generated Node #0,0,0: 50:[10, 27] Operation: 48-21=27 Exploring Operation: 21-10=11, Resulting Numbers: [48, 11] Generated Node #0,0,1: 50:[48, 11] Operation: 21-10=11 Exploring Operation: 21+10=31, Resulting Numbers: [48, 31] Generated Node #0,0,2: 50:[48, 31] Operation: 21+10=31 Exploring Operation: 10+48=58, Resulting Numbers: [21, 58] Generated Node #0,0,3: 50:[21, 58] Operation: 10+48=58 Exploring Operation: 48-10=38, Resulting Numbers: [21, 38] Generated Node #0,0,4: 50:[21, 38] Operation: 48-10=38 Moving to Node #0,0,0 Current State: 50:[10, 27], Operations: ['63-15=48', '48-21=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[48, 11], Operations: ['63-15=48', '21-10=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,50 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[48, 31], Operations: ['63-15=48', '21+10=31'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,50 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[21, 58], Operations: ['63-15=48', '10+48=58'] Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,50 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,50 unequal: No Solution Moving to Node #0,0,4 Current State: 50:[21, 38], Operations: ['63-15=48', '48-10=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,50 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,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,1 Current State: 50:[10, 15, 3], Operations: ['63/21=3'] Exploring Operation: 15-3=12, Resulting Numbers: [10, 12] Generated Node #0,1,0: 50:[10, 12] Operation: 15-3=12 Exploring Operation: 15*3=45, Resulting Numbers: [10, 45] Generated Node #0,1,1: 50:[10, 45] Operation: 15*3=45 Exploring Operation: 10+15=25, Resulting Numbers: [3, 25] Generated Node #0,1,2: 50:[3, 25] Operation: 10+15=25 Exploring Operation: 15-10=5, Resulting Numbers: [3, 5] Generated Node #0,1,3: 50:[3, 5] Operation: 15-10=5 Exploring Operation: 15/3=5, Resulting Numbers: [10, 5] Generated Node #0,1,4: 50:[10, 5] Operation: 15/3=5 Moving to Node #0,1,4 Current State: 50:[10, 5], Operations: ['63/21=3', '15/3=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[21, 10, 63, 15], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [10, 15, 3] Generated Node #0,1: 50:[10, 15, 3] Operation: 63/21=3 Moving to Node #0,1 Current State: 50:[10, 15, 3], Operations: ['63/21=3'] Exploring Operation: 15/3=5, Resulting Numbers: [10, 5] Generated Node #0,1,4: 50:[10, 5] Operation: 15/3=5 Moving to Node #0,1,4 Current State: 50:[10, 5], Operations: ['63/21=3', '15/3=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 69, 83, 84, 97 ]
63
[ "97-83=14", "84/14=6", "69-6=63" ]
Current State: 63:[69, 83, 84, 97], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [69, 84, 14] Generated Node #2: [69, 84, 14] from Operation: 97-83=14 Current State: 63:[69, 84, 14], Operations: ['97-83=14'] Exploring Operation: 84/14=6, Resulting Numbers: [69, 6] Generated Node #3: [69, 6] from Operation: 84/14=6 Current State: 63:[69, 6], Operations: ['97-83=14', '84/14=6'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[69, 83, 84, 97], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [69, 97, 1] Generated Node #0,0: 63:[69, 97, 1] Operation: 84-83=1 Exploring Operation: 83-69=14, Resulting Numbers: [84, 97, 14] Generated Node #0,1: 63:[84, 97, 14] Operation: 83-69=14 Exploring Operation: 97-84=13, Resulting Numbers: [69, 83, 13] Generated Node #0,2: 63:[69, 83, 13] Operation: 97-84=13 Exploring Operation: 97-83=14, Resulting Numbers: [69, 84, 14] Generated Node #0,3: 63:[69, 84, 14] Operation: 97-83=14 Exploring Operation: 97-69=28, Resulting Numbers: [83, 84, 28] Generated Node #0,4: 63:[83, 84, 28] Operation: 97-69=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[69, 83, 13], Operations: ['97-84=13'] Exploring Operation: 69+13=82, Resulting Numbers: [83, 82] Generated Node #0,2,0: 63:[83, 82] Operation: 69+13=82 Exploring Operation: 69-13=56, Resulting Numbers: [83, 56] Generated Node #0,2,1: 63:[83, 56] Operation: 69-13=56 Exploring Operation: 83-13=70, Resulting Numbers: [69, 70] Generated Node #0,2,2: 63:[69, 70] Operation: 83-13=70 Exploring Operation: 83+13=96, Resulting Numbers: [69, 96] Generated Node #0,2,3: 63:[69, 96] Operation: 83+13=96 Exploring Operation: 83-69=14, Resulting Numbers: [13, 14] Generated Node #0,2,4: 63:[13, 14] Operation: 83-69=14 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 63:[13, 14], Operations: ['97-84=13', '83-69=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,63 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[69, 70], Operations: ['97-84=13', '83-13=70'] Exploring Operation: 69+70=139, Resulting Numbers: [139] 139,63 unequal: No Solution Exploring Operation: 69*70=4830, Resulting Numbers: [4830] 4830,63 unequal: No Solution Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[83, 56], Operations: ['97-84=13', '69-13=56'] Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,63 unequal: No Solution Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,63 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[83, 82], Operations: ['97-84=13', '69+13=82'] Exploring Operation: 83*82=6806, Resulting Numbers: [6806] 6806,63 unequal: No Solution Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 83+82=165, Resulting Numbers: [165] 165,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 63:[69, 96], Operations: ['97-84=13', '83+13=96'] Exploring Operation: 69+96=165, Resulting Numbers: [165] 165,63 unequal: No Solution Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 69*96=6624, Resulting Numbers: [6624] 6624,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[69, 84, 14], Operations: ['97-83=14'] Exploring Operation: 84-14=70, Resulting Numbers: [69, 70] Generated Node #0,3,0: 63:[69, 70] Operation: 84-14=70 Exploring Operation: 84-69=15, Resulting Numbers: [14, 15] Generated Node #0,3,1: 63:[14, 15] Operation: 84-69=15 Exploring Operation: 84/14=6, Resulting Numbers: [69, 6] Generated Node #0,3,2: 63:[69, 6] Operation: 84/14=6 Exploring Operation: 69+14=83, Resulting Numbers: [84, 83] Generated Node #0,3,3: 63:[84, 83] Operation: 69+14=83 Exploring Operation: 69-14=55, Resulting Numbers: [84, 55] Generated Node #0,3,4: 63:[84, 55] Operation: 69-14=55 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 63:[69, 6], Operations: ['97-83=14', '84/14=6'] Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,63 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[69, 83, 84, 97], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [69, 84, 14] Generated Node #0,3: 63:[69, 84, 14] Operation: 97-83=14 Moving to Node #0,3 Current State: 63:[69, 84, 14], Operations: ['97-83=14'] Exploring Operation: 84/14=6, Resulting Numbers: [69, 6] Generated Node #0,3,2: 63:[69, 6] Operation: 84/14=6 Moving to Node #0,3,2 Current State: 63:[69, 6], Operations: ['97-83=14', '84/14=6'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 2, 21, 98, 59 ]
99
[ "98-59=39", "2*39=78", "21+78=99" ]
Current State: 99:[2, 21, 98, 59], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [2, 21, 39] Generated Node #2: [2, 21, 39] from Operation: 98-59=39 Current State: 99:[2, 21, 39], Operations: ['98-59=39'] Exploring Operation: 2*39=78, Resulting Numbers: [21, 78] Generated Node #3: [21, 78] from Operation: 2*39=78 Current State: 99:[21, 78], Operations: ['98-59=39', '2*39=78'] Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[2, 21, 98, 59], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [2, 21, 39] Generated Node #0,0: 99:[2, 21, 39] Operation: 98-59=39 Exploring Operation: 59-21=38, Resulting Numbers: [2, 98, 38] Generated Node #0,1: 99:[2, 98, 38] Operation: 59-21=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[2, 98, 38], Operations: ['59-21=38'] Exploring Operation: 38-2=36, Resulting Numbers: [98, 36] Generated Node #0,1,0: 99:[98, 36] Operation: 38-2=36 Exploring Operation: 2+98=100, Resulting Numbers: [38, 100] Generated Node #0,1,1: 99:[38, 100] Operation: 2+98=100 Moving to Node #0,1,0 Current State: 99:[98, 36], Operations: ['59-21=38', '38-2=36'] Exploring Operation: 98-36=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 98+36=134, Resulting Numbers: [134] 134,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[38, 100], Operations: ['59-21=38', '2+98=100'] Exploring Operation: 100-38=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 38+100=138, Resulting Numbers: [138] 138,99 unequal: No Solution No 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: 99:[2, 21, 39], Operations: ['98-59=39'] Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 99:[2, 18] Operation: 39-21=18 Exploring Operation: 21-2=19, Resulting Numbers: [39, 19] Generated Node #0,0,1: 99:[39, 19] Operation: 21-2=19 Moving to Node #0,0,0 Current State: 99:[2, 18], Operations: ['98-59=39', '39-21=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[39, 19], Operations: ['98-59=39', '21-2=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 3, 59, 33, 66 ]
23
[ "59-3=56", "66-33=33", "56-33=23" ]
Current State: 23:[3, 59, 33, 66], Operations: [] Exploring Operation: 59-3=56, Resulting Numbers: [33, 66, 56] Generated Node #2: [33, 66, 56] from Operation: 59-3=56 Current State: 23:[33, 66, 56], Operations: ['59-3=56'] Exploring Operation: 66-33=33, Resulting Numbers: [56, 33] Generated Node #3: [56, 33] from Operation: 66-33=33 Current State: 23:[56, 33], Operations: ['59-3=56', '66-33=33'] Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[3, 59, 33, 66], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [59, 33, 22] Generated Node #0,0: 23:[59, 33, 22] Operation: 66/3=22 Exploring Operation: 66-59=7, Resulting Numbers: [3, 33, 7] Generated Node #0,1: 23:[3, 33, 7] Operation: 66-59=7 Moving to Node #0,1 Current State: 23:[3, 33, 7], Operations: ['66-59=7'] Exploring Operation: 3*7=21, Resulting Numbers: [33, 21] Generated Node #0,1,0: 23:[33, 21] Operation: 3*7=21 Exploring Operation: 33-3=30, Resulting Numbers: [7, 30] Generated Node #0,1,1: 23:[7, 30] Operation: 33-3=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[33, 21], Operations: ['66-59=7', '3*7=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[7, 30], Operations: ['66-59=7', '33-3=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[3, 59, 33, 66], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [3, 33, 7] Generated Node #0,1: 23:[3, 33, 7] Operation: 66-59=7 Moving to Node #0,1 Current State: 23:[3, 33, 7], Operations: ['66-59=7'] Exploring Operation: 33-3=30, Resulting Numbers: [7, 30] Generated Node #0,1,1: 23:[7, 30] Operation: 33-3=30 Moving to Node #0,1,1 Current State: 23:[7, 30], Operations: ['66-59=7', '33-3=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 59, 61, 23, 60 ]
83
[ "59+61=120", "60-23=37", "120-37=83" ]
Current State: 83:[59, 61, 23, 60], Operations: [] Exploring Operation: 59+61=120, Resulting Numbers: [23, 60, 120] Generated Node #2: [23, 60, 120] from Operation: 59+61=120 Current State: 83:[23, 60, 120], Operations: ['59+61=120'] Exploring Operation: 60-23=37, Resulting Numbers: [120, 37] Generated Node #3: [120, 37] from Operation: 60-23=37 Current State: 83:[120, 37], Operations: ['59+61=120', '60-23=37'] Exploring Operation: 120-37=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[59, 61, 23, 60], Operations: [] Exploring Operation: 59-23=36, Resulting Numbers: [61, 60, 36] Generated Node #0,0: 83:[61, 60, 36] Operation: 59-23=36 Exploring Operation: 23+60=83, Resulting Numbers: [59, 61, 83] Generated Node #0,1: 83:[59, 61, 83] Operation: 23+60=83 Exploring Operation: 61+23=84, Resulting Numbers: [59, 60, 84] Generated Node #0,2: 83:[59, 60, 84] Operation: 61+23=84 Exploring Operation: 59+23=82, Resulting Numbers: [61, 60, 82] Generated Node #0,3: 83:[61, 60, 82] Operation: 59+23=82 Moving to Node #0,1 Current State: 83:[59, 61, 83], Operations: ['23+60=83'] Exploring Operation: 61-59=2, Resulting Numbers: [83, 2] Generated Node #0,1,0: 83:[83, 2] Operation: 61-59=2 Exploring Operation: 59+83=142, Resulting Numbers: [61, 142] Generated Node #0,1,1: 83:[61, 142] Operation: 59+83=142 Exploring Operation: 59+61=120, Resulting Numbers: [83, 120] Generated Node #0,1,2: 83:[83, 120] Operation: 59+61=120 Exploring Operation: 83-59=24, Resulting Numbers: [61, 24] Generated Node #0,1,3: 83:[61, 24] Operation: 83-59=24 Moving to Node #0,3 Current State: 83:[61, 60, 82], Operations: ['59+23=82'] Exploring Operation: 61+82=143, Resulting Numbers: [60, 143] Generated Node #0,3,0: 83:[60, 143] Operation: 61+82=143 Exploring Operation: 61+60=121, Resulting Numbers: [82, 121] Generated Node #0,3,1: 83:[82, 121] Operation: 61+60=121 Exploring Operation: 61-60=1, Resulting Numbers: [82, 1] Generated Node #0,3,2: 83:[82, 1] Operation: 61-60=1 Exploring Operation: 60+82=142, Resulting Numbers: [61, 142] Generated Node #0,3,3: 83:[61, 142] Operation: 60+82=142 Moving to Node #0,2 Current State: 83:[59, 60, 84], Operations: ['61+23=84'] Exploring Operation: 60-59=1, Resulting Numbers: [84, 1] Generated Node #0,2,0: 83:[84, 1] Operation: 60-59=1 Exploring Operation: 84-59=25, Resulting Numbers: [60, 25] Generated Node #0,2,1: 83:[60, 25] Operation: 84-59=25 Exploring Operation: 59+60=119, Resulting Numbers: [84, 119] Generated Node #0,2,2: 83:[84, 119] Operation: 59+60=119 Exploring Operation: 59+84=143, Resulting Numbers: [60, 143] Generated Node #0,2,3: 83:[60, 143] Operation: 59+84=143 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[84, 119], Operations: ['61+23=84', '59+60=119'] Exploring Operation: 84+119=203, Resulting Numbers: [203] 203,83 unequal: No Solution Exploring Operation: 119-84=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 84*119=9996, Resulting Numbers: [9996] 9996,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[60, 25], Operations: ['61+23=84', '84-59=25'] Exploring Operation: 60*25=1500, Resulting Numbers: [1500] 1500,83 unequal: No Solution Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,83 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[84, 1], Operations: ['61+23=84', '60-59=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[59, 61, 23, 60], Operations: [] Exploring Operation: 61+23=84, Resulting Numbers: [59, 60, 84] Generated Node #0,2: 83:[59, 60, 84] Operation: 61+23=84 Moving to Node #0,2 Current State: 83:[59, 60, 84], Operations: ['61+23=84'] Exploring Operation: 60-59=1, Resulting Numbers: [84, 1] Generated Node #0,2,0: 83:[84, 1] Operation: 60-59=1 Moving to Node #0,2,0 Current State: 83:[84, 1], Operations: ['61+23=84', '60-59=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
mult_heuristic
[ 95, 7, 38, 9 ]
73
[ "95+7=102", "38-9=29", "102-29=73" ]
Current State: 73:[95, 7, 38, 9], Operations: [] Exploring Operation: 95+7=102, Resulting Numbers: [38, 9, 102] Generated Node #2: [38, 9, 102] from Operation: 95+7=102 Current State: 73:[38, 9, 102], Operations: ['95+7=102'] Exploring Operation: 38-9=29, Resulting Numbers: [102, 29] Generated Node #3: [102, 29] from Operation: 38-9=29 Current State: 73:[102, 29], Operations: ['95+7=102', '38-9=29'] Exploring Operation: 102-29=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[95, 7, 38, 9], Operations: [] Exploring Operation: 95-9=86, Resulting Numbers: [7, 38, 86] Generated Node #0,0: 73:[7, 38, 86] Operation: 95-9=86 Exploring Operation: 7*9=63, Resulting Numbers: [95, 38, 63] Generated Node #0,1: 73:[95, 38, 63] Operation: 7*9=63 Exploring Operation: 95-7=88, Resulting Numbers: [38, 9, 88] Generated Node #0,2: 73:[38, 9, 88] Operation: 95-7=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[95, 38, 63], Operations: ['7*9=63'] Exploring Operation: 95+38=133, Resulting Numbers: [63, 133] Generated Node #0,1,0: 73:[63, 133] Operation: 95+38=133 Exploring Operation: 38+63=101, Resulting Numbers: [95, 101] Generated Node #0,1,1: 73:[95, 101] Operation: 38+63=101 Exploring Operation: 95-38=57, Resulting Numbers: [63, 57] Generated Node #0,1,2: 73:[63, 57] Operation: 95-38=57 Moving to Node #0,1,2 Current State: 73:[63, 57], Operations: ['7*9=63', '95-38=57'] Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,73 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[95, 101], Operations: ['7*9=63', '38+63=101'] Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,73 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[63, 133], Operations: ['7*9=63', '95+38=133'] Exploring Operation: 63*133=8379, Resulting Numbers: [8379] 8379,73 unequal: No Solution Exploring Operation: 133-63=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 63+133=196, Resulting Numbers: [196] 196,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,0 Current State: 73:[7, 38, 86], Operations: ['95-9=86'] Exploring Operation: 86-7=79, Resulting Numbers: [38, 79] Generated Node #0,0,0: 73:[38, 79] Operation: 86-7=79 Exploring Operation: 38-7=31, Resulting Numbers: [86, 31] Generated Node #0,0,1: 73:[86, 31] Operation: 38-7=31 Exploring Operation: 7+38=45, Resulting Numbers: [86, 45] Generated Node #0,0,2: 73:[86, 45] Operation: 7+38=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[38, 79], Operations: ['95-9=86', '86-7=79'] Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,73 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[86, 45], Operations: ['95-9=86', '7+38=45'] Exploring Operation: 86+45=131, Resulting Numbers: [131] 131,73 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 86*45=3870, Resulting Numbers: [3870] 3870,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[86, 31], Operations: ['95-9=86', '38-7=31'] Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,73 unequal: No Solution Exploring Operation: 86*31=2666, Resulting Numbers: [2666] 2666,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[38, 9, 88], Operations: ['95-7=88'] Exploring Operation: 38+9=47, Resulting Numbers: [88, 47] Generated Node #0,2,0: 73:[88, 47] Operation: 38+9=47 Exploring Operation: 88-9=79, Resulting Numbers: [38, 79] Generated Node #0,2,1: 73:[38, 79] Operation: 88-9=79 Exploring Operation: 38-9=29, Resulting Numbers: [88, 29] Generated Node #0,2,2: 73:[88, 29] Operation: 38-9=29 Moving to Node #0,2,0 Current State: 73:[88, 47], Operations: ['95-7=88', '38+9=47'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,73 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[38, 79], Operations: ['95-7=88', '88-9=79'] Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,73 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[88, 29], Operations: ['95-7=88', '38-9=29'] Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,73 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
[ 80, 79, 78, 9 ]
87
[ "80-79=1", "78+9=87", "1*87=87" ]
Current State: 87:[80, 79, 78, 9], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [78, 9, 1] Generated Node #2: [78, 9, 1] from Operation: 80-79=1 Current State: 87:[78, 9, 1], Operations: ['80-79=1'] Exploring Operation: 78+9=87, Resulting Numbers: [1, 87] Generated Node #3: [1, 87] from Operation: 78+9=87 Current State: 87:[1, 87], Operations: ['80-79=1', '78+9=87'] Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[80, 79, 78, 9], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [78, 9, 1] Generated Node #0,0: 87:[78, 9, 1] Operation: 80-79=1 Exploring Operation: 80-78=2, Resulting Numbers: [79, 9, 2] Generated Node #0,1: 87:[79, 9, 2] Operation: 80-78=2 Exploring Operation: 78+9=87, Resulting Numbers: [80, 79, 87] Generated Node #0,2: 87:[80, 79, 87] Operation: 78+9=87 Exploring Operation: 79-78=1, Resulting Numbers: [80, 9, 1] Generated Node #0,3: 87:[80, 9, 1] Operation: 79-78=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[79, 9, 2], Operations: ['80-78=2'] Exploring Operation: 79+9=88, Resulting Numbers: [2, 88] Generated Node #0,1,0: 87:[2, 88] Operation: 79+9=88 Exploring Operation: 9-2=7, Resulting Numbers: [79, 7] Generated Node #0,1,1: 87:[79, 7] Operation: 9-2=7 Exploring Operation: 79-2=77, Resulting Numbers: [9, 77] Generated Node #0,1,2: 87:[9, 77] Operation: 79-2=77 Exploring Operation: 79+2=81, Resulting Numbers: [9, 81] Generated Node #0,1,3: 87:[9, 81] Operation: 79+2=81 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[2, 88], Operations: ['80-78=2', '79+9=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,87 unequal: No Solution No 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: 87:[79, 7], Operations: ['80-78=2', '9-2=7'] Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 79*7=553, Resulting Numbers: [553] 553,87 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,87 unequal: No Solution No 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: 87:[9, 81], Operations: ['80-78=2', '79+2=81'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,87 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,87 unequal: No Solution No 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: 87:[9, 77], Operations: ['80-78=2', '79-2=77'] Exploring Operation: 9*77=693, Resulting Numbers: [693] 693,87 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 9+77=86, Resulting Numbers: [86] 86,87 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: 87:[80, 79, 87], Operations: ['78+9=87'] Exploring Operation: 87-80=7, Resulting Numbers: [79, 7] Generated Node #0,2,0: 87:[79, 7] Operation: 87-80=7 Exploring Operation: 80-79=1, Resulting Numbers: [87, 1] Generated Node #0,2,1: 87:[87, 1] Operation: 80-79=1 Exploring Operation: 80+79=159, Resulting Numbers: [87, 159] Generated Node #0,2,2: 87:[87, 159] Operation: 80+79=159 Exploring Operation: 87-79=8, Resulting Numbers: [80, 8] Generated Node #0,2,3: 87:[80, 8] Operation: 87-79=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[87, 1], Operations: ['78+9=87', '80-79=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[80, 79, 78, 9], Operations: [] Exploring Operation: 78+9=87, Resulting Numbers: [80, 79, 87] Generated Node #0,2: 87:[80, 79, 87] Operation: 78+9=87 Moving to Node #0,2 Current State: 87:[80, 79, 87], Operations: ['78+9=87'] Exploring Operation: 80-79=1, Resulting Numbers: [87, 1] Generated Node #0,2,1: 87:[87, 1] Operation: 80-79=1 Moving to Node #0,2,1 Current State: 87:[87, 1], Operations: ['78+9=87', '80-79=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 36, 65, 4, 1 ]
80
[ "36*4=144", "65-1=64", "144-64=80" ]
Current State: 80:[36, 65, 4, 1], Operations: [] Exploring Operation: 36*4=144, Resulting Numbers: [65, 1, 144] Generated Node #2: [65, 1, 144] from Operation: 36*4=144 Current State: 80:[65, 1, 144], Operations: ['36*4=144'] Exploring Operation: 65-1=64, Resulting Numbers: [144, 64] Generated Node #3: [144, 64] from Operation: 65-1=64 Current State: 80:[144, 64], Operations: ['36*4=144', '65-1=64'] Exploring Operation: 144-64=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[36, 65, 4, 1], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [4, 1, 29] Generated Node #0,0: 80:[4, 1, 29] Operation: 65-36=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[4, 1, 29], Operations: ['65-36=29'] Exploring Operation: 29-4=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 80:[1, 25] Operation: 29-4=25 Moving to Node #0,0,0 Current State: 80:[1, 25], Operations: ['65-36=29', '29-4=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,80 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
[ 28, 26, 21, 3 ]
99
[ "28+26=54", "54-21=33", "3*33=99" ]
Current State: 99:[28, 26, 21, 3], Operations: [] Exploring Operation: 28+26=54, Resulting Numbers: [21, 3, 54] Generated Node #2: [21, 3, 54] from Operation: 28+26=54 Current State: 99:[21, 3, 54], Operations: ['28+26=54'] Exploring Operation: 54-21=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 54-21=33 Current State: 99:[3, 33], Operations: ['28+26=54', '54-21=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[28, 26, 21, 3], Operations: [] Exploring Operation: 21/3=7, Resulting Numbers: [28, 26, 7] Generated Node #0,0: 99:[28, 26, 7] Operation: 21/3=7 Exploring Operation: 28-26=2, Resulting Numbers: [21, 3, 2] Generated Node #0,1: 99:[21, 3, 2] Operation: 28-26=2 Exploring Operation: 26-21=5, Resulting Numbers: [28, 3, 5] Generated Node #0,2: 99:[28, 3, 5] Operation: 26-21=5 Exploring Operation: 28-21=7, Resulting Numbers: [26, 3, 7] Generated Node #0,3: 99:[26, 3, 7] Operation: 28-21=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[28, 3, 5], Operations: ['26-21=5'] Exploring Operation: 5-3=2, Resulting Numbers: [28, 2] Generated Node #0,2,0: 99:[28, 2] Operation: 5-3=2 Exploring Operation: 3+5=8, Resulting Numbers: [28, 8] Generated Node #0,2,1: 99:[28, 8] Operation: 3+5=8 Exploring Operation: 28+3=31, Resulting Numbers: [5, 31] Generated Node #0,2,2: 99:[5, 31] Operation: 28+3=31 Exploring Operation: 28+5=33, Resulting Numbers: [3, 33] Generated Node #0,2,3: 99:[3, 33] Operation: 28+5=33 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[3, 33], Operations: ['26-21=5', '28+5=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[28, 26, 21, 3], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [28, 3, 5] Generated Node #0,2: 99:[28, 3, 5] Operation: 26-21=5 Moving to Node #0,2 Current State: 99:[28, 3, 5], Operations: ['26-21=5'] Exploring Operation: 28+5=33, Resulting Numbers: [3, 33] Generated Node #0,2,3: 99:[3, 33] Operation: 28+5=33 Moving to Node #0,2,3 Current State: 99:[3, 33], Operations: ['26-21=5', '28+5=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 90, 5, 34, 1 ]
14
[ "90-34=56", "5-1=4", "56/4=14" ]
Current State: 14:[90, 5, 34, 1], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [5, 1, 56] Generated Node #2: [5, 1, 56] from Operation: 90-34=56 Current State: 14:[5, 1, 56], Operations: ['90-34=56'] Exploring Operation: 5-1=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 5-1=4 Current State: 14:[56, 4], Operations: ['90-34=56', '5-1=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[90, 5, 34, 1], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [34, 1, 18] Generated Node #0,0: 14:[34, 1, 18] Operation: 90/5=18 Exploring Operation: 90-5=85, Resulting Numbers: [34, 1, 85] Generated Node #0,1: 14:[34, 1, 85] Operation: 90-5=85 Exploring Operation: 90-34=56, Resulting Numbers: [5, 1, 56] Generated Node #0,2: 14:[5, 1, 56] Operation: 90-34=56 Exploring Operation: 34-5=29, Resulting Numbers: [90, 1, 29] Generated Node #0,3: 14:[90, 1, 29] Operation: 34-5=29 Moving to Node #0,0 Current State: 14:[34, 1, 18], Operations: ['90/5=18'] Exploring Operation: 34*1=34, Resulting Numbers: [18, 34] Generated Node #0,0,0: 14:[18, 34] Operation: 34*1=34 Exploring Operation: 34-1=33, Resulting Numbers: [18, 33] Generated Node #0,0,1: 14:[18, 33] Operation: 34-1=33 Exploring Operation: 18-1=17, Resulting Numbers: [34, 17] Generated Node #0,0,2: 14:[34, 17] Operation: 18-1=17 Exploring Operation: 34-18=16, Resulting Numbers: [1, 16] Generated Node #0,0,3: 14:[1, 16] Operation: 34-18=16 Moving to Node #0,2 Current State: 14:[5, 1, 56], Operations: ['90-34=56'] Exploring Operation: 5+1=6, Resulting Numbers: [56, 6] Generated Node #0,2,0: 14:[56, 6] Operation: 5+1=6 Exploring Operation: 56-1=55, Resulting Numbers: [5, 55] Generated Node #0,2,1: 14:[5, 55] Operation: 56-1=55 Exploring Operation: 56-5=51, Resulting Numbers: [1, 51] Generated Node #0,2,2: 14:[1, 51] Operation: 56-5=51 Exploring Operation: 5*1=5, Resulting Numbers: [56, 5] Generated Node #0,2,3: 14:[56, 5] Operation: 5*1=5 Moving to Node #0,3 Current State: 14:[90, 1, 29], Operations: ['34-5=29'] Exploring Operation: 29-1=28, Resulting Numbers: [90, 28] Generated Node #0,3,0: 14:[90, 28] Operation: 29-1=28 Exploring Operation: 90-29=61, Resulting Numbers: [1, 61] Generated Node #0,3,1: 14:[1, 61] Operation: 90-29=61 Exploring Operation: 90-1=89, Resulting Numbers: [29, 89] Generated Node #0,3,2: 14:[29, 89] Operation: 90-1=89 Exploring Operation: 90*1=90, Resulting Numbers: [29, 90] Generated Node #0,3,3: 14:[29, 90] Operation: 90*1=90 Moving to Node #0,1 Current State: 14:[34, 1, 85], Operations: ['90-5=85'] Exploring Operation: 34*1=34, Resulting Numbers: [85, 34] Generated Node #0,1,0: 14:[85, 34] Operation: 34*1=34 Exploring Operation: 85-1=84, Resulting Numbers: [34, 84] Generated Node #0,1,1: 14:[34, 84] Operation: 85-1=84 Exploring Operation: 34-1=33, Resulting Numbers: [85, 33] Generated Node #0,1,2: 14:[85, 33] Operation: 34-1=33 Exploring Operation: 85-34=51, Resulting Numbers: [1, 51] Generated Node #0,1,3: 14:[1, 51] Operation: 85-34=51 Moving to Node #0,0,3 Current State: 14:[1, 16], Operations: ['90/5=18', '34-18=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[34, 17], Operations: ['90/5=18', '18-1=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,14 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[18, 33], Operations: ['90/5=18', '34-1=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,14 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[18, 34], Operations: ['90/5=18', '34*1=34'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[1, 51], Operations: ['90-5=85', '85-34=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,14 unequal: No Solution Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[1, 51], Operations: ['90-34=56', '56-5=51'] Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[5, 55], Operations: ['90-34=56', '56-1=55'] Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,14 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,14 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[56, 6], Operations: ['90-34=56', '5+1=6'] Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,14 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,14 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,14 unequal: No Solution Moving to Node #0,2,3 Current State: 14:[56, 5], Operations: ['90-34=56', '5*1=5'] Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,14 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[1, 61], Operations: ['34-5=29', '90-29=61'] Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,14 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,14 unequal: No Solution Exploring Operation: 1+61=62, Resulting Numbers: [62] 62,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[34, 84], Operations: ['90-5=85', '85-1=84'] Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,14 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,14 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[90, 28], Operations: ['34-5=29', '29-1=28'] Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,14 unequal: No Solution Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,14 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[29, 89], Operations: ['34-5=29', '90-1=89'] Exploring Operation: 29*89=2581, Resulting Numbers: [2581] 2581,14 unequal: No Solution Exploring Operation: 29+89=118, Resulting Numbers: [118] 118,14 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[85, 33], Operations: ['90-5=85', '34-1=33'] Exploring Operation: 85-33=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 85*33=2805, Resulting Numbers: [2805] 2805,14 unequal: No Solution Exploring Operation: 85+33=118, Resulting Numbers: [118] 118,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[29, 90], Operations: ['34-5=29', '90*1=90'] Exploring Operation: 29+90=119, Resulting Numbers: [119] 119,14 unequal: No Solution Exploring Operation: 29*90=2610, Resulting Numbers: [2610] 2610,14 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[85, 34], Operations: ['90-5=85', '34*1=34'] Exploring Operation: 85+34=119, Resulting Numbers: [119] 119,14 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 85*34=2890, Resulting Numbers: [2890] 2890,14 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 50, 23, 3, 54 ]
45
[ "50-23=27", "54/3=18", "27+18=45" ]
Current State: 45:[50, 23, 3, 54], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [3, 54, 27] Generated Node #2: [3, 54, 27] from Operation: 50-23=27 Current State: 45:[3, 54, 27], Operations: ['50-23=27'] Exploring Operation: 54/3=18, Resulting Numbers: [27, 18] Generated Node #3: [27, 18] from Operation: 54/3=18 Current State: 45:[27, 18], Operations: ['50-23=27', '54/3=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[50, 23, 3, 54], Operations: [] Exploring Operation: 50-3=47, Resulting Numbers: [23, 54, 47] Generated Node #0,0: 45:[23, 54, 47] Operation: 50-3=47 Exploring Operation: 54-50=4, Resulting Numbers: [23, 3, 4] Generated Node #0,1: 45:[23, 3, 4] Operation: 54-50=4 Exploring Operation: 54-23=31, Resulting Numbers: [50, 3, 31] Generated Node #0,2: 45:[50, 3, 31] Operation: 54-23=31 Exploring Operation: 54/3=18, Resulting Numbers: [50, 23, 18] Generated Node #0,3: 45:[50, 23, 18] Operation: 54/3=18 Exploring Operation: 23-3=20, Resulting Numbers: [50, 54, 20] Generated Node #0,4: 45:[50, 54, 20] Operation: 23-3=20 Moving to Node #0,1 Current State: 45:[23, 3, 4], Operations: ['54-50=4'] Exploring Operation: 3*4=12, Resulting Numbers: [23, 12] Generated Node #0,1,0: 45:[23, 12] Operation: 3*4=12 Exploring Operation: 23-4=19, Resulting Numbers: [3, 19] Generated Node #0,1,1: 45:[3, 19] Operation: 23-4=19 Exploring Operation: 3+4=7, Resulting Numbers: [23, 7] Generated Node #0,1,2: 45:[23, 7] Operation: 3+4=7 Exploring Operation: 23-3=20, Resulting Numbers: [4, 20] Generated Node #0,1,3: 45:[4, 20] Operation: 23-3=20 Exploring Operation: 4-3=1, Resulting Numbers: [23, 1] Generated Node #0,1,4: 45:[23, 1] Operation: 4-3=1 Moving to Node #0,3 Current State: 45:[50, 23, 18], Operations: ['54/3=18'] Exploring Operation: 50+23=73, Resulting Numbers: [18, 73] Generated Node #0,3,0: 45:[18, 73] Operation: 50+23=73 Exploring Operation: 50-23=27, Resulting Numbers: [18, 27] Generated Node #0,3,1: 45:[18, 27] Operation: 50-23=27 Exploring Operation: 23+18=41, Resulting Numbers: [50, 41] Generated Node #0,3,2: 45:[50, 41] Operation: 23+18=41 Exploring Operation: 23-18=5, Resulting Numbers: [50, 5] Generated Node #0,3,3: 45:[50, 5] Operation: 23-18=5 Exploring Operation: 50-18=32, Resulting Numbers: [23, 32] Generated Node #0,3,4: 45:[23, 32] Operation: 50-18=32 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[50, 5], Operations: ['54/3=18', '23-18=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[50, 23, 3, 54], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [50, 23, 18] Generated Node #0,3: 45:[50, 23, 18] Operation: 54/3=18 Moving to Node #0,3 Current State: 45:[50, 23, 18], Operations: ['54/3=18'] Exploring Operation: 23-18=5, Resulting Numbers: [50, 5] Generated Node #0,3,3: 45:[50, 5] Operation: 23-18=5 Moving to Node #0,3,3 Current State: 45:[50, 5], Operations: ['54/3=18', '23-18=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic