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
[ 92, 97, 14, 50 ]
100
[ "92-50=42", "42/14=3", "97+3=100" ]
Current State: 100:[92, 97, 14, 50], Operations: [] Exploring Operation: 92-50=42, Resulting Numbers: [97, 14, 42] Generated Node #2: [97, 14, 42] from Operation: 92-50=42 Current State: 100:[97, 14, 42], Operations: ['92-50=42'] Exploring Operation: 42/14=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 42/14=3 Current State: 100:[97, 3], Operations: ['92-50=42', '42/14=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[92, 97, 14, 50], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [14, 50, 5] Generated Node #0,0: 100:[14, 50, 5] Operation: 97-92=5 Exploring Operation: 92+14=106, Resulting Numbers: [97, 50, 106] Generated Node #0,1: 100:[97, 50, 106] Operation: 92+14=106 Exploring Operation: 97+14=111, Resulting Numbers: [92, 50, 111] Generated Node #0,2: 100:[92, 50, 111] Operation: 97+14=111 Exploring Operation: 97-50=47, Resulting Numbers: [92, 14, 47] Generated Node #0,3: 100:[92, 14, 47] Operation: 97-50=47 Exploring Operation: 92-50=42, Resulting Numbers: [97, 14, 42] Generated Node #0,4: 100:[97, 14, 42] Operation: 92-50=42 Moving to Node #0,0 Current State: 100:[14, 50, 5], Operations: ['97-92=5'] Exploring Operation: 14+5=19, Resulting Numbers: [50, 19] Generated Node #0,0,0: 100:[50, 19] Operation: 14+5=19 Exploring Operation: 50-5=45, Resulting Numbers: [14, 45] Generated Node #0,0,1: 100:[14, 45] Operation: 50-5=45 Exploring Operation: 14-5=9, Resulting Numbers: [50, 9] Generated Node #0,0,2: 100:[50, 9] Operation: 14-5=9 Exploring Operation: 50+5=55, Resulting Numbers: [14, 55] Generated Node #0,0,3: 100:[14, 55] Operation: 50+5=55 Exploring Operation: 50/5=10, Resulting Numbers: [14, 10] Generated Node #0,0,4: 100:[14, 10] Operation: 50/5=10 Moving to Node #0,1 Current State: 100:[97, 50, 106], Operations: ['92+14=106'] Exploring Operation: 50+106=156, Resulting Numbers: [97, 156] Generated Node #0,1,0: 100:[97, 156] Operation: 50+106=156 Exploring Operation: 97-50=47, Resulting Numbers: [106, 47] Generated Node #0,1,1: 100:[106, 47] Operation: 97-50=47 Exploring Operation: 106-97=9, Resulting Numbers: [50, 9] Generated Node #0,1,2: 100:[50, 9] Operation: 106-97=9 Exploring Operation: 97+50=147, Resulting Numbers: [106, 147] Generated Node #0,1,3: 100:[106, 147] Operation: 97+50=147 Exploring Operation: 106-50=56, Resulting Numbers: [97, 56] Generated Node #0,1,4: 100:[97, 56] Operation: 106-50=56 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[50, 9], Operations: ['92+14=106', '106-97=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,100 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[106, 47], Operations: ['92+14=106', '97-50=47'] Exploring Operation: 106*47=4982, Resulting Numbers: [4982] 4982,100 unequal: No Solution Exploring Operation: 106+47=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 106-47=59, Resulting Numbers: [59] 59,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 100:[97, 56], Operations: ['92+14=106', '106-50=56'] Exploring Operation: 97+56=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 97*56=5432, Resulting Numbers: [5432] 5432,100 unequal: No Solution Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[106, 147], Operations: ['92+14=106', '97+50=147'] Exploring Operation: 147-106=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 106+147=253, Resulting Numbers: [253] 253,100 unequal: No Solution Exploring Operation: 106*147=15582, Resulting Numbers: [15582] 15582,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[97, 156], Operations: ['92+14=106', '50+106=156'] Exploring Operation: 97+156=253, Resulting Numbers: [253] 253,100 unequal: No Solution Exploring Operation: 97*156=15132, Resulting Numbers: [15132] 15132,100 unequal: No Solution Exploring Operation: 156-97=59, Resulting Numbers: [59] 59,100 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: 100:[92, 14, 47], Operations: ['97-50=47'] Exploring Operation: 92-47=45, Resulting Numbers: [14, 45] Generated Node #0,3,0: 100:[14, 45] Operation: 92-47=45 Exploring Operation: 14+47=61, Resulting Numbers: [92, 61] Generated Node #0,3,1: 100:[92, 61] Operation: 14+47=61 Exploring Operation: 47-14=33, Resulting Numbers: [92, 33] Generated Node #0,3,2: 100:[92, 33] Operation: 47-14=33 Exploring Operation: 92+14=106, Resulting Numbers: [47, 106] Generated Node #0,3,3: 100:[47, 106] Operation: 92+14=106 Exploring Operation: 92-14=78, Resulting Numbers: [47, 78] Generated Node #0,3,4: 100:[47, 78] Operation: 92-14=78 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[14, 45], Operations: ['97-50=47', '92-47=45'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,100 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,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,3,3 Current State: 100:[47, 106], Operations: ['97-50=47', '92+14=106'] Exploring Operation: 106-47=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 47*106=4982, Resulting Numbers: [4982] 4982,100 unequal: No Solution Exploring Operation: 47+106=153, Resulting Numbers: [153] 153,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,3,2 Current State: 100:[92, 33], Operations: ['97-50=47', '47-14=33'] Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,100 unequal: No Solution Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,100 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,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,3,1 Current State: 100:[92, 61], Operations: ['97-50=47', '14+47=61'] Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,100 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,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,3,4 Current State: 100:[47, 78], Operations: ['97-50=47', '92-14=78'] Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,100 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,100 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: 100:[97, 14, 42], Operations: ['92-50=42'] Exploring Operation: 42-14=28, Resulting Numbers: [97, 28] Generated Node #0,4,0: 100:[97, 28] Operation: 42-14=28 Exploring Operation: 97-42=55, Resulting Numbers: [14, 55] Generated Node #0,4,1: 100:[14, 55] Operation: 97-42=55 Exploring Operation: 97+14=111, Resulting Numbers: [42, 111] Generated Node #0,4,2: 100:[42, 111] Operation: 97+14=111 Exploring Operation: 14+42=56, Resulting Numbers: [97, 56] Generated Node #0,4,3: 100:[97, 56] Operation: 14+42=56 Exploring Operation: 42/14=3, Resulting Numbers: [97, 3] Generated Node #0,4,4: 100:[97, 3] Operation: 42/14=3 Moving to Node #0,2 Current State: 100:[92, 50, 111], Operations: ['97+14=111'] Exploring Operation: 111-92=19, Resulting Numbers: [50, 19] Generated Node #0,2,0: 100:[50, 19] Operation: 111-92=19 Exploring Operation: 92+50=142, Resulting Numbers: [111, 142] Generated Node #0,2,1: 100:[111, 142] Operation: 92+50=142 Exploring Operation: 50+111=161, Resulting Numbers: [92, 161] Generated Node #0,2,2: 100:[92, 161] Operation: 50+111=161 Exploring Operation: 111-50=61, Resulting Numbers: [92, 61] Generated Node #0,2,3: 100:[92, 61] Operation: 111-50=61 Exploring Operation: 92-50=42, Resulting Numbers: [111, 42] Generated Node #0,2,4: 100:[111, 42] Operation: 92-50=42 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[50, 19], Operations: ['97+14=111', '111-92=19'] Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 50*19=950, Resulting Numbers: [950] 950,100 unequal: No Solution Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,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,2,3 Current State: 100:[92, 61], Operations: ['97+14=111', '111-50=61'] Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,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,2,4 Current State: 100:[111, 42], Operations: ['97+14=111', '92-50=42'] Exploring Operation: 111-42=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 111+42=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 111*42=4662, Resulting Numbers: [4662] 4662,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,2,1 Current State: 100:[111, 142], Operations: ['97+14=111', '92+50=142'] Exploring Operation: 111+142=253, Resulting Numbers: [253] 253,100 unequal: No Solution Exploring Operation: 142-111=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 111*142=15762, Resulting Numbers: [15762] 15762,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,2,2 Current State: 100:[92, 161], Operations: ['97+14=111', '50+111=161'] Exploring Operation: 92+161=253, Resulting Numbers: [253] 253,100 unequal: No Solution Exploring Operation: 92*161=14812, Resulting Numbers: [14812] 14812,100 unequal: No Solution Exploring Operation: 161-92=69, Resulting Numbers: [69] 69,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 100:[50, 19], Operations: ['97-92=5', '14+5=19'] Exploring Operation: 50*19=950, Resulting Numbers: [950] 950,100 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[50, 9], Operations: ['97-92=5', '14-5=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[14, 10], Operations: ['97-92=5', '50/5=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,100 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[97, 3], Operations: ['92-50=42', '42/14=3'] Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,100 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[92, 97, 14, 50], Operations: [] Exploring Operation: 92-50=42, Resulting Numbers: [97, 14, 42] Generated Node #0,4: 100:[97, 14, 42] Operation: 92-50=42 Moving to Node #0,4 Current State: 100:[97, 14, 42], Operations: ['92-50=42'] Exploring Operation: 42/14=3, Resulting Numbers: [97, 3] Generated Node #0,4,4: 100:[97, 3] Operation: 42/14=3 Moving to Node #0,4,4 Current State: 100:[97, 3], Operations: ['92-50=42', '42/14=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.921875
hs_5
sum_heuristic
[ 80, 40, 60, 47 ]
53
[ "80-40=40", "60-47=13", "40+13=53" ]
Current State: 53:[80, 40, 60, 47], Operations: [] Exploring Operation: 80-40=40, Resulting Numbers: [60, 47, 40] Generated Node #2: [60, 47, 40] from Operation: 80-40=40 Current State: 53:[60, 47, 40], Operations: ['80-40=40'] Exploring Operation: 60-47=13, Resulting Numbers: [40, 13] Generated Node #3: [40, 13] from Operation: 60-47=13 Current State: 53:[40, 13], Operations: ['80-40=40', '60-47=13'] Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[80, 40, 60, 47], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [60, 47, 2] Generated Node #0,0: 53:[60, 47, 2] Operation: 80/40=2 Exploring Operation: 80-40=40, Resulting Numbers: [60, 47, 40] Generated Node #0,1: 53:[60, 47, 40] Operation: 80-40=40 Exploring Operation: 80-47=33, Resulting Numbers: [40, 60, 33] Generated Node #0,2: 53:[40, 60, 33] Operation: 80-47=33 Exploring Operation: 60-40=20, Resulting Numbers: [80, 47, 20] Generated Node #0,3: 53:[80, 47, 20] Operation: 60-40=20 Exploring Operation: 80-60=20, Resulting Numbers: [40, 47, 20] Generated Node #0,4: 53:[40, 47, 20] Operation: 80-60=20 Moving to Node #0,1 Current State: 53:[60, 47, 40], Operations: ['80-40=40'] Exploring Operation: 47+40=87, Resulting Numbers: [60, 87] Generated Node #0,1,0: 53:[60, 87] Operation: 47+40=87 Exploring Operation: 60+40=100, Resulting Numbers: [47, 100] Generated Node #0,1,1: 53:[47, 100] Operation: 60+40=100 Exploring Operation: 60-40=20, Resulting Numbers: [47, 20] Generated Node #0,1,2: 53:[47, 20] Operation: 60-40=20 Exploring Operation: 47-40=7, Resulting Numbers: [60, 7] Generated Node #0,1,3: 53:[60, 7] Operation: 47-40=7 Exploring Operation: 60-47=13, Resulting Numbers: [40, 13] Generated Node #0,1,4: 53:[40, 13] Operation: 60-47=13 Moving to Node #0,2 Current State: 53:[40, 60, 33], Operations: ['80-47=33'] Exploring Operation: 40-33=7, Resulting Numbers: [60, 7] Generated Node #0,2,0: 53:[60, 7] Operation: 40-33=7 Exploring Operation: 60-40=20, Resulting Numbers: [33, 20] Generated Node #0,2,1: 53:[33, 20] Operation: 60-40=20 Exploring Operation: 40+33=73, Resulting Numbers: [60, 73] Generated Node #0,2,2: 53:[60, 73] Operation: 40+33=73 Exploring Operation: 60-33=27, Resulting Numbers: [40, 27] Generated Node #0,2,3: 53:[40, 27] Operation: 60-33=27 Exploring Operation: 60+33=93, Resulting Numbers: [40, 93] Generated Node #0,2,4: 53:[40, 93] Operation: 60+33=93 Moving to Node #0,4 Current State: 53:[40, 47, 20], Operations: ['80-60=20'] Exploring Operation: 40/20=2, Resulting Numbers: [47, 2] Generated Node #0,4,0: 53:[47, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [47, 20] Generated Node #0,4,1: 53:[47, 20] Operation: 40-20=20 Exploring Operation: 47+20=67, Resulting Numbers: [40, 67] Generated Node #0,4,2: 53:[40, 67] Operation: 47+20=67 Exploring Operation: 40+20=60, Resulting Numbers: [47, 60] Generated Node #0,4,3: 53:[47, 60] Operation: 40+20=60 Exploring Operation: 47-20=27, Resulting Numbers: [40, 27] Generated Node #0,4,4: 53:[40, 27] Operation: 47-20=27 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[47, 60], Operations: ['80-60=20', '40+20=60'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,53 unequal: No Solution Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,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,4,2 Current State: 53:[40, 67], Operations: ['80-60=20', '47+20=67'] Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,53 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,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,4,1 Current State: 53:[47, 20], Operations: ['80-60=20', '40-20=20'] Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,53 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,53 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,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,4,4 Current State: 53:[40, 27], Operations: ['80-60=20', '47-20=27'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,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,4,0 Current State: 53:[47, 2], Operations: ['80-60=20', '40/20=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,53 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,53 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: 53:[60, 47, 2], Operations: ['80/40=2'] Exploring Operation: 60+2=62, Resulting Numbers: [47, 62] Generated Node #0,0,0: 53:[47, 62] Operation: 60+2=62 Exploring Operation: 60-2=58, Resulting Numbers: [47, 58] Generated Node #0,0,1: 53:[47, 58] Operation: 60-2=58 Exploring Operation: 47+2=49, Resulting Numbers: [60, 49] Generated Node #0,0,2: 53:[60, 49] Operation: 47+2=49 Exploring Operation: 47-2=45, Resulting Numbers: [60, 45] Generated Node #0,0,3: 53:[60, 45] Operation: 47-2=45 Exploring Operation: 60/2=30, Resulting Numbers: [47, 30] Generated Node #0,0,4: 53:[47, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[47, 58], Operations: ['80/40=2', '60-2=58'] Exploring Operation: 47*58=2726, Resulting Numbers: [2726] 2726,53 unequal: No Solution Exploring Operation: 47+58=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,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,0,2 Current State: 53:[60, 49], Operations: ['80/40=2', '47+2=49'] Exploring Operation: 60+49=109, Resulting Numbers: [109] 109,53 unequal: No Solution Exploring Operation: 60*49=2940, Resulting Numbers: [2940] 2940,53 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,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,0,0 Current State: 53:[47, 62], Operations: ['80/40=2', '60+2=62'] Exploring Operation: 47+62=109, Resulting Numbers: [109] 109,53 unequal: No Solution Exploring Operation: 47*62=2914, Resulting Numbers: [2914] 2914,53 unequal: No Solution Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,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,0,3 Current State: 53:[60, 45], Operations: ['80/40=2', '47-2=45'] Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,53 unequal: No Solution Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,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,0,4 Current State: 53:[47, 30], Operations: ['80/40=2', '60/2=30'] Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,53 unequal: No Solution Exploring Operation: 47*30=1410, Resulting Numbers: [1410] 1410,53 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,53 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: 53:[80, 47, 20], Operations: ['60-40=20'] Exploring Operation: 80-20=60, Resulting Numbers: [47, 60] Generated Node #0,3,0: 53:[47, 60] Operation: 80-20=60 Exploring Operation: 47+20=67, Resulting Numbers: [80, 67] Generated Node #0,3,1: 53:[80, 67] Operation: 47+20=67 Exploring Operation: 47-20=27, Resulting Numbers: [80, 27] Generated Node #0,3,2: 53:[80, 27] Operation: 47-20=27 Exploring Operation: 80+20=100, Resulting Numbers: [47, 100] Generated Node #0,3,3: 53:[47, 100] Operation: 80+20=100 Exploring Operation: 80-47=33, Resulting Numbers: [20, 33] Generated Node #0,3,4: 53:[20, 33] Operation: 80-47=33 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[47, 60], Operations: ['60-40=20', '80-20=60'] Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,53 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,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,3,1 Current State: 53:[80, 67], Operations: ['60-40=20', '47+20=67'] Exploring Operation: 80*67=5360, Resulting Numbers: [5360] 5360,53 unequal: No Solution Exploring Operation: 80+67=147, Resulting Numbers: [147] 147,53 unequal: No Solution Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,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,3,2 Current State: 53:[80, 27], Operations: ['60-40=20', '47-20=27'] Exploring Operation: 80*27=2160, Resulting Numbers: [2160] 2160,53 unequal: No Solution Exploring Operation: 80+27=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[80, 40, 60, 47], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [80, 47, 20] Generated Node #0,3: 53:[80, 47, 20] Operation: 60-40=20 Moving to Node #0,3 Current State: 53:[80, 47, 20], Operations: ['60-40=20'] Exploring Operation: 47-20=27, Resulting Numbers: [80, 27] Generated Node #0,3,2: 53:[80, 27] Operation: 47-20=27 Moving to Node #0,3,2 Current State: 53:[80, 27], Operations: ['60-40=20', '47-20=27'] Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.936632
hs_5
mult_heuristic
[ 33, 2, 23, 68 ]
44
[ "33+23=56", "2*56=112", "112-68=44" ]
Current State: 44:[33, 2, 23, 68], Operations: [] Exploring Operation: 33+23=56, Resulting Numbers: [2, 68, 56] Generated Node #2: [2, 68, 56] from Operation: 33+23=56 Current State: 44:[2, 68, 56], Operations: ['33+23=56'] Exploring Operation: 2*56=112, Resulting Numbers: [68, 112] Generated Node #3: [68, 112] from Operation: 2*56=112 Current State: 44:[68, 112], Operations: ['33+23=56', '2*56=112'] Exploring Operation: 112-68=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[33, 2, 23, 68], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [2, 23, 35] Generated Node #0,0: 44:[2, 23, 35] Operation: 68-33=35 Exploring Operation: 68-23=45, Resulting Numbers: [33, 2, 45] Generated Node #0,1: 44:[33, 2, 45] Operation: 68-23=45 Exploring Operation: 68/2=34, Resulting Numbers: [33, 23, 34] Generated Node #0,2: 44:[33, 23, 34] Operation: 68/2=34 Exploring Operation: 33-23=10, Resulting Numbers: [2, 68, 10] Generated Node #0,3: 44:[2, 68, 10] Operation: 33-23=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[2, 23, 35], Operations: ['68-33=35'] Exploring Operation: 2*23=46, Resulting Numbers: [35, 46] Generated Node #0,0,0: 44:[35, 46] Operation: 2*23=46 Exploring Operation: 23-2=21, Resulting Numbers: [35, 21] Generated Node #0,0,1: 44:[35, 21] Operation: 23-2=21 Exploring Operation: 2+35=37, Resulting Numbers: [23, 37] Generated Node #0,0,2: 44:[23, 37] Operation: 2+35=37 Exploring Operation: 35-23=12, Resulting Numbers: [2, 12] Generated Node #0,0,3: 44:[2, 12] Operation: 35-23=12 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[2, 12], Operations: ['68-33=35', '35-23=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,44 unequal: No Solution No 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: 44:[23, 37], Operations: ['68-33=35', '2+35=37'] Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,44 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,44 unequal: No Solution No 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: 44:[35, 21], Operations: ['68-33=35', '23-2=21'] Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,44 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,44 unequal: No Solution No 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: 44:[35, 46], Operations: ['68-33=35', '2*23=46'] Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,44 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,44 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: 44:[33, 2, 45], Operations: ['68-23=45'] Exploring Operation: 45-2=43, Resulting Numbers: [33, 43] Generated Node #0,1,0: 44:[33, 43] Operation: 45-2=43 Exploring Operation: 33-2=31, Resulting Numbers: [45, 31] Generated Node #0,1,1: 44:[45, 31] Operation: 33-2=31 Exploring Operation: 45-33=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 44:[2, 12] Operation: 45-33=12 Exploring Operation: 33+2=35, Resulting Numbers: [45, 35] Generated Node #0,1,3: 44:[45, 35] Operation: 33+2=35 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[2, 12], Operations: ['68-23=45', '45-33=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,44 unequal: No Solution No 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: 44:[45, 31], Operations: ['68-23=45', '33-2=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,44 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,44 unequal: No Solution No 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: 44:[45, 35], Operations: ['68-23=45', '33+2=35'] Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,44 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,44 unequal: No Solution No 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: 44:[33, 43], Operations: ['68-23=45', '45-2=43'] Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,44 unequal: No Solution Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,44 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: 44:[33, 23, 34], Operations: ['68/2=34'] Exploring Operation: 34-33=1, Resulting Numbers: [23, 1] Generated Node #0,2,0: 44:[23, 1] Operation: 34-33=1 Exploring Operation: 33-23=10, Resulting Numbers: [34, 10] Generated Node #0,2,1: 44:[34, 10] Operation: 33-23=10 Exploring Operation: 33+23=56, Resulting Numbers: [34, 56] Generated Node #0,2,2: 44:[34, 56] Operation: 33+23=56 Exploring Operation: 34-23=11, Resulting Numbers: [33, 11] Generated Node #0,2,3: 44:[33, 11] Operation: 34-23=11 Moving to Node #0,2,0 Current State: 44:[23, 1], Operations: ['68/2=34', '34-33=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[33, 11], Operations: ['68/2=34', '34-23=11'] Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,44 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[33, 2, 23, 68], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [33, 23, 34] Generated Node #0,2: 44:[33, 23, 34] Operation: 68/2=34 Moving to Node #0,2 Current State: 44:[33, 23, 34], Operations: ['68/2=34'] Exploring Operation: 34-23=11, Resulting Numbers: [33, 11] Generated Node #0,2,3: 44:[33, 11] Operation: 34-23=11 Moving to Node #0,2,3 Current State: 44:[33, 11], Operations: ['68/2=34', '34-23=11'] Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
mult_heuristic
[ 76, 78, 71, 5 ]
74
[ "78-76=2", "71+5=76", "76-2=74" ]
Current State: 74:[76, 78, 71, 5], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [71, 5, 2] Generated Node #2: [71, 5, 2] from Operation: 78-76=2 Current State: 74:[71, 5, 2], Operations: ['78-76=2'] Exploring Operation: 71+5=76, Resulting Numbers: [2, 76] Generated Node #3: [2, 76] from Operation: 71+5=76 Current State: 74:[2, 76], Operations: ['78-76=2', '71+5=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[76, 78, 71, 5], Operations: [] Exploring Operation: 71+5=76, Resulting Numbers: [76, 78, 76] Generated Node #0,0: 74:[76, 78, 76] Operation: 71+5=76 Exploring Operation: 78-76=2, Resulting Numbers: [71, 5, 2] Generated Node #0,1: 74:[71, 5, 2] Operation: 78-76=2 Exploring Operation: 78-5=73, Resulting Numbers: [76, 71, 73] Generated Node #0,2: 74:[76, 71, 73] Operation: 78-5=73 Exploring Operation: 76-71=5, Resulting Numbers: [78, 5, 5] Generated Node #0,3: 74:[78, 5, 5] Operation: 76-71=5 Exploring Operation: 76-5=71, Resulting Numbers: [78, 71, 71] Generated Node #0,4: 74:[78, 71, 71] Operation: 76-5=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[71, 5, 2], Operations: ['78-76=2'] Exploring Operation: 71+2=73, Resulting Numbers: [5, 73] Generated Node #0,1,0: 74:[5, 73] Operation: 71+2=73 Exploring Operation: 71-2=69, Resulting Numbers: [5, 69] Generated Node #0,1,1: 74:[5, 69] Operation: 71-2=69 Exploring Operation: 5-2=3, Resulting Numbers: [71, 3] Generated Node #0,1,2: 74:[71, 3] Operation: 5-2=3 Exploring Operation: 71+5=76, Resulting Numbers: [2, 76] Generated Node #0,1,3: 74:[2, 76] Operation: 71+5=76 Exploring Operation: 71-5=66, Resulting Numbers: [2, 66] Generated Node #0,1,4: 74:[2, 66] Operation: 71-5=66 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[2, 76], Operations: ['78-76=2', '71+5=76'] Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[76, 78, 71, 5], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [71, 5, 2] Generated Node #0,1: 74:[71, 5, 2] Operation: 78-76=2 Moving to Node #0,1 Current State: 74:[71, 5, 2], Operations: ['78-76=2'] Exploring Operation: 71+5=76, Resulting Numbers: [2, 76] Generated Node #0,1,3: 74:[2, 76] Operation: 71+5=76 Moving to Node #0,1,3 Current State: 74:[2, 76], Operations: ['78-76=2', '71+5=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 20, 82, 2, 26 ]
44
[ "82-20=62", "26+62=88", "88/2=44" ]
Current State: 44:[20, 82, 2, 26], Operations: [] Exploring Operation: 82-20=62, Resulting Numbers: [2, 26, 62] Generated Node #2: [2, 26, 62] from Operation: 82-20=62 Current State: 44:[2, 26, 62], Operations: ['82-20=62'] Exploring Operation: 26+62=88, Resulting Numbers: [2, 88] Generated Node #3: [2, 88] from Operation: 26+62=88 Current State: 44:[2, 88], Operations: ['82-20=62', '26+62=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[20, 82, 2, 26], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [20, 26, 41] Generated Node #0,0: 44:[20, 26, 41] Operation: 82/2=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[20, 26, 41], Operations: ['82/2=41'] Exploring Operation: 20+26=46, Resulting Numbers: [41, 46] Generated Node #0,0,0: 44:[41, 46] Operation: 20+26=46 Moving to Node #0,0,0 Current State: 44:[41, 46], Operations: ['82/2=41', '20+26=46'] Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 86, 24, 6 ]
35
[ "86-69=17", "24-6=18", "17+18=35" ]
Current State: 35:[69, 86, 24, 6], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [24, 6, 17] Generated Node #2: [24, 6, 17] from Operation: 86-69=17 Current State: 35:[24, 6, 17], Operations: ['86-69=17'] Exploring Operation: 24-6=18, Resulting Numbers: [17, 18] Generated Node #3: [17, 18] from Operation: 24-6=18 Current State: 35:[17, 18], Operations: ['86-69=17', '24-6=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[69, 86, 24, 6], Operations: [] Exploring Operation: 86-24=62, Resulting Numbers: [69, 6, 62] Generated Node #0,0: 35:[69, 6, 62] Operation: 86-24=62 Exploring Operation: 86-69=17, Resulting Numbers: [24, 6, 17] Generated Node #0,1: 35:[24, 6, 17] Operation: 86-69=17 Exploring Operation: 69-24=45, Resulting Numbers: [86, 6, 45] Generated Node #0,2: 35:[86, 6, 45] Operation: 69-24=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[24, 6, 17], Operations: ['86-69=17'] Exploring Operation: 24/6=4, Resulting Numbers: [17, 4] Generated Node #0,1,0: 35:[17, 4] Operation: 24/6=4 Exploring Operation: 24-17=7, Resulting Numbers: [6, 7] Generated Node #0,1,1: 35:[6, 7] Operation: 24-17=7 Exploring Operation: 24+17=41, Resulting Numbers: [6, 41] Generated Node #0,1,2: 35:[6, 41] Operation: 24+17=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[6, 7], Operations: ['86-69=17', '24-17=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[6, 41], Operations: ['86-69=17', '24+17=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[69, 86, 24, 6], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [24, 6, 17] Generated Node #0,1: 35:[24, 6, 17] Operation: 86-69=17 Moving to Node #0,1 Current State: 35:[24, 6, 17], Operations: ['86-69=17'] Exploring Operation: 24+17=41, Resulting Numbers: [6, 41] Generated Node #0,1,2: 35:[6, 41] Operation: 24+17=41 Moving to Node #0,1,2 Current State: 35:[6, 41], Operations: ['86-69=17', '24+17=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 42, 35, 73, 31 ]
97
[ "42-35=7", "73+31=104", "104-7=97" ]
Current State: 97:[42, 35, 73, 31], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [73, 31, 7] Generated Node #2: [73, 31, 7] from Operation: 42-35=7 Current State: 97:[73, 31, 7], Operations: ['42-35=7'] Exploring Operation: 73+31=104, Resulting Numbers: [7, 104] Generated Node #3: [7, 104] from Operation: 73+31=104 Current State: 97:[7, 104], Operations: ['42-35=7', '73+31=104'] Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[42, 35, 73, 31], Operations: [] Exploring Operation: 42+35=77, Resulting Numbers: [73, 31, 77] Generated Node #0,0: 97:[73, 31, 77] Operation: 42+35=77 Exploring Operation: 42+31=73, Resulting Numbers: [35, 73, 73] Generated Node #0,1: 97:[35, 73, 73] Operation: 42+31=73 Moving to Node #0,0 Current State: 97:[73, 31, 77], Operations: ['42+35=77'] Exploring Operation: 31+77=108, Resulting Numbers: [73, 108] Generated Node #0,0,0: 97:[73, 108] Operation: 31+77=108 Exploring Operation: 73+31=104, Resulting Numbers: [77, 104] Generated Node #0,0,1: 97:[77, 104] Operation: 73+31=104 Moving to Node #0,1 Current State: 97:[35, 73, 73], Operations: ['42+31=73'] Exploring Operation: 35+73=108, Resulting Numbers: [73, 108] Generated Node #0,1,0: 97:[73, 108] Operation: 35+73=108 Exploring Operation: 35+73=108, Resulting Numbers: [73, 108] Generated Node #0,1,1: 97:[73, 108] Operation: 35+73=108 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[73, 108], Operations: ['42+31=73', '35+73=108'] Exploring Operation: 108-73=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 73+108=181, Resulting Numbers: [181] 181,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,1 Current State: 97:[73, 108], Operations: ['42+31=73', '35+73=108'] Exploring Operation: 108-73=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 73+108=181, Resulting Numbers: [181] 181,97 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: 97:[77, 104], Operations: ['42+35=77', '73+31=104'] Exploring Operation: 104-77=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 77+104=181, Resulting Numbers: [181] 181,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[73, 108], Operations: ['42+35=77', '31+77=108'] Exploring Operation: 108-73=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 73+108=181, Resulting Numbers: [181] 181,97 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 14, 18, 84, 52 ]
40
[ "84/14=6", "52-18=34", "6+34=40" ]
Current State: 40:[14, 18, 84, 52], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [18, 52, 6] Generated Node #2: [18, 52, 6] from Operation: 84/14=6 Current State: 40:[18, 52, 6], Operations: ['84/14=6'] Exploring Operation: 52-18=34, Resulting Numbers: [6, 34] Generated Node #3: [6, 34] from Operation: 52-18=34 Current State: 40:[6, 34], Operations: ['84/14=6', '52-18=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[14, 18, 84, 52], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [18, 52, 6] Generated Node #0,0: 40:[18, 52, 6] Operation: 84/14=6 Exploring Operation: 84-52=32, Resulting Numbers: [14, 18, 32] Generated Node #0,1: 40:[14, 18, 32] Operation: 84-52=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[14, 18, 32], Operations: ['84-52=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18, 18] Generated Node #0,1,0: 40:[18, 18] Operation: 32-14=18 Exploring Operation: 18-14=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 40:[32, 4] Operation: 18-14=4 Moving to Node #0,1,0 Current State: 40:[18, 18], Operations: ['84-52=32', '32-14=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[32, 4], Operations: ['84-52=32', '18-14=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,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 Current State: 40:[18, 52, 6], Operations: ['84/14=6'] Exploring Operation: 52-18=34, Resulting Numbers: [6, 34] Generated Node #0,0,0: 40:[6, 34] Operation: 52-18=34 Exploring Operation: 52-6=46, Resulting Numbers: [18, 46] Generated Node #0,0,1: 40:[18, 46] Operation: 52-6=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[6, 34], Operations: ['84/14=6', '52-18=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[14, 18, 84, 52], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [18, 52, 6] Generated Node #0,0: 40:[18, 52, 6] Operation: 84/14=6 Moving to Node #0,0 Current State: 40:[18, 52, 6], Operations: ['84/14=6'] Exploring Operation: 52-18=34, Resulting Numbers: [6, 34] Generated Node #0,0,0: 40:[6, 34] Operation: 52-18=34 Moving to Node #0,0,0 Current State: 40:[6, 34], Operations: ['84/14=6', '52-18=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 71, 3, 63, 94 ]
56
[ "71*3=213", "63+94=157", "213-157=56" ]
Current State: 56:[71, 3, 63, 94], Operations: [] Exploring Operation: 71*3=213, Resulting Numbers: [63, 94, 213] Generated Node #2: [63, 94, 213] from Operation: 71*3=213 Current State: 56:[63, 94, 213], Operations: ['71*3=213'] Exploring Operation: 63+94=157, Resulting Numbers: [213, 157] Generated Node #3: [213, 157] from Operation: 63+94=157 Current State: 56:[213, 157], Operations: ['71*3=213', '63+94=157'] Exploring Operation: 213-157=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[71, 3, 63, 94], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [3, 63, 23] Generated Node #0,0: 56:[3, 63, 23] Operation: 94-71=23 Exploring Operation: 94-63=31, Resulting Numbers: [71, 3, 31] Generated Node #0,1: 56:[71, 3, 31] Operation: 94-63=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[3, 63, 23], Operations: ['94-71=23'] Exploring Operation: 63-3=60, Resulting Numbers: [23, 60] Generated Node #0,0,0: 56:[23, 60] Operation: 63-3=60 Exploring Operation: 3+23=26, Resulting Numbers: [63, 26] Generated Node #0,0,1: 56:[63, 26] Operation: 3+23=26 Moving to Node #0,0,0 Current State: 56:[23, 60], Operations: ['94-71=23', '63-3=60'] Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,56 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[63, 26], Operations: ['94-71=23', '3+23=26'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[71, 3, 31], Operations: ['94-63=31'] Exploring Operation: 71-3=68, Resulting Numbers: [31, 68] Generated Node #0,1,0: 56:[31, 68] Operation: 71-3=68 Exploring Operation: 71-31=40, Resulting Numbers: [3, 40] Generated Node #0,1,1: 56:[3, 40] Operation: 71-31=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[3, 40], Operations: ['94-63=31', '71-31=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,56 unequal: No Solution No 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: 56:[31, 68], Operations: ['94-63=31', '71-3=68'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,56 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
[ 40, 93, 50, 67 ]
64
[ "93-40=53", "50+67=117", "117-53=64" ]
Current State: 64:[40, 93, 50, 67], Operations: [] Exploring Operation: 93-40=53, Resulting Numbers: [50, 67, 53] Generated Node #2: [50, 67, 53] from Operation: 93-40=53 Current State: 64:[50, 67, 53], Operations: ['93-40=53'] Exploring Operation: 50+67=117, Resulting Numbers: [53, 117] Generated Node #3: [53, 117] from Operation: 50+67=117 Current State: 64:[53, 117], Operations: ['93-40=53', '50+67=117'] Exploring Operation: 117-53=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[40, 93, 50, 67], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [40, 93, 17] Generated Node #0,0: 64:[40, 93, 17] Operation: 67-50=17 Exploring Operation: 93-50=43, Resulting Numbers: [40, 67, 43] Generated Node #0,1: 64:[40, 67, 43] Operation: 93-50=43 Exploring Operation: 93-40=53, Resulting Numbers: [50, 67, 53] Generated Node #0,2: 64:[50, 67, 53] Operation: 93-40=53 Exploring Operation: 93-67=26, Resulting Numbers: [40, 50, 26] Generated Node #0,3: 64:[40, 50, 26] Operation: 93-67=26 Exploring Operation: 50-40=10, Resulting Numbers: [93, 67, 10] Generated Node #0,4: 64:[93, 67, 10] Operation: 50-40=10 Moving to Node #0,1 Current State: 64:[40, 67, 43], Operations: ['93-50=43'] Exploring Operation: 40+67=107, Resulting Numbers: [43, 107] Generated Node #0,1,0: 64:[43, 107] Operation: 40+67=107 Exploring Operation: 43-40=3, Resulting Numbers: [67, 3] Generated Node #0,1,1: 64:[67, 3] Operation: 43-40=3 Exploring Operation: 67-43=24, Resulting Numbers: [40, 24] Generated Node #0,1,2: 64:[40, 24] Operation: 67-43=24 Exploring Operation: 40+43=83, Resulting Numbers: [67, 83] Generated Node #0,1,3: 64:[67, 83] Operation: 40+43=83 Exploring Operation: 67-40=27, Resulting Numbers: [43, 27] Generated Node #0,1,4: 64:[43, 27] Operation: 67-40=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[67, 3], Operations: ['93-50=43', '43-40=3'] Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,64 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[40, 93, 50, 67], Operations: [] Exploring Operation: 93-50=43, Resulting Numbers: [40, 67, 43] Generated Node #0,1: 64:[40, 67, 43] Operation: 93-50=43 Moving to Node #0,1 Current State: 64:[40, 67, 43], Operations: ['93-50=43'] Exploring Operation: 43-40=3, Resulting Numbers: [67, 3] Generated Node #0,1,1: 64:[67, 3] Operation: 43-40=3 Moving to Node #0,1,1 Current State: 64:[67, 3], Operations: ['93-50=43', '43-40=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 21, 38, 12, 63 ]
16
[ "21+38=59", "12+63=75", "75-59=16" ]
Current State: 16:[21, 38, 12, 63], Operations: [] Exploring Operation: 21+38=59, Resulting Numbers: [12, 63, 59] Generated Node #2: [12, 63, 59] from Operation: 21+38=59 Current State: 16:[12, 63, 59], Operations: ['21+38=59'] Exploring Operation: 12+63=75, Resulting Numbers: [59, 75] Generated Node #3: [59, 75] from Operation: 12+63=75 Current State: 16:[59, 75], Operations: ['21+38=59', '12+63=75'] Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[21, 38, 12, 63], Operations: [] Exploring Operation: 63-38=25, Resulting Numbers: [21, 12, 25] Generated Node #0,0: 16:[21, 12, 25] Operation: 63-38=25 Moving to Node #0,0 Current State: 16:[21, 12, 25], Operations: ['63-38=25'] Exploring Operation: 25-21=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 16:[12, 4] Operation: 25-21=4 Moving to Node #0,0,0 Current State: 16:[12, 4], Operations: ['63-38=25', '25-21=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[21, 38, 12, 63], Operations: [] Exploring Operation: 63-38=25, Resulting Numbers: [21, 12, 25] Generated Node #0,0: 16:[21, 12, 25] Operation: 63-38=25 Moving to Node #0,0 Current State: 16:[21, 12, 25], Operations: ['63-38=25'] Exploring Operation: 25-21=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 16:[12, 4] Operation: 25-21=4 Moving to Node #0,0,0 Current State: 16:[12, 4], Operations: ['63-38=25', '25-21=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 27, 93, 8, 70 ]
12
[ "93-27=66", "8+70=78", "78-66=12" ]
Current State: 12:[27, 93, 8, 70], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [8, 70, 66] Generated Node #2: [8, 70, 66] from Operation: 93-27=66 Current State: 12:[8, 70, 66], Operations: ['93-27=66'] Exploring Operation: 8+70=78, Resulting Numbers: [66, 78] Generated Node #3: [66, 78] from Operation: 8+70=78 Current State: 12:[66, 78], Operations: ['93-27=66', '8+70=78'] Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[27, 93, 8, 70], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [93, 8, 43] Generated Node #0,0: 12:[93, 8, 43] Operation: 70-27=43 Exploring Operation: 93-70=23, Resulting Numbers: [27, 8, 23] Generated Node #0,1: 12:[27, 8, 23] Operation: 93-70=23 Exploring Operation: 27-8=19, Resulting Numbers: [93, 70, 19] Generated Node #0,2: 12:[93, 70, 19] Operation: 27-8=19 Exploring Operation: 93-27=66, Resulting Numbers: [8, 70, 66] Generated Node #0,3: 12:[8, 70, 66] Operation: 93-27=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[27, 8, 23], Operations: ['93-70=23'] Exploring Operation: 23-8=15, Resulting Numbers: [27, 15] Generated Node #0,1,0: 12:[27, 15] Operation: 23-8=15 Exploring Operation: 27-23=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 12:[8, 4] Operation: 27-23=4 Exploring Operation: 27-8=19, Resulting Numbers: [23, 19] Generated Node #0,1,2: 12:[23, 19] Operation: 27-8=19 Exploring Operation: 27+8=35, Resulting Numbers: [23, 35] Generated Node #0,1,3: 12:[23, 35] Operation: 27+8=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[8, 4], Operations: ['93-70=23', '27-23=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[27, 93, 8, 70], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [27, 8, 23] Generated Node #0,1: 12:[27, 8, 23] Operation: 93-70=23 Moving to Node #0,1 Current State: 12:[27, 8, 23], Operations: ['93-70=23'] Exploring Operation: 27-23=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 12:[8, 4] Operation: 27-23=4 Moving to Node #0,1,1 Current State: 12:[8, 4], Operations: ['93-70=23', '27-23=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 66, 19, 3, 99 ]
30
[ "99-66=33", "33/3=11", "19+11=30" ]
Current State: 30:[66, 19, 3, 99], Operations: [] Exploring Operation: 99-66=33, Resulting Numbers: [19, 3, 33] Generated Node #2: [19, 3, 33] from Operation: 99-66=33 Current State: 30:[19, 3, 33], Operations: ['99-66=33'] Exploring Operation: 33/3=11, Resulting Numbers: [19, 11] Generated Node #3: [19, 11] from Operation: 33/3=11 Current State: 30:[19, 11], Operations: ['99-66=33', '33/3=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[66, 19, 3, 99], Operations: [] Exploring Operation: 99-66=33, Resulting Numbers: [19, 3, 33] Generated Node #0,0: 30:[19, 3, 33] Operation: 99-66=33 Moving to Node #0,0 Current State: 30:[19, 3, 33], Operations: ['99-66=33'] Exploring Operation: 33-19=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 30:[3, 14] Operation: 33-19=14 Moving to Node #0,0,0 Current State: 30:[3, 14], Operations: ['99-66=33', '33-19=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 99, 35, 62, 53 ]
46
[ "62-53=9", "99/9=11", "35+11=46" ]
Current State: 46:[99, 35, 62, 53], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [99, 35, 9] Generated Node #2: [99, 35, 9] from Operation: 62-53=9 Current State: 46:[99, 35, 9], Operations: ['62-53=9'] Exploring Operation: 99/9=11, Resulting Numbers: [35, 11] Generated Node #3: [35, 11] from Operation: 99/9=11 Current State: 46:[35, 11], Operations: ['62-53=9', '99/9=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[99, 35, 62, 53], Operations: [] Exploring Operation: 99-62=37, Resulting Numbers: [35, 53, 37] Generated Node #0,0: 46:[35, 53, 37] Operation: 99-62=37 Moving to Node #0,0 Current State: 46:[35, 53, 37], Operations: ['99-62=37'] Exploring Operation: 37-35=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 46:[53, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 46:[53, 2], Operations: ['99-62=37', '37-35=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,46 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 66, 69, 21, 12 ]
13
[ "66+69=135", "21+135=156", "156/12=13" ]
Current State: 13:[66, 69, 21, 12], Operations: [] Exploring Operation: 66+69=135, Resulting Numbers: [21, 12, 135] Generated Node #2: [21, 12, 135] from Operation: 66+69=135 Current State: 13:[21, 12, 135], Operations: ['66+69=135'] Exploring Operation: 21+135=156, Resulting Numbers: [12, 156] Generated Node #3: [12, 156] from Operation: 21+135=156 Current State: 13:[12, 156], Operations: ['66+69=135', '21+135=156'] Exploring Operation: 156/12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[66, 69, 21, 12], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [21, 12, 3] Generated Node #0,0: 13:[21, 12, 3] Operation: 69-66=3 Exploring Operation: 66-21=45, Resulting Numbers: [69, 12, 45] Generated Node #0,1: 13:[69, 12, 45] Operation: 66-21=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[21, 12, 3], Operations: ['69-66=3'] Exploring Operation: 21/3=7, Resulting Numbers: [12, 7] Generated Node #0,0,0: 13:[12, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [12, 18] Generated Node #0,0,1: 13:[12, 18] Operation: 21-3=18 Moving to Node #0,0,1 Current State: 13:[12, 18], Operations: ['69-66=3', '21-3=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[12, 7], Operations: ['69-66=3', '21/3=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[69, 12, 45], Operations: ['66-21=45'] Exploring Operation: 69-12=57, Resulting Numbers: [45, 57] Generated Node #0,1,0: 13:[45, 57] Operation: 69-12=57 Exploring Operation: 69-45=24, Resulting Numbers: [12, 24] Generated Node #0,1,1: 13:[12, 24] Operation: 69-45=24 Moving to Node #0,1,1 Current State: 13:[12, 24], Operations: ['66-21=45', '69-45=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[45, 57], Operations: ['66-21=45', '69-12=57'] Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 45+57=102, Resulting Numbers: [102] 102,13 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
[ 78, 20, 61, 19 ]
74
[ "61+19=80", "80/20=4", "78-4=74" ]
Current State: 74:[78, 20, 61, 19], Operations: [] Exploring Operation: 61+19=80, Resulting Numbers: [78, 20, 80] Generated Node #2: [78, 20, 80] from Operation: 61+19=80 Current State: 74:[78, 20, 80], Operations: ['61+19=80'] Exploring Operation: 80/20=4, Resulting Numbers: [78, 4] Generated Node #3: [78, 4] from Operation: 80/20=4 Current State: 74:[78, 4], Operations: ['61+19=80', '80/20=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[78, 20, 61, 19], Operations: [] Exploring Operation: 20-19=1, Resulting Numbers: [78, 61, 1] Generated Node #0,0: 74:[78, 61, 1] Operation: 20-19=1 Exploring Operation: 20+19=39, Resulting Numbers: [78, 61, 39] Generated Node #0,1: 74:[78, 61, 39] Operation: 20+19=39 Moving to Node #0,0 Current State: 74:[78, 61, 1], Operations: ['20-19=1'] Exploring Operation: 78-61=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 74:[1, 17] Operation: 78-61=17 Exploring Operation: 78-1=77, Resulting Numbers: [61, 77] Generated Node #0,0,1: 74:[61, 77] Operation: 78-1=77 Moving to Node #0,1 Current State: 74:[78, 61, 39], Operations: ['20+19=39'] Exploring Operation: 78-39=39, Resulting Numbers: [61, 39] Generated Node #0,1,0: 74:[61, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [61, 2] Generated Node #0,1,1: 74:[61, 2] Operation: 78/39=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[61, 2], Operations: ['20+19=39', '78/39=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[61, 39], Operations: ['20+19=39', '78-39=39'] Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 74:[1, 17], Operations: ['20-19=1', '78-61=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[61, 77], Operations: ['20-19=1', '78-1=77'] Exploring Operation: 61+77=138, Resulting Numbers: [138] 138,74 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,74 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 94, 4, 17 ]
27
[ "1+94=95", "4*17=68", "95-68=27" ]
Current State: 27:[1, 94, 4, 17], Operations: [] Exploring Operation: 1+94=95, Resulting Numbers: [4, 17, 95] Generated Node #2: [4, 17, 95] from Operation: 1+94=95 Current State: 27:[4, 17, 95], Operations: ['1+94=95'] Exploring Operation: 4*17=68, Resulting Numbers: [95, 68] Generated Node #3: [95, 68] from Operation: 4*17=68 Current State: 27:[95, 68], Operations: ['1+94=95', '4*17=68'] Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[1, 94, 4, 17], Operations: [] Exploring Operation: 94-17=77, Resulting Numbers: [1, 4, 77] Generated Node #0,0: 27:[1, 4, 77] Operation: 94-17=77 Exploring Operation: 17-4=13, Resulting Numbers: [1, 94, 13] Generated Node #0,1: 27:[1, 94, 13] Operation: 17-4=13 Exploring Operation: 94-4=90, Resulting Numbers: [1, 17, 90] Generated Node #0,2: 27:[1, 17, 90] Operation: 94-4=90 Exploring Operation: 94-1=93, Resulting Numbers: [4, 17, 93] Generated Node #0,3: 27:[4, 17, 93] Operation: 94-1=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[1, 4, 77], Operations: ['94-17=77'] Exploring Operation: 77-1=76, Resulting Numbers: [4, 76] Generated Node #0,0,0: 27:[4, 76] Operation: 77-1=76 Exploring Operation: 4-1=3, Resulting Numbers: [77, 3] Generated Node #0,0,1: 27:[77, 3] Operation: 4-1=3 Exploring Operation: 77-4=73, Resulting Numbers: [1, 73] Generated Node #0,0,2: 27:[1, 73] Operation: 77-4=73 Exploring Operation: 1*4=4, Resulting Numbers: [77, 4] Generated Node #0,0,3: 27:[77, 4] Operation: 1*4=4 Moving to Node #0,0,2 Current State: 27:[1, 73], Operations: ['94-17=77', '77-4=73'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[77, 3], Operations: ['94-17=77', '4-1=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[4, 76], Operations: ['94-17=77', '77-1=76'] Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 4*76=304, Resulting Numbers: [304] 304,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[77, 4], Operations: ['94-17=77', '1*4=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,27 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,27 unequal: No Solution No 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: 27:[1, 94, 13], Operations: ['17-4=13'] Exploring Operation: 13-1=12, Resulting Numbers: [94, 12] Generated Node #0,1,0: 27:[94, 12] Operation: 13-1=12 Exploring Operation: 1*94=94, Resulting Numbers: [13, 94] Generated Node #0,1,1: 27:[13, 94] Operation: 1*94=94 Exploring Operation: 94-13=81, Resulting Numbers: [1, 81] Generated Node #0,1,2: 27:[1, 81] Operation: 94-13=81 Exploring Operation: 94-1=93, Resulting Numbers: [13, 93] Generated Node #0,1,3: 27:[13, 93] Operation: 94-1=93 Moving to Node #0,1,2 Current State: 27:[1, 81], Operations: ['17-4=13', '94-13=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,27 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 1*81=81, Resulting Numbers: [81] 81,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[13, 93], Operations: ['17-4=13', '94-1=93'] Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 13+93=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 13*93=1209, Resulting Numbers: [1209] 1209,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[94, 12], Operations: ['17-4=13', '13-1=12'] Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,27 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[13, 94], Operations: ['17-4=13', '1*94=94'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,27 unequal: No Solution Exploring Operation: 13*94=1222, Resulting Numbers: [1222] 1222,27 unequal: No Solution Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,27 unequal: No Solution No 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: 27:[1, 17, 90], Operations: ['94-4=90'] Exploring Operation: 17-1=16, Resulting Numbers: [90, 16] Generated Node #0,2,0: 27:[90, 16] Operation: 17-1=16 Exploring Operation: 1*17=17, Resulting Numbers: [90, 17] Generated Node #0,2,1: 27:[90, 17] Operation: 1*17=17 Exploring Operation: 90-17=73, Resulting Numbers: [1, 73] Generated Node #0,2,2: 27:[1, 73] Operation: 90-17=73 Exploring Operation: 90-1=89, Resulting Numbers: [17, 89] Generated Node #0,2,3: 27:[17, 89] Operation: 90-1=89 Moving to Node #0,2,2 Current State: 27:[1, 73], Operations: ['94-4=90', '90-17=73'] Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[17, 89], Operations: ['94-4=90', '90-1=89'] Exploring Operation: 17+89=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 17*89=1513, Resulting Numbers: [1513] 1513,27 unequal: No Solution Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[90, 16], Operations: ['94-4=90', '17-1=16'] Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,27 unequal: No Solution Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[90, 17], Operations: ['94-4=90', '1*17=17'] Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,27 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,27 unequal: No Solution No 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: 27:[4, 17, 93], Operations: ['94-1=93'] Exploring Operation: 17-4=13, Resulting Numbers: [93, 13] Generated Node #0,3,0: 27:[93, 13] Operation: 17-4=13 Exploring Operation: 4+17=21, Resulting Numbers: [93, 21] Generated Node #0,3,1: 27:[93, 21] Operation: 4+17=21 Exploring Operation: 93-17=76, Resulting Numbers: [4, 76] Generated Node #0,3,2: 27:[4, 76] Operation: 93-17=76 Exploring Operation: 93-4=89, Resulting Numbers: [17, 89] Generated Node #0,3,3: 27:[17, 89] Operation: 93-4=89 Moving to Node #0,3,2 Current State: 27:[4, 76], Operations: ['94-1=93', '93-17=76'] Exploring Operation: 4*76=304, Resulting Numbers: [304] 304,27 unequal: No Solution Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[17, 89], Operations: ['94-1=93', '93-4=89'] Exploring Operation: 17+89=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 17*89=1513, Resulting Numbers: [1513] 1513,27 unequal: No Solution Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[93, 13], Operations: ['94-1=93', '17-4=13'] Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 93+13=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 93*13=1209, Resulting Numbers: [1209] 1209,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[93, 21], Operations: ['94-1=93', '4+17=21'] Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,27 unequal: No Solution Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 2, 98, 15, 98 ]
68
[ "98-15=83", "2*83=166", "166-98=68" ]
Current State: 68:[2, 98, 15, 98], Operations: [] Exploring Operation: 98-15=83, Resulting Numbers: [2, 83] Generated Node #2: [2, 83] from Operation: 98-15=83 Current State: 68:[2, 83], Operations: ['98-15=83'] Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,68 equal: Goal Reached Exploring Operation: 166-98=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 98, 15, 98], Operations: [] Exploring Operation: 98-98=0, Resulting Numbers: [2, 15, 0] Generated Node #0,0: 68:[2, 15, 0] Operation: 98-98=0 Exploring Operation: 98/2=49, Resulting Numbers: [15, 98, 49] Generated Node #0,1: 68:[15, 98, 49] Operation: 98/2=49 Exploring Operation: 98-15=83, Resulting Numbers: [2, 98, 83] Generated Node #0,2: 68:[2, 98, 83] Operation: 98-15=83 Exploring Operation: 98-15=83, Resulting Numbers: [2, 98, 83] Generated Node #0,3: 68:[2, 98, 83] Operation: 98-15=83 Exploring Operation: 98/98=1, Resulting Numbers: [2, 15, 1] Generated Node #0,4: 68:[2, 15, 1] Operation: 98/98=1 Moving to Node #0,4 Current State: 68:[2, 15, 1], Operations: ['98/98=1'] Exploring Operation: 2+15=17, Resulting Numbers: [1, 17] Generated Node #0,4,0: 68:[1, 17] Operation: 2+15=17 Exploring Operation: 2/1=2, Resulting Numbers: [15, 2] Generated Node #0,4,1: 68:[15, 2] Operation: 2/1=2 Exploring Operation: 15+1=16, Resulting Numbers: [2, 16] Generated Node #0,4,2: 68:[2, 16] Operation: 15+1=16 Exploring Operation: 2*1=2, Resulting Numbers: [15, 2] Generated Node #0,4,3: 68:[15, 2] Operation: 2*1=2 Exploring Operation: 15*1=15, Resulting Numbers: [2, 15] Generated Node #0,4,4: 68:[2, 15] Operation: 15*1=15 Moving to Node #0,0 Current State: 68:[2, 15, 0], Operations: ['98-98=0'] Exploring Operation: 15+0=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 68:[2, 15] Operation: 15+0=15 Exploring Operation: 2+15=17, Resulting Numbers: [0, 17] Generated Node #0,0,1: 68:[0, 17] Operation: 2+15=17 Exploring Operation: 2-0=2, Resulting Numbers: [15, 2] Generated Node #0,0,2: 68:[15, 2] Operation: 2-0=2 Exploring Operation: 15*0=0, Resulting Numbers: [2, 0] Generated Node #0,0,3: 68:[2, 0] Operation: 15*0=0 Exploring Operation: 2+0=2, Resulting Numbers: [15, 2] Generated Node #0,0,4: 68:[15, 2] Operation: 2+0=2 Moving to Node #0,2 Current State: 68:[2, 98, 83], Operations: ['98-15=83'] Exploring Operation: 98-2=96, Resulting Numbers: [83, 96] Generated Node #0,2,0: 68:[83, 96] Operation: 98-2=96 Exploring Operation: 2+98=100, Resulting Numbers: [83, 100] Generated Node #0,2,1: 68:[83, 100] Operation: 2+98=100 Exploring Operation: 98/2=49, Resulting Numbers: [83, 49] Generated Node #0,2,2: 68:[83, 49] Operation: 98/2=49 Exploring Operation: 98-83=15, Resulting Numbers: [2, 15] Generated Node #0,2,3: 68:[2, 15] Operation: 98-83=15 Exploring Operation: 83-2=81, Resulting Numbers: [98, 81] Generated Node #0,2,4: 68:[98, 81] Operation: 83-2=81 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[2, 15], Operations: ['98-15=83', '98-83=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[83, 49], Operations: ['98-15=83', '98/2=49'] Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 83+49=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 83*49=4067, Resulting Numbers: [4067] 4067,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[83, 96], Operations: ['98-15=83', '98-2=96'] Exploring Operation: 83+96=179, Resulting Numbers: [179] 179,68 unequal: No Solution Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 83*96=7968, Resulting Numbers: [7968] 7968,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 68:[98, 81], Operations: ['98-15=83', '83-2=81'] Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,68 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 98*81=7938, Resulting Numbers: [7938] 7938,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[83, 100], Operations: ['98-15=83', '2+98=100'] Exploring Operation: 100-83=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 83*100=8300, Resulting Numbers: [8300] 8300,68 unequal: No Solution Exploring Operation: 83+100=183, Resulting Numbers: [183] 183,68 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: 68:[2, 98, 83], Operations: ['98-15=83'] Exploring Operation: 83-2=81, Resulting Numbers: [98, 81] Generated Node #0,3,0: 68:[98, 81] Operation: 83-2=81 Exploring Operation: 2+98=100, Resulting Numbers: [83, 100] Generated Node #0,3,1: 68:[83, 100] Operation: 2+98=100 Exploring Operation: 98-2=96, Resulting Numbers: [83, 96] Generated Node #0,3,2: 68:[83, 96] Operation: 98-2=96 Exploring Operation: 98/2=49, Resulting Numbers: [83, 49] Generated Node #0,3,3: 68:[83, 49] Operation: 98/2=49 Exploring Operation: 98-83=15, Resulting Numbers: [2, 15] Generated Node #0,3,4: 68:[2, 15] Operation: 98-83=15 Moving to Node #0,1 Current State: 68:[15, 98, 49], Operations: ['98/2=49'] Exploring Operation: 49-15=34, Resulting Numbers: [98, 34] Generated Node #0,1,0: 68:[98, 34] Operation: 49-15=34 Exploring Operation: 98-49=49, Resulting Numbers: [15, 49] Generated Node #0,1,1: 68:[15, 49] Operation: 98-49=49 Exploring Operation: 98-15=83, Resulting Numbers: [49, 83] Generated Node #0,1,2: 68:[49, 83] Operation: 98-15=83 Exploring Operation: 15+49=64, Resulting Numbers: [98, 64] Generated Node #0,1,3: 68:[98, 64] Operation: 15+49=64 Exploring Operation: 98/49=2, Resulting Numbers: [15, 2] Generated Node #0,1,4: 68:[15, 2] Operation: 98/49=2 Moving to Node #0,4,0 Current State: 68:[1, 17], Operations: ['98/98=1', '2+15=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,4,2 Current State: 68:[2, 16], Operations: ['98/98=1', '15+1=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,68 unequal: No Solution Moving to Node #0,4,1 Current State: 68:[15, 2], Operations: ['98/98=1', '2/1=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[0, 17], Operations: ['98-98=0', '2+15=17'] Exploring Operation: 0*17=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 0+17=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 17-0=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[2, 15], Operations: ['98-98=0', '15+0=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,4,4 Current State: 68:[2, 15], Operations: ['98/98=1', '15*1=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Moving to Node #0,3,4 Current State: 68:[2, 15], Operations: ['98-15=83', '98-83=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,68 unequal: No Solution Moving to Node #0,0,4 Current State: 68:[15, 2], Operations: ['98-98=0', '2+0=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Moving to Node #0,1,4 Current State: 68:[15, 2], Operations: ['98/2=49', '98/49=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Moving to Node #0,4,3 Current State: 68:[15, 2], Operations: ['98/98=1', '2*1=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[2, 0], Operations: ['98-98=0', '15*0=0'] Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[15, 2], Operations: ['98-98=0', '2-0=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[15, 49], Operations: ['98/2=49', '98-49=49'] Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,68 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,68 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[49, 83], Operations: ['98/2=49', '98-15=83'] Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 49+83=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 49*83=4067, Resulting Numbers: [4067] 4067,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[83, 49], Operations: ['98-15=83', '98/2=49'] Exploring Operation: 83+49=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 83*49=4067, Resulting Numbers: [4067] 4067,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[98, 34], Operations: ['98/2=49', '49-15=34'] Exploring Operation: 98+34=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 98-34=64, Resulting Numbers: [64] 64,68 unequal: No Solution Exploring Operation: 98*34=3332, Resulting Numbers: [3332] 3332,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[98, 64], Operations: ['98/2=49', '15+49=64'] Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,68 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[83, 96], Operations: ['98-15=83', '98-2=96'] Exploring Operation: 83+96=179, Resulting Numbers: [179] 179,68 unequal: No Solution Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 83*96=7968, Resulting Numbers: [7968] 7968,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[98, 81], Operations: ['98-15=83', '83-2=81'] Exploring Operation: 98*81=7938, Resulting Numbers: [7938] 7938,68 unequal: No Solution Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,68 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[83, 100], Operations: ['98-15=83', '2+98=100'] Exploring Operation: 83+100=183, Resulting Numbers: [183] 183,68 unequal: No Solution Exploring Operation: 100-83=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 83*100=8300, Resulting Numbers: [8300] 8300,68 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 44, 43, 36, 57 ]
20
[ "44-43=1", "57-36=21", "21-1=20" ]
Current State: 20:[44, 43, 36, 57], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [36, 57, 1] Generated Node #2: [36, 57, 1] from Operation: 44-43=1 Current State: 20:[36, 57, 1], Operations: ['44-43=1'] Exploring Operation: 57-36=21, Resulting Numbers: [1, 21] Generated Node #3: [1, 21] from Operation: 57-36=21 Current State: 20:[1, 21], Operations: ['44-43=1', '57-36=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[44, 43, 36, 57], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [36, 57, 1] Generated Node #0,0: 20:[36, 57, 1] Operation: 44-43=1 Exploring Operation: 57-43=14, Resulting Numbers: [44, 36, 14] Generated Node #0,1: 20:[44, 36, 14] Operation: 57-43=14 Exploring Operation: 57-36=21, Resulting Numbers: [44, 43, 21] Generated Node #0,2: 20:[44, 43, 21] Operation: 57-36=21 Exploring Operation: 57-44=13, Resulting Numbers: [43, 36, 13] Generated Node #0,3: 20:[43, 36, 13] Operation: 57-44=13 Exploring Operation: 44-36=8, Resulting Numbers: [43, 57, 8] Generated Node #0,4: 20:[43, 57, 8] Operation: 44-36=8 Moving to Node #0,3 Current State: 20:[43, 36, 13], Operations: ['57-44=13'] Exploring Operation: 43-13=30, Resulting Numbers: [36, 30] Generated Node #0,3,0: 20:[36, 30] Operation: 43-13=30 Exploring Operation: 36+13=49, Resulting Numbers: [43, 49] Generated Node #0,3,1: 20:[43, 49] Operation: 36+13=49 Exploring Operation: 43+13=56, Resulting Numbers: [36, 56] Generated Node #0,3,2: 20:[36, 56] Operation: 43+13=56 Exploring Operation: 36-13=23, Resulting Numbers: [43, 23] Generated Node #0,3,3: 20:[43, 23] Operation: 36-13=23 Exploring Operation: 43-36=7, Resulting Numbers: [13, 7] Generated Node #0,3,4: 20:[13, 7] Operation: 43-36=7 Moving to Node #0,1 Current State: 20:[44, 36, 14], Operations: ['57-43=14'] Exploring Operation: 44-36=8, Resulting Numbers: [14, 8] Generated Node #0,1,0: 20:[14, 8] Operation: 44-36=8 Exploring Operation: 44-14=30, Resulting Numbers: [36, 30] Generated Node #0,1,1: 20:[36, 30] Operation: 44-14=30 Exploring Operation: 36+14=50, Resulting Numbers: [44, 50] Generated Node #0,1,2: 20:[44, 50] Operation: 36+14=50 Exploring Operation: 44+14=58, Resulting Numbers: [36, 58] Generated Node #0,1,3: 20:[36, 58] Operation: 44+14=58 Exploring Operation: 36-14=22, Resulting Numbers: [44, 22] Generated Node #0,1,4: 20:[44, 22] Operation: 36-14=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[14, 8], Operations: ['57-43=14', '44-36=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[36, 30], Operations: ['57-43=14', '44-14=30'] Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 20:[44, 22], Operations: ['57-43=14', '36-14=22'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,20 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[44, 50], Operations: ['57-43=14', '36+14=50'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,20 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[36, 58], Operations: ['57-43=14', '44+14=58'] Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,20 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 20:[44, 43, 21], Operations: ['57-36=21'] Exploring Operation: 43-21=22, Resulting Numbers: [44, 22] Generated Node #0,2,0: 20:[44, 22] Operation: 43-21=22 Exploring Operation: 44-43=1, Resulting Numbers: [21, 1] Generated Node #0,2,1: 20:[21, 1] Operation: 44-43=1 Exploring Operation: 44-21=23, Resulting Numbers: [43, 23] Generated Node #0,2,2: 20:[43, 23] Operation: 44-21=23 Exploring Operation: 44+21=65, Resulting Numbers: [43, 65] Generated Node #0,2,3: 20:[43, 65] Operation: 44+21=65 Exploring Operation: 44+43=87, Resulting Numbers: [21, 87] Generated Node #0,2,4: 20:[21, 87] Operation: 44+43=87 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[21, 1], Operations: ['57-36=21', '44-43=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[44, 43, 36, 57], Operations: [] Exploring Operation: 57-36=21, Resulting Numbers: [44, 43, 21] Generated Node #0,2: 20:[44, 43, 21] Operation: 57-36=21 Moving to Node #0,2 Current State: 20:[44, 43, 21], Operations: ['57-36=21'] Exploring Operation: 44-43=1, Resulting Numbers: [21, 1] Generated Node #0,2,1: 20:[21, 1] Operation: 44-43=1 Moving to Node #0,2,1 Current State: 20:[21, 1], Operations: ['57-36=21', '44-43=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 50, 51, 6, 58 ]
50
[ "51+6=57", "58-57=1", "50*1=50" ]
Current State: 50:[50, 51, 6, 58], Operations: [] Exploring Operation: 51+6=57, Resulting Numbers: [50, 58, 57] Generated Node #2: [50, 58, 57] from Operation: 51+6=57 Current State: 50:[50, 58, 57], Operations: ['51+6=57'] Exploring Operation: 58-57=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 58-57=1 Current State: 50:[50, 1], Operations: ['51+6=57', '58-57=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[50, 51, 6, 58], Operations: [] Exploring Operation: 58-50=8, Resulting Numbers: [51, 6, 8] Generated Node #0,0: 50:[51, 6, 8] Operation: 58-50=8 Exploring Operation: 58-51=7, Resulting Numbers: [50, 6, 7] Generated Node #0,1: 50:[50, 6, 7] Operation: 58-51=7 Exploring Operation: 58-6=52, Resulting Numbers: [50, 51, 52] Generated Node #0,2: 50:[50, 51, 52] Operation: 58-6=52 Moving to Node #0,1 Current State: 50:[50, 6, 7], Operations: ['58-51=7'] Exploring Operation: 6+7=13, Resulting Numbers: [50, 13] Generated Node #0,1,0: 50:[50, 13] Operation: 6+7=13 Exploring Operation: 7-6=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 50:[50, 1] Operation: 7-6=1 Exploring Operation: 50+6=56, Resulting Numbers: [7, 56] Generated Node #0,1,2: 50:[7, 56] Operation: 50+6=56 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[50, 1], Operations: ['58-51=7', '7-6=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[50, 51, 6, 58], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [50, 6, 7] Generated Node #0,1: 50:[50, 6, 7] Operation: 58-51=7 Moving to Node #0,1 Current State: 50:[50, 6, 7], Operations: ['58-51=7'] Exploring Operation: 7-6=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 50:[50, 1] Operation: 7-6=1 Moving to Node #0,1,1 Current State: 50:[50, 1], Operations: ['58-51=7', '7-6=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 94, 47, 57, 78 ]
19
[ "94/47=2", "78-57=21", "21-2=19" ]
Current State: 19:[94, 47, 57, 78], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [57, 78, 2] Generated Node #2: [57, 78, 2] from Operation: 94/47=2 Current State: 19:[57, 78, 2], Operations: ['94/47=2'] Exploring Operation: 78-57=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 78-57=21 Current State: 19:[2, 21], Operations: ['94/47=2', '78-57=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[94, 47, 57, 78], Operations: [] Exploring Operation: 94-47=47, Resulting Numbers: [57, 78, 47] Generated Node #0,0: 19:[57, 78, 47] Operation: 94-47=47 Exploring Operation: 94-78=16, Resulting Numbers: [47, 57, 16] Generated Node #0,1: 19:[47, 57, 16] Operation: 94-78=16 Exploring Operation: 78-57=21, Resulting Numbers: [94, 47, 21] Generated Node #0,2: 19:[94, 47, 21] Operation: 78-57=21 Exploring Operation: 94/47=2, Resulting Numbers: [57, 78, 2] Generated Node #0,3: 19:[57, 78, 2] Operation: 94/47=2 Exploring Operation: 94-57=37, Resulting Numbers: [47, 78, 37] Generated Node #0,4: 19:[47, 78, 37] Operation: 94-57=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[47, 57, 16], Operations: ['94-78=16'] Exploring Operation: 47-16=31, Resulting Numbers: [57, 31] Generated Node #0,1,0: 19:[57, 31] Operation: 47-16=31 Exploring Operation: 57+16=73, Resulting Numbers: [47, 73] Generated Node #0,1,1: 19:[47, 73] Operation: 57+16=73 Exploring Operation: 57-47=10, Resulting Numbers: [16, 10] Generated Node #0,1,2: 19:[16, 10] Operation: 57-47=10 Exploring Operation: 57-16=41, Resulting Numbers: [47, 41] Generated Node #0,1,3: 19:[47, 41] Operation: 57-16=41 Exploring Operation: 47+16=63, Resulting Numbers: [57, 63] Generated Node #0,1,4: 19:[57, 63] Operation: 47+16=63 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[16, 10], Operations: ['94-78=16', '57-47=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,19 unequal: No Solution No 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: 19:[57, 31], Operations: ['94-78=16', '47-16=31'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,19 unequal: No Solution No 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: 19:[47, 41], Operations: ['94-78=16', '57-16=41'] Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,19 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,19 unequal: No Solution No 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: 19:[47, 73], Operations: ['94-78=16', '57+16=73'] Exploring Operation: 47+73=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 47*73=3431, Resulting Numbers: [3431] 3431,19 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,19 unequal: No Solution No 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: 19:[57, 63], Operations: ['94-78=16', '47+16=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,19 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,19 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: 19:[94, 47, 21], Operations: ['78-57=21'] Exploring Operation: 94+47=141, Resulting Numbers: [21, 141] Generated Node #0,2,0: 19:[21, 141] Operation: 94+47=141 Exploring Operation: 94-47=47, Resulting Numbers: [21, 47] Generated Node #0,2,1: 19:[21, 47] Operation: 94-47=47 Exploring Operation: 94/47=2, Resulting Numbers: [21, 2] Generated Node #0,2,2: 19:[21, 2] Operation: 94/47=2 Exploring Operation: 47-21=26, Resulting Numbers: [94, 26] Generated Node #0,2,3: 19:[94, 26] Operation: 47-21=26 Exploring Operation: 94-21=73, Resulting Numbers: [47, 73] Generated Node #0,2,4: 19:[47, 73] Operation: 94-21=73 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[21, 2], Operations: ['78-57=21', '94/47=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[94, 47, 57, 78], Operations: [] Exploring Operation: 78-57=21, Resulting Numbers: [94, 47, 21] Generated Node #0,2: 19:[94, 47, 21] Operation: 78-57=21 Moving to Node #0,2 Current State: 19:[94, 47, 21], Operations: ['78-57=21'] Exploring Operation: 94/47=2, Resulting Numbers: [21, 2] Generated Node #0,2,2: 19:[21, 2] Operation: 94/47=2 Moving to Node #0,2,2 Current State: 19:[21, 2], Operations: ['78-57=21', '94/47=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 29, 49, 70, 9 ]
81
[ "49-29=20", "70-9=61", "20+61=81" ]
Current State: 81:[29, 49, 70, 9], Operations: [] Exploring Operation: 49-29=20, Resulting Numbers: [70, 9, 20] Generated Node #2: [70, 9, 20] from Operation: 49-29=20 Current State: 81:[70, 9, 20], Operations: ['49-29=20'] Exploring Operation: 70-9=61, Resulting Numbers: [20, 61] Generated Node #3: [20, 61] from Operation: 70-9=61 Current State: 81:[20, 61], Operations: ['49-29=20', '70-9=61'] Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[29, 49, 70, 9], Operations: [] Exploring Operation: 49-29=20, Resulting Numbers: [70, 9, 20] Generated Node #0,0: 81:[70, 9, 20] Operation: 49-29=20 Exploring Operation: 29+49=78, Resulting Numbers: [70, 9, 78] Generated Node #0,1: 81:[70, 9, 78] Operation: 29+49=78 Exploring Operation: 70-49=21, Resulting Numbers: [29, 9, 21] Generated Node #0,2: 81:[29, 9, 21] Operation: 70-49=21 Moving to Node #0,2 Current State: 81:[29, 9, 21], Operations: ['70-49=21'] Exploring Operation: 29-21=8, Resulting Numbers: [9, 8] Generated Node #0,2,0: 81:[9, 8] Operation: 29-21=8 Exploring Operation: 9+21=30, Resulting Numbers: [29, 30] Generated Node #0,2,1: 81:[29, 30] Operation: 9+21=30 Exploring Operation: 21-9=12, Resulting Numbers: [29, 12] Generated Node #0,2,2: 81:[29, 12] Operation: 21-9=12 Moving to Node #0,1 Current State: 81:[70, 9, 78], Operations: ['29+49=78'] Exploring Operation: 78-70=8, Resulting Numbers: [9, 8] Generated Node #0,1,0: 81:[9, 8] Operation: 78-70=8 Exploring Operation: 70+9=79, Resulting Numbers: [78, 79] Generated Node #0,1,1: 81:[78, 79] Operation: 70+9=79 Exploring Operation: 9+78=87, Resulting Numbers: [70, 87] Generated Node #0,1,2: 81:[70, 87] Operation: 9+78=87 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[9, 8], Operations: ['29+49=78', '78-70=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[78, 79], Operations: ['29+49=78', '70+9=79'] Exploring Operation: 78*79=6162, Resulting Numbers: [6162] 6162,81 unequal: No Solution Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 78+79=157, Resulting Numbers: [157] 157,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[70, 87], Operations: ['29+49=78', '9+78=87'] Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 70*87=6090, Resulting Numbers: [6090] 6090,81 unequal: No Solution Exploring Operation: 70+87=157, Resulting Numbers: [157] 157,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 81:[70, 9, 20], Operations: ['49-29=20'] Exploring Operation: 70+20=90, Resulting Numbers: [9, 90] Generated Node #0,0,0: 81:[9, 90] Operation: 70+20=90 Exploring Operation: 70+9=79, Resulting Numbers: [20, 79] Generated Node #0,0,1: 81:[20, 79] Operation: 70+9=79 Exploring Operation: 9+20=29, Resulting Numbers: [70, 29] Generated Node #0,0,2: 81:[70, 29] Operation: 9+20=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[9, 90], Operations: ['49-29=20', '70+20=90'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[29, 49, 70, 9], Operations: [] Exploring Operation: 49-29=20, Resulting Numbers: [70, 9, 20] Generated Node #0,0: 81:[70, 9, 20] Operation: 49-29=20 Moving to Node #0,0 Current State: 81:[70, 9, 20], Operations: ['49-29=20'] Exploring Operation: 70+20=90, Resulting Numbers: [9, 90] Generated Node #0,0,0: 81:[9, 90] Operation: 70+20=90 Moving to Node #0,0,0 Current State: 81:[9, 90], Operations: ['49-29=20', '70+20=90'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 43, 5, 78, 8 ]
15
[ "78-43=35", "35/5=7", "8+7=15" ]
Current State: 15:[43, 5, 78, 8], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [5, 8, 35] Generated Node #2: [5, 8, 35] from Operation: 78-43=35 Current State: 15:[5, 8, 35], Operations: ['78-43=35'] Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 35/5=7 Current State: 15:[8, 7], Operations: ['78-43=35', '35/5=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[43, 5, 78, 8], Operations: [] Exploring Operation: 43-8=35, Resulting Numbers: [5, 78, 35] Generated Node #0,0: 15:[5, 78, 35] Operation: 43-8=35 Exploring Operation: 78-8=70, Resulting Numbers: [43, 5, 70] Generated Node #0,1: 15:[43, 5, 70] Operation: 78-8=70 Exploring Operation: 78-43=35, Resulting Numbers: [5, 8, 35] Generated Node #0,2: 15:[5, 8, 35] Operation: 78-43=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[5, 8, 35], Operations: ['78-43=35'] Exploring Operation: 35-5=30, Resulting Numbers: [8, 30] Generated Node #0,2,0: 15:[8, 30] Operation: 35-5=30 Exploring Operation: 35-8=27, Resulting Numbers: [5, 27] Generated Node #0,2,1: 15:[5, 27] Operation: 35-8=27 Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #0,2,2: 15:[8, 7] Operation: 35/5=7 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[8, 7], Operations: ['78-43=35', '35/5=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[43, 5, 78, 8], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [5, 8, 35] Generated Node #0,2: 15:[5, 8, 35] Operation: 78-43=35 Moving to Node #0,2 Current State: 15:[5, 8, 35], Operations: ['78-43=35'] Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #0,2,2: 15:[8, 7] Operation: 35/5=7 Moving to Node #0,2,2 Current State: 15:[8, 7], Operations: ['78-43=35', '35/5=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 69, 97, 38, 7 ]
100
[ "69+97=166", "38*7=266", "266-166=100" ]
Current State: 100:[69, 97, 38, 7], Operations: [] Exploring Operation: 69+97=166, Resulting Numbers: [38, 7, 166] Generated Node #2: [38, 7, 166] from Operation: 69+97=166 Current State: 100:[38, 7, 166], Operations: ['69+97=166'] Exploring Operation: 38*7=266, Resulting Numbers: [166, 266] Generated Node #3: [166, 266] from Operation: 38*7=266 Current State: 100:[166, 266], Operations: ['69+97=166', '38*7=266'] Exploring Operation: 266-166=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[69, 97, 38, 7], Operations: [] Exploring Operation: 69+38=107, Resulting Numbers: [97, 7, 107] Generated Node #0,0: 100:[97, 7, 107] Operation: 69+38=107 Exploring Operation: 69-38=31, Resulting Numbers: [97, 7, 31] Generated Node #0,1: 100:[97, 7, 31] Operation: 69-38=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[97, 7, 31], Operations: ['69-38=31'] Exploring Operation: 97+7=104, Resulting Numbers: [31, 104] Generated Node #0,1,0: 100:[31, 104] Operation: 97+7=104 Exploring Operation: 31-7=24, Resulting Numbers: [97, 24] Generated Node #0,1,1: 100:[97, 24] Operation: 31-7=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[97, 24], Operations: ['69-38=31', '31-7=24'] Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,100 unequal: No Solution Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,100 unequal: No Solution No 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: 100:[31, 104], Operations: ['69-38=31', '97+7=104'] Exploring Operation: 31+104=135, Resulting Numbers: [135] 135,100 unequal: No Solution Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,100 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: 100:[97, 7, 107], Operations: ['69+38=107'] Exploring Operation: 107-97=10, Resulting Numbers: [7, 10] Generated Node #0,0,0: 100:[7, 10] Operation: 107-97=10 Exploring Operation: 107-7=100, Resulting Numbers: [97, 100] Generated Node #0,0,1: 100:[97, 100] Operation: 107-7=100 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[7, 10], Operations: ['69+38=107', '107-97=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,100 unequal: No Solution No 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: 100:[97, 100], Operations: ['69+38=107', '107-7=100'] Exploring Operation: 97+100=197, Resulting Numbers: [197] 197,100 unequal: No Solution Exploring Operation: 100-97=3, Resulting Numbers: [3] 3,100 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
[ 58, 3, 39, 86 ]
41
[ "86-58=28", "39/3=13", "28+13=41" ]
Current State: 41:[58, 3, 39, 86], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [3, 39, 28] Generated Node #2: [3, 39, 28] from Operation: 86-58=28 Current State: 41:[3, 39, 28], Operations: ['86-58=28'] Exploring Operation: 39/3=13, Resulting Numbers: [28, 13] Generated Node #3: [28, 13] from Operation: 39/3=13 Current State: 41:[28, 13], Operations: ['86-58=28', '39/3=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[58, 3, 39, 86], Operations: [] Exploring Operation: 58-3=55, Resulting Numbers: [39, 86, 55] Generated Node #0,0: 41:[39, 86, 55] Operation: 58-3=55 Exploring Operation: 86-58=28, Resulting Numbers: [3, 39, 28] Generated Node #0,1: 41:[3, 39, 28] Operation: 86-58=28 Moving to Node #0,1 Current State: 41:[3, 39, 28], Operations: ['86-58=28'] Exploring Operation: 3+28=31, Resulting Numbers: [39, 31] Generated Node #0,1,0: 41:[39, 31] Operation: 3+28=31 Exploring Operation: 3+39=42, Resulting Numbers: [28, 42] Generated Node #0,1,1: 41:[28, 42] Operation: 3+39=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[39, 31], Operations: ['86-58=28', '3+28=31'] Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[28, 42], Operations: ['86-58=28', '3+39=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 41:[39, 86, 55], Operations: ['58-3=55'] Exploring Operation: 86-39=47, Resulting Numbers: [55, 47] Generated Node #0,0,0: 41:[55, 47] Operation: 86-39=47 Exploring Operation: 86-55=31, Resulting Numbers: [39, 31] Generated Node #0,0,1: 41:[39, 31] Operation: 86-55=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[39, 31], Operations: ['58-3=55', '86-55=31'] Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[55, 47], Operations: ['58-3=55', '86-39=47'] Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,41 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
[ 92, 77, 20, 94 ]
59
[ "92-77=15", "94-20=74", "74-15=59" ]
Current State: 59:[92, 77, 20, 94], Operations: [] Exploring Operation: 92-77=15, Resulting Numbers: [20, 94, 15] Generated Node #2: [20, 94, 15] from Operation: 92-77=15 Current State: 59:[20, 94, 15], Operations: ['92-77=15'] Exploring Operation: 94-20=74, Resulting Numbers: [15, 74] Generated Node #3: [15, 74] from Operation: 94-20=74 Current State: 59:[15, 74], Operations: ['92-77=15', '94-20=74'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[92, 77, 20, 94], Operations: [] Exploring Operation: 77-20=57, Resulting Numbers: [92, 94, 57] Generated Node #0,0: 59:[92, 94, 57] Operation: 77-20=57 Exploring Operation: 92-20=72, Resulting Numbers: [77, 94, 72] Generated Node #0,1: 59:[77, 94, 72] Operation: 92-20=72 Exploring Operation: 92+20=112, Resulting Numbers: [77, 94, 112] Generated Node #0,2: 59:[77, 94, 112] Operation: 92+20=112 Exploring Operation: 94-20=74, Resulting Numbers: [92, 77, 74] Generated Node #0,3: 59:[92, 77, 74] Operation: 94-20=74 Moving to Node #0,1 Current State: 59:[77, 94, 72], Operations: ['92-20=72'] Exploring Operation: 77-72=5, Resulting Numbers: [94, 5] Generated Node #0,1,0: 59:[94, 5] Operation: 77-72=5 Exploring Operation: 94-77=17, Resulting Numbers: [72, 17] Generated Node #0,1,1: 59:[72, 17] Operation: 94-77=17 Exploring Operation: 94-72=22, Resulting Numbers: [77, 22] Generated Node #0,1,2: 59:[77, 22] Operation: 94-72=22 Exploring Operation: 77+94=171, Resulting Numbers: [72, 171] Generated Node #0,1,3: 59:[72, 171] Operation: 77+94=171 Moving to Node #0,3 Current State: 59:[92, 77, 74], Operations: ['94-20=74'] Exploring Operation: 77-74=3, Resulting Numbers: [92, 3] Generated Node #0,3,0: 59:[92, 3] Operation: 77-74=3 Exploring Operation: 92-74=18, Resulting Numbers: [77, 18] Generated Node #0,3,1: 59:[77, 18] Operation: 92-74=18 Exploring Operation: 92-77=15, Resulting Numbers: [74, 15] Generated Node #0,3,2: 59:[74, 15] Operation: 92-77=15 Exploring Operation: 92+77=169, Resulting Numbers: [74, 169] Generated Node #0,3,3: 59:[74, 169] Operation: 92+77=169 Moving to Node #0,0 Current State: 59:[92, 94, 57], Operations: ['77-20=57'] Exploring Operation: 92+57=149, Resulting Numbers: [94, 149] Generated Node #0,0,0: 59:[94, 149] Operation: 92+57=149 Exploring Operation: 94-92=2, Resulting Numbers: [57, 2] Generated Node #0,0,1: 59:[57, 2] Operation: 94-92=2 Exploring Operation: 92-57=35, Resulting Numbers: [94, 35] Generated Node #0,0,2: 59:[94, 35] Operation: 92-57=35 Exploring Operation: 94-57=37, Resulting Numbers: [92, 37] Generated Node #0,0,3: 59:[92, 37] Operation: 94-57=37 Moving to Node #0,2 Current State: 59:[77, 94, 112], Operations: ['92+20=112'] Exploring Operation: 112-77=35, Resulting Numbers: [94, 35] Generated Node #0,2,0: 59:[94, 35] Operation: 112-77=35 Exploring Operation: 94-77=17, Resulting Numbers: [112, 17] Generated Node #0,2,1: 59:[112, 17] Operation: 94-77=17 Exploring Operation: 112-94=18, Resulting Numbers: [77, 18] Generated Node #0,2,2: 59:[77, 18] Operation: 112-94=18 Exploring Operation: 77+94=171, Resulting Numbers: [112, 171] Generated Node #0,2,3: 59:[112, 171] Operation: 77+94=171 Moving to Node #0,1,1 Current State: 59:[72, 17], Operations: ['92-20=72', '94-77=17'] Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,59 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[77, 22], Operations: ['92-20=72', '94-72=22'] Exploring Operation: 77*22=1694, Resulting Numbers: [1694] 1694,59 unequal: No Solution Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[92, 37], Operations: ['77-20=57', '94-57=37'] Exploring Operation: 92-37=55, Resulting Numbers: [55] 55,59 unequal: No Solution Exploring Operation: 92+37=129, Resulting Numbers: [129] 129,59 unequal: No Solution Exploring Operation: 92*37=3404, Resulting Numbers: [3404] 3404,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[74, 15], Operations: ['94-20=74', '92-77=15'] Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,59 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[92, 77, 20, 94], Operations: [] Exploring Operation: 94-20=74, Resulting Numbers: [92, 77, 74] Generated Node #0,3: 59:[92, 77, 74] Operation: 94-20=74 Moving to Node #0,3 Current State: 59:[92, 77, 74], Operations: ['94-20=74'] Exploring Operation: 92-77=15, Resulting Numbers: [74, 15] Generated Node #0,3,2: 59:[74, 15] Operation: 92-77=15 Moving to Node #0,3,2 Current State: 59:[74, 15], Operations: ['94-20=74', '92-77=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.969618
hs_4
mult_heuristic
[ 37, 18, 48, 19 ]
85
[ "37+48=85", "19-18=1", "85*1=85" ]
Current State: 85:[37, 18, 48, 19], Operations: [] Exploring Operation: 37+48=85, Resulting Numbers: [18, 19, 85] Generated Node #2: [18, 19, 85] from Operation: 37+48=85 Current State: 85:[18, 19, 85], Operations: ['37+48=85'] Exploring Operation: 19-18=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 19-18=1 Current State: 85:[85, 1], Operations: ['37+48=85', '19-18=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[37, 18, 48, 19], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [18, 19, 11] Generated Node #0,0: 85:[18, 19, 11] Operation: 48-37=11 Exploring Operation: 37-18=19, Resulting Numbers: [48, 19, 19] Generated Node #0,1: 85:[48, 19, 19] Operation: 37-18=19 Exploring Operation: 37+48=85, Resulting Numbers: [18, 19, 85] Generated Node #0,2: 85:[18, 19, 85] Operation: 37+48=85 Exploring Operation: 37-19=18, Resulting Numbers: [18, 48, 18] Generated Node #0,3: 85:[18, 48, 18] Operation: 37-19=18 Exploring Operation: 48-19=29, Resulting Numbers: [37, 18, 29] Generated Node #0,4: 85:[37, 18, 29] Operation: 48-19=29 Moving to Node #0,2 Current State: 85:[18, 19, 85], Operations: ['37+48=85'] Exploring Operation: 19-18=1, Resulting Numbers: [85, 1] Generated Node #0,2,0: 85:[85, 1] Operation: 19-18=1 Exploring Operation: 19+85=104, Resulting Numbers: [18, 104] Generated Node #0,2,1: 85:[18, 104] Operation: 19+85=104 Exploring Operation: 18+85=103, Resulting Numbers: [19, 103] Generated Node #0,2,2: 85:[19, 103] Operation: 18+85=103 Exploring Operation: 85-18=67, Resulting Numbers: [19, 67] Generated Node #0,2,3: 85:[19, 67] Operation: 85-18=67 Exploring Operation: 18+19=37, Resulting Numbers: [85, 37] Generated Node #0,2,4: 85:[85, 37] Operation: 18+19=37 Moving to Node #0,0 Current State: 85:[18, 19, 11], Operations: ['48-37=11'] Exploring Operation: 19-11=8, Resulting Numbers: [18, 8] Generated Node #0,0,0: 85:[18, 8] Operation: 19-11=8 Exploring Operation: 19+11=30, Resulting Numbers: [18, 30] Generated Node #0,0,1: 85:[18, 30] Operation: 19+11=30 Exploring Operation: 18-11=7, Resulting Numbers: [19, 7] Generated Node #0,0,2: 85:[19, 7] Operation: 18-11=7 Exploring Operation: 19-18=1, Resulting Numbers: [11, 1] Generated Node #0,0,3: 85:[11, 1] Operation: 19-18=1 Exploring Operation: 18+11=29, Resulting Numbers: [19, 29] Generated Node #0,0,4: 85:[19, 29] Operation: 18+11=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[18, 8], Operations: ['48-37=11', '19-11=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[19, 7], Operations: ['48-37=11', '18-11=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,85 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 85:[11, 1], Operations: ['48-37=11', '19-18=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[18, 30], Operations: ['48-37=11', '19+11=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,85 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 85:[19, 29], Operations: ['48-37=11', '18+11=29'] Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,85 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,85 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: 85:[18, 48, 18], Operations: ['37-19=18'] Exploring Operation: 48-18=30, Resulting Numbers: [18, 30] Generated Node #0,3,0: 85:[18, 30] Operation: 48-18=30 Exploring Operation: 18+48=66, Resulting Numbers: [18, 66] Generated Node #0,3,1: 85:[18, 66] Operation: 18+48=66 Exploring Operation: 48-18=30, Resulting Numbers: [18, 30] Generated Node #0,3,2: 85:[18, 30] Operation: 48-18=30 Exploring Operation: 48+18=66, Resulting Numbers: [18, 66] Generated Node #0,3,3: 85:[18, 66] Operation: 48+18=66 Exploring Operation: 18/18=1, Resulting Numbers: [48, 1] Generated Node #0,3,4: 85:[48, 1] Operation: 18/18=1 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[18, 30], Operations: ['37-19=18', '48-18=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[18, 30], Operations: ['37-19=18', '48-18=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,85 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[18, 66], Operations: ['37-19=18', '18+48=66'] Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,85 unequal: No Solution Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[18, 66], Operations: ['37-19=18', '48+18=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 85:[48, 1], Operations: ['37-19=18', '18/18=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,85 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,85 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: 85:[37, 18, 29], Operations: ['48-19=29'] Exploring Operation: 37+29=66, Resulting Numbers: [18, 66] Generated Node #0,4,0: 85:[18, 66] Operation: 37+29=66 Exploring Operation: 37-18=19, Resulting Numbers: [29, 19] Generated Node #0,4,1: 85:[29, 19] Operation: 37-18=19 Exploring Operation: 29-18=11, Resulting Numbers: [37, 11] Generated Node #0,4,2: 85:[37, 11] Operation: 29-18=11 Exploring Operation: 37+18=55, Resulting Numbers: [29, 55] Generated Node #0,4,3: 85:[29, 55] Operation: 37+18=55 Exploring Operation: 37-29=8, Resulting Numbers: [18, 8] Generated Node #0,4,4: 85:[18, 8] Operation: 37-29=8 Moving to Node #0,1 Current State: 85:[48, 19, 19], Operations: ['37-18=19'] Exploring Operation: 19/19=1, Resulting Numbers: [48, 1] Generated Node #0,1,0: 85:[48, 1] Operation: 19/19=1 Exploring Operation: 48-19=29, Resulting Numbers: [19, 29] Generated Node #0,1,1: 85:[19, 29] Operation: 48-19=29 Exploring Operation: 48+19=67, Resulting Numbers: [19, 67] Generated Node #0,1,2: 85:[19, 67] Operation: 48+19=67 Exploring Operation: 48+19=67, Resulting Numbers: [19, 67] Generated Node #0,1,3: 85:[19, 67] Operation: 48+19=67 Exploring Operation: 48-19=29, Resulting Numbers: [19, 29] Generated Node #0,1,4: 85:[19, 29] Operation: 48-19=29 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[19, 29], Operations: ['37-18=19', '48-19=29'] Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,85 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 85:[19, 29], Operations: ['37-18=19', '48-19=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,85 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[19, 67], Operations: ['37-18=19', '48+19=67'] Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 85:[19, 67], Operations: ['37-18=19', '48+19=67'] Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,85 unequal: No Solution Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[48, 1], Operations: ['37-18=19', '19/19=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,85 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,85 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 85:[85, 1], Operations: ['37+48=85', '19-18=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[37, 18, 48, 19], Operations: [] Exploring Operation: 37+48=85, Resulting Numbers: [18, 19, 85] Generated Node #0,2: 85:[18, 19, 85] Operation: 37+48=85 Moving to Node #0,2 Current State: 85:[18, 19, 85], Operations: ['37+48=85'] Exploring Operation: 19-18=1, Resulting Numbers: [85, 1] Generated Node #0,2,0: 85:[85, 1] Operation: 19-18=1 Moving to Node #0,2,0 Current State: 85:[85, 1], Operations: ['37+48=85', '19-18=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.926215
hs_5
mult_heuristic
[ 80, 76, 9, 28 ]
41
[ "80-76=4", "9+28=37", "4+37=41" ]
Current State: 41:[80, 76, 9, 28], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [9, 28, 4] Generated Node #2: [9, 28, 4] from Operation: 80-76=4 Current State: 41:[9, 28, 4], Operations: ['80-76=4'] Exploring Operation: 9+28=37, Resulting Numbers: [4, 37] Generated Node #3: [4, 37] from Operation: 9+28=37 Current State: 41:[4, 37], Operations: ['80-76=4', '9+28=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[80, 76, 9, 28], Operations: [] Exploring Operation: 76-28=48, Resulting Numbers: [80, 9, 48] Generated Node #0,0: 41:[80, 9, 48] Operation: 76-28=48 Exploring Operation: 80-9=71, Resulting Numbers: [76, 28, 71] Generated Node #0,1: 41:[76, 28, 71] Operation: 80-9=71 Exploring Operation: 76-9=67, Resulting Numbers: [80, 28, 67] Generated Node #0,2: 41:[80, 28, 67] Operation: 76-9=67 Exploring Operation: 9+28=37, Resulting Numbers: [80, 76, 37] Generated Node #0,3: 41:[80, 76, 37] Operation: 9+28=37 Exploring Operation: 80-28=52, Resulting Numbers: [76, 9, 52] Generated Node #0,4: 41:[76, 9, 52] Operation: 80-28=52 Moving to Node #0,0 Current State: 41:[80, 9, 48], Operations: ['76-28=48'] Exploring Operation: 80-48=32, Resulting Numbers: [9, 32] Generated Node #0,0,0: 41:[9, 32] Operation: 80-48=32 Exploring Operation: 48-9=39, Resulting Numbers: [80, 39] Generated Node #0,0,1: 41:[80, 39] Operation: 48-9=39 Exploring Operation: 9+48=57, Resulting Numbers: [80, 57] Generated Node #0,0,2: 41:[80, 57] Operation: 9+48=57 Exploring Operation: 80-9=71, Resulting Numbers: [48, 71] Generated Node #0,0,3: 41:[48, 71] Operation: 80-9=71 Exploring Operation: 80+9=89, Resulting Numbers: [48, 89] Generated Node #0,0,4: 41:[48, 89] Operation: 80+9=89 Moving to Node #0,2 Current State: 41:[80, 28, 67], Operations: ['76-9=67'] Exploring Operation: 80+28=108, Resulting Numbers: [67, 108] Generated Node #0,2,0: 41:[67, 108] Operation: 80+28=108 Exploring Operation: 28+67=95, Resulting Numbers: [80, 95] Generated Node #0,2,1: 41:[80, 95] Operation: 28+67=95 Exploring Operation: 67-28=39, Resulting Numbers: [80, 39] Generated Node #0,2,2: 41:[80, 39] Operation: 67-28=39 Exploring Operation: 80-28=52, Resulting Numbers: [67, 52] Generated Node #0,2,3: 41:[67, 52] Operation: 80-28=52 Exploring Operation: 80-67=13, Resulting Numbers: [28, 13] Generated Node #0,2,4: 41:[28, 13] Operation: 80-67=13 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[67, 52], Operations: ['76-9=67', '80-28=52'] Exploring Operation: 67*52=3484, Resulting Numbers: [3484] 3484,41 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 67+52=119, Resulting Numbers: [119] 119,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[80, 39], Operations: ['76-9=67', '67-28=39'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[80, 76, 9, 28], Operations: [] Exploring Operation: 76-9=67, Resulting Numbers: [80, 28, 67] Generated Node #0,2: 41:[80, 28, 67] Operation: 76-9=67 Moving to Node #0,2 Current State: 41:[80, 28, 67], Operations: ['76-9=67'] Exploring Operation: 67-28=39, Resulting Numbers: [80, 39] Generated Node #0,2,2: 41:[80, 39] Operation: 67-28=39 Moving to Node #0,2,2 Current State: 41:[80, 39], Operations: ['76-9=67', '67-28=39'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 28, 75, 13, 3 ]
57
[ "75-28=47", "13-3=10", "47+10=57" ]
Current State: 57:[28, 75, 13, 3], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [13, 3, 47] Generated Node #2: [13, 3, 47] from Operation: 75-28=47 Current State: 57:[13, 3, 47], Operations: ['75-28=47'] Exploring Operation: 13-3=10, Resulting Numbers: [47, 10] Generated Node #3: [47, 10] from Operation: 13-3=10 Current State: 57:[47, 10], Operations: ['75-28=47', '13-3=10'] Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[28, 75, 13, 3], Operations: [] Exploring Operation: 75-13=62, Resulting Numbers: [28, 3, 62] Generated Node #0,0: 57:[28, 3, 62] Operation: 75-13=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[28, 3, 62], Operations: ['75-13=62'] Exploring Operation: 28-3=25, Resulting Numbers: [62, 25] Generated Node #0,0,0: 57:[62, 25] Operation: 28-3=25 Moving to Node #0,0,0 Current State: 57:[62, 25], Operations: ['75-13=62', '28-3=25'] Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,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
sum_heuristic
[ 83, 50, 97, 94 ]
11
[ "83-50=33", "97-94=3", "33/3=11" ]
Current State: 11:[83, 50, 97, 94], Operations: [] Exploring Operation: 83-50=33, Resulting Numbers: [97, 94, 33] Generated Node #2: [97, 94, 33] from Operation: 83-50=33 Current State: 11:[97, 94, 33], Operations: ['83-50=33'] Exploring Operation: 97-94=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 97-94=3 Current State: 11:[33, 3], Operations: ['83-50=33', '97-94=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[83, 50, 97, 94], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [50, 94, 14] Generated Node #0,0: 11:[50, 94, 14] Operation: 97-83=14 Exploring Operation: 83-50=33, Resulting Numbers: [97, 94, 33] Generated Node #0,1: 11:[97, 94, 33] Operation: 83-50=33 Exploring Operation: 97-94=3, Resulting Numbers: [83, 50, 3] Generated Node #0,2: 11:[83, 50, 3] Operation: 97-94=3 Exploring Operation: 94-83=11, Resulting Numbers: [50, 97, 11] Generated Node #0,3: 11:[50, 97, 11] Operation: 94-83=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[83, 50, 3], Operations: ['97-94=3'] Exploring Operation: 83-50=33, Resulting Numbers: [3, 33] Generated Node #0,2,0: 11:[3, 33] Operation: 83-50=33 Exploring Operation: 50-3=47, Resulting Numbers: [83, 47] Generated Node #0,2,1: 11:[83, 47] Operation: 50-3=47 Exploring Operation: 83+3=86, Resulting Numbers: [50, 86] Generated Node #0,2,2: 11:[50, 86] Operation: 83+3=86 Exploring Operation: 83-3=80, Resulting Numbers: [50, 80] Generated Node #0,2,3: 11:[50, 80] Operation: 83-3=80 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[3, 33], Operations: ['97-94=3', '83-50=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[83, 50, 97, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [83, 50, 3] Generated Node #0,2: 11:[83, 50, 3] Operation: 97-94=3 Moving to Node #0,2 Current State: 11:[83, 50, 3], Operations: ['97-94=3'] Exploring Operation: 83-50=33, Resulting Numbers: [3, 33] Generated Node #0,2,0: 11:[3, 33] Operation: 83-50=33 Moving to Node #0,2,0 Current State: 11:[3, 33], Operations: ['97-94=3', '83-50=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 47, 13, 47, 73 ]
94
[ "73-47=26", "26/13=2", "47*2=94" ]
Current State: 94:[47, 13, 47, 73], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [13, 26] Generated Node #2: [13, 26] from Operation: 73-47=26 Current State: 94:[13, 26], Operations: ['73-47=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,94 equal: Goal Reached Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[47, 13, 47, 73], Operations: [] Exploring Operation: 13+73=86, Resulting Numbers: [47, 47, 86] Generated Node #0,0: 94:[47, 47, 86] Operation: 13+73=86 Exploring Operation: 73-47=26, Resulting Numbers: [13, 47, 26] Generated Node #0,1: 94:[13, 47, 26] Operation: 73-47=26 Exploring Operation: 73-13=60, Resulting Numbers: [47, 47, 60] Generated Node #0,2: 94:[47, 47, 60] Operation: 73-13=60 Exploring Operation: 47+47=94, Resulting Numbers: [13, 73, 94] Generated Node #0,3: 94:[13, 73, 94] Operation: 47+47=94 Exploring Operation: 73-47=26, Resulting Numbers: [47, 13, 26] Generated Node #0,4: 94:[47, 13, 26] Operation: 73-47=26 Moving to Node #0,0 Current State: 94:[47, 47, 86], Operations: ['13+73=86'] Exploring Operation: 47+47=94, Resulting Numbers: [86, 94] Generated Node #0,0,0: 94:[86, 94] Operation: 47+47=94 Exploring Operation: 47/47=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 94:[86, 1] Operation: 47/47=1 Exploring Operation: 47-47=0, Resulting Numbers: [86, 0] Generated Node #0,0,2: 94:[86, 0] Operation: 47-47=0 Exploring Operation: 86-47=39, Resulting Numbers: [47, 39] Generated Node #0,0,3: 94:[47, 39] Operation: 86-47=39 Exploring Operation: 86-47=39, Resulting Numbers: [47, 39] Generated Node #0,0,4: 94:[47, 39] Operation: 86-47=39 Moving to Node #0,2 Current State: 94:[47, 47, 60], Operations: ['73-13=60'] Exploring Operation: 60-47=13, Resulting Numbers: [47, 13] Generated Node #0,2,0: 94:[47, 13] Operation: 60-47=13 Exploring Operation: 60-47=13, Resulting Numbers: [47, 13] Generated Node #0,2,1: 94:[47, 13] Operation: 60-47=13 Exploring Operation: 47+60=107, Resulting Numbers: [47, 107] Generated Node #0,2,2: 94:[47, 107] Operation: 47+60=107 Exploring Operation: 47+47=94, Resulting Numbers: [60, 94] Generated Node #0,2,3: 94:[60, 94] Operation: 47+47=94 Exploring Operation: 47+60=107, Resulting Numbers: [47, 107] Generated Node #0,2,4: 94:[47, 107] Operation: 47+60=107 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[47, 13], Operations: ['73-13=60', '60-47=13'] Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,94 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[47, 13], Operations: ['73-13=60', '60-47=13'] Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,94 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[47, 107], Operations: ['73-13=60', '47+60=107'] Exploring Operation: 107-47=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 47+107=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 47*107=5029, Resulting Numbers: [5029] 5029,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[60, 94], Operations: ['73-13=60', '47+47=94'] Exploring Operation: 60+94=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 60*94=5640, Resulting Numbers: [5640] 5640,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[47, 107], Operations: ['73-13=60', '47+60=107'] Exploring Operation: 107-47=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 47+107=154, Resulting Numbers: [154] 154,94 unequal: No Solution Exploring Operation: 47*107=5029, Resulting Numbers: [5029] 5029,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[13, 47, 26], Operations: ['73-47=26'] Exploring Operation: 26-13=13, Resulting Numbers: [47, 13] Generated Node #0,1,0: 94:[47, 13] Operation: 26-13=13 Exploring Operation: 47-26=21, Resulting Numbers: [13, 21] Generated Node #0,1,1: 94:[13, 21] Operation: 47-26=21 Exploring Operation: 13+26=39, Resulting Numbers: [47, 39] Generated Node #0,1,2: 94:[47, 39] Operation: 13+26=39 Exploring Operation: 47+26=73, Resulting Numbers: [13, 73] Generated Node #0,1,3: 94:[13, 73] Operation: 47+26=73 Exploring Operation: 26/13=2, Resulting Numbers: [47, 2] Generated Node #0,1,4: 94:[47, 2] Operation: 26/13=2 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 94:[47, 2], Operations: ['73-47=26', '26/13=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[47, 13, 47, 73], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [13, 47, 26] Generated Node #0,1: 94:[13, 47, 26] Operation: 73-47=26 Moving to Node #0,1 Current State: 94:[13, 47, 26], Operations: ['73-47=26'] Exploring Operation: 26/13=2, Resulting Numbers: [47, 2] Generated Node #0,1,4: 94:[47, 2] Operation: 26/13=2 Moving to Node #0,1,4 Current State: 94:[47, 2], Operations: ['73-47=26', '26/13=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 83, 97, 66, 1 ]
80
[ "97-83=14", "66*1=66", "14+66=80" ]
Current State: 80:[83, 97, 66, 1], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [66, 1, 14] Generated Node #2: [66, 1, 14] from Operation: 97-83=14 Current State: 80:[66, 1, 14], Operations: ['97-83=14'] Exploring Operation: 66*1=66, Resulting Numbers: [14, 66] Generated Node #3: [14, 66] from Operation: 66*1=66 Current State: 80:[14, 66], Operations: ['97-83=14', '66*1=66'] Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[83, 97, 66, 1], Operations: [] Exploring Operation: 97-66=31, Resulting Numbers: [83, 1, 31] Generated Node #0,0: 80:[83, 1, 31] Operation: 97-66=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[83, 1, 31], Operations: ['97-66=31'] Exploring Operation: 83-1=82, Resulting Numbers: [31, 82] Generated Node #0,0,0: 80:[31, 82] Operation: 83-1=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[31, 82], Operations: ['97-66=31', '83-1=82'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 55, 17, 26 ]
38
[ "7*17=119", "55+26=81", "119-81=38" ]
Current State: 38:[7, 55, 17, 26], Operations: [] Exploring Operation: 7*17=119, Resulting Numbers: [55, 26, 119] Generated Node #2: [55, 26, 119] from Operation: 7*17=119 Current State: 38:[55, 26, 119], Operations: ['7*17=119'] Exploring Operation: 55+26=81, Resulting Numbers: [119, 81] Generated Node #3: [119, 81] from Operation: 55+26=81 Current State: 38:[119, 81], Operations: ['7*17=119', '55+26=81'] Exploring Operation: 119-81=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[7, 55, 17, 26], Operations: [] Exploring Operation: 55-26=29, Resulting Numbers: [7, 17, 29] Generated Node #0,0: 38:[7, 17, 29] Operation: 55-26=29 Exploring Operation: 55-17=38, Resulting Numbers: [7, 26, 38] Generated Node #0,1: 38:[7, 26, 38] Operation: 55-17=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[7, 26, 38], Operations: ['55-17=38'] Exploring Operation: 26-7=19, Resulting Numbers: [38, 19] Generated Node #0,1,0: 38:[38, 19] Operation: 26-7=19 Exploring Operation: 7+26=33, Resulting Numbers: [38, 33] Generated Node #0,1,1: 38:[38, 33] Operation: 7+26=33 Moving to Node #0,1,0 Current State: 38:[38, 19], Operations: ['55-17=38', '26-7=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[38, 33], Operations: ['55-17=38', '7+26=33'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,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:[7, 17, 29], Operations: ['55-26=29'] Exploring Operation: 7+29=36, Resulting Numbers: [17, 36] Generated Node #0,0,0: 38:[17, 36] Operation: 7+29=36 Exploring Operation: 29-7=22, Resulting Numbers: [17, 22] Generated Node #0,0,1: 38:[17, 22] Operation: 29-7=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[17, 36], Operations: ['55-26=29', '7+29=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,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:[17, 22], Operations: ['55-26=29', '29-7=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,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 No solution found.
0
hs_2
sum_heuristic
[ 76, 68, 90, 68 ]
15
[ "90-76=14", "68/68=1", "14+1=15" ]
Current State: 15:[76, 68, 90, 68], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [68, 68, 14] Generated Node #2: [68, 68, 14] from Operation: 90-76=14 Current State: 15:[68, 68, 14], Operations: ['90-76=14'] Exploring Operation: 68/68=1, Resulting Numbers: [14, 1] Generated Node #3: [14, 1] from Operation: 68/68=1 Current State: 15:[14, 1], Operations: ['90-76=14', '68/68=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[76, 68, 90, 68], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [68, 68, 14] Generated Node #0,0: 15:[68, 68, 14] Operation: 90-76=14 Exploring Operation: 90-68=22, Resulting Numbers: [76, 68, 22] Generated Node #0,1: 15:[76, 68, 22] Operation: 90-68=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[68, 68, 14], Operations: ['90-76=14'] Exploring Operation: 68-68=0, Resulting Numbers: [14, 0] Generated Node #0,0,0: 15:[14, 0] Operation: 68-68=0 Exploring Operation: 68/68=1, Resulting Numbers: [14, 1] Generated Node #0,0,1: 15:[14, 1] Operation: 68/68=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[14, 1], Operations: ['90-76=14', '68/68=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[76, 68, 90, 68], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [68, 68, 14] Generated Node #0,0: 15:[68, 68, 14] Operation: 90-76=14 Moving to Node #0,0 Current State: 15:[68, 68, 14], Operations: ['90-76=14'] Exploring Operation: 68/68=1, Resulting Numbers: [14, 1] Generated Node #0,0,1: 15:[14, 1] Operation: 68/68=1 Moving to Node #0,0,1 Current State: 15:[14, 1], Operations: ['90-76=14', '68/68=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 53, 5, 49, 21 ]
30
[ "53+5=58", "49-21=28", "58-28=30" ]
Current State: 30:[53, 5, 49, 21], Operations: [] Exploring Operation: 53+5=58, Resulting Numbers: [49, 21, 58] Generated Node #2: [49, 21, 58] from Operation: 53+5=58 Current State: 30:[49, 21, 58], Operations: ['53+5=58'] Exploring Operation: 49-21=28, Resulting Numbers: [58, 28] Generated Node #3: [58, 28] from Operation: 49-21=28 Current State: 30:[58, 28], Operations: ['53+5=58', '49-21=28'] Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[53, 5, 49, 21], Operations: [] Exploring Operation: 53-21=32, Resulting Numbers: [5, 49, 32] Generated Node #0,0: 30:[5, 49, 32] Operation: 53-21=32 Exploring Operation: 49-21=28, Resulting Numbers: [53, 5, 28] Generated Node #0,1: 30:[53, 5, 28] Operation: 49-21=28 Exploring Operation: 53-49=4, Resulting Numbers: [5, 21, 4] Generated Node #0,2: 30:[5, 21, 4] Operation: 53-49=4 Moving to Node #0,2 Current State: 30:[5, 21, 4], Operations: ['53-49=4'] Exploring Operation: 5+21=26, Resulting Numbers: [4, 26] Generated Node #0,2,0: 30:[4, 26] Operation: 5+21=26 Exploring Operation: 21-4=17, Resulting Numbers: [5, 17] Generated Node #0,2,1: 30:[5, 17] Operation: 21-4=17 Exploring Operation: 21-5=16, Resulting Numbers: [4, 16] Generated Node #0,2,2: 30:[4, 16] Operation: 21-5=16 Moving to Node #0,0 Current State: 30:[5, 49, 32], Operations: ['53-21=32'] Exploring Operation: 32-5=27, Resulting Numbers: [49, 27] Generated Node #0,0,0: 30:[49, 27] Operation: 32-5=27 Exploring Operation: 49-5=44, Resulting Numbers: [32, 44] Generated Node #0,0,1: 30:[32, 44] Operation: 49-5=44 Exploring Operation: 49-32=17, Resulting Numbers: [5, 17] Generated Node #0,0,2: 30:[5, 17] Operation: 49-32=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[5, 17], Operations: ['53-21=32', '49-32=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,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:[32, 44], Operations: ['53-21=32', '49-5=44'] Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,30 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,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:[49, 27], Operations: ['53-21=32', '32-5=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,30 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,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:[53, 5, 28], Operations: ['49-21=28'] Exploring Operation: 5+28=33, Resulting Numbers: [53, 33] Generated Node #0,1,0: 30:[53, 33] Operation: 5+28=33 Exploring Operation: 53-5=48, Resulting Numbers: [28, 48] Generated Node #0,1,1: 30:[28, 48] Operation: 53-5=48 Exploring Operation: 53-28=25, Resulting Numbers: [5, 25] Generated Node #0,1,2: 30:[5, 25] Operation: 53-28=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[5, 25], Operations: ['49-21=28', '53-28=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[53, 5, 49, 21], Operations: [] Exploring Operation: 49-21=28, Resulting Numbers: [53, 5, 28] Generated Node #0,1: 30:[53, 5, 28] Operation: 49-21=28 Moving to Node #0,1 Current State: 30:[53, 5, 28], Operations: ['49-21=28'] Exploring Operation: 53-28=25, Resulting Numbers: [5, 25] Generated Node #0,1,2: 30:[5, 25] Operation: 53-28=25 Moving to Node #0,1,2 Current State: 30:[5, 25], Operations: ['49-21=28', '53-28=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 5, 72, 36, 40 ]
71
[ "72-5=67", "40-36=4", "67+4=71" ]
Current State: 71:[5, 72, 36, 40], Operations: [] Exploring Operation: 72-5=67, Resulting Numbers: [36, 40, 67] Generated Node #2: [36, 40, 67] from Operation: 72-5=67 Current State: 71:[36, 40, 67], Operations: ['72-5=67'] Exploring Operation: 40-36=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 40-36=4 Current State: 71:[67, 4], Operations: ['72-5=67', '40-36=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[5, 72, 36, 40], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [72, 40, 41] Generated Node #0,0: 71:[72, 40, 41] Operation: 5+36=41 Exploring Operation: 5+40=45, Resulting Numbers: [72, 36, 45] Generated Node #0,1: 71:[72, 36, 45] Operation: 5+40=45 Exploring Operation: 72-5=67, Resulting Numbers: [36, 40, 67] Generated Node #0,2: 71:[36, 40, 67] Operation: 72-5=67 Moving to Node #0,0 Current State: 71:[72, 40, 41], Operations: ['5+36=41'] Exploring Operation: 72-40=32, Resulting Numbers: [41, 32] Generated Node #0,0,0: 71:[41, 32] Operation: 72-40=32 Exploring Operation: 40+41=81, Resulting Numbers: [72, 81] Generated Node #0,0,1: 71:[72, 81] Operation: 40+41=81 Exploring Operation: 72+40=112, Resulting Numbers: [41, 112] Generated Node #0,0,2: 71:[41, 112] Operation: 72+40=112 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[72, 81], Operations: ['5+36=41', '40+41=81'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 72+81=153, Resulting Numbers: [153] 153,71 unequal: No Solution Exploring Operation: 72*81=5832, Resulting Numbers: [5832] 5832,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[41, 32], Operations: ['5+36=41', '72-40=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,71 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[41, 112], Operations: ['5+36=41', '72+40=112'] Exploring Operation: 41+112=153, Resulting Numbers: [153] 153,71 unequal: No Solution Exploring Operation: 41*112=4592, Resulting Numbers: [4592] 4592,71 unequal: No Solution Exploring Operation: 112-41=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[5, 72, 36, 40], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [72, 40, 41] Generated Node #0,0: 71:[72, 40, 41] Operation: 5+36=41 Moving to Node #0,0 Current State: 71:[72, 40, 41], Operations: ['5+36=41'] Exploring Operation: 72+40=112, Resulting Numbers: [41, 112] Generated Node #0,0,2: 71:[41, 112] Operation: 72+40=112 Moving to Node #0,0,2 Current State: 71:[41, 112], Operations: ['5+36=41', '72+40=112'] Exploring Operation: 112-41=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 60, 45, 70, 44 ]
37
[ "45*44=1980", "1980/60=33", "70-33=37" ]
Current State: 37:[60, 45, 70, 44], Operations: [] Exploring Operation: 45*44=1980, Resulting Numbers: [60, 70, 1980] Generated Node #2: [60, 70, 1980] from Operation: 45*44=1980 Current State: 37:[60, 70, 1980], Operations: ['45*44=1980'] Exploring Operation: 1980/60=33, Resulting Numbers: [70, 33] Generated Node #3: [70, 33] from Operation: 1980/60=33 Current State: 37:[70, 33], Operations: ['45*44=1980', '1980/60=33'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[60, 45, 70, 44], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [45, 70, 16] Generated Node #0,0: 37:[45, 70, 16] Operation: 60-44=16 Exploring Operation: 70-60=10, Resulting Numbers: [45, 44, 10] Generated Node #0,1: 37:[45, 44, 10] Operation: 70-60=10 Exploring Operation: 70-45=25, Resulting Numbers: [60, 44, 25] Generated Node #0,2: 37:[60, 44, 25] Operation: 70-45=25 Exploring Operation: 60-45=15, Resulting Numbers: [70, 44, 15] Generated Node #0,3: 37:[70, 44, 15] Operation: 60-45=15 Exploring Operation: 70-44=26, Resulting Numbers: [60, 45, 26] Generated Node #0,4: 37:[60, 45, 26] Operation: 70-44=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[45, 44, 10], Operations: ['70-60=10'] Exploring Operation: 44-10=34, Resulting Numbers: [45, 34] Generated Node #0,1,0: 37:[45, 34] Operation: 44-10=34 Exploring Operation: 45+10=55, Resulting Numbers: [44, 55] Generated Node #0,1,1: 37:[44, 55] Operation: 45+10=55 Exploring Operation: 44+10=54, Resulting Numbers: [45, 54] Generated Node #0,1,2: 37:[45, 54] Operation: 44+10=54 Exploring Operation: 45-10=35, Resulting Numbers: [44, 35] Generated Node #0,1,3: 37:[44, 35] Operation: 45-10=35 Exploring Operation: 45-44=1, Resulting Numbers: [10, 1] Generated Node #0,1,4: 37:[10, 1] Operation: 45-44=1 Moving to Node #0,1,3 Current State: 37:[44, 35], Operations: ['70-60=10', '45-10=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,37 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[45, 34], Operations: ['70-60=10', '44-10=34'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,37 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[44, 55], Operations: ['70-60=10', '45+10=55'] Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,37 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[45, 54], Operations: ['70-60=10', '44+10=54'] Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,37 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[10, 1], Operations: ['70-60=10', '45-44=1'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[60, 44, 25], Operations: ['70-45=25'] Exploring Operation: 60+25=85, Resulting Numbers: [44, 85] Generated Node #0,2,0: 37:[44, 85] Operation: 60+25=85 Exploring Operation: 44+25=69, Resulting Numbers: [60, 69] Generated Node #0,2,1: 37:[60, 69] Operation: 44+25=69 Exploring Operation: 60-25=35, Resulting Numbers: [44, 35] Generated Node #0,2,2: 37:[44, 35] Operation: 60-25=35 Exploring Operation: 44-25=19, Resulting Numbers: [60, 19] Generated Node #0,2,3: 37:[60, 19] Operation: 44-25=19 Exploring Operation: 60-44=16, Resulting Numbers: [25, 16] Generated Node #0,2,4: 37:[25, 16] Operation: 60-44=16 Moving to Node #0,2,2 Current State: 37:[44, 35], Operations: ['70-45=25', '60-25=35'] Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,37 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,37 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,2,4 Current State: 37:[25, 16], Operations: ['70-45=25', '60-44=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[60, 19], Operations: ['70-45=25', '44-25=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,37 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,37 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[44, 85], Operations: ['70-45=25', '60+25=85'] Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 44*85=3740, Resulting Numbers: [3740] 3740,37 unequal: No Solution Exploring Operation: 44+85=129, Resulting Numbers: [129] 129,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[60, 69], Operations: ['70-45=25', '44+25=69'] Exploring Operation: 60*69=4140, Resulting Numbers: [4140] 4140,37 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 60+69=129, Resulting Numbers: [129] 129,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 37:[60, 45, 26], Operations: ['70-44=26'] Exploring Operation: 60-26=34, Resulting Numbers: [45, 34] Generated Node #0,4,0: 37:[45, 34] Operation: 60-26=34 Exploring Operation: 45-26=19, Resulting Numbers: [60, 19] Generated Node #0,4,1: 37:[60, 19] Operation: 45-26=19 Exploring Operation: 60-45=15, Resulting Numbers: [26, 15] Generated Node #0,4,2: 37:[26, 15] Operation: 60-45=15 Exploring Operation: 60+26=86, Resulting Numbers: [45, 86] Generated Node #0,4,3: 37:[45, 86] Operation: 60+26=86 Exploring Operation: 45+26=71, Resulting Numbers: [60, 71] Generated Node #0,4,4: 37:[60, 71] Operation: 45+26=71 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 37:[45, 34], Operations: ['70-44=26', '60-26=34'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,37 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 37:[26, 15], Operations: ['70-44=26', '60-45=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,37 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 37:[60, 19], Operations: ['70-44=26', '45-26=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,37 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 37:[45, 86], Operations: ['70-44=26', '60+26=86'] Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 45*86=3870, Resulting Numbers: [3870] 3870,37 unequal: No Solution Exploring Operation: 45+86=131, Resulting Numbers: [131] 131,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 37:[60, 71], Operations: ['70-44=26', '45+26=71'] Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,37 unequal: No Solution Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,37 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: 37:[45, 70, 16], Operations: ['60-44=16'] Exploring Operation: 70-45=25, Resulting Numbers: [16, 25] Generated Node #0,0,0: 37:[16, 25] Operation: 70-45=25 Exploring Operation: 70-16=54, Resulting Numbers: [45, 54] Generated Node #0,0,1: 37:[45, 54] Operation: 70-16=54 Exploring Operation: 45+16=61, Resulting Numbers: [70, 61] Generated Node #0,0,2: 37:[70, 61] Operation: 45+16=61 Exploring Operation: 70+16=86, Resulting Numbers: [45, 86] Generated Node #0,0,3: 37:[45, 86] Operation: 70+16=86 Exploring Operation: 45-16=29, Resulting Numbers: [70, 29] Generated Node #0,0,4: 37:[70, 29] Operation: 45-16=29 Moving to Node #0,0,1 Current State: 37:[45, 54], Operations: ['60-44=16', '70-16=54'] Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,37 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[16, 25], Operations: ['60-44=16', '70-45=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,37 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[70, 29], Operations: ['60-44=16', '45-16=29'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[70, 61], Operations: ['60-44=16', '45+16=61'] Exploring Operation: 70*61=4270, Resulting Numbers: [4270] 4270,37 unequal: No Solution Exploring Operation: 70+61=131, Resulting Numbers: [131] 131,37 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[45, 86], Operations: ['60-44=16', '70+16=86'] Exploring Operation: 45+86=131, Resulting Numbers: [131] 131,37 unequal: No Solution Exploring Operation: 45*86=3870, Resulting Numbers: [3870] 3870,37 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[70, 44, 15], Operations: ['60-45=15'] Exploring Operation: 70-15=55, Resulting Numbers: [44, 55] Generated Node #0,3,0: 37:[44, 55] Operation: 70-15=55 Exploring Operation: 70-44=26, Resulting Numbers: [15, 26] Generated Node #0,3,1: 37:[15, 26] Operation: 70-44=26 Exploring Operation: 70+15=85, Resulting Numbers: [44, 85] Generated Node #0,3,2: 37:[44, 85] Operation: 70+15=85 Exploring Operation: 44+15=59, Resulting Numbers: [70, 59] Generated Node #0,3,3: 37:[70, 59] Operation: 44+15=59 Exploring Operation: 44-15=29, Resulting Numbers: [70, 29] Generated Node #0,3,4: 37:[70, 29] Operation: 44-15=29 Moving to Node #0,3,0 Current State: 37:[44, 55], Operations: ['60-45=15', '70-15=55'] Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,37 unequal: No Solution Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[15, 26], Operations: ['60-45=15', '70-44=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,37 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,37 unequal: No Solution Moving to Node #0,3,4 Current State: 37:[70, 29], Operations: ['60-45=15', '44-15=29'] Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[44, 85], Operations: ['60-45=15', '70+15=85'] Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 44+85=129, Resulting Numbers: [129] 129,37 unequal: No Solution Exploring Operation: 44*85=3740, Resulting Numbers: [3740] 3740,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[70, 59], Operations: ['60-45=15', '44+15=59'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 70+59=129, Resulting Numbers: [129] 129,37 unequal: No Solution Exploring Operation: 70*59=4130, Resulting Numbers: [4130] 4130,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 49, 47, 39, 75 ]
38
[ "49-47=2", "75-39=36", "2+36=38" ]
Current State: 38:[49, 47, 39, 75], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [39, 75, 2] Generated Node #2: [39, 75, 2] from Operation: 49-47=2 Current State: 38:[39, 75, 2], Operations: ['49-47=2'] Exploring Operation: 75-39=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 75-39=36 Current State: 38:[2, 36], Operations: ['49-47=2', '75-39=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[49, 47, 39, 75], Operations: [] Exploring Operation: 75-47=28, Resulting Numbers: [49, 39, 28] Generated Node #0,0: 38:[49, 39, 28] Operation: 75-47=28 Exploring Operation: 75-49=26, Resulting Numbers: [47, 39, 26] Generated Node #0,1: 38:[47, 39, 26] Operation: 75-49=26 Exploring Operation: 75-39=36, Resulting Numbers: [49, 47, 36] Generated Node #0,2: 38:[49, 47, 36] Operation: 75-39=36 Moving to Node #0,1 Current State: 38:[47, 39, 26], Operations: ['75-49=26'] Exploring Operation: 47-39=8, Resulting Numbers: [26, 8] Generated Node #0,1,0: 38:[26, 8] Operation: 47-39=8 Exploring Operation: 47-26=21, Resulting Numbers: [39, 21] Generated Node #0,1,1: 38:[39, 21] Operation: 47-26=21 Exploring Operation: 39-26=13, Resulting Numbers: [47, 13] Generated Node #0,1,2: 38:[47, 13] Operation: 39-26=13 Moving to Node #0,0 Current State: 38:[49, 39, 28], Operations: ['75-47=28'] Exploring Operation: 39-28=11, Resulting Numbers: [49, 11] Generated Node #0,0,0: 38:[49, 11] Operation: 39-28=11 Exploring Operation: 49-28=21, Resulting Numbers: [39, 21] Generated Node #0,0,1: 38:[39, 21] Operation: 49-28=21 Exploring Operation: 49-39=10, Resulting Numbers: [28, 10] Generated Node #0,0,2: 38:[28, 10] Operation: 49-39=10 Moving to Node #0,2 Current State: 38:[49, 47, 36], Operations: ['75-39=36'] Exploring Operation: 49-36=13, Resulting Numbers: [47, 13] Generated Node #0,2,0: 38:[47, 13] Operation: 49-36=13 Exploring Operation: 47-36=11, Resulting Numbers: [49, 11] Generated Node #0,2,1: 38:[49, 11] Operation: 47-36=11 Exploring Operation: 49-47=2, Resulting Numbers: [36, 2] Generated Node #0,2,2: 38:[36, 2] Operation: 49-47=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[36, 2], Operations: ['75-39=36', '49-47=2'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[49, 47, 39, 75], Operations: [] Exploring Operation: 75-39=36, Resulting Numbers: [49, 47, 36] Generated Node #0,2: 38:[49, 47, 36] Operation: 75-39=36 Moving to Node #0,2 Current State: 38:[49, 47, 36], Operations: ['75-39=36'] Exploring Operation: 49-47=2, Resulting Numbers: [36, 2] Generated Node #0,2,2: 38:[36, 2] Operation: 49-47=2 Moving to Node #0,2,2 Current State: 38:[36, 2], Operations: ['75-39=36', '49-47=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 1, 77, 3, 91 ]
42
[ "1*77=77", "91-77=14", "3*14=42" ]
Current State: 42:[1, 77, 3, 91], Operations: [] Exploring Operation: 1*77=77, Resulting Numbers: [3, 91, 77] Generated Node #2: [3, 91, 77] from Operation: 1*77=77 Current State: 42:[3, 91, 77], Operations: ['1*77=77'] Exploring Operation: 91-77=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 91-77=14 Current State: 42:[3, 14], Operations: ['1*77=77', '91-77=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[1, 77, 3, 91], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [1, 3, 14] Generated Node #0,0: 42:[1, 3, 14] Operation: 91-77=14 Exploring Operation: 77-3=74, Resulting Numbers: [1, 91, 74] Generated Node #0,1: 42:[1, 91, 74] Operation: 77-3=74 Moving to Node #0,0 Current State: 42:[1, 3, 14], Operations: ['91-77=14'] Exploring Operation: 1*3=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 42:[14, 3] Operation: 1*3=3 Exploring Operation: 3-1=2, Resulting Numbers: [14, 2] Generated Node #0,0,1: 42:[14, 2] Operation: 3-1=2 Moving to Node #0,1 Current State: 42:[1, 91, 74], Operations: ['77-3=74'] Exploring Operation: 91-74=17, Resulting Numbers: [1, 17] Generated Node #0,1,0: 42:[1, 17] Operation: 91-74=17 Exploring Operation: 91-1=90, Resulting Numbers: [74, 90] Generated Node #0,1,1: 42:[74, 90] Operation: 91-1=90 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[1, 17], Operations: ['77-3=74', '91-74=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[74, 90], Operations: ['77-3=74', '91-1=90'] Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 74+90=164, Resulting Numbers: [164] 164,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 42:[14, 3], Operations: ['91-77=14', '1*3=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[1, 77, 3, 91], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [1, 3, 14] Generated Node #0,0: 42:[1, 3, 14] Operation: 91-77=14 Moving to Node #0,0 Current State: 42:[1, 3, 14], Operations: ['91-77=14'] Exploring Operation: 1*3=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 42:[14, 3] Operation: 1*3=3 Moving to Node #0,0,0 Current State: 42:[14, 3], Operations: ['91-77=14', '1*3=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 43, 86, 85, 96 ]
22
[ "86/43=2", "96-85=11", "2*11=22" ]
Current State: 22:[43, 86, 85, 96], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [85, 96, 2] Generated Node #2: [85, 96, 2] from Operation: 86/43=2 Current State: 22:[85, 96, 2], Operations: ['86/43=2'] Exploring Operation: 96-85=11, Resulting Numbers: [2, 11] Generated Node #3: [2, 11] from Operation: 96-85=11 Current State: 22:[2, 11], Operations: ['86/43=2', '96-85=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[43, 86, 85, 96], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [43, 86, 11] Generated Node #0,0: 22:[43, 86, 11] Operation: 96-85=11 Exploring Operation: 86/43=2, Resulting Numbers: [85, 96, 2] Generated Node #0,1: 22:[85, 96, 2] Operation: 86/43=2 Exploring Operation: 96-86=10, Resulting Numbers: [43, 85, 10] Generated Node #0,2: 22:[43, 85, 10] Operation: 96-86=10 Exploring Operation: 86-43=43, Resulting Numbers: [85, 96, 43] Generated Node #0,3: 22:[85, 96, 43] Operation: 86-43=43 Exploring Operation: 86-85=1, Resulting Numbers: [43, 96, 1] Generated Node #0,4: 22:[43, 96, 1] Operation: 86-85=1 Moving to Node #0,0 Current State: 22:[43, 86, 11], Operations: ['96-85=11'] Exploring Operation: 86-11=75, Resulting Numbers: [43, 75] Generated Node #0,0,0: 22:[43, 75] Operation: 86-11=75 Exploring Operation: 43-11=32, Resulting Numbers: [86, 32] Generated Node #0,0,1: 22:[86, 32] Operation: 43-11=32 Exploring Operation: 86-43=43, Resulting Numbers: [11, 43] Generated Node #0,0,2: 22:[11, 43] Operation: 86-43=43 Exploring Operation: 43+11=54, Resulting Numbers: [86, 54] Generated Node #0,0,3: 22:[86, 54] Operation: 43+11=54 Exploring Operation: 86/43=2, Resulting Numbers: [11, 2] Generated Node #0,0,4: 22:[11, 2] Operation: 86/43=2 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 22:[11, 2], Operations: ['96-85=11', '86/43=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[43, 86, 85, 96], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [43, 86, 11] Generated Node #0,0: 22:[43, 86, 11] Operation: 96-85=11 Moving to Node #0,0 Current State: 22:[43, 86, 11], Operations: ['96-85=11'] Exploring Operation: 86/43=2, Resulting Numbers: [11, 2] Generated Node #0,0,4: 22:[11, 2] Operation: 86/43=2 Moving to Node #0,0,4 Current State: 22:[11, 2], Operations: ['96-85=11', '86/43=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 84, 97, 45, 47 ]
79
[ "97-84=13", "45+47=92", "92-13=79" ]
Current State: 79:[84, 97, 45, 47], Operations: [] Exploring Operation: 97-84=13, Resulting Numbers: [45, 47, 13] Generated Node #2: [45, 47, 13] from Operation: 97-84=13 Current State: 79:[45, 47, 13], Operations: ['97-84=13'] Exploring Operation: 45+47=92, Resulting Numbers: [13, 92] Generated Node #3: [13, 92] from Operation: 45+47=92 Current State: 79:[13, 92], Operations: ['97-84=13', '45+47=92'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[84, 97, 45, 47], Operations: [] Exploring Operation: 97-45=52, Resulting Numbers: [84, 47, 52] Generated Node #0,0: 79:[84, 47, 52] Operation: 97-45=52 Exploring Operation: 45+47=92, Resulting Numbers: [84, 97, 92] Generated Node #0,1: 79:[84, 97, 92] Operation: 45+47=92 Moving to Node #0,1 Current State: 79:[84, 97, 92], Operations: ['45+47=92'] Exploring Operation: 97-92=5, Resulting Numbers: [84, 5] Generated Node #0,1,0: 79:[84, 5] Operation: 97-92=5 Exploring Operation: 97-84=13, Resulting Numbers: [92, 13] Generated Node #0,1,1: 79:[92, 13] Operation: 97-84=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[84, 5], Operations: ['45+47=92', '97-92=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[84, 97, 45, 47], Operations: [] Exploring Operation: 45+47=92, Resulting Numbers: [84, 97, 92] Generated Node #0,1: 79:[84, 97, 92] Operation: 45+47=92 Moving to Node #0,1 Current State: 79:[84, 97, 92], Operations: ['45+47=92'] Exploring Operation: 97-92=5, Resulting Numbers: [84, 5] Generated Node #0,1,0: 79:[84, 5] Operation: 97-92=5 Moving to Node #0,1,0 Current State: 79:[84, 5], Operations: ['45+47=92', '97-92=5'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 41, 46, 47, 91 ]
39
[ "46-41=5", "91-47=44", "44-5=39" ]
Current State: 39:[41, 46, 47, 91], Operations: [] Exploring Operation: 46-41=5, Resulting Numbers: [47, 91, 5] Generated Node #2: [47, 91, 5] from Operation: 46-41=5 Current State: 39:[47, 91, 5], Operations: ['46-41=5'] Exploring Operation: 91-47=44, Resulting Numbers: [5, 44] Generated Node #3: [5, 44] from Operation: 91-47=44 Current State: 39:[5, 44], Operations: ['46-41=5', '91-47=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[41, 46, 47, 91], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [41, 91, 1] Generated Node #0,0: 39:[41, 91, 1] Operation: 47-46=1 Exploring Operation: 91-46=45, Resulting Numbers: [41, 47, 45] Generated Node #0,1: 39:[41, 47, 45] Operation: 91-46=45 Exploring Operation: 91-41=50, Resulting Numbers: [46, 47, 50] Generated Node #0,2: 39:[46, 47, 50] Operation: 91-41=50 Exploring Operation: 46-41=5, Resulting Numbers: [47, 91, 5] Generated Node #0,3: 39:[47, 91, 5] Operation: 46-41=5 Exploring Operation: 91-47=44, Resulting Numbers: [41, 46, 44] Generated Node #0,4: 39:[41, 46, 44] Operation: 91-47=44 Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[41, 46, 44], Operations: ['91-47=44'] Exploring Operation: 41+44=85, Resulting Numbers: [46, 85] Generated Node #0,4,0: 39:[46, 85] Operation: 41+44=85 Exploring Operation: 46-41=5, Resulting Numbers: [44, 5] Generated Node #0,4,1: 39:[44, 5] Operation: 46-41=5 Exploring Operation: 41+46=87, Resulting Numbers: [44, 87] Generated Node #0,4,2: 39:[44, 87] Operation: 41+46=87 Exploring Operation: 44-41=3, Resulting Numbers: [46, 3] Generated Node #0,4,3: 39:[46, 3] Operation: 44-41=3 Exploring Operation: 46-44=2, Resulting Numbers: [41, 2] Generated Node #0,4,4: 39:[41, 2] Operation: 46-44=2 Moving to Node #0,4,4 Current State: 39:[41, 2], Operations: ['91-47=44', '46-44=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,39 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[41, 46, 47, 91], Operations: [] Exploring Operation: 91-47=44, Resulting Numbers: [41, 46, 44] Generated Node #0,4: 39:[41, 46, 44] Operation: 91-47=44 Moving to Node #0,4 Current State: 39:[41, 46, 44], Operations: ['91-47=44'] Exploring Operation: 46-44=2, Resulting Numbers: [41, 2] Generated Node #0,4,4: 39:[41, 2] Operation: 46-44=2 Moving to Node #0,4,4 Current State: 39:[41, 2], Operations: ['91-47=44', '46-44=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 26, 15, 24, 91 ]
26
[ "26+15=41", "91-24=67", "67-41=26" ]
Current State: 26:[26, 15, 24, 91], Operations: [] Exploring Operation: 26+15=41, Resulting Numbers: [24, 91, 41] Generated Node #2: [24, 91, 41] from Operation: 26+15=41 Current State: 26:[24, 91, 41], Operations: ['26+15=41'] Exploring Operation: 91-24=67, Resulting Numbers: [41, 67] Generated Node #3: [41, 67] from Operation: 91-24=67 Current State: 26:[41, 67], Operations: ['26+15=41', '91-24=67'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[26, 15, 24, 91], Operations: [] Exploring Operation: 26-15=11, Resulting Numbers: [24, 91, 11] Generated Node #0,0: 26:[24, 91, 11] Operation: 26-15=11 Exploring Operation: 91-26=65, Resulting Numbers: [15, 24, 65] Generated Node #0,1: 26:[15, 24, 65] Operation: 91-26=65 Exploring Operation: 91-24=67, Resulting Numbers: [26, 15, 67] Generated Node #0,2: 26:[26, 15, 67] Operation: 91-24=67 Exploring Operation: 91-15=76, Resulting Numbers: [26, 24, 76] Generated Node #0,3: 26:[26, 24, 76] Operation: 91-15=76 Exploring Operation: 26-24=2, Resulting Numbers: [15, 91, 2] Generated Node #0,4: 26:[15, 91, 2] Operation: 26-24=2 Moving to Node #0,1 Current State: 26:[15, 24, 65], Operations: ['91-26=65'] Exploring Operation: 24-15=9, Resulting Numbers: [65, 9] Generated Node #0,1,0: 26:[65, 9] Operation: 24-15=9 Exploring Operation: 65-15=50, Resulting Numbers: [24, 50] Generated Node #0,1,1: 26:[24, 50] Operation: 65-15=50 Exploring Operation: 65-24=41, Resulting Numbers: [15, 41] Generated Node #0,1,2: 26:[15, 41] Operation: 65-24=41 Exploring Operation: 15+65=80, Resulting Numbers: [24, 80] Generated Node #0,1,3: 26:[24, 80] Operation: 15+65=80 Exploring Operation: 15+24=39, Resulting Numbers: [65, 39] Generated Node #0,1,4: 26:[65, 39] Operation: 15+24=39 Moving to Node #0,2 Current State: 26:[26, 15, 67], Operations: ['91-24=67'] Exploring Operation: 67-15=52, Resulting Numbers: [26, 52] Generated Node #0,2,0: 26:[26, 52] Operation: 67-15=52 Exploring Operation: 67-26=41, Resulting Numbers: [15, 41] Generated Node #0,2,1: 26:[15, 41] Operation: 67-26=41 Exploring Operation: 15+67=82, Resulting Numbers: [26, 82] Generated Node #0,2,2: 26:[26, 82] Operation: 15+67=82 Exploring Operation: 26+15=41, Resulting Numbers: [67, 41] Generated Node #0,2,3: 26:[67, 41] Operation: 26+15=41 Exploring Operation: 26-15=11, Resulting Numbers: [67, 11] Generated Node #0,2,4: 26:[67, 11] Operation: 26-15=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[15, 41], Operations: ['91-24=67', '67-26=41'] Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,26 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[26, 15, 24, 91], Operations: [] Exploring Operation: 91-24=67, Resulting Numbers: [26, 15, 67] Generated Node #0,2: 26:[26, 15, 67] Operation: 91-24=67 Moving to Node #0,2 Current State: 26:[26, 15, 67], Operations: ['91-24=67'] Exploring Operation: 67-26=41, Resulting Numbers: [15, 41] Generated Node #0,2,1: 26:[15, 41] Operation: 67-26=41 Moving to Node #0,2,1 Current State: 26:[15, 41], Operations: ['91-24=67', '67-26=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 67, 30, 2, 16 ]
67
[ "30/2=15", "16-15=1", "67*1=67" ]
Current State: 67:[67, 30, 2, 16], Operations: [] Exploring Operation: 30/2=15, Resulting Numbers: [67, 16, 15] Generated Node #2: [67, 16, 15] from Operation: 30/2=15 Current State: 67:[67, 16, 15], Operations: ['30/2=15'] Exploring Operation: 16-15=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 16-15=1 Current State: 67:[67, 1], Operations: ['30/2=15', '16-15=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[67, 30, 2, 16], Operations: [] Exploring Operation: 30*2=60, Resulting Numbers: [67, 16, 60] Generated Node #0,0: 67:[67, 16, 60] Operation: 30*2=60 Exploring Operation: 30+16=46, Resulting Numbers: [67, 2, 46] Generated Node #0,1: 67:[67, 2, 46] Operation: 30+16=46 Exploring Operation: 2+16=18, Resulting Numbers: [67, 30, 18] Generated Node #0,2: 67:[67, 30, 18] Operation: 2+16=18 Exploring Operation: 2*16=32, Resulting Numbers: [67, 30, 32] Generated Node #0,3: 67:[67, 30, 32] Operation: 2*16=32 Exploring Operation: 30+2=32, Resulting Numbers: [67, 16, 32] Generated Node #0,4: 67:[67, 16, 32] Operation: 30+2=32 Moving to Node #0,0 Current State: 67:[67, 16, 60], Operations: ['30*2=60'] Exploring Operation: 16+60=76, Resulting Numbers: [67, 76] Generated Node #0,0,0: 67:[67, 76] Operation: 16+60=76 Exploring Operation: 67+16=83, Resulting Numbers: [60, 83] Generated Node #0,0,1: 67:[60, 83] Operation: 67+16=83 Exploring Operation: 60-16=44, Resulting Numbers: [67, 44] Generated Node #0,0,2: 67:[67, 44] Operation: 60-16=44 Exploring Operation: 67+60=127, Resulting Numbers: [16, 127] Generated Node #0,0,3: 67:[16, 127] Operation: 67+60=127 Exploring Operation: 67-16=51, Resulting Numbers: [60, 51] Generated Node #0,0,4: 67:[60, 51] Operation: 67-16=51 Moving to Node #0,3 Current State: 67:[67, 30, 32], Operations: ['2*16=32'] Exploring Operation: 67+30=97, Resulting Numbers: [32, 97] Generated Node #0,3,0: 67:[32, 97] Operation: 67+30=97 Exploring Operation: 67+32=99, Resulting Numbers: [30, 99] Generated Node #0,3,1: 67:[30, 99] Operation: 67+32=99 Exploring Operation: 30+32=62, Resulting Numbers: [67, 62] Generated Node #0,3,2: 67:[67, 62] Operation: 30+32=62 Exploring Operation: 67-30=37, Resulting Numbers: [32, 37] Generated Node #0,3,3: 67:[32, 37] Operation: 67-30=37 Exploring Operation: 32-30=2, Resulting Numbers: [67, 2] Generated Node #0,3,4: 67:[67, 2] Operation: 32-30=2 Moving to Node #0,1 Current State: 67:[67, 2, 46], Operations: ['30+16=46'] Exploring Operation: 67+2=69, Resulting Numbers: [46, 69] Generated Node #0,1,0: 67:[46, 69] Operation: 67+2=69 Exploring Operation: 46-2=44, Resulting Numbers: [67, 44] Generated Node #0,1,1: 67:[67, 44] Operation: 46-2=44 Exploring Operation: 2*46=92, Resulting Numbers: [67, 92] Generated Node #0,1,2: 67:[67, 92] Operation: 2*46=92 Exploring Operation: 67-2=65, Resulting Numbers: [46, 65] Generated Node #0,1,3: 67:[46, 65] Operation: 67-2=65 Exploring Operation: 2+46=48, Resulting Numbers: [67, 48] Generated Node #0,1,4: 67:[67, 48] Operation: 2+46=48 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 67:[67, 48], Operations: ['30+16=46', '2+46=48'] Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,67 unequal: No Solution Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,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,0 Current State: 67:[46, 69], Operations: ['30+16=46', '67+2=69'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 46*69=3174, Resulting Numbers: [3174] 3174,67 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,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,1 Current State: 67:[67, 44], Operations: ['30+16=46', '46-2=44'] Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 67*44=2948, Resulting Numbers: [2948] 2948,67 unequal: No Solution Exploring Operation: 67+44=111, Resulting Numbers: [111] 111,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,3 Current State: 67:[46, 65], Operations: ['30+16=46', '67-2=65'] Exploring Operation: 46*65=2990, Resulting Numbers: [2990] 2990,67 unequal: No Solution Exploring Operation: 46+65=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,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,2 Current State: 67:[67, 92], Operations: ['30+16=46', '2*46=92'] Exploring Operation: 67*92=6164, Resulting Numbers: [6164] 6164,67 unequal: No Solution Exploring Operation: 92-67=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 67+92=159, Resulting Numbers: [159] 159,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[67, 30, 18], Operations: ['2+16=18'] Exploring Operation: 30+18=48, Resulting Numbers: [67, 48] Generated Node #0,2,0: 67:[67, 48] Operation: 30+18=48 Exploring Operation: 30-18=12, Resulting Numbers: [67, 12] Generated Node #0,2,1: 67:[67, 12] Operation: 30-18=12 Exploring Operation: 67-18=49, Resulting Numbers: [30, 49] Generated Node #0,2,2: 67:[30, 49] Operation: 67-18=49 Exploring Operation: 67+30=97, Resulting Numbers: [18, 97] Generated Node #0,2,3: 67:[18, 97] Operation: 67+30=97 Exploring Operation: 67+18=85, Resulting Numbers: [30, 85] Generated Node #0,2,4: 67:[30, 85] Operation: 67+18=85 Moving to Node #0,4 Current State: 67:[67, 16, 32], Operations: ['30+2=32'] Exploring Operation: 32/16=2, Resulting Numbers: [67, 2] Generated Node #0,4,0: 67:[67, 2] Operation: 32/16=2 Exploring Operation: 67+16=83, Resulting Numbers: [32, 83] Generated Node #0,4,1: 67:[32, 83] Operation: 67+16=83 Exploring Operation: 67-16=51, Resulting Numbers: [32, 51] Generated Node #0,4,2: 67:[32, 51] Operation: 67-16=51 Exploring Operation: 16+32=48, Resulting Numbers: [67, 48] Generated Node #0,4,3: 67:[67, 48] Operation: 16+32=48 Exploring Operation: 32-16=16, Resulting Numbers: [67, 16] Generated Node #0,4,4: 67:[67, 16] Operation: 32-16=16 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 67:[67, 48], Operations: ['30+2=32', '16+32=48'] Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,67 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,67 unequal: No Solution Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,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,4,1 Current State: 67:[32, 83], Operations: ['30+2=32', '67+16=83'] Exploring Operation: 32+83=115, Resulting Numbers: [115] 115,67 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 32*83=2656, Resulting Numbers: [2656] 2656,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,4,2 Current State: 67:[32, 51], Operations: ['30+2=32', '67-16=51'] Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 32*51=1632, Resulting Numbers: [1632] 1632,67 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,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,4,4 Current State: 67:[67, 16], Operations: ['30+2=32', '32-16=16'] Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 67*16=1072, Resulting Numbers: [1072] 1072,67 unequal: No Solution Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,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,4,0 Current State: 67:[67, 2], Operations: ['30+2=32', '32/16=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 67:[67, 62], Operations: ['2*16=32', '30+32=62'] Exploring Operation: 67*62=4154, Resulting Numbers: [4154] 4154,67 unequal: No Solution Exploring Operation: 67+62=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[67, 76], Operations: ['30*2=60', '16+60=76'] Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,67 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,67 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[67, 48], Operations: ['2+16=18', '30+18=48'] Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,67 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,67 unequal: No Solution Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[67, 44], Operations: ['30*2=60', '60-16=44'] Exploring Operation: 67+44=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 67*44=2948, Resulting Numbers: [2948] 2948,67 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[60, 83], Operations: ['30*2=60', '67+16=83'] Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 60+83=143, Resulting Numbers: [143] 143,67 unequal: No Solution Exploring Operation: 60*83=4980, Resulting Numbers: [4980] 4980,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[60, 51], Operations: ['30*2=60', '67-16=51'] Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,67 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[30, 85], Operations: ['2+16=18', '67+18=85'] Exploring Operation: 30+85=115, Resulting Numbers: [115] 115,67 unequal: No Solution Exploring Operation: 30*85=2550, Resulting Numbers: [2550] 2550,67 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[30, 49], Operations: ['2+16=18', '67-18=49'] Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,67 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[67, 12], Operations: ['2+16=18', '30-18=12'] Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,67 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[32, 97], Operations: ['2*16=32', '67+30=97'] Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 32+97=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 32*97=3104, Resulting Numbers: [3104] 3104,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[32, 37], Operations: ['2*16=32', '67-30=37'] Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,67 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[67, 2], Operations: ['2*16=32', '32-30=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,67 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[30, 99], Operations: ['2*16=32', '67+32=99'] Exploring Operation: 30+99=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 30*99=2970, Resulting Numbers: [2970] 2970,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[18, 97], Operations: ['2+16=18', '67+30=97'] Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 18*97=1746, Resulting Numbers: [1746] 1746,67 unequal: No Solution Exploring Operation: 18+97=115, Resulting Numbers: [115] 115,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[16, 127], Operations: ['30*2=60', '67+60=127'] Exploring Operation: 127-16=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 16+127=143, Resulting Numbers: [143] 143,67 unequal: No Solution Exploring Operation: 16*127=2032, Resulting Numbers: [2032] 2032,67 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 4, 88, 39, 80 ]
81
[ "88+80=168", "168/4=42", "39+42=81" ]
Current State: 81:[4, 88, 39, 80], Operations: [] Exploring Operation: 88+80=168, Resulting Numbers: [4, 39, 168] Generated Node #2: [4, 39, 168] from Operation: 88+80=168 Current State: 81:[4, 39, 168], Operations: ['88+80=168'] Exploring Operation: 168/4=42, Resulting Numbers: [39, 42] Generated Node #3: [39, 42] from Operation: 168/4=42 Current State: 81:[39, 42], Operations: ['88+80=168', '168/4=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[4, 88, 39, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [4, 39, 8] Generated Node #0,0: 81:[4, 39, 8] Operation: 88-80=8 Exploring Operation: 88-4=84, Resulting Numbers: [39, 80, 84] Generated Node #0,1: 81:[39, 80, 84] Operation: 88-4=84 Exploring Operation: 88/4=22, Resulting Numbers: [39, 80, 22] Generated Node #0,2: 81:[39, 80, 22] Operation: 88/4=22 Exploring Operation: 39-4=35, Resulting Numbers: [88, 80, 35] Generated Node #0,3: 81:[88, 80, 35] Operation: 39-4=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[4, 39, 8], Operations: ['88-80=8'] Exploring Operation: 39-8=31, Resulting Numbers: [4, 31] Generated Node #0,0,0: 81:[4, 31] Operation: 39-8=31 Exploring Operation: 8/4=2, Resulting Numbers: [39, 2] Generated Node #0,0,1: 81:[39, 2] Operation: 8/4=2 Exploring Operation: 39-4=35, Resulting Numbers: [8, 35] Generated Node #0,0,2: 81:[8, 35] Operation: 39-4=35 Exploring Operation: 8-4=4, Resulting Numbers: [39, 4] Generated Node #0,0,3: 81:[39, 4] Operation: 8-4=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[4, 31], Operations: ['88-80=8', '39-8=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,81 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[8, 35], Operations: ['88-80=8', '39-4=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,81 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[39, 2], Operations: ['88-80=8', '8/4=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 81:[39, 4], Operations: ['88-80=8', '8-4=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,81 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[39, 80, 84], Operations: ['88-4=84'] Exploring Operation: 39+80=119, Resulting Numbers: [84, 119] Generated Node #0,1,0: 81:[84, 119] Operation: 39+80=119 Exploring Operation: 84-80=4, Resulting Numbers: [39, 4] Generated Node #0,1,1: 81:[39, 4] Operation: 84-80=4 Exploring Operation: 84-39=45, Resulting Numbers: [80, 45] Generated Node #0,1,2: 81:[80, 45] Operation: 84-39=45 Exploring Operation: 80-39=41, Resulting Numbers: [84, 41] Generated Node #0,1,3: 81:[84, 41] Operation: 80-39=41 Moving to Node #0,1,1 Current State: 81:[39, 4], Operations: ['88-4=84', '84-80=4'] Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,81 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[84, 41], Operations: ['88-4=84', '80-39=41'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,81 unequal: No Solution Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[80, 45], Operations: ['88-4=84', '84-39=45'] Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,81 unequal: No Solution Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,81 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[84, 119], Operations: ['88-4=84', '39+80=119'] Exploring Operation: 119-84=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 84+119=203, Resulting Numbers: [203] 203,81 unequal: No Solution Exploring Operation: 84*119=9996, Resulting Numbers: [9996] 9996,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[88, 80, 35], Operations: ['39-4=35'] Exploring Operation: 88-35=53, Resulting Numbers: [80, 53] Generated Node #0,3,0: 81:[80, 53] Operation: 88-35=53 Exploring Operation: 80-35=45, Resulting Numbers: [88, 45] Generated Node #0,3,1: 81:[88, 45] Operation: 80-35=45 Exploring Operation: 80+35=115, Resulting Numbers: [88, 115] Generated Node #0,3,2: 81:[88, 115] Operation: 80+35=115 Exploring Operation: 88-80=8, Resulting Numbers: [35, 8] Generated Node #0,3,3: 81:[35, 8] Operation: 88-80=8 Moving to Node #0,3,3 Current State: 81:[35, 8], Operations: ['39-4=35', '88-80=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,81 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[88, 45], Operations: ['39-4=35', '80-35=45'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 88*45=3960, Resulting Numbers: [3960] 3960,81 unequal: No Solution Exploring Operation: 88+45=133, Resulting Numbers: [133] 133,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[80, 53], Operations: ['39-4=35', '88-35=53'] Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,81 unequal: No Solution Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[88, 115], Operations: ['39-4=35', '80+35=115'] Exploring Operation: 88*115=10120, Resulting Numbers: [10120] 10120,81 unequal: No Solution Exploring Operation: 115-88=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 88+115=203, Resulting Numbers: [203] 203,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[39, 80, 22], Operations: ['88/4=22'] Exploring Operation: 80-39=41, Resulting Numbers: [22, 41] Generated Node #0,2,0: 81:[22, 41] Operation: 80-39=41 Exploring Operation: 39+22=61, Resulting Numbers: [80, 61] Generated Node #0,2,1: 81:[80, 61] Operation: 39+22=61 Exploring Operation: 80+22=102, Resulting Numbers: [39, 102] Generated Node #0,2,2: 81:[39, 102] Operation: 80+22=102 Exploring Operation: 39-22=17, Resulting Numbers: [80, 17] Generated Node #0,2,3: 81:[80, 17] Operation: 39-22=17 Moving to Node #0,2,3 Current State: 81:[80, 17], Operations: ['88/4=22', '39-22=17'] Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,81 unequal: No Solution Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,81 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[22, 41], Operations: ['88/4=22', '80-39=41'] Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,81 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,81 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[80, 61], Operations: ['88/4=22', '39+22=61'] Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,81 unequal: No Solution Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[39, 102], Operations: ['88/4=22', '80+22=102'] Exploring Operation: 39*102=3978, Resulting Numbers: [3978] 3978,81 unequal: No Solution Exploring Operation: 102-39=63, Resulting Numbers: [63] 63,81 unequal: No Solution Exploring Operation: 39+102=141, Resulting Numbers: [141] 141,81 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
[ 97, 74, 74, 27 ]
69
[ "97-27=70", "74/74=1", "70-1=69" ]
Current State: 69:[97, 74, 74, 27], Operations: [] Exploring Operation: 97-27=70, Resulting Numbers: [74, 74, 70] Generated Node #2: [74, 74, 70] from Operation: 97-27=70 Current State: 69:[74, 74, 70], Operations: ['97-27=70'] Exploring Operation: 74/74=1, Resulting Numbers: [70, 1] Generated Node #3: [70, 1] from Operation: 74/74=1 Current State: 69:[70, 1], Operations: ['97-27=70', '74/74=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[97, 74, 74, 27], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [74, 27, 23] Generated Node #0,0: 69:[74, 27, 23] Operation: 97-74=23 Exploring Operation: 74/74=1, Resulting Numbers: [97, 27, 1] Generated Node #0,1: 69:[97, 27, 1] Operation: 74/74=1 Exploring Operation: 74-74=0, Resulting Numbers: [97, 27, 0] Generated Node #0,2: 69:[97, 27, 0] Operation: 74-74=0 Exploring Operation: 97-74=23, Resulting Numbers: [74, 27, 23] Generated Node #0,3: 69:[74, 27, 23] Operation: 97-74=23 Exploring Operation: 97-27=70, Resulting Numbers: [74, 74, 70] Generated Node #0,4: 69:[74, 74, 70] Operation: 97-27=70 Moving to Node #0,0 Current State: 69:[74, 27, 23], Operations: ['97-74=23'] Exploring Operation: 27-23=4, Resulting Numbers: [74, 4] Generated Node #0,0,0: 69:[74, 4] Operation: 27-23=4 Exploring Operation: 74-23=51, Resulting Numbers: [27, 51] Generated Node #0,0,1: 69:[27, 51] Operation: 74-23=51 Exploring Operation: 27+23=50, Resulting Numbers: [74, 50] Generated Node #0,0,2: 69:[74, 50] Operation: 27+23=50 Exploring Operation: 74+27=101, Resulting Numbers: [23, 101] Generated Node #0,0,3: 69:[23, 101] Operation: 74+27=101 Exploring Operation: 74-27=47, Resulting Numbers: [23, 47] Generated Node #0,0,4: 69:[23, 47] Operation: 74-27=47 Moving to Node #0,3 Current State: 69:[74, 27, 23], Operations: ['97-74=23'] Exploring Operation: 74+27=101, Resulting Numbers: [23, 101] Generated Node #0,3,0: 69:[23, 101] Operation: 74+27=101 Exploring Operation: 74-27=47, Resulting Numbers: [23, 47] Generated Node #0,3,1: 69:[23, 47] Operation: 74-27=47 Exploring Operation: 27+23=50, Resulting Numbers: [74, 50] Generated Node #0,3,2: 69:[74, 50] Operation: 27+23=50 Exploring Operation: 27-23=4, Resulting Numbers: [74, 4] Generated Node #0,3,3: 69:[74, 4] Operation: 27-23=4 Exploring Operation: 74-23=51, Resulting Numbers: [27, 51] Generated Node #0,3,4: 69:[27, 51] Operation: 74-23=51 Moving to Node #0,4 Current State: 69:[74, 74, 70], Operations: ['97-27=70'] Exploring Operation: 74/74=1, Resulting Numbers: [70, 1] Generated Node #0,4,0: 69:[70, 1] Operation: 74/74=1 Exploring Operation: 74-70=4, Resulting Numbers: [74, 4] Generated Node #0,4,1: 69:[74, 4] Operation: 74-70=4 Exploring Operation: 74-70=4, Resulting Numbers: [74, 4] Generated Node #0,4,2: 69:[74, 4] Operation: 74-70=4 Exploring Operation: 74-74=0, Resulting Numbers: [70, 0] Generated Node #0,4,3: 69:[70, 0] Operation: 74-74=0 Exploring Operation: 74+74=148, Resulting Numbers: [70, 148] Generated Node #0,4,4: 69:[70, 148] Operation: 74+74=148 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 69:[70, 1], Operations: ['97-27=70', '74/74=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[97, 74, 74, 27], Operations: [] Exploring Operation: 97-27=70, Resulting Numbers: [74, 74, 70] Generated Node #0,4: 69:[74, 74, 70] Operation: 97-27=70 Moving to Node #0,4 Current State: 69:[74, 74, 70], Operations: ['97-27=70'] Exploring Operation: 74/74=1, Resulting Numbers: [70, 1] Generated Node #0,4,0: 69:[70, 1] Operation: 74/74=1 Moving to Node #0,4,0 Current State: 69:[70, 1], Operations: ['97-27=70', '74/74=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 82, 26, 30, 12 ]
24
[ "82-30=52", "52/26=2", "12*2=24" ]
Current State: 24:[82, 26, 30, 12], Operations: [] Exploring Operation: 82-30=52, Resulting Numbers: [26, 12, 52] Generated Node #2: [26, 12, 52] from Operation: 82-30=52 Current State: 24:[26, 12, 52], Operations: ['82-30=52'] Exploring Operation: 52/26=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 52/26=2 Current State: 24:[12, 2], Operations: ['82-30=52', '52/26=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[82, 26, 30, 12], Operations: [] Exploring Operation: 82-12=70, Resulting Numbers: [26, 30, 70] Generated Node #0,0: 24:[26, 30, 70] Operation: 82-12=70 Exploring Operation: 30-26=4, Resulting Numbers: [82, 12, 4] Generated Node #0,1: 24:[82, 12, 4] Operation: 30-26=4 Exploring Operation: 82-26=56, Resulting Numbers: [30, 12, 56] Generated Node #0,2: 24:[30, 12, 56] Operation: 82-26=56 Exploring Operation: 82-30=52, Resulting Numbers: [26, 12, 52] Generated Node #0,3: 24:[26, 12, 52] Operation: 82-30=52 Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[26, 12, 52], Operations: ['82-30=52'] Exploring Operation: 52/26=2, Resulting Numbers: [12, 2] Generated Node #0,3,0: 24:[12, 2] Operation: 52/26=2 Exploring Operation: 52-12=40, Resulting Numbers: [26, 40] Generated Node #0,3,1: 24:[26, 40] Operation: 52-12=40 Exploring Operation: 52-26=26, Resulting Numbers: [12, 26] Generated Node #0,3,2: 24:[12, 26] Operation: 52-26=26 Exploring Operation: 26-12=14, Resulting Numbers: [52, 14] Generated Node #0,3,3: 24:[52, 14] Operation: 26-12=14 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 24:[12, 2], Operations: ['82-30=52', '52/26=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[82, 26, 30, 12], Operations: [] Exploring Operation: 82-30=52, Resulting Numbers: [26, 12, 52] Generated Node #0,3: 24:[26, 12, 52] Operation: 82-30=52 Moving to Node #0,3 Current State: 24:[26, 12, 52], Operations: ['82-30=52'] Exploring Operation: 52/26=2, Resulting Numbers: [12, 2] Generated Node #0,3,0: 24:[12, 2] Operation: 52/26=2 Moving to Node #0,3,0 Current State: 24:[12, 2], Operations: ['82-30=52', '52/26=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 73, 93, 78, 5 ]
22
[ "93-73=20", "5*20=100", "100-78=22" ]
Current State: 22:[73, 93, 78, 5], Operations: [] Exploring Operation: 93-73=20, Resulting Numbers: [78, 5, 20] Generated Node #2: [78, 5, 20] from Operation: 93-73=20 Current State: 22:[78, 5, 20], Operations: ['93-73=20'] Exploring Operation: 5*20=100, Resulting Numbers: [78, 100] Generated Node #3: [78, 100] from Operation: 5*20=100 Current State: 22:[78, 100], Operations: ['93-73=20', '5*20=100'] Exploring Operation: 100-78=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[73, 93, 78, 5], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [73, 5, 15] Generated Node #0,0: 22:[73, 5, 15] Operation: 93-78=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[73, 5, 15], Operations: ['93-78=15'] Exploring Operation: 73-15=58, Resulting Numbers: [5, 58] Generated Node #0,0,0: 22:[5, 58] Operation: 73-15=58 Moving to Node #0,0,0 Current State: 22:[5, 58], Operations: ['93-78=15', '73-15=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,22 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
[ 8, 1, 97, 82 ]
22
[ "8-1=7", "97-82=15", "7+15=22" ]
Current State: 22:[8, 1, 97, 82], Operations: [] Exploring Operation: 8-1=7, Resulting Numbers: [97, 82, 7] Generated Node #2: [97, 82, 7] from Operation: 8-1=7 Current State: 22:[97, 82, 7], Operations: ['8-1=7'] Exploring Operation: 97-82=15, Resulting Numbers: [7, 15] Generated Node #3: [7, 15] from Operation: 97-82=15 Current State: 22:[7, 15], Operations: ['8-1=7', '97-82=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 1, 97, 82], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [1, 97, 74] Generated Node #0,0: 22:[1, 97, 74] Operation: 82-8=74 Exploring Operation: 97-82=15, Resulting Numbers: [8, 1, 15] Generated Node #0,1: 22:[8, 1, 15] Operation: 97-82=15 Exploring Operation: 97-8=89, Resulting Numbers: [1, 82, 89] Generated Node #0,2: 22:[1, 82, 89] Operation: 97-8=89 Moving to Node #0,1 Current State: 22:[8, 1, 15], Operations: ['97-82=15'] Exploring Operation: 15-8=7, Resulting Numbers: [1, 7] Generated Node #0,1,0: 22:[1, 7] Operation: 15-8=7 Exploring Operation: 8+15=23, Resulting Numbers: [1, 23] Generated Node #0,1,1: 22:[1, 23] Operation: 8+15=23 Exploring Operation: 8+1=9, Resulting Numbers: [15, 9] Generated Node #0,1,2: 22:[15, 9] Operation: 8+1=9 Moving to Node #0,0 Current State: 22:[1, 97, 74], Operations: ['82-8=74'] Exploring Operation: 97-74=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 22:[1, 23] Operation: 97-74=23 Exploring Operation: 74-1=73, Resulting Numbers: [97, 73] Generated Node #0,0,1: 22:[97, 73] Operation: 74-1=73 Exploring Operation: 97-1=96, Resulting Numbers: [74, 96] Generated Node #0,0,2: 22:[74, 96] Operation: 97-1=96 Moving to Node #0,2 Current State: 22:[1, 82, 89], Operations: ['97-8=89'] Exploring Operation: 89-82=7, Resulting Numbers: [1, 7] Generated Node #0,2,0: 22:[1, 7] Operation: 89-82=7 Exploring Operation: 89-1=88, Resulting Numbers: [82, 88] Generated Node #0,2,1: 22:[82, 88] Operation: 89-1=88 Exploring Operation: 82-1=81, Resulting Numbers: [89, 81] Generated Node #0,2,2: 22:[89, 81] Operation: 82-1=81 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[1, 7], Operations: ['97-8=89', '89-82=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,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:[82, 88], Operations: ['97-8=89', '89-1=88'] Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,22 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,22 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,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,2 Current State: 22:[89, 81], Operations: ['97-8=89', '82-1=81'] Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 89+81=170, Resulting Numbers: [170] 170,22 unequal: No Solution Exploring Operation: 89*81=7209, Resulting Numbers: [7209] 7209,22 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: 22:[1, 23], Operations: ['97-82=15', '8+15=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[8, 1, 97, 82], Operations: [] Exploring Operation: 97-82=15, Resulting Numbers: [8, 1, 15] Generated Node #0,1: 22:[8, 1, 15] Operation: 97-82=15 Moving to Node #0,1 Current State: 22:[8, 1, 15], Operations: ['97-82=15'] Exploring Operation: 8+15=23, Resulting Numbers: [1, 23] Generated Node #0,1,1: 22:[1, 23] Operation: 8+15=23 Moving to Node #0,1,1 Current State: 22:[1, 23], Operations: ['97-82=15', '8+15=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 13, 54, 81, 2 ]
14
[ "13+81=94", "54*2=108", "108-94=14" ]
Current State: 14:[13, 54, 81, 2], Operations: [] Exploring Operation: 13+81=94, Resulting Numbers: [54, 2, 94] Generated Node #2: [54, 2, 94] from Operation: 13+81=94 Current State: 14:[54, 2, 94], Operations: ['13+81=94'] Exploring Operation: 54*2=108, Resulting Numbers: [94, 108] Generated Node #3: [94, 108] from Operation: 54*2=108 Current State: 14:[94, 108], Operations: ['13+81=94', '54*2=108'] Exploring Operation: 108-94=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[13, 54, 81, 2], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [54, 2, 68] Generated Node #0,0: 14:[54, 2, 68] Operation: 81-13=68 Exploring Operation: 54/2=27, Resulting Numbers: [13, 81, 27] Generated Node #0,1: 14:[13, 81, 27] Operation: 54/2=27 Exploring Operation: 81-54=27, Resulting Numbers: [13, 2, 27] Generated Node #0,2: 14:[13, 2, 27] Operation: 81-54=27 Exploring Operation: 54-13=41, Resulting Numbers: [81, 2, 41] Generated Node #0,3: 14:[81, 2, 41] Operation: 54-13=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[13, 2, 27], Operations: ['81-54=27'] Exploring Operation: 13+2=15, Resulting Numbers: [27, 15] Generated Node #0,2,0: 14:[27, 15] Operation: 13+2=15 Exploring Operation: 27-2=25, Resulting Numbers: [13, 25] Generated Node #0,2,1: 14:[13, 25] Operation: 27-2=25 Exploring Operation: 27-13=14, Resulting Numbers: [2, 14] Generated Node #0,2,2: 14:[2, 14] Operation: 27-13=14 Exploring Operation: 13-2=11, Resulting Numbers: [27, 11] Generated Node #0,2,3: 14:[27, 11] Operation: 13-2=11 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[2, 14], Operations: ['81-54=27', '27-13=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[13, 25], Operations: ['81-54=27', '27-2=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[27, 15], Operations: ['81-54=27', '13+2=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,14 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 14:[27, 11], Operations: ['81-54=27', '13-2=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,14 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[13, 81, 27], Operations: ['54/2=27'] Exploring Operation: 81-13=68, Resulting Numbers: [27, 68] Generated Node #0,1,0: 14:[27, 68] Operation: 81-13=68 Exploring Operation: 27-13=14, Resulting Numbers: [81, 14] Generated Node #0,1,1: 14:[81, 14] Operation: 27-13=14 Exploring Operation: 81-27=54, Resulting Numbers: [13, 54] Generated Node #0,1,2: 14:[13, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [13, 3] Generated Node #0,1,3: 14:[13, 3] Operation: 81/27=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 14:[13, 3], Operations: ['54/2=27', '81/27=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 14:[13, 54], Operations: ['54/2=27', '81-27=54'] Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,14 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[27, 68], Operations: ['54/2=27', '81-13=68'] Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,14 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[81, 14], Operations: ['54/2=27', '27-13=14'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,14 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[54, 2, 68], Operations: ['81-13=68'] Exploring Operation: 54-2=52, Resulting Numbers: [68, 52] Generated Node #0,0,0: 14:[68, 52] Operation: 54-2=52 Exploring Operation: 68-54=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 14:[2, 14] Operation: 68-54=14 Exploring Operation: 54/2=27, Resulting Numbers: [68, 27] Generated Node #0,0,2: 14:[68, 27] Operation: 54/2=27 Exploring Operation: 68/2=34, Resulting Numbers: [54, 34] Generated Node #0,0,3: 14:[54, 34] Operation: 68/2=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[2, 14], Operations: ['81-13=68', '68-54=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 14:[54, 34], Operations: ['81-13=68', '68/2=34'] Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,14 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[68, 27], Operations: ['81-13=68', '54/2=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,14 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,14 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[68, 52], Operations: ['81-13=68', '54-2=52'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 68*52=3536, Resulting Numbers: [3536] 3536,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[81, 2, 41], Operations: ['54-13=41'] Exploring Operation: 81-2=79, Resulting Numbers: [41, 79] Generated Node #0,3,0: 14:[41, 79] Operation: 81-2=79 Exploring Operation: 41-2=39, Resulting Numbers: [81, 39] Generated Node #0,3,1: 14:[81, 39] Operation: 41-2=39 Exploring Operation: 81+2=83, Resulting Numbers: [41, 83] Generated Node #0,3,2: 14:[41, 83] Operation: 81+2=83 Exploring Operation: 81-41=40, Resulting Numbers: [2, 40] Generated Node #0,3,3: 14:[2, 40] Operation: 81-41=40 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 14:[2, 40], Operations: ['54-13=41', '81-41=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,14 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 14:[41, 79], Operations: ['54-13=41', '81-2=79'] Exploring Operation: 41+79=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 41*79=3239, Resulting Numbers: [3239] 3239,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 14:[81, 39], Operations: ['54-13=41', '41-2=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,14 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 14:[41, 83], Operations: ['54-13=41', '81+2=83'] Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,14 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 32, 34, 8, 53 ]
69
[ "34-32=2", "8*2=16", "53+16=69" ]
Current State: 69:[32, 34, 8, 53], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [8, 53, 2] Generated Node #2: [8, 53, 2] from Operation: 34-32=2 Current State: 69:[8, 53, 2], Operations: ['34-32=2'] Exploring Operation: 8*2=16, Resulting Numbers: [53, 16] Generated Node #3: [53, 16] from Operation: 8*2=16 Current State: 69:[53, 16], Operations: ['34-32=2', '8*2=16'] Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[32, 34, 8, 53], Operations: [] Exploring Operation: 53-34=19, Resulting Numbers: [32, 8, 19] Generated Node #0,0: 69:[32, 8, 19] Operation: 53-34=19 Exploring Operation: 53-32=21, Resulting Numbers: [34, 8, 21] Generated Node #0,1: 69:[34, 8, 21] Operation: 53-32=21 Moving to Node #0,0 Current State: 69:[32, 8, 19], Operations: ['53-34=19'] Exploring Operation: 32-8=24, Resulting Numbers: [19, 24] Generated Node #0,0,0: 69:[19, 24] Operation: 32-8=24 Exploring Operation: 32/8=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 69:[19, 4] Operation: 32/8=4 Moving to Node #0,1 Current State: 69:[34, 8, 21], Operations: ['53-32=21'] Exploring Operation: 34-21=13, Resulting Numbers: [8, 13] Generated Node #0,1,0: 69:[8, 13] Operation: 34-21=13 Exploring Operation: 34-8=26, Resulting Numbers: [21, 26] Generated Node #0,1,1: 69:[21, 26] Operation: 34-8=26 Moving to Node #0,0,0 Current State: 69:[19, 24], Operations: ['53-34=19', '32-8=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,69 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[21, 26], Operations: ['53-32=21', '34-8=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[19, 4], Operations: ['53-34=19', '32/8=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[8, 13], Operations: ['53-32=21', '34-21=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,69 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 49, 10, 77, 34 ]
28
[ "10+34=44", "49*44=2156", "2156/77=28" ]
Current State: 28:[49, 10, 77, 34], Operations: [] Exploring Operation: 10+34=44, Resulting Numbers: [49, 77, 44] Generated Node #2: [49, 77, 44] from Operation: 10+34=44 Current State: 28:[49, 77, 44], Operations: ['10+34=44'] Exploring Operation: 49*44=2156, Resulting Numbers: [77, 2156] Generated Node #3: [77, 2156] from Operation: 49*44=2156 Current State: 28:[77, 2156], Operations: ['10+34=44', '49*44=2156'] Exploring Operation: 2156/77=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[49, 10, 77, 34], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [10, 34, 28] Generated Node #0,0: 28:[10, 34, 28] Operation: 77-49=28 Moving to Node #0,0 Current State: 28:[10, 34, 28], Operations: ['77-49=28'] Exploring Operation: 34-10=24, Resulting Numbers: [28, 24] Generated Node #0,0,0: 28:[28, 24] Operation: 34-10=24 Moving to Node #0,0,0 Current State: 28:[28, 24], Operations: ['77-49=28', '34-10=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 39, 1, 27, 24 ]
14
[ "27-24=3", "39/3=13", "1+13=14" ]
Current State: 14:[39, 1, 27, 24], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [39, 1, 3] Generated Node #2: [39, 1, 3] from Operation: 27-24=3 Current State: 14:[39, 1, 3], Operations: ['27-24=3'] Exploring Operation: 39/3=13, Resulting Numbers: [1, 13] Generated Node #3: [1, 13] from Operation: 39/3=13 Current State: 14:[1, 13], Operations: ['27-24=3', '39/3=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[39, 1, 27, 24], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [1, 24, 12] Generated Node #0,0: 14:[1, 24, 12] Operation: 39-27=12 Exploring Operation: 39-1=38, Resulting Numbers: [27, 24, 38] Generated Node #0,1: 14:[27, 24, 38] Operation: 39-1=38 Exploring Operation: 27-1=26, Resulting Numbers: [39, 24, 26] Generated Node #0,2: 14:[39, 24, 26] Operation: 27-1=26 Exploring Operation: 27-24=3, Resulting Numbers: [39, 1, 3] Generated Node #0,3: 14:[39, 1, 3] Operation: 27-24=3 Exploring Operation: 39-24=15, Resulting Numbers: [1, 27, 15] Generated Node #0,4: 14:[1, 27, 15] Operation: 39-24=15 Moving to Node #0,0 Current State: 14:[1, 24, 12], Operations: ['39-27=12'] Exploring Operation: 24-1=23, Resulting Numbers: [12, 23] Generated Node #0,0,0: 14:[12, 23] Operation: 24-1=23 Exploring Operation: 1*24=24, Resulting Numbers: [12, 24] Generated Node #0,0,1: 14:[12, 24] Operation: 1*24=24 Exploring Operation: 24/12=2, Resulting Numbers: [1, 2] Generated Node #0,0,2: 14:[1, 2] Operation: 24/12=2 Exploring Operation: 1+12=13, Resulting Numbers: [24, 13] Generated Node #0,0,3: 14:[24, 13] Operation: 1+12=13 Exploring Operation: 24-12=12, Resulting Numbers: [1, 12] Generated Node #0,0,4: 14:[1, 12] Operation: 24-12=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[1, 2], Operations: ['39-27=12', '24/12=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,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,4 Current State: 14:[1, 12], Operations: ['39-27=12', '24-12=12'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,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,0 Current State: 14:[12, 23], Operations: ['39-27=12', '24-1=23'] Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,14 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,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,3 Current State: 14:[24, 13], Operations: ['39-27=12', '1+12=13'] Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,14 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,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:[12, 24], Operations: ['39-27=12', '1*24=24'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,14 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,14 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: 14:[1, 27, 15], Operations: ['39-24=15'] Exploring Operation: 15-1=14, Resulting Numbers: [27, 14] Generated Node #0,4,0: 14:[27, 14] Operation: 15-1=14 Exploring Operation: 27-15=12, Resulting Numbers: [1, 12] Generated Node #0,4,1: 14:[1, 12] Operation: 27-15=12 Exploring Operation: 1*27=27, Resulting Numbers: [15, 27] Generated Node #0,4,2: 14:[15, 27] Operation: 1*27=27 Exploring Operation: 27/1=27, Resulting Numbers: [15, 27] Generated Node #0,4,3: 14:[15, 27] Operation: 27/1=27 Exploring Operation: 27-1=26, Resulting Numbers: [15, 26] Generated Node #0,4,4: 14:[15, 26] Operation: 27-1=26 Moving to Node #0,3 Current State: 14:[39, 1, 3], Operations: ['27-24=3'] Exploring Operation: 39-3=36, Resulting Numbers: [1, 36] Generated Node #0,3,0: 14:[1, 36] Operation: 39-3=36 Exploring Operation: 39-1=38, Resulting Numbers: [3, 38] Generated Node #0,3,1: 14:[3, 38] Operation: 39-1=38 Exploring Operation: 39/3=13, Resulting Numbers: [1, 13] Generated Node #0,3,2: 14:[1, 13] Operation: 39/3=13 Exploring Operation: 39*1=39, Resulting Numbers: [3, 39] Generated Node #0,3,3: 14:[3, 39] Operation: 39*1=39 Exploring Operation: 3-1=2, Resulting Numbers: [39, 2] Generated Node #0,3,4: 14:[39, 2] Operation: 3-1=2 Moving to Node #0,1 Current State: 14:[27, 24, 38], Operations: ['39-1=38'] Exploring Operation: 27+24=51, Resulting Numbers: [38, 51] Generated Node #0,1,0: 14:[38, 51] Operation: 27+24=51 Exploring Operation: 27-24=3, Resulting Numbers: [38, 3] Generated Node #0,1,1: 14:[38, 3] Operation: 27-24=3 Exploring Operation: 38-24=14, Resulting Numbers: [27, 14] Generated Node #0,1,2: 14:[27, 14] Operation: 38-24=14 Exploring Operation: 27+38=65, Resulting Numbers: [24, 65] Generated Node #0,1,3: 14:[24, 65] Operation: 27+38=65 Exploring Operation: 38-27=11, Resulting Numbers: [24, 11] Generated Node #0,1,4: 14:[24, 11] Operation: 38-27=11 Moving to Node #0,2 Current State: 14:[39, 24, 26], Operations: ['27-1=26'] Exploring Operation: 26-24=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 14:[39, 2] Operation: 26-24=2 Exploring Operation: 39-24=15, Resulting Numbers: [26, 15] Generated Node #0,2,1: 14:[26, 15] Operation: 39-24=15 Exploring Operation: 39+24=63, Resulting Numbers: [26, 63] Generated Node #0,2,2: 14:[26, 63] Operation: 39+24=63 Exploring Operation: 39+26=65, Resulting Numbers: [24, 65] Generated Node #0,2,3: 14:[24, 65] Operation: 39+26=65 Exploring Operation: 39-26=13, Resulting Numbers: [24, 13] Generated Node #0,2,4: 14:[24, 13] Operation: 39-26=13 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 14:[24, 13], Operations: ['27-1=26', '39-26=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,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,2,1 Current State: 14:[26, 15], Operations: ['27-1=26', '39-24=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,14 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,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,2,0 Current State: 14:[39, 2], Operations: ['27-1=26', '26-24=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,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,2,2 Current State: 14:[26, 63], Operations: ['27-1=26', '39+24=63'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,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,2,3 Current State: 14:[24, 65], Operations: ['27-1=26', '39+26=65'] Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,14 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 14:[1, 13], Operations: ['27-24=3', '39/3=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:[39, 1, 27, 24], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [39, 1, 3] Generated Node #0,3: 14:[39, 1, 3] Operation: 27-24=3 Moving to Node #0,3 Current State: 14:[39, 1, 3], Operations: ['27-24=3'] Exploring Operation: 39/3=13, Resulting Numbers: [1, 13] Generated Node #0,3,2: 14:[1, 13] Operation: 39/3=13 Moving to Node #0,3,2 Current State: 14:[1, 13], Operations: ['27-24=3', '39/3=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.939236
hs_5
sum_heuristic
[ 97, 90, 81, 45 ]
92
[ "90-81=9", "45/9=5", "97-5=92" ]
Current State: 92:[97, 90, 81, 45], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [97, 45, 9] Generated Node #2: [97, 45, 9] from Operation: 90-81=9 Current State: 92:[97, 45, 9], Operations: ['90-81=9'] Exploring Operation: 45/9=5, Resulting Numbers: [97, 5] Generated Node #3: [97, 5] from Operation: 45/9=5 Current State: 92:[97, 5], Operations: ['90-81=9', '45/9=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[97, 90, 81, 45], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [97, 45, 9] Generated Node #0,0: 92:[97, 45, 9] Operation: 90-81=9 Exploring Operation: 97-90=7, Resulting Numbers: [81, 45, 7] Generated Node #0,1: 92:[81, 45, 7] Operation: 97-90=7 Exploring Operation: 97-81=16, Resulting Numbers: [90, 45, 16] Generated Node #0,2: 92:[90, 45, 16] Operation: 97-81=16 Exploring Operation: 90/45=2, Resulting Numbers: [97, 81, 2] Generated Node #0,3: 92:[97, 81, 2] Operation: 90/45=2 Moving to Node #0,2 Current State: 92:[90, 45, 16], Operations: ['97-81=16'] Exploring Operation: 45-16=29, Resulting Numbers: [90, 29] Generated Node #0,2,0: 92:[90, 29] Operation: 45-16=29 Exploring Operation: 90-45=45, Resulting Numbers: [16, 45] Generated Node #0,2,1: 92:[16, 45] Operation: 90-45=45 Exploring Operation: 90/45=2, Resulting Numbers: [16, 2] Generated Node #0,2,2: 92:[16, 2] Operation: 90/45=2 Exploring Operation: 90+16=106, Resulting Numbers: [45, 106] Generated Node #0,2,3: 92:[45, 106] Operation: 90+16=106 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[16, 2], Operations: ['97-81=16', '90/45=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[90, 29], Operations: ['97-81=16', '45-16=29'] Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,92 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,92 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[16, 45], Operations: ['97-81=16', '90-45=45'] Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,92 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,92 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[45, 106], Operations: ['97-81=16', '90+16=106'] Exploring Operation: 45*106=4770, Resulting Numbers: [4770] 4770,92 unequal: No Solution Exploring Operation: 106-45=61, Resulting Numbers: [61] 61,92 unequal: No Solution Exploring Operation: 45+106=151, Resulting Numbers: [151] 151,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:[97, 45, 9], Operations: ['90-81=9'] Exploring Operation: 97-45=52, Resulting Numbers: [9, 52] Generated Node #0,0,0: 92:[9, 52] Operation: 97-45=52 Exploring Operation: 45/9=5, Resulting Numbers: [97, 5] Generated Node #0,0,1: 92:[97, 5] Operation: 45/9=5 Exploring Operation: 45+9=54, Resulting Numbers: [97, 54] Generated Node #0,0,2: 92:[97, 54] Operation: 45+9=54 Exploring Operation: 97-9=88, Resulting Numbers: [45, 88] Generated Node #0,0,3: 92:[45, 88] Operation: 97-9=88 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[45, 88], Operations: ['90-81=9', '97-9=88'] Exploring Operation: 45*88=3960, Resulting Numbers: [3960] 3960,92 unequal: No Solution Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 45+88=133, Resulting Numbers: [133] 133,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,1 Current State: 92:[97, 5], Operations: ['90-81=9', '45/9=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[97, 90, 81, 45], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [97, 45, 9] Generated Node #0,0: 92:[97, 45, 9] Operation: 90-81=9 Moving to Node #0,0 Current State: 92:[97, 45, 9], Operations: ['90-81=9'] Exploring Operation: 45/9=5, Resulting Numbers: [97, 5] Generated Node #0,0,1: 92:[97, 5] Operation: 45/9=5 Moving to Node #0,0,1 Current State: 92:[97, 5], Operations: ['90-81=9', '45/9=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 7, 41, 6, 15 ]
16
[ "7*6=42", "41-15=26", "42-26=16" ]
Current State: 16:[7, 41, 6, 15], Operations: [] Exploring Operation: 7*6=42, Resulting Numbers: [41, 15, 42] Generated Node #2: [41, 15, 42] from Operation: 7*6=42 Current State: 16:[41, 15, 42], Operations: ['7*6=42'] Exploring Operation: 41-15=26, Resulting Numbers: [42, 26] Generated Node #3: [42, 26] from Operation: 41-15=26 Current State: 16:[42, 26], Operations: ['7*6=42', '41-15=26'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[7, 41, 6, 15], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [6, 15, 34] Generated Node #0,0: 16:[6, 15, 34] Operation: 41-7=34 Exploring Operation: 15-7=8, Resulting Numbers: [41, 6, 8] Generated Node #0,1: 16:[41, 6, 8] Operation: 15-7=8 Exploring Operation: 7-6=1, Resulting Numbers: [41, 15, 1] Generated Node #0,2: 16:[41, 15, 1] Operation: 7-6=1 Exploring Operation: 41-6=35, Resulting Numbers: [7, 15, 35] Generated Node #0,3: 16:[7, 15, 35] Operation: 41-6=35 Exploring Operation: 41-15=26, Resulting Numbers: [7, 6, 26] Generated Node #0,4: 16:[7, 6, 26] Operation: 41-15=26 Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[7, 6, 26], Operations: ['41-15=26'] Exploring Operation: 7-6=1, Resulting Numbers: [26, 1] Generated Node #0,4,0: 16:[26, 1] Operation: 7-6=1 Exploring Operation: 6+26=32, Resulting Numbers: [7, 32] Generated Node #0,4,1: 16:[7, 32] Operation: 6+26=32 Exploring Operation: 26-6=20, Resulting Numbers: [7, 20] Generated Node #0,4,2: 16:[7, 20] Operation: 26-6=20 Exploring Operation: 26-7=19, Resulting Numbers: [6, 19] Generated Node #0,4,3: 16:[6, 19] Operation: 26-7=19 Exploring Operation: 7+6=13, Resulting Numbers: [26, 13] Generated Node #0,4,4: 16:[26, 13] Operation: 7+6=13 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 16:[7, 20], Operations: ['41-15=26', '26-6=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,16 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 16:[6, 19], Operations: ['41-15=26', '26-7=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,16 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 16:[26, 1], Operations: ['41-15=26', '7-6=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 26*1=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,4,4 Current State: 16:[26, 13], Operations: ['41-15=26', '7+6=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,16 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 16:[7, 32], Operations: ['41-15=26', '6+26=32'] Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,16 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[6, 15, 34], Operations: ['41-7=34'] Exploring Operation: 34-6=28, Resulting Numbers: [15, 28] Generated Node #0,0,0: 16:[15, 28] Operation: 34-6=28 Exploring Operation: 6+15=21, Resulting Numbers: [34, 21] Generated Node #0,0,1: 16:[34, 21] Operation: 6+15=21 Exploring Operation: 15-6=9, Resulting Numbers: [34, 9] Generated Node #0,0,2: 16:[34, 9] Operation: 15-6=9 Exploring Operation: 34-15=19, Resulting Numbers: [6, 19] Generated Node #0,0,3: 16:[6, 19] Operation: 34-15=19 Exploring Operation: 6+34=40, Resulting Numbers: [15, 40] Generated Node #0,0,4: 16:[15, 40] Operation: 6+34=40 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 16:[6, 19], Operations: ['41-7=34', '34-15=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,16 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[15, 28], Operations: ['41-7=34', '34-6=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,16 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[34, 9], Operations: ['41-7=34', '15-6=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,16 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,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:[34, 21], Operations: ['41-7=34', '6+15=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,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,4 Current State: 16:[15, 40], Operations: ['41-7=34', '6+34=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,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,3 Current State: 16:[7, 15, 35], Operations: ['41-6=35'] Exploring Operation: 15-7=8, Resulting Numbers: [35, 8] Generated Node #0,3,0: 16:[35, 8] Operation: 15-7=8 Exploring Operation: 35/7=5, Resulting Numbers: [15, 5] Generated Node #0,3,1: 16:[15, 5] Operation: 35/7=5 Exploring Operation: 7+15=22, Resulting Numbers: [35, 22] Generated Node #0,3,2: 16:[35, 22] Operation: 7+15=22 Exploring Operation: 35-15=20, Resulting Numbers: [7, 20] Generated Node #0,3,3: 16:[7, 20] Operation: 35-15=20 Exploring Operation: 35-7=28, Resulting Numbers: [15, 28] Generated Node #0,3,4: 16:[15, 28] Operation: 35-7=28 Moving to Node #0,3,1 Current State: 16:[15, 5], Operations: ['41-6=35', '35/7=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,16 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[7, 20], Operations: ['41-6=35', '35-15=20'] Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,16 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,16 unequal: No Solution Moving to Node #0,3,4 Current State: 16:[15, 28], Operations: ['41-6=35', '35-7=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,16 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[35, 8], Operations: ['41-6=35', '15-7=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[35, 22], Operations: ['41-6=35', '7+15=22'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,16 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[41, 6, 8], Operations: ['15-7=8'] Exploring Operation: 41-8=33, Resulting Numbers: [6, 33] Generated Node #0,1,0: 16:[6, 33] Operation: 41-8=33 Exploring Operation: 8-6=2, Resulting Numbers: [41, 2] Generated Node #0,1,1: 16:[41, 2] Operation: 8-6=2 Exploring Operation: 6+8=14, Resulting Numbers: [41, 14] Generated Node #0,1,2: 16:[41, 14] Operation: 6+8=14 Exploring Operation: 41+6=47, Resulting Numbers: [8, 47] Generated Node #0,1,3: 16:[8, 47] Operation: 41+6=47 Exploring Operation: 41-6=35, Resulting Numbers: [8, 35] Generated Node #0,1,4: 16:[8, 35] Operation: 41-6=35 Moving to Node #0,1,0 Current State: 16:[6, 33], Operations: ['15-7=8', '41-8=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[8, 35], Operations: ['15-7=8', '41-6=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[41, 2], Operations: ['15-7=8', '8-6=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,16 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[41, 14], Operations: ['15-7=8', '6+8=14'] Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,16 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[8, 47], Operations: ['15-7=8', '41+6=47'] Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,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 Current State: 16:[41, 15, 1], Operations: ['7-6=1'] Exploring Operation: 41-15=26, Resulting Numbers: [1, 26] Generated Node #0,2,0: 16:[1, 26] Operation: 41-15=26 Exploring Operation: 15+1=16, Resulting Numbers: [41, 16] Generated Node #0,2,1: 16:[41, 16] Operation: 15+1=16 Exploring Operation: 41/1=41, Resulting Numbers: [15, 41] Generated Node #0,2,2: 16:[15, 41] Operation: 41/1=41 Exploring Operation: 41*1=41, Resulting Numbers: [15, 41] Generated Node #0,2,3: 16:[15, 41] Operation: 41*1=41 Exploring Operation: 41-1=40, Resulting Numbers: [15, 40] Generated Node #0,2,4: 16:[15, 40] Operation: 41-1=40 Moving to Node #0,2,0 Current State: 16:[1, 26], Operations: ['7-6=1', '41-15=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,2,4 Current State: 16:[15, 40], Operations: ['7-6=1', '41-1=40'] Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,16 unequal: No Solution Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[41, 16], Operations: ['7-6=1', '15+1=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,16 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[15, 41], Operations: ['7-6=1', '41/1=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,16 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[15, 41], Operations: ['7-6=1', '41*1=41'] Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,16 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 9, 79, 69, 12 ]
98
[ "9*12=108", "79-69=10", "108-10=98" ]
Current State: 98:[9, 79, 69, 12], Operations: [] Exploring Operation: 9*12=108, Resulting Numbers: [79, 69, 108] Generated Node #2: [79, 69, 108] from Operation: 9*12=108 Current State: 98:[79, 69, 108], Operations: ['9*12=108'] Exploring Operation: 79-69=10, Resulting Numbers: [108, 10] Generated Node #3: [108, 10] from Operation: 79-69=10 Current State: 98:[108, 10], Operations: ['9*12=108', '79-69=10'] Exploring Operation: 108-10=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[9, 79, 69, 12], Operations: [] Exploring Operation: 69-12=57, Resulting Numbers: [9, 79, 57] Generated Node #0,0: 98:[9, 79, 57] Operation: 69-12=57 Exploring Operation: 79+12=91, Resulting Numbers: [9, 69, 91] Generated Node #0,1: 98:[9, 69, 91] Operation: 79+12=91 Exploring Operation: 79-69=10, Resulting Numbers: [9, 12, 10] Generated Node #0,2: 98:[9, 12, 10] Operation: 79-69=10 Moving to Node #0,2 Current State: 98:[9, 12, 10], Operations: ['79-69=10'] Exploring Operation: 12-9=3, Resulting Numbers: [10, 3] Generated Node #0,2,0: 98:[10, 3] Operation: 12-9=3 Exploring Operation: 10-9=1, Resulting Numbers: [12, 1] Generated Node #0,2,1: 98:[12, 1] Operation: 10-9=1 Exploring Operation: 12-10=2, Resulting Numbers: [9, 2] Generated Node #0,2,2: 98:[9, 2] Operation: 12-10=2 Moving to Node #0,0 Current State: 98:[9, 79, 57], Operations: ['69-12=57'] Exploring Operation: 9+79=88, Resulting Numbers: [57, 88] Generated Node #0,0,0: 98:[57, 88] Operation: 9+79=88 Exploring Operation: 79-57=22, Resulting Numbers: [9, 22] Generated Node #0,0,1: 98:[9, 22] Operation: 79-57=22 Exploring Operation: 57-9=48, Resulting Numbers: [79, 48] Generated Node #0,0,2: 98:[79, 48] Operation: 57-9=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[9, 22], Operations: ['69-12=57', '79-57=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,98 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,98 unequal: No Solution No 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: 98:[57, 88], Operations: ['69-12=57', '9+79=88'] Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,98 unequal: No Solution Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,98 unequal: No Solution No 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: 98:[79, 48], Operations: ['69-12=57', '57-9=48'] Exploring Operation: 79-48=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 79*48=3792, Resulting Numbers: [3792] 3792,98 unequal: No Solution Exploring Operation: 79+48=127, Resulting Numbers: [127] 127,98 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: 98:[9, 69, 91], Operations: ['79+12=91'] Exploring Operation: 91-69=22, Resulting Numbers: [9, 22] Generated Node #0,1,0: 98:[9, 22] Operation: 91-69=22 Exploring Operation: 9+91=100, Resulting Numbers: [69, 100] Generated Node #0,1,1: 98:[69, 100] Operation: 9+91=100 Exploring Operation: 69-9=60, Resulting Numbers: [91, 60] Generated Node #0,1,2: 98:[91, 60] Operation: 69-9=60 Moving to Node #0,2,2 Current State: 98:[9, 2], Operations: ['79-69=10', '12-10=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[12, 1], Operations: ['79-69=10', '10-9=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,98 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[10, 3], Operations: ['79-69=10', '12-9=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[9, 22], Operations: ['79+12=91', '91-69=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[91, 60], Operations: ['79+12=91', '69-9=60'] Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 91*60=5460, Resulting Numbers: [5460] 5460,98 unequal: No Solution Exploring Operation: 91+60=151, Resulting Numbers: [151] 151,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[69, 100], Operations: ['79+12=91', '9+91=100'] Exploring Operation: 100-69=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 69+100=169, Resulting Numbers: [169] 169,98 unequal: No Solution Exploring Operation: 69*100=6900, Resulting Numbers: [6900] 6900,98 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 26, 35, 78, 29 ]
52
[ "78/26=3", "29*3=87", "87-35=52" ]
Current State: 52:[26, 35, 78, 29], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [35, 29, 3] Generated Node #2: [35, 29, 3] from Operation: 78/26=3 Current State: 52:[35, 29, 3], Operations: ['78/26=3'] Exploring Operation: 29*3=87, Resulting Numbers: [35, 87] Generated Node #3: [35, 87] from Operation: 29*3=87 Current State: 52:[35, 87], Operations: ['78/26=3', '29*3=87'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[26, 35, 78, 29], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [26, 35, 49] Generated Node #0,0: 52:[26, 35, 49] Operation: 78-29=49 Exploring Operation: 78-26=52, Resulting Numbers: [35, 29, 52] Generated Node #0,1: 52:[35, 29, 52] Operation: 78-26=52 Exploring Operation: 78-35=43, Resulting Numbers: [26, 29, 43] Generated Node #0,2: 52:[26, 29, 43] Operation: 78-35=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[26, 35, 49], Operations: ['78-29=49'] Exploring Operation: 49-35=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 52:[26, 14] Operation: 49-35=14 Exploring Operation: 26+35=61, Resulting Numbers: [49, 61] Generated Node #0,0,1: 52:[49, 61] Operation: 26+35=61 Exploring Operation: 35-26=9, Resulting Numbers: [49, 9] Generated Node #0,0,2: 52:[49, 9] Operation: 35-26=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[26, 14], Operations: ['78-29=49', '49-35=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[49, 9], Operations: ['78-29=49', '35-26=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[49, 61], Operations: ['78-29=49', '26+35=61'] Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,52 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[35, 29, 52], Operations: ['78-26=52'] Exploring Operation: 35-29=6, Resulting Numbers: [52, 6] Generated Node #0,1,0: 52:[52, 6] Operation: 35-29=6 Exploring Operation: 52-35=17, Resulting Numbers: [29, 17] Generated Node #0,1,1: 52:[29, 17] Operation: 52-35=17 Exploring Operation: 35+29=64, Resulting Numbers: [52, 64] Generated Node #0,1,2: 52:[52, 64] Operation: 35+29=64 Moving to Node #0,1,0 Current State: 52:[52, 6], Operations: ['78-26=52', '35-29=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[29, 17], Operations: ['78-26=52', '52-35=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,52 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[52, 64], Operations: ['78-26=52', '35+29=64'] Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,52 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,52 unequal: No Solution No 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: 52:[26, 29, 43], Operations: ['78-35=43'] Exploring Operation: 43-26=17, Resulting Numbers: [29, 17] Generated Node #0,2,0: 52:[29, 17] Operation: 43-26=17 Exploring Operation: 43-29=14, Resulting Numbers: [26, 14] Generated Node #0,2,1: 52:[26, 14] Operation: 43-29=14 Exploring Operation: 29-26=3, Resulting Numbers: [43, 3] Generated Node #0,2,2: 52:[43, 3] Operation: 29-26=3 Moving to Node #0,2,1 Current State: 52:[26, 14], Operations: ['78-35=43', '43-29=14'] Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,52 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[29, 17], Operations: ['78-35=43', '43-26=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,52 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[43, 3], Operations: ['78-35=43', '29-26=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,52 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,52 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
[ 60, 79, 80, 36 ]
97
[ "79-60=19", "80+36=116", "116-19=97" ]
Current State: 97:[60, 79, 80, 36], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [80, 36, 19] Generated Node #2: [80, 36, 19] from Operation: 79-60=19 Current State: 97:[80, 36, 19], Operations: ['79-60=19'] Exploring Operation: 80+36=116, Resulting Numbers: [19, 116] Generated Node #3: [19, 116] from Operation: 80+36=116 Current State: 97:[19, 116], Operations: ['79-60=19', '80+36=116'] Exploring Operation: 116-19=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[60, 79, 80, 36], Operations: [] Exploring Operation: 79+36=115, Resulting Numbers: [60, 80, 115] Generated Node #0,0: 97:[60, 80, 115] Operation: 79+36=115 Exploring Operation: 60-36=24, Resulting Numbers: [79, 80, 24] Generated Node #0,1: 97:[79, 80, 24] Operation: 60-36=24 Exploring Operation: 80+36=116, Resulting Numbers: [60, 79, 116] Generated Node #0,2: 97:[60, 79, 116] Operation: 80+36=116 Exploring Operation: 60+36=96, Resulting Numbers: [79, 80, 96] Generated Node #0,3: 97:[79, 80, 96] Operation: 60+36=96 Moving to Node #0,3 Current State: 97:[79, 80, 96], Operations: ['60+36=96'] Exploring Operation: 80-79=1, Resulting Numbers: [96, 1] Generated Node #0,3,0: 97:[96, 1] Operation: 80-79=1 Exploring Operation: 96-79=17, Resulting Numbers: [80, 17] Generated Node #0,3,1: 97:[80, 17] Operation: 96-79=17 Exploring Operation: 79+96=175, Resulting Numbers: [80, 175] Generated Node #0,3,2: 97:[80, 175] Operation: 79+96=175 Exploring Operation: 79+80=159, Resulting Numbers: [96, 159] Generated Node #0,3,3: 97:[96, 159] Operation: 79+80=159 Moving to Node #0,0 Current State: 97:[60, 80, 115], Operations: ['79+36=115'] Exploring Operation: 60+115=175, Resulting Numbers: [80, 175] Generated Node #0,0,0: 97:[80, 175] Operation: 60+115=175 Exploring Operation: 115-60=55, Resulting Numbers: [80, 55] Generated Node #0,0,1: 97:[80, 55] Operation: 115-60=55 Exploring Operation: 80-60=20, Resulting Numbers: [115, 20] Generated Node #0,0,2: 97:[115, 20] Operation: 80-60=20 Exploring Operation: 60+80=140, Resulting Numbers: [115, 140] Generated Node #0,0,3: 97:[115, 140] Operation: 60+80=140 Moving to Node #0,2 Current State: 97:[60, 79, 116], Operations: ['80+36=116'] Exploring Operation: 60+116=176, Resulting Numbers: [79, 176] Generated Node #0,2,0: 97:[79, 176] Operation: 60+116=176 Exploring Operation: 79-60=19, Resulting Numbers: [116, 19] Generated Node #0,2,1: 97:[116, 19] Operation: 79-60=19 Exploring Operation: 60+79=139, Resulting Numbers: [116, 139] Generated Node #0,2,2: 97:[116, 139] Operation: 60+79=139 Exploring Operation: 116-60=56, Resulting Numbers: [79, 56] Generated Node #0,2,3: 97:[79, 56] Operation: 116-60=56 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[79, 56], Operations: ['80+36=116', '116-60=56'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 79*56=4424, Resulting Numbers: [4424] 4424,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,2,2 Current State: 97:[116, 139], Operations: ['80+36=116', '60+79=139'] Exploring Operation: 116*139=16124, Resulting Numbers: [16124] 16124,97 unequal: No Solution Exploring Operation: 116+139=255, Resulting Numbers: [255] 255,97 unequal: No Solution Exploring Operation: 139-116=23, Resulting Numbers: [23] 23,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,2,0 Current State: 97:[79, 176], Operations: ['80+36=116', '60+116=176'] Exploring Operation: 79+176=255, Resulting Numbers: [255] 255,97 unequal: No Solution Exploring Operation: 176-79=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[60, 79, 80, 36], Operations: [] Exploring Operation: 80+36=116, Resulting Numbers: [60, 79, 116] Generated Node #0,2: 97:[60, 79, 116] Operation: 80+36=116 Moving to Node #0,2 Current State: 97:[60, 79, 116], Operations: ['80+36=116'] Exploring Operation: 60+116=176, Resulting Numbers: [79, 176] Generated Node #0,2,0: 97:[79, 176] Operation: 60+116=176 Moving to Node #0,2,0 Current State: 97:[79, 176], Operations: ['80+36=116', '60+116=176'] Exploring Operation: 176-79=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
mult_heuristic
[ 92, 75, 37, 2 ]
22
[ "92-75=17", "37+2=39", "39-17=22" ]
Current State: 22:[92, 75, 37, 2], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [37, 2, 17] Generated Node #2: [37, 2, 17] from Operation: 92-75=17 Current State: 22:[37, 2, 17], Operations: ['92-75=17'] Exploring Operation: 37+2=39, Resulting Numbers: [17, 39] Generated Node #3: [17, 39] from Operation: 37+2=39 Current State: 22:[17, 39], Operations: ['92-75=17', '37+2=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[92, 75, 37, 2], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [75, 2, 55] Generated Node #0,0: 22:[75, 2, 55] Operation: 92-37=55 Exploring Operation: 92-75=17, Resulting Numbers: [37, 2, 17] Generated Node #0,1: 22:[37, 2, 17] Operation: 92-75=17 Moving to Node #0,1 Current State: 22:[37, 2, 17], Operations: ['92-75=17'] Exploring Operation: 37-17=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 22:[2, 20] Operation: 37-17=20 Exploring Operation: 37-2=35, Resulting Numbers: [17, 35] Generated Node #0,1,1: 22:[17, 35] Operation: 37-2=35 Moving to Node #0,0 Current State: 22:[75, 2, 55], Operations: ['92-37=55'] Exploring Operation: 75-55=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 22:[2, 20] Operation: 75-55=20 Exploring Operation: 75-2=73, Resulting Numbers: [55, 73] Generated Node #0,0,1: 22:[55, 73] Operation: 75-2=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[2, 20], Operations: ['92-37=55', '75-55=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[92, 75, 37, 2], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [75, 2, 55] Generated Node #0,0: 22:[75, 2, 55] Operation: 92-37=55 Moving to Node #0,0 Current State: 22:[75, 2, 55], Operations: ['92-37=55'] Exploring Operation: 75-55=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 22:[2, 20] Operation: 75-55=20 Moving to Node #0,0,0 Current State: 22:[2, 20], Operations: ['92-37=55', '75-55=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 68, 73, 47, 2 ]
89
[ "73-68=5", "47*2=94", "94-5=89" ]
Current State: 89:[68, 73, 47, 2], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [47, 2, 5] Generated Node #2: [47, 2, 5] from Operation: 73-68=5 Current State: 89:[47, 2, 5], Operations: ['73-68=5'] Exploring Operation: 47*2=94, Resulting Numbers: [5, 94] Generated Node #3: [5, 94] from Operation: 47*2=94 Current State: 89:[5, 94], Operations: ['73-68=5', '47*2=94'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[68, 73, 47, 2], Operations: [] Exploring Operation: 47*2=94, Resulting Numbers: [68, 73, 94] Generated Node #0,0: 89:[68, 73, 94] Operation: 47*2=94 Exploring Operation: 47+2=49, Resulting Numbers: [68, 73, 49] Generated Node #0,1: 89:[68, 73, 49] Operation: 47+2=49 Exploring Operation: 68+2=70, Resulting Numbers: [73, 47, 70] Generated Node #0,2: 89:[73, 47, 70] Operation: 68+2=70 Exploring Operation: 68-2=66, Resulting Numbers: [73, 47, 66] Generated Node #0,3: 89:[73, 47, 66] Operation: 68-2=66 Exploring Operation: 73+2=75, Resulting Numbers: [68, 47, 75] Generated Node #0,4: 89:[68, 47, 75] Operation: 73+2=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[68, 73, 94], Operations: ['47*2=94'] Exploring Operation: 68+94=162, Resulting Numbers: [73, 162] Generated Node #0,0,0: 89:[73, 162] Operation: 68+94=162 Exploring Operation: 73-68=5, Resulting Numbers: [94, 5] Generated Node #0,0,1: 89:[94, 5] Operation: 73-68=5 Exploring Operation: 94-68=26, Resulting Numbers: [73, 26] Generated Node #0,0,2: 89:[73, 26] Operation: 94-68=26 Exploring Operation: 94-73=21, Resulting Numbers: [68, 21] Generated Node #0,0,3: 89:[68, 21] Operation: 94-73=21 Exploring Operation: 68+73=141, Resulting Numbers: [94, 141] Generated Node #0,0,4: 89:[94, 141] Operation: 68+73=141 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 89:[94, 141], Operations: ['47*2=94', '68+73=141'] Exploring Operation: 141-94=47, Resulting Numbers: [47] 47,89 unequal: No Solution Exploring Operation: 94*141=13254, Resulting Numbers: [13254] 13254,89 unequal: No Solution Exploring Operation: 94+141=235, Resulting Numbers: [235] 235,89 unequal: No Solution No 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: 89:[73, 26], Operations: ['47*2=94', '94-68=26'] Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,89 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,89 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,89 unequal: No Solution No 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: 89:[73, 162], Operations: ['47*2=94', '68+94=162'] Exploring Operation: 73+162=235, Resulting Numbers: [235] 235,89 unequal: No Solution Exploring Operation: 162-73=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[68, 73, 47, 2], Operations: [] Exploring Operation: 47*2=94, Resulting Numbers: [68, 73, 94] Generated Node #0,0: 89:[68, 73, 94] Operation: 47*2=94 Moving to Node #0,0 Current State: 89:[68, 73, 94], Operations: ['47*2=94'] Exploring Operation: 68+94=162, Resulting Numbers: [73, 162] Generated Node #0,0,0: 89:[73, 162] Operation: 68+94=162 Moving to Node #0,0,0 Current State: 89:[73, 162], Operations: ['47*2=94', '68+94=162'] Exploring Operation: 162-73=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 70, 97, 3, 92 ]
78
[ "70+97=167", "92-3=89", "167-89=78" ]
Current State: 78:[70, 97, 3, 92], Operations: [] Exploring Operation: 70+97=167, Resulting Numbers: [3, 92, 167] Generated Node #2: [3, 92, 167] from Operation: 70+97=167 Current State: 78:[3, 92, 167], Operations: ['70+97=167'] Exploring Operation: 92-3=89, Resulting Numbers: [167, 89] Generated Node #3: [167, 89] from Operation: 92-3=89 Current State: 78:[167, 89], Operations: ['70+97=167', '92-3=89'] Exploring Operation: 167-89=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[70, 97, 3, 92], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [70, 3, 5] Generated Node #0,0: 78:[70, 3, 5] Operation: 97-92=5 Exploring Operation: 97-70=27, Resulting Numbers: [3, 92, 27] Generated Node #0,1: 78:[3, 92, 27] Operation: 97-70=27 Exploring Operation: 92-70=22, Resulting Numbers: [97, 3, 22] Generated Node #0,2: 78:[97, 3, 22] Operation: 92-70=22 Exploring Operation: 97-3=94, Resulting Numbers: [70, 92, 94] Generated Node #0,3: 78:[70, 92, 94] Operation: 97-3=94 Exploring Operation: 70+3=73, Resulting Numbers: [97, 92, 73] Generated Node #0,4: 78:[97, 92, 73] Operation: 70+3=73 Moving to Node #0,0 Current State: 78:[70, 3, 5], Operations: ['97-92=5'] Exploring Operation: 3+5=8, Resulting Numbers: [70, 8] Generated Node #0,0,0: 78:[70, 8] Operation: 3+5=8 Exploring Operation: 70+5=75, Resulting Numbers: [3, 75] Generated Node #0,0,1: 78:[3, 75] Operation: 70+5=75 Exploring Operation: 5-3=2, Resulting Numbers: [70, 2] Generated Node #0,0,2: 78:[70, 2] Operation: 5-3=2 Exploring Operation: 70/5=14, Resulting Numbers: [3, 14] Generated Node #0,0,3: 78:[3, 14] Operation: 70/5=14 Exploring Operation: 70+3=73, Resulting Numbers: [5, 73] Generated Node #0,0,4: 78:[5, 73] Operation: 70+3=73 Moving to Node #0,1 Current State: 78:[3, 92, 27], Operations: ['97-70=27'] Exploring Operation: 27/3=9, Resulting Numbers: [92, 9] Generated Node #0,1,0: 78:[92, 9] Operation: 27/3=9 Exploring Operation: 3*27=81, Resulting Numbers: [92, 81] Generated Node #0,1,1: 78:[92, 81] Operation: 3*27=81 Exploring Operation: 92-27=65, Resulting Numbers: [3, 65] Generated Node #0,1,2: 78:[3, 65] Operation: 92-27=65 Exploring Operation: 27-3=24, Resulting Numbers: [92, 24] Generated Node #0,1,3: 78:[92, 24] Operation: 27-3=24 Exploring Operation: 92-3=89, Resulting Numbers: [27, 89] Generated Node #0,1,4: 78:[27, 89] Operation: 92-3=89 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 78:[27, 89], Operations: ['97-70=27', '92-3=89'] Exploring Operation: 27+89=116, Resulting Numbers: [116] 116,78 unequal: No Solution Exploring Operation: 27*89=2403, Resulting Numbers: [2403] 2403,78 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[3, 65], Operations: ['97-70=27', '92-27=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,78 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[92, 24], Operations: ['97-70=27', '27-3=24'] Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,78 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,78 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[92, 9], Operations: ['97-70=27', '27/3=9'] Exploring Operation: 92*9=828, Resulting Numbers: [828] 828,78 unequal: No Solution Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[92, 81], Operations: ['97-70=27', '3*27=81'] Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,78 unequal: No Solution Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[97, 3, 22], Operations: ['92-70=22'] Exploring Operation: 97-22=75, Resulting Numbers: [3, 75] Generated Node #0,2,0: 78:[3, 75] Operation: 97-22=75 Exploring Operation: 97+3=100, Resulting Numbers: [22, 100] Generated Node #0,2,1: 78:[22, 100] Operation: 97+3=100 Exploring Operation: 97-3=94, Resulting Numbers: [22, 94] Generated Node #0,2,2: 78:[22, 94] Operation: 97-3=94 Exploring Operation: 3+22=25, Resulting Numbers: [97, 25] Generated Node #0,2,3: 78:[97, 25] Operation: 3+22=25 Exploring Operation: 22-3=19, Resulting Numbers: [97, 19] Generated Node #0,2,4: 78:[97, 19] Operation: 22-3=19 Moving to Node #0,3 Current State: 78:[70, 92, 94], Operations: ['97-3=94'] Exploring Operation: 92-70=22, Resulting Numbers: [94, 22] Generated Node #0,3,0: 78:[94, 22] Operation: 92-70=22 Exploring Operation: 70+92=162, Resulting Numbers: [94, 162] Generated Node #0,3,1: 78:[94, 162] Operation: 70+92=162 Exploring Operation: 70+94=164, Resulting Numbers: [92, 164] Generated Node #0,3,2: 78:[92, 164] Operation: 70+94=164 Exploring Operation: 94-92=2, Resulting Numbers: [70, 2] Generated Node #0,3,3: 78:[70, 2] Operation: 94-92=2 Exploring Operation: 94-70=24, Resulting Numbers: [92, 24] Generated Node #0,3,4: 78:[92, 24] Operation: 94-70=24 Moving to Node #0,4 Current State: 78:[97, 92, 73], Operations: ['70+3=73'] Exploring Operation: 97-92=5, Resulting Numbers: [73, 5] Generated Node #0,4,0: 78:[73, 5] Operation: 97-92=5 Exploring Operation: 97+73=170, Resulting Numbers: [92, 170] Generated Node #0,4,1: 78:[92, 170] Operation: 97+73=170 Exploring Operation: 97-73=24, Resulting Numbers: [92, 24] Generated Node #0,4,2: 78:[92, 24] Operation: 97-73=24 Exploring Operation: 92+73=165, Resulting Numbers: [97, 165] Generated Node #0,4,3: 78:[97, 165] Operation: 92+73=165 Exploring Operation: 92-73=19, Resulting Numbers: [97, 19] Generated Node #0,4,4: 78:[97, 19] Operation: 92-73=19 Moving to Node #0,0,3 Current State: 78:[3, 14], Operations: ['97-92=5', '70/5=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[3, 75], Operations: ['92-70=22', '97-22=75'] Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,78 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[70, 97, 3, 92], Operations: [] Exploring Operation: 92-70=22, Resulting Numbers: [97, 3, 22] Generated Node #0,2: 78:[97, 3, 22] Operation: 92-70=22 Moving to Node #0,2 Current State: 78:[97, 3, 22], Operations: ['92-70=22'] Exploring Operation: 97-22=75, Resulting Numbers: [3, 75] Generated Node #0,2,0: 78:[3, 75] Operation: 97-22=75 Moving to Node #0,2,0 Current State: 78:[3, 75], Operations: ['92-70=22', '97-22=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.951389
hs_5
sum_heuristic
[ 10, 3, 22, 60 ]
48
[ "60/10=6", "22-6=16", "3*16=48" ]
Current State: 48:[10, 3, 22, 60], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [3, 22, 6] Generated Node #2: [3, 22, 6] from Operation: 60/10=6 Current State: 48:[3, 22, 6], Operations: ['60/10=6'] Exploring Operation: 22-6=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 22-6=16 Current State: 48:[3, 16], Operations: ['60/10=6', '22-6=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 3, 22, 60], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [3, 22, 6] Generated Node #0,0: 48:[3, 22, 6] Operation: 60/10=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[3, 22, 6], Operations: ['60/10=6'] Exploring Operation: 22-6=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 48:[3, 16] Operation: 22-6=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[3, 16], Operations: ['60/10=6', '22-6=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[10, 3, 22, 60], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [3, 22, 6] Generated Node #0,0: 48:[3, 22, 6] Operation: 60/10=6 Moving to Node #0,0 Current State: 48:[3, 22, 6], Operations: ['60/10=6'] Exploring Operation: 22-6=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 48:[3, 16] Operation: 22-6=16 Moving to Node #0,0,0 Current State: 48:[3, 16], Operations: ['60/10=6', '22-6=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 49, 62, 47, 87 ]
23
[ "49+62=111", "47+87=134", "134-111=23" ]
Current State: 23:[49, 62, 47, 87], Operations: [] Exploring Operation: 49+62=111, Resulting Numbers: [47, 87, 111] Generated Node #2: [47, 87, 111] from Operation: 49+62=111 Current State: 23:[47, 87, 111], Operations: ['49+62=111'] Exploring Operation: 47+87=134, Resulting Numbers: [111, 134] Generated Node #3: [111, 134] from Operation: 47+87=134 Current State: 23:[111, 134], Operations: ['49+62=111', '47+87=134'] Exploring Operation: 134-111=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[49, 62, 47, 87], Operations: [] Exploring Operation: 87-62=25, Resulting Numbers: [49, 47, 25] Generated Node #0,0: 23:[49, 47, 25] Operation: 87-62=25 Exploring Operation: 87-49=38, Resulting Numbers: [62, 47, 38] Generated Node #0,1: 23:[62, 47, 38] Operation: 87-49=38 Exploring Operation: 87-47=40, Resulting Numbers: [49, 62, 40] Generated Node #0,2: 23:[49, 62, 40] Operation: 87-47=40 Moving to Node #0,0 Current State: 23:[49, 47, 25], Operations: ['87-62=25'] Exploring Operation: 47-25=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 23:[49, 22] Operation: 47-25=22 Exploring Operation: 49-47=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 23:[25, 2] Operation: 49-47=2 Exploring Operation: 49-25=24, Resulting Numbers: [47, 24] Generated Node #0,0,2: 23:[47, 24] Operation: 49-25=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[25, 2], Operations: ['87-62=25', '49-47=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[49, 62, 47, 87], Operations: [] Exploring Operation: 87-62=25, Resulting Numbers: [49, 47, 25] Generated Node #0,0: 23:[49, 47, 25] Operation: 87-62=25 Moving to Node #0,0 Current State: 23:[49, 47, 25], Operations: ['87-62=25'] Exploring Operation: 49-47=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 23:[25, 2] Operation: 49-47=2 Moving to Node #0,0,1 Current State: 23:[25, 2], Operations: ['87-62=25', '49-47=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 73, 77, 80, 79 ]
18
[ "79-73=6", "80-77=3", "6*3=18" ]
Current State: 18:[73, 77, 80, 79], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [77, 80, 6] Generated Node #2: [77, 80, 6] from Operation: 79-73=6 Current State: 18:[77, 80, 6], Operations: ['79-73=6'] Exploring Operation: 80-77=3, Resulting Numbers: [6, 3] Generated Node #3: [6, 3] from Operation: 80-77=3 Current State: 18:[6, 3], Operations: ['79-73=6', '80-77=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[73, 77, 80, 79], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [73, 77, 1] Generated Node #0,0: 18:[73, 77, 1] Operation: 80-79=1 Exploring Operation: 80-77=3, Resulting Numbers: [73, 79, 3] Generated Node #0,1: 18:[73, 79, 3] Operation: 80-77=3 Moving to Node #0,0 Current State: 18:[73, 77, 1], Operations: ['80-79=1'] Exploring Operation: 77-73=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 18:[1, 4] Operation: 77-73=4 Exploring Operation: 73-1=72, Resulting Numbers: [77, 72] Generated Node #0,0,1: 18:[77, 72] Operation: 73-1=72 Moving to Node #0,1 Current State: 18:[73, 79, 3], Operations: ['80-77=3'] Exploring Operation: 79-73=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 18:[3, 6] Operation: 79-73=6 Exploring Operation: 73-3=70, Resulting Numbers: [79, 70] Generated Node #0,1,1: 18:[79, 70] Operation: 73-3=70 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[3, 6], Operations: ['80-77=3', '79-73=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[73, 77, 80, 79], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [73, 79, 3] Generated Node #0,1: 18:[73, 79, 3] Operation: 80-77=3 Moving to Node #0,1 Current State: 18:[73, 79, 3], Operations: ['80-77=3'] Exploring Operation: 79-73=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 18:[3, 6] Operation: 79-73=6 Moving to Node #0,1,0 Current State: 18:[3, 6], Operations: ['80-77=3', '79-73=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 55, 18, 70, 66 ]
85
[ "55*18=990", "990/66=15", "70+15=85" ]
Current State: 85:[55, 18, 70, 66], Operations: [] Exploring Operation: 55*18=990, Resulting Numbers: [70, 66, 990] Generated Node #2: [70, 66, 990] from Operation: 55*18=990 Current State: 85:[70, 66, 990], Operations: ['55*18=990'] Exploring Operation: 990/66=15, Resulting Numbers: [70, 15] Generated Node #3: [70, 15] from Operation: 990/66=15 Current State: 85:[70, 15], Operations: ['55*18=990', '990/66=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[55, 18, 70, 66], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [18, 66, 15] Generated Node #0,0: 85:[18, 66, 15] Operation: 70-55=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[18, 66, 15], Operations: ['70-55=15'] Exploring Operation: 18+66=84, Resulting Numbers: [15, 84] Generated Node #0,0,0: 85:[15, 84] Operation: 18+66=84 Moving to Node #0,0,0 Current State: 85:[15, 84], Operations: ['70-55=15', '18+66=84'] Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,85 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
[ 40, 27, 5, 50 ]
29
[ "50-40=10", "10/5=2", "27+2=29" ]
Current State: 29:[40, 27, 5, 50], Operations: [] Exploring Operation: 50-40=10, Resulting Numbers: [27, 5, 10] Generated Node #2: [27, 5, 10] from Operation: 50-40=10 Current State: 29:[27, 5, 10], Operations: ['50-40=10'] Exploring Operation: 10/5=2, Resulting Numbers: [27, 2] Generated Node #3: [27, 2] from Operation: 10/5=2 Current State: 29:[27, 2], Operations: ['50-40=10', '10/5=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[40, 27, 5, 50], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [40, 27, 45] Generated Node #0,0: 29:[40, 27, 45] Operation: 50-5=45 Exploring Operation: 50/5=10, Resulting Numbers: [40, 27, 10] Generated Node #0,1: 29:[40, 27, 10] Operation: 50/5=10 Exploring Operation: 40-5=35, Resulting Numbers: [27, 50, 35] Generated Node #0,2: 29:[27, 50, 35] Operation: 40-5=35 Moving to Node #0,0 Current State: 29:[40, 27, 45], Operations: ['50-5=45'] Exploring Operation: 45-40=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 29:[27, 5] Operation: 45-40=5 Exploring Operation: 45-27=18, Resulting Numbers: [40, 18] Generated Node #0,0,1: 29:[40, 18] Operation: 45-27=18 Exploring Operation: 40-27=13, Resulting Numbers: [45, 13] Generated Node #0,0,2: 29:[45, 13] Operation: 40-27=13 Moving to Node #0,2 Current State: 29:[27, 50, 35], Operations: ['40-5=35'] Exploring Operation: 35-27=8, Resulting Numbers: [50, 8] Generated Node #0,2,0: 29:[50, 8] Operation: 35-27=8 Exploring Operation: 50-35=15, Resulting Numbers: [27, 15] Generated Node #0,2,1: 29:[27, 15] Operation: 50-35=15 Exploring Operation: 50-27=23, Resulting Numbers: [35, 23] Generated Node #0,2,2: 29:[35, 23] Operation: 50-27=23 Moving to Node #0,1 Current State: 29:[40, 27, 10], Operations: ['50/5=10'] Exploring Operation: 40+10=50, Resulting Numbers: [27, 50] Generated Node #0,1,0: 29:[27, 50] Operation: 40+10=50 Exploring Operation: 40-10=30, Resulting Numbers: [27, 30] Generated Node #0,1,1: 29:[27, 30] Operation: 40-10=30 Exploring Operation: 27+10=37, Resulting Numbers: [40, 37] Generated Node #0,1,2: 29:[40, 37] Operation: 27+10=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[27, 30], Operations: ['50/5=10', '40-10=30'] Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,29 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[40, 37], Operations: ['50/5=10', '27+10=37'] Exploring Operation: 40+37=77, Resulting Numbers: [77] 77,29 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 40*37=1480, Resulting Numbers: [1480] 1480,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[27, 50], Operations: ['50/5=10', '40+10=50'] Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,29 unequal: No Solution Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 29:[35, 23], Operations: ['40-5=35', '50-27=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[27, 15], Operations: ['40-5=35', '50-35=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,29 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[40, 18], Operations: ['50-5=45', '45-27=18'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[27, 5], Operations: ['50-5=45', '45-40=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,29 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[45, 13], Operations: ['50-5=45', '40-27=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[50, 8], Operations: ['40-5=35', '35-27=8'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,29 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,29 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 37, 35, 61, 43 ]
36
[ "37-35=2", "61-43=18", "2*18=36" ]
Current State: 36:[37, 35, 61, 43], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [61, 43, 2] Generated Node #2: [61, 43, 2] from Operation: 37-35=2 Current State: 36:[61, 43, 2], Operations: ['37-35=2'] Exploring Operation: 61-43=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 61-43=18 Current State: 36:[2, 18], Operations: ['37-35=2', '61-43=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[37, 35, 61, 43], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [37, 35, 18] Generated Node #0,0: 36:[37, 35, 18] Operation: 61-43=18 Moving to Node #0,0 Current State: 36:[37, 35, 18], Operations: ['61-43=18'] Exploring Operation: 37-35=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 36:[18, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 36:[18, 2], Operations: ['61-43=18', '37-35=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[37, 35, 61, 43], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [37, 35, 18] Generated Node #0,0: 36:[37, 35, 18] Operation: 61-43=18 Moving to Node #0,0 Current State: 36:[37, 35, 18], Operations: ['61-43=18'] Exploring Operation: 37-35=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 36:[18, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 36:[18, 2], Operations: ['61-43=18', '37-35=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 50, 15, 75, 64 ]
74
[ "50+15=65", "75+64=139", "139-65=74" ]
Current State: 74:[50, 15, 75, 64], Operations: [] Exploring Operation: 50+15=65, Resulting Numbers: [75, 64, 65] Generated Node #2: [75, 64, 65] from Operation: 50+15=65 Current State: 74:[75, 64, 65], Operations: ['50+15=65'] Exploring Operation: 75+64=139, Resulting Numbers: [65, 139] Generated Node #3: [65, 139] from Operation: 75+64=139 Current State: 74:[65, 139], Operations: ['50+15=65', '75+64=139'] Exploring Operation: 139-65=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[50, 15, 75, 64], Operations: [] Exploring Operation: 50-15=35, Resulting Numbers: [75, 64, 35] Generated Node #0,0: 74:[75, 64, 35] Operation: 50-15=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[75, 64, 35], Operations: ['50-15=35'] Exploring Operation: 64-35=29, Resulting Numbers: [75, 29] Generated Node #0,0,0: 74:[75, 29] Operation: 64-35=29 Moving to Node #0,0,0 Current State: 74:[75, 29], Operations: ['50-15=35', '64-35=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 84, 34, 38 ]
14
[ "4*34=136", "84+38=122", "136-122=14" ]
Current State: 14:[4, 84, 34, 38], Operations: [] Exploring Operation: 4*34=136, Resulting Numbers: [84, 38, 136] Generated Node #2: [84, 38, 136] from Operation: 4*34=136 Current State: 14:[84, 38, 136], Operations: ['4*34=136'] Exploring Operation: 84+38=122, Resulting Numbers: [136, 122] Generated Node #3: [136, 122] from Operation: 84+38=122 Current State: 14:[136, 122], Operations: ['4*34=136', '84+38=122'] Exploring Operation: 136-122=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[4, 84, 34, 38], Operations: [] Exploring Operation: 84-34=50, Resulting Numbers: [4, 38, 50] Generated Node #0,0: 14:[4, 38, 50] Operation: 84-34=50 Exploring Operation: 84-38=46, Resulting Numbers: [4, 34, 46] Generated Node #0,1: 14:[4, 34, 46] Operation: 84-38=46 Exploring Operation: 38-34=4, Resulting Numbers: [4, 84, 4] Generated Node #0,2: 14:[4, 84, 4] Operation: 38-34=4 Exploring Operation: 84/4=21, Resulting Numbers: [34, 38, 21] Generated Node #0,3: 14:[34, 38, 21] Operation: 84/4=21 Moving to Node #0,3 Current State: 14:[34, 38, 21], Operations: ['84/4=21'] Exploring Operation: 38-34=4, Resulting Numbers: [21, 4] Generated Node #0,3,0: 14:[21, 4] Operation: 38-34=4 Exploring Operation: 34-21=13, Resulting Numbers: [38, 13] Generated Node #0,3,1: 14:[38, 13] Operation: 34-21=13 Exploring Operation: 34+38=72, Resulting Numbers: [21, 72] Generated Node #0,3,2: 14:[21, 72] Operation: 34+38=72 Exploring Operation: 38-21=17, Resulting Numbers: [34, 17] Generated Node #0,3,3: 14:[34, 17] Operation: 38-21=17 Moving to Node #0,1 Current State: 14:[4, 34, 46], Operations: ['84-38=46'] Exploring Operation: 34-4=30, Resulting Numbers: [46, 30] Generated Node #0,1,0: 14:[46, 30] Operation: 34-4=30 Exploring Operation: 4+34=38, Resulting Numbers: [46, 38] Generated Node #0,1,1: 14:[46, 38] Operation: 4+34=38 Exploring Operation: 46-4=42, Resulting Numbers: [34, 42] Generated Node #0,1,2: 14:[34, 42] Operation: 46-4=42 Exploring Operation: 46-34=12, Resulting Numbers: [4, 12] Generated Node #0,1,3: 14:[4, 12] Operation: 46-34=12 Moving to Node #0,0 Current State: 14:[4, 38, 50], Operations: ['84-34=50'] Exploring Operation: 50-38=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 14:[4, 12] Operation: 50-38=12 Exploring Operation: 50-4=46, Resulting Numbers: [38, 46] Generated Node #0,0,1: 14:[38, 46] Operation: 50-4=46 Exploring Operation: 38-4=34, Resulting Numbers: [50, 34] Generated Node #0,0,2: 14:[50, 34] Operation: 38-4=34 Exploring Operation: 4+38=42, Resulting Numbers: [50, 42] Generated Node #0,0,3: 14:[50, 42] Operation: 4+38=42 Moving to Node #0,2 Current State: 14:[4, 84, 4], Operations: ['38-34=4'] Exploring Operation: 84/4=21, Resulting Numbers: [4, 21] Generated Node #0,2,0: 14:[4, 21] Operation: 84/4=21 Exploring Operation: 84-4=80, Resulting Numbers: [4, 80] Generated Node #0,2,1: 14:[4, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [4, 21] Generated Node #0,2,2: 14:[4, 21] Operation: 84/4=21 Exploring Operation: 84-4=80, Resulting Numbers: [4, 80] Generated Node #0,2,3: 14:[4, 80] Operation: 84-4=80 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[4, 21], Operations: ['38-34=4', '84/4=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,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,2,2 Current State: 14:[4, 21], Operations: ['38-34=4', '84/4=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,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,2,1 Current State: 14:[4, 80], Operations: ['38-34=4', '84-4=80'] Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,14 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,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,2,3 Current State: 14:[4, 80], Operations: ['38-34=4', '84-4=80'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 14:[4, 12], Operations: ['84-38=46', '46-34=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[4, 12], Operations: ['84-34=50', '50-38=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[21, 4], Operations: ['84/4=21', '38-34=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[34, 17], Operations: ['84/4=21', '38-21=17'] Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,14 unequal: No Solution 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 Moving to Node #0,3,1 Current State: 14:[38, 13], Operations: ['84/4=21', '34-21=13'] Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,14 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[34, 42], Operations: ['84-38=46', '46-4=42'] Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[46, 30], Operations: ['84-38=46', '34-4=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,14 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[38, 46], Operations: ['84-34=50', '50-4=46'] Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,14 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[50, 34], Operations: ['84-34=50', '38-4=34'] Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,14 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[46, 38], Operations: ['84-38=46', '4+34=38'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 46*38=1748, Resulting Numbers: [1748] 1748,14 unequal: No Solution Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[50, 42], Operations: ['84-34=50', '4+38=42'] Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,14 unequal: No Solution Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,14 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[21, 72], Operations: ['84/4=21', '34+38=72'] Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,14 unequal: No Solution Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,14 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 49, 15, 76, 8 ]
84
[ "49+15=64", "64/8=8", "76+8=84" ]
Current State: 84:[49, 15, 76, 8], Operations: [] Exploring Operation: 49+15=64, Resulting Numbers: [76, 8, 64] Generated Node #2: [76, 8, 64] from Operation: 49+15=64 Current State: 84:[76, 8, 64], Operations: ['49+15=64'] Exploring Operation: 64/8=8, Resulting Numbers: [76, 8] Generated Node #3: [76, 8] from Operation: 64/8=8 Current State: 84:[76, 8], Operations: ['49+15=64', '64/8=8'] Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[49, 15, 76, 8], Operations: [] Exploring Operation: 76-49=27, Resulting Numbers: [15, 8, 27] Generated Node #0,0: 84:[15, 8, 27] Operation: 76-49=27 Exploring Operation: 76+8=84, Resulting Numbers: [49, 15, 84] Generated Node #0,1: 84:[49, 15, 84] Operation: 76+8=84 Moving to Node #0,0 Current State: 84:[15, 8, 27], Operations: ['76-49=27'] Exploring Operation: 15-8=7, Resulting Numbers: [27, 7] Generated Node #0,0,0: 84:[27, 7] Operation: 15-8=7 Exploring Operation: 15+27=42, Resulting Numbers: [8, 42] Generated Node #0,0,1: 84:[8, 42] Operation: 15+27=42 Moving to Node #0,1 Current State: 84:[49, 15, 84], Operations: ['76+8=84'] Exploring Operation: 49-15=34, Resulting Numbers: [84, 34] Generated Node #0,1,0: 84:[84, 34] Operation: 49-15=34 Exploring Operation: 84-49=35, Resulting Numbers: [15, 35] Generated Node #0,1,1: 84:[15, 35] Operation: 84-49=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[84, 34], Operations: ['76+8=84', '49-15=34'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,84 unequal: No Solution No 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: 84:[15, 35], Operations: ['76+8=84', '84-49=35'] Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 84:[27, 7], Operations: ['76-49=27', '15-8=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[8, 42], Operations: ['76-49=27', '15+27=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,84 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 18, 51, 12, 2 ]
55
[ "18+51=69", "12+2=14", "69-14=55" ]
Current State: 55:[18, 51, 12, 2], Operations: [] Exploring Operation: 18+51=69, Resulting Numbers: [12, 2, 69] Generated Node #2: [12, 2, 69] from Operation: 18+51=69 Current State: 55:[12, 2, 69], Operations: ['18+51=69'] Exploring Operation: 12+2=14, Resulting Numbers: [69, 14] Generated Node #3: [69, 14] from Operation: 12+2=14 Current State: 55:[69, 14], Operations: ['18+51=69', '12+2=14'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[18, 51, 12, 2], Operations: [] Exploring Operation: 18-12=6, Resulting Numbers: [51, 2, 6] Generated Node #0,0: 55:[51, 2, 6] Operation: 18-12=6 Exploring Operation: 18/2=9, Resulting Numbers: [51, 12, 9] Generated Node #0,1: 55:[51, 12, 9] Operation: 18/2=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[51, 12, 9], Operations: ['18/2=9'] Exploring Operation: 51+9=60, Resulting Numbers: [12, 60] Generated Node #0,1,0: 55:[12, 60] Operation: 51+9=60 Exploring Operation: 12-9=3, Resulting Numbers: [51, 3] Generated Node #0,1,1: 55:[51, 3] Operation: 12-9=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[12, 60], Operations: ['18/2=9', '51+9=60'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,55 unequal: No Solution No 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: 55:[51, 3], Operations: ['18/2=9', '12-9=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[51, 2, 6], Operations: ['18-12=6'] Exploring Operation: 51+2=53, Resulting Numbers: [6, 53] Generated Node #0,0,0: 55:[6, 53] Operation: 51+2=53 Exploring Operation: 51+6=57, Resulting Numbers: [2, 57] Generated Node #0,0,1: 55:[2, 57] Operation: 51+6=57 Moving to Node #0,0,0 Current State: 55:[6, 53], Operations: ['18-12=6', '51+2=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[2, 57], Operations: ['18-12=6', '51+6=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[18, 51, 12, 2], Operations: [] Exploring Operation: 18-12=6, Resulting Numbers: [51, 2, 6] Generated Node #0,0: 55:[51, 2, 6] Operation: 18-12=6 Moving to Node #0,0 Current State: 55:[51, 2, 6], Operations: ['18-12=6'] Exploring Operation: 51+6=57, Resulting Numbers: [2, 57] Generated Node #0,0,1: 55:[2, 57] Operation: 51+6=57 Moving to Node #0,0,1 Current State: 55:[2, 57], Operations: ['18-12=6', '51+6=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 87, 84, 71, 42 ]
57
[ "87-84=3", "42/3=14", "71-14=57" ]
Current State: 57:[87, 84, 71, 42], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [71, 42, 3] Generated Node #2: [71, 42, 3] from Operation: 87-84=3 Current State: 57:[71, 42, 3], Operations: ['87-84=3'] Exploring Operation: 42/3=14, Resulting Numbers: [71, 14] Generated Node #3: [71, 14] from Operation: 42/3=14 Current State: 57:[71, 14], Operations: ['87-84=3', '42/3=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[87, 84, 71, 42], Operations: [] Exploring Operation: 87-71=16, Resulting Numbers: [84, 42, 16] Generated Node #0,0: 57:[84, 42, 16] Operation: 87-71=16 Exploring Operation: 87-84=3, Resulting Numbers: [71, 42, 3] Generated Node #0,1: 57:[71, 42, 3] Operation: 87-84=3 Exploring Operation: 84/42=2, Resulting Numbers: [87, 71, 2] Generated Node #0,2: 57:[87, 71, 2] Operation: 84/42=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[71, 42, 3], Operations: ['87-84=3'] Exploring Operation: 71-42=29, Resulting Numbers: [3, 29] Generated Node #0,1,0: 57:[3, 29] Operation: 71-42=29 Exploring Operation: 42/3=14, Resulting Numbers: [71, 14] Generated Node #0,1,1: 57:[71, 14] Operation: 42/3=14 Exploring Operation: 71-3=68, Resulting Numbers: [42, 68] Generated Node #0,1,2: 57:[42, 68] Operation: 71-3=68 Moving to Node #0,1,0 Current State: 57:[3, 29], Operations: ['87-84=3', '71-42=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,57 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[71, 14], Operations: ['87-84=3', '42/3=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[87, 84, 71, 42], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [71, 42, 3] Generated Node #0,1: 57:[71, 42, 3] Operation: 87-84=3 Moving to Node #0,1 Current State: 57:[71, 42, 3], Operations: ['87-84=3'] Exploring Operation: 42/3=14, Resulting Numbers: [71, 14] Generated Node #0,1,1: 57:[71, 14] Operation: 42/3=14 Moving to Node #0,1,1 Current State: 57:[71, 14], Operations: ['87-84=3', '42/3=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 69, 91, 34, 39 ]
95
[ "91-69=22", "34+39=73", "22+73=95" ]
Current State: 95:[69, 91, 34, 39], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [34, 39, 22] Generated Node #2: [34, 39, 22] from Operation: 91-69=22 Current State: 95:[34, 39, 22], Operations: ['91-69=22'] Exploring Operation: 34+39=73, Resulting Numbers: [22, 73] Generated Node #3: [22, 73] from Operation: 34+39=73 Current State: 95:[22, 73], Operations: ['91-69=22', '34+39=73'] Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[69, 91, 34, 39], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [91, 34, 30] Generated Node #0,0: 95:[91, 34, 30] Operation: 69-39=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[91, 34, 30], Operations: ['69-39=30'] Exploring Operation: 34-30=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 95:[91, 4] Operation: 34-30=4 Moving to Node #0,0,0 Current State: 95:[91, 4], Operations: ['69-39=30', '34-30=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[69, 91, 34, 39], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [91, 34, 30] Generated Node #0,0: 95:[91, 34, 30] Operation: 69-39=30 Moving to Node #0,0 Current State: 95:[91, 34, 30], Operations: ['69-39=30'] Exploring Operation: 34-30=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 95:[91, 4] Operation: 34-30=4 Moving to Node #0,0,0 Current State: 95:[91, 4], Operations: ['69-39=30', '34-30=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 56, 87, 7, 17 ]
98
[ "87-56=31", "31-17=14", "7*14=98" ]
Current State: 98:[56, 87, 7, 17], Operations: [] Exploring Operation: 87-56=31, Resulting Numbers: [7, 17, 31] Generated Node #2: [7, 17, 31] from Operation: 87-56=31 Current State: 98:[7, 17, 31], Operations: ['87-56=31'] Exploring Operation: 31-17=14, Resulting Numbers: [7, 14] Generated Node #3: [7, 14] from Operation: 31-17=14 Current State: 98:[7, 14], Operations: ['87-56=31', '31-17=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[56, 87, 7, 17], Operations: [] Exploring Operation: 56-7=49, Resulting Numbers: [87, 17, 49] Generated Node #0,0: 98:[87, 17, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [87, 17, 8] Generated Node #0,1: 98:[87, 17, 8] Operation: 56/7=8 Exploring Operation: 87+7=94, Resulting Numbers: [56, 17, 94] Generated Node #0,2: 98:[56, 17, 94] Operation: 87+7=94 Exploring Operation: 87+17=104, Resulting Numbers: [56, 7, 104] Generated Node #0,3: 98:[56, 7, 104] Operation: 87+17=104 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[56, 7, 104], Operations: ['87+17=104'] Exploring Operation: 104-56=48, Resulting Numbers: [7, 48] Generated Node #0,3,0: 98:[7, 48] Operation: 104-56=48 Exploring Operation: 104-7=97, Resulting Numbers: [56, 97] Generated Node #0,3,1: 98:[56, 97] Operation: 104-7=97 Exploring Operation: 56-7=49, Resulting Numbers: [104, 49] Generated Node #0,3,2: 98:[104, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [104, 8] Generated Node #0,3,3: 98:[104, 8] Operation: 56/7=8 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 98:[7, 48], Operations: ['87+17=104', '104-56=48'] Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,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,3,2 Current State: 98:[104, 49], Operations: ['87+17=104', '56-7=49'] Exploring Operation: 104*49=5096, Resulting Numbers: [5096] 5096,98 unequal: No Solution Exploring Operation: 104+49=153, Resulting Numbers: [153] 153,98 unequal: No Solution Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,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,3,3 Current State: 98:[104, 8], Operations: ['87+17=104', '56/7=8'] Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 104+8=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 104*8=832, Resulting Numbers: [832] 832,98 unequal: No Solution Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,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,3,1 Current State: 98:[56, 97], Operations: ['87+17=104', '104-7=97'] Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 56*97=5432, Resulting Numbers: [5432] 5432,98 unequal: No Solution Exploring Operation: 56+97=153, Resulting Numbers: [153] 153,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,0 Current State: 98:[87, 17, 49], Operations: ['56-7=49'] Exploring Operation: 87-17=70, Resulting Numbers: [49, 70] Generated Node #0,0,0: 98:[49, 70] Operation: 87-17=70 Exploring Operation: 87+17=104, Resulting Numbers: [49, 104] Generated Node #0,0,1: 98:[49, 104] Operation: 87+17=104 Exploring Operation: 17+49=66, Resulting Numbers: [87, 66] Generated Node #0,0,2: 98:[87, 66] Operation: 17+49=66 Exploring Operation: 87-49=38, Resulting Numbers: [17, 38] Generated Node #0,0,3: 98:[17, 38] Operation: 87-49=38 Moving to Node #0,0,1 Current State: 98:[49, 104], Operations: ['56-7=49', '87+17=104'] Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 49+104=153, Resulting Numbers: [153] 153,98 unequal: No Solution Exploring Operation: 49*104=5096, Resulting Numbers: [5096] 5096,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[17, 38], Operations: ['56-7=49', '87-49=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,98 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[49, 70], Operations: ['56-7=49', '87-17=70'] Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 49*70=3430, Resulting Numbers: [3430] 3430,98 unequal: No Solution Exploring Operation: 49+70=119, Resulting Numbers: [119] 119,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[87, 66], Operations: ['56-7=49', '17+49=66'] Exploring Operation: 87+66=153, Resulting Numbers: [153] 153,98 unequal: No Solution Exploring Operation: 87*66=5742, Resulting Numbers: [5742] 5742,98 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,98 unequal: No Solution No 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: 98:[56, 17, 94], Operations: ['87+7=94'] Exploring Operation: 17+94=111, Resulting Numbers: [56, 111] Generated Node #0,2,0: 98:[56, 111] Operation: 17+94=111 Exploring Operation: 56+17=73, Resulting Numbers: [94, 73] Generated Node #0,2,1: 98:[94, 73] Operation: 56+17=73 Exploring Operation: 94-56=38, Resulting Numbers: [17, 38] Generated Node #0,2,2: 98:[17, 38] Operation: 94-56=38 Exploring Operation: 56-17=39, Resulting Numbers: [94, 39] Generated Node #0,2,3: 98:[94, 39] Operation: 56-17=39 Moving to Node #0,2,2 Current State: 98:[17, 38], Operations: ['87+7=94', '94-56=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,98 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[94, 39], Operations: ['87+7=94', '56-17=39'] Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,98 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[56, 111], Operations: ['87+7=94', '17+94=111'] Exploring Operation: 111-56=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 56+111=167, Resulting Numbers: [167] 167,98 unequal: No Solution Exploring Operation: 56*111=6216, Resulting Numbers: [6216] 6216,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[94, 73], Operations: ['87+7=94', '56+17=73'] Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 94*73=6862, Resulting Numbers: [6862] 6862,98 unequal: No Solution Exploring Operation: 94+73=167, Resulting Numbers: [167] 167,98 unequal: No Solution No 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:[87, 17, 8], Operations: ['56/7=8'] Exploring Operation: 87+17=104, Resulting Numbers: [8, 104] Generated Node #0,1,0: 98:[8, 104] Operation: 87+17=104 Exploring Operation: 87+8=95, Resulting Numbers: [17, 95] Generated Node #0,1,1: 98:[17, 95] Operation: 87+8=95 Exploring Operation: 87-17=70, Resulting Numbers: [8, 70] Generated Node #0,1,2: 98:[8, 70] Operation: 87-17=70 Exploring Operation: 17-8=9, Resulting Numbers: [87, 9] Generated Node #0,1,3: 98:[87, 9] Operation: 17-8=9 Moving to Node #0,1,1 Current State: 98:[17, 95], Operations: ['56/7=8', '87+8=95'] Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,98 unequal: No Solution Exploring Operation: 17*95=1615, Resulting Numbers: [1615] 1615,98 unequal: No Solution Exploring Operation: 17+95=112, Resulting Numbers: [112] 112,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[8, 104], Operations: ['56/7=8', '87+17=104'] Exploring Operation: 8+104=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 8*104=832, Resulting Numbers: [832] 832,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[87, 9], Operations: ['56/7=8', '17-8=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,98 unequal: No Solution Exploring Operation: 87*9=783, Resulting Numbers: [783] 783,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[8, 70], Operations: ['56/7=8', '87-17=70'] Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,98 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,98 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,98 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
[ 4, 90, 76, 37 ]
66
[ "76-37=39", "4*39=156", "156-90=66" ]
Current State: 66:[4, 90, 76, 37], Operations: [] Exploring Operation: 76-37=39, Resulting Numbers: [4, 90, 39] Generated Node #2: [4, 90, 39] from Operation: 76-37=39 Current State: 66:[4, 90, 39], Operations: ['76-37=39'] Exploring Operation: 4*39=156, Resulting Numbers: [90, 156] Generated Node #3: [90, 156] from Operation: 4*39=156 Current State: 66:[90, 156], Operations: ['76-37=39', '4*39=156'] Exploring Operation: 156-90=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[4, 90, 76, 37], Operations: [] Exploring Operation: 90-4=86, Resulting Numbers: [76, 37, 86] Generated Node #0,0: 66:[76, 37, 86] Operation: 90-4=86 Exploring Operation: 90-37=53, Resulting Numbers: [4, 76, 53] Generated Node #0,1: 66:[4, 76, 53] Operation: 90-37=53 Exploring Operation: 76-37=39, Resulting Numbers: [4, 90, 39] Generated Node #0,2: 66:[4, 90, 39] Operation: 76-37=39 Exploring Operation: 76/4=19, Resulting Numbers: [90, 37, 19] Generated Node #0,3: 66:[90, 37, 19] Operation: 76/4=19 Exploring Operation: 90-76=14, Resulting Numbers: [4, 37, 14] Generated Node #0,4: 66:[4, 37, 14] Operation: 90-76=14 Moving to Node #0,4 Current State: 66:[4, 37, 14], Operations: ['90-76=14'] Exploring Operation: 37-14=23, Resulting Numbers: [4, 23] Generated Node #0,4,0: 66:[4, 23] Operation: 37-14=23 Exploring Operation: 4+14=18, Resulting Numbers: [37, 18] Generated Node #0,4,1: 66:[37, 18] Operation: 4+14=18 Exploring Operation: 14-4=10, Resulting Numbers: [37, 10] Generated Node #0,4,2: 66:[37, 10] Operation: 14-4=10 Exploring Operation: 37-4=33, Resulting Numbers: [14, 33] Generated Node #0,4,3: 66:[14, 33] Operation: 37-4=33 Exploring Operation: 4+37=41, Resulting Numbers: [14, 41] Generated Node #0,4,4: 66:[14, 41] Operation: 4+37=41 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 66:[4, 23], Operations: ['90-76=14', '37-14=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 66:[14, 33], Operations: ['90-76=14', '37-4=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,66 unequal: No Solution Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 66:[37, 10], Operations: ['90-76=14', '14-4=10'] Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,66 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 66:[37, 18], Operations: ['90-76=14', '4+14=18'] Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,66 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 66:[14, 41], Operations: ['90-76=14', '4+37=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,66 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,66 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: 66:[4, 76, 53], Operations: ['90-37=53'] Exploring Operation: 76-53=23, Resulting Numbers: [4, 23] Generated Node #0,1,0: 66:[4, 23] Operation: 76-53=23 Exploring Operation: 76-4=72, Resulting Numbers: [53, 72] Generated Node #0,1,1: 66:[53, 72] Operation: 76-4=72 Exploring Operation: 4+53=57, Resulting Numbers: [76, 57] Generated Node #0,1,2: 66:[76, 57] Operation: 4+53=57 Exploring Operation: 76/4=19, Resulting Numbers: [53, 19] Generated Node #0,1,3: 66:[53, 19] Operation: 76/4=19 Exploring Operation: 53-4=49, Resulting Numbers: [76, 49] Generated Node #0,1,4: 66:[76, 49] Operation: 53-4=49 Moving to Node #0,2 Current State: 66:[4, 90, 39], Operations: ['76-37=39'] Exploring Operation: 39-4=35, Resulting Numbers: [90, 35] Generated Node #0,2,0: 66:[90, 35] Operation: 39-4=35 Exploring Operation: 90-4=86, Resulting Numbers: [39, 86] Generated Node #0,2,1: 66:[39, 86] Operation: 90-4=86 Exploring Operation: 4+39=43, Resulting Numbers: [90, 43] Generated Node #0,2,2: 66:[90, 43] Operation: 4+39=43 Exploring Operation: 90-39=51, Resulting Numbers: [4, 51] Generated Node #0,2,3: 66:[4, 51] Operation: 90-39=51 Exploring Operation: 4+90=94, Resulting Numbers: [39, 94] Generated Node #0,2,4: 66:[39, 94] Operation: 4+90=94 Moving to Node #0,3 Current State: 66:[90, 37, 19], Operations: ['76/4=19'] Exploring Operation: 37+19=56, Resulting Numbers: [90, 56] Generated Node #0,3,0: 66:[90, 56] Operation: 37+19=56 Exploring Operation: 90-37=53, Resulting Numbers: [19, 53] Generated Node #0,3,1: 66:[19, 53] Operation: 90-37=53 Exploring Operation: 90+19=109, Resulting Numbers: [37, 109] Generated Node #0,3,2: 66:[37, 109] Operation: 90+19=109 Exploring Operation: 90-19=71, Resulting Numbers: [37, 71] Generated Node #0,3,3: 66:[37, 71] Operation: 90-19=71 Exploring Operation: 37-19=18, Resulting Numbers: [90, 18] Generated Node #0,3,4: 66:[90, 18] Operation: 37-19=18 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 66:[37, 71], Operations: ['76/4=19', '90-19=71'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 37+71=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 37*71=2627, Resulting Numbers: [2627] 2627,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[19, 53], Operations: ['76/4=19', '90-37=53'] Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,66 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,66 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 66:[90, 18], Operations: ['76/4=19', '37-19=18'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,66 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[90, 56], Operations: ['76/4=19', '37+19=56'] Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 90*56=5040, Resulting Numbers: [5040] 5040,66 unequal: No Solution Exploring Operation: 90+56=146, Resulting Numbers: [146] 146,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[37, 109], Operations: ['76/4=19', '90+19=109'] Exploring Operation: 37*109=4033, Resulting Numbers: [4033] 4033,66 unequal: No Solution Exploring Operation: 37+109=146, Resulting Numbers: [146] 146,66 unequal: No Solution Exploring Operation: 109-37=72, Resulting Numbers: [72] 72,66 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: 66:[76, 37, 86], Operations: ['90-4=86'] Exploring Operation: 86-37=49, Resulting Numbers: [76, 49] Generated Node #0,0,0: 66:[76, 49] Operation: 86-37=49 Exploring Operation: 76+37=113, Resulting Numbers: [86, 113] Generated Node #0,0,1: 66:[86, 113] Operation: 76+37=113 Exploring Operation: 37+86=123, Resulting Numbers: [76, 123] Generated Node #0,0,2: 66:[76, 123] Operation: 37+86=123 Exploring Operation: 86-76=10, Resulting Numbers: [37, 10] Generated Node #0,0,3: 66:[37, 10] Operation: 86-76=10 Exploring Operation: 76-37=39, Resulting Numbers: [86, 39] Generated Node #0,0,4: 66:[86, 39] Operation: 76-37=39 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[37, 10], Operations: ['90-4=86', '86-76=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,66 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[76, 49], Operations: ['90-4=86', '86-37=49'] Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 66:[86, 39], Operations: ['90-4=86', '76-37=39'] Exploring Operation: 86*39=3354, Resulting Numbers: [3354] 3354,66 unequal: No Solution Exploring Operation: 86+39=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[86, 113], Operations: ['90-4=86', '76+37=113'] Exploring Operation: 86+113=199, Resulting Numbers: [199] 199,66 unequal: No Solution Exploring Operation: 86*113=9718, Resulting Numbers: [9718] 9718,66 unequal: No Solution Exploring Operation: 113-86=27, Resulting Numbers: [27] 27,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[76, 123], Operations: ['90-4=86', '37+86=123'] Exploring Operation: 76+123=199, Resulting Numbers: [199] 199,66 unequal: No Solution Exploring Operation: 76*123=9348, Resulting Numbers: [9348] 9348,66 unequal: No Solution Exploring Operation: 123-76=47, Resulting Numbers: [47] 47,66 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: 66:[4, 23], Operations: ['90-37=53', '76-53=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,66 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[4, 51], Operations: ['76-37=39', '90-39=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,66 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[53, 19], Operations: ['90-37=53', '76/4=19'] Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,66 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,66 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[53, 72], Operations: ['90-37=53', '76-4=72'] Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 53*72=3816, Resulting Numbers: [3816] 3816,66 unequal: No Solution Exploring Operation: 53+72=125, Resulting Numbers: [125] 125,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[76, 57], Operations: ['90-37=53', '4+53=57'] Exploring Operation: 76*57=4332, Resulting Numbers: [4332] 4332,66 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[90, 35], Operations: ['76-37=39', '39-4=35'] Exploring Operation: 90*35=3150, Resulting Numbers: [3150] 3150,66 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 90+35=125, Resulting Numbers: [125] 125,66 unequal: No Solution Moving to Node #0,1,4 Current State: 66:[76, 49], Operations: ['90-37=53', '53-4=49'] Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,66 unequal: No Solution Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[39, 86], Operations: ['76-37=39', '90-4=86'] Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 39+86=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 39*86=3354, Resulting Numbers: [3354] 3354,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[90, 43], Operations: ['76-37=39', '4+39=43'] Exploring Operation: 90+43=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 90*43=3870, Resulting Numbers: [3870] 3870,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[39, 94], Operations: ['76-37=39', '4+90=94'] Exploring Operation: 39+94=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 39*94=3666, Resulting Numbers: [3666] 3666,66 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 8, 2, 34 ]
66
[ "22+8=30", "2+34=36", "30+36=66" ]
Current State: 66:[22, 8, 2, 34], Operations: [] Exploring Operation: 22+8=30, Resulting Numbers: [2, 34, 30] Generated Node #2: [2, 34, 30] from Operation: 22+8=30 Current State: 66:[2, 34, 30], Operations: ['22+8=30'] Exploring Operation: 2+34=36, Resulting Numbers: [30, 36] Generated Node #3: [30, 36] from Operation: 2+34=36 Current State: 66:[30, 36], Operations: ['22+8=30', '2+34=36'] Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[22, 8, 2, 34], Operations: [] Exploring Operation: 8-2=6, Resulting Numbers: [22, 34, 6] Generated Node #0,0: 66:[22, 34, 6] Operation: 8-2=6 Exploring Operation: 34-22=12, Resulting Numbers: [8, 2, 12] Generated Node #0,1: 66:[8, 2, 12] Operation: 34-22=12 Exploring Operation: 8/2=4, Resulting Numbers: [22, 34, 4] Generated Node #0,2: 66:[22, 34, 4] Operation: 8/2=4 Exploring Operation: 8+2=10, Resulting Numbers: [22, 34, 10] Generated Node #0,3: 66:[22, 34, 10] Operation: 8+2=10 Exploring Operation: 22/2=11, Resulting Numbers: [8, 34, 11] Generated Node #0,4: 66:[8, 34, 11] Operation: 22/2=11 Moving to Node #0,0 Current State: 66:[22, 34, 6], Operations: ['8-2=6'] Exploring Operation: 34-22=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 66:[6, 12] Operation: 34-22=12 Exploring Operation: 34-6=28, Resulting Numbers: [22, 28] Generated Node #0,0,1: 66:[22, 28] Operation: 34-6=28 Exploring Operation: 22+6=28, Resulting Numbers: [34, 28] Generated Node #0,0,2: 66:[34, 28] Operation: 22+6=28 Exploring Operation: 34+6=40, Resulting Numbers: [22, 40] Generated Node #0,0,3: 66:[22, 40] Operation: 34+6=40 Exploring Operation: 22-6=16, Resulting Numbers: [34, 16] Generated Node #0,0,4: 66:[34, 16] Operation: 22-6=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[6, 12], Operations: ['8-2=6', '34-22=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,66 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[22, 28], Operations: ['8-2=6', '34-6=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,66 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[34, 28], Operations: ['8-2=6', '22+6=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,66 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 66:[34, 16], Operations: ['8-2=6', '22-6=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[22, 40], Operations: ['8-2=6', '34+6=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,66 unequal: No Solution Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,66 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,66 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: 66:[22, 34, 10], Operations: ['8+2=10'] Exploring Operation: 22+10=32, Resulting Numbers: [34, 32] Generated Node #0,3,0: 66:[34, 32] Operation: 22+10=32 Exploring Operation: 34-10=24, Resulting Numbers: [22, 24] Generated Node #0,3,1: 66:[22, 24] Operation: 34-10=24 Exploring Operation: 22-10=12, Resulting Numbers: [34, 12] Generated Node #0,3,2: 66:[34, 12] Operation: 22-10=12 Exploring Operation: 22+34=56, Resulting Numbers: [10, 56] Generated Node #0,3,3: 66:[10, 56] Operation: 22+34=56 Exploring Operation: 34-22=12, Resulting Numbers: [10, 12] Generated Node #0,3,4: 66:[10, 12] Operation: 34-22=12 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[34, 32], Operations: ['8+2=10', '22+10=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[22, 8, 2, 34], Operations: [] Exploring Operation: 8+2=10, Resulting Numbers: [22, 34, 10] Generated Node #0,3: 66:[22, 34, 10] Operation: 8+2=10 Moving to Node #0,3 Current State: 66:[22, 34, 10], Operations: ['8+2=10'] Exploring Operation: 22+10=32, Resulting Numbers: [34, 32] Generated Node #0,3,0: 66:[34, 32] Operation: 22+10=32 Moving to Node #0,3,0 Current State: 66:[34, 32], Operations: ['8+2=10', '22+10=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 24, 51, 82, 55 ]
14
[ "55-51=4", "24*4=96", "96-82=14" ]
Current State: 14:[24, 51, 82, 55], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [24, 82, 4] Generated Node #2: [24, 82, 4] from Operation: 55-51=4 Current State: 14:[24, 82, 4], Operations: ['55-51=4'] Exploring Operation: 24*4=96, Resulting Numbers: [82, 96] Generated Node #3: [82, 96] from Operation: 24*4=96 Current State: 14:[82, 96], Operations: ['55-51=4', '24*4=96'] Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[24, 51, 82, 55], Operations: [] Exploring Operation: 82-55=27, Resulting Numbers: [24, 51, 27] Generated Node #0,0: 14:[24, 51, 27] Operation: 82-55=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[24, 51, 27], Operations: ['82-55=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 14:[24, 24] Operation: 51-27=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[24, 24], Operations: ['82-55=27', '51-27=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 14, 85, 68 ]
65
[ "96-14=82", "85-68=17", "82-17=65" ]
Current State: 65:[96, 14, 85, 68], Operations: [] Exploring Operation: 96-14=82, Resulting Numbers: [85, 68, 82] Generated Node #2: [85, 68, 82] from Operation: 96-14=82 Current State: 65:[85, 68, 82], Operations: ['96-14=82'] Exploring Operation: 85-68=17, Resulting Numbers: [82, 17] Generated Node #3: [82, 17] from Operation: 85-68=17 Current State: 65:[82, 17], Operations: ['96-14=82', '85-68=17'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[96, 14, 85, 68], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [14, 68, 11] Generated Node #0,0: 65:[14, 68, 11] Operation: 96-85=11 Exploring Operation: 96-68=28, Resulting Numbers: [14, 85, 28] Generated Node #0,1: 65:[14, 85, 28] Operation: 96-68=28 Exploring Operation: 85-68=17, Resulting Numbers: [96, 14, 17] Generated Node #0,2: 65:[96, 14, 17] Operation: 85-68=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[14, 68, 11], Operations: ['96-85=11'] Exploring Operation: 68-14=54, Resulting Numbers: [11, 54] Generated Node #0,0,0: 65:[11, 54] Operation: 68-14=54 Exploring Operation: 68-11=57, Resulting Numbers: [14, 57] Generated Node #0,0,1: 65:[14, 57] Operation: 68-11=57 Exploring Operation: 14-11=3, Resulting Numbers: [68, 3] Generated Node #0,0,2: 65:[68, 3] Operation: 14-11=3 Moving to Node #0,0,2 Current State: 65:[68, 3], Operations: ['96-85=11', '14-11=3'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[96, 14, 85, 68], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [14, 68, 11] Generated Node #0,0: 65:[14, 68, 11] Operation: 96-85=11 Moving to Node #0,0 Current State: 65:[14, 68, 11], Operations: ['96-85=11'] Exploring Operation: 14-11=3, Resulting Numbers: [68, 3] Generated Node #0,0,2: 65:[68, 3] Operation: 14-11=3 Moving to Node #0,0,2 Current State: 65:[68, 3], Operations: ['96-85=11', '14-11=3'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 83, 93, 56, 91 ]
45
[ "93-83=10", "91-56=35", "10+35=45" ]
Current State: 45:[83, 93, 56, 91], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [56, 91, 10] Generated Node #2: [56, 91, 10] from Operation: 93-83=10 Current State: 45:[56, 91, 10], Operations: ['93-83=10'] Exploring Operation: 91-56=35, Resulting Numbers: [10, 35] Generated Node #3: [10, 35] from Operation: 91-56=35 Current State: 45:[10, 35], Operations: ['93-83=10', '91-56=35'] Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[83, 93, 56, 91], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [83, 56, 2] Generated Node #0,0: 45:[83, 56, 2] Operation: 93-91=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[83, 56, 2], Operations: ['93-91=2'] Exploring Operation: 83-56=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 45:[2, 27] Operation: 83-56=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[2, 27], Operations: ['93-91=2', '83-56=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 96, 16, 21, 12 ]
13
[ "96/12=8", "21-16=5", "8+5=13" ]
Current State: 13:[96, 16, 21, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [16, 21, 8] Generated Node #2: [16, 21, 8] from Operation: 96/12=8 Current State: 13:[16, 21, 8], Operations: ['96/12=8'] Exploring Operation: 21-16=5, Resulting Numbers: [8, 5] Generated Node #3: [8, 5] from Operation: 21-16=5 Current State: 13:[8, 5], Operations: ['96/12=8', '21-16=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[96, 16, 21, 12], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [21, 12, 6] Generated Node #0,0: 13:[21, 12, 6] Operation: 96/16=6 Exploring Operation: 96/12=8, Resulting Numbers: [16, 21, 8] Generated Node #0,1: 13:[16, 21, 8] Operation: 96/12=8 Moving to Node #0,0 Current State: 13:[21, 12, 6], Operations: ['96/16=6'] Exploring Operation: 21-6=15, Resulting Numbers: [12, 15] Generated Node #0,0,0: 13:[12, 15] Operation: 21-6=15 Exploring Operation: 21-12=9, Resulting Numbers: [6, 9] Generated Node #0,0,1: 13:[6, 9] Operation: 21-12=9 Moving to Node #0,1 Current State: 13:[16, 21, 8], Operations: ['96/12=8'] Exploring Operation: 21-8=13, Resulting Numbers: [16, 13] Generated Node #0,1,0: 13:[16, 13] Operation: 21-8=13 Exploring Operation: 21-16=5, Resulting Numbers: [8, 5] Generated Node #0,1,1: 13:[8, 5] Operation: 21-16=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[16, 13], Operations: ['96/12=8', '21-8=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[8, 5], Operations: ['96/12=8', '21-16=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[96, 16, 21, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [16, 21, 8] Generated Node #0,1: 13:[16, 21, 8] Operation: 96/12=8 Moving to Node #0,1 Current State: 13:[16, 21, 8], Operations: ['96/12=8'] Exploring Operation: 21-16=5, Resulting Numbers: [8, 5] Generated Node #0,1,1: 13:[8, 5] Operation: 21-16=5 Moving to Node #0,1,1 Current State: 13:[8, 5], Operations: ['96/12=8', '21-16=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
sum_heuristic
[ 26, 13, 91, 53 ]
23
[ "13*53=689", "689-91=598", "598/26=23" ]
Current State: 23:[26, 13, 91, 53], Operations: [] Exploring Operation: 13*53=689, Resulting Numbers: [26, 91, 689] Generated Node #2: [26, 91, 689] from Operation: 13*53=689 Current State: 23:[26, 91, 689], Operations: ['13*53=689'] Exploring Operation: 689-91=598, Resulting Numbers: [26, 598] Generated Node #3: [26, 598] from Operation: 689-91=598 Current State: 23:[26, 598], Operations: ['13*53=689', '689-91=598'] Exploring Operation: 598/26=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[26, 13, 91, 53], Operations: [] Exploring Operation: 91-26=65, Resulting Numbers: [13, 53, 65] Generated Node #0,0: 23:[13, 53, 65] Operation: 91-26=65 Exploring Operation: 53-26=27, Resulting Numbers: [13, 91, 27] Generated Node #0,1: 23:[13, 91, 27] Operation: 53-26=27 Exploring Operation: 91-53=38, Resulting Numbers: [26, 13, 38] Generated Node #0,2: 23:[26, 13, 38] Operation: 91-53=38 Exploring Operation: 91-13=78, Resulting Numbers: [26, 53, 78] Generated Node #0,3: 23:[26, 53, 78] Operation: 91-13=78 Exploring Operation: 91/13=7, Resulting Numbers: [26, 53, 7] Generated Node #0,4: 23:[26, 53, 7] Operation: 91/13=7 Moving to Node #0,2 Current State: 23:[26, 13, 38], Operations: ['91-53=38'] Exploring Operation: 38-13=25, Resulting Numbers: [26, 25] Generated Node #0,2,0: 23:[26, 25] Operation: 38-13=25 Exploring Operation: 26+13=39, Resulting Numbers: [38, 39] Generated Node #0,2,1: 23:[38, 39] Operation: 26+13=39 Exploring Operation: 38-26=12, Resulting Numbers: [13, 12] Generated Node #0,2,2: 23:[13, 12] Operation: 38-26=12 Exploring Operation: 26-13=13, Resulting Numbers: [38, 13] Generated Node #0,2,3: 23:[38, 13] Operation: 26-13=13 Exploring Operation: 13+38=51, Resulting Numbers: [26, 51] Generated Node #0,2,4: 23:[26, 51] Operation: 13+38=51 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[26, 25], Operations: ['91-53=38', '38-13=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,23 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,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,2,2 Current State: 23:[13, 12], Operations: ['91-53=38', '38-26=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,23 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,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,2,3 Current State: 23:[38, 13], Operations: ['91-53=38', '26-13=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,23 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,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,2,1 Current State: 23:[38, 39], Operations: ['91-53=38', '26+13=39'] Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,23 unequal: No Solution Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 38*39=1482, Resulting Numbers: [1482] 1482,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,2,4 Current State: 23:[26, 51], Operations: ['91-53=38', '13+38=51'] Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,23 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,23 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: 23:[26, 53, 7], Operations: ['91/13=7'] Exploring Operation: 53+7=60, Resulting Numbers: [26, 60] Generated Node #0,4,0: 23:[26, 60] Operation: 53+7=60 Exploring Operation: 26+7=33, Resulting Numbers: [53, 33] Generated Node #0,4,1: 23:[53, 33] Operation: 26+7=33 Exploring Operation: 26-7=19, Resulting Numbers: [53, 19] Generated Node #0,4,2: 23:[53, 19] Operation: 26-7=19 Exploring Operation: 53-26=27, Resulting Numbers: [7, 27] Generated Node #0,4,3: 23:[7, 27] Operation: 53-26=27 Exploring Operation: 53-7=46, Resulting Numbers: [26, 46] Generated Node #0,4,4: 23:[26, 46] Operation: 53-7=46 Moving to Node #0,0 Current State: 23:[13, 53, 65], Operations: ['91-26=65'] Exploring Operation: 65-13=52, Resulting Numbers: [53, 52] Generated Node #0,0,0: 23:[53, 52] Operation: 65-13=52 Exploring Operation: 13+53=66, Resulting Numbers: [65, 66] Generated Node #0,0,1: 23:[65, 66] Operation: 13+53=66 Exploring Operation: 65/13=5, Resulting Numbers: [53, 5] Generated Node #0,0,2: 23:[53, 5] Operation: 65/13=5 Exploring Operation: 53-13=40, Resulting Numbers: [65, 40] Generated Node #0,0,3: 23:[65, 40] Operation: 53-13=40 Exploring Operation: 65-53=12, Resulting Numbers: [13, 12] Generated Node #0,0,4: 23:[13, 12] Operation: 65-53=12 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[13, 12], Operations: ['91-26=65', '65-53=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,23 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,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,0,2 Current State: 23:[53, 5], Operations: ['91-26=65', '65/13=5'] Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,23 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,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,0,0 Current State: 23:[53, 52], Operations: ['91-26=65', '65-13=52'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,23 unequal: No Solution Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,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,0,3 Current State: 23:[65, 40], Operations: ['91-26=65', '53-13=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,23 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,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,0,1 Current State: 23:[65, 66], Operations: ['91-26=65', '13+53=66'] Exploring Operation: 65*66=4290, Resulting Numbers: [4290] 4290,23 unequal: No Solution Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 65+66=131, Resulting Numbers: [131] 131,23 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: 23:[13, 91, 27], Operations: ['53-26=27'] Exploring Operation: 13+91=104, Resulting Numbers: [27, 104] Generated Node #0,1,0: 23:[27, 104] Operation: 13+91=104 Exploring Operation: 27-13=14, Resulting Numbers: [91, 14] Generated Node #0,1,1: 23:[91, 14] Operation: 27-13=14 Exploring Operation: 91/13=7, Resulting Numbers: [27, 7] Generated Node #0,1,2: 23:[27, 7] Operation: 91/13=7 Exploring Operation: 91-13=78, Resulting Numbers: [27, 78] Generated Node #0,1,3: 23:[27, 78] Operation: 91-13=78 Exploring Operation: 91-27=64, Resulting Numbers: [13, 64] Generated Node #0,1,4: 23:[13, 64] Operation: 91-27=64 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[27, 7], Operations: ['53-26=27', '91/13=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,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,4 Current State: 23:[13, 64], Operations: ['53-26=27', '91-27=64'] Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 13*64=832, Resulting Numbers: [832] 832,23 unequal: No Solution Exploring Operation: 13+64=77, Resulting Numbers: [77] 77,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,3 Current State: 23:[27, 78], Operations: ['53-26=27', '91-13=78'] Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,23 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,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:[91, 14], Operations: ['53-26=27', '27-13=14'] Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,23 unequal: No Solution Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,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,0 Current State: 23:[27, 104], Operations: ['53-26=27', '13+91=104'] Exploring Operation: 27*104=2808, Resulting Numbers: [2808] 2808,23 unequal: No Solution Exploring Operation: 27+104=131, Resulting Numbers: [131] 131,23 unequal: No Solution Exploring Operation: 104-27=77, Resulting Numbers: [77] 77,23 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: 23:[26, 53, 78], Operations: ['91-13=78'] Exploring Operation: 78-26=52, Resulting Numbers: [53, 52] Generated Node #0,3,0: 23:[53, 52] Operation: 78-26=52 Exploring Operation: 53-26=27, Resulting Numbers: [78, 27] Generated Node #0,3,1: 23:[78, 27] Operation: 53-26=27 Exploring Operation: 78/26=3, Resulting Numbers: [53, 3] Generated Node #0,3,2: 23:[53, 3] Operation: 78/26=3 Exploring Operation: 78-53=25, Resulting Numbers: [26, 25] Generated Node #0,3,3: 23:[26, 25] Operation: 78-53=25 Exploring Operation: 26+53=79, Resulting Numbers: [78, 79] Generated Node #0,3,4: 23:[78, 79] Operation: 26+53=79 Moving to Node #0,3,3 Current State: 23:[26, 25], Operations: ['91-13=78', '78-53=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[7, 27], Operations: ['91/13=7', '53-26=27'] Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[26, 46], Operations: ['91/13=7', '53-7=46'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,23 unequal: No Solution Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[53, 19], Operations: ['91/13=7', '26-7=19'] Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,23 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[53, 33], Operations: ['91/13=7', '26+7=33'] Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,23 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,23 unequal: No Solution Moving to Node #0,4,0 Current State: 23:[26, 60], Operations: ['91/13=7', '53+7=60'] Exploring Operation: 26+60=86, Resulting Numbers: [86] 86,23 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 26*60=1560, Resulting Numbers: [1560] 1560,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[53, 3], Operations: ['91-13=78', '78/26=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,23 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[78, 27], Operations: ['91-13=78', '53-26=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[53, 52], Operations: ['91-13=78', '78-26=52'] Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,23 unequal: No Solution Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[78, 79], Operations: ['91-13=78', '26+53=79'] Exploring Operation: 78+79=157, Resulting Numbers: [157] 157,23 unequal: No Solution Exploring Operation: 78*79=6162, Resulting Numbers: [6162] 6162,23 unequal: No Solution Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 96, 62, 57, 66 ]
35
[ "96+62=158", "57+66=123", "158-123=35" ]
Current State: 35:[96, 62, 57, 66], Operations: [] Exploring Operation: 96+62=158, Resulting Numbers: [57, 66, 158] Generated Node #2: [57, 66, 158] from Operation: 96+62=158 Current State: 35:[57, 66, 158], Operations: ['96+62=158'] Exploring Operation: 57+66=123, Resulting Numbers: [158, 123] Generated Node #3: [158, 123] from Operation: 57+66=123 Current State: 35:[158, 123], Operations: ['96+62=158', '57+66=123'] Exploring Operation: 158-123=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[96, 62, 57, 66], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [96, 62, 9] Generated Node #0,0: 35:[96, 62, 9] Operation: 66-57=9 Exploring Operation: 66-62=4, Resulting Numbers: [96, 57, 4] Generated Node #0,1: 35:[96, 57, 4] Operation: 66-62=4 Exploring Operation: 96-57=39, Resulting Numbers: [62, 66, 39] Generated Node #0,2: 35:[62, 66, 39] Operation: 96-57=39 Exploring Operation: 96-62=34, Resulting Numbers: [57, 66, 34] Generated Node #0,3: 35:[57, 66, 34] Operation: 96-62=34 Exploring Operation: 96-66=30, Resulting Numbers: [62, 57, 30] Generated Node #0,4: 35:[62, 57, 30] Operation: 96-66=30 Moving to Node #0,3 Current State: 35:[57, 66, 34], Operations: ['96-62=34'] Exploring Operation: 57+34=91, Resulting Numbers: [66, 91] Generated Node #0,3,0: 35:[66, 91] Operation: 57+34=91 Exploring Operation: 66-57=9, Resulting Numbers: [34, 9] Generated Node #0,3,1: 35:[34, 9] Operation: 66-57=9 Exploring Operation: 57-34=23, Resulting Numbers: [66, 23] Generated Node #0,3,2: 35:[66, 23] Operation: 57-34=23 Exploring Operation: 66+34=100, Resulting Numbers: [57, 100] Generated Node #0,3,3: 35:[57, 100] Operation: 66+34=100 Exploring Operation: 66-34=32, Resulting Numbers: [57, 32] Generated Node #0,3,4: 35:[57, 32] Operation: 66-34=32 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[34, 9], Operations: ['96-62=34', '66-57=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,35 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 35:[57, 32], Operations: ['96-62=34', '66-34=32'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,35 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[66, 23], Operations: ['96-62=34', '57-34=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,35 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 35:[66, 91], Operations: ['96-62=34', '57+34=91'] Exploring Operation: 66+91=157, Resulting Numbers: [157] 157,35 unequal: No Solution Exploring Operation: 66*91=6006, Resulting Numbers: [6006] 6006,35 unequal: No Solution Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[57, 100], Operations: ['96-62=34', '66+34=100'] Exploring Operation: 100-57=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 57*100=5700, Resulting Numbers: [5700] 5700,35 unequal: No Solution Exploring Operation: 57+100=157, Resulting Numbers: [157] 157,35 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: 35:[62, 57, 30], Operations: ['96-66=30'] Exploring Operation: 62+30=92, Resulting Numbers: [57, 92] Generated Node #0,4,0: 35:[57, 92] Operation: 62+30=92 Exploring Operation: 62-57=5, Resulting Numbers: [30, 5] Generated Node #0,4,1: 35:[30, 5] Operation: 62-57=5 Exploring Operation: 57-30=27, Resulting Numbers: [62, 27] Generated Node #0,4,2: 35:[62, 27] Operation: 57-30=27 Exploring Operation: 62-30=32, Resulting Numbers: [57, 32] Generated Node #0,4,3: 35:[57, 32] Operation: 62-30=32 Exploring Operation: 57+30=87, Resulting Numbers: [62, 87] Generated Node #0,4,4: 35:[62, 87] Operation: 57+30=87 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 35:[30, 5], Operations: ['96-66=30', '62-57=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[96, 62, 57, 66], Operations: [] Exploring Operation: 96-66=30, Resulting Numbers: [62, 57, 30] Generated Node #0,4: 35:[62, 57, 30] Operation: 96-66=30 Moving to Node #0,4 Current State: 35:[62, 57, 30], Operations: ['96-66=30'] Exploring Operation: 62-57=5, Resulting Numbers: [30, 5] Generated Node #0,4,1: 35:[30, 5] Operation: 62-57=5 Moving to Node #0,4,1 Current State: 35:[30, 5], Operations: ['96-66=30', '62-57=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 66, 2, 81, 49 ]
49
[ "66+81=147", "2*49=98", "147-98=49" ]
Current State: 49:[66, 2, 81, 49], Operations: [] Exploring Operation: 66+81=147, Resulting Numbers: [2, 49, 147] Generated Node #2: [2, 49, 147] from Operation: 66+81=147 Current State: 49:[2, 49, 147], Operations: ['66+81=147'] Exploring Operation: 2*49=98, Resulting Numbers: [147, 98] Generated Node #3: [147, 98] from Operation: 2*49=98 Current State: 49:[147, 98], Operations: ['66+81=147', '2*49=98'] Exploring Operation: 147-98=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[66, 2, 81, 49], Operations: [] Exploring Operation: 66-2=64, Resulting Numbers: [81, 49, 64] Generated Node #0,0: 49:[81, 49, 64] Operation: 66-2=64 Exploring Operation: 81-66=15, Resulting Numbers: [2, 49, 15] Generated Node #0,1: 49:[2, 49, 15] Operation: 81-66=15 Exploring Operation: 81-49=32, Resulting Numbers: [66, 2, 32] Generated Node #0,2: 49:[66, 2, 32] Operation: 81-49=32 Exploring Operation: 66-49=17, Resulting Numbers: [2, 81, 17] Generated Node #0,3: 49:[2, 81, 17] Operation: 66-49=17 Moving to Node #0,1 Current State: 49:[2, 49, 15], Operations: ['81-66=15'] Exploring Operation: 2+15=17, Resulting Numbers: [49, 17] Generated Node #0,1,0: 49:[49, 17] Operation: 2+15=17 Exploring Operation: 49-2=47, Resulting Numbers: [15, 47] Generated Node #0,1,1: 49:[15, 47] Operation: 49-2=47 Exploring Operation: 2+49=51, Resulting Numbers: [15, 51] Generated Node #0,1,2: 49:[15, 51] Operation: 2+49=51 Exploring Operation: 15-2=13, Resulting Numbers: [49, 13] Generated Node #0,1,3: 49:[49, 13] Operation: 15-2=13 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[49, 13], Operations: ['81-66=15', '15-2=13'] Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,49 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[49, 17], Operations: ['81-66=15', '2+15=17'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,49 unequal: No Solution Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[15, 47], Operations: ['81-66=15', '49-2=47'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,49 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[15, 51], Operations: ['81-66=15', '2+49=51'] Exploring Operation: 15+51=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 15*51=765, Resulting Numbers: [765] 765,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 49:[66, 2, 32], Operations: ['81-49=32'] Exploring Operation: 66-2=64, Resulting Numbers: [32, 64] Generated Node #0,2,0: 49:[32, 64] Operation: 66-2=64 Exploring Operation: 32/2=16, Resulting Numbers: [66, 16] Generated Node #0,2,1: 49:[66, 16] Operation: 32/2=16 Exploring Operation: 66-32=34, Resulting Numbers: [2, 34] Generated Node #0,2,2: 49:[2, 34] Operation: 66-32=34 Exploring Operation: 2+32=34, Resulting Numbers: [66, 34] Generated Node #0,2,3: 49:[66, 34] Operation: 2+32=34 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[2, 34], Operations: ['81-49=32', '66-32=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[66, 16], Operations: ['81-49=32', '32/2=16'] Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[32, 64], Operations: ['81-49=32', '66-2=64'] Exploring Operation: 32+64=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 32*64=2048, Resulting Numbers: [2048] 2048,49 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[66, 34], Operations: ['81-49=32', '2+32=34'] Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,49 unequal: No Solution Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,49 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: 49:[2, 81, 17], Operations: ['66-49=17'] Exploring Operation: 17-2=15, Resulting Numbers: [81, 15] Generated Node #0,3,0: 49:[81, 15] Operation: 17-2=15 Exploring Operation: 81-17=64, Resulting Numbers: [2, 64] Generated Node #0,3,1: 49:[2, 64] Operation: 81-17=64 Exploring Operation: 81-2=79, Resulting Numbers: [17, 79] Generated Node #0,3,2: 49:[17, 79] Operation: 81-2=79 Exploring Operation: 2+81=83, Resulting Numbers: [17, 83] Generated Node #0,3,3: 49:[17, 83] Operation: 2+81=83 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[2, 64], Operations: ['66-49=17', '81-17=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,49 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 49:[81, 15], Operations: ['66-49=17', '17-2=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,49 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[17, 79], Operations: ['66-49=17', '81-2=79'] Exploring Operation: 17+79=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 17*79=1343, Resulting Numbers: [1343] 1343,49 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[17, 83], Operations: ['66-49=17', '2+81=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 49:[81, 49, 64], Operations: ['66-2=64'] Exploring Operation: 81-49=32, Resulting Numbers: [64, 32] Generated Node #0,0,0: 49:[64, 32] Operation: 81-49=32 Exploring Operation: 81-64=17, Resulting Numbers: [49, 17] Generated Node #0,0,1: 49:[49, 17] Operation: 81-64=17 Exploring Operation: 64-49=15, Resulting Numbers: [81, 15] Generated Node #0,0,2: 49:[81, 15] Operation: 64-49=15 Exploring Operation: 81+49=130, Resulting Numbers: [64, 130] Generated Node #0,0,3: 49:[64, 130] Operation: 81+49=130 Moving to Node #0,0,1 Current State: 49:[49, 17], Operations: ['66-2=64', '81-64=17'] Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,49 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[64, 32], Operations: ['66-2=64', '81-49=32'] Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 64*32=2048, Resulting Numbers: [2048] 2048,49 unequal: No Solution Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[81, 15], Operations: ['66-2=64', '64-49=15'] Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,49 unequal: No Solution Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[64, 130], Operations: ['66-2=64', '81+49=130'] Exploring Operation: 64+130=194, Resulting Numbers: [194] 194,49 unequal: No Solution Exploring Operation: 64*130=8320, Resulting Numbers: [8320] 8320,49 unequal: No Solution Exploring Operation: 130-64=66, Resulting Numbers: [66] 66,49 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 46, 41, 93, 45 ]
38
[ "93+45=138", "138/46=3", "41-3=38" ]
Current State: 38:[46, 41, 93, 45], Operations: [] Exploring Operation: 93+45=138, Resulting Numbers: [46, 41, 138] Generated Node #2: [46, 41, 138] from Operation: 93+45=138 Current State: 38:[46, 41, 138], Operations: ['93+45=138'] Exploring Operation: 138/46=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 138/46=3 Current State: 38:[41, 3], Operations: ['93+45=138', '138/46=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[46, 41, 93, 45], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [41, 45, 47] Generated Node #0,0: 38:[41, 45, 47] Operation: 93-46=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[41, 45, 47], Operations: ['93-46=47'] Exploring Operation: 47-45=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 38:[41, 2] Operation: 47-45=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[41, 2], Operations: ['93-46=47', '47-45=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,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 No solution found.
0
hs_1
mult_heuristic
[ 78, 25, 84, 84 ]
52
[ "78-25=53", "84/84=1", "53-1=52" ]
Current State: 52:[78, 25, 84, 84], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [84, 84, 53] Generated Node #2: [84, 84, 53] from Operation: 78-25=53 Current State: 52:[84, 84, 53], Operations: ['78-25=53'] Exploring Operation: 84/84=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 84/84=1 Current State: 52:[53, 1], Operations: ['78-25=53', '84/84=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[78, 25, 84, 84], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [25, 84, 6] Generated Node #0,0: 52:[25, 84, 6] Operation: 84-78=6 Exploring Operation: 84/84=1, Resulting Numbers: [78, 25, 1] Generated Node #0,1: 52:[78, 25, 1] Operation: 84/84=1 Exploring Operation: 84-78=6, Resulting Numbers: [25, 84, 6] Generated Node #0,2: 52:[25, 84, 6] Operation: 84-78=6 Exploring Operation: 84-84=0, Resulting Numbers: [78, 25, 0] Generated Node #0,3: 52:[78, 25, 0] Operation: 84-84=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[78, 25, 1], Operations: ['84/84=1'] Exploring Operation: 78-1=77, Resulting Numbers: [25, 77] Generated Node #0,1,0: 52:[25, 77] Operation: 78-1=77 Exploring Operation: 78-25=53, Resulting Numbers: [1, 53] Generated Node #0,1,1: 52:[1, 53] Operation: 78-25=53 Exploring Operation: 78*1=78, Resulting Numbers: [25, 78] Generated Node #0,1,2: 52:[25, 78] Operation: 78*1=78 Exploring Operation: 25+1=26, Resulting Numbers: [78, 26] Generated Node #0,1,3: 52:[78, 26] Operation: 25+1=26 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[1, 53], Operations: ['84/84=1', '78-25=53'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[78, 25, 84, 84], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [78, 25, 1] Generated Node #0,1: 52:[78, 25, 1] Operation: 84/84=1 Moving to Node #0,1 Current State: 52:[78, 25, 1], Operations: ['84/84=1'] Exploring Operation: 78-25=53, Resulting Numbers: [1, 53] Generated Node #0,1,1: 52:[1, 53] Operation: 78-25=53 Moving to Node #0,1,1 Current State: 52:[1, 53], Operations: ['84/84=1', '78-25=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 69, 24, 35, 26 ]
52
[ "69+35=104", "26-24=2", "104/2=52" ]
Current State: 52:[69, 24, 35, 26], Operations: [] Exploring Operation: 69+35=104, Resulting Numbers: [24, 26, 104] Generated Node #2: [24, 26, 104] from Operation: 69+35=104 Current State: 52:[24, 26, 104], Operations: ['69+35=104'] Exploring Operation: 26-24=2, Resulting Numbers: [104, 2] Generated Node #3: [104, 2] from Operation: 26-24=2 Current State: 52:[104, 2], Operations: ['69+35=104', '26-24=2'] Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[69, 24, 35, 26], Operations: [] Exploring Operation: 69-35=34, Resulting Numbers: [24, 26, 34] Generated Node #0,0: 52:[24, 26, 34] Operation: 69-35=34 Exploring Operation: 69-24=45, Resulting Numbers: [35, 26, 45] Generated Node #0,1: 52:[35, 26, 45] Operation: 69-24=45 Moving to Node #0,0 Current State: 52:[24, 26, 34], Operations: ['69-35=34'] Exploring Operation: 34-24=10, Resulting Numbers: [26, 10] Generated Node #0,0,0: 52:[26, 10] Operation: 34-24=10 Exploring Operation: 24+34=58, Resulting Numbers: [26, 58] Generated Node #0,0,1: 52:[26, 58] Operation: 24+34=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[26, 10], Operations: ['69-35=34', '34-24=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,52 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,52 unequal: No Solution No 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: 52:[26, 58], Operations: ['69-35=34', '24+34=58'] Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,52 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,52 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: 52:[35, 26, 45], Operations: ['69-24=45'] Exploring Operation: 45-35=10, Resulting Numbers: [26, 10] Generated Node #0,1,0: 52:[26, 10] Operation: 45-35=10 Exploring Operation: 35-26=9, Resulting Numbers: [45, 9] Generated Node #0,1,1: 52:[45, 9] Operation: 35-26=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[26, 10], Operations: ['69-24=45', '45-35=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,52 unequal: No Solution No 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: 52:[45, 9], Operations: ['69-24=45', '35-26=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,52 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 3, 84, 8, 28 ]
28
[ "3*84=252", "8*28=224", "252-224=28" ]
Current State: 28:[3, 84, 8, 28], Operations: [] Exploring Operation: 3*84=252, Resulting Numbers: [8, 28, 252] Generated Node #2: [8, 28, 252] from Operation: 3*84=252 Current State: 28:[8, 28, 252], Operations: ['3*84=252'] Exploring Operation: 8*28=224, Resulting Numbers: [252, 224] Generated Node #3: [252, 224] from Operation: 8*28=224 Current State: 28:[252, 224], Operations: ['3*84=252', '8*28=224'] Exploring Operation: 252-224=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[3, 84, 8, 28], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [3, 8, 56] Generated Node #0,0: 28:[3, 8, 56] Operation: 84-28=56 Exploring Operation: 84/3=28, Resulting Numbers: [8, 28, 28] Generated Node #0,1: 28:[8, 28, 28] Operation: 84/3=28 Exploring Operation: 84/28=3, Resulting Numbers: [3, 8, 3] Generated Node #0,2: 28:[3, 8, 3] Operation: 84/28=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[8, 28, 28], Operations: ['84/3=28'] Exploring Operation: 28/28=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 28:[8, 1] Operation: 28/28=1 Exploring Operation: 28-28=0, Resulting Numbers: [8, 0] Generated Node #0,1,1: 28:[8, 0] Operation: 28-28=0 Exploring Operation: 28-8=20, Resulting Numbers: [28, 20] Generated Node #0,1,2: 28:[28, 20] Operation: 28-8=20 Moving to Node #0,1,0 Current State: 28:[8, 1], Operations: ['84/3=28', '28/28=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[8, 0], Operations: ['84/3=28', '28-28=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[28, 20], Operations: ['84/3=28', '28-8=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,28 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,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:[3, 8, 3], Operations: ['84/28=3'] Exploring Operation: 3+3=6, Resulting Numbers: [8, 6] Generated Node #0,2,0: 28:[8, 6] Operation: 3+3=6 Exploring Operation: 8-3=5, Resulting Numbers: [3, 5] Generated Node #0,2,1: 28:[3, 5] Operation: 8-3=5 Exploring Operation: 3/3=1, Resulting Numbers: [8, 1] Generated Node #0,2,2: 28:[8, 1] Operation: 3/3=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[8, 6], Operations: ['84/28=3', '3+3=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,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:[3, 5], Operations: ['84/28=3', '8-3=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,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,2 Current State: 28:[8, 1], Operations: ['84/28=3', '3/3=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,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:[3, 8, 56], Operations: ['84-28=56'] Exploring Operation: 56-3=53, Resulting Numbers: [8, 53] Generated Node #0,0,0: 28:[8, 53] Operation: 56-3=53 Exploring Operation: 56-8=48, Resulting Numbers: [3, 48] Generated Node #0,0,1: 28:[3, 48] Operation: 56-8=48 Exploring Operation: 56/8=7, Resulting Numbers: [3, 7] Generated Node #0,0,2: 28:[3, 7] Operation: 56/8=7 Moving to Node #0,0,2 Current State: 28:[3, 7], Operations: ['84-28=56', '56/8=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[3, 48], Operations: ['84-28=56', '56-8=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[8, 53], Operations: ['84-28=56', '56-3=53'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,28 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
[ 9, 19, 93, 56 ]
27
[ "19-9=10", "93-56=37", "37-10=27" ]
Current State: 27:[9, 19, 93, 56], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [93, 56, 10] Generated Node #2: [93, 56, 10] from Operation: 19-9=10 Current State: 27:[93, 56, 10], Operations: ['19-9=10'] Exploring Operation: 93-56=37, Resulting Numbers: [10, 37] Generated Node #3: [10, 37] from Operation: 93-56=37 Current State: 27:[10, 37], Operations: ['19-9=10', '93-56=37'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[9, 19, 93, 56], Operations: [] Exploring Operation: 93-19=74, Resulting Numbers: [9, 56, 74] Generated Node #0,0: 27:[9, 56, 74] Operation: 93-19=74 Exploring Operation: 93-56=37, Resulting Numbers: [9, 19, 37] Generated Node #0,1: 27:[9, 19, 37] Operation: 93-56=37 Exploring Operation: 56-19=37, Resulting Numbers: [9, 93, 37] Generated Node #0,2: 27:[9, 93, 37] Operation: 56-19=37 Moving to Node #0,1 Current State: 27:[9, 19, 37], Operations: ['93-56=37'] Exploring Operation: 37-9=28, Resulting Numbers: [19, 28] Generated Node #0,1,0: 27:[19, 28] Operation: 37-9=28 Exploring Operation: 9+19=28, Resulting Numbers: [37, 28] Generated Node #0,1,1: 27:[37, 28] Operation: 9+19=28 Exploring Operation: 37-19=18, Resulting Numbers: [9, 18] Generated Node #0,1,2: 27:[9, 18] Operation: 37-19=18 Moving to Node #0,0 Current State: 27:[9, 56, 74], Operations: ['93-19=74'] Exploring Operation: 74-56=18, Resulting Numbers: [9, 18] Generated Node #0,0,0: 27:[9, 18] Operation: 74-56=18 Exploring Operation: 56-9=47, Resulting Numbers: [74, 47] Generated Node #0,0,1: 27:[74, 47] Operation: 56-9=47 Exploring Operation: 74-9=65, Resulting Numbers: [56, 65] Generated Node #0,0,2: 27:[56, 65] Operation: 74-9=65 Moving to Node #0,2 Current State: 27:[9, 93, 37], Operations: ['56-19=37'] Exploring Operation: 37-9=28, Resulting Numbers: [93, 28] Generated Node #0,2,0: 27:[93, 28] Operation: 37-9=28 Exploring Operation: 93-9=84, Resulting Numbers: [37, 84] Generated Node #0,2,1: 27:[37, 84] Operation: 93-9=84 Exploring Operation: 93-37=56, Resulting Numbers: [9, 56] Generated Node #0,2,2: 27:[9, 56] Operation: 93-37=56 Moving to Node #0,1,0 Current State: 27:[19, 28], Operations: ['93-56=37', '37-9=28'] Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,27 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[9, 18], Operations: ['93-56=37', '37-19=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[9, 19, 93, 56], Operations: [] Exploring Operation: 93-56=37, Resulting Numbers: [9, 19, 37] Generated Node #0,1: 27:[9, 19, 37] Operation: 93-56=37 Moving to Node #0,1 Current State: 27:[9, 19, 37], Operations: ['93-56=37'] Exploring Operation: 37-19=18, Resulting Numbers: [9, 18] Generated Node #0,1,2: 27:[9, 18] Operation: 37-19=18 Moving to Node #0,1,2 Current State: 27:[9, 18], Operations: ['93-56=37', '37-19=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.981771
hs_3
mult_heuristic
[ 91, 81, 2, 22 ]
21
[ "91-81=10", "22/2=11", "10+11=21" ]
Current State: 21:[91, 81, 2, 22], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [2, 22, 10] Generated Node #2: [2, 22, 10] from Operation: 91-81=10 Current State: 21:[2, 22, 10], Operations: ['91-81=10'] Exploring Operation: 22/2=11, Resulting Numbers: [10, 11] Generated Node #3: [10, 11] from Operation: 22/2=11 Current State: 21:[10, 11], Operations: ['91-81=10', '22/2=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[91, 81, 2, 22], Operations: [] Exploring Operation: 91-22=69, Resulting Numbers: [81, 2, 69] Generated Node #0,0: 21:[81, 2, 69] Operation: 91-22=69 Exploring Operation: 91-81=10, Resulting Numbers: [2, 22, 10] Generated Node #0,1: 21:[2, 22, 10] Operation: 91-81=10 Moving to Node #0,1 Current State: 21:[2, 22, 10], Operations: ['91-81=10'] Exploring Operation: 10-2=8, Resulting Numbers: [22, 8] Generated Node #0,1,0: 21:[22, 8] Operation: 10-2=8 Exploring Operation: 2*10=20, Resulting Numbers: [22, 20] Generated Node #0,1,1: 21:[22, 20] Operation: 2*10=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[22, 8], Operations: ['91-81=10', '10-2=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,21 unequal: No Solution No 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: 21:[22, 20], Operations: ['91-81=10', '2*10=20'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,21 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: 21:[81, 2, 69], Operations: ['91-22=69'] Exploring Operation: 81-2=79, Resulting Numbers: [69, 79] Generated Node #0,0,0: 21:[69, 79] Operation: 81-2=79 Exploring Operation: 81-69=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 21:[2, 12] Operation: 81-69=12 Moving to Node #0,0,1 Current State: 21:[2, 12], Operations: ['91-22=69', '81-69=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[69, 79], Operations: ['91-22=69', '81-2=79'] Exploring Operation: 69+79=148, Resulting Numbers: [148] 148,21 unequal: No Solution Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,21 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 27, 49, 30, 69 ]
78
[ "30-27=3", "49*3=147", "147-69=78" ]
Current State: 78:[27, 49, 30, 69], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [49, 69, 3] Generated Node #2: [49, 69, 3] from Operation: 30-27=3 Current State: 78:[49, 69, 3], Operations: ['30-27=3'] Exploring Operation: 49*3=147, Resulting Numbers: [69, 147] Generated Node #3: [69, 147] from Operation: 49*3=147 Current State: 78:[69, 147], Operations: ['30-27=3', '49*3=147'] Exploring Operation: 147-69=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[27, 49, 30, 69], Operations: [] Exploring Operation: 49+30=79, Resulting Numbers: [27, 69, 79] Generated Node #0,0: 78:[27, 69, 79] Operation: 49+30=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[27, 69, 79], Operations: ['49+30=79'] Exploring Operation: 69-27=42, Resulting Numbers: [79, 42] Generated Node #0,0,0: 78:[79, 42] Operation: 69-27=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[79, 42], Operations: ['49+30=79', '69-27=42'] Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 95, 76, 96, 50 ]
70
[ "95*96=9120", "9120/76=120", "120-50=70" ]
Current State: 70:[95, 76, 96, 50], Operations: [] Exploring Operation: 95*96=9120, Resulting Numbers: [76, 50, 9120] Generated Node #2: [76, 50, 9120] from Operation: 95*96=9120 Current State: 70:[76, 50, 9120], Operations: ['95*96=9120'] Exploring Operation: 9120/76=120, Resulting Numbers: [50, 120] Generated Node #3: [50, 120] from Operation: 9120/76=120 Current State: 70:[50, 120], Operations: ['95*96=9120', '9120/76=120'] Exploring Operation: 120-50=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[95, 76, 96, 50], Operations: [] Exploring Operation: 96-95=1, Resulting Numbers: [76, 50, 1] Generated Node #0,0: 70:[76, 50, 1] Operation: 96-95=1 Moving to Node #0,0 Current State: 70:[76, 50, 1], Operations: ['96-95=1'] Exploring Operation: 76-50=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 70:[1, 26] Operation: 76-50=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[1, 26], Operations: ['96-95=1', '76-50=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,70 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
[ 15, 88, 40, 60 ]
83
[ "15+88=103", "60-40=20", "103-20=83" ]
Current State: 83:[15, 88, 40, 60], Operations: [] Exploring Operation: 15+88=103, Resulting Numbers: [40, 60, 103] Generated Node #2: [40, 60, 103] from Operation: 15+88=103 Current State: 83:[40, 60, 103], Operations: ['15+88=103'] Exploring Operation: 60-40=20, Resulting Numbers: [103, 20] Generated Node #3: [103, 20] from Operation: 60-40=20 Current State: 83:[103, 20], Operations: ['15+88=103', '60-40=20'] Exploring Operation: 103-20=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 88, 40, 60], Operations: [] Exploring Operation: 15+88=103, Resulting Numbers: [40, 60, 103] Generated Node #0,0: 83:[40, 60, 103] Operation: 15+88=103 Exploring Operation: 15+40=55, Resulting Numbers: [88, 60, 55] Generated Node #0,1: 83:[88, 60, 55] Operation: 15+40=55 Exploring Operation: 40-15=25, Resulting Numbers: [88, 60, 25] Generated Node #0,2: 83:[88, 60, 25] Operation: 40-15=25 Exploring Operation: 15+60=75, Resulting Numbers: [88, 40, 75] Generated Node #0,3: 83:[88, 40, 75] Operation: 15+60=75 Exploring Operation: 88-15=73, Resulting Numbers: [40, 60, 73] Generated Node #0,4: 83:[40, 60, 73] Operation: 88-15=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[88, 60, 55], Operations: ['15+40=55'] Exploring Operation: 88+55=143, Resulting Numbers: [60, 143] Generated Node #0,1,0: 83:[60, 143] Operation: 88+55=143 Exploring Operation: 60-55=5, Resulting Numbers: [88, 5] Generated Node #0,1,1: 83:[88, 5] Operation: 60-55=5 Exploring Operation: 60+55=115, Resulting Numbers: [88, 115] Generated Node #0,1,2: 83:[88, 115] Operation: 60+55=115 Exploring Operation: 88-55=33, Resulting Numbers: [60, 33] Generated Node #0,1,3: 83:[60, 33] Operation: 88-55=33 Exploring Operation: 88-60=28, Resulting Numbers: [55, 28] Generated Node #0,1,4: 83:[55, 28] Operation: 88-60=28 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[88, 115], Operations: ['15+40=55', '60+55=115'] Exploring Operation: 88*115=10120, Resulting Numbers: [10120] 10120,83 unequal: No Solution Exploring Operation: 115-88=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 88+115=203, Resulting Numbers: [203] 203,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[60, 33], Operations: ['15+40=55', '88-55=33'] Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[60, 143], Operations: ['15+40=55', '88+55=143'] Exploring Operation: 143-60=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[15, 88, 40, 60], Operations: [] Exploring Operation: 15+40=55, Resulting Numbers: [88, 60, 55] Generated Node #0,1: 83:[88, 60, 55] Operation: 15+40=55 Moving to Node #0,1 Current State: 83:[88, 60, 55], Operations: ['15+40=55'] Exploring Operation: 88+55=143, Resulting Numbers: [60, 143] Generated Node #0,1,0: 83:[60, 143] Operation: 88+55=143 Moving to Node #0,1,0 Current State: 83:[60, 143], Operations: ['15+40=55', '88+55=143'] Exploring Operation: 143-60=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 4, 54, 10, 64 ]
60
[ "4+54=58", "64-58=6", "10*6=60" ]
Current State: 60:[4, 54, 10, 64], Operations: [] Exploring Operation: 4+54=58, Resulting Numbers: [10, 64, 58] Generated Node #2: [10, 64, 58] from Operation: 4+54=58 Current State: 60:[10, 64, 58], Operations: ['4+54=58'] Exploring Operation: 64-58=6, Resulting Numbers: [10, 6] Generated Node #3: [10, 6] from Operation: 64-58=6 Current State: 60:[10, 6], Operations: ['4+54=58', '64-58=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[4, 54, 10, 64], Operations: [] Exploring Operation: 54+10=64, Resulting Numbers: [4, 64, 64] Generated Node #0,0: 60:[4, 64, 64] Operation: 54+10=64 Exploring Operation: 64-54=10, Resulting Numbers: [4, 10, 10] Generated Node #0,1: 60:[4, 10, 10] Operation: 64-54=10 Exploring Operation: 64/4=16, Resulting Numbers: [54, 10, 16] Generated Node #0,2: 60:[54, 10, 16] Operation: 64/4=16 Exploring Operation: 4+54=58, Resulting Numbers: [10, 64, 58] Generated Node #0,3: 60:[10, 64, 58] Operation: 4+54=58 Exploring Operation: 64-4=60, Resulting Numbers: [54, 10, 60] Generated Node #0,4: 60:[54, 10, 60] Operation: 64-4=60 Moving to Node #0,1 Current State: 60:[4, 10, 10], Operations: ['64-54=10'] Exploring Operation: 4+10=14, Resulting Numbers: [10, 14] Generated Node #0,1,0: 60:[10, 14] Operation: 4+10=14 Exploring Operation: 10-4=6, Resulting Numbers: [10, 6] Generated Node #0,1,1: 60:[10, 6] Operation: 10-4=6 Exploring Operation: 10-4=6, Resulting Numbers: [10, 6] Generated Node #0,1,2: 60:[10, 6] Operation: 10-4=6 Exploring Operation: 10+10=20, Resulting Numbers: [4, 20] Generated Node #0,1,3: 60:[4, 20] Operation: 10+10=20 Exploring Operation: 4+10=14, Resulting Numbers: [10, 14] Generated Node #0,1,4: 60:[10, 14] Operation: 4+10=14 Moving to Node #0,4 Current State: 60:[54, 10, 60], Operations: ['64-4=60'] Exploring Operation: 54-10=44, Resulting Numbers: [60, 44] Generated Node #0,4,0: 60:[60, 44] Operation: 54-10=44 Exploring Operation: 60/10=6, Resulting Numbers: [54, 6] Generated Node #0,4,1: 60:[54, 6] Operation: 60/10=6 Exploring Operation: 10+60=70, Resulting Numbers: [54, 70] Generated Node #0,4,2: 60:[54, 70] Operation: 10+60=70 Exploring Operation: 54+10=64, Resulting Numbers: [60, 64] Generated Node #0,4,3: 60:[60, 64] Operation: 54+10=64 Exploring Operation: 60-54=6, Resulting Numbers: [10, 6] Generated Node #0,4,4: 60:[10, 6] Operation: 60-54=6 Moving to Node #0,3 Current State: 60:[10, 64, 58], Operations: ['4+54=58'] Exploring Operation: 64-58=6, Resulting Numbers: [10, 6] Generated Node #0,3,0: 60:[10, 6] Operation: 64-58=6 Exploring Operation: 64-10=54, Resulting Numbers: [58, 54] Generated Node #0,3,1: 60:[58, 54] Operation: 64-10=54 Exploring Operation: 10+64=74, Resulting Numbers: [58, 74] Generated Node #0,3,2: 60:[58, 74] Operation: 10+64=74 Exploring Operation: 58-10=48, Resulting Numbers: [64, 48] Generated Node #0,3,3: 60:[64, 48] Operation: 58-10=48 Exploring Operation: 10+58=68, Resulting Numbers: [64, 68] Generated Node #0,3,4: 60:[64, 68] Operation: 10+58=68 Moving to Node #0,2 Current State: 60:[54, 10, 16], Operations: ['64/4=16'] Exploring Operation: 54+10=64, Resulting Numbers: [16, 64] Generated Node #0,2,0: 60:[16, 64] Operation: 54+10=64 Exploring Operation: 10+16=26, Resulting Numbers: [54, 26] Generated Node #0,2,1: 60:[54, 26] Operation: 10+16=26 Exploring Operation: 54+16=70, Resulting Numbers: [10, 70] Generated Node #0,2,2: 60:[10, 70] Operation: 54+16=70 Exploring Operation: 16-10=6, Resulting Numbers: [54, 6] Generated Node #0,2,3: 60:[54, 6] Operation: 16-10=6 Exploring Operation: 54-16=38, Resulting Numbers: [10, 38] Generated Node #0,2,4: 60:[10, 38] Operation: 54-16=38 Moving to Node #0,0 Current State: 60:[4, 64, 64], Operations: ['54+10=64'] Exploring Operation: 64-4=60, Resulting Numbers: [64, 60] Generated Node #0,0,0: 60:[64, 60] Operation: 64-4=60 Exploring Operation: 64/64=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 60:[4, 1] Operation: 64/64=1 Exploring Operation: 64/4=16, Resulting Numbers: [64, 16] Generated Node #0,0,2: 60:[64, 16] Operation: 64/4=16 Exploring Operation: 64-64=0, Resulting Numbers: [4, 0] Generated Node #0,0,3: 60:[4, 0] Operation: 64-64=0 Exploring Operation: 64-4=60, Resulting Numbers: [64, 60] Generated Node #0,0,4: 60:[64, 60] Operation: 64-4=60 Moving to Node #0,1,1 Current State: 60:[10, 6], Operations: ['64-54=10', '10-4=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[4, 54, 10, 64], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [4, 10, 10] Generated Node #0,1: 60:[4, 10, 10] Operation: 64-54=10 Moving to Node #0,1 Current State: 60:[4, 10, 10], Operations: ['64-54=10'] Exploring Operation: 10-4=6, Resulting Numbers: [10, 6] Generated Node #0,1,1: 60:[10, 6] Operation: 10-4=6 Moving to Node #0,1,1 Current State: 60:[10, 6], Operations: ['64-54=10', '10-4=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.969618
hs_5
mult_heuristic
[ 79, 8, 6, 8 ]
17
[ "8+8=16", "6*16=96", "96-79=17" ]
Current State: 17:[79, 8, 6, 8], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [79, 6, 16] Generated Node #2: [79, 6, 16] from Operation: 8+8=16 Current State: 17:[79, 6, 16], Operations: ['8+8=16'] Exploring Operation: 6*16=96, Resulting Numbers: [79, 96] Generated Node #3: [79, 96] from Operation: 6*16=96 Current State: 17:[79, 96], Operations: ['8+8=16', '6*16=96'] Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[79, 8, 6, 8], Operations: [] Exploring Operation: 79-8=71, Resulting Numbers: [6, 8, 71] Generated Node #0,0: 17:[6, 8, 71] Operation: 79-8=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[6, 8, 71], Operations: ['79-8=71'] Exploring Operation: 6+8=14, Resulting Numbers: [71, 14] Generated Node #0,0,0: 17:[71, 14] Operation: 6+8=14 Moving to Node #0,0,0 Current State: 17:[71, 14], Operations: ['79-8=71', '6+8=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,17 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
[ 51, 29, 93, 75 ]
40
[ "51-29=22", "93-75=18", "22+18=40" ]
Current State: 40:[51, 29, 93, 75], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [93, 75, 22] Generated Node #2: [93, 75, 22] from Operation: 51-29=22 Current State: 40:[93, 75, 22], Operations: ['51-29=22'] Exploring Operation: 93-75=18, Resulting Numbers: [22, 18] Generated Node #3: [22, 18] from Operation: 93-75=18 Current State: 40:[22, 18], Operations: ['51-29=22', '93-75=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[51, 29, 93, 75], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [51, 75, 64] Generated Node #0,0: 40:[51, 75, 64] Operation: 93-29=64 Exploring Operation: 93-75=18, Resulting Numbers: [51, 29, 18] Generated Node #0,1: 40:[51, 29, 18] Operation: 93-75=18 Exploring Operation: 75-51=24, Resulting Numbers: [29, 93, 24] Generated Node #0,2: 40:[29, 93, 24] Operation: 75-51=24 Exploring Operation: 93-51=42, Resulting Numbers: [29, 75, 42] Generated Node #0,3: 40:[29, 75, 42] Operation: 93-51=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[51, 29, 18], Operations: ['93-75=18'] Exploring Operation: 29+18=47, Resulting Numbers: [51, 47] Generated Node #0,1,0: 40:[51, 47] Operation: 29+18=47 Exploring Operation: 51-29=22, Resulting Numbers: [18, 22] Generated Node #0,1,1: 40:[18, 22] Operation: 51-29=22 Exploring Operation: 29-18=11, Resulting Numbers: [51, 11] Generated Node #0,1,2: 40:[51, 11] Operation: 29-18=11 Exploring Operation: 51-18=33, Resulting Numbers: [29, 33] Generated Node #0,1,3: 40:[29, 33] Operation: 51-18=33 Moving to Node #0,1,1 Current State: 40:[18, 22], Operations: ['93-75=18', '51-29=22'] Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,40 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[51, 29, 93, 75], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [51, 29, 18] Generated Node #0,1: 40:[51, 29, 18] Operation: 93-75=18 Moving to Node #0,1 Current State: 40:[51, 29, 18], Operations: ['93-75=18'] Exploring Operation: 51-29=22, Resulting Numbers: [18, 22] Generated Node #0,1,1: 40:[18, 22] Operation: 51-29=22 Moving to Node #0,1,1 Current State: 40:[18, 22], Operations: ['93-75=18', '51-29=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 12, 85, 80, 75 ]
25
[ "80-75=5", "12*5=60", "85-60=25" ]
Current State: 25:[12, 85, 80, 75], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [12, 85, 5] Generated Node #2: [12, 85, 5] from Operation: 80-75=5 Current State: 25:[12, 85, 5], Operations: ['80-75=5'] Exploring Operation: 12*5=60, Resulting Numbers: [85, 60] Generated Node #3: [85, 60] from Operation: 12*5=60 Current State: 25:[85, 60], Operations: ['80-75=5', '12*5=60'] Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[12, 85, 80, 75], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [12, 75, 5] Generated Node #0,0: 25:[12, 75, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 25:[12, 75, 5], Operations: ['85-80=5'] Exploring Operation: 75/5=15, Resulting Numbers: [12, 15] Generated Node #0,0,0: 25:[12, 15] Operation: 75/5=15 Moving to Node #0,0,0 Current State: 25:[12, 15], Operations: ['85-80=5', '75/5=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,25 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 45, 52, 92, 41 ]
46
[ "45+52=97", "92-41=51", "97-51=46" ]
Current State: 46:[45, 52, 92, 41], Operations: [] Exploring Operation: 45+52=97, Resulting Numbers: [92, 41, 97] Generated Node #2: [92, 41, 97] from Operation: 45+52=97 Current State: 46:[92, 41, 97], Operations: ['45+52=97'] Exploring Operation: 92-41=51, Resulting Numbers: [97, 51] Generated Node #3: [97, 51] from Operation: 92-41=51 Current State: 46:[97, 51], Operations: ['45+52=97', '92-41=51'] Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[45, 52, 92, 41], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [52, 41, 47] Generated Node #0,0: 46:[52, 41, 47] Operation: 92-45=47 Exploring Operation: 92-52=40, Resulting Numbers: [45, 41, 40] Generated Node #0,1: 46:[45, 41, 40] Operation: 92-52=40 Exploring Operation: 45-41=4, Resulting Numbers: [52, 92, 4] Generated Node #0,2: 46:[52, 92, 4] Operation: 45-41=4 Exploring Operation: 92-41=51, Resulting Numbers: [45, 52, 51] Generated Node #0,3: 46:[45, 52, 51] Operation: 92-41=51 Moving to Node #0,0 Current State: 46:[52, 41, 47], Operations: ['92-45=47'] Exploring Operation: 52-41=11, Resulting Numbers: [47, 11] Generated Node #0,0,0: 46:[47, 11] Operation: 52-41=11 Exploring Operation: 47-41=6, Resulting Numbers: [52, 6] Generated Node #0,0,1: 46:[52, 6] Operation: 47-41=6 Exploring Operation: 52-47=5, Resulting Numbers: [41, 5] Generated Node #0,0,2: 46:[41, 5] Operation: 52-47=5 Exploring Operation: 52+41=93, Resulting Numbers: [47, 93] Generated Node #0,0,3: 46:[47, 93] Operation: 52+41=93 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[41, 5], Operations: ['92-45=47', '52-47=5'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,46 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[45, 52, 92, 41], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [52, 41, 47] Generated Node #0,0: 46:[52, 41, 47] Operation: 92-45=47 Moving to Node #0,0 Current State: 46:[52, 41, 47], Operations: ['92-45=47'] Exploring Operation: 52-47=5, Resulting Numbers: [41, 5] Generated Node #0,0,2: 46:[41, 5] Operation: 52-47=5 Moving to Node #0,0,2 Current State: 46:[41, 5], Operations: ['92-45=47', '52-47=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 4, 38, 64, 2 ]
13
[ "4-2=2", "64-38=26", "26/2=13" ]
Current State: 13:[4, 38, 64, 2], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [38, 64, 2] Generated Node #2: [38, 64, 2] from Operation: 4-2=2 Current State: 13:[38, 64, 2], Operations: ['4-2=2'] Exploring Operation: 64-38=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 64-38=26 Current State: 13:[2, 26], Operations: ['4-2=2', '64-38=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[4, 38, 64, 2], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [38, 2, 16] Generated Node #0,0: 13:[38, 2, 16] Operation: 64/4=16 Exploring Operation: 64-38=26, Resulting Numbers: [4, 2, 26] Generated Node #0,1: 13:[4, 2, 26] Operation: 64-38=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[4, 2, 26], Operations: ['64-38=26'] Exploring Operation: 26/2=13, Resulting Numbers: [4, 13] Generated Node #0,1,0: 13:[4, 13] Operation: 26/2=13 Exploring Operation: 4*2=8, Resulting Numbers: [26, 8] Generated Node #0,1,1: 13:[26, 8] Operation: 4*2=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[4, 13], Operations: ['64-38=26', '26/2=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[26, 8], Operations: ['64-38=26', '4*2=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[38, 2, 16], Operations: ['64/4=16'] Exploring Operation: 38-16=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 13:[2, 22] Operation: 38-16=22 Exploring Operation: 38/2=19, Resulting Numbers: [16, 19] Generated Node #0,0,1: 13:[16, 19] Operation: 38/2=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[16, 19], Operations: ['64/4=16', '38/2=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[2, 22], Operations: ['64/4=16', '38-16=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 7, 97, 28, 34 ]
97
[ "7+28=35", "35-34=1", "97*1=97" ]
Current State: 97:[7, 97, 28, 34], Operations: [] Exploring Operation: 7+28=35, Resulting Numbers: [97, 34, 35] Generated Node #2: [97, 34, 35] from Operation: 7+28=35 Current State: 97:[97, 34, 35], Operations: ['7+28=35'] Exploring Operation: 35-34=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 35-34=1 Current State: 97:[97, 1], Operations: ['7+28=35', '35-34=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[7, 97, 28, 34], Operations: [] Exploring Operation: 28+34=62, Resulting Numbers: [7, 97, 62] Generated Node #0,0: 97:[7, 97, 62] Operation: 28+34=62 Exploring Operation: 7+97=104, Resulting Numbers: [28, 34, 104] Generated Node #0,1: 97:[28, 34, 104] Operation: 7+97=104 Exploring Operation: 7+34=41, Resulting Numbers: [97, 28, 41] Generated Node #0,2: 97:[97, 28, 41] Operation: 7+34=41 Exploring Operation: 7+28=35, Resulting Numbers: [97, 34, 35] Generated Node #0,3: 97:[97, 34, 35] Operation: 7+28=35 Moving to Node #0,0 Current State: 97:[7, 97, 62], Operations: ['28+34=62'] Exploring Operation: 7+62=69, Resulting Numbers: [97, 69] Generated Node #0,0,0: 97:[97, 69] Operation: 7+62=69 Exploring Operation: 97-7=90, Resulting Numbers: [62, 90] Generated Node #0,0,1: 97:[62, 90] Operation: 97-7=90 Exploring Operation: 62-7=55, Resulting Numbers: [97, 55] Generated Node #0,0,2: 97:[97, 55] Operation: 62-7=55 Exploring Operation: 7+97=104, Resulting Numbers: [62, 104] Generated Node #0,0,3: 97:[62, 104] Operation: 7+97=104 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[97, 69], Operations: ['28+34=62', '7+62=69'] Exploring Operation: 97*69=6693, Resulting Numbers: [6693] 6693,97 unequal: No Solution Exploring Operation: 97+69=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 97-69=28, Resulting Numbers: [28] 28,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[62, 90], Operations: ['28+34=62', '97-7=90'] Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 62*90=5580, Resulting Numbers: [5580] 5580,97 unequal: No Solution Exploring Operation: 62+90=152, Resulting Numbers: [152] 152,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[97, 55], Operations: ['28+34=62', '62-7=55'] Exploring Operation: 97*55=5335, Resulting Numbers: [5335] 5335,97 unequal: No Solution Exploring Operation: 97+55=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[62, 104], Operations: ['28+34=62', '7+97=104'] Exploring Operation: 62+104=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 104-62=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 62*104=6448, Resulting Numbers: [6448] 6448,97 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: 97:[97, 34, 35], Operations: ['7+28=35'] Exploring Operation: 34+35=69, Resulting Numbers: [97, 69] Generated Node #0,3,0: 97:[97, 69] Operation: 34+35=69 Exploring Operation: 97-34=63, Resulting Numbers: [35, 63] Generated Node #0,3,1: 97:[35, 63] Operation: 97-34=63 Exploring Operation: 35-34=1, Resulting Numbers: [97, 1] Generated Node #0,3,2: 97:[97, 1] Operation: 35-34=1 Exploring Operation: 97+34=131, Resulting Numbers: [35, 131] Generated Node #0,3,3: 97:[35, 131] Operation: 97+34=131 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[97, 69], Operations: ['7+28=35', '34+35=69'] Exploring Operation: 97*69=6693, Resulting Numbers: [6693] 6693,97 unequal: No Solution Exploring Operation: 97-69=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 97+69=166, Resulting Numbers: [166] 166,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:[35, 63], Operations: ['7+28=35', '97-34=63'] Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,97 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,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,2 Current State: 97:[97, 1], Operations: ['7+28=35', '35-34=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[7, 97, 28, 34], Operations: [] Exploring Operation: 7+28=35, Resulting Numbers: [97, 34, 35] Generated Node #0,3: 97:[97, 34, 35] Operation: 7+28=35 Moving to Node #0,3 Current State: 97:[97, 34, 35], Operations: ['7+28=35'] Exploring Operation: 35-34=1, Resulting Numbers: [97, 1] Generated Node #0,3,2: 97:[97, 1] Operation: 35-34=1 Moving to Node #0,3,2 Current State: 97:[97, 1], Operations: ['7+28=35', '35-34=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 65, 69, 3, 78 ]
38
[ "78-69=9", "3*9=27", "65-27=38" ]
Current State: 38:[65, 69, 3, 78], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [65, 3, 9] Generated Node #2: [65, 3, 9] from Operation: 78-69=9 Current State: 38:[65, 3, 9], Operations: ['78-69=9'] Exploring Operation: 3*9=27, Resulting Numbers: [65, 27] Generated Node #3: [65, 27] from Operation: 3*9=27 Current State: 38:[65, 27], Operations: ['78-69=9', '3*9=27'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[65, 69, 3, 78], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [65, 3, 9] Generated Node #0,0: 38:[65, 3, 9] Operation: 78-69=9 Exploring Operation: 78-65=13, Resulting Numbers: [69, 3, 13] Generated Node #0,1: 38:[69, 3, 13] Operation: 78-65=13 Exploring Operation: 69-65=4, Resulting Numbers: [3, 78, 4] Generated Node #0,2: 38:[3, 78, 4] Operation: 69-65=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[65, 3, 9], Operations: ['78-69=9'] Exploring Operation: 65-3=62, Resulting Numbers: [9, 62] Generated Node #0,0,0: 38:[9, 62] Operation: 65-3=62 Exploring Operation: 65-9=56, Resulting Numbers: [3, 56] Generated Node #0,0,1: 38:[3, 56] Operation: 65-9=56 Exploring Operation: 9/3=3, Resulting Numbers: [65, 3] Generated Node #0,0,2: 38:[65, 3] Operation: 9/3=3 Moving to Node #0,0,1 Current State: 38:[3, 56], Operations: ['78-69=9', '65-9=56'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,38 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[65, 3], Operations: ['78-69=9', '9/3=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[9, 62], Operations: ['78-69=9', '65-3=62'] Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,38 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,38 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,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,1 Current State: 38:[69, 3, 13], Operations: ['78-65=13'] Exploring Operation: 69/3=23, Resulting Numbers: [13, 23] Generated Node #0,1,0: 38:[13, 23] Operation: 69/3=23 Exploring Operation: 69-13=56, Resulting Numbers: [3, 56] Generated Node #0,1,1: 38:[3, 56] Operation: 69-13=56 Exploring Operation: 3*13=39, Resulting Numbers: [69, 39] Generated Node #0,1,2: 38:[69, 39] Operation: 3*13=39 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[13, 23], Operations: ['78-65=13', '69/3=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,38 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,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,1,1 Current State: 38:[3, 56], Operations: ['78-65=13', '69-13=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,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,1,2 Current State: 38:[69, 39], Operations: ['78-65=13', '3*13=39'] Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,38 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[3, 78, 4], Operations: ['69-65=4'] Exploring Operation: 78-3=75, Resulting Numbers: [4, 75] Generated Node #0,2,0: 38:[4, 75] Operation: 78-3=75 Exploring Operation: 78-4=74, Resulting Numbers: [3, 74] Generated Node #0,2,1: 38:[3, 74] Operation: 78-4=74 Exploring Operation: 78/3=26, Resulting Numbers: [4, 26] Generated Node #0,2,2: 38:[4, 26] Operation: 78/3=26 Moving to Node #0,2,2 Current State: 38:[4, 26], Operations: ['69-65=4', '78/3=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,38 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[3, 74], Operations: ['69-65=4', '78-4=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,38 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[4, 75], Operations: ['69-65=4', '78-3=75'] Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,38 unequal: No Solution Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,38 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,38 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