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
[ 25, 5, 60, 88 ]
91
[ "25-5=20", "60/20=3", "88+3=91" ]
Current State: 91:[25, 5, 60, 88], Operations: [] Exploring Operation: 25-5=20, Resulting Numbers: [60, 88, 20] Generated Node #2: [60, 88, 20] from Operation: 25-5=20 Current State: 91:[60, 88, 20], Operations: ['25-5=20'] Exploring Operation: 60/20=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 60/20=3 Current State: 91:[88, 3], Operations: ['25-5=20', '60/20=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[25, 5, 60, 88], Operations: [] Exploring Operation: 25+60=85, Resulting Numbers: [5, 88, 85] Generated Node #0,0: 91:[5, 88, 85] Operation: 25+60=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 88, 85], Operations: ['25+60=85'] Exploring Operation: 5+85=90, Resulting Numbers: [88, 90] Generated Node #0,0,0: 91:[88, 90] Operation: 5+85=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[88, 90], Operations: ['25+60=85', '5+85=90'] Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 78, 15, 7 ]
83
[ "38-15=23", "7*23=161", "161-78=83" ]
Current State: 83:[38, 78, 15, 7], Operations: [] Exploring Operation: 38-15=23, Resulting Numbers: [78, 7, 23] Generated Node #2: [78, 7, 23] from Operation: 38-15=23 Current State: 83:[78, 7, 23], Operations: ['38-15=23'] Exploring Operation: 7*23=161, Resulting Numbers: [78, 161] Generated Node #3: [78, 161] from Operation: 7*23=161 Current State: 83:[78, 161], Operations: ['38-15=23', '7*23=161'] Exploring Operation: 161-78=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[38, 78, 15, 7], Operations: [] Exploring Operation: 15*7=105, Resulting Numbers: [38, 78, 105] Generated Node #0,0: 83:[38, 78, 105] Operation: 15*7=105 Exploring Operation: 15+7=22, Resulting Numbers: [38, 78, 22] Generated Node #0,1: 83:[38, 78, 22] Operation: 15+7=22 Exploring Operation: 38+15=53, Resulting Numbers: [78, 7, 53] Generated Node #0,2: 83:[78, 7, 53] Operation: 38+15=53 Exploring Operation: 38+7=45, Resulting Numbers: [78, 15, 45] Generated Node #0,3: 83:[78, 15, 45] Operation: 38+7=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[38, 78, 105], Operations: ['15*7=105'] Exploring Operation: 38+105=143, Resulting Numbers: [78, 143] Generated Node #0,0,0: 83:[78, 143] Operation: 38+105=143 Exploring Operation: 78-38=40, Resulting Numbers: [105, 40] Generated Node #0,0,1: 83:[105, 40] Operation: 78-38=40 Exploring Operation: 38+78=116, Resulting Numbers: [105, 116] Generated Node #0,0,2: 83:[105, 116] Operation: 38+78=116 Exploring Operation: 105-38=67, Resulting Numbers: [78, 67] Generated Node #0,0,3: 83:[78, 67] Operation: 105-38=67 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[78, 67], Operations: ['15*7=105', '105-38=67'] Exploring Operation: 78*67=5226, Resulting Numbers: [5226] 5226,83 unequal: No Solution Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 78+67=145, Resulting Numbers: [145] 145,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,0,2 Current State: 83:[105, 116], Operations: ['15*7=105', '38+78=116'] Exploring Operation: 105+116=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 105*116=12180, Resulting Numbers: [12180] 12180,83 unequal: No Solution Exploring Operation: 116-105=11, Resulting Numbers: [11] 11,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,0,0 Current State: 83:[78, 143], Operations: ['15*7=105', '38+105=143'] Exploring Operation: 143-78=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 78*143=11154, Resulting Numbers: [11154] 11154,83 unequal: No Solution Exploring Operation: 78+143=221, Resulting Numbers: [221] 221,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,0,1 Current State: 83:[105, 40], Operations: ['15*7=105', '78-38=40'] Exploring Operation: 105*40=4200, Resulting Numbers: [4200] 4200,83 unequal: No Solution Exploring Operation: 105+40=145, Resulting Numbers: [145] 145,83 unequal: No Solution Exploring Operation: 105-40=65, Resulting Numbers: [65] 65,83 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: 83:[38, 78, 22], Operations: ['15+7=22'] Exploring Operation: 38-22=16, Resulting Numbers: [78, 16] Generated Node #0,1,0: 83:[78, 16] Operation: 38-22=16 Exploring Operation: 78-22=56, Resulting Numbers: [38, 56] Generated Node #0,1,1: 83:[38, 56] Operation: 78-22=56 Exploring Operation: 78+22=100, Resulting Numbers: [38, 100] Generated Node #0,1,2: 83:[38, 100] Operation: 78+22=100 Exploring Operation: 38+22=60, Resulting Numbers: [78, 60] Generated Node #0,1,3: 83:[78, 60] Operation: 38+22=60 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[78, 60], Operations: ['15+7=22', '38+22=60'] Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,83 unequal: No Solution Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,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,2 Current State: 83:[38, 100], Operations: ['15+7=22', '78+22=100'] Exploring Operation: 100-38=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 38*100=3800, Resulting Numbers: [3800] 3800,83 unequal: No Solution Exploring Operation: 38+100=138, Resulting Numbers: [138] 138,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:[78, 16], Operations: ['15+7=22', '38-22=16'] Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,83 unequal: No Solution Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,83 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,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,1 Current State: 83:[38, 56], Operations: ['15+7=22', '78-22=56'] Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,83 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,83 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,83 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: 83:[78, 7, 53], Operations: ['38+15=53'] Exploring Operation: 78+7=85, Resulting Numbers: [53, 85] Generated Node #0,2,0: 83:[53, 85] Operation: 78+7=85 Exploring Operation: 53-7=46, Resulting Numbers: [78, 46] Generated Node #0,2,1: 83:[78, 46] Operation: 53-7=46 Exploring Operation: 78-7=71, Resulting Numbers: [53, 71] Generated Node #0,2,2: 83:[53, 71] Operation: 78-7=71 Exploring Operation: 7+53=60, Resulting Numbers: [78, 60] Generated Node #0,2,3: 83:[78, 60] Operation: 7+53=60 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[78, 60], Operations: ['38+15=53', '7+53=60'] Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,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,2,0 Current State: 83:[53, 85], Operations: ['38+15=53', '78+7=85'] Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 53+85=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 53*85=4505, Resulting Numbers: [4505] 4505,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,2,1 Current State: 83:[78, 46], Operations: ['38+15=53', '53-7=46'] Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,83 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,83 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,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,2,2 Current State: 83:[53, 71], Operations: ['38+15=53', '78-7=71'] Exploring Operation: 53+71=124, Resulting Numbers: [124] 124,83 unequal: No Solution Exploring Operation: 53*71=3763, Resulting Numbers: [3763] 3763,83 unequal: No Solution Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,83 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: 83:[78, 15, 45], Operations: ['38+7=45'] Exploring Operation: 78-15=63, Resulting Numbers: [45, 63] Generated Node #0,3,0: 83:[45, 63] Operation: 78-15=63 Exploring Operation: 78+15=93, Resulting Numbers: [45, 93] Generated Node #0,3,1: 83:[45, 93] Operation: 78+15=93 Exploring Operation: 15+45=60, Resulting Numbers: [78, 60] Generated Node #0,3,2: 83:[78, 60] Operation: 15+45=60 Exploring Operation: 45-15=30, Resulting Numbers: [78, 30] Generated Node #0,3,3: 83:[78, 30] Operation: 45-15=30 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[78, 60], Operations: ['38+7=45', '15+45=60'] Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,83 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,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,3,1 Current State: 83:[45, 93], Operations: ['38+7=45', '78+15=93'] Exploring Operation: 45+93=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 45*93=4185, Resulting Numbers: [4185] 4185,83 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,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,3,0 Current State: 83:[45, 63], Operations: ['38+7=45', '78-15=63'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,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,3,3 Current State: 83:[78, 30], Operations: ['38+7=45', '45-15=30'] Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,83 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,83 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
[ 41, 93, 47, 97 ]
22
[ "41+47=88", "97-93=4", "88/4=22" ]
Current State: 22:[41, 93, 47, 97], Operations: [] Exploring Operation: 41+47=88, Resulting Numbers: [93, 97, 88] Generated Node #2: [93, 97, 88] from Operation: 41+47=88 Current State: 22:[93, 97, 88], Operations: ['41+47=88'] Exploring Operation: 97-93=4, Resulting Numbers: [88, 4] Generated Node #3: [88, 4] from Operation: 97-93=4 Current State: 22:[88, 4], Operations: ['41+47=88', '97-93=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[41, 93, 47, 97], Operations: [] Exploring Operation: 93-41=52, Resulting Numbers: [47, 97, 52] Generated Node #0,0: 22:[47, 97, 52] Operation: 93-41=52 Exploring Operation: 97-93=4, Resulting Numbers: [41, 47, 4] Generated Node #0,1: 22:[41, 47, 4] Operation: 97-93=4 Exploring Operation: 93-47=46, Resulting Numbers: [41, 97, 46] Generated Node #0,2: 22:[41, 97, 46] Operation: 93-47=46 Exploring Operation: 97-47=50, Resulting Numbers: [41, 93, 50] Generated Node #0,3: 22:[41, 93, 50] Operation: 97-47=50 Moving to Node #0,1 Current State: 22:[41, 47, 4], Operations: ['97-93=4'] Exploring Operation: 41+4=45, Resulting Numbers: [47, 45] Generated Node #0,1,0: 22:[47, 45] Operation: 41+4=45 Exploring Operation: 47-41=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 22:[4, 6] Operation: 47-41=6 Exploring Operation: 47-4=43, Resulting Numbers: [41, 43] Generated Node #0,1,2: 22:[41, 43] Operation: 47-4=43 Exploring Operation: 41-4=37, Resulting Numbers: [47, 37] Generated Node #0,1,3: 22:[47, 37] Operation: 41-4=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[4, 6], Operations: ['97-93=4', '47-41=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,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,1,2 Current State: 22:[41, 43], Operations: ['97-93=4', '47-4=43'] Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,22 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[47, 37], Operations: ['97-93=4', '41-4=37'] Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,22 unequal: No Solution Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,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,1,0 Current State: 22:[47, 45], Operations: ['97-93=4', '41+4=45'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,22 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: 22:[41, 93, 50], Operations: ['97-47=50'] Exploring Operation: 41+93=134, Resulting Numbers: [50, 134] Generated Node #0,3,0: 22:[50, 134] Operation: 41+93=134 Exploring Operation: 93-41=52, Resulting Numbers: [50, 52] Generated Node #0,3,1: 22:[50, 52] Operation: 93-41=52 Exploring Operation: 93-50=43, Resulting Numbers: [41, 43] Generated Node #0,3,2: 22:[41, 43] Operation: 93-50=43 Exploring Operation: 50-41=9, Resulting Numbers: [93, 9] Generated Node #0,3,3: 22:[93, 9] Operation: 50-41=9 Moving to Node #0,2 Current State: 22:[41, 97, 46], Operations: ['93-47=46'] Exploring Operation: 97-41=56, Resulting Numbers: [46, 56] Generated Node #0,2,0: 22:[46, 56] Operation: 97-41=56 Exploring Operation: 46-41=5, Resulting Numbers: [97, 5] Generated Node #0,2,1: 22:[97, 5] Operation: 46-41=5 Exploring Operation: 97-46=51, Resulting Numbers: [41, 51] Generated Node #0,2,2: 22:[41, 51] Operation: 97-46=51 Exploring Operation: 41+97=138, Resulting Numbers: [46, 138] Generated Node #0,2,3: 22:[46, 138] Operation: 41+97=138 Moving to Node #0,0 Current State: 22:[47, 97, 52], Operations: ['93-41=52'] Exploring Operation: 52-47=5, Resulting Numbers: [97, 5] Generated Node #0,0,0: 22:[97, 5] Operation: 52-47=5 Exploring Operation: 97-52=45, Resulting Numbers: [47, 45] Generated Node #0,0,1: 22:[47, 45] Operation: 97-52=45 Exploring Operation: 47+97=144, Resulting Numbers: [52, 144] Generated Node #0,0,2: 22:[52, 144] Operation: 47+97=144 Exploring Operation: 97-47=50, Resulting Numbers: [52, 50] Generated Node #0,0,3: 22:[52, 50] Operation: 97-47=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[47, 45], Operations: ['93-41=52', '97-52=45'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,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,0,3 Current State: 22:[52, 50], Operations: ['93-41=52', '97-47=50'] Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,22 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,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,0,0 Current State: 22:[97, 5], Operations: ['93-41=52', '52-47=5'] Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,22 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 97*5=485, Resulting Numbers: [485] 485,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,0,2 Current State: 22:[52, 144], Operations: ['93-41=52', '47+97=144'] Exploring Operation: 144-52=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 52*144=7488, Resulting Numbers: [7488] 7488,22 unequal: No Solution Exploring Operation: 52+144=196, Resulting Numbers: [196] 196,22 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: 22:[41, 43], Operations: ['97-47=50', '93-50=43'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,22 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[41, 51], Operations: ['93-47=46', '97-46=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[46, 56], Operations: ['93-47=46', '97-41=56'] Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,22 unequal: No Solution Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,22 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[50, 52], Operations: ['97-47=50', '93-41=52'] Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,22 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,22 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[93, 9], Operations: ['97-47=50', '50-41=9'] Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,22 unequal: No Solution Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,22 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[97, 5], Operations: ['93-47=46', '46-41=5'] Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,22 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 97*5=485, Resulting Numbers: [485] 485,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[50, 134], Operations: ['97-47=50', '41+93=134'] Exploring Operation: 50+134=184, Resulting Numbers: [184] 184,22 unequal: No Solution Exploring Operation: 50*134=6700, Resulting Numbers: [6700] 6700,22 unequal: No Solution Exploring Operation: 134-50=84, Resulting Numbers: [84] 84,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[46, 138], Operations: ['93-47=46', '41+97=138'] Exploring Operation: 46+138=184, Resulting Numbers: [184] 184,22 unequal: No Solution Exploring Operation: 138-46=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 46*138=6348, Resulting Numbers: [6348] 6348,22 unequal: No Solution Exploring Operation: 138/46=3, Resulting Numbers: [3] 3,22 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 5, 2, 67, 22 ]
33
[ "22-5=17", "2*17=34", "67-34=33" ]
Current State: 33:[5, 2, 67, 22], Operations: [] Exploring Operation: 22-5=17, Resulting Numbers: [2, 67, 17] Generated Node #2: [2, 67, 17] from Operation: 22-5=17 Current State: 33:[2, 67, 17], Operations: ['22-5=17'] Exploring Operation: 2*17=34, Resulting Numbers: [67, 34] Generated Node #3: [67, 34] from Operation: 2*17=34 Current State: 33:[67, 34], Operations: ['22-5=17', '2*17=34'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[5, 2, 67, 22], Operations: [] Exploring Operation: 67-22=45, Resulting Numbers: [5, 2, 45] Generated Node #0,0: 33:[5, 2, 45] Operation: 67-22=45 Moving to Node #0,0 Current State: 33:[5, 2, 45], Operations: ['67-22=45'] Exploring Operation: 45/5=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 33:[2, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[2, 9], Operations: ['67-22=45', '45/5=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 95, 37, 95, 17 ]
55
[ "95/95=1", "37+17=54", "1+54=55" ]
Current State: 55:[95, 37, 95, 17], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [37, 17, 1] Generated Node #2: [37, 17, 1] from Operation: 95/95=1 Current State: 55:[37, 17, 1], Operations: ['95/95=1'] Exploring Operation: 37+17=54, Resulting Numbers: [1, 54] Generated Node #3: [1, 54] from Operation: 37+17=54 Current State: 55:[1, 54], Operations: ['95/95=1', '37+17=54'] Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[95, 37, 95, 17], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [37, 17, 1] Generated Node #0,0: 55:[37, 17, 1] Operation: 95/95=1 Exploring Operation: 95-37=58, Resulting Numbers: [95, 17, 58] Generated Node #0,1: 55:[95, 17, 58] Operation: 95-37=58 Exploring Operation: 95-37=58, Resulting Numbers: [95, 17, 58] Generated Node #0,2: 55:[95, 17, 58] Operation: 95-37=58 Exploring Operation: 95-17=78, Resulting Numbers: [37, 95, 78] Generated Node #0,3: 55:[37, 95, 78] Operation: 95-17=78 Exploring Operation: 95-95=0, Resulting Numbers: [37, 17, 0] Generated Node #0,4: 55:[37, 17, 0] Operation: 95-95=0 Moving to Node #0,0 Current State: 55:[37, 17, 1], Operations: ['95/95=1'] Exploring Operation: 37-17=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 55:[1, 20] Operation: 37-17=20 Exploring Operation: 37+1=38, Resulting Numbers: [17, 38] Generated Node #0,0,1: 55:[17, 38] Operation: 37+1=38 Exploring Operation: 37+17=54, Resulting Numbers: [1, 54] Generated Node #0,0,2: 55:[1, 54] Operation: 37+17=54 Exploring Operation: 37*1=37, Resulting Numbers: [17, 37] Generated Node #0,0,3: 55:[17, 37] Operation: 37*1=37 Exploring Operation: 17-1=16, Resulting Numbers: [37, 16] Generated Node #0,0,4: 55:[37, 16] Operation: 17-1=16 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[1, 54], Operations: ['95/95=1', '37+17=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[95, 37, 95, 17], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [37, 17, 1] Generated Node #0,0: 55:[37, 17, 1] Operation: 95/95=1 Moving to Node #0,0 Current State: 55:[37, 17, 1], Operations: ['95/95=1'] Exploring Operation: 37+17=54, Resulting Numbers: [1, 54] Generated Node #0,0,2: 55:[1, 54] Operation: 37+17=54 Moving to Node #0,0,2 Current State: 55:[1, 54], Operations: ['95/95=1', '37+17=54'] Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 42, 17, 87, 42 ]
71
[ "42/42=1", "87-17=70", "1+70=71" ]
Current State: 71:[42, 17, 87, 42], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [17, 87, 1] Generated Node #2: [17, 87, 1] from Operation: 42/42=1 Current State: 71:[17, 87, 1], Operations: ['42/42=1'] Exploring Operation: 87-17=70, Resulting Numbers: [1, 70] Generated Node #3: [1, 70] from Operation: 87-17=70 Current State: 71:[1, 70], Operations: ['42/42=1', '87-17=70'] Exploring Operation: 1+70=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[42, 17, 87, 42], Operations: [] Exploring Operation: 42+17=59, Resulting Numbers: [87, 42, 59] Generated Node #0,0: 71:[87, 42, 59] Operation: 42+17=59 Moving to Node #0,0 Current State: 71:[87, 42, 59], Operations: ['42+17=59'] Exploring Operation: 87-42=45, Resulting Numbers: [59, 45] Generated Node #0,0,0: 71:[59, 45] Operation: 87-42=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[59, 45], Operations: ['42+17=59', '87-42=45'] Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 19, 11, 24, 36 ]
30
[ "19+11=30", "24+36=60", "60-30=30" ]
Current State: 30:[19, 11, 24, 36], Operations: [] Exploring Operation: 19+11=30, Resulting Numbers: [24, 36, 30] Generated Node #2: [24, 36, 30] from Operation: 19+11=30 Current State: 30:[24, 36, 30], Operations: ['19+11=30'] Exploring Operation: 24+36=60, Resulting Numbers: [30, 60] Generated Node #3: [30, 60] from Operation: 24+36=60 Current State: 30:[30, 60], Operations: ['19+11=30', '24+36=60'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[19, 11, 24, 36], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [11, 36, 5] Generated Node #0,0: 30:[11, 36, 5] Operation: 24-19=5 Exploring Operation: 36-24=12, Resulting Numbers: [19, 11, 12] Generated Node #0,1: 30:[19, 11, 12] Operation: 36-24=12 Moving to Node #0,0 Current State: 30:[11, 36, 5], Operations: ['24-19=5'] Exploring Operation: 36-11=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 30:[5, 25] Operation: 36-11=25 Exploring Operation: 36-5=31, Resulting Numbers: [11, 31] Generated Node #0,0,1: 30:[11, 31] Operation: 36-5=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[11, 31], Operations: ['24-19=5', '36-5=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,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:[5, 25], Operations: ['24-19=5', '36-11=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:[19, 11, 24, 36], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [11, 36, 5] Generated Node #0,0: 30:[11, 36, 5] Operation: 24-19=5 Moving to Node #0,0 Current State: 30:[11, 36, 5], Operations: ['24-19=5'] Exploring Operation: 36-11=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 30:[5, 25] Operation: 36-11=25 Moving to Node #0,0,0 Current State: 30:[5, 25], Operations: ['24-19=5', '36-11=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 38, 35, 68, 54 ]
94
[ "38-35=3", "54*3=162", "162-68=94" ]
Current State: 94:[38, 35, 68, 54], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [68, 54, 3] Generated Node #2: [68, 54, 3] from Operation: 38-35=3 Current State: 94:[68, 54, 3], Operations: ['38-35=3'] Exploring Operation: 54*3=162, Resulting Numbers: [68, 162] Generated Node #3: [68, 162] from Operation: 54*3=162 Current State: 94:[68, 162], Operations: ['38-35=3', '54*3=162'] Exploring Operation: 162-68=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[38, 35, 68, 54], Operations: [] Exploring Operation: 35+68=103, Resulting Numbers: [38, 54, 103] Generated Node #0,0: 94:[38, 54, 103] Operation: 35+68=103 Exploring Operation: 38-35=3, Resulting Numbers: [68, 54, 3] Generated Node #0,1: 94:[68, 54, 3] Operation: 38-35=3 Exploring Operation: 68-35=33, Resulting Numbers: [38, 54, 33] Generated Node #0,2: 94:[38, 54, 33] Operation: 68-35=33 Exploring Operation: 38+68=106, Resulting Numbers: [35, 54, 106] Generated Node #0,3: 94:[35, 54, 106] Operation: 38+68=106 Moving to Node #0,0 Current State: 94:[38, 54, 103], Operations: ['35+68=103'] Exploring Operation: 54-38=16, Resulting Numbers: [103, 16] Generated Node #0,0,0: 94:[103, 16] Operation: 54-38=16 Exploring Operation: 103-38=65, Resulting Numbers: [54, 65] Generated Node #0,0,1: 94:[54, 65] Operation: 103-38=65 Exploring Operation: 38+54=92, Resulting Numbers: [103, 92] Generated Node #0,0,2: 94:[103, 92] Operation: 38+54=92 Exploring Operation: 103-54=49, Resulting Numbers: [38, 49] Generated Node #0,0,3: 94:[38, 49] Operation: 103-54=49 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[103, 92], Operations: ['35+68=103', '38+54=92'] Exploring Operation: 103-92=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 103*92=9476, Resulting Numbers: [9476] 9476,94 unequal: No Solution Exploring Operation: 103+92=195, Resulting Numbers: [195] 195,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[38, 49], Operations: ['35+68=103', '103-54=49'] Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 38+49=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 38*49=1862, Resulting Numbers: [1862] 1862,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[103, 16], Operations: ['35+68=103', '54-38=16'] Exploring Operation: 103-16=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 103+16=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 103*16=1648, Resulting Numbers: [1648] 1648,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[54, 65], Operations: ['35+68=103', '103-38=65'] Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,94 unequal: No Solution Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,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:[68, 54, 3], Operations: ['38-35=3'] Exploring Operation: 68-54=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 94:[3, 14] Operation: 68-54=14 Exploring Operation: 68+54=122, Resulting Numbers: [3, 122] Generated Node #0,1,1: 94:[3, 122] Operation: 68+54=122 Exploring Operation: 68-3=65, Resulting Numbers: [54, 65] Generated Node #0,1,2: 94:[54, 65] Operation: 68-3=65 Exploring Operation: 54-3=51, Resulting Numbers: [68, 51] Generated Node #0,1,3: 94:[68, 51] Operation: 54-3=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[3, 14], Operations: ['38-35=3', '68-54=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[54, 65], Operations: ['38-35=3', '68-3=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[68, 51], Operations: ['38-35=3', '54-3=51'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[3, 122], Operations: ['38-35=3', '68+54=122'] Exploring Operation: 122-3=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 3*122=366, Resulting Numbers: [366] 366,94 unequal: No Solution Exploring Operation: 3+122=125, Resulting Numbers: [125] 125,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[38, 54, 33], Operations: ['68-35=33'] Exploring Operation: 54-38=16, Resulting Numbers: [33, 16] Generated Node #0,2,0: 94:[33, 16] Operation: 54-38=16 Exploring Operation: 38-33=5, Resulting Numbers: [54, 5] Generated Node #0,2,1: 94:[54, 5] Operation: 38-33=5 Exploring Operation: 54+33=87, Resulting Numbers: [38, 87] Generated Node #0,2,2: 94:[38, 87] Operation: 54+33=87 Exploring Operation: 38+54=92, Resulting Numbers: [33, 92] Generated Node #0,2,3: 94:[33, 92] Operation: 38+54=92 Moving to Node #0,3 Current State: 94:[35, 54, 106], Operations: ['38+68=106'] Exploring Operation: 35+54=89, Resulting Numbers: [106, 89] Generated Node #0,3,0: 94:[106, 89] Operation: 35+54=89 Exploring Operation: 106-35=71, Resulting Numbers: [54, 71] Generated Node #0,3,1: 94:[54, 71] Operation: 106-35=71 Exploring Operation: 54-35=19, Resulting Numbers: [106, 19] Generated Node #0,3,2: 94:[106, 19] Operation: 54-35=19 Exploring Operation: 106-54=52, Resulting Numbers: [35, 52] Generated Node #0,3,3: 94:[35, 52] Operation: 106-54=52 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[106, 89], Operations: ['38+68=106', '35+54=89'] Exploring Operation: 106+89=195, Resulting Numbers: [195] 195,94 unequal: No Solution Exploring Operation: 106*89=9434, Resulting Numbers: [9434] 9434,94 unequal: No Solution Exploring Operation: 106-89=17, Resulting Numbers: [17] 17,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[35, 52], Operations: ['38+68=106', '106-54=52'] Exploring Operation: 35*52=1820, Resulting Numbers: [1820] 1820,94 unequal: No Solution Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[106, 19], Operations: ['38+68=106', '54-35=19'] Exploring Operation: 106+19=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 106*19=2014, Resulting Numbers: [2014] 2014,94 unequal: No Solution Exploring Operation: 106-19=87, Resulting Numbers: [87] 87,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[54, 71], Operations: ['38+68=106', '106-35=71'] Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,94 unequal: No Solution Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 94:[54, 5], Operations: ['68-35=33', '38-33=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,94 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[33, 92], Operations: ['68-35=33', '38+54=92'] Exploring Operation: 33+92=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 33*92=3036, Resulting Numbers: [3036] 3036,94 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[38, 87], Operations: ['68-35=33', '54+33=87'] Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,94 unequal: No Solution Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,94 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[33, 16], Operations: ['68-35=33', '54-38=16'] Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,94 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,94 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 81, 91, 36, 53 ]
77
[ "91+53=144", "144/36=4", "81-4=77" ]
Current State: 77:[81, 91, 36, 53], Operations: [] Exploring Operation: 91+53=144, Resulting Numbers: [81, 36, 144] Generated Node #2: [81, 36, 144] from Operation: 91+53=144 Current State: 77:[81, 36, 144], Operations: ['91+53=144'] Exploring Operation: 144/36=4, Resulting Numbers: [81, 4] Generated Node #3: [81, 4] from Operation: 144/36=4 Current State: 77:[81, 4], Operations: ['91+53=144', '144/36=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[81, 91, 36, 53], Operations: [] Exploring Operation: 53-36=17, Resulting Numbers: [81, 91, 17] Generated Node #0,0: 77:[81, 91, 17] Operation: 53-36=17 Moving to Node #0,0 Current State: 77:[81, 91, 17], Operations: ['53-36=17'] Exploring Operation: 91-81=10, Resulting Numbers: [17, 10] Generated Node #0,0,0: 77:[17, 10] Operation: 91-81=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[17, 10], Operations: ['53-36=17', '91-81=10'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,77 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
[ 21, 5, 97, 92 ]
84
[ "21*5=105", "97+92=189", "189-105=84" ]
Current State: 84:[21, 5, 97, 92], Operations: [] Exploring Operation: 21*5=105, Resulting Numbers: [97, 92, 105] Generated Node #2: [97, 92, 105] from Operation: 21*5=105 Current State: 84:[97, 92, 105], Operations: ['21*5=105'] Exploring Operation: 97+92=189, Resulting Numbers: [105, 189] Generated Node #3: [105, 189] from Operation: 97+92=189 Current State: 84:[105, 189], Operations: ['21*5=105', '97+92=189'] Exploring Operation: 189-105=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[21, 5, 97, 92], Operations: [] Exploring Operation: 97-5=92, Resulting Numbers: [21, 92, 92] Generated Node #0,0: 84:[21, 92, 92] Operation: 97-5=92 Exploring Operation: 97-92=5, Resulting Numbers: [21, 5, 5] Generated Node #0,1: 84:[21, 5, 5] Operation: 97-92=5 Exploring Operation: 97-21=76, Resulting Numbers: [5, 92, 76] Generated Node #0,2: 84:[5, 92, 76] Operation: 97-21=76 Exploring Operation: 92-5=87, Resulting Numbers: [21, 97, 87] Generated Node #0,3: 84:[21, 97, 87] Operation: 92-5=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[21, 5, 5], Operations: ['97-92=5'] Exploring Operation: 5-5=0, Resulting Numbers: [21, 0] Generated Node #0,1,0: 84:[21, 0] Operation: 5-5=0 Exploring Operation: 21+5=26, Resulting Numbers: [5, 26] Generated Node #0,1,1: 84:[5, 26] Operation: 21+5=26 Exploring Operation: 5+5=10, Resulting Numbers: [21, 10] Generated Node #0,1,2: 84:[21, 10] Operation: 5+5=10 Exploring Operation: 5/5=1, Resulting Numbers: [21, 1] Generated Node #0,1,3: 84:[21, 1] Operation: 5/5=1 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 84:[21, 1], Operations: ['97-92=5', '5/5=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[21, 0], Operations: ['97-92=5', '5-5=0'] Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[21, 10], Operations: ['97-92=5', '5+5=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,84 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[5, 26], Operations: ['97-92=5', '21+5=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[21, 92, 92], Operations: ['97-5=92'] Exploring Operation: 92-92=0, Resulting Numbers: [21, 0] Generated Node #0,0,0: 84:[21, 0] Operation: 92-92=0 Exploring Operation: 92-21=71, Resulting Numbers: [92, 71] Generated Node #0,0,1: 84:[92, 71] Operation: 92-21=71 Exploring Operation: 92-21=71, Resulting Numbers: [92, 71] Generated Node #0,0,2: 84:[92, 71] Operation: 92-21=71 Exploring Operation: 92/92=1, Resulting Numbers: [21, 1] Generated Node #0,0,3: 84:[21, 1] Operation: 92/92=1 Moving to Node #0,0,3 Current State: 84:[21, 1], Operations: ['97-5=92', '92/92=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[21, 0], Operations: ['97-5=92', '92-92=0'] Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[92, 71], Operations: ['97-5=92', '92-21=71'] Exploring Operation: 92+71=163, Resulting Numbers: [163] 163,84 unequal: No Solution Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 92*71=6532, Resulting Numbers: [6532] 6532,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[92, 71], Operations: ['97-5=92', '92-21=71'] Exploring Operation: 92+71=163, Resulting Numbers: [163] 163,84 unequal: No Solution Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 92*71=6532, Resulting Numbers: [6532] 6532,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,3 Current State: 84:[21, 97, 87], Operations: ['92-5=87'] Exploring Operation: 87-21=66, Resulting Numbers: [97, 66] Generated Node #0,3,0: 84:[97, 66] Operation: 87-21=66 Exploring Operation: 97-87=10, Resulting Numbers: [21, 10] Generated Node #0,3,1: 84:[21, 10] Operation: 97-87=10 Exploring Operation: 21+97=118, Resulting Numbers: [87, 118] Generated Node #0,3,2: 84:[87, 118] Operation: 21+97=118 Exploring Operation: 97-21=76, Resulting Numbers: [87, 76] Generated Node #0,3,3: 84:[87, 76] Operation: 97-21=76 Moving to Node #0,3,1 Current State: 84:[21, 10], Operations: ['92-5=87', '97-87=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,84 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[87, 76], Operations: ['92-5=87', '97-21=76'] Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,84 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[97, 66], Operations: ['92-5=87', '87-21=66'] Exploring Operation: 97+66=163, Resulting Numbers: [163] 163,84 unequal: No Solution Exploring Operation: 97*66=6402, Resulting Numbers: [6402] 6402,84 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[87, 118], Operations: ['92-5=87', '21+97=118'] Exploring Operation: 118-87=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 87*118=10266, Resulting Numbers: [10266] 10266,84 unequal: No Solution Exploring Operation: 87+118=205, Resulting Numbers: [205] 205,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,2 Current State: 84:[5, 92, 76], Operations: ['97-21=76'] Exploring Operation: 92-5=87, Resulting Numbers: [76, 87] Generated Node #0,2,0: 84:[76, 87] Operation: 92-5=87 Exploring Operation: 5+92=97, Resulting Numbers: [76, 97] Generated Node #0,2,1: 84:[76, 97] Operation: 5+92=97 Exploring Operation: 5+76=81, Resulting Numbers: [92, 81] Generated Node #0,2,2: 84:[92, 81] Operation: 5+76=81 Exploring Operation: 92-76=16, Resulting Numbers: [5, 16] Generated Node #0,2,3: 84:[5, 16] Operation: 92-76=16 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[5, 16], Operations: ['97-21=76', '92-76=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,84 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[76, 87], Operations: ['97-21=76', '92-5=87'] Exploring Operation: 76+87=163, Resulting Numbers: [163] 163,84 unequal: No Solution Exploring Operation: 76*87=6612, Resulting Numbers: [6612] 6612,84 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[92, 81], Operations: ['97-21=76', '5+76=81'] Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,84 unequal: No Solution Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[76, 97], Operations: ['97-21=76', '5+92=97'] Exploring Operation: 76+97=173, Resulting Numbers: [173] 173,84 unequal: No Solution Exploring Operation: 97-76=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 76*97=7372, Resulting Numbers: [7372] 7372,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 68, 46, 99, 39 ]
71
[ "99+39=138", "138/46=3", "68+3=71" ]
Current State: 71:[68, 46, 99, 39], Operations: [] Exploring Operation: 99+39=138, Resulting Numbers: [68, 46, 138] Generated Node #2: [68, 46, 138] from Operation: 99+39=138 Current State: 71:[68, 46, 138], Operations: ['99+39=138'] Exploring Operation: 138/46=3, Resulting Numbers: [68, 3] Generated Node #3: [68, 3] from Operation: 138/46=3 Current State: 71:[68, 3], Operations: ['99+39=138', '138/46=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[68, 46, 99, 39], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [68, 46, 60] Generated Node #0,0: 71:[68, 46, 60] Operation: 99-39=60 Moving to Node #0,0 Current State: 71:[68, 46, 60], Operations: ['99-39=60'] Exploring Operation: 46+60=106, Resulting Numbers: [68, 106] Generated Node #0,0,0: 71:[68, 106] Operation: 46+60=106 Moving to Node #0,0,0 Current State: 71:[68, 106], Operations: ['99-39=60', '46+60=106'] Exploring Operation: 106-68=38, Resulting Numbers: [38] 38,71 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 9, 93, 5, 2 ]
47
[ "93-9=84", "84/2=42", "5+42=47" ]
Current State: 47:[9, 93, 5, 2], Operations: [] Exploring Operation: 93-9=84, Resulting Numbers: [5, 2, 84] Generated Node #2: [5, 2, 84] from Operation: 93-9=84 Current State: 47:[5, 2, 84], Operations: ['93-9=84'] Exploring Operation: 84/2=42, Resulting Numbers: [5, 42] Generated Node #3: [5, 42] from Operation: 84/2=42 Current State: 47:[5, 42], Operations: ['93-9=84', '84/2=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[9, 93, 5, 2], Operations: [] Exploring Operation: 9*2=18, Resulting Numbers: [93, 5, 18] Generated Node #0,0: 47:[93, 5, 18] Operation: 9*2=18 Exploring Operation: 9*5=45, Resulting Numbers: [93, 2, 45] Generated Node #0,1: 47:[93, 2, 45] Operation: 9*5=45 Moving to Node #0,1 Current State: 47:[93, 2, 45], Operations: ['9*5=45'] Exploring Operation: 93-2=91, Resulting Numbers: [45, 91] Generated Node #0,1,0: 47:[45, 91] Operation: 93-2=91 Exploring Operation: 93-45=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 47:[2, 48] Operation: 93-45=48 Moving to Node #0,0 Current State: 47:[93, 5, 18], Operations: ['9*2=18'] Exploring Operation: 93-5=88, Resulting Numbers: [18, 88] Generated Node #0,0,0: 47:[18, 88] Operation: 93-5=88 Exploring Operation: 93-18=75, Resulting Numbers: [5, 75] Generated Node #0,0,1: 47:[5, 75] Operation: 93-18=75 Moving to Node #0,1,0 Current State: 47:[45, 91], Operations: ['9*5=45', '93-2=91'] Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[2, 48], Operations: ['9*5=45', '93-45=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[5, 75], Operations: ['9*2=18', '93-18=75'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[18, 88], Operations: ['9*2=18', '93-5=88'] Exploring Operation: 18+88=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,47 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 31, 74, 16, 14 ]
73
[ "74-31=43", "16+14=30", "43+30=73" ]
Current State: 73:[31, 74, 16, 14], Operations: [] Exploring Operation: 74-31=43, Resulting Numbers: [16, 14, 43] Generated Node #2: [16, 14, 43] from Operation: 74-31=43 Current State: 73:[16, 14, 43], Operations: ['74-31=43'] Exploring Operation: 16+14=30, Resulting Numbers: [43, 30] Generated Node #3: [43, 30] from Operation: 16+14=30 Current State: 73:[43, 30], Operations: ['74-31=43', '16+14=30'] Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[31, 74, 16, 14], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [74, 16, 17] Generated Node #0,0: 73:[74, 16, 17] Operation: 31-14=17 Exploring Operation: 31+14=45, Resulting Numbers: [74, 16, 45] Generated Node #0,1: 73:[74, 16, 45] Operation: 31+14=45 Exploring Operation: 74-14=60, Resulting Numbers: [31, 16, 60] Generated Node #0,2: 73:[31, 16, 60] Operation: 74-14=60 Exploring Operation: 16+14=30, Resulting Numbers: [31, 74, 30] Generated Node #0,3: 73:[31, 74, 30] Operation: 16+14=30 Exploring Operation: 31+16=47, Resulting Numbers: [74, 14, 47] Generated Node #0,4: 73:[74, 14, 47] Operation: 31+16=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[74, 16, 45], Operations: ['31+14=45'] Exploring Operation: 74-45=29, Resulting Numbers: [16, 29] Generated Node #0,1,0: 73:[16, 29] Operation: 74-45=29 Exploring Operation: 74-16=58, Resulting Numbers: [45, 58] Generated Node #0,1,1: 73:[45, 58] Operation: 74-16=58 Exploring Operation: 16+45=61, Resulting Numbers: [74, 61] Generated Node #0,1,2: 73:[74, 61] Operation: 16+45=61 Exploring Operation: 45-16=29, Resulting Numbers: [74, 29] Generated Node #0,1,3: 73:[74, 29] Operation: 45-16=29 Exploring Operation: 74+16=90, Resulting Numbers: [45, 90] Generated Node #0,1,4: 73:[45, 90] Operation: 74+16=90 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[74, 61], Operations: ['31+14=45', '16+45=61'] Exploring Operation: 74*61=4514, Resulting Numbers: [4514] 4514,73 unequal: No Solution Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[45, 58], Operations: ['31+14=45', '74-16=58'] Exploring Operation: 45*58=2610, Resulting Numbers: [2610] 2610,73 unequal: No Solution Exploring Operation: 45+58=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 73:[74, 29], Operations: ['31+14=45', '45-16=29'] Exploring Operation: 74+29=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 74*29=2146, Resulting Numbers: [2146] 2146,73 unequal: No Solution Exploring Operation: 74-29=45, Resulting Numbers: [45] 45,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 73:[45, 90], Operations: ['31+14=45', '74+16=90'] Exploring Operation: 45*90=4050, Resulting Numbers: [4050] 4050,73 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 45+90=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[16, 29], Operations: ['31+14=45', '74-45=29'] Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,73 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[31, 74, 30], Operations: ['16+14=30'] Exploring Operation: 74-30=44, Resulting Numbers: [31, 44] Generated Node #0,3,0: 73:[31, 44] Operation: 74-30=44 Exploring Operation: 31-30=1, Resulting Numbers: [74, 1] Generated Node #0,3,1: 73:[74, 1] Operation: 31-30=1 Exploring Operation: 74-31=43, Resulting Numbers: [30, 43] Generated Node #0,3,2: 73:[30, 43] Operation: 74-31=43 Exploring Operation: 31+30=61, Resulting Numbers: [74, 61] Generated Node #0,3,3: 73:[74, 61] Operation: 31+30=61 Exploring Operation: 74+30=104, Resulting Numbers: [31, 104] Generated Node #0,3,4: 73:[31, 104] Operation: 74+30=104 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 73:[74, 61], Operations: ['16+14=30', '31+30=61'] Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 74*61=4514, Resulting Numbers: [4514] 4514,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[31, 44], Operations: ['16+14=30', '74-30=44'] Exploring Operation: 31*44=1364, Resulting Numbers: [1364] 1364,73 unequal: No Solution Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 73:[74, 1], Operations: ['16+14=30', '31-30=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[31, 74, 16, 14], Operations: [] Exploring Operation: 16+14=30, Resulting Numbers: [31, 74, 30] Generated Node #0,3: 73:[31, 74, 30] Operation: 16+14=30 Moving to Node #0,3 Current State: 73:[31, 74, 30], Operations: ['16+14=30'] Exploring Operation: 31-30=1, Resulting Numbers: [74, 1] Generated Node #0,3,1: 73:[74, 1] Operation: 31-30=1 Moving to Node #0,3,1 Current State: 73:[74, 1], Operations: ['16+14=30', '31-30=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 51, 79, 32, 28 ]
33
[ "79-51=28", "28/28=1", "32+1=33" ]
Current State: 33:[51, 79, 32, 28], Operations: [] Exploring Operation: 79-51=28, Resulting Numbers: [32, 28, 28] Generated Node #2: [32, 28, 28] from Operation: 79-51=28 Current State: 33:[32, 28, 28], Operations: ['79-51=28'] Exploring Operation: 28/28=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 28/28=1 Current State: 33:[32, 1], Operations: ['79-51=28', '28/28=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[51, 79, 32, 28], Operations: [] Exploring Operation: 79-51=28, Resulting Numbers: [32, 28, 28] Generated Node #0,0: 33:[32, 28, 28] Operation: 79-51=28 Moving to Node #0,0 Current State: 33:[32, 28, 28], Operations: ['79-51=28'] Exploring Operation: 28/28=1, Resulting Numbers: [32, 1] Generated Node #0,0,0: 33:[32, 1] Operation: 28/28=1 Moving to Node #0,0,0 Current State: 33:[32, 1], Operations: ['79-51=28', '28/28=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[51, 79, 32, 28], Operations: [] Exploring Operation: 79-51=28, Resulting Numbers: [32, 28, 28] Generated Node #0,0: 33:[32, 28, 28] Operation: 79-51=28 Moving to Node #0,0 Current State: 33:[32, 28, 28], Operations: ['79-51=28'] Exploring Operation: 28/28=1, Resulting Numbers: [32, 1] Generated Node #0,0,0: 33:[32, 1] Operation: 28/28=1 Moving to Node #0,0,0 Current State: 33:[32, 1], Operations: ['79-51=28', '28/28=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 70, 43, 25, 10 ]
78
[ "70+43=113", "25+10=35", "113-35=78" ]
Current State: 78:[70, 43, 25, 10], Operations: [] Exploring Operation: 70+43=113, Resulting Numbers: [25, 10, 113] Generated Node #2: [25, 10, 113] from Operation: 70+43=113 Current State: 78:[25, 10, 113], Operations: ['70+43=113'] Exploring Operation: 25+10=35, Resulting Numbers: [113, 35] Generated Node #3: [113, 35] from Operation: 25+10=35 Current State: 78:[113, 35], Operations: ['70+43=113', '25+10=35'] Exploring Operation: 113-35=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[70, 43, 25, 10], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [25, 10, 27] Generated Node #0,0: 78:[25, 10, 27] Operation: 70-43=27 Exploring Operation: 70/10=7, Resulting Numbers: [43, 25, 7] Generated Node #0,1: 78:[43, 25, 7] Operation: 70/10=7 Exploring Operation: 70+10=80, Resulting Numbers: [43, 25, 80] Generated Node #0,2: 78:[43, 25, 80] Operation: 70+10=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[25, 10, 27], Operations: ['70-43=27'] Exploring Operation: 25-10=15, Resulting Numbers: [27, 15] Generated Node #0,0,0: 78:[27, 15] Operation: 25-10=15 Exploring Operation: 27-25=2, Resulting Numbers: [10, 2] Generated Node #0,0,1: 78:[10, 2] Operation: 27-25=2 Exploring Operation: 10+27=37, Resulting Numbers: [25, 37] Generated Node #0,0,2: 78:[25, 37] Operation: 10+27=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[27, 15], Operations: ['70-43=27', '25-10=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,78 unequal: No Solution No 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: 78:[10, 2], Operations: ['70-43=27', '27-25=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,78 unequal: No Solution No 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: 78:[25, 37], Operations: ['70-43=27', '10+27=37'] Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,78 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[43, 25, 7], Operations: ['70/10=7'] Exploring Operation: 25-7=18, Resulting Numbers: [43, 18] Generated Node #0,1,0: 78:[43, 18] Operation: 25-7=18 Exploring Operation: 43-7=36, Resulting Numbers: [25, 36] Generated Node #0,1,1: 78:[25, 36] Operation: 43-7=36 Exploring Operation: 43-25=18, Resulting Numbers: [7, 18] Generated Node #0,1,2: 78:[7, 18] Operation: 43-25=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[25, 36], Operations: ['70/10=7', '43-7=36'] Exploring Operation: 25*36=900, Resulting Numbers: [900] 900,78 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,78 unequal: No Solution No 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: 78:[7, 18], Operations: ['70/10=7', '43-25=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,78 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,78 unequal: No Solution No 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: 78:[43, 18], Operations: ['70/10=7', '25-7=18'] Exploring Operation: 43*18=774, Resulting Numbers: [774] 774,78 unequal: No Solution Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[43, 25, 80], Operations: ['70+10=80'] Exploring Operation: 43+25=68, Resulting Numbers: [80, 68] Generated Node #0,2,0: 78:[80, 68] Operation: 43+25=68 Exploring Operation: 43-25=18, Resulting Numbers: [80, 18] Generated Node #0,2,1: 78:[80, 18] Operation: 43-25=18 Exploring Operation: 80-43=37, Resulting Numbers: [25, 37] Generated Node #0,2,2: 78:[25, 37] Operation: 80-43=37 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[25, 37], Operations: ['70+10=80', '80-43=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,78 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,78 unequal: No Solution No 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: 78:[80, 18], Operations: ['70+10=80', '43-25=18'] Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,78 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,78 unequal: No Solution No 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: 78:[80, 68], Operations: ['70+10=80', '43+25=68'] Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,78 unequal: No Solution Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,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_3
sum_heuristic
[ 42, 10, 20, 70 ]
51
[ "20+70=90", "90/10=9", "42+9=51" ]
Current State: 51:[42, 10, 20, 70], Operations: [] Exploring Operation: 20+70=90, Resulting Numbers: [42, 10, 90] Generated Node #2: [42, 10, 90] from Operation: 20+70=90 Current State: 51:[42, 10, 90], Operations: ['20+70=90'] Exploring Operation: 90/10=9, Resulting Numbers: [42, 9] Generated Node #3: [42, 9] from Operation: 90/10=9 Current State: 51:[42, 9], Operations: ['20+70=90', '90/10=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[42, 10, 20, 70], Operations: [] Exploring Operation: 70-10=60, Resulting Numbers: [42, 20, 60] Generated Node #0,0: 51:[42, 20, 60] Operation: 70-10=60 Exploring Operation: 42+10=52, Resulting Numbers: [20, 70, 52] Generated Node #0,1: 51:[20, 70, 52] Operation: 42+10=52 Exploring Operation: 70/10=7, Resulting Numbers: [42, 20, 7] Generated Node #0,2: 51:[42, 20, 7] Operation: 70/10=7 Exploring Operation: 70-42=28, Resulting Numbers: [10, 20, 28] Generated Node #0,3: 51:[10, 20, 28] Operation: 70-42=28 Exploring Operation: 70-20=50, Resulting Numbers: [42, 10, 50] Generated Node #0,4: 51:[42, 10, 50] Operation: 70-20=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[42, 20, 7], Operations: ['70/10=7'] Exploring Operation: 20-7=13, Resulting Numbers: [42, 13] Generated Node #0,2,0: 51:[42, 13] Operation: 20-7=13 Exploring Operation: 42+7=49, Resulting Numbers: [20, 49] Generated Node #0,2,1: 51:[20, 49] Operation: 42+7=49 Exploring Operation: 42/7=6, Resulting Numbers: [20, 6] Generated Node #0,2,2: 51:[20, 6] Operation: 42/7=6 Exploring Operation: 42-20=22, Resulting Numbers: [7, 22] Generated Node #0,2,3: 51:[7, 22] Operation: 42-20=22 Exploring Operation: 42+20=62, Resulting Numbers: [7, 62] Generated Node #0,2,4: 51:[7, 62] Operation: 42+20=62 Moving to Node #0,2,1 Current State: 51:[20, 49], Operations: ['70/10=7', '42+7=49'] Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,51 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[20, 6], Operations: ['70/10=7', '42/7=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,51 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[7, 22], Operations: ['70/10=7', '42-20=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[42, 13], Operations: ['70/10=7', '20-7=13'] Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[7, 62], Operations: ['70/10=7', '42+20=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,51 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[42, 10, 50], Operations: ['70-20=50'] Exploring Operation: 10+50=60, Resulting Numbers: [42, 60] Generated Node #0,4,0: 51:[42, 60] Operation: 10+50=60 Exploring Operation: 42+10=52, Resulting Numbers: [50, 52] Generated Node #0,4,1: 51:[50, 52] Operation: 42+10=52 Exploring Operation: 50-42=8, Resulting Numbers: [10, 8] Generated Node #0,4,2: 51:[10, 8] Operation: 50-42=8 Exploring Operation: 42-10=32, Resulting Numbers: [50, 32] Generated Node #0,4,3: 51:[50, 32] Operation: 42-10=32 Exploring Operation: 50/10=5, Resulting Numbers: [42, 5] Generated Node #0,4,4: 51:[42, 5] Operation: 50/10=5 Moving to Node #0,4,1 Current State: 51:[50, 52], Operations: ['70-20=50', '42+10=52'] Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,51 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[42, 5], Operations: ['70-20=50', '50/10=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,51 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[10, 8], Operations: ['70-20=50', '50-42=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[50, 32], Operations: ['70-20=50', '42-10=32'] Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,51 unequal: No Solution Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,51 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[42, 60], Operations: ['70-20=50', '10+50=60'] Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,51 unequal: No Solution Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[42, 20, 60], Operations: ['70-10=60'] Exploring Operation: 60/20=3, Resulting Numbers: [42, 3] Generated Node #0,0,0: 51:[42, 3] Operation: 60/20=3 Exploring Operation: 60-42=18, Resulting Numbers: [20, 18] Generated Node #0,0,1: 51:[20, 18] Operation: 60-42=18 Exploring Operation: 42+20=62, Resulting Numbers: [60, 62] Generated Node #0,0,2: 51:[60, 62] Operation: 42+20=62 Exploring Operation: 60-20=40, Resulting Numbers: [42, 40] Generated Node #0,0,3: 51:[42, 40] Operation: 60-20=40 Exploring Operation: 42-20=22, Resulting Numbers: [60, 22] Generated Node #0,0,4: 51:[60, 22] Operation: 42-20=22 Moving to Node #0,0,1 Current State: 51:[20, 18], Operations: ['70-10=60', '60-42=18'] Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,51 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[42, 3], Operations: ['70-10=60', '60/20=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[60, 22], Operations: ['70-10=60', '42-20=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,51 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[60, 62], Operations: ['70-10=60', '42+20=62'] Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,51 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[42, 40], Operations: ['70-10=60', '60-20=40'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,51 unequal: No Solution Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[10, 20, 28], Operations: ['70-42=28'] Exploring Operation: 28-10=18, Resulting Numbers: [20, 18] Generated Node #0,3,0: 51:[20, 18] Operation: 28-10=18 Exploring Operation: 10+28=38, Resulting Numbers: [20, 38] Generated Node #0,3,1: 51:[20, 38] Operation: 10+28=38 Exploring Operation: 20/10=2, Resulting Numbers: [28, 2] Generated Node #0,3,2: 51:[28, 2] Operation: 20/10=2 Exploring Operation: 28-20=8, Resulting Numbers: [10, 8] Generated Node #0,3,3: 51:[10, 8] Operation: 28-20=8 Exploring Operation: 20+28=48, Resulting Numbers: [10, 48] Generated Node #0,3,4: 51:[10, 48] Operation: 20+28=48 Moving to Node #0,3,0 Current State: 51:[20, 18], Operations: ['70-42=28', '28-10=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[10, 48], Operations: ['70-42=28', '20+28=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,51 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[28, 2], Operations: ['70-42=28', '20/10=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[10, 8], Operations: ['70-42=28', '28-20=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[20, 38], Operations: ['70-42=28', '10+28=38'] Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[20, 70, 52], Operations: ['42+10=52'] Exploring Operation: 52-20=32, Resulting Numbers: [70, 32] Generated Node #0,1,0: 51:[70, 32] Operation: 52-20=32 Exploring Operation: 70-52=18, Resulting Numbers: [20, 18] Generated Node #0,1,1: 51:[20, 18] Operation: 70-52=18 Exploring Operation: 20+52=72, Resulting Numbers: [70, 72] Generated Node #0,1,2: 51:[70, 72] Operation: 20+52=72 Exploring Operation: 20+70=90, Resulting Numbers: [52, 90] Generated Node #0,1,3: 51:[52, 90] Operation: 20+70=90 Exploring Operation: 70-20=50, Resulting Numbers: [52, 50] Generated Node #0,1,4: 51:[52, 50] Operation: 70-20=50 Moving to Node #0,1,4 Current State: 51:[52, 50], Operations: ['42+10=52', '70-20=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[20, 18], Operations: ['42+10=52', '70-52=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,51 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[70, 32], Operations: ['42+10=52', '52-20=32'] Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,51 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[70, 72], Operations: ['42+10=52', '20+52=72'] Exploring Operation: 70+72=142, Resulting Numbers: [142] 142,51 unequal: No Solution Exploring Operation: 70*72=5040, Resulting Numbers: [5040] 5040,51 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[52, 90], Operations: ['42+10=52', '20+70=90'] Exploring Operation: 52*90=4680, Resulting Numbers: [4680] 4680,51 unequal: No Solution Exploring Operation: 52+90=142, Resulting Numbers: [142] 142,51 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,51 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
[ 78, 69, 23, 35 ]
27
[ "69/23=3", "35*3=105", "105-78=27" ]
Current State: 27:[78, 69, 23, 35], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [78, 35, 3] Generated Node #2: [78, 35, 3] from Operation: 69/23=3 Current State: 27:[78, 35, 3], Operations: ['69/23=3'] Exploring Operation: 35*3=105, Resulting Numbers: [78, 105] Generated Node #3: [78, 105] from Operation: 35*3=105 Current State: 27:[78, 105], Operations: ['69/23=3', '35*3=105'] Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[78, 69, 23, 35], Operations: [] Exploring Operation: 69-35=34, Resulting Numbers: [78, 23, 34] Generated Node #0,0: 27:[78, 23, 34] Operation: 69-35=34 Exploring Operation: 78-23=55, Resulting Numbers: [69, 35, 55] Generated Node #0,1: 27:[69, 35, 55] Operation: 78-23=55 Exploring Operation: 78-35=43, Resulting Numbers: [69, 23, 43] Generated Node #0,2: 27:[69, 23, 43] Operation: 78-35=43 Exploring Operation: 69/23=3, Resulting Numbers: [78, 35, 3] Generated Node #0,3: 27:[78, 35, 3] Operation: 69/23=3 Exploring Operation: 78-69=9, Resulting Numbers: [23, 35, 9] Generated Node #0,4: 27:[23, 35, 9] Operation: 78-69=9 Moving to Node #0,4 Current State: 27:[23, 35, 9], Operations: ['78-69=9'] Exploring Operation: 35+9=44, Resulting Numbers: [23, 44] Generated Node #0,4,0: 27:[23, 44] Operation: 35+9=44 Exploring Operation: 23-9=14, Resulting Numbers: [35, 14] Generated Node #0,4,1: 27:[35, 14] Operation: 23-9=14 Exploring Operation: 35-23=12, Resulting Numbers: [9, 12] Generated Node #0,4,2: 27:[9, 12] Operation: 35-23=12 Exploring Operation: 23+9=32, Resulting Numbers: [35, 32] Generated Node #0,4,3: 27:[35, 32] Operation: 23+9=32 Exploring Operation: 35-9=26, Resulting Numbers: [23, 26] Generated Node #0,4,4: 27:[23, 26] Operation: 35-9=26 Moving to Node #0,3 Current State: 27:[78, 35, 3], Operations: ['69/23=3'] Exploring Operation: 78+3=81, Resulting Numbers: [35, 81] Generated Node #0,3,0: 27:[35, 81] Operation: 78+3=81 Exploring Operation: 78/3=26, Resulting Numbers: [35, 26] Generated Node #0,3,1: 27:[35, 26] Operation: 78/3=26 Exploring Operation: 78-35=43, Resulting Numbers: [3, 43] Generated Node #0,3,2: 27:[3, 43] Operation: 78-35=43 Exploring Operation: 78-3=75, Resulting Numbers: [35, 75] Generated Node #0,3,3: 27:[35, 75] Operation: 78-3=75 Exploring Operation: 35-3=32, Resulting Numbers: [78, 32] Generated Node #0,3,4: 27:[78, 32] Operation: 35-3=32 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 27:[35, 26], Operations: ['69/23=3', '78/3=26'] Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,27 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,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,2 Current State: 27:[3, 43], Operations: ['69/23=3', '78-35=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,27 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,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,3 Current State: 27:[35, 75], Operations: ['69/23=3', '78-3=75'] Exploring Operation: 35+75=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 35*75=2625, Resulting Numbers: [2625] 2625,27 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,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,4 Current State: 27:[78, 32], Operations: ['69/23=3', '35-3=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,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,0 Current State: 27:[35, 81], Operations: ['69/23=3', '78+3=81'] Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 35*81=2835, Resulting Numbers: [2835] 2835,27 unequal: No Solution Exploring Operation: 35+81=116, Resulting Numbers: [116] 116,27 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: 27:[78, 23, 34], Operations: ['69-35=34'] Exploring Operation: 78-23=55, Resulting Numbers: [34, 55] Generated Node #0,0,0: 27:[34, 55] Operation: 78-23=55 Exploring Operation: 34-23=11, Resulting Numbers: [78, 11] Generated Node #0,0,1: 27:[78, 11] Operation: 34-23=11 Exploring Operation: 78-34=44, Resulting Numbers: [23, 44] Generated Node #0,0,2: 27:[23, 44] Operation: 78-34=44 Exploring Operation: 78+23=101, Resulting Numbers: [34, 101] Generated Node #0,0,3: 27:[34, 101] Operation: 78+23=101 Exploring Operation: 23+34=57, Resulting Numbers: [78, 57] Generated Node #0,0,4: 27:[78, 57] Operation: 23+34=57 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[23, 44], Operations: ['69-35=34', '78-34=44'] Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,27 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,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,0,0 Current State: 27:[34, 55], Operations: ['69-35=34', '78-23=55'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 34*55=1870, Resulting Numbers: [1870] 1870,27 unequal: No Solution Exploring Operation: 34+55=89, Resulting Numbers: [89] 89,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,0,1 Current State: 27:[78, 11], Operations: ['69-35=34', '34-23=11'] Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,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,0,3 Current State: 27:[34, 101], Operations: ['69-35=34', '78+23=101'] Exploring Operation: 34*101=3434, Resulting Numbers: [3434] 3434,27 unequal: No Solution Exploring Operation: 34+101=135, Resulting Numbers: [135] 135,27 unequal: No Solution Exploring Operation: 101-34=67, Resulting Numbers: [67] 67,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,0,4 Current State: 27:[78, 57], Operations: ['69-35=34', '23+34=57'] Exploring Operation: 78*57=4446, Resulting Numbers: [4446] 4446,27 unequal: No Solution Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 78+57=135, Resulting Numbers: [135] 135,27 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: 27:[69, 23, 43], Operations: ['78-35=43'] Exploring Operation: 69/23=3, Resulting Numbers: [43, 3] Generated Node #0,2,0: 27:[43, 3] Operation: 69/23=3 Exploring Operation: 69-43=26, Resulting Numbers: [23, 26] Generated Node #0,2,1: 27:[23, 26] Operation: 69-43=26 Exploring Operation: 69+23=92, Resulting Numbers: [43, 92] Generated Node #0,2,2: 27:[43, 92] Operation: 69+23=92 Exploring Operation: 43-23=20, Resulting Numbers: [69, 20] Generated Node #0,2,3: 27:[69, 20] Operation: 43-23=20 Exploring Operation: 69-23=46, Resulting Numbers: [43, 46] Generated Node #0,2,4: 27:[43, 46] Operation: 69-23=46 Moving to Node #0,1 Current State: 27:[69, 35, 55], Operations: ['78-23=55'] Exploring Operation: 55-35=20, Resulting Numbers: [69, 20] Generated Node #0,1,0: 27:[69, 20] Operation: 55-35=20 Exploring Operation: 69-35=34, Resulting Numbers: [55, 34] Generated Node #0,1,1: 27:[55, 34] Operation: 69-35=34 Exploring Operation: 69-55=14, Resulting Numbers: [35, 14] Generated Node #0,1,2: 27:[35, 14] Operation: 69-55=14 Exploring Operation: 69+55=124, Resulting Numbers: [35, 124] Generated Node #0,1,3: 27:[35, 124] Operation: 69+55=124 Exploring Operation: 69+35=104, Resulting Numbers: [55, 104] Generated Node #0,1,4: 27:[55, 104] Operation: 69+35=104 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[35, 14], Operations: ['78-23=55', '69-55=14'] Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,27 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,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,1 Current State: 27:[55, 34], Operations: ['78-23=55', '69-35=34'] Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,27 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,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,0 Current State: 27:[69, 20], Operations: ['78-23=55', '55-35=20'] Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,27 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,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,3 Current State: 27:[35, 124], Operations: ['78-23=55', '69+55=124'] Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,27 unequal: No Solution Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 35*124=4340, Resulting Numbers: [4340] 4340,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,4 Current State: 27:[55, 104], Operations: ['78-23=55', '69+35=104'] Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 55+104=159, Resulting Numbers: [159] 159,27 unequal: No Solution Exploring Operation: 55*104=5720, Resulting Numbers: [5720] 5720,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 27:[9, 12], Operations: ['78-69=9', '35-23=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,27 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[23, 26], Operations: ['78-35=43', '69-43=26'] Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,27 unequal: No Solution Moving to Node #0,4,4 Current State: 27:[23, 26], Operations: ['78-69=9', '35-9=26'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,27 unequal: No Solution Moving to Node #0,4,1 Current State: 27:[35, 14], Operations: ['78-69=9', '23-9=14'] Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,27 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,27 unequal: No Solution Moving to Node #0,4,3 Current State: 27:[35, 32], Operations: ['78-69=9', '23+9=32'] Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,27 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[43, 3], Operations: ['78-35=43', '69/23=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,27 unequal: No Solution Moving to Node #0,4,0 Current State: 27:[23, 44], Operations: ['78-69=9', '35+9=44'] Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,27 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,2,4 Current State: 27:[43, 46], Operations: ['78-35=43', '69-23=46'] Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 43*46=1978, Resulting Numbers: [1978] 1978,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[69, 20], Operations: ['78-35=43', '43-23=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,27 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[43, 92], Operations: ['78-35=43', '69+23=92'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,27 unequal: No Solution Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,27 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 5, 25, 14, 3 ]
37
[ "5*25=125", "125-14=111", "111/3=37" ]
Current State: 37:[5, 25, 14, 3], Operations: [] Exploring Operation: 5*25=125, Resulting Numbers: [14, 3, 125] Generated Node #2: [14, 3, 125] from Operation: 5*25=125 Current State: 37:[14, 3, 125], Operations: ['5*25=125'] Exploring Operation: 125-14=111, Resulting Numbers: [3, 111] Generated Node #3: [3, 111] from Operation: 125-14=111 Current State: 37:[3, 111], Operations: ['5*25=125', '125-14=111'] Exploring Operation: 111/3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[5, 25, 14, 3], Operations: [] Exploring Operation: 5+14=19, Resulting Numbers: [25, 3, 19] Generated Node #0,0: 37:[25, 3, 19] Operation: 5+14=19 Exploring Operation: 5+25=30, Resulting Numbers: [14, 3, 30] Generated Node #0,1: 37:[14, 3, 30] Operation: 5+25=30 Exploring Operation: 14*3=42, Resulting Numbers: [5, 25, 42] Generated Node #0,2: 37:[5, 25, 42] Operation: 14*3=42 Exploring Operation: 5+3=8, Resulting Numbers: [25, 14, 8] Generated Node #0,3: 37:[25, 14, 8] Operation: 5+3=8 Exploring Operation: 5*3=15, Resulting Numbers: [25, 14, 15] Generated Node #0,4: 37:[25, 14, 15] Operation: 5*3=15 Moving to Node #0,2 Current State: 37:[5, 25, 42], Operations: ['14*3=42'] Exploring Operation: 5+25=30, Resulting Numbers: [42, 30] Generated Node #0,2,0: 37:[42, 30] Operation: 5+25=30 Exploring Operation: 25/5=5, Resulting Numbers: [42, 5] Generated Node #0,2,1: 37:[42, 5] Operation: 25/5=5 Exploring Operation: 5+42=47, Resulting Numbers: [25, 47] Generated Node #0,2,2: 37:[25, 47] Operation: 5+42=47 Exploring Operation: 25-5=20, Resulting Numbers: [42, 20] Generated Node #0,2,3: 37:[42, 20] Operation: 25-5=20 Exploring Operation: 42-5=37, Resulting Numbers: [25, 37] Generated Node #0,2,4: 37:[25, 37] Operation: 42-5=37 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[42, 30], Operations: ['14*3=42', '5+25=30'] Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,37 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 37:[25, 37], Operations: ['14*3=42', '42-5=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,37 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,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,2 Current State: 37:[25, 47], Operations: ['14*3=42', '5+42=47'] Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,37 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[42, 20], Operations: ['14*3=42', '25-5=20'] Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,37 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[42, 5], Operations: ['14*3=42', '25/5=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[5, 25, 14, 3], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [5, 25, 42] Generated Node #0,2: 37:[5, 25, 42] Operation: 14*3=42 Moving to Node #0,2 Current State: 37:[5, 25, 42], Operations: ['14*3=42'] Exploring Operation: 25/5=5, Resulting Numbers: [42, 5] Generated Node #0,2,1: 37:[42, 5] Operation: 25/5=5 Moving to Node #0,2,1 Current State: 37:[42, 5], Operations: ['14*3=42', '25/5=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 3, 47, 44, 7 ]
76
[ "47-7=40", "3*40=120", "120-44=76" ]
Current State: 76:[3, 47, 44, 7], Operations: [] Exploring Operation: 47-7=40, Resulting Numbers: [3, 44, 40] Generated Node #2: [3, 44, 40] from Operation: 47-7=40 Current State: 76:[3, 44, 40], Operations: ['47-7=40'] Exploring Operation: 3*40=120, Resulting Numbers: [44, 120] Generated Node #3: [44, 120] from Operation: 3*40=120 Current State: 76:[44, 120], Operations: ['47-7=40', '3*40=120'] Exploring Operation: 120-44=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[3, 47, 44, 7], Operations: [] Exploring Operation: 47-3=44, Resulting Numbers: [44, 7, 44] Generated Node #0,0: 76:[44, 7, 44] Operation: 47-3=44 Exploring Operation: 47-7=40, Resulting Numbers: [3, 44, 40] Generated Node #0,1: 76:[3, 44, 40] Operation: 47-7=40 Exploring Operation: 47-44=3, Resulting Numbers: [3, 7, 3] Generated Node #0,2: 76:[3, 7, 3] Operation: 47-44=3 Exploring Operation: 44-7=37, Resulting Numbers: [3, 47, 37] Generated Node #0,3: 76:[3, 47, 37] Operation: 44-7=37 Moving to Node #0,2 Current State: 76:[3, 7, 3], Operations: ['47-44=3'] Exploring Operation: 3*7=21, Resulting Numbers: [3, 21] Generated Node #0,2,0: 76:[3, 21] Operation: 3*7=21 Exploring Operation: 7*3=21, Resulting Numbers: [3, 21] Generated Node #0,2,1: 76:[3, 21] Operation: 7*3=21 Exploring Operation: 7-3=4, Resulting Numbers: [3, 4] Generated Node #0,2,2: 76:[3, 4] Operation: 7-3=4 Exploring Operation: 7-3=4, Resulting Numbers: [3, 4] Generated Node #0,2,3: 76:[3, 4] Operation: 7-3=4 Moving to Node #0,1 Current State: 76:[3, 44, 40], Operations: ['47-7=40'] Exploring Operation: 44-40=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 76:[3, 4] Operation: 44-40=4 Exploring Operation: 40-3=37, Resulting Numbers: [44, 37] Generated Node #0,1,1: 76:[44, 37] Operation: 40-3=37 Exploring Operation: 44-3=41, Resulting Numbers: [40, 41] Generated Node #0,1,2: 76:[40, 41] Operation: 44-3=41 Exploring Operation: 44+40=84, Resulting Numbers: [3, 84] Generated Node #0,1,3: 76:[3, 84] Operation: 44+40=84 Moving to Node #0,3 Current State: 76:[3, 47, 37], Operations: ['44-7=37'] Exploring Operation: 47-3=44, Resulting Numbers: [37, 44] Generated Node #0,3,0: 76:[37, 44] Operation: 47-3=44 Exploring Operation: 47+37=84, Resulting Numbers: [3, 84] Generated Node #0,3,1: 76:[3, 84] Operation: 47+37=84 Exploring Operation: 47-37=10, Resulting Numbers: [3, 10] Generated Node #0,3,2: 76:[3, 10] Operation: 47-37=10 Exploring Operation: 3+37=40, Resulting Numbers: [47, 40] Generated Node #0,3,3: 76:[47, 40] Operation: 3+37=40 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 76:[37, 44], Operations: ['44-7=37', '47-3=44'] Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,76 unequal: No Solution Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 76:[3, 10], Operations: ['44-7=37', '47-37=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[3, 84], Operations: ['44-7=37', '47+37=84'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 76:[47, 40], Operations: ['44-7=37', '3+37=40'] Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[44, 7, 44], Operations: ['47-3=44'] Exploring Operation: 44-7=37, Resulting Numbers: [44, 37] Generated Node #0,0,0: 76:[44, 37] Operation: 44-7=37 Exploring Operation: 44-7=37, Resulting Numbers: [44, 37] Generated Node #0,0,1: 76:[44, 37] Operation: 44-7=37 Exploring Operation: 44/44=1, Resulting Numbers: [7, 1] Generated Node #0,0,2: 76:[7, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [7, 0] Generated Node #0,0,3: 76:[7, 0] Operation: 44-44=0 Moving to Node #0,2,2 Current State: 76:[3, 4], Operations: ['47-44=3', '7-3=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[3, 4], Operations: ['47-44=3', '7-3=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[3, 4], Operations: ['47-7=40', '44-40=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[3, 21], Operations: ['47-44=3', '3*7=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[3, 21], Operations: ['47-44=3', '7*3=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[7, 1], Operations: ['47-3=44', '44/44=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[40, 41], Operations: ['47-7=40', '44-3=41'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 40+41=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 40*41=1640, Resulting Numbers: [1640] 1640,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[7, 0], Operations: ['47-3=44', '44-44=0'] Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[44, 37], Operations: ['47-3=44', '44-7=37'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[44, 37], Operations: ['47-3=44', '44-7=37'] Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[44, 37], Operations: ['47-7=40', '40-3=37'] Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,76 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[3, 84], Operations: ['47-7=40', '44+40=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,76 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,76 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 6, 33, 48, 30 ]
96
[ "6*48=288", "33-30=3", "288/3=96" ]
Current State: 96:[6, 33, 48, 30], Operations: [] Exploring Operation: 6*48=288, Resulting Numbers: [33, 30, 288] Generated Node #2: [33, 30, 288] from Operation: 6*48=288 Current State: 96:[33, 30, 288], Operations: ['6*48=288'] Exploring Operation: 33-30=3, Resulting Numbers: [288, 3] Generated Node #3: [288, 3] from Operation: 33-30=3 Current State: 96:[288, 3], Operations: ['6*48=288', '33-30=3'] Exploring Operation: 288/3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 33, 48, 30], Operations: [] Exploring Operation: 30-6=24, Resulting Numbers: [33, 48, 24] Generated Node #0,0: 96:[33, 48, 24] Operation: 30-6=24 Exploring Operation: 33-30=3, Resulting Numbers: [6, 48, 3] Generated Node #0,1: 96:[6, 48, 3] Operation: 33-30=3 Exploring Operation: 30/6=5, Resulting Numbers: [33, 48, 5] Generated Node #0,2: 96:[33, 48, 5] Operation: 30/6=5 Moving to Node #0,1 Current State: 96:[6, 48, 3], Operations: ['33-30=3'] Exploring Operation: 6/3=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 96:[48, 2] Operation: 6/3=2 Exploring Operation: 48/6=8, Resulting Numbers: [3, 8] Generated Node #0,1,1: 96:[3, 8] Operation: 48/6=8 Exploring Operation: 6-3=3, Resulting Numbers: [48, 3] Generated Node #0,1,2: 96:[48, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[48, 2], Operations: ['33-30=3', '6/3=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[6, 33, 48, 30], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [6, 48, 3] Generated Node #0,1: 96:[6, 48, 3] Operation: 33-30=3 Moving to Node #0,1 Current State: 96:[6, 48, 3], Operations: ['33-30=3'] Exploring Operation: 6/3=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 96:[48, 2] Operation: 6/3=2 Moving to Node #0,1,0 Current State: 96:[48, 2], Operations: ['33-30=3', '6/3=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 98, 75, 1, 15 ]
92
[ "98-1=97", "75/15=5", "97-5=92" ]
Current State: 92:[98, 75, 1, 15], Operations: [] Exploring Operation: 98-1=97, Resulting Numbers: [75, 15, 97] Generated Node #2: [75, 15, 97] from Operation: 98-1=97 Current State: 92:[75, 15, 97], Operations: ['98-1=97'] Exploring Operation: 75/15=5, Resulting Numbers: [97, 5] Generated Node #3: [97, 5] from Operation: 75/15=5 Current State: 92:[97, 5], Operations: ['98-1=97', '75/15=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[98, 75, 1, 15], Operations: [] Exploring Operation: 98-75=23, Resulting Numbers: [1, 15, 23] Generated Node #0,0: 92:[1, 15, 23] Operation: 98-75=23 Exploring Operation: 75/15=5, Resulting Numbers: [98, 1, 5] Generated Node #0,1: 92:[98, 1, 5] Operation: 75/15=5 Moving to Node #0,1 Current State: 92:[98, 1, 5], Operations: ['75/15=5'] Exploring Operation: 98-1=97, Resulting Numbers: [5, 97] Generated Node #0,1,0: 92:[5, 97] Operation: 98-1=97 Exploring Operation: 98-5=93, Resulting Numbers: [1, 93] Generated Node #0,1,1: 92:[1, 93] Operation: 98-5=93 Moving to Node #0,0 Current State: 92:[1, 15, 23], Operations: ['98-75=23'] Exploring Operation: 1+15=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 92:[23, 16] Operation: 1+15=16 Exploring Operation: 23-15=8, Resulting Numbers: [1, 8] Generated Node #0,0,1: 92:[1, 8] Operation: 23-15=8 Moving to Node #0,1,1 Current State: 92:[1, 93], Operations: ['75/15=5', '98-5=93'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[98, 75, 1, 15], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [98, 1, 5] Generated Node #0,1: 92:[98, 1, 5] Operation: 75/15=5 Moving to Node #0,1 Current State: 92:[98, 1, 5], Operations: ['75/15=5'] Exploring Operation: 98-5=93, Resulting Numbers: [1, 93] Generated Node #0,1,1: 92:[1, 93] Operation: 98-5=93 Moving to Node #0,1,1 Current State: 92:[1, 93], Operations: ['75/15=5', '98-5=93'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 49, 54, 37, 43 ]
52
[ "49+37=86", "86/43=2", "54-2=52" ]
Current State: 52:[49, 54, 37, 43], Operations: [] Exploring Operation: 49+37=86, Resulting Numbers: [54, 43, 86] Generated Node #2: [54, 43, 86] from Operation: 49+37=86 Current State: 52:[54, 43, 86], Operations: ['49+37=86'] Exploring Operation: 86/43=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 86/43=2 Current State: 52:[54, 2], Operations: ['49+37=86', '86/43=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[49, 54, 37, 43], Operations: [] Exploring Operation: 43-37=6, Resulting Numbers: [49, 54, 6] Generated Node #0,0: 52:[49, 54, 6] Operation: 43-37=6 Moving to Node #0,0 Current State: 52:[49, 54, 6], Operations: ['43-37=6'] Exploring Operation: 54-49=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 52:[6, 5] Operation: 54-49=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[6, 5], Operations: ['43-37=6', '54-49=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,52 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
[ 16, 96, 46, 98 ]
64
[ "96-16=80", "46+98=144", "144-80=64" ]
Current State: 64:[16, 96, 46, 98], Operations: [] Exploring Operation: 96-16=80, Resulting Numbers: [46, 98, 80] Generated Node #2: [46, 98, 80] from Operation: 96-16=80 Current State: 64:[46, 98, 80], Operations: ['96-16=80'] Exploring Operation: 46+98=144, Resulting Numbers: [80, 144] Generated Node #3: [80, 144] from Operation: 46+98=144 Current State: 64:[80, 144], Operations: ['96-16=80', '46+98=144'] Exploring Operation: 144-80=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 96, 46, 98], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [16, 98, 50] Generated Node #0,0: 64:[16, 98, 50] Operation: 96-46=50 Exploring Operation: 98-96=2, Resulting Numbers: [16, 46, 2] Generated Node #0,1: 64:[16, 46, 2] Operation: 98-96=2 Exploring Operation: 98-46=52, Resulting Numbers: [16, 96, 52] Generated Node #0,2: 64:[16, 96, 52] Operation: 98-46=52 Moving to Node #0,1 Current State: 64:[16, 46, 2], Operations: ['98-96=2'] Exploring Operation: 16+46=62, Resulting Numbers: [2, 62] Generated Node #0,1,0: 64:[2, 62] Operation: 16+46=62 Exploring Operation: 46/2=23, Resulting Numbers: [16, 23] Generated Node #0,1,1: 64:[16, 23] Operation: 46/2=23 Exploring Operation: 46-16=30, Resulting Numbers: [2, 30] Generated Node #0,1,2: 64:[2, 30] Operation: 46-16=30 Moving to Node #0,2 Current State: 64:[16, 96, 52], Operations: ['98-46=52'] Exploring Operation: 96/16=6, Resulting Numbers: [52, 6] Generated Node #0,2,0: 64:[52, 6] Operation: 96/16=6 Exploring Operation: 96-52=44, Resulting Numbers: [16, 44] Generated Node #0,2,1: 64:[16, 44] Operation: 96-52=44 Exploring Operation: 96-16=80, Resulting Numbers: [52, 80] Generated Node #0,2,2: 64:[52, 80] Operation: 96-16=80 Moving to Node #0,0 Current State: 64:[16, 98, 50], Operations: ['96-46=50'] Exploring Operation: 16+50=66, Resulting Numbers: [98, 66] Generated Node #0,0,0: 64:[98, 66] Operation: 16+50=66 Exploring Operation: 98-16=82, Resulting Numbers: [50, 82] Generated Node #0,0,1: 64:[50, 82] Operation: 98-16=82 Exploring Operation: 98-50=48, Resulting Numbers: [16, 48] Generated Node #0,0,2: 64:[16, 48] Operation: 98-50=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[16, 48], Operations: ['96-46=50', '98-50=48'] Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[16, 96, 46, 98], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [16, 98, 50] Generated Node #0,0: 64:[16, 98, 50] Operation: 96-46=50 Moving to Node #0,0 Current State: 64:[16, 98, 50], Operations: ['96-46=50'] Exploring Operation: 98-50=48, Resulting Numbers: [16, 48] Generated Node #0,0,2: 64:[16, 48] Operation: 98-50=48 Moving to Node #0,0,2 Current State: 64:[16, 48], Operations: ['96-46=50', '98-50=48'] Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 77, 71, 65, 79 ]
68
[ "79-77=2", "71+65=136", "136/2=68" ]
Current State: 68:[77, 71, 65, 79], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [71, 65, 2] Generated Node #2: [71, 65, 2] from Operation: 79-77=2 Current State: 68:[71, 65, 2], Operations: ['79-77=2'] Exploring Operation: 71+65=136, Resulting Numbers: [2, 136] Generated Node #3: [2, 136] from Operation: 71+65=136 Current State: 68:[2, 136], Operations: ['79-77=2', '71+65=136'] Exploring Operation: 136/2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[77, 71, 65, 79], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [77, 71, 14] Generated Node #0,0: 68:[77, 71, 14] Operation: 79-65=14 Exploring Operation: 79-77=2, Resulting Numbers: [71, 65, 2] Generated Node #0,1: 68:[71, 65, 2] Operation: 79-77=2 Exploring Operation: 77-71=6, Resulting Numbers: [65, 79, 6] Generated Node #0,2: 68:[65, 79, 6] Operation: 77-71=6 Moving to Node #0,1 Current State: 68:[71, 65, 2], Operations: ['79-77=2'] Exploring Operation: 71-65=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 68:[2, 6] Operation: 71-65=6 Exploring Operation: 65+2=67, Resulting Numbers: [71, 67] Generated Node #0,1,1: 68:[71, 67] Operation: 65+2=67 Exploring Operation: 71-2=69, Resulting Numbers: [65, 69] Generated Node #0,1,2: 68:[65, 69] Operation: 71-2=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[2, 6], Operations: ['79-77=2', '71-65=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[71, 67], Operations: ['79-77=2', '65+2=67'] Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 71+67=138, Resulting Numbers: [138] 138,68 unequal: No Solution Exploring Operation: 71*67=4757, Resulting Numbers: [4757] 4757,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[65, 69], Operations: ['79-77=2', '71-2=69'] Exploring Operation: 65*69=4485, Resulting Numbers: [4485] 4485,68 unequal: No Solution Exploring Operation: 65+69=134, Resulting Numbers: [134] 134,68 unequal: No Solution Exploring Operation: 69-65=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[77, 71, 14], Operations: ['79-65=14'] Exploring Operation: 77-14=63, Resulting Numbers: [71, 63] Generated Node #0,0,0: 68:[71, 63] Operation: 77-14=63 Exploring Operation: 71-14=57, Resulting Numbers: [77, 57] Generated Node #0,0,1: 68:[77, 57] Operation: 71-14=57 Exploring Operation: 77-71=6, Resulting Numbers: [14, 6] Generated Node #0,0,2: 68:[14, 6] Operation: 77-71=6 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[14, 6], Operations: ['79-65=14', '77-71=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,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,0,0 Current State: 68:[71, 63], Operations: ['79-65=14', '77-14=63'] Exploring Operation: 71+63=134, Resulting Numbers: [134] 134,68 unequal: No Solution Exploring Operation: 71*63=4473, Resulting Numbers: [4473] 4473,68 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,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,0,1 Current State: 68:[77, 57], Operations: ['79-65=14', '71-14=57'] Exploring Operation: 77+57=134, Resulting Numbers: [134] 134,68 unequal: No Solution Exploring Operation: 77*57=4389, Resulting Numbers: [4389] 4389,68 unequal: No Solution Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,68 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: 68:[65, 79, 6], Operations: ['77-71=6'] Exploring Operation: 79-6=73, Resulting Numbers: [65, 73] Generated Node #0,2,0: 68:[65, 73] Operation: 79-6=73 Exploring Operation: 79-65=14, Resulting Numbers: [6, 14] Generated Node #0,2,1: 68:[6, 14] Operation: 79-65=14 Exploring Operation: 65+6=71, Resulting Numbers: [79, 71] Generated Node #0,2,2: 68:[79, 71] Operation: 65+6=71 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[6, 14], Operations: ['77-71=6', '79-65=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,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:[65, 73], Operations: ['77-71=6', '79-6=73'] Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,68 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,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:[79, 71], Operations: ['77-71=6', '65+6=71'] Exploring Operation: 79*71=5609, Resulting Numbers: [5609] 5609,68 unequal: No Solution Exploring Operation: 79+71=150, Resulting Numbers: [150] 150,68 unequal: No Solution Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 48, 11, 68, 14 ]
23
[ "48+11=59", "68+14=82", "82-59=23" ]
Current State: 23:[48, 11, 68, 14], Operations: [] Exploring Operation: 48+11=59, Resulting Numbers: [68, 14, 59] Generated Node #2: [68, 14, 59] from Operation: 48+11=59 Current State: 23:[68, 14, 59], Operations: ['48+11=59'] Exploring Operation: 68+14=82, Resulting Numbers: [59, 82] Generated Node #3: [59, 82] from Operation: 68+14=82 Current State: 23:[59, 82], Operations: ['48+11=59', '68+14=82'] Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[48, 11, 68, 14], Operations: [] Exploring Operation: 48-11=37, Resulting Numbers: [68, 14, 37] Generated Node #0,0: 23:[68, 14, 37] Operation: 48-11=37 Exploring Operation: 68-11=57, Resulting Numbers: [48, 14, 57] Generated Node #0,1: 23:[48, 14, 57] Operation: 68-11=57 Exploring Operation: 48-14=34, Resulting Numbers: [11, 68, 34] Generated Node #0,2: 23:[11, 68, 34] Operation: 48-14=34 Exploring Operation: 68-48=20, Resulting Numbers: [11, 14, 20] Generated Node #0,3: 23:[11, 14, 20] Operation: 68-48=20 Moving to Node #0,3 Current State: 23:[11, 14, 20], Operations: ['68-48=20'] Exploring Operation: 11+20=31, Resulting Numbers: [14, 31] Generated Node #0,3,0: 23:[14, 31] Operation: 11+20=31 Exploring Operation: 20-11=9, Resulting Numbers: [14, 9] Generated Node #0,3,1: 23:[14, 9] Operation: 20-11=9 Exploring Operation: 14-11=3, Resulting Numbers: [20, 3] Generated Node #0,3,2: 23:[20, 3] Operation: 14-11=3 Exploring Operation: 11+14=25, Resulting Numbers: [20, 25] Generated Node #0,3,3: 23:[20, 25] Operation: 11+14=25 Moving to Node #0,1 Current State: 23:[48, 14, 57], Operations: ['68-11=57'] Exploring Operation: 48-14=34, Resulting Numbers: [57, 34] Generated Node #0,1,0: 23:[57, 34] Operation: 48-14=34 Exploring Operation: 57-48=9, Resulting Numbers: [14, 9] Generated Node #0,1,1: 23:[14, 9] Operation: 57-48=9 Exploring Operation: 48+14=62, Resulting Numbers: [57, 62] Generated Node #0,1,2: 23:[57, 62] Operation: 48+14=62 Exploring Operation: 57-14=43, Resulting Numbers: [48, 43] Generated Node #0,1,3: 23:[48, 43] Operation: 57-14=43 Moving to Node #0,0 Current State: 23:[68, 14, 37], Operations: ['48-11=37'] Exploring Operation: 68+14=82, Resulting Numbers: [37, 82] Generated Node #0,0,0: 23:[37, 82] Operation: 68+14=82 Exploring Operation: 68-37=31, Resulting Numbers: [14, 31] Generated Node #0,0,1: 23:[14, 31] Operation: 68-37=31 Exploring Operation: 37-14=23, Resulting Numbers: [68, 23] Generated Node #0,0,2: 23:[68, 23] Operation: 37-14=23 Exploring Operation: 68-14=54, Resulting Numbers: [37, 54] Generated Node #0,0,3: 23:[37, 54] Operation: 68-14=54 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[14, 31], Operations: ['48-11=37', '68-37=31'] Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,23 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,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:[68, 23], Operations: ['48-11=37', '37-14=23'] Exploring Operation: 68+23=91, Resulting Numbers: [91] 91,23 unequal: No Solution Exploring Operation: 68*23=1564, Resulting Numbers: [1564] 1564,23 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,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:[37, 54], Operations: ['48-11=37', '68-14=54'] Exploring Operation: 37*54=1998, Resulting Numbers: [1998] 1998,23 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 37+54=91, Resulting Numbers: [91] 91,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:[37, 82], Operations: ['48-11=37', '68+14=82'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,23 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,23 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: 23:[11, 68, 34], Operations: ['48-14=34'] Exploring Operation: 68-11=57, Resulting Numbers: [34, 57] Generated Node #0,2,0: 23:[34, 57] Operation: 68-11=57 Exploring Operation: 34-11=23, Resulting Numbers: [68, 23] Generated Node #0,2,1: 23:[68, 23] Operation: 34-11=23 Exploring Operation: 68/34=2, Resulting Numbers: [11, 2] Generated Node #0,2,2: 23:[11, 2] Operation: 68/34=2 Exploring Operation: 68-34=34, Resulting Numbers: [11, 34] Generated Node #0,2,3: 23:[11, 34] Operation: 68-34=34 Moving to Node #0,3,3 Current State: 23:[20, 25], Operations: ['68-48=20', '11+14=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,23 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[14, 31], Operations: ['68-48=20', '11+20=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,23 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[14, 9], Operations: ['68-48=20', '20-11=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[48, 11, 68, 14], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [11, 14, 20] Generated Node #0,3: 23:[11, 14, 20] Operation: 68-48=20 Moving to Node #0,3 Current State: 23:[11, 14, 20], Operations: ['68-48=20'] Exploring Operation: 20-11=9, Resulting Numbers: [14, 9] Generated Node #0,3,1: 23:[14, 9] Operation: 20-11=9 Moving to Node #0,3,1 Current State: 23:[14, 9], Operations: ['68-48=20', '20-11=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.960938
hs_4
sum_heuristic
[ 44, 27, 98, 78 ]
23
[ "98+78=176", "176/44=4", "27-4=23" ]
Current State: 23:[44, 27, 98, 78], Operations: [] Exploring Operation: 98+78=176, Resulting Numbers: [44, 27, 176] Generated Node #2: [44, 27, 176] from Operation: 98+78=176 Current State: 23:[44, 27, 176], Operations: ['98+78=176'] Exploring Operation: 176/44=4, Resulting Numbers: [27, 4] Generated Node #3: [27, 4] from Operation: 176/44=4 Current State: 23:[27, 4], Operations: ['98+78=176', '176/44=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[44, 27, 98, 78], Operations: [] Exploring Operation: 98-44=54, Resulting Numbers: [27, 78, 54] Generated Node #0,0: 23:[27, 78, 54] Operation: 98-44=54 Exploring Operation: 78-44=34, Resulting Numbers: [27, 98, 34] Generated Node #0,1: 23:[27, 98, 34] Operation: 78-44=34 Exploring Operation: 98-78=20, Resulting Numbers: [44, 27, 20] Generated Node #0,2: 23:[44, 27, 20] Operation: 98-78=20 Exploring Operation: 98-27=71, Resulting Numbers: [44, 78, 71] Generated Node #0,3: 23:[44, 78, 71] Operation: 98-27=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[44, 27, 20], Operations: ['98-78=20'] Exploring Operation: 44+20=64, Resulting Numbers: [27, 64] Generated Node #0,2,0: 23:[27, 64] Operation: 44+20=64 Exploring Operation: 27-20=7, Resulting Numbers: [44, 7] Generated Node #0,2,1: 23:[44, 7] Operation: 27-20=7 Exploring Operation: 44-20=24, Resulting Numbers: [27, 24] Generated Node #0,2,2: 23:[27, 24] Operation: 44-20=24 Exploring Operation: 44-27=17, Resulting Numbers: [20, 17] Generated Node #0,2,3: 23:[20, 17] Operation: 44-27=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[27, 24], Operations: ['98-78=20', '44-20=24'] Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,23 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,23 unequal: No Solution No 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: 23:[20, 17], Operations: ['98-78=20', '44-27=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,23 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,23 unequal: No Solution No 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: 23:[44, 7], Operations: ['98-78=20', '27-20=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,23 unequal: No Solution No 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: 23:[27, 64], Operations: ['98-78=20', '44+20=64'] Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,23 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,23 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,23 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: 23:[27, 78, 54], Operations: ['98-44=54'] Exploring Operation: 78-54=24, Resulting Numbers: [27, 24] Generated Node #0,0,0: 23:[27, 24] Operation: 78-54=24 Exploring Operation: 54-27=27, Resulting Numbers: [78, 27] Generated Node #0,0,1: 23:[78, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [78, 2] Generated Node #0,0,2: 23:[78, 2] Operation: 54/27=2 Exploring Operation: 78-27=51, Resulting Numbers: [54, 51] Generated Node #0,0,3: 23:[54, 51] Operation: 78-27=51 Moving to Node #0,0,0 Current State: 23:[27, 24], Operations: ['98-44=54', '78-54=24'] Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,23 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[54, 51], Operations: ['98-44=54', '78-27=51'] Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,23 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[78, 27], Operations: ['98-44=54', '54-27=27'] 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 Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[78, 2], Operations: ['98-44=54', '54/27=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,23 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,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 Current State: 23:[27, 98, 34], Operations: ['78-44=34'] Exploring Operation: 27+98=125, Resulting Numbers: [34, 125] Generated Node #0,1,0: 23:[34, 125] Operation: 27+98=125 Exploring Operation: 34-27=7, Resulting Numbers: [98, 7] Generated Node #0,1,1: 23:[98, 7] Operation: 34-27=7 Exploring Operation: 98-34=64, Resulting Numbers: [27, 64] Generated Node #0,1,2: 23:[27, 64] Operation: 98-34=64 Exploring Operation: 98-27=71, Resulting Numbers: [34, 71] Generated Node #0,1,3: 23:[34, 71] Operation: 98-27=71 Moving to Node #0,1,2 Current State: 23:[27, 64], Operations: ['78-44=34', '98-34=64'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,23 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[34, 71], Operations: ['78-44=34', '98-27=71'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[98, 7], Operations: ['78-44=34', '34-27=7'] Exploring Operation: 98*7=686, Resulting Numbers: [686] 686,23 unequal: No Solution Exploring Operation: 98+7=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[34, 125], Operations: ['78-44=34', '27+98=125'] Exploring Operation: 34*125=4250, Resulting Numbers: [4250] 4250,23 unequal: No Solution Exploring Operation: 34+125=159, Resulting Numbers: [159] 159,23 unequal: No Solution Exploring Operation: 125-34=91, Resulting Numbers: [91] 91,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[44, 78, 71], Operations: ['98-27=71'] Exploring Operation: 44+78=122, Resulting Numbers: [71, 122] Generated Node #0,3,0: 23:[71, 122] Operation: 44+78=122 Exploring Operation: 78-71=7, Resulting Numbers: [44, 7] Generated Node #0,3,1: 23:[44, 7] Operation: 78-71=7 Exploring Operation: 78-44=34, Resulting Numbers: [71, 34] Generated Node #0,3,2: 23:[71, 34] Operation: 78-44=34 Exploring Operation: 71-44=27, Resulting Numbers: [78, 27] Generated Node #0,3,3: 23:[78, 27] Operation: 71-44=27 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[44, 7], Operations: ['98-27=71', '78-71=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,23 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,23 unequal: No Solution No 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: 23:[71, 34], Operations: ['98-27=71', '78-44=34'] Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,23 unequal: No Solution No 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: 23:[78, 27], Operations: ['98-27=71', '71-44=27'] Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,23 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,23 unequal: No Solution No 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: 23:[71, 122], Operations: ['98-27=71', '44+78=122'] Exploring Operation: 71+122=193, Resulting Numbers: [193] 193,23 unequal: No Solution Exploring Operation: 71*122=8662, Resulting Numbers: [8662] 8662,23 unequal: No Solution Exploring Operation: 122-71=51, Resulting Numbers: [51] 51,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 2, 95, 28, 68 ]
94
[ "2*95=190", "28+68=96", "190-96=94" ]
Current State: 94:[2, 95, 28, 68], Operations: [] Exploring Operation: 2*95=190, Resulting Numbers: [28, 68, 190] Generated Node #2: [28, 68, 190] from Operation: 2*95=190 Current State: 94:[28, 68, 190], Operations: ['2*95=190'] Exploring Operation: 28+68=96, Resulting Numbers: [190, 96] Generated Node #3: [190, 96] from Operation: 28+68=96 Current State: 94:[190, 96], Operations: ['2*95=190', '28+68=96'] Exploring Operation: 190-96=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[2, 95, 28, 68], Operations: [] Exploring Operation: 2*28=56, Resulting Numbers: [95, 68, 56] Generated Node #0,0: 94:[95, 68, 56] Operation: 2*28=56 Exploring Operation: 68/2=34, Resulting Numbers: [95, 28, 34] Generated Node #0,1: 94:[95, 28, 34] Operation: 68/2=34 Exploring Operation: 68-28=40, Resulting Numbers: [2, 95, 40] Generated Node #0,2: 94:[2, 95, 40] Operation: 68-28=40 Exploring Operation: 28+68=96, Resulting Numbers: [2, 95, 96] Generated Node #0,3: 94:[2, 95, 96] Operation: 28+68=96 Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[2, 95, 96], Operations: ['28+68=96'] Exploring Operation: 96/2=48, Resulting Numbers: [95, 48] Generated Node #0,3,0: 94:[95, 48] Operation: 96/2=48 Exploring Operation: 96-2=94, Resulting Numbers: [95, 94] Generated Node #0,3,1: 94:[95, 94] Operation: 96-2=94 Exploring Operation: 96-95=1, Resulting Numbers: [2, 1] Generated Node #0,3,2: 94:[2, 1] Operation: 96-95=1 Exploring Operation: 95-2=93, Resulting Numbers: [96, 93] Generated Node #0,3,3: 94:[96, 93] Operation: 95-2=93 Moving to Node #0,3,1 Current State: 94:[95, 94], Operations: ['28+68=96', '96-2=94'] Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 95+94=189, Resulting Numbers: [189] 189,94 unequal: No Solution Exploring Operation: 95*94=8930, Resulting Numbers: [8930] 8930,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[2, 1], Operations: ['28+68=96', '96-95=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[95, 48], Operations: ['28+68=96', '96/2=48'] Exploring Operation: 95+48=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 95*48=4560, Resulting Numbers: [4560] 4560,94 unequal: No Solution Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[96, 93], Operations: ['28+68=96', '95-2=93'] Exploring Operation: 96+93=189, Resulting Numbers: [189] 189,94 unequal: No Solution Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 96*93=8928, Resulting Numbers: [8928] 8928,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 Current State: 94:[2, 95, 40], Operations: ['68-28=40'] Exploring Operation: 2+40=42, Resulting Numbers: [95, 42] Generated Node #0,2,0: 94:[95, 42] Operation: 2+40=42 Exploring Operation: 2+95=97, Resulting Numbers: [40, 97] Generated Node #0,2,1: 94:[40, 97] Operation: 2+95=97 Exploring Operation: 95-40=55, Resulting Numbers: [2, 55] Generated Node #0,2,2: 94:[2, 55] Operation: 95-40=55 Exploring Operation: 95-2=93, Resulting Numbers: [40, 93] Generated Node #0,2,3: 94:[40, 93] Operation: 95-2=93 Moving to Node #0,2,0 Current State: 94:[95, 42], Operations: ['68-28=40', '2+40=42'] Exploring Operation: 95*42=3990, Resulting Numbers: [3990] 3990,94 unequal: No Solution Exploring Operation: 95+42=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[40, 93], Operations: ['68-28=40', '95-2=93'] Exploring Operation: 40*93=3720, Resulting Numbers: [3720] 3720,94 unequal: No Solution Exploring Operation: 40+93=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[2, 55], Operations: ['68-28=40', '95-40=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[40, 97], Operations: ['68-28=40', '2+95=97'] Exploring Operation: 97-40=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 40+97=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 40*97=3880, Resulting Numbers: [3880] 3880,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[95, 68, 56], Operations: ['2*28=56'] Exploring Operation: 95-68=27, Resulting Numbers: [56, 27] Generated Node #0,0,0: 94:[56, 27] Operation: 95-68=27 Exploring Operation: 68+56=124, Resulting Numbers: [95, 124] Generated Node #0,0,1: 94:[95, 124] Operation: 68+56=124 Exploring Operation: 95-56=39, Resulting Numbers: [68, 39] Generated Node #0,0,2: 94:[68, 39] Operation: 95-56=39 Exploring Operation: 68-56=12, Resulting Numbers: [95, 12] Generated Node #0,0,3: 94:[95, 12] Operation: 68-56=12 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[95, 12], Operations: ['2*28=56', '68-56=12'] Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,94 unequal: No Solution Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,94 unequal: No Solution Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,94 unequal: No Solution No 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: 94:[56, 27], Operations: ['2*28=56', '95-68=27'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,94 unequal: No Solution Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,94 unequal: No Solution No 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: 94:[68, 39], Operations: ['2*28=56', '95-56=39'] Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,94 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,94 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,94 unequal: No Solution No 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: 94:[95, 124], Operations: ['2*28=56', '68+56=124'] Exploring Operation: 124-95=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 95*124=11780, Resulting Numbers: [11780] 11780,94 unequal: No Solution Exploring Operation: 95+124=219, Resulting Numbers: [219] 219,94 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: 94:[95, 28, 34], Operations: ['68/2=34'] Exploring Operation: 28+34=62, Resulting Numbers: [95, 62] Generated Node #0,1,0: 94:[95, 62] Operation: 28+34=62 Exploring Operation: 95-34=61, Resulting Numbers: [28, 61] Generated Node #0,1,1: 94:[28, 61] Operation: 95-34=61 Exploring Operation: 95-28=67, Resulting Numbers: [34, 67] Generated Node #0,1,2: 94:[34, 67] Operation: 95-28=67 Exploring Operation: 34-28=6, Resulting Numbers: [95, 6] Generated Node #0,1,3: 94:[95, 6] Operation: 34-28=6 Moving to Node #0,1,3 Current State: 94:[95, 6], Operations: ['68/2=34', '34-28=6'] Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[95, 62], Operations: ['68/2=34', '28+34=62'] Exploring Operation: 95+62=157, Resulting Numbers: [157] 157,94 unequal: No Solution Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 95*62=5890, Resulting Numbers: [5890] 5890,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[34, 67], Operations: ['68/2=34', '95-28=67'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 34*67=2278, Resulting Numbers: [2278] 2278,94 unequal: No Solution Exploring Operation: 34+67=101, Resulting Numbers: [101] 101,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[28, 61], Operations: ['68/2=34', '95-34=61'] Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,94 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 25, 13, 14, 23 ]
21
[ "25-13=12", "23-14=9", "12+9=21" ]
Current State: 21:[25, 13, 14, 23], Operations: [] Exploring Operation: 25-13=12, Resulting Numbers: [14, 23, 12] Generated Node #2: [14, 23, 12] from Operation: 25-13=12 Current State: 21:[14, 23, 12], Operations: ['25-13=12'] Exploring Operation: 23-14=9, Resulting Numbers: [12, 9] Generated Node #3: [12, 9] from Operation: 23-14=9 Current State: 21:[12, 9], Operations: ['25-13=12', '23-14=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[25, 13, 14, 23], Operations: [] Exploring Operation: 14-13=1, Resulting Numbers: [25, 23, 1] Generated Node #0,0: 21:[25, 23, 1] Operation: 14-13=1 Exploring Operation: 25-14=11, Resulting Numbers: [13, 23, 11] Generated Node #0,1: 21:[13, 23, 11] Operation: 25-14=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[25, 23, 1], Operations: ['14-13=1'] Exploring Operation: 25-23=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 21:[1, 2] Operation: 25-23=2 Exploring Operation: 25-1=24, Resulting Numbers: [23, 24] Generated Node #0,0,1: 21:[23, 24] Operation: 25-1=24 Moving to Node #0,0,0 Current State: 21:[1, 2], Operations: ['14-13=1', '25-23=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[23, 24], Operations: ['14-13=1', '25-1=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,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 Current State: 21:[13, 23, 11], Operations: ['25-14=11'] Exploring Operation: 13+11=24, Resulting Numbers: [23, 24] Generated Node #0,1,0: 21:[23, 24] Operation: 13+11=24 Exploring Operation: 13-11=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 21:[23, 2] Operation: 13-11=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[23, 2], Operations: ['25-14=11', '13-11=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[25, 13, 14, 23], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [13, 23, 11] Generated Node #0,1: 21:[13, 23, 11] Operation: 25-14=11 Moving to Node #0,1 Current State: 21:[13, 23, 11], Operations: ['25-14=11'] Exploring Operation: 13-11=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 21:[23, 2] Operation: 13-11=2 Moving to Node #0,1,1 Current State: 21:[23, 2], Operations: ['25-14=11', '13-11=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 25, 46, 67, 5 ]
80
[ "67-46=21", "5*21=105", "105-25=80" ]
Current State: 80:[25, 46, 67, 5], Operations: [] Exploring Operation: 67-46=21, Resulting Numbers: [25, 5, 21] Generated Node #2: [25, 5, 21] from Operation: 67-46=21 Current State: 80:[25, 5, 21], Operations: ['67-46=21'] Exploring Operation: 5*21=105, Resulting Numbers: [25, 105] Generated Node #3: [25, 105] from Operation: 5*21=105 Current State: 80:[25, 105], Operations: ['67-46=21', '5*21=105'] Exploring Operation: 105-25=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[25, 46, 67, 5], Operations: [] Exploring Operation: 46-25=21, Resulting Numbers: [67, 5, 21] Generated Node #0,0: 80:[67, 5, 21] Operation: 46-25=21 Exploring Operation: 67-25=42, Resulting Numbers: [46, 5, 42] Generated Node #0,1: 80:[46, 5, 42] Operation: 67-25=42 Exploring Operation: 67-46=21, Resulting Numbers: [25, 5, 21] Generated Node #0,2: 80:[25, 5, 21] Operation: 67-46=21 Moving to Node #0,2 Current State: 80:[25, 5, 21], Operations: ['67-46=21'] Exploring Operation: 25-5=20, Resulting Numbers: [21, 20] Generated Node #0,2,0: 80:[21, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [21, 5] Generated Node #0,2,1: 80:[21, 5] Operation: 25/5=5 Exploring Operation: 25-21=4, Resulting Numbers: [5, 4] Generated Node #0,2,2: 80:[5, 4] Operation: 25-21=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[5, 4], Operations: ['67-46=21', '25-21=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[21, 20], Operations: ['67-46=21', '25-5=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[21, 5], Operations: ['67-46=21', '25/5=5'] Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,80 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: 80:[46, 5, 42], Operations: ['67-25=42'] Exploring Operation: 46+42=88, Resulting Numbers: [5, 88] Generated Node #0,1,0: 80:[5, 88] Operation: 46+42=88 Exploring Operation: 46-42=4, Resulting Numbers: [5, 4] Generated Node #0,1,1: 80:[5, 4] Operation: 46-42=4 Exploring Operation: 46-5=41, Resulting Numbers: [42, 41] Generated Node #0,1,2: 80:[42, 41] Operation: 46-5=41 Moving to Node #0,0 Current State: 80:[67, 5, 21], Operations: ['46-25=21'] Exploring Operation: 67+5=72, Resulting Numbers: [21, 72] Generated Node #0,0,0: 80:[21, 72] Operation: 67+5=72 Exploring Operation: 67-21=46, Resulting Numbers: [5, 46] Generated Node #0,0,1: 80:[5, 46] Operation: 67-21=46 Exploring Operation: 67+21=88, Resulting Numbers: [5, 88] Generated Node #0,0,2: 80:[5, 88] Operation: 67+21=88 Moving to Node #0,1,1 Current State: 80:[5, 4], Operations: ['67-25=42', '46-42=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[42, 41], Operations: ['67-25=42', '46-5=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,80 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[5, 46], Operations: ['46-25=21', '67-21=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[5, 88], Operations: ['67-25=42', '46+42=88'] Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,80 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[5, 88], Operations: ['46-25=21', '67+21=88'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[21, 72], Operations: ['46-25=21', '67+5=72'] Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,80 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 98, 76, 1 ]
36
[ "14+98=112", "76*1=76", "112-76=36" ]
Current State: 36:[14, 98, 76, 1], Operations: [] Exploring Operation: 14+98=112, Resulting Numbers: [76, 1, 112] Generated Node #2: [76, 1, 112] from Operation: 14+98=112 Current State: 36:[76, 1, 112], Operations: ['14+98=112'] Exploring Operation: 76*1=76, Resulting Numbers: [112, 76] Generated Node #3: [112, 76] from Operation: 76*1=76 Current State: 36:[112, 76], Operations: ['14+98=112', '76*1=76'] Exploring Operation: 112-76=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[14, 98, 76, 1], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [76, 1, 7] Generated Node #0,0: 36:[76, 1, 7] Operation: 98/14=7 Exploring Operation: 98-76=22, Resulting Numbers: [14, 1, 22] Generated Node #0,1: 36:[14, 1, 22] Operation: 98-76=22 Moving to Node #0,1 Current State: 36:[14, 1, 22], Operations: ['98-76=22'] Exploring Operation: 22-14=8, Resulting Numbers: [1, 8] Generated Node #0,1,0: 36:[1, 8] Operation: 22-14=8 Exploring Operation: 14+22=36, Resulting Numbers: [1, 36] Generated Node #0,1,1: 36:[1, 36] Operation: 14+22=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[1, 36], Operations: ['98-76=22', '14+22=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[14, 98, 76, 1], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [14, 1, 22] Generated Node #0,1: 36:[14, 1, 22] Operation: 98-76=22 Moving to Node #0,1 Current State: 36:[14, 1, 22], Operations: ['98-76=22'] Exploring Operation: 14+22=36, Resulting Numbers: [1, 36] Generated Node #0,1,1: 36:[1, 36] Operation: 14+22=36 Moving to Node #0,1,1 Current State: 36:[1, 36], Operations: ['98-76=22', '14+22=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 22, 42, 74, 10 ]
39
[ "22*74=1628", "10+1628=1638", "1638/42=39" ]
Current State: 39:[22, 42, 74, 10], Operations: [] Exploring Operation: 22*74=1628, Resulting Numbers: [42, 10, 1628] Generated Node #2: [42, 10, 1628] from Operation: 22*74=1628 Current State: 39:[42, 10, 1628], Operations: ['22*74=1628'] Exploring Operation: 10+1628=1638, Resulting Numbers: [42, 1638] Generated Node #3: [42, 1638] from Operation: 10+1628=1638 Current State: 39:[42, 1638], Operations: ['22*74=1628', '10+1628=1638'] Exploring Operation: 1638/42=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[22, 42, 74, 10], Operations: [] Exploring Operation: 74-42=32, Resulting Numbers: [22, 10, 32] Generated Node #0,0: 39:[22, 10, 32] Operation: 74-42=32 Exploring Operation: 74-22=52, Resulting Numbers: [42, 10, 52] Generated Node #0,1: 39:[42, 10, 52] Operation: 74-22=52 Exploring Operation: 22-10=12, Resulting Numbers: [42, 74, 12] Generated Node #0,2: 39:[42, 74, 12] Operation: 22-10=12 Exploring Operation: 74-10=64, Resulting Numbers: [22, 42, 64] Generated Node #0,3: 39:[22, 42, 64] Operation: 74-10=64 Moving to Node #0,0 Current State: 39:[22, 10, 32], Operations: ['74-42=32'] Exploring Operation: 22-10=12, Resulting Numbers: [32, 12] Generated Node #0,0,0: 39:[32, 12] Operation: 22-10=12 Exploring Operation: 22+10=32, Resulting Numbers: [32, 32] Generated Node #0,0,1: 39:[32, 32] Operation: 22+10=32 Exploring Operation: 10+32=42, Resulting Numbers: [22, 42] Generated Node #0,0,2: 39:[22, 42] Operation: 10+32=42 Exploring Operation: 32-22=10, Resulting Numbers: [10, 10] Generated Node #0,0,3: 39:[10, 10] Operation: 32-22=10 Moving to Node #0,1 Current State: 39:[42, 10, 52], Operations: ['74-22=52'] Exploring Operation: 52-10=42, Resulting Numbers: [42, 42] Generated Node #0,1,0: 39:[42, 42] Operation: 52-10=42 Exploring Operation: 52-42=10, Resulting Numbers: [10, 10] Generated Node #0,1,1: 39:[10, 10] Operation: 52-42=10 Exploring Operation: 42-10=32, Resulting Numbers: [52, 32] Generated Node #0,1,2: 39:[52, 32] Operation: 42-10=32 Exploring Operation: 42+10=52, Resulting Numbers: [52, 52] Generated Node #0,1,3: 39:[52, 52] Operation: 42+10=52 Moving to Node #0,3 Current State: 39:[22, 42, 64], Operations: ['74-10=64'] Exploring Operation: 42-22=20, Resulting Numbers: [64, 20] Generated Node #0,3,0: 39:[64, 20] Operation: 42-22=20 Exploring Operation: 64-22=42, Resulting Numbers: [42, 42] Generated Node #0,3,1: 39:[42, 42] Operation: 64-22=42 Exploring Operation: 64-42=22, Resulting Numbers: [22, 22] Generated Node #0,3,2: 39:[22, 22] Operation: 64-42=22 Exploring Operation: 22+42=64, Resulting Numbers: [64, 64] Generated Node #0,3,3: 39:[64, 64] Operation: 22+42=64 Moving to Node #0,2 Current State: 39:[42, 74, 12], Operations: ['22-10=12'] Exploring Operation: 42-12=30, Resulting Numbers: [74, 30] Generated Node #0,2,0: 39:[74, 30] Operation: 42-12=30 Exploring Operation: 42+12=54, Resulting Numbers: [74, 54] Generated Node #0,2,1: 39:[74, 54] Operation: 42+12=54 Exploring Operation: 74-42=32, Resulting Numbers: [12, 32] Generated Node #0,2,2: 39:[12, 32] Operation: 74-42=32 Exploring Operation: 74-12=62, Resulting Numbers: [42, 62] Generated Node #0,2,3: 39:[42, 62] Operation: 74-12=62 Moving to Node #0,0,3 Current State: 39:[10, 10], Operations: ['74-42=32', '32-22=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[10, 10], Operations: ['74-22=52', '52-42=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[42, 42], Operations: ['74-22=52', '52-10=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,39 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[42, 42], Operations: ['74-10=64', '64-22=42'] Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[12, 32], Operations: ['22-10=12', '74-42=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[32, 12], Operations: ['74-42=32', '22-10=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,39 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[22, 42], Operations: ['74-42=32', '10+32=42'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,39 unequal: No Solution Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[32, 32], Operations: ['74-42=32', '22+10=32'] Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[22, 22], Operations: ['74-10=64', '64-42=22'] Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,39 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[52, 32], Operations: ['74-22=52', '42-10=32'] Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,39 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[42, 62], Operations: ['22-10=12', '74-12=62'] Exploring Operation: 42+62=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 42*62=2604, Resulting Numbers: [2604] 2604,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[52, 52], Operations: ['74-22=52', '42+10=52'] Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[64, 20], Operations: ['74-10=64', '42-22=20'] Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[74, 30], Operations: ['22-10=12', '42-12=30'] Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[74, 54], Operations: ['22-10=12', '42+12=54'] Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,39 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[64, 64], Operations: ['74-10=64', '22+42=64'] Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,39 unequal: No Solution Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,39 unequal: No Solution Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,39 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 47, 82, 1, 16 ]
52
[ "82-47=35", "1+16=17", "35+17=52" ]
Current State: 52:[47, 82, 1, 16], Operations: [] Exploring Operation: 82-47=35, Resulting Numbers: [1, 16, 35] Generated Node #2: [1, 16, 35] from Operation: 82-47=35 Current State: 52:[1, 16, 35], Operations: ['82-47=35'] Exploring Operation: 1+16=17, Resulting Numbers: [35, 17] Generated Node #3: [35, 17] from Operation: 1+16=17 Current State: 52:[35, 17], Operations: ['82-47=35', '1+16=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[47, 82, 1, 16], Operations: [] Exploring Operation: 47+1=48, Resulting Numbers: [82, 16, 48] Generated Node #0,0: 52:[82, 16, 48] Operation: 47+1=48 Exploring Operation: 82-47=35, Resulting Numbers: [1, 16, 35] Generated Node #0,1: 52:[1, 16, 35] Operation: 82-47=35 Exploring Operation: 47-16=31, Resulting Numbers: [82, 1, 31] Generated Node #0,2: 52:[82, 1, 31] Operation: 47-16=31 Exploring Operation: 82-16=66, Resulting Numbers: [47, 1, 66] Generated Node #0,3: 52:[47, 1, 66] Operation: 82-16=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[1, 16, 35], Operations: ['82-47=35'] Exploring Operation: 16-1=15, Resulting Numbers: [35, 15] Generated Node #0,1,0: 52:[35, 15] Operation: 16-1=15 Exploring Operation: 35-1=34, Resulting Numbers: [16, 34] Generated Node #0,1,1: 52:[16, 34] Operation: 35-1=34 Exploring Operation: 16+35=51, Resulting Numbers: [1, 51] Generated Node #0,1,2: 52:[1, 51] Operation: 16+35=51 Exploring Operation: 35-16=19, Resulting Numbers: [1, 19] Generated Node #0,1,3: 52:[1, 19] Operation: 35-16=19 Moving to Node #0,1,2 Current State: 52:[1, 51], Operations: ['82-47=35', '16+35=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,52 unequal: No Solution Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[47, 82, 1, 16], Operations: [] Exploring Operation: 82-47=35, Resulting Numbers: [1, 16, 35] Generated Node #0,1: 52:[1, 16, 35] Operation: 82-47=35 Moving to Node #0,1 Current State: 52:[1, 16, 35], Operations: ['82-47=35'] Exploring Operation: 16+35=51, Resulting Numbers: [1, 51] Generated Node #0,1,2: 52:[1, 51] Operation: 16+35=51 Moving to Node #0,1,2 Current State: 52:[1, 51], Operations: ['82-47=35', '16+35=51'] Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 34, 11, 11, 51 ]
66
[ "34+11=45", "51-45=6", "11*6=66" ]
Current State: 66:[34, 11, 11, 51], Operations: [] Exploring Operation: 34+11=45, Resulting Numbers: [51, 45] Generated Node #2: [51, 45] from Operation: 34+11=45 Current State: 66:[51, 45], Operations: ['34+11=45'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,66 equal: Goal Reached Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[34, 11, 11, 51], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [34, 11, 40] Generated Node #0,0: 66:[34, 11, 40] Operation: 51-11=40 Exploring Operation: 51-11=40, Resulting Numbers: [34, 11, 40] Generated Node #0,1: 66:[34, 11, 40] Operation: 51-11=40 Exploring Operation: 51-34=17, Resulting Numbers: [11, 11, 17] Generated Node #0,2: 66:[11, 11, 17] Operation: 51-34=17 Exploring Operation: 11+51=62, Resulting Numbers: [34, 11, 62] Generated Node #0,3: 66:[34, 11, 62] Operation: 11+51=62 Exploring Operation: 11+51=62, Resulting Numbers: [34, 11, 62] Generated Node #0,4: 66:[34, 11, 62] Operation: 11+51=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[11, 11, 17], Operations: ['51-34=17'] Exploring Operation: 11+17=28, Resulting Numbers: [11, 28] Generated Node #0,2,0: 66:[11, 28] Operation: 11+17=28 Exploring Operation: 17-11=6, Resulting Numbers: [11, 6] Generated Node #0,2,1: 66:[11, 6] Operation: 17-11=6 Exploring Operation: 17-11=6, Resulting Numbers: [11, 6] Generated Node #0,2,2: 66:[11, 6] Operation: 17-11=6 Exploring Operation: 11+17=28, Resulting Numbers: [11, 28] Generated Node #0,2,3: 66:[11, 28] Operation: 11+17=28 Exploring Operation: 11+11=22, Resulting Numbers: [17, 22] Generated Node #0,2,4: 66:[17, 22] Operation: 11+11=22 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 66:[11, 6], Operations: ['51-34=17', '17-11=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[34, 11, 11, 51], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [11, 11, 17] Generated Node #0,2: 66:[11, 11, 17] Operation: 51-34=17 Moving to Node #0,2 Current State: 66:[11, 11, 17], Operations: ['51-34=17'] Exploring Operation: 17-11=6, Resulting Numbers: [11, 6] Generated Node #0,2,1: 66:[11, 6] Operation: 17-11=6 Moving to Node #0,2,1 Current State: 66:[11, 6], Operations: ['51-34=17', '17-11=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 37, 2, 54, 70 ]
55
[ "37+2=39", "70-54=16", "39+16=55" ]
Current State: 55:[37, 2, 54, 70], Operations: [] Exploring Operation: 37+2=39, Resulting Numbers: [54, 70, 39] Generated Node #2: [54, 70, 39] from Operation: 37+2=39 Current State: 55:[54, 70, 39], Operations: ['37+2=39'] Exploring Operation: 70-54=16, Resulting Numbers: [39, 16] Generated Node #3: [39, 16] from Operation: 70-54=16 Current State: 55:[39, 16], Operations: ['37+2=39', '70-54=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[37, 2, 54, 70], Operations: [] Exploring Operation: 70-54=16, Resulting Numbers: [37, 2, 16] Generated Node #0,0: 55:[37, 2, 16] Operation: 70-54=16 Exploring Operation: 70-37=33, Resulting Numbers: [2, 54, 33] Generated Node #0,1: 55:[2, 54, 33] Operation: 70-37=33 Exploring Operation: 54-37=17, Resulting Numbers: [2, 70, 17] Generated Node #0,2: 55:[2, 70, 17] Operation: 54-37=17 Moving to Node #0,2 Current State: 55:[2, 70, 17], Operations: ['54-37=17'] Exploring Operation: 70-17=53, Resulting Numbers: [2, 53] Generated Node #0,2,0: 55:[2, 53] Operation: 70-17=53 Exploring Operation: 70-2=68, Resulting Numbers: [17, 68] Generated Node #0,2,1: 55:[17, 68] Operation: 70-2=68 Exploring Operation: 17-2=15, Resulting Numbers: [70, 15] Generated Node #0,2,2: 55:[70, 15] Operation: 17-2=15 Moving to Node #0,0 Current State: 55:[37, 2, 16], Operations: ['70-54=16'] Exploring Operation: 37-16=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 55:[2, 21] Operation: 37-16=21 Exploring Operation: 37+16=53, Resulting Numbers: [2, 53] Generated Node #0,0,1: 55:[2, 53] Operation: 37+16=53 Exploring Operation: 37+2=39, Resulting Numbers: [16, 39] Generated Node #0,0,2: 55:[16, 39] Operation: 37+2=39 Moving to Node #0,1 Current State: 55:[2, 54, 33], Operations: ['70-37=33'] Exploring Operation: 54-33=21, Resulting Numbers: [2, 21] Generated Node #0,1,0: 55:[2, 21] Operation: 54-33=21 Exploring Operation: 2*33=66, Resulting Numbers: [54, 66] Generated Node #0,1,1: 55:[54, 66] Operation: 2*33=66 Exploring Operation: 2+33=35, Resulting Numbers: [54, 35] Generated Node #0,1,2: 55:[54, 35] Operation: 2+33=35 Moving to Node #0,2,0 Current State: 55:[2, 53], Operations: ['54-37=17', '70-17=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,55 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[37, 2, 54, 70], Operations: [] Exploring Operation: 54-37=17, Resulting Numbers: [2, 70, 17] Generated Node #0,2: 55:[2, 70, 17] Operation: 54-37=17 Moving to Node #0,2 Current State: 55:[2, 70, 17], Operations: ['54-37=17'] Exploring Operation: 70-17=53, Resulting Numbers: [2, 53] Generated Node #0,2,0: 55:[2, 53] Operation: 70-17=53 Moving to Node #0,2,0 Current State: 55:[2, 53], Operations: ['54-37=17', '70-17=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 21, 71, 28, 20 ]
13
[ "28-21=7", "71+20=91", "91/7=13" ]
Current State: 13:[21, 71, 28, 20], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [71, 20, 7] Generated Node #2: [71, 20, 7] from Operation: 28-21=7 Current State: 13:[71, 20, 7], Operations: ['28-21=7'] Exploring Operation: 71+20=91, Resulting Numbers: [7, 91] Generated Node #3: [7, 91] from Operation: 71+20=91 Current State: 13:[7, 91], Operations: ['28-21=7', '71+20=91'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[21, 71, 28, 20], Operations: [] Exploring Operation: 71-21=50, Resulting Numbers: [28, 20, 50] Generated Node #0,0: 13:[28, 20, 50] Operation: 71-21=50 Exploring Operation: 28-20=8, Resulting Numbers: [21, 71, 8] Generated Node #0,1: 13:[21, 71, 8] Operation: 28-20=8 Exploring Operation: 28-21=7, Resulting Numbers: [71, 20, 7] Generated Node #0,2: 13:[71, 20, 7] Operation: 28-21=7 Exploring Operation: 71-20=51, Resulting Numbers: [21, 28, 51] Generated Node #0,3: 13:[21, 28, 51] Operation: 71-20=51 Exploring Operation: 71-28=43, Resulting Numbers: [21, 20, 43] Generated Node #0,4: 13:[21, 20, 43] Operation: 71-28=43 Start Sub Search at level 1: Moving to Node #0,4 Current State: 13:[21, 20, 43], Operations: ['71-28=43'] Exploring Operation: 43-21=22, Resulting Numbers: [20, 22] Generated Node #0,4,0: 13:[20, 22] Operation: 43-21=22 Exploring Operation: 21-20=1, Resulting Numbers: [43, 1] Generated Node #0,4,1: 13:[43, 1] Operation: 21-20=1 Exploring Operation: 21+43=64, Resulting Numbers: [20, 64] Generated Node #0,4,2: 13:[20, 64] Operation: 21+43=64 Exploring Operation: 21+20=41, Resulting Numbers: [43, 41] Generated Node #0,4,3: 13:[43, 41] Operation: 21+20=41 Exploring Operation: 43-20=23, Resulting Numbers: [21, 23] Generated Node #0,4,4: 13:[21, 23] Operation: 43-20=23 Moving to Node #0,4,0 Current State: 13:[20, 22], Operations: ['71-28=43', '43-21=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,13 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[21, 23], Operations: ['71-28=43', '43-20=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,13 unequal: No Solution Moving to Node #0,4,1 Current State: 13:[43, 1], Operations: ['71-28=43', '21-20=1'] Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[20, 64], Operations: ['71-28=43', '21+43=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[43, 41], Operations: ['71-28=43', '21+20=41'] Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,13 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,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,0 Current State: 13:[28, 20, 50], Operations: ['71-21=50'] Exploring Operation: 28-20=8, Resulting Numbers: [50, 8] Generated Node #0,0,0: 13:[50, 8] Operation: 28-20=8 Exploring Operation: 50-28=22, Resulting Numbers: [20, 22] Generated Node #0,0,1: 13:[20, 22] Operation: 50-28=22 Exploring Operation: 28+50=78, Resulting Numbers: [20, 78] Generated Node #0,0,2: 13:[20, 78] Operation: 28+50=78 Exploring Operation: 28+20=48, Resulting Numbers: [50, 48] Generated Node #0,0,3: 13:[50, 48] Operation: 28+20=48 Exploring Operation: 50-20=30, Resulting Numbers: [28, 30] Generated Node #0,0,4: 13:[28, 30] Operation: 50-20=30 Moving to Node #0,0,1 Current State: 13:[20, 22], Operations: ['71-21=50', '50-28=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,13 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[28, 30], Operations: ['71-21=50', '50-20=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,13 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[50, 8], Operations: ['71-21=50', '28-20=8'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[20, 78], Operations: ['71-21=50', '28+50=78'] Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 20*78=1560, Resulting Numbers: [1560] 1560,13 unequal: No Solution Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[50, 48], Operations: ['71-21=50', '28+20=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,13 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,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,3 Current State: 13:[21, 28, 51], Operations: ['71-20=51'] Exploring Operation: 51-21=30, Resulting Numbers: [28, 30] Generated Node #0,3,0: 13:[28, 30] Operation: 51-21=30 Exploring Operation: 21+51=72, Resulting Numbers: [28, 72] Generated Node #0,3,1: 13:[28, 72] Operation: 21+51=72 Exploring Operation: 51-28=23, Resulting Numbers: [21, 23] Generated Node #0,3,2: 13:[21, 23] Operation: 51-28=23 Exploring Operation: 28-21=7, Resulting Numbers: [51, 7] Generated Node #0,3,3: 13:[51, 7] Operation: 28-21=7 Exploring Operation: 21+28=49, Resulting Numbers: [51, 49] Generated Node #0,3,4: 13:[51, 49] Operation: 21+28=49 Moving to Node #0,3,2 Current State: 13:[21, 23], Operations: ['71-20=51', '51-28=23'] Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,13 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[28, 30], Operations: ['71-20=51', '51-21=30'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[51, 7], Operations: ['71-20=51', '28-21=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,13 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[28, 72], Operations: ['71-20=51', '21+51=72'] Exploring Operation: 28+72=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 28*72=2016, Resulting Numbers: [2016] 2016,13 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[51, 49], Operations: ['71-20=51', '21+28=49'] Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,13 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,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:[21, 71, 8], Operations: ['28-20=8'] Exploring Operation: 71-8=63, Resulting Numbers: [21, 63] Generated Node #0,1,0: 13:[21, 63] Operation: 71-8=63 Exploring Operation: 21-8=13, Resulting Numbers: [71, 13] Generated Node #0,1,1: 13:[71, 13] Operation: 21-8=13 Exploring Operation: 21+8=29, Resulting Numbers: [71, 29] Generated Node #0,1,2: 13:[71, 29] Operation: 21+8=29 Exploring Operation: 71-21=50, Resulting Numbers: [8, 50] Generated Node #0,1,3: 13:[8, 50] Operation: 71-21=50 Exploring Operation: 71+8=79, Resulting Numbers: [21, 79] Generated Node #0,1,4: 13:[21, 79] Operation: 71+8=79 Moving to Node #0,1,3 Current State: 13:[8, 50], Operations: ['28-20=8', '71-21=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[71, 13], Operations: ['28-20=8', '21-8=13'] Exploring Operation: 71*13=923, Resulting Numbers: [923] 923,13 unequal: No Solution Exploring Operation: 71+13=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[21, 63], Operations: ['28-20=8', '71-8=63'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 21*63=1323, Resulting Numbers: [1323] 1323,13 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[71, 29], Operations: ['28-20=8', '21+8=29'] Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,13 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[21, 79], Operations: ['28-20=8', '71+8=79'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[71, 20, 7], Operations: ['28-21=7'] Exploring Operation: 20+7=27, Resulting Numbers: [71, 27] Generated Node #0,2,0: 13:[71, 27] Operation: 20+7=27 Exploring Operation: 71-20=51, Resulting Numbers: [7, 51] Generated Node #0,2,1: 13:[7, 51] Operation: 71-20=51 Exploring Operation: 20-7=13, Resulting Numbers: [71, 13] Generated Node #0,2,2: 13:[71, 13] Operation: 20-7=13 Exploring Operation: 71-7=64, Resulting Numbers: [20, 64] Generated Node #0,2,3: 13:[20, 64] Operation: 71-7=64 Exploring Operation: 71+7=78, Resulting Numbers: [20, 78] Generated Node #0,2,4: 13:[20, 78] Operation: 71+7=78 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 13:[7, 51], Operations: ['28-21=7', '71-20=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 13:[71, 13], Operations: ['28-21=7', '20-7=13'] Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 71+13=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 71*13=923, Resulting Numbers: [923] 923,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 13:[20, 64], Operations: ['28-21=7', '71-7=64'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[71, 27], Operations: ['28-21=7', '20+7=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,13 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 13:[20, 78], Operations: ['28-21=7', '71+7=78'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 20*78=1560, Resulting Numbers: [1560] 1560,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 40, 70, 52, 50 ]
45
[ "50-40=10", "70/10=7", "52-7=45" ]
Current State: 45:[40, 70, 52, 50], Operations: [] Exploring Operation: 50-40=10, Resulting Numbers: [70, 52, 10] Generated Node #2: [70, 52, 10] from Operation: 50-40=10 Current State: 45:[70, 52, 10], Operations: ['50-40=10'] Exploring Operation: 70/10=7, Resulting Numbers: [52, 7] Generated Node #3: [52, 7] from Operation: 70/10=7 Current State: 45:[52, 7], Operations: ['50-40=10', '70/10=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[40, 70, 52, 50], Operations: [] Exploring Operation: 70-52=18, Resulting Numbers: [40, 50, 18] Generated Node #0,0: 45:[40, 50, 18] Operation: 70-52=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[40, 50, 18], Operations: ['70-52=18'] Exploring Operation: 50-40=10, Resulting Numbers: [18, 10] Generated Node #0,0,0: 45:[18, 10] Operation: 50-40=10 Moving to Node #0,0,0 Current State: 45:[18, 10], Operations: ['70-52=18', '50-40=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,45 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
[ 7, 10, 95, 55 ]
43
[ "10-7=3", "95-55=40", "3+40=43" ]
Current State: 43:[7, 10, 95, 55], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [95, 55, 3] Generated Node #2: [95, 55, 3] from Operation: 10-7=3 Current State: 43:[95, 55, 3], Operations: ['10-7=3'] Exploring Operation: 95-55=40, Resulting Numbers: [3, 40] Generated Node #3: [3, 40] from Operation: 95-55=40 Current State: 43:[3, 40], Operations: ['10-7=3', '95-55=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[7, 10, 95, 55], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [7, 10, 40] Generated Node #0,0: 43:[7, 10, 40] Operation: 95-55=40 Exploring Operation: 7+10=17, Resulting Numbers: [95, 55, 17] Generated Node #0,1: 43:[95, 55, 17] Operation: 7+10=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[7, 10, 40], Operations: ['95-55=40'] Exploring Operation: 7*10=70, Resulting Numbers: [40, 70] Generated Node #0,0,0: 43:[40, 70] Operation: 7*10=70 Exploring Operation: 7+10=17, Resulting Numbers: [40, 17] Generated Node #0,0,1: 43:[40, 17] Operation: 7+10=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[40, 17], Operations: ['95-55=40', '7+10=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[40, 70], Operations: ['95-55=40', '7*10=70'] Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[95, 55, 17], Operations: ['7+10=17'] Exploring Operation: 95-55=40, Resulting Numbers: [17, 40] Generated Node #0,1,0: 43:[17, 40] Operation: 95-55=40 Exploring Operation: 95-17=78, Resulting Numbers: [55, 78] Generated Node #0,1,1: 43:[55, 78] Operation: 95-17=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[17, 40], Operations: ['7+10=17', '95-55=40'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[55, 78], Operations: ['7+10=17', '95-17=78'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 84, 24, 12, 86 ]
18
[ "86-84=2", "24+12=36", "36/2=18" ]
Current State: 18:[84, 24, 12, 86], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [24, 12, 2] Generated Node #2: [24, 12, 2] from Operation: 86-84=2 Current State: 18:[24, 12, 2], Operations: ['86-84=2'] Exploring Operation: 24+12=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 24+12=36 Current State: 18:[2, 36], Operations: ['86-84=2', '24+12=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[84, 24, 12, 86], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [24, 12, 2] Generated Node #0,0: 18:[24, 12, 2] Operation: 86-84=2 Exploring Operation: 84-12=72, Resulting Numbers: [24, 86, 72] Generated Node #0,1: 18:[24, 86, 72] Operation: 84-12=72 Exploring Operation: 86-24=62, Resulting Numbers: [84, 12, 62] Generated Node #0,2: 18:[84, 12, 62] Operation: 86-24=62 Exploring Operation: 84/12=7, Resulting Numbers: [24, 86, 7] Generated Node #0,3: 18:[24, 86, 7] Operation: 84/12=7 Exploring Operation: 84-24=60, Resulting Numbers: [12, 86, 60] Generated Node #0,4: 18:[12, 86, 60] Operation: 84-24=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[24, 12, 2], Operations: ['86-84=2'] Exploring Operation: 24-2=22, Resulting Numbers: [12, 22] Generated Node #0,0,0: 18:[12, 22] Operation: 24-2=22 Exploring Operation: 24/12=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 18:[2, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [2, 12] Generated Node #0,0,2: 18:[2, 12] Operation: 24-12=12 Exploring Operation: 24/2=12, Resulting Numbers: [12, 12] Generated Node #0,0,3: 18:[12, 12] Operation: 24/2=12 Exploring Operation: 12/2=6, Resulting Numbers: [24, 6] Generated Node #0,0,4: 18:[24, 6] Operation: 12/2=6 Moving to Node #0,0,1 Current State: 18:[2, 2], Operations: ['86-84=2', '24/12=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[2, 12], Operations: ['86-84=2', '24-12=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[12, 12], Operations: ['86-84=2', '24/2=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,18 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[24, 6], Operations: ['86-84=2', '12/2=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,18 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[84, 24, 12, 86], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [24, 12, 2] Generated Node #0,0: 18:[24, 12, 2] Operation: 86-84=2 Moving to Node #0,0 Current State: 18:[24, 12, 2], Operations: ['86-84=2'] Exploring Operation: 12/2=6, Resulting Numbers: [24, 6] Generated Node #0,0,4: 18:[24, 6] Operation: 12/2=6 Moving to Node #0,0,4 Current State: 18:[24, 6], Operations: ['86-84=2', '12/2=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
sum_heuristic
[ 24, 78, 62, 91 ]
34
[ "24*91=2184", "2184/78=28", "62-28=34" ]
Current State: 34:[24, 78, 62, 91], Operations: [] Exploring Operation: 24*91=2184, Resulting Numbers: [78, 62, 2184] Generated Node #2: [78, 62, 2184] from Operation: 24*91=2184 Current State: 34:[78, 62, 2184], Operations: ['24*91=2184'] Exploring Operation: 2184/78=28, Resulting Numbers: [62, 28] Generated Node #3: [62, 28] from Operation: 2184/78=28 Current State: 34:[62, 28], Operations: ['24*91=2184', '2184/78=28'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[24, 78, 62, 91], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [24, 62, 13] Generated Node #0,0: 34:[24, 62, 13] Operation: 91-78=13 Moving to Node #0,0 Current State: 34:[24, 62, 13], Operations: ['91-78=13'] Exploring Operation: 62-24=38, Resulting Numbers: [13, 38] Generated Node #0,0,0: 34:[13, 38] Operation: 62-24=38 Moving to Node #0,0,0 Current State: 34:[13, 38], Operations: ['91-78=13', '62-24=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,34 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 44, 87, 74, 24 ]
33
[ "44+87=131", "74+24=98", "131-98=33" ]
Current State: 33:[44, 87, 74, 24], Operations: [] Exploring Operation: 44+87=131, Resulting Numbers: [74, 24, 131] Generated Node #2: [74, 24, 131] from Operation: 44+87=131 Current State: 33:[74, 24, 131], Operations: ['44+87=131'] Exploring Operation: 74+24=98, Resulting Numbers: [131, 98] Generated Node #3: [131, 98] from Operation: 74+24=98 Current State: 33:[131, 98], Operations: ['44+87=131', '74+24=98'] Exploring Operation: 131-98=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[44, 87, 74, 24], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [44, 24, 13] Generated Node #0,0: 33:[44, 24, 13] Operation: 87-74=13 Exploring Operation: 87-24=63, Resulting Numbers: [44, 74, 63] Generated Node #0,1: 33:[44, 74, 63] Operation: 87-24=63 Exploring Operation: 74-44=30, Resulting Numbers: [87, 24, 30] Generated Node #0,2: 33:[87, 24, 30] Operation: 74-44=30 Exploring Operation: 74-24=50, Resulting Numbers: [44, 87, 50] Generated Node #0,3: 33:[44, 87, 50] Operation: 74-24=50 Exploring Operation: 87-44=43, Resulting Numbers: [74, 24, 43] Generated Node #0,4: 33:[74, 24, 43] Operation: 87-44=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[44, 24, 13], Operations: ['87-74=13'] Exploring Operation: 24-13=11, Resulting Numbers: [44, 11] Generated Node #0,0,0: 33:[44, 11] Operation: 24-13=11 Exploring Operation: 24+13=37, Resulting Numbers: [44, 37] Generated Node #0,0,1: 33:[44, 37] Operation: 24+13=37 Exploring Operation: 44+13=57, Resulting Numbers: [24, 57] Generated Node #0,0,2: 33:[24, 57] Operation: 44+13=57 Exploring Operation: 44-13=31, Resulting Numbers: [24, 31] Generated Node #0,0,3: 33:[24, 31] Operation: 44-13=31 Exploring Operation: 44-24=20, Resulting Numbers: [13, 20] Generated Node #0,0,4: 33:[13, 20] Operation: 44-24=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[44, 11], Operations: ['87-74=13', '24-13=11'] Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,33 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[44, 87, 74, 24], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [44, 24, 13] Generated Node #0,0: 33:[44, 24, 13] Operation: 87-74=13 Moving to Node #0,0 Current State: 33:[44, 24, 13], Operations: ['87-74=13'] Exploring Operation: 24-13=11, Resulting Numbers: [44, 11] Generated Node #0,0,0: 33:[44, 11] Operation: 24-13=11 Moving to Node #0,0,0 Current State: 33:[44, 11], Operations: ['87-74=13', '24-13=11'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 91, 61, 31, 36 ]
50
[ "61*31=1891", "1891-91=1800", "1800/36=50" ]
Current State: 50:[91, 61, 31, 36], Operations: [] Exploring Operation: 61*31=1891, Resulting Numbers: [91, 36, 1891] Generated Node #2: [91, 36, 1891] from Operation: 61*31=1891 Current State: 50:[91, 36, 1891], Operations: ['61*31=1891'] Exploring Operation: 1891-91=1800, Resulting Numbers: [36, 1800] Generated Node #3: [36, 1800] from Operation: 1891-91=1800 Current State: 50:[36, 1800], Operations: ['61*31=1891', '1891-91=1800'] Exploring Operation: 1800/36=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[91, 61, 31, 36], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [31, 36, 30] Generated Node #0,0: 50:[31, 36, 30] Operation: 91-61=30 Exploring Operation: 91-36=55, Resulting Numbers: [61, 31, 55] Generated Node #0,1: 50:[61, 31, 55] Operation: 91-36=55 Moving to Node #0,0 Current State: 50:[31, 36, 30], Operations: ['91-61=30'] Exploring Operation: 36-30=6, Resulting Numbers: [31, 6] Generated Node #0,0,0: 50:[31, 6] Operation: 36-30=6 Exploring Operation: 36-31=5, Resulting Numbers: [30, 5] Generated Node #0,0,1: 50:[30, 5] Operation: 36-31=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[30, 5], Operations: ['91-61=30', '36-31=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[31, 6], Operations: ['91-61=30', '36-30=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,50 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: 50:[61, 31, 55], Operations: ['91-36=55'] Exploring Operation: 61-31=30, Resulting Numbers: [55, 30] Generated Node #0,1,0: 50:[55, 30] Operation: 61-31=30 Exploring Operation: 61-55=6, Resulting Numbers: [31, 6] Generated Node #0,1,1: 50:[31, 6] Operation: 61-55=6 Moving to Node #0,1,1 Current State: 50:[31, 6], Operations: ['91-36=55', '61-55=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[55, 30], Operations: ['91-36=55', '61-31=30'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,50 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 48, 38, 44, 6 ]
19
[ "48-44=4", "6-4=2", "38/2=19" ]
Current State: 19:[48, 38, 44, 6], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [38, 6, 4] Generated Node #2: [38, 6, 4] from Operation: 48-44=4 Current State: 19:[38, 6, 4], Operations: ['48-44=4'] Exploring Operation: 6-4=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 6-4=2 Current State: 19:[38, 2], Operations: ['48-44=4', '6-4=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[48, 38, 44, 6], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [44, 6, 10] Generated Node #0,0: 19:[44, 6, 10] Operation: 48-38=10 Moving to Node #0,0 Current State: 19:[44, 6, 10], Operations: ['48-38=10'] Exploring Operation: 44-6=38, Resulting Numbers: [10, 38] Generated Node #0,0,0: 19:[10, 38] Operation: 44-6=38 Moving to Node #0,0,0 Current State: 19:[10, 38], Operations: ['48-38=10', '44-6=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 23, 70, 22 ]
99
[ "30-23=7", "70+22=92", "7+92=99" ]
Current State: 99:[30, 23, 70, 22], Operations: [] Exploring Operation: 30-23=7, Resulting Numbers: [70, 22, 7] Generated Node #2: [70, 22, 7] from Operation: 30-23=7 Current State: 99:[70, 22, 7], Operations: ['30-23=7'] Exploring Operation: 70+22=92, Resulting Numbers: [7, 92] Generated Node #3: [7, 92] from Operation: 70+22=92 Current State: 99:[7, 92], Operations: ['30-23=7', '70+22=92'] Exploring Operation: 7+92=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[30, 23, 70, 22], Operations: [] Exploring Operation: 23+70=93, Resulting Numbers: [30, 22, 93] Generated Node #0,0: 99:[30, 22, 93] Operation: 23+70=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[30, 22, 93], Operations: ['23+70=93'] Exploring Operation: 30-22=8, Resulting Numbers: [93, 8] Generated Node #0,0,0: 99:[93, 8] Operation: 30-22=8 Moving to Node #0,0,0 Current State: 99:[93, 8], Operations: ['23+70=93', '30-22=8'] Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 36, 46, 47, 63 ]
28
[ "36+46=82", "47+63=110", "110-82=28" ]
Current State: 28:[36, 46, 47, 63], Operations: [] Exploring Operation: 36+46=82, Resulting Numbers: [47, 63, 82] Generated Node #2: [47, 63, 82] from Operation: 36+46=82 Current State: 28:[47, 63, 82], Operations: ['36+46=82'] Exploring Operation: 47+63=110, Resulting Numbers: [82, 110] Generated Node #3: [82, 110] from Operation: 47+63=110 Current State: 28:[82, 110], Operations: ['36+46=82', '47+63=110'] Exploring Operation: 110-82=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[36, 46, 47, 63], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [36, 63, 1] Generated Node #0,0: 28:[36, 63, 1] Operation: 47-46=1 Exploring Operation: 63-36=27, Resulting Numbers: [46, 47, 27] Generated Node #0,1: 28:[46, 47, 27] Operation: 63-36=27 Exploring Operation: 63-46=17, Resulting Numbers: [36, 47, 17] Generated Node #0,2: 28:[36, 47, 17] Operation: 63-46=17 Exploring Operation: 63-47=16, Resulting Numbers: [36, 46, 16] Generated Node #0,3: 28:[36, 46, 16] Operation: 63-47=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[36, 46, 16], Operations: ['63-47=16'] Exploring Operation: 46-36=10, Resulting Numbers: [16, 10] Generated Node #0,3,0: 28:[16, 10] Operation: 46-36=10 Exploring Operation: 46-16=30, Resulting Numbers: [36, 30] Generated Node #0,3,1: 28:[36, 30] Operation: 46-16=30 Exploring Operation: 36+16=52, Resulting Numbers: [46, 52] Generated Node #0,3,2: 28:[46, 52] Operation: 36+16=52 Exploring Operation: 36-16=20, Resulting Numbers: [46, 20] Generated Node #0,3,3: 28:[46, 20] Operation: 36-16=20 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[16, 10], Operations: ['63-47=16', '46-36=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[36, 30], Operations: ['63-47=16', '46-16=30'] Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,28 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[46, 20], Operations: ['63-47=16', '36-16=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,28 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[46, 52], Operations: ['63-47=16', '36+16=52'] Exploring Operation: 46*52=2392, Resulting Numbers: [2392] 2392,28 unequal: No Solution Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,28 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,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,2 Current State: 28:[36, 47, 17], Operations: ['63-46=17'] Exploring Operation: 47-36=11, Resulting Numbers: [17, 11] Generated Node #0,2,0: 28:[17, 11] Operation: 47-36=11 Exploring Operation: 47-17=30, Resulting Numbers: [36, 30] Generated Node #0,2,1: 28:[36, 30] Operation: 47-17=30 Exploring Operation: 36+17=53, Resulting Numbers: [47, 53] Generated Node #0,2,2: 28:[47, 53] Operation: 36+17=53 Exploring Operation: 36-17=19, Resulting Numbers: [47, 19] Generated Node #0,2,3: 28:[47, 19] Operation: 36-17=19 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[17, 11], Operations: ['63-46=17', '47-36=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,28 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[36, 46, 47, 63], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [36, 47, 17] Generated Node #0,2: 28:[36, 47, 17] Operation: 63-46=17 Moving to Node #0,2 Current State: 28:[36, 47, 17], Operations: ['63-46=17'] Exploring Operation: 47-36=11, Resulting Numbers: [17, 11] Generated Node #0,2,0: 28:[17, 11] Operation: 47-36=11 Moving to Node #0,2,0 Current State: 28:[17, 11], Operations: ['63-46=17', '47-36=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 2, 23, 10, 50 ]
68
[ "10/2=5", "23+50=73", "73-5=68" ]
Current State: 68:[2, 23, 10, 50], Operations: [] Exploring Operation: 10/2=5, Resulting Numbers: [23, 50, 5] Generated Node #2: [23, 50, 5] from Operation: 10/2=5 Current State: 68:[23, 50, 5], Operations: ['10/2=5'] Exploring Operation: 23+50=73, Resulting Numbers: [5, 73] Generated Node #3: [5, 73] from Operation: 23+50=73 Current State: 68:[5, 73], Operations: ['10/2=5', '23+50=73'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 23, 10, 50], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [2, 23, 5] Generated Node #0,0: 68:[2, 23, 5] Operation: 50/10=5 Exploring Operation: 23+50=73, Resulting Numbers: [2, 10, 73] Generated Node #0,1: 68:[2, 10, 73] Operation: 23+50=73 Exploring Operation: 50-23=27, Resulting Numbers: [2, 10, 27] Generated Node #0,2: 68:[2, 10, 27] Operation: 50-23=27 Exploring Operation: 50-10=40, Resulting Numbers: [2, 23, 40] Generated Node #0,3: 68:[2, 23, 40] Operation: 50-10=40 Moving to Node #0,0 Current State: 68:[2, 23, 5], Operations: ['50/10=5'] Exploring Operation: 5-2=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 68:[23, 3] Operation: 5-2=3 Exploring Operation: 23+5=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 68:[2, 28] Operation: 23+5=28 Exploring Operation: 23-2=21, Resulting Numbers: [5, 21] Generated Node #0,0,2: 68:[5, 21] Operation: 23-2=21 Exploring Operation: 23-5=18, Resulting Numbers: [2, 18] Generated Node #0,0,3: 68:[2, 18] Operation: 23-5=18 Moving to Node #0,1 Current State: 68:[2, 10, 73], Operations: ['23+50=73'] Exploring Operation: 10-2=8, Resulting Numbers: [73, 8] Generated Node #0,1,0: 68:[73, 8] Operation: 10-2=8 Exploring Operation: 73-10=63, Resulting Numbers: [2, 63] Generated Node #0,1,1: 68:[2, 63] Operation: 73-10=63 Exploring Operation: 10/2=5, Resulting Numbers: [73, 5] Generated Node #0,1,2: 68:[73, 5] Operation: 10/2=5 Exploring Operation: 2*10=20, Resulting Numbers: [73, 20] Generated Node #0,1,3: 68:[73, 20] Operation: 2*10=20 Moving to Node #0,3 Current State: 68:[2, 23, 40], Operations: ['50-10=40'] Exploring Operation: 23-2=21, Resulting Numbers: [40, 21] Generated Node #0,3,0: 68:[40, 21] Operation: 23-2=21 Exploring Operation: 40-23=17, Resulting Numbers: [2, 17] Generated Node #0,3,1: 68:[2, 17] Operation: 40-23=17 Exploring Operation: 40/2=20, Resulting Numbers: [23, 20] Generated Node #0,3,2: 68:[23, 20] Operation: 40/2=20 Exploring Operation: 23+40=63, Resulting Numbers: [2, 63] Generated Node #0,3,3: 68:[2, 63] Operation: 23+40=63 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[2, 17], Operations: ['50-10=40', '40-23=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[2, 63], Operations: ['50-10=40', '23+40=63'] Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,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,3,2 Current State: 68:[23, 20], Operations: ['50-10=40', '40/2=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,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,3,0 Current State: 68:[40, 21], Operations: ['50-10=40', '23-2=21'] Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,68 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,68 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: 68:[2, 10, 27], Operations: ['50-23=27'] Exploring Operation: 10+27=37, Resulting Numbers: [2, 37] Generated Node #0,2,0: 68:[2, 37] Operation: 10+27=37 Exploring Operation: 27-10=17, Resulting Numbers: [2, 17] Generated Node #0,2,1: 68:[2, 17] Operation: 27-10=17 Exploring Operation: 10/2=5, Resulting Numbers: [27, 5] Generated Node #0,2,2: 68:[27, 5] Operation: 10/2=5 Exploring Operation: 2*10=20, Resulting Numbers: [27, 20] Generated Node #0,2,3: 68:[27, 20] Operation: 2*10=20 Moving to Node #0,2,1 Current State: 68:[2, 17], Operations: ['50-23=27', '27-10=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[2, 18], Operations: ['50/10=5', '23-5=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[2, 37], Operations: ['50-23=27', '10+27=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[2, 63], Operations: ['23+50=73', '73-10=63'] Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,68 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[5, 21], Operations: ['50/10=5', '23-2=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,68 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[2, 28], Operations: ['50/10=5', '23+5=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[73, 5], Operations: ['23+50=73', '10/2=5'] Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,68 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[2, 23, 10, 50], Operations: [] Exploring Operation: 23+50=73, Resulting Numbers: [2, 10, 73] Generated Node #0,1: 68:[2, 10, 73] Operation: 23+50=73 Moving to Node #0,1 Current State: 68:[2, 10, 73], Operations: ['23+50=73'] Exploring Operation: 10/2=5, Resulting Numbers: [73, 5] Generated Node #0,1,2: 68:[73, 5] Operation: 10/2=5 Moving to Node #0,1,2 Current State: 68:[73, 5], Operations: ['23+50=73', '10/2=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.949653
hs_4
sum_heuristic
[ 8, 7, 24, 78 ]
74
[ "24/8=3", "78-7=71", "3+71=74" ]
Current State: 74:[8, 7, 24, 78], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [7, 78, 3] Generated Node #2: [7, 78, 3] from Operation: 24/8=3 Current State: 74:[7, 78, 3], Operations: ['24/8=3'] Exploring Operation: 78-7=71, Resulting Numbers: [3, 71] Generated Node #3: [3, 71] from Operation: 78-7=71 Current State: 74:[3, 71], Operations: ['24/8=3', '78-7=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[8, 7, 24, 78], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [7, 78, 3] Generated Node #0,0: 74:[7, 78, 3] Operation: 24/8=3 Exploring Operation: 8+24=32, Resulting Numbers: [7, 78, 32] Generated Node #0,1: 74:[7, 78, 32] Operation: 8+24=32 Moving to Node #0,0 Current State: 74:[7, 78, 3], Operations: ['24/8=3'] Exploring Operation: 78-7=71, Resulting Numbers: [3, 71] Generated Node #0,0,0: 74:[3, 71] Operation: 78-7=71 Exploring Operation: 7-3=4, Resulting Numbers: [78, 4] Generated Node #0,0,1: 74:[78, 4] Operation: 7-3=4 Moving to Node #0,1 Current State: 74:[7, 78, 32], Operations: ['8+24=32'] Exploring Operation: 7+32=39, Resulting Numbers: [78, 39] Generated Node #0,1,0: 74:[78, 39] Operation: 7+32=39 Exploring Operation: 78-7=71, Resulting Numbers: [32, 71] Generated Node #0,1,1: 74:[32, 71] Operation: 78-7=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[78, 39], Operations: ['8+24=32', '7+32=39'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[32, 71], Operations: ['8+24=32', '78-7=71'] Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,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:[3, 71], Operations: ['24/8=3', '78-7=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[8, 7, 24, 78], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [7, 78, 3] Generated Node #0,0: 74:[7, 78, 3] Operation: 24/8=3 Moving to Node #0,0 Current State: 74:[7, 78, 3], Operations: ['24/8=3'] Exploring Operation: 78-7=71, Resulting Numbers: [3, 71] Generated Node #0,0,0: 74:[3, 71] Operation: 78-7=71 Moving to Node #0,0,0 Current State: 74:[3, 71], Operations: ['24/8=3', '78-7=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 4, 54, 95, 12 ]
89
[ "4*12=48", "95-54=41", "48+41=89" ]
Current State: 89:[4, 54, 95, 12], Operations: [] Exploring Operation: 4*12=48, Resulting Numbers: [54, 95, 48] Generated Node #2: [54, 95, 48] from Operation: 4*12=48 Current State: 89:[54, 95, 48], Operations: ['4*12=48'] Exploring Operation: 95-54=41, Resulting Numbers: [48, 41] Generated Node #3: [48, 41] from Operation: 95-54=41 Current State: 89:[48, 41], Operations: ['4*12=48', '95-54=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[4, 54, 95, 12], Operations: [] Exploring Operation: 4*12=48, Resulting Numbers: [54, 95, 48] Generated Node #0,0: 89:[54, 95, 48] Operation: 4*12=48 Moving to Node #0,0 Current State: 89:[54, 95, 48], Operations: ['4*12=48'] Exploring Operation: 54+48=102, Resulting Numbers: [95, 102] Generated Node #0,0,0: 89:[95, 102] Operation: 54+48=102 Moving to Node #0,0,0 Current State: 89:[95, 102], Operations: ['4*12=48', '54+48=102'] Exploring Operation: 102-95=7, Resulting Numbers: [7] 7,89 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 18, 88, 10, 50 ]
20
[ "18*50=900", "88*10=880", "900-880=20" ]
Current State: 20:[18, 88, 10, 50], Operations: [] Exploring Operation: 18*50=900, Resulting Numbers: [88, 10, 900] Generated Node #2: [88, 10, 900] from Operation: 18*50=900 Current State: 20:[88, 10, 900], Operations: ['18*50=900'] Exploring Operation: 88*10=880, Resulting Numbers: [900, 880] Generated Node #3: [900, 880] from Operation: 88*10=880 Current State: 20:[900, 880], Operations: ['18*50=900', '88*10=880'] Exploring Operation: 900-880=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 88, 10, 50], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [18, 10, 38] Generated Node #0,0: 20:[18, 10, 38] Operation: 88-50=38 Exploring Operation: 50/10=5, Resulting Numbers: [18, 88, 5] Generated Node #0,1: 20:[18, 88, 5] Operation: 50/10=5 Exploring Operation: 88-18=70, Resulting Numbers: [10, 50, 70] Generated Node #0,2: 20:[10, 50, 70] Operation: 88-18=70 Exploring Operation: 88-10=78, Resulting Numbers: [18, 50, 78] Generated Node #0,3: 20:[18, 50, 78] Operation: 88-10=78 Exploring Operation: 50-18=32, Resulting Numbers: [88, 10, 32] Generated Node #0,4: 20:[88, 10, 32] Operation: 50-18=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[18, 10, 38], Operations: ['88-50=38'] Exploring Operation: 38-18=20, Resulting Numbers: [10, 20] Generated Node #0,0,0: 20:[10, 20] Operation: 38-18=20 Exploring Operation: 18+10=28, Resulting Numbers: [38, 28] Generated Node #0,0,1: 20:[38, 28] Operation: 18+10=28 Exploring Operation: 18-10=8, Resulting Numbers: [38, 8] Generated Node #0,0,2: 20:[38, 8] Operation: 18-10=8 Exploring Operation: 10+38=48, Resulting Numbers: [18, 48] Generated Node #0,0,3: 20:[18, 48] Operation: 10+38=48 Exploring Operation: 38-10=28, Resulting Numbers: [18, 28] Generated Node #0,0,4: 20:[18, 28] Operation: 38-10=28 Moving to Node #0,0,0 Current State: 20:[10, 20], Operations: ['88-50=38', '38-18=20'] Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,20 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[18, 28], Operations: ['88-50=38', '38-10=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[38, 8], Operations: ['88-50=38', '18-10=8'] Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,20 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[38, 28], Operations: ['88-50=38', '18+10=28'] Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,20 unequal: No Solution Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[18, 48], Operations: ['88-50=38', '10+38=48'] Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,20 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 18+48=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 Current State: 20:[18, 88, 5], Operations: ['50/10=5'] Exploring Operation: 88+5=93, Resulting Numbers: [18, 93] Generated Node #0,1,0: 20:[18, 93] Operation: 88+5=93 Exploring Operation: 88-5=83, Resulting Numbers: [18, 83] Generated Node #0,1,1: 20:[18, 83] Operation: 88-5=83 Exploring Operation: 18-5=13, Resulting Numbers: [88, 13] Generated Node #0,1,2: 20:[88, 13] Operation: 18-5=13 Exploring Operation: 18+5=23, Resulting Numbers: [88, 23] Generated Node #0,1,3: 20:[88, 23] Operation: 18+5=23 Exploring Operation: 88-18=70, Resulting Numbers: [5, 70] Generated Node #0,1,4: 20:[5, 70] Operation: 88-18=70 Moving to Node #0,1,4 Current State: 20:[5, 70], Operations: ['50/10=5', '88-18=70'] Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,20 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[18, 83], Operations: ['50/10=5', '88-5=83'] Exploring Operation: 18+83=101, Resulting Numbers: [101] 101,20 unequal: No Solution Exploring Operation: 18*83=1494, Resulting Numbers: [1494] 1494,20 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[88, 13], Operations: ['50/10=5', '18-5=13'] Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,20 unequal: No Solution Exploring Operation: 88*13=1144, Resulting Numbers: [1144] 1144,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[88, 23], Operations: ['50/10=5', '18+5=23'] Exploring Operation: 88+23=111, Resulting Numbers: [111] 111,20 unequal: No Solution Exploring Operation: 88*23=2024, Resulting Numbers: [2024] 2024,20 unequal: No Solution Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[18, 93], Operations: ['50/10=5', '88+5=93'] Exploring Operation: 18+93=111, Resulting Numbers: [111] 111,20 unequal: No Solution Exploring Operation: 18*93=1674, Resulting Numbers: [1674] 1674,20 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,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,2 Current State: 20:[10, 50, 70], Operations: ['88-18=70'] Exploring Operation: 70-50=20, Resulting Numbers: [10, 20] Generated Node #0,2,0: 20:[10, 20] Operation: 70-50=20 Exploring Operation: 50/10=5, Resulting Numbers: [70, 5] Generated Node #0,2,1: 20:[70, 5] Operation: 50/10=5 Exploring Operation: 50-10=40, Resulting Numbers: [70, 40] Generated Node #0,2,2: 20:[70, 40] Operation: 50-10=40 Exploring Operation: 70/10=7, Resulting Numbers: [50, 7] Generated Node #0,2,3: 20:[50, 7] Operation: 70/10=7 Exploring Operation: 70-10=60, Resulting Numbers: [50, 60] Generated Node #0,2,4: 20:[50, 60] Operation: 70-10=60 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[10, 20], Operations: ['88-18=70', '70-50=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,20 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 20:[50, 7], Operations: ['88-18=70', '70/10=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[70, 5], Operations: ['88-18=70', '50/10=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 70*5=350, Resulting Numbers: [350] 350,20 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[70, 40], Operations: ['88-18=70', '50-10=40'] Exploring Operation: 70*40=2800, Resulting Numbers: [2800] 2800,20 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 70+40=110, Resulting Numbers: [110] 110,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 20:[50, 60], Operations: ['88-18=70', '70-10=60'] Exploring Operation: 50+60=110, Resulting Numbers: [110] 110,20 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 50*60=3000, Resulting Numbers: [3000] 3000,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[88, 10, 32], Operations: ['50-18=32'] Exploring Operation: 10+32=42, Resulting Numbers: [88, 42] Generated Node #0,4,0: 20:[88, 42] Operation: 10+32=42 Exploring Operation: 88-32=56, Resulting Numbers: [10, 56] Generated Node #0,4,1: 20:[10, 56] Operation: 88-32=56 Exploring Operation: 32-10=22, Resulting Numbers: [88, 22] Generated Node #0,4,2: 20:[88, 22] Operation: 32-10=22 Exploring Operation: 88-10=78, Resulting Numbers: [32, 78] Generated Node #0,4,3: 20:[32, 78] Operation: 88-10=78 Exploring Operation: 88+10=98, Resulting Numbers: [32, 98] Generated Node #0,4,4: 20:[32, 98] Operation: 88+10=98 Moving to Node #0,4,1 Current State: 20:[10, 56], Operations: ['50-18=32', '88-32=56'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,20 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[32, 78], Operations: ['50-18=32', '88-10=78'] Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,20 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[88, 22], Operations: ['50-18=32', '32-10=22'] Exploring Operation: 88+22=110, Resulting Numbers: [110] 110,20 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 88*22=1936, Resulting Numbers: [1936] 1936,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[88, 42], Operations: ['50-18=32', '10+32=42'] Exploring Operation: 88*42=3696, Resulting Numbers: [3696] 3696,20 unequal: No Solution Exploring Operation: 88+42=130, Resulting Numbers: [130] 130,20 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[32, 98], Operations: ['50-18=32', '88+10=98'] Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 32+98=130, Resulting Numbers: [130] 130,20 unequal: No Solution Exploring Operation: 32*98=3136, Resulting Numbers: [3136] 3136,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[18, 50, 78], Operations: ['88-10=78'] Exploring Operation: 50-18=32, Resulting Numbers: [78, 32] Generated Node #0,3,0: 20:[78, 32] Operation: 50-18=32 Exploring Operation: 18+78=96, Resulting Numbers: [50, 96] Generated Node #0,3,1: 20:[50, 96] Operation: 18+78=96 Exploring Operation: 18+50=68, Resulting Numbers: [78, 68] Generated Node #0,3,2: 20:[78, 68] Operation: 18+50=68 Exploring Operation: 78-50=28, Resulting Numbers: [18, 28] Generated Node #0,3,3: 20:[18, 28] Operation: 78-50=28 Exploring Operation: 78-18=60, Resulting Numbers: [50, 60] Generated Node #0,3,4: 20:[50, 60] Operation: 78-18=60 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[18, 28], Operations: ['88-10=78', '78-50=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[78, 32], Operations: ['88-10=78', '50-18=32'] Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,20 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 20:[50, 60], Operations: ['88-10=78', '78-18=60'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 50+60=110, Resulting Numbers: [110] 110,20 unequal: No Solution Exploring Operation: 50*60=3000, Resulting Numbers: [3000] 3000,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[50, 96], Operations: ['88-10=78', '18+78=96'] Exploring Operation: 50*96=4800, Resulting Numbers: [4800] 4800,20 unequal: No Solution Exploring Operation: 50+96=146, Resulting Numbers: [146] 146,20 unequal: No Solution Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[78, 68], Operations: ['88-10=78', '18+50=68'] Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 78+68=146, Resulting Numbers: [146] 146,20 unequal: No Solution Exploring Operation: 78*68=5304, Resulting Numbers: [5304] 5304,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 90, 84, 38, 78 ]
53
[ "84-78=6", "90/6=15", "38+15=53" ]
Current State: 53:[90, 84, 38, 78], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [90, 38, 6] Generated Node #2: [90, 38, 6] from Operation: 84-78=6 Current State: 53:[90, 38, 6], Operations: ['84-78=6'] Exploring Operation: 90/6=15, Resulting Numbers: [38, 15] Generated Node #3: [38, 15] from Operation: 90/6=15 Current State: 53:[38, 15], Operations: ['84-78=6', '90/6=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[90, 84, 38, 78], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [84, 38, 12] Generated Node #0,0: 53:[84, 38, 12] Operation: 90-78=12 Exploring Operation: 90-38=52, Resulting Numbers: [84, 78, 52] Generated Node #0,1: 53:[84, 78, 52] Operation: 90-38=52 Exploring Operation: 78-38=40, Resulting Numbers: [90, 84, 40] Generated Node #0,2: 53:[90, 84, 40] Operation: 78-38=40 Exploring Operation: 90-84=6, Resulting Numbers: [38, 78, 6] Generated Node #0,3: 53:[38, 78, 6] Operation: 90-84=6 Exploring Operation: 84-38=46, Resulting Numbers: [90, 78, 46] Generated Node #0,4: 53:[90, 78, 46] Operation: 84-38=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[84, 78, 52], Operations: ['90-38=52'] Exploring Operation: 84-78=6, Resulting Numbers: [52, 6] Generated Node #0,1,0: 53:[52, 6] Operation: 84-78=6 Exploring Operation: 78+52=130, Resulting Numbers: [84, 130] Generated Node #0,1,1: 53:[84, 130] Operation: 78+52=130 Exploring Operation: 84-52=32, Resulting Numbers: [78, 32] Generated Node #0,1,2: 53:[78, 32] Operation: 84-52=32 Exploring Operation: 78-52=26, Resulting Numbers: [84, 26] Generated Node #0,1,3: 53:[84, 26] Operation: 78-52=26 Exploring Operation: 84+52=136, Resulting Numbers: [78, 136] Generated Node #0,1,4: 53:[78, 136] Operation: 84+52=136 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[78, 32], Operations: ['90-38=52', '84-52=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,53 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,53 unequal: No Solution No 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: 53:[52, 6], Operations: ['90-38=52', '84-78=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,53 unequal: No Solution No 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: 53:[84, 26], Operations: ['90-38=52', '78-52=26'] Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,53 unequal: No Solution No 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: 53:[84, 130], Operations: ['90-38=52', '78+52=130'] Exploring Operation: 84+130=214, Resulting Numbers: [214] 214,53 unequal: No Solution Exploring Operation: 84*130=10920, Resulting Numbers: [10920] 10920,53 unequal: No Solution Exploring Operation: 130-84=46, Resulting Numbers: [46] 46,53 unequal: No Solution No 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: 53:[78, 136], Operations: ['90-38=52', '84+52=136'] Exploring Operation: 136-78=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 78+136=214, Resulting Numbers: [214] 214,53 unequal: No Solution Exploring Operation: 78*136=10608, Resulting Numbers: [10608] 10608,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 53:[90, 78, 46], Operations: ['84-38=46'] Exploring Operation: 78+46=124, Resulting Numbers: [90, 124] Generated Node #0,4,0: 53:[90, 124] Operation: 78+46=124 Exploring Operation: 90-78=12, Resulting Numbers: [46, 12] Generated Node #0,4,1: 53:[46, 12] Operation: 90-78=12 Exploring Operation: 78-46=32, Resulting Numbers: [90, 32] Generated Node #0,4,2: 53:[90, 32] Operation: 78-46=32 Exploring Operation: 90+46=136, Resulting Numbers: [78, 136] Generated Node #0,4,3: 53:[78, 136] Operation: 90+46=136 Exploring Operation: 90-46=44, Resulting Numbers: [78, 44] Generated Node #0,4,4: 53:[78, 44] Operation: 90-46=44 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 53:[78, 44], Operations: ['84-38=46', '90-46=44'] Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,53 unequal: No Solution Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,53 unequal: No Solution No 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: 53:[46, 12], Operations: ['84-38=46', '90-78=12'] Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,53 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,53 unequal: No Solution No 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: 53:[90, 32], Operations: ['84-38=46', '78-46=32'] Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,53 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,53 unequal: No Solution No 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: 53:[90, 124], Operations: ['84-38=46', '78+46=124'] Exploring Operation: 90+124=214, Resulting Numbers: [214] 214,53 unequal: No Solution Exploring Operation: 124-90=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 90*124=11160, Resulting Numbers: [11160] 11160,53 unequal: No Solution No 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: 53:[78, 136], Operations: ['84-38=46', '90+46=136'] Exploring Operation: 136-78=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 78+136=214, Resulting Numbers: [214] 214,53 unequal: No Solution Exploring Operation: 78*136=10608, Resulting Numbers: [10608] 10608,53 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: 53:[90, 84, 40], Operations: ['78-38=40'] Exploring Operation: 90-40=50, Resulting Numbers: [84, 50] Generated Node #0,2,0: 53:[84, 50] Operation: 90-40=50 Exploring Operation: 84+40=124, Resulting Numbers: [90, 124] Generated Node #0,2,1: 53:[90, 124] Operation: 84+40=124 Exploring Operation: 90+40=130, Resulting Numbers: [84, 130] Generated Node #0,2,2: 53:[84, 130] Operation: 90+40=130 Exploring Operation: 90-84=6, Resulting Numbers: [40, 6] Generated Node #0,2,3: 53:[40, 6] Operation: 90-84=6 Exploring Operation: 84-40=44, Resulting Numbers: [90, 44] Generated Node #0,2,4: 53:[90, 44] Operation: 84-40=44 Moving to Node #0,2,0 Current State: 53:[84, 50], Operations: ['78-38=40', '90-40=50'] Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,53 unequal: No Solution Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,53 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[90, 44], Operations: ['78-38=40', '84-40=44'] Exploring Operation: 90*44=3960, Resulting Numbers: [3960] 3960,53 unequal: No Solution Exploring Operation: 90+44=134, Resulting Numbers: [134] 134,53 unequal: No Solution Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[40, 6], Operations: ['78-38=40', '90-84=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,53 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[90, 124], Operations: ['78-38=40', '84+40=124'] Exploring Operation: 90*124=11160, Resulting Numbers: [11160] 11160,53 unequal: No Solution Exploring Operation: 90+124=214, Resulting Numbers: [214] 214,53 unequal: No Solution Exploring Operation: 124-90=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[84, 130], Operations: ['78-38=40', '90+40=130'] Exploring Operation: 84+130=214, Resulting Numbers: [214] 214,53 unequal: No Solution Exploring Operation: 130-84=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 84*130=10920, Resulting Numbers: [10920] 10920,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 Current State: 53:[84, 38, 12], Operations: ['90-78=12'] Exploring Operation: 38+12=50, Resulting Numbers: [84, 50] Generated Node #0,0,0: 53:[84, 50] Operation: 38+12=50 Exploring Operation: 38-12=26, Resulting Numbers: [84, 26] Generated Node #0,0,1: 53:[84, 26] Operation: 38-12=26 Exploring Operation: 84+12=96, Resulting Numbers: [38, 96] Generated Node #0,0,2: 53:[38, 96] Operation: 84+12=96 Exploring Operation: 84-12=72, Resulting Numbers: [38, 72] Generated Node #0,0,3: 53:[38, 72] Operation: 84-12=72 Exploring Operation: 84-38=46, Resulting Numbers: [12, 46] Generated Node #0,0,4: 53:[12, 46] Operation: 84-38=46 Moving to Node #0,0,0 Current State: 53:[84, 50], Operations: ['90-78=12', '38+12=50'] Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,53 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,53 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[38, 72], Operations: ['90-78=12', '84-12=72'] Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,53 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[12, 46], Operations: ['90-78=12', '84-38=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[84, 26], Operations: ['90-78=12', '38-12=26'] Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[38, 96], Operations: ['90-78=12', '84+12=96'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,53 unequal: No Solution Exploring Operation: 38+96=134, Resulting Numbers: [134] 134,53 unequal: No Solution Exploring Operation: 38*96=3648, Resulting Numbers: [3648] 3648,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 Current State: 53:[38, 78, 6], Operations: ['90-84=6'] Exploring Operation: 38+6=44, Resulting Numbers: [78, 44] Generated Node #0,3,0: 53:[78, 44] Operation: 38+6=44 Exploring Operation: 78-6=72, Resulting Numbers: [38, 72] Generated Node #0,3,1: 53:[38, 72] Operation: 78-6=72 Exploring Operation: 78+6=84, Resulting Numbers: [38, 84] Generated Node #0,3,2: 53:[38, 84] Operation: 78+6=84 Exploring Operation: 78/6=13, Resulting Numbers: [38, 13] Generated Node #0,3,3: 53:[38, 13] Operation: 78/6=13 Exploring Operation: 38-6=32, Resulting Numbers: [78, 32] Generated Node #0,3,4: 53:[78, 32] Operation: 38-6=32 Moving to Node #0,3,0 Current State: 53:[78, 44], Operations: ['90-84=6', '38+6=44'] Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,53 unequal: No Solution Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[38, 72], Operations: ['90-84=6', '78-6=72'] Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,53 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[38, 84], Operations: ['90-84=6', '78+6=84'] Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,53 unequal: No Solution Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[78, 32], Operations: ['90-84=6', '38-6=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[38, 13], Operations: ['90-84=6', '78/6=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,53 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,53 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
[ 30, 73, 99, 77 ]
33
[ "30*77=2310", "99+2310=2409", "2409/73=33" ]
Current State: 33:[30, 73, 99, 77], Operations: [] Exploring Operation: 30*77=2310, Resulting Numbers: [73, 99, 2310] Generated Node #2: [73, 99, 2310] from Operation: 30*77=2310 Current State: 33:[73, 99, 2310], Operations: ['30*77=2310'] Exploring Operation: 99+2310=2409, Resulting Numbers: [73, 2409] Generated Node #3: [73, 2409] from Operation: 99+2310=2409 Current State: 33:[73, 2409], Operations: ['30*77=2310', '99+2310=2409'] Exploring Operation: 2409/73=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[30, 73, 99, 77], Operations: [] Exploring Operation: 99-73=26, Resulting Numbers: [30, 77, 26] Generated Node #0,0: 33:[30, 77, 26] Operation: 99-73=26 Exploring Operation: 99-77=22, Resulting Numbers: [30, 73, 22] Generated Node #0,1: 33:[30, 73, 22] Operation: 99-77=22 Moving to Node #0,0 Current State: 33:[30, 77, 26], Operations: ['99-73=26'] Exploring Operation: 77-30=47, Resulting Numbers: [26, 47] Generated Node #0,0,0: 33:[26, 47] Operation: 77-30=47 Exploring Operation: 77-26=51, Resulting Numbers: [30, 51] Generated Node #0,0,1: 33:[30, 51] Operation: 77-26=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[26, 47], Operations: ['99-73=26', '77-30=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[30, 51], Operations: ['99-73=26', '77-26=51'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,33 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: 33:[30, 73, 22], Operations: ['99-77=22'] Exploring Operation: 73-30=43, Resulting Numbers: [22, 43] Generated Node #0,1,0: 33:[22, 43] Operation: 73-30=43 Exploring Operation: 73-22=51, Resulting Numbers: [30, 51] Generated Node #0,1,1: 33:[30, 51] Operation: 73-22=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[22, 43], Operations: ['99-77=22', '73-30=43'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[30, 51], Operations: ['99-77=22', '73-22=51'] Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,33 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
[ 59, 44, 77, 60 ]
86
[ "59+44=103", "77-60=17", "103-17=86" ]
Current State: 86:[59, 44, 77, 60], Operations: [] Exploring Operation: 59+44=103, Resulting Numbers: [77, 60, 103] Generated Node #2: [77, 60, 103] from Operation: 59+44=103 Current State: 86:[77, 60, 103], Operations: ['59+44=103'] Exploring Operation: 77-60=17, Resulting Numbers: [103, 17] Generated Node #3: [103, 17] from Operation: 77-60=17 Current State: 86:[103, 17], Operations: ['59+44=103', '77-60=17'] Exploring Operation: 103-17=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[59, 44, 77, 60], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [44, 77, 1] Generated Node #0,0: 86:[44, 77, 1] Operation: 60-59=1 Exploring Operation: 77-59=18, Resulting Numbers: [44, 60, 18] Generated Node #0,1: 86:[44, 60, 18] Operation: 77-59=18 Exploring Operation: 77-60=17, Resulting Numbers: [59, 44, 17] Generated Node #0,2: 86:[59, 44, 17] Operation: 77-60=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[44, 77, 1], Operations: ['60-59=1'] Exploring Operation: 44*1=44, Resulting Numbers: [77, 44] Generated Node #0,0,0: 86:[77, 44] Operation: 44*1=44 Exploring Operation: 44-1=43, Resulting Numbers: [77, 43] Generated Node #0,0,1: 86:[77, 43] Operation: 44-1=43 Exploring Operation: 77+1=78, Resulting Numbers: [44, 78] Generated Node #0,0,2: 86:[44, 78] Operation: 77+1=78 Moving to Node #0,0,1 Current State: 86:[77, 43], Operations: ['60-59=1', '44-1=43'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,86 unequal: No Solution Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[44, 78], Operations: ['60-59=1', '77+1=78'] Exploring Operation: 44*78=3432, Resulting Numbers: [3432] 3432,86 unequal: No Solution Exploring Operation: 44+78=122, Resulting Numbers: [122] 122,86 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[77, 44], Operations: ['60-59=1', '44*1=44'] Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,86 unequal: No Solution Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[59, 44, 17], Operations: ['77-60=17'] Exploring Operation: 59-44=15, Resulting Numbers: [17, 15] Generated Node #0,2,0: 86:[17, 15] Operation: 59-44=15 Exploring Operation: 59-17=42, Resulting Numbers: [44, 42] Generated Node #0,2,1: 86:[44, 42] Operation: 59-17=42 Exploring Operation: 59+17=76, Resulting Numbers: [44, 76] Generated Node #0,2,2: 86:[44, 76] Operation: 59+17=76 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[44, 42], Operations: ['77-60=17', '59-17=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[59, 44, 77, 60], Operations: [] Exploring Operation: 77-60=17, Resulting Numbers: [59, 44, 17] Generated Node #0,2: 86:[59, 44, 17] Operation: 77-60=17 Moving to Node #0,2 Current State: 86:[59, 44, 17], Operations: ['77-60=17'] Exploring Operation: 59-17=42, Resulting Numbers: [44, 42] Generated Node #0,2,1: 86:[44, 42] Operation: 59-17=42 Moving to Node #0,2,1 Current State: 86:[44, 42], Operations: ['77-60=17', '59-17=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 11, 32, 64, 90 ]
56
[ "64/32=2", "90/2=45", "11+45=56" ]
Current State: 56:[11, 32, 64, 90], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [11, 90, 2] Generated Node #2: [11, 90, 2] from Operation: 64/32=2 Current State: 56:[11, 90, 2], Operations: ['64/32=2'] Exploring Operation: 90/2=45, Resulting Numbers: [11, 45] Generated Node #3: [11, 45] from Operation: 90/2=45 Current State: 56:[11, 45], Operations: ['64/32=2', '90/2=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[11, 32, 64, 90], Operations: [] Exploring Operation: 90-11=79, Resulting Numbers: [32, 64, 79] Generated Node #0,0: 56:[32, 64, 79] Operation: 90-11=79 Exploring Operation: 64/32=2, Resulting Numbers: [11, 90, 2] Generated Node #0,1: 56:[11, 90, 2] Operation: 64/32=2 Exploring Operation: 90-32=58, Resulting Numbers: [11, 64, 58] Generated Node #0,2: 56:[11, 64, 58] Operation: 90-32=58 Exploring Operation: 90-64=26, Resulting Numbers: [11, 32, 26] Generated Node #0,3: 56:[11, 32, 26] Operation: 90-64=26 Moving to Node #0,3 Current State: 56:[11, 32, 26], Operations: ['90-64=26'] Exploring Operation: 32-26=6, Resulting Numbers: [11, 6] Generated Node #0,3,0: 56:[11, 6] Operation: 32-26=6 Exploring Operation: 32+26=58, Resulting Numbers: [11, 58] Generated Node #0,3,1: 56:[11, 58] Operation: 32+26=58 Exploring Operation: 26-11=15, Resulting Numbers: [32, 15] Generated Node #0,3,2: 56:[32, 15] Operation: 26-11=15 Exploring Operation: 32-11=21, Resulting Numbers: [26, 21] Generated Node #0,3,3: 56:[26, 21] Operation: 32-11=21 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[11, 6], Operations: ['90-64=26', '32-26=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[11, 58], Operations: ['90-64=26', '32+26=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[32, 15], Operations: ['90-64=26', '26-11=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,56 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[26, 21], Operations: ['90-64=26', '32-11=21'] Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,56 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,56 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: 56:[11, 64, 58], Operations: ['90-32=58'] Exploring Operation: 64-58=6, Resulting Numbers: [11, 6] Generated Node #0,2,0: 56:[11, 6] Operation: 64-58=6 Exploring Operation: 58-11=47, Resulting Numbers: [64, 47] Generated Node #0,2,1: 56:[64, 47] Operation: 58-11=47 Exploring Operation: 11+64=75, Resulting Numbers: [58, 75] Generated Node #0,2,2: 56:[58, 75] Operation: 11+64=75 Exploring Operation: 64-11=53, Resulting Numbers: [58, 53] Generated Node #0,2,3: 56:[58, 53] Operation: 64-11=53 Moving to Node #0,0 Current State: 56:[32, 64, 79], Operations: ['90-11=79'] Exploring Operation: 79-32=47, Resulting Numbers: [64, 47] Generated Node #0,0,0: 56:[64, 47] Operation: 79-32=47 Exploring Operation: 64-32=32, Resulting Numbers: [79, 32] Generated Node #0,0,1: 56:[79, 32] Operation: 64-32=32 Exploring Operation: 79-64=15, Resulting Numbers: [32, 15] Generated Node #0,0,2: 56:[32, 15] Operation: 79-64=15 Exploring Operation: 64/32=2, Resulting Numbers: [79, 2] Generated Node #0,0,3: 56:[79, 2] Operation: 64/32=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[32, 15], Operations: ['90-11=79', '79-64=15'] Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,56 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[64, 47], Operations: ['90-11=79', '79-32=47'] Exploring Operation: 64+47=111, Resulting Numbers: [111] 111,56 unequal: No Solution Exploring Operation: 64*47=3008, Resulting Numbers: [3008] 3008,56 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[79, 2], Operations: ['90-11=79', '64/32=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[79, 32], Operations: ['90-11=79', '64-32=32'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,56 unequal: No Solution Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,56 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: 56:[11, 90, 2], Operations: ['64/32=2'] Exploring Operation: 90-11=79, Resulting Numbers: [2, 79] Generated Node #0,1,0: 56:[2, 79] Operation: 90-11=79 Exploring Operation: 90/2=45, Resulting Numbers: [11, 45] Generated Node #0,1,1: 56:[11, 45] Operation: 90/2=45 Exploring Operation: 11+2=13, Resulting Numbers: [90, 13] Generated Node #0,1,2: 56:[90, 13] Operation: 11+2=13 Exploring Operation: 11-2=9, Resulting Numbers: [90, 9] Generated Node #0,1,3: 56:[90, 9] Operation: 11-2=9 Moving to Node #0,2,0 Current State: 56:[11, 6], Operations: ['90-32=58', '64-58=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[58, 53], Operations: ['90-32=58', '64-11=53'] Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,56 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[11, 45], Operations: ['64/32=2', '90/2=45'] Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,56 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[11, 32, 64, 90], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [11, 90, 2] Generated Node #0,1: 56:[11, 90, 2] Operation: 64/32=2 Moving to Node #0,1 Current State: 56:[11, 90, 2], Operations: ['64/32=2'] Exploring Operation: 90/2=45, Resulting Numbers: [11, 45] Generated Node #0,1,1: 56:[11, 45] Operation: 90/2=45 Moving to Node #0,1,1 Current State: 56:[11, 45], Operations: ['64/32=2', '90/2=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.950521
hs_4
mult_heuristic
[ 80, 29, 49, 66 ]
68
[ "80-29=51", "66-49=17", "51+17=68" ]
Current State: 68:[80, 29, 49, 66], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [49, 66, 51] Generated Node #2: [49, 66, 51] from Operation: 80-29=51 Current State: 68:[49, 66, 51], Operations: ['80-29=51'] Exploring Operation: 66-49=17, Resulting Numbers: [51, 17] Generated Node #3: [51, 17] from Operation: 66-49=17 Current State: 68:[51, 17], Operations: ['80-29=51', '66-49=17'] Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[80, 29, 49, 66], Operations: [] Exploring Operation: 80-49=31, Resulting Numbers: [29, 66, 31] Generated Node #0,0: 68:[29, 66, 31] Operation: 80-49=31 Exploring Operation: 49-29=20, Resulting Numbers: [80, 66, 20] Generated Node #0,1: 68:[80, 66, 20] Operation: 49-29=20 Moving to Node #0,0 Current State: 68:[29, 66, 31], Operations: ['80-49=31'] Exploring Operation: 66-29=37, Resulting Numbers: [31, 37] Generated Node #0,0,0: 68:[31, 37] Operation: 66-29=37 Exploring Operation: 31-29=2, Resulting Numbers: [66, 2] Generated Node #0,0,1: 68:[66, 2] Operation: 31-29=2 Moving to Node #0,1 Current State: 68:[80, 66, 20], Operations: ['49-29=20'] Exploring Operation: 80-66=14, Resulting Numbers: [20, 14] Generated Node #0,1,0: 68:[20, 14] Operation: 80-66=14 Exploring Operation: 80/20=4, Resulting Numbers: [66, 4] Generated Node #0,1,1: 68:[66, 4] Operation: 80/20=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[66, 4], Operations: ['49-29=20', '80/20=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[20, 14], Operations: ['49-29=20', '80-66=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,68 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: 68:[66, 2], Operations: ['80-49=31', '31-29=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[80, 29, 49, 66], Operations: [] Exploring Operation: 80-49=31, Resulting Numbers: [29, 66, 31] Generated Node #0,0: 68:[29, 66, 31] Operation: 80-49=31 Moving to Node #0,0 Current State: 68:[29, 66, 31], Operations: ['80-49=31'] Exploring Operation: 31-29=2, Resulting Numbers: [66, 2] Generated Node #0,0,1: 68:[66, 2] Operation: 31-29=2 Moving to Node #0,0,1 Current State: 68:[66, 2], Operations: ['80-49=31', '31-29=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 15, 27, 18, 39 ]
49
[ "15*18=270", "270/27=10", "39+10=49" ]
Current State: 49:[15, 27, 18, 39], Operations: [] Exploring Operation: 15*18=270, Resulting Numbers: [27, 39, 270] Generated Node #2: [27, 39, 270] from Operation: 15*18=270 Current State: 49:[27, 39, 270], Operations: ['15*18=270'] Exploring Operation: 270/27=10, Resulting Numbers: [39, 10] Generated Node #3: [39, 10] from Operation: 270/27=10 Current State: 49:[39, 10], Operations: ['15*18=270', '270/27=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[15, 27, 18, 39], Operations: [] Exploring Operation: 27-18=9, Resulting Numbers: [15, 39, 9] Generated Node #0,0: 49:[15, 39, 9] Operation: 27-18=9 Exploring Operation: 39-27=12, Resulting Numbers: [15, 18, 12] Generated Node #0,1: 49:[15, 18, 12] Operation: 39-27=12 Exploring Operation: 15+27=42, Resulting Numbers: [18, 39, 42] Generated Node #0,2: 49:[18, 39, 42] Operation: 15+27=42 Exploring Operation: 27+18=45, Resulting Numbers: [15, 39, 45] Generated Node #0,3: 49:[15, 39, 45] Operation: 27+18=45 Exploring Operation: 27-15=12, Resulting Numbers: [18, 39, 12] Generated Node #0,4: 49:[18, 39, 12] Operation: 27-15=12 Moving to Node #0,0 Current State: 49:[15, 39, 9], Operations: ['27-18=9'] Exploring Operation: 15-9=6, Resulting Numbers: [39, 6] Generated Node #0,0,0: 49:[39, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [39, 24] Generated Node #0,0,1: 49:[39, 24] Operation: 15+9=24 Exploring Operation: 39+9=48, Resulting Numbers: [15, 48] Generated Node #0,0,2: 49:[15, 48] Operation: 39+9=48 Exploring Operation: 15+39=54, Resulting Numbers: [9, 54] Generated Node #0,0,3: 49:[9, 54] Operation: 15+39=54 Exploring Operation: 39-15=24, Resulting Numbers: [9, 24] Generated Node #0,0,4: 49:[9, 24] Operation: 39-15=24 Moving to Node #0,3 Current State: 49:[15, 39, 45], Operations: ['27+18=45'] Exploring Operation: 39-15=24, Resulting Numbers: [45, 24] Generated Node #0,3,0: 49:[45, 24] Operation: 39-15=24 Exploring Operation: 45-39=6, Resulting Numbers: [15, 6] Generated Node #0,3,1: 49:[15, 6] Operation: 45-39=6 Exploring Operation: 15+39=54, Resulting Numbers: [45, 54] Generated Node #0,3,2: 49:[45, 54] Operation: 15+39=54 Exploring Operation: 15+45=60, Resulting Numbers: [39, 60] Generated Node #0,3,3: 49:[39, 60] Operation: 15+45=60 Exploring Operation: 45/15=3, Resulting Numbers: [39, 3] Generated Node #0,3,4: 49:[39, 3] Operation: 45/15=3 Moving to Node #0,1 Current State: 49:[15, 18, 12], Operations: ['39-27=12'] Exploring Operation: 18-12=6, Resulting Numbers: [15, 6] Generated Node #0,1,0: 49:[15, 6] Operation: 18-12=6 Exploring Operation: 15-12=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 49:[18, 3] Operation: 15-12=3 Exploring Operation: 15+18=33, Resulting Numbers: [12, 33] Generated Node #0,1,2: 49:[12, 33] Operation: 15+18=33 Exploring Operation: 18-15=3, Resulting Numbers: [12, 3] Generated Node #0,1,3: 49:[12, 3] Operation: 18-15=3 Exploring Operation: 18+12=30, Resulting Numbers: [15, 30] Generated Node #0,1,4: 49:[15, 30] Operation: 18+12=30 Moving to Node #0,4 Current State: 49:[18, 39, 12], Operations: ['27-15=12'] Exploring Operation: 18+39=57, Resulting Numbers: [12, 57] Generated Node #0,4,0: 49:[12, 57] Operation: 18+39=57 Exploring Operation: 18-12=6, Resulting Numbers: [39, 6] Generated Node #0,4,1: 49:[39, 6] Operation: 18-12=6 Exploring Operation: 39+12=51, Resulting Numbers: [18, 51] Generated Node #0,4,2: 49:[18, 51] Operation: 39+12=51 Exploring Operation: 18+12=30, Resulting Numbers: [39, 30] Generated Node #0,4,3: 49:[39, 30] Operation: 18+12=30 Exploring Operation: 39-18=21, Resulting Numbers: [12, 21] Generated Node #0,4,4: 49:[12, 21] Operation: 39-18=21 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 49:[39, 6], Operations: ['27-15=12', '18-12=6'] Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,49 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,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,4,0 Current State: 49:[12, 57], Operations: ['27-15=12', '18+39=57'] Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 12*57=684, Resulting Numbers: [684] 684,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,4,2 Current State: 49:[18, 51], Operations: ['27-15=12', '39+12=51'] Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,49 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,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,4,4 Current State: 49:[12, 21], Operations: ['27-15=12', '39-18=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,49 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,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,4,3 Current State: 49:[39, 30], Operations: ['27-15=12', '18+12=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,49 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,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:[18, 39, 42], Operations: ['15+27=42'] Exploring Operation: 39-18=21, Resulting Numbers: [42, 21] Generated Node #0,2,0: 49:[42, 21] Operation: 39-18=21 Exploring Operation: 18+42=60, Resulting Numbers: [39, 60] Generated Node #0,2,1: 49:[39, 60] Operation: 18+42=60 Exploring Operation: 42-18=24, Resulting Numbers: [39, 24] Generated Node #0,2,2: 49:[39, 24] Operation: 42-18=24 Exploring Operation: 18+39=57, Resulting Numbers: [42, 57] Generated Node #0,2,3: 49:[42, 57] Operation: 18+39=57 Exploring Operation: 42-39=3, Resulting Numbers: [18, 3] Generated Node #0,2,4: 49:[18, 3] Operation: 42-39=3 Moving to Node #0,0,3 Current State: 49:[9, 54], Operations: ['27-18=9', '15+39=54'] Exploring Operation: 9*54=486, Resulting Numbers: [486] 486,49 unequal: No Solution Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[15, 6], Operations: ['27+18=45', '45-39=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[45, 54], Operations: ['27+18=45', '15+39=54'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,49 unequal: No Solution Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[12, 3], Operations: ['39-27=12', '18-15=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[15, 48], Operations: ['27-18=9', '39+9=48'] Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,49 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[15, 6], Operations: ['39-27=12', '18-12=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[39, 6], Operations: ['27-18=9', '15-9=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,49 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,49 unequal: No Solution Moving to Node #0,3,4 Current State: 49:[39, 3], Operations: ['27+18=45', '45/15=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,49 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[18, 3], Operations: ['39-27=12', '15-12=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,49 unequal: No Solution Moving to Node #0,2,4 Current State: 49:[18, 3], Operations: ['15+27=42', '42-39=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[42, 57], Operations: ['15+27=42', '18+39=57'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,49 unequal: No Solution Exploring Operation: 42*57=2394, Resulting Numbers: [2394] 2394,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[9, 24], Operations: ['27-18=9', '39-15=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,49 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[12, 33], Operations: ['39-27=12', '15+18=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,49 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[42, 21], Operations: ['15+27=42', '39-18=21'] Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,49 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[39, 60], Operations: ['15+27=42', '18+42=60'] Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,49 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[39, 60], Operations: ['27+18=45', '15+45=60'] Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,49 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[45, 24], Operations: ['27+18=45', '39-15=24'] Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,49 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[39, 24], Operations: ['15+27=42', '42-18=24'] Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,49 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,49 unequal: No Solution Moving to Node #0,1,4 Current State: 49:[15, 30], Operations: ['39-27=12', '18+12=30'] Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,49 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[39, 24], Operations: ['27-18=9', '15+9=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,49 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,49 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 51, 29, 17, 35 ]
74
[ "51-29=22", "17+35=52", "22+52=74" ]
Current State: 74:[51, 29, 17, 35], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [17, 35, 22] Generated Node #2: [17, 35, 22] from Operation: 51-29=22 Current State: 74:[17, 35, 22], Operations: ['51-29=22'] Exploring Operation: 17+35=52, Resulting Numbers: [22, 52] Generated Node #3: [22, 52] from Operation: 17+35=52 Current State: 74:[22, 52], Operations: ['51-29=22', '17+35=52'] Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[51, 29, 17, 35], Operations: [] Exploring Operation: 51-17=34, Resulting Numbers: [29, 35, 34] Generated Node #0,0: 74:[29, 35, 34] Operation: 51-17=34 Exploring Operation: 51+17=68, Resulting Numbers: [29, 35, 68] Generated Node #0,1: 74:[29, 35, 68] Operation: 51+17=68 Exploring Operation: 51/17=3, Resulting Numbers: [29, 35, 3] Generated Node #0,2: 74:[29, 35, 3] Operation: 51/17=3 Moving to Node #0,2 Current State: 74:[29, 35, 3], Operations: ['51/17=3'] Exploring Operation: 29+3=32, Resulting Numbers: [35, 32] Generated Node #0,2,0: 74:[35, 32] Operation: 29+3=32 Exploring Operation: 35+3=38, Resulting Numbers: [29, 38] Generated Node #0,2,1: 74:[29, 38] Operation: 35+3=38 Exploring Operation: 35-29=6, Resulting Numbers: [3, 6] Generated Node #0,2,2: 74:[3, 6] Operation: 35-29=6 Moving to Node #0,0 Current State: 74:[29, 35, 34], Operations: ['51-17=34'] Exploring Operation: 35-34=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 74:[29, 1] Operation: 35-34=1 Exploring Operation: 35-29=6, Resulting Numbers: [34, 6] Generated Node #0,0,1: 74:[34, 6] Operation: 35-29=6 Exploring Operation: 34-29=5, Resulting Numbers: [35, 5] Generated Node #0,0,2: 74:[35, 5] Operation: 34-29=5 Moving to Node #0,1 Current State: 74:[29, 35, 68], Operations: ['51+17=68'] Exploring Operation: 35-29=6, Resulting Numbers: [68, 6] Generated Node #0,1,0: 74:[68, 6] Operation: 35-29=6 Exploring Operation: 68-35=33, Resulting Numbers: [29, 33] Generated Node #0,1,1: 74:[29, 33] Operation: 68-35=33 Exploring Operation: 68-29=39, Resulting Numbers: [35, 39] Generated Node #0,1,2: 74:[35, 39] Operation: 68-29=39 Moving to Node #0,1,2 Current State: 74:[35, 39], Operations: ['51+17=68', '68-29=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[51, 29, 17, 35], Operations: [] Exploring Operation: 51+17=68, Resulting Numbers: [29, 35, 68] Generated Node #0,1: 74:[29, 35, 68] Operation: 51+17=68 Moving to Node #0,1 Current State: 74:[29, 35, 68], Operations: ['51+17=68'] Exploring Operation: 68-29=39, Resulting Numbers: [35, 39] Generated Node #0,1,2: 74:[35, 39] Operation: 68-29=39 Moving to Node #0,1,2 Current State: 74:[35, 39], Operations: ['51+17=68', '68-29=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 36, 67, 25, 75 ]
34
[ "67-36=31", "75/25=3", "31+3=34" ]
Current State: 34:[36, 67, 25, 75], Operations: [] Exploring Operation: 67-36=31, Resulting Numbers: [25, 75, 31] Generated Node #2: [25, 75, 31] from Operation: 67-36=31 Current State: 34:[25, 75, 31], Operations: ['67-36=31'] Exploring Operation: 75/25=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 75/25=3 Current State: 34:[31, 3], Operations: ['67-36=31', '75/25=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[36, 67, 25, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [36, 25, 8] Generated Node #0,0: 34:[36, 25, 8] Operation: 75-67=8 Moving to Node #0,0 Current State: 34:[36, 25, 8], Operations: ['75-67=8'] Exploring Operation: 25-8=17, Resulting Numbers: [36, 17] Generated Node #0,0,0: 34:[36, 17] Operation: 25-8=17 Moving to Node #0,0,0 Current State: 34:[36, 17], Operations: ['75-67=8', '25-8=17'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,34 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 5, 26, 83, 76 ]
38
[ "5+26=31", "83-76=7", "31+7=38" ]
Current State: 38:[5, 26, 83, 76], Operations: [] Exploring Operation: 5+26=31, Resulting Numbers: [83, 76, 31] Generated Node #2: [83, 76, 31] from Operation: 5+26=31 Current State: 38:[83, 76, 31], Operations: ['5+26=31'] Exploring Operation: 83-76=7, Resulting Numbers: [31, 7] Generated Node #3: [31, 7] from Operation: 83-76=7 Current State: 38:[31, 7], Operations: ['5+26=31', '83-76=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[5, 26, 83, 76], Operations: [] Exploring Operation: 26-5=21, Resulting Numbers: [83, 76, 21] Generated Node #0,0: 38:[83, 76, 21] Operation: 26-5=21 Exploring Operation: 76-26=50, Resulting Numbers: [5, 83, 50] Generated Node #0,1: 38:[5, 83, 50] Operation: 76-26=50 Exploring Operation: 83-76=7, Resulting Numbers: [5, 26, 7] Generated Node #0,2: 38:[5, 26, 7] Operation: 83-76=7 Exploring Operation: 83-26=57, Resulting Numbers: [5, 76, 57] Generated Node #0,3: 38:[5, 76, 57] Operation: 83-26=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[5, 26, 7], Operations: ['83-76=7'] Exploring Operation: 26+7=33, Resulting Numbers: [5, 33] Generated Node #0,2,0: 38:[5, 33] Operation: 26+7=33 Exploring Operation: 26-7=19, Resulting Numbers: [5, 19] Generated Node #0,2,1: 38:[5, 19] Operation: 26-7=19 Exploring Operation: 26-5=21, Resulting Numbers: [7, 21] Generated Node #0,2,2: 38:[7, 21] Operation: 26-5=21 Exploring Operation: 7-5=2, Resulting Numbers: [26, 2] Generated Node #0,2,3: 38:[26, 2] Operation: 7-5=2 Moving to Node #0,2,1 Current State: 38:[5, 19], Operations: ['83-76=7', '26-7=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,38 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[26, 2], Operations: ['83-76=7', '7-5=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[7, 21], Operations: ['83-76=7', '26-5=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,38 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[5, 33], Operations: ['83-76=7', '26+7=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,38 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[5, 26, 83, 76], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [5, 26, 7] Generated Node #0,2: 38:[5, 26, 7] Operation: 83-76=7 Moving to Node #0,2 Current State: 38:[5, 26, 7], Operations: ['83-76=7'] Exploring Operation: 26+7=33, Resulting Numbers: [5, 33] Generated Node #0,2,0: 38:[5, 33] Operation: 26+7=33 Moving to Node #0,2,0 Current State: 38:[5, 33], Operations: ['83-76=7', '26+7=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 83, 48, 61, 87 ]
52
[ "87-83=4", "61-48=13", "4*13=52" ]
Current State: 52:[83, 48, 61, 87], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [48, 61, 4] Generated Node #2: [48, 61, 4] from Operation: 87-83=4 Current State: 52:[48, 61, 4], Operations: ['87-83=4'] Exploring Operation: 61-48=13, Resulting Numbers: [4, 13] Generated Node #3: [4, 13] from Operation: 61-48=13 Current State: 52:[4, 13], Operations: ['87-83=4', '61-48=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[83, 48, 61, 87], Operations: [] Exploring Operation: 83-48=35, Resulting Numbers: [61, 87, 35] Generated Node #0,0: 52:[61, 87, 35] Operation: 83-48=35 Exploring Operation: 87-61=26, Resulting Numbers: [83, 48, 26] Generated Node #0,1: 52:[83, 48, 26] Operation: 87-61=26 Exploring Operation: 83-61=22, Resulting Numbers: [48, 87, 22] Generated Node #0,2: 52:[48, 87, 22] Operation: 83-61=22 Exploring Operation: 87-83=4, Resulting Numbers: [48, 61, 4] Generated Node #0,3: 52:[48, 61, 4] Operation: 87-83=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[48, 61, 4], Operations: ['87-83=4'] Exploring Operation: 48+4=52, Resulting Numbers: [61, 52] Generated Node #0,3,0: 52:[61, 52] Operation: 48+4=52 Exploring Operation: 61-4=57, Resulting Numbers: [48, 57] Generated Node #0,3,1: 52:[48, 57] Operation: 61-4=57 Exploring Operation: 61-48=13, Resulting Numbers: [4, 13] Generated Node #0,3,2: 52:[4, 13] Operation: 61-48=13 Exploring Operation: 48/4=12, Resulting Numbers: [61, 12] Generated Node #0,3,3: 52:[61, 12] Operation: 48/4=12 Moving to Node #0,3,2 Current State: 52:[4, 13], Operations: ['87-83=4', '61-48=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[83, 48, 61, 87], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [48, 61, 4] Generated Node #0,3: 52:[48, 61, 4] Operation: 87-83=4 Moving to Node #0,3 Current State: 52:[48, 61, 4], Operations: ['87-83=4'] Exploring Operation: 61-48=13, Resulting Numbers: [4, 13] Generated Node #0,3,2: 52:[4, 13] Operation: 61-48=13 Moving to Node #0,3,2 Current State: 52:[4, 13], Operations: ['87-83=4', '61-48=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 88, 89, 96, 2 ]
98
[ "89-88=1", "96+2=98", "1*98=98" ]
Current State: 98:[88, 89, 96, 2], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [96, 2, 1] Generated Node #2: [96, 2, 1] from Operation: 89-88=1 Current State: 98:[96, 2, 1], Operations: ['89-88=1'] Exploring Operation: 96+2=98, Resulting Numbers: [1, 98] Generated Node #3: [1, 98] from Operation: 96+2=98 Current State: 98:[1, 98], Operations: ['89-88=1', '96+2=98'] Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[88, 89, 96, 2], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [96, 2, 1] Generated Node #0,0: 98:[96, 2, 1] Operation: 89-88=1 Exploring Operation: 96-89=7, Resulting Numbers: [88, 2, 7] Generated Node #0,1: 98:[88, 2, 7] Operation: 96-89=7 Exploring Operation: 96-88=8, Resulting Numbers: [89, 2, 8] Generated Node #0,2: 98:[89, 2, 8] Operation: 96-88=8 Exploring Operation: 88/2=44, Resulting Numbers: [89, 96, 44] Generated Node #0,3: 98:[89, 96, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[96, 2, 1], Operations: ['89-88=1'] Exploring Operation: 96*1=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 98:[2, 96] Operation: 96*1=96 Exploring Operation: 96+1=97, Resulting Numbers: [2, 97] Generated Node #0,0,1: 98:[2, 97] Operation: 96+1=97 Exploring Operation: 96/2=48, Resulting Numbers: [1, 48] Generated Node #0,0,2: 98:[1, 48] Operation: 96/2=48 Exploring Operation: 96+2=98, Resulting Numbers: [1, 98] Generated Node #0,0,3: 98:[1, 98] Operation: 96+2=98 Moving to Node #0,0,1 Current State: 98:[2, 97], Operations: ['89-88=1', '96+1=97'] Exploring Operation: 2*97=194, Resulting Numbers: [194] 194,98 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,98 unequal: No Solution Exploring Operation: 2+97=99, Resulting Numbers: [99] 99,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[1, 98], Operations: ['89-88=1', '96+2=98'] Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[88, 89, 96, 2], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [96, 2, 1] Generated Node #0,0: 98:[96, 2, 1] Operation: 89-88=1 Moving to Node #0,0 Current State: 98:[96, 2, 1], Operations: ['89-88=1'] Exploring Operation: 96+2=98, Resulting Numbers: [1, 98] Generated Node #0,0,3: 98:[1, 98] Operation: 96+2=98 Moving to Node #0,0,3 Current State: 98:[1, 98], Operations: ['89-88=1', '96+2=98'] Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 26, 32, 12, 84 ]
12
[ "32-26=6", "84-12=72", "72/6=12" ]
Current State: 12:[26, 32, 12, 84], Operations: [] Exploring Operation: 32-26=6, Resulting Numbers: [12, 84, 6] Generated Node #2: [12, 84, 6] from Operation: 32-26=6 Current State: 12:[12, 84, 6], Operations: ['32-26=6'] Exploring Operation: 84-12=72, Resulting Numbers: [6, 72] Generated Node #3: [6, 72] from Operation: 84-12=72 Current State: 12:[6, 72], Operations: ['32-26=6', '84-12=72'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[26, 32, 12, 84], Operations: [] Exploring Operation: 84/12=7, Resulting Numbers: [26, 32, 7] Generated Node #0,0: 12:[26, 32, 7] Operation: 84/12=7 Exploring Operation: 84-32=52, Resulting Numbers: [26, 12, 52] Generated Node #0,1: 12:[26, 12, 52] Operation: 84-32=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[26, 32, 7], Operations: ['84/12=7'] Exploring Operation: 32-26=6, Resulting Numbers: [7, 6] Generated Node #0,0,0: 12:[7, 6] Operation: 32-26=6 Exploring Operation: 26-7=19, Resulting Numbers: [32, 19] Generated Node #0,0,1: 12:[32, 19] Operation: 26-7=19 Moving to Node #0,0,0 Current State: 12:[7, 6], Operations: ['84/12=7', '32-26=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[32, 19], Operations: ['84/12=7', '26-7=19'] Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[26, 12, 52], Operations: ['84-32=52'] Exploring Operation: 52/26=2, Resulting Numbers: [12, 2] Generated Node #0,1,0: 12:[12, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [12, 26] Generated Node #0,1,1: 12:[12, 26] Operation: 52-26=26 Moving to Node #0,1,0 Current State: 12:[12, 2], Operations: ['84-32=52', '52/26=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[12, 26], Operations: ['84-32=52', '52-26=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,12 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, 5, 19, 6 ]
34
[ "6-3=3", "5*3=15", "19+15=34" ]
Current State: 34:[3, 5, 19, 6], Operations: [] Exploring Operation: 6-3=3, Resulting Numbers: [5, 19, 3] Generated Node #2: [5, 19, 3] from Operation: 6-3=3 Current State: 34:[5, 19, 3], Operations: ['6-3=3'] Exploring Operation: 5*3=15, Resulting Numbers: [19, 15] Generated Node #3: [19, 15] from Operation: 5*3=15 Current State: 34:[19, 15], Operations: ['6-3=3', '5*3=15'] Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[3, 5, 19, 6], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [5, 19, 2] Generated Node #0,0: 34:[5, 19, 2] Operation: 6/3=2 Exploring Operation: 6-5=1, Resulting Numbers: [3, 19, 1] Generated Node #0,1: 34:[3, 19, 1] Operation: 6-5=1 Exploring Operation: 5-3=2, Resulting Numbers: [19, 6, 2] Generated Node #0,2: 34:[19, 6, 2] Operation: 5-3=2 Exploring Operation: 3*6=18, Resulting Numbers: [5, 19, 18] Generated Node #0,3: 34:[5, 19, 18] Operation: 3*6=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[3, 19, 1], Operations: ['6-5=1'] Exploring Operation: 19-1=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 34:[3, 18] Operation: 19-1=18 Exploring Operation: 3*1=3, Resulting Numbers: [19, 3] Generated Node #0,1,1: 34:[19, 3] Operation: 3*1=3 Exploring Operation: 19-3=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 34:[1, 16] Operation: 19-3=16 Exploring Operation: 3-1=2, Resulting Numbers: [19, 2] Generated Node #0,1,3: 34:[19, 2] Operation: 3-1=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[3, 18], Operations: ['6-5=1', '19-1=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,34 unequal: No Solution No 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: 34:[1, 16], Operations: ['6-5=1', '19-3=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,34 unequal: No Solution No 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: 34:[19, 2], Operations: ['6-5=1', '3-1=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,34 unequal: No Solution No 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: 34:[19, 3], Operations: ['6-5=1', '3*1=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,34 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: 34:[5, 19, 2], Operations: ['6/3=2'] Exploring Operation: 5-2=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 34:[19, 3] Operation: 5-2=3 Exploring Operation: 19-2=17, Resulting Numbers: [5, 17] Generated Node #0,0,1: 34:[5, 17] Operation: 19-2=17 Exploring Operation: 5+19=24, Resulting Numbers: [2, 24] Generated Node #0,0,2: 34:[2, 24] Operation: 5+19=24 Exploring Operation: 19-5=14, Resulting Numbers: [2, 14] Generated Node #0,0,3: 34:[2, 14] Operation: 19-5=14 Moving to Node #0,0,0 Current State: 34:[19, 3], Operations: ['6/3=2', '5-2=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[2, 14], Operations: ['6/3=2', '19-5=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[5, 17], Operations: ['6/3=2', '19-2=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[2, 24], Operations: ['6/3=2', '5+19=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,34 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[19, 6, 2], Operations: ['5-3=2'] Exploring Operation: 6/2=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 34:[19, 3] Operation: 6/2=3 Exploring Operation: 19-2=17, Resulting Numbers: [6, 17] Generated Node #0,2,1: 34:[6, 17] Operation: 19-2=17 Exploring Operation: 19-6=13, Resulting Numbers: [2, 13] Generated Node #0,2,2: 34:[2, 13] Operation: 19-6=13 Exploring Operation: 6-2=4, Resulting Numbers: [19, 4] Generated Node #0,2,3: 34:[19, 4] Operation: 6-2=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[19, 3], Operations: ['5-3=2', '6/2=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,34 unequal: No Solution No 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: 34:[6, 17], Operations: ['5-3=2', '19-2=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,34 unequal: No Solution No 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: 34:[2, 13], Operations: ['5-3=2', '19-6=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,34 unequal: No Solution No 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: 34:[19, 4], Operations: ['5-3=2', '6-2=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,34 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,34 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: 34:[5, 19, 18], Operations: ['3*6=18'] Exploring Operation: 19+18=37, Resulting Numbers: [5, 37] Generated Node #0,3,0: 34:[5, 37] Operation: 19+18=37 Exploring Operation: 19-5=14, Resulting Numbers: [18, 14] Generated Node #0,3,1: 34:[18, 14] Operation: 19-5=14 Exploring Operation: 18-5=13, Resulting Numbers: [19, 13] Generated Node #0,3,2: 34:[19, 13] Operation: 18-5=13 Exploring Operation: 19-18=1, Resulting Numbers: [5, 1] Generated Node #0,3,3: 34:[5, 1] Operation: 19-18=1 Moving to Node #0,3,1 Current State: 34:[18, 14], Operations: ['3*6=18', '19-5=14'] Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,34 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[5, 1], Operations: ['3*6=18', '19-18=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[19, 13], Operations: ['3*6=18', '18-5=13'] Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[5, 37], Operations: ['3*6=18', '19+18=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,34 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
[ 78, 20, 22, 69 ]
74
[ "78+22=100", "100/20=5", "69+5=74" ]
Current State: 74:[78, 20, 22, 69], Operations: [] Exploring Operation: 78+22=100, Resulting Numbers: [20, 69, 100] Generated Node #2: [20, 69, 100] from Operation: 78+22=100 Current State: 74:[20, 69, 100], Operations: ['78+22=100'] Exploring Operation: 100/20=5, Resulting Numbers: [69, 5] Generated Node #3: [69, 5] from Operation: 100/20=5 Current State: 74:[69, 5], Operations: ['78+22=100', '100/20=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[78, 20, 22, 69], Operations: [] Exploring Operation: 69-20=49, Resulting Numbers: [78, 22, 49] Generated Node #0,0: 74:[78, 22, 49] Operation: 69-20=49 Exploring Operation: 22-20=2, Resulting Numbers: [78, 69, 2] Generated Node #0,1: 74:[78, 69, 2] Operation: 22-20=2 Exploring Operation: 20+22=42, Resulting Numbers: [78, 69, 42] Generated Node #0,2: 74:[78, 69, 42] Operation: 20+22=42 Moving to Node #0,1 Current State: 74:[78, 69, 2], Operations: ['22-20=2'] Exploring Operation: 78-2=76, Resulting Numbers: [69, 76] Generated Node #0,1,0: 74:[69, 76] Operation: 78-2=76 Exploring Operation: 78-69=9, Resulting Numbers: [2, 9] Generated Node #0,1,1: 74:[2, 9] Operation: 78-69=9 Exploring Operation: 78/2=39, Resulting Numbers: [69, 39] Generated Node #0,1,2: 74:[69, 39] Operation: 78/2=39 Moving to Node #0,2 Current State: 74:[78, 69, 42], Operations: ['20+22=42'] Exploring Operation: 78-69=9, Resulting Numbers: [42, 9] Generated Node #0,2,0: 74:[42, 9] Operation: 78-69=9 Exploring Operation: 69-42=27, Resulting Numbers: [78, 27] Generated Node #0,2,1: 74:[78, 27] Operation: 69-42=27 Exploring Operation: 78-42=36, Resulting Numbers: [69, 36] Generated Node #0,2,2: 74:[69, 36] Operation: 78-42=36 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[69, 36], Operations: ['20+22=42', '78-42=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,74 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[42, 9], Operations: ['20+22=42', '78-69=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,74 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[78, 27], Operations: ['20+22=42', '69-42=27'] Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,74 unequal: No Solution Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,74 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[78, 22, 49], Operations: ['69-20=49'] Exploring Operation: 78-49=29, Resulting Numbers: [22, 29] Generated Node #0,0,0: 74:[22, 29] Operation: 78-49=29 Exploring Operation: 22+49=71, Resulting Numbers: [78, 71] Generated Node #0,0,1: 74:[78, 71] Operation: 22+49=71 Exploring Operation: 49-22=27, Resulting Numbers: [78, 27] Generated Node #0,0,2: 74:[78, 27] Operation: 49-22=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[78, 71], Operations: ['69-20=49', '22+49=71'] Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,74 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[78, 27], Operations: ['69-20=49', '49-22=27'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,74 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[22, 29], Operations: ['69-20=49', '78-49=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,74 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: 74:[69, 76], Operations: ['22-20=2', '78-2=76'] Exploring Operation: 69+76=145, Resulting Numbers: [145] 145,74 unequal: No Solution Exploring Operation: 69*76=5244, Resulting Numbers: [5244] 5244,74 unequal: No Solution Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[2, 9], Operations: ['22-20=2', '78-69=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[69, 39], Operations: ['22-20=2', '78/2=39'] Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,74 unequal: No Solution Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,74 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,74 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 36, 51, 2, 10 ]
35
[ "51-36=15", "2*10=20", "15+20=35" ]
Current State: 35:[36, 51, 2, 10], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [2, 10, 15] Generated Node #2: [2, 10, 15] from Operation: 51-36=15 Current State: 35:[2, 10, 15], Operations: ['51-36=15'] Exploring Operation: 2*10=20, Resulting Numbers: [15, 20] Generated Node #3: [15, 20] from Operation: 2*10=20 Current State: 35:[15, 20], Operations: ['51-36=15', '2*10=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[36, 51, 2, 10], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [2, 10, 15] Generated Node #0,0: 35:[2, 10, 15] Operation: 51-36=15 Exploring Operation: 51-10=41, Resulting Numbers: [36, 2, 41] Generated Node #0,1: 35:[36, 2, 41] Operation: 51-10=41 Exploring Operation: 10/2=5, Resulting Numbers: [36, 51, 5] Generated Node #0,2: 35:[36, 51, 5] Operation: 10/2=5 Exploring Operation: 51-2=49, Resulting Numbers: [36, 10, 49] Generated Node #0,3: 35:[36, 10, 49] Operation: 51-2=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[36, 2, 41], Operations: ['51-10=41'] Exploring Operation: 36-2=34, Resulting Numbers: [41, 34] Generated Node #0,1,0: 35:[41, 34] Operation: 36-2=34 Exploring Operation: 41-2=39, Resulting Numbers: [36, 39] Generated Node #0,1,1: 35:[36, 39] Operation: 41-2=39 Exploring Operation: 36+2=38, Resulting Numbers: [41, 38] Generated Node #0,1,2: 35:[41, 38] Operation: 36+2=38 Exploring Operation: 41-36=5, Resulting Numbers: [2, 5] Generated Node #0,1,3: 35:[2, 5] Operation: 41-36=5 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 35:[2, 5], Operations: ['51-10=41', '41-36=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,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,1 Current State: 35:[36, 39], Operations: ['51-10=41', '41-2=39'] Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[41, 34], Operations: ['51-10=41', '36-2=34'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,35 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,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:[41, 38], Operations: ['51-10=41', '36+2=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,35 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[2, 10, 15], Operations: ['51-36=15'] Exploring Operation: 2*15=30, Resulting Numbers: [10, 30] Generated Node #0,0,0: 35:[10, 30] Operation: 2*15=30 Exploring Operation: 10/2=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 35:[15, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [15, 8] Generated Node #0,0,2: 35:[15, 8] Operation: 10-2=8 Exploring Operation: 15-10=5, Resulting Numbers: [2, 5] Generated Node #0,0,3: 35:[2, 5] Operation: 15-10=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 35:[2, 5], Operations: ['51-36=15', '15-10=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,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,0,0 Current State: 35:[10, 30], Operations: ['51-36=15', '2*15=30'] Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,35 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,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,0,1 Current State: 35:[15, 5], Operations: ['51-36=15', '10/2=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,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,0,2 Current State: 35:[15, 8], Operations: ['51-36=15', '10-2=8'] Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,35 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[36, 51, 5], Operations: ['10/2=5'] Exploring Operation: 51-36=15, Resulting Numbers: [5, 15] Generated Node #0,2,0: 35:[5, 15] Operation: 51-36=15 Exploring Operation: 36-5=31, Resulting Numbers: [51, 31] Generated Node #0,2,1: 35:[51, 31] Operation: 36-5=31 Exploring Operation: 36+5=41, Resulting Numbers: [51, 41] Generated Node #0,2,2: 35:[51, 41] Operation: 36+5=41 Exploring Operation: 51-5=46, Resulting Numbers: [36, 46] Generated Node #0,2,3: 35:[36, 46] Operation: 51-5=46 Moving to Node #0,2,0 Current State: 35:[5, 15], Operations: ['10/2=5', '51-36=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[36, 46], Operations: ['10/2=5', '51-5=46'] Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 36*46=1656, Resulting Numbers: [1656] 1656,35 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[51, 31], Operations: ['10/2=5', '36-5=31'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,35 unequal: No Solution Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[51, 41], Operations: ['10/2=5', '36+5=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,35 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[36, 10, 49], Operations: ['51-2=49'] Exploring Operation: 36+10=46, Resulting Numbers: [49, 46] Generated Node #0,3,0: 35:[49, 46] Operation: 36+10=46 Exploring Operation: 36-10=26, Resulting Numbers: [49, 26] Generated Node #0,3,1: 35:[49, 26] Operation: 36-10=26 Exploring Operation: 49-36=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 35:[10, 13] Operation: 49-36=13 Exploring Operation: 49-10=39, Resulting Numbers: [36, 39] Generated Node #0,3,3: 35:[36, 39] Operation: 49-10=39 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[36, 39], Operations: ['51-2=49', '49-10=39'] Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,35 unequal: No Solution Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[10, 13], Operations: ['51-2=49', '49-36=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,35 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[49, 26], Operations: ['51-2=49', '36-10=26'] Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,35 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[49, 46], Operations: ['51-2=49', '36+10=46'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,35 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 27, 8, 61, 17 ]
48
[ "27+61=88", "8*17=136", "136-88=48" ]
Current State: 48:[27, 8, 61, 17], Operations: [] Exploring Operation: 27+61=88, Resulting Numbers: [8, 17, 88] Generated Node #2: [8, 17, 88] from Operation: 27+61=88 Current State: 48:[8, 17, 88], Operations: ['27+61=88'] Exploring Operation: 8*17=136, Resulting Numbers: [88, 136] Generated Node #3: [88, 136] from Operation: 8*17=136 Current State: 48:[88, 136], Operations: ['27+61=88', '8*17=136'] Exploring Operation: 136-88=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[27, 8, 61, 17], Operations: [] Exploring Operation: 61-27=34, Resulting Numbers: [8, 17, 34] Generated Node #0,0: 48:[8, 17, 34] Operation: 61-27=34 Exploring Operation: 61-17=44, Resulting Numbers: [27, 8, 44] Generated Node #0,1: 48:[27, 8, 44] Operation: 61-17=44 Exploring Operation: 27-17=10, Resulting Numbers: [8, 61, 10] Generated Node #0,2: 48:[8, 61, 10] Operation: 27-17=10 Exploring Operation: 61-8=53, Resulting Numbers: [27, 17, 53] Generated Node #0,3: 48:[27, 17, 53] Operation: 61-8=53 Exploring Operation: 27-8=19, Resulting Numbers: [61, 17, 19] Generated Node #0,4: 48:[61, 17, 19] Operation: 27-8=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[27, 8, 44], Operations: ['61-17=44'] Exploring Operation: 27+8=35, Resulting Numbers: [44, 35] Generated Node #0,1,0: 48:[44, 35] Operation: 27+8=35 Exploring Operation: 27-8=19, Resulting Numbers: [44, 19] Generated Node #0,1,1: 48:[44, 19] Operation: 27-8=19 Exploring Operation: 44-27=17, Resulting Numbers: [8, 17] Generated Node #0,1,2: 48:[8, 17] Operation: 44-27=17 Exploring Operation: 44-8=36, Resulting Numbers: [27, 36] Generated Node #0,1,3: 48:[27, 36] Operation: 44-8=36 Exploring Operation: 8+44=52, Resulting Numbers: [27, 52] Generated Node #0,1,4: 48:[27, 52] Operation: 8+44=52 Moving to Node #0,1,2 Current State: 48:[8, 17], Operations: ['61-17=44', '44-27=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,48 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[27, 52], Operations: ['61-17=44', '8+44=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,48 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[44, 19], Operations: ['61-17=44', '27-8=19'] Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,48 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[44, 35], Operations: ['61-17=44', '27+8=35'] Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,48 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[27, 36], Operations: ['61-17=44', '44-8=36'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[27, 17, 53], Operations: ['61-8=53'] Exploring Operation: 53-27=26, Resulting Numbers: [17, 26] Generated Node #0,3,0: 48:[17, 26] Operation: 53-27=26 Exploring Operation: 27+17=44, Resulting Numbers: [53, 44] Generated Node #0,3,1: 48:[53, 44] Operation: 27+17=44 Exploring Operation: 27-17=10, Resulting Numbers: [53, 10] Generated Node #0,3,2: 48:[53, 10] Operation: 27-17=10 Exploring Operation: 17+53=70, Resulting Numbers: [27, 70] Generated Node #0,3,3: 48:[27, 70] Operation: 17+53=70 Exploring Operation: 53-17=36, Resulting Numbers: [27, 36] Generated Node #0,3,4: 48:[27, 36] Operation: 53-17=36 Moving to Node #0,3,0 Current State: 48:[17, 26], Operations: ['61-8=53', '53-27=26'] Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,48 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[53, 10], Operations: ['61-8=53', '27-17=10'] Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,48 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[53, 44], Operations: ['61-8=53', '27+17=44'] Exploring Operation: 53+44=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 53*44=2332, Resulting Numbers: [2332] 2332,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[27, 36], Operations: ['61-8=53', '53-17=36'] Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[27, 70], Operations: ['61-8=53', '17+53=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[8, 17, 34], Operations: ['61-27=34'] Exploring Operation: 34/17=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 48:[8, 2] Operation: 34/17=2 Exploring Operation: 17+34=51, Resulting Numbers: [8, 51] Generated Node #0,0,1: 48:[8, 51] Operation: 17+34=51 Exploring Operation: 34-17=17, Resulting Numbers: [8, 17] Generated Node #0,0,2: 48:[8, 17] Operation: 34-17=17 Exploring Operation: 34-8=26, Resulting Numbers: [17, 26] Generated Node #0,0,3: 48:[17, 26] Operation: 34-8=26 Exploring Operation: 8+34=42, Resulting Numbers: [17, 42] Generated Node #0,0,4: 48:[17, 42] Operation: 8+34=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[8, 2], Operations: ['61-27=34', '34/17=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[8, 17], Operations: ['61-27=34', '34-17=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,48 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[8, 51], Operations: ['61-27=34', '17+34=51'] Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,48 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 48:[17, 26], Operations: ['61-27=34', '34-8=26'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,48 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 48:[17, 42], Operations: ['61-27=34', '8+34=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,48 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[8, 61, 10], Operations: ['27-17=10'] Exploring Operation: 61-10=51, Resulting Numbers: [8, 51] Generated Node #0,2,0: 48:[8, 51] Operation: 61-10=51 Exploring Operation: 8+10=18, Resulting Numbers: [61, 18] Generated Node #0,2,1: 48:[61, 18] Operation: 8+10=18 Exploring Operation: 8+61=69, Resulting Numbers: [10, 69] Generated Node #0,2,2: 48:[10, 69] Operation: 8+61=69 Exploring Operation: 61-8=53, Resulting Numbers: [10, 53] Generated Node #0,2,3: 48:[10, 53] Operation: 61-8=53 Exploring Operation: 10-8=2, Resulting Numbers: [61, 2] Generated Node #0,2,4: 48:[61, 2] Operation: 10-8=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[8, 51], Operations: ['27-17=10', '61-10=51'] Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,48 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[10, 53], Operations: ['27-17=10', '61-8=53'] Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,48 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 48:[61, 2], Operations: ['27-17=10', '10-8=2'] Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,48 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[61, 18], Operations: ['27-17=10', '8+10=18'] Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,48 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[10, 69], Operations: ['27-17=10', '8+61=69'] Exploring Operation: 10*69=690, Resulting Numbers: [690] 690,48 unequal: No Solution Exploring Operation: 10+69=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 48:[61, 17, 19], Operations: ['27-8=19'] Exploring Operation: 19-17=2, Resulting Numbers: [61, 2] Generated Node #0,4,0: 48:[61, 2] Operation: 19-17=2 Exploring Operation: 17+19=36, Resulting Numbers: [61, 36] Generated Node #0,4,1: 48:[61, 36] Operation: 17+19=36 Exploring Operation: 61+17=78, Resulting Numbers: [19, 78] Generated Node #0,4,2: 48:[19, 78] Operation: 61+17=78 Exploring Operation: 61-19=42, Resulting Numbers: [17, 42] Generated Node #0,4,3: 48:[17, 42] Operation: 61-19=42 Exploring Operation: 61-17=44, Resulting Numbers: [19, 44] Generated Node #0,4,4: 48:[19, 44] Operation: 61-17=44 Moving to Node #0,4,3 Current State: 48:[17, 42], Operations: ['27-8=19', '61-19=42'] Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,48 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[19, 44], Operations: ['27-8=19', '61-17=44'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,48 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[61, 2], Operations: ['27-8=19', '19-17=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,48 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[61, 36], Operations: ['27-8=19', '17+19=36'] Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,48 unequal: No Solution Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[19, 78], Operations: ['27-8=19', '61+17=78'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,48 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
[ 52, 86, 46, 88 ]
12
[ "52-46=6", "88-86=2", "6*2=12" ]
Current State: 12:[52, 86, 46, 88], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [86, 88, 6] Generated Node #2: [86, 88, 6] from Operation: 52-46=6 Current State: 12:[86, 88, 6], Operations: ['52-46=6'] Exploring Operation: 88-86=2, Resulting Numbers: [6, 2] Generated Node #3: [6, 2] from Operation: 88-86=2 Current State: 12:[6, 2], Operations: ['52-46=6', '88-86=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[52, 86, 46, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [52, 46, 2] Generated Node #0,0: 12:[52, 46, 2] Operation: 88-86=2 Exploring Operation: 88-52=36, Resulting Numbers: [86, 46, 36] Generated Node #0,1: 12:[86, 46, 36] Operation: 88-52=36 Exploring Operation: 86-52=34, Resulting Numbers: [46, 88, 34] Generated Node #0,2: 12:[46, 88, 34] Operation: 86-52=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[52, 46, 2], Operations: ['88-86=2'] Exploring Operation: 46/2=23, Resulting Numbers: [52, 23] Generated Node #0,0,0: 12:[52, 23] Operation: 46/2=23 Exploring Operation: 52/2=26, Resulting Numbers: [46, 26] Generated Node #0,0,1: 12:[46, 26] Operation: 52/2=26 Exploring Operation: 52-46=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 12:[2, 6] Operation: 52-46=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[2, 6], Operations: ['88-86=2', '52-46=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[52, 86, 46, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [52, 46, 2] Generated Node #0,0: 12:[52, 46, 2] Operation: 88-86=2 Moving to Node #0,0 Current State: 12:[52, 46, 2], Operations: ['88-86=2'] Exploring Operation: 52-46=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 12:[2, 6] Operation: 52-46=6 Moving to Node #0,0,2 Current State: 12:[2, 6], Operations: ['88-86=2', '52-46=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 84, 80, 24, 75 ]
95
[ "84-80=4", "24+75=99", "99-4=95" ]
Current State: 95:[84, 80, 24, 75], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [24, 75, 4] Generated Node #2: [24, 75, 4] from Operation: 84-80=4 Current State: 95:[24, 75, 4], Operations: ['84-80=4'] Exploring Operation: 24+75=99, Resulting Numbers: [4, 99] Generated Node #3: [4, 99] from Operation: 24+75=99 Current State: 95:[4, 99], Operations: ['84-80=4', '24+75=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[84, 80, 24, 75], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [84, 24, 5] Generated Node #0,0: 95:[84, 24, 5] Operation: 80-75=5 Moving to Node #0,0 Current State: 95:[84, 24, 5], Operations: ['80-75=5'] Exploring Operation: 84+5=89, Resulting Numbers: [24, 89] Generated Node #0,0,0: 95:[24, 89] Operation: 84+5=89 Moving to Node #0,0,0 Current State: 95:[24, 89], Operations: ['80-75=5', '84+5=89'] Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,95 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 49, 34, 77, 47 ]
45
[ "49-34=15", "77-47=30", "15+30=45" ]
Current State: 45:[49, 34, 77, 47], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [77, 47, 15] Generated Node #2: [77, 47, 15] from Operation: 49-34=15 Current State: 45:[77, 47, 15], Operations: ['49-34=15'] Exploring Operation: 77-47=30, Resulting Numbers: [15, 30] Generated Node #3: [15, 30] from Operation: 77-47=30 Current State: 45:[15, 30], Operations: ['49-34=15', '77-47=30'] Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[49, 34, 77, 47], Operations: [] Exploring Operation: 77-34=43, Resulting Numbers: [49, 47, 43] Generated Node #0,0: 45:[49, 47, 43] Operation: 77-34=43 Exploring Operation: 77-47=30, Resulting Numbers: [49, 34, 30] Generated Node #0,1: 45:[49, 34, 30] Operation: 77-47=30 Exploring Operation: 77-49=28, Resulting Numbers: [34, 47, 28] Generated Node #0,2: 45:[34, 47, 28] Operation: 77-49=28 Moving to Node #0,0 Current State: 45:[49, 47, 43], Operations: ['77-34=43'] Exploring Operation: 49-43=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 45:[47, 6] Operation: 49-43=6 Exploring Operation: 47-43=4, Resulting Numbers: [49, 4] Generated Node #0,0,1: 45:[49, 4] Operation: 47-43=4 Exploring Operation: 49-47=2, Resulting Numbers: [43, 2] Generated Node #0,0,2: 45:[43, 2] Operation: 49-47=2 Moving to Node #0,2 Current State: 45:[34, 47, 28], Operations: ['77-49=28'] Exploring Operation: 34-28=6, Resulting Numbers: [47, 6] Generated Node #0,2,0: 45:[47, 6] Operation: 34-28=6 Exploring Operation: 47-34=13, Resulting Numbers: [28, 13] Generated Node #0,2,1: 45:[28, 13] Operation: 47-34=13 Exploring Operation: 47-28=19, Resulting Numbers: [34, 19] Generated Node #0,2,2: 45:[34, 19] Operation: 47-28=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[47, 6], Operations: ['77-49=28', '34-28=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[28, 13], Operations: ['77-49=28', '47-34=13'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[34, 19], Operations: ['77-49=28', '47-28=19'] Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,45 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,45 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: 45:[49, 34, 30], Operations: ['77-47=30'] Exploring Operation: 34-30=4, Resulting Numbers: [49, 4] Generated Node #0,1,0: 45:[49, 4] Operation: 34-30=4 Exploring Operation: 49-30=19, Resulting Numbers: [34, 19] Generated Node #0,1,1: 45:[34, 19] Operation: 49-30=19 Exploring Operation: 49-34=15, Resulting Numbers: [30, 15] Generated Node #0,1,2: 45:[30, 15] Operation: 49-34=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[49, 4], Operations: ['77-47=30', '34-30=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[49, 34, 77, 47], Operations: [] Exploring Operation: 77-47=30, Resulting Numbers: [49, 34, 30] Generated Node #0,1: 45:[49, 34, 30] Operation: 77-47=30 Moving to Node #0,1 Current State: 45:[49, 34, 30], Operations: ['77-47=30'] Exploring Operation: 34-30=4, Resulting Numbers: [49, 4] Generated Node #0,1,0: 45:[49, 4] Operation: 34-30=4 Moving to Node #0,1,0 Current State: 45:[49, 4], Operations: ['77-47=30', '34-30=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 6, 80, 31, 4 ]
18
[ "6-4=2", "31*2=62", "80-62=18" ]
Current State: 18:[6, 80, 31, 4], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [80, 31, 2] Generated Node #2: [80, 31, 2] from Operation: 6-4=2 Current State: 18:[80, 31, 2], Operations: ['6-4=2'] Exploring Operation: 31*2=62, Resulting Numbers: [80, 62] Generated Node #3: [80, 62] from Operation: 31*2=62 Current State: 18:[80, 62], Operations: ['6-4=2', '31*2=62'] Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[6, 80, 31, 4], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [6, 31, 20] Generated Node #0,0: 18:[6, 31, 20] Operation: 80/4=20 Exploring Operation: 80-4=76, Resulting Numbers: [6, 31, 76] Generated Node #0,1: 18:[6, 31, 76] Operation: 80-4=76 Exploring Operation: 80-31=49, Resulting Numbers: [6, 4, 49] Generated Node #0,2: 18:[6, 4, 49] Operation: 80-31=49 Exploring Operation: 80-6=74, Resulting Numbers: [31, 4, 74] Generated Node #0,3: 18:[31, 4, 74] Operation: 80-6=74 Exploring Operation: 31-6=25, Resulting Numbers: [80, 4, 25] Generated Node #0,4: 18:[80, 4, 25] Operation: 31-6=25 Moving to Node #0,0 Current State: 18:[6, 31, 20], Operations: ['80/4=20'] Exploring Operation: 20-6=14, Resulting Numbers: [31, 14] Generated Node #0,0,0: 18:[31, 14] Operation: 20-6=14 Exploring Operation: 6+20=26, Resulting Numbers: [31, 26] Generated Node #0,0,1: 18:[31, 26] Operation: 6+20=26 Exploring Operation: 31-20=11, Resulting Numbers: [6, 11] Generated Node #0,0,2: 18:[6, 11] Operation: 31-20=11 Exploring Operation: 31-6=25, Resulting Numbers: [20, 25] Generated Node #0,0,3: 18:[20, 25] Operation: 31-6=25 Exploring Operation: 6+31=37, Resulting Numbers: [20, 37] Generated Node #0,0,4: 18:[20, 37] Operation: 6+31=37 Moving to Node #0,2 Current State: 18:[6, 4, 49], Operations: ['80-31=49'] Exploring Operation: 49-6=43, Resulting Numbers: [4, 43] Generated Node #0,2,0: 18:[4, 43] Operation: 49-6=43 Exploring Operation: 4+49=53, Resulting Numbers: [6, 53] Generated Node #0,2,1: 18:[6, 53] Operation: 4+49=53 Exploring Operation: 6+4=10, Resulting Numbers: [49, 10] Generated Node #0,2,2: 18:[49, 10] Operation: 6+4=10 Exploring Operation: 49-4=45, Resulting Numbers: [6, 45] Generated Node #0,2,3: 18:[6, 45] Operation: 49-4=45 Exploring Operation: 6-4=2, Resulting Numbers: [49, 2] Generated Node #0,2,4: 18:[49, 2] Operation: 6-4=2 Moving to Node #0,3 Current State: 18:[31, 4, 74], Operations: ['80-6=74'] Exploring Operation: 31-4=27, Resulting Numbers: [74, 27] Generated Node #0,3,0: 18:[74, 27] Operation: 31-4=27 Exploring Operation: 4+74=78, Resulting Numbers: [31, 78] Generated Node #0,3,1: 18:[31, 78] Operation: 4+74=78 Exploring Operation: 74-4=70, Resulting Numbers: [31, 70] Generated Node #0,3,2: 18:[31, 70] Operation: 74-4=70 Exploring Operation: 74-31=43, Resulting Numbers: [4, 43] Generated Node #0,3,3: 18:[4, 43] Operation: 74-31=43 Exploring Operation: 31+4=35, Resulting Numbers: [74, 35] Generated Node #0,3,4: 18:[74, 35] Operation: 31+4=35 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[4, 43], Operations: ['80-6=74', '74-31=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,18 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[74, 27], Operations: ['80-6=74', '31-4=27'] Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,18 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[31, 70], Operations: ['80-6=74', '74-4=70'] Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,18 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[31, 78], Operations: ['80-6=74', '4+74=78'] Exploring Operation: 31+78=109, Resulting Numbers: [109] 109,18 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 31*78=2418, Resulting Numbers: [2418] 2418,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 18:[74, 35], Operations: ['80-6=74', '31+4=35'] Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 74*35=2590, Resulting Numbers: [2590] 2590,18 unequal: No Solution Exploring Operation: 74+35=109, Resulting Numbers: [109] 109,18 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: 18:[80, 4, 25], Operations: ['31-6=25'] Exploring Operation: 80+4=84, Resulting Numbers: [25, 84] Generated Node #0,4,0: 18:[25, 84] Operation: 80+4=84 Exploring Operation: 80/4=20, Resulting Numbers: [25, 20] Generated Node #0,4,1: 18:[25, 20] Operation: 80/4=20 Exploring Operation: 80-25=55, Resulting Numbers: [4, 55] Generated Node #0,4,2: 18:[4, 55] Operation: 80-25=55 Exploring Operation: 80-4=76, Resulting Numbers: [25, 76] Generated Node #0,4,3: 18:[25, 76] Operation: 80-4=76 Exploring Operation: 25-4=21, Resulting Numbers: [80, 21] Generated Node #0,4,4: 18:[80, 21] Operation: 25-4=21 Moving to Node #0,1 Current State: 18:[6, 31, 76], Operations: ['80-4=76'] Exploring Operation: 6+31=37, Resulting Numbers: [76, 37] Generated Node #0,1,0: 18:[76, 37] Operation: 6+31=37 Exploring Operation: 76-6=70, Resulting Numbers: [31, 70] Generated Node #0,1,1: 18:[31, 70] Operation: 76-6=70 Exploring Operation: 31-6=25, Resulting Numbers: [76, 25] Generated Node #0,1,2: 18:[76, 25] Operation: 31-6=25 Exploring Operation: 76-31=45, Resulting Numbers: [6, 45] Generated Node #0,1,3: 18:[6, 45] Operation: 76-31=45 Exploring Operation: 6+76=82, Resulting Numbers: [31, 82] Generated Node #0,1,4: 18:[31, 82] Operation: 6+76=82 Moving to Node #0,0,2 Current State: 18:[6, 11], Operations: ['80/4=20', '31-20=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,18 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[20, 25], Operations: ['80/4=20', '31-6=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,18 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[25, 20], Operations: ['31-6=25', '80/4=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[31, 14], Operations: ['80/4=20', '20-6=14'] Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,18 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[20, 37], Operations: ['80/4=20', '6+31=37'] Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,18 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[31, 26], Operations: ['80/4=20', '6+20=26'] Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,18 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[4, 43], Operations: ['80-31=49', '49-6=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,18 unequal: No Solution Moving to Node #0,2,3 Current State: 18:[6, 45], Operations: ['80-31=49', '49-4=45'] Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[6, 45], Operations: ['80-4=76', '76-31=45'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,18 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[49, 2], Operations: ['80-31=49', '6-4=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[49, 10], Operations: ['80-31=49', '6+4=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[6, 53], Operations: ['80-31=49', '4+49=53'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,18 unequal: No Solution Moving to Node #0,4,2 Current State: 18:[4, 55], Operations: ['31-6=25', '80-25=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,18 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[80, 21], Operations: ['31-6=25', '25-4=21'] Exploring Operation: 80+21=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 80*21=1680, Resulting Numbers: [1680] 1680,18 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[25, 76], Operations: ['31-6=25', '80-4=76'] Exploring Operation: 25*76=1900, Resulting Numbers: [1900] 1900,18 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 25+76=101, Resulting Numbers: [101] 101,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[31, 70], Operations: ['80-4=76', '76-6=70'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,18 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[76, 25], Operations: ['80-4=76', '31-6=25'] Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,18 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[25, 84], Operations: ['31-6=25', '80+4=84'] Exploring Operation: 25*84=2100, Resulting Numbers: [2100] 2100,18 unequal: No Solution Exploring Operation: 25+84=109, Resulting Numbers: [109] 109,18 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,18 unequal: No Solution Moving to Node #0,1,4 Current State: 18:[31, 82], Operations: ['80-4=76', '6+76=82'] Exploring Operation: 31*82=2542, Resulting Numbers: [2542] 2542,18 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 31+82=113, Resulting Numbers: [113] 113,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[76, 37], Operations: ['80-4=76', '6+31=37'] Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,18 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,18 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,18 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 63, 29, 43, 2 ]
89
[ "63+29=92", "92/2=46", "43+46=89" ]
Current State: 89:[63, 29, 43, 2], Operations: [] Exploring Operation: 63+29=92, Resulting Numbers: [43, 2, 92] Generated Node #2: [43, 2, 92] from Operation: 63+29=92 Current State: 89:[43, 2, 92], Operations: ['63+29=92'] Exploring Operation: 92/2=46, Resulting Numbers: [43, 46] Generated Node #3: [43, 46] from Operation: 92/2=46 Current State: 89:[43, 46], Operations: ['63+29=92', '92/2=46'] Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[63, 29, 43, 2], Operations: [] Exploring Operation: 43*2=86, Resulting Numbers: [63, 29, 86] Generated Node #0,0: 89:[63, 29, 86] Operation: 43*2=86 Exploring Operation: 63+2=65, Resulting Numbers: [29, 43, 65] Generated Node #0,1: 89:[29, 43, 65] Operation: 63+2=65 Exploring Operation: 29*2=58, Resulting Numbers: [63, 43, 58] Generated Node #0,2: 89:[63, 43, 58] Operation: 29*2=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[63, 29, 86], Operations: ['43*2=86'] Exploring Operation: 29+86=115, Resulting Numbers: [63, 115] Generated Node #0,0,0: 89:[63, 115] Operation: 29+86=115 Exploring Operation: 63+29=92, Resulting Numbers: [86, 92] Generated Node #0,0,1: 89:[86, 92] Operation: 63+29=92 Exploring Operation: 63-29=34, Resulting Numbers: [86, 34] Generated Node #0,0,2: 89:[86, 34] Operation: 63-29=34 Moving to Node #0,0,1 Current State: 89:[86, 92], Operations: ['43*2=86', '63+29=92'] Exploring Operation: 86+92=178, Resulting Numbers: [178] 178,89 unequal: No Solution Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 86*92=7912, Resulting Numbers: [7912] 7912,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[63, 115], Operations: ['43*2=86', '29+86=115'] Exploring Operation: 63*115=7245, Resulting Numbers: [7245] 7245,89 unequal: No Solution Exploring Operation: 63+115=178, Resulting Numbers: [178] 178,89 unequal: No Solution Exploring Operation: 115-63=52, Resulting Numbers: [52] 52,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[86, 34], Operations: ['43*2=86', '63-29=34'] Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,89 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[63, 43, 58], Operations: ['29*2=58'] Exploring Operation: 43+58=101, Resulting Numbers: [63, 101] Generated Node #0,2,0: 89:[63, 101] Operation: 43+58=101 Exploring Operation: 63+43=106, Resulting Numbers: [58, 106] Generated Node #0,2,1: 89:[58, 106] Operation: 63+43=106 Exploring Operation: 63+58=121, Resulting Numbers: [43, 121] Generated Node #0,2,2: 89:[43, 121] Operation: 63+58=121 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[63, 101], Operations: ['29*2=58', '43+58=101'] Exploring Operation: 63+101=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 101-63=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 63*101=6363, Resulting Numbers: [6363] 6363,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,2,1 Current State: 89:[58, 106], Operations: ['29*2=58', '63+43=106'] Exploring Operation: 58+106=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 58*106=6148, Resulting Numbers: [6148] 6148,89 unequal: No Solution Exploring Operation: 106-58=48, Resulting Numbers: [48] 48,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,2,2 Current State: 89:[43, 121], Operations: ['29*2=58', '63+58=121'] Exploring Operation: 43+121=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 121-43=78, Resulting Numbers: [78] 78,89 unequal: No Solution Exploring Operation: 43*121=5203, Resulting Numbers: [5203] 5203,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[29, 43, 65], Operations: ['63+2=65'] Exploring Operation: 43+65=108, Resulting Numbers: [29, 108] Generated Node #0,1,0: 89:[29, 108] Operation: 43+65=108 Exploring Operation: 29+65=94, Resulting Numbers: [43, 94] Generated Node #0,1,1: 89:[43, 94] Operation: 29+65=94 Exploring Operation: 29+43=72, Resulting Numbers: [65, 72] Generated Node #0,1,2: 89:[65, 72] Operation: 29+43=72 Moving to Node #0,1,2 Current State: 89:[65, 72], Operations: ['63+2=65', '29+43=72'] Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,89 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[43, 94], Operations: ['63+2=65', '29+65=94'] Exploring Operation: 43*94=4042, Resulting Numbers: [4042] 4042,89 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 43+94=137, Resulting Numbers: [137] 137,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[29, 108], Operations: ['63+2=65', '43+65=108'] Exploring Operation: 29*108=3132, Resulting Numbers: [3132] 3132,89 unequal: No Solution Exploring Operation: 108-29=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 29+108=137, Resulting Numbers: [137] 137,89 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
[ 38, 94, 97, 30 ]
65
[ "38+94=132", "97-30=67", "132-67=65" ]
Current State: 65:[38, 94, 97, 30], Operations: [] Exploring Operation: 38+94=132, Resulting Numbers: [97, 30, 132] Generated Node #2: [97, 30, 132] from Operation: 38+94=132 Current State: 65:[97, 30, 132], Operations: ['38+94=132'] Exploring Operation: 97-30=67, Resulting Numbers: [132, 67] Generated Node #3: [132, 67] from Operation: 97-30=67 Current State: 65:[132, 67], Operations: ['38+94=132', '97-30=67'] Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[38, 94, 97, 30], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [38, 30, 3] Generated Node #0,0: 65:[38, 30, 3] Operation: 97-94=3 Exploring Operation: 97-30=67, Resulting Numbers: [38, 94, 67] Generated Node #0,1: 65:[38, 94, 67] Operation: 97-30=67 Exploring Operation: 94-30=64, Resulting Numbers: [38, 97, 64] Generated Node #0,2: 65:[38, 97, 64] Operation: 94-30=64 Exploring Operation: 97-38=59, Resulting Numbers: [94, 30, 59] Generated Node #0,3: 65:[94, 30, 59] Operation: 97-38=59 Exploring Operation: 94-38=56, Resulting Numbers: [97, 30, 56] Generated Node #0,4: 65:[97, 30, 56] Operation: 94-38=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[38, 30, 3], Operations: ['97-94=3'] Exploring Operation: 38+30=68, Resulting Numbers: [3, 68] Generated Node #0,0,0: 65:[3, 68] Operation: 38+30=68 Exploring Operation: 30-3=27, Resulting Numbers: [38, 27] Generated Node #0,0,1: 65:[38, 27] Operation: 30-3=27 Exploring Operation: 38-3=35, Resulting Numbers: [30, 35] Generated Node #0,0,2: 65:[30, 35] Operation: 38-3=35 Exploring Operation: 30/3=10, Resulting Numbers: [38, 10] Generated Node #0,0,3: 65:[38, 10] Operation: 30/3=10 Exploring Operation: 38-30=8, Resulting Numbers: [3, 8] Generated Node #0,0,4: 65:[3, 8] Operation: 38-30=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[3, 68], Operations: ['97-94=3', '38+30=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[38, 94, 97, 30], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [38, 30, 3] Generated Node #0,0: 65:[38, 30, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 65:[38, 30, 3], Operations: ['97-94=3'] Exploring Operation: 38+30=68, Resulting Numbers: [3, 68] Generated Node #0,0,0: 65:[3, 68] Operation: 38+30=68 Moving to Node #0,0,0 Current State: 65:[3, 68], Operations: ['97-94=3', '38+30=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 36, 50, 84, 80 ]
10
[ "50-36=14", "84-80=4", "14-4=10" ]
Current State: 10:[36, 50, 84, 80], Operations: [] Exploring Operation: 50-36=14, Resulting Numbers: [84, 80, 14] Generated Node #2: [84, 80, 14] from Operation: 50-36=14 Current State: 10:[84, 80, 14], Operations: ['50-36=14'] Exploring Operation: 84-80=4, Resulting Numbers: [14, 4] Generated Node #3: [14, 4] from Operation: 84-80=4 Current State: 10:[14, 4], Operations: ['50-36=14', '84-80=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[36, 50, 84, 80], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [36, 50, 4] Generated Node #0,0: 10:[36, 50, 4] Operation: 84-80=4 Exploring Operation: 84-50=34, Resulting Numbers: [36, 80, 34] Generated Node #0,1: 10:[36, 80, 34] Operation: 84-50=34 Moving to Node #0,0 Current State: 10:[36, 50, 4], Operations: ['84-80=4'] Exploring Operation: 36/4=9, Resulting Numbers: [50, 9] Generated Node #0,0,0: 10:[50, 9] Operation: 36/4=9 Exploring Operation: 50-36=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 10:[4, 14] Operation: 50-36=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[4, 14], Operations: ['84-80=4', '50-36=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[36, 50, 84, 80], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [36, 50, 4] Generated Node #0,0: 10:[36, 50, 4] Operation: 84-80=4 Moving to Node #0,0 Current State: 10:[36, 50, 4], Operations: ['84-80=4'] Exploring Operation: 50-36=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 10:[4, 14] Operation: 50-36=14 Moving to Node #0,0,1 Current State: 10:[4, 14], Operations: ['84-80=4', '50-36=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 72, 64, 40, 96 ]
51
[ "72*40=2880", "2880/64=45", "96-45=51" ]
Current State: 51:[72, 64, 40, 96], Operations: [] Exploring Operation: 72*40=2880, Resulting Numbers: [64, 96, 2880] Generated Node #2: [64, 96, 2880] from Operation: 72*40=2880 Current State: 51:[64, 96, 2880], Operations: ['72*40=2880'] Exploring Operation: 2880/64=45, Resulting Numbers: [96, 45] Generated Node #3: [96, 45] from Operation: 2880/64=45 Current State: 51:[96, 45], Operations: ['72*40=2880', '2880/64=45'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[72, 64, 40, 96], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [64, 40, 24] Generated Node #0,0: 51:[64, 40, 24] Operation: 96-72=24 Exploring Operation: 96-40=56, Resulting Numbers: [72, 64, 56] Generated Node #0,1: 51:[72, 64, 56] Operation: 96-40=56 Exploring Operation: 96-64=32, Resulting Numbers: [72, 40, 32] Generated Node #0,2: 51:[72, 40, 32] Operation: 96-64=32 Exploring Operation: 72-64=8, Resulting Numbers: [40, 96, 8] Generated Node #0,3: 51:[40, 96, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[64, 40, 24], Operations: ['96-72=24'] Exploring Operation: 64-40=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 51:[24, 24] Operation: 64-40=24 Exploring Operation: 40-24=16, Resulting Numbers: [64, 16] Generated Node #0,0,1: 51:[64, 16] Operation: 40-24=16 Exploring Operation: 64-24=40, Resulting Numbers: [40, 40] Generated Node #0,0,2: 51:[40, 40] Operation: 64-24=40 Exploring Operation: 40+24=64, Resulting Numbers: [64, 64] Generated Node #0,0,3: 51:[64, 64] Operation: 40+24=64 Moving to Node #0,0,0 Current State: 51:[24, 24], Operations: ['96-72=24', '64-40=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,51 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[64, 16], Operations: ['96-72=24', '40-24=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,51 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[40, 40], Operations: ['96-72=24', '64-24=40'] Exploring Operation: 40*40=1600, Resulting Numbers: [1600] 1600,51 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[64, 64], Operations: ['96-72=24', '40+24=64'] Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,51 unequal: No Solution Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,51 unequal: No Solution Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[72, 64, 56], Operations: ['96-40=56'] Exploring Operation: 72-56=16, Resulting Numbers: [64, 16] Generated Node #0,1,0: 51:[64, 16] Operation: 72-56=16 Exploring Operation: 72-64=8, Resulting Numbers: [56, 8] Generated Node #0,1,1: 51:[56, 8] Operation: 72-64=8 Exploring Operation: 64-56=8, Resulting Numbers: [72, 8] Generated Node #0,1,2: 51:[72, 8] Operation: 64-56=8 Exploring Operation: 72+64=136, Resulting Numbers: [56, 136] Generated Node #0,1,3: 51:[56, 136] Operation: 72+64=136 Moving to Node #0,1,1 Current State: 51:[56, 8], Operations: ['96-40=56', '72-64=8'] Exploring Operation: 56*8=448, Resulting Numbers: [448] 448,51 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[64, 16], Operations: ['96-40=56', '72-56=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,51 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[72, 8], Operations: ['96-40=56', '64-56=8'] Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,51 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[56, 136], Operations: ['96-40=56', '72+64=136'] Exploring Operation: 56*136=7616, Resulting Numbers: [7616] 7616,51 unequal: No Solution Exploring Operation: 136-56=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 56+136=192, Resulting Numbers: [192] 192,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[72, 40, 32], Operations: ['96-64=32'] Exploring Operation: 40-32=8, Resulting Numbers: [72, 8] Generated Node #0,2,0: 51:[72, 8] Operation: 40-32=8 Exploring Operation: 72-32=40, Resulting Numbers: [40, 40] Generated Node #0,2,1: 51:[40, 40] Operation: 72-32=40 Exploring Operation: 72-40=32, Resulting Numbers: [32, 32] Generated Node #0,2,2: 51:[32, 32] Operation: 72-40=32 Exploring Operation: 40+32=72, Resulting Numbers: [72, 72] Generated Node #0,2,3: 51:[72, 72] Operation: 40+32=72 Moving to Node #0,2,1 Current State: 51:[40, 40], Operations: ['96-64=32', '72-32=40'] Exploring Operation: 40*40=1600, Resulting Numbers: [1600] 1600,51 unequal: No Solution Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[72, 8], Operations: ['96-64=32', '40-32=8'] Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,51 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[32, 32], Operations: ['96-64=32', '72-40=32'] Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,51 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[72, 72], Operations: ['96-64=32', '40+32=72'] Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 72*72=5184, Resulting Numbers: [5184] 5184,51 unequal: No Solution Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,51 unequal: No Solution Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[40, 96, 8], Operations: ['72-64=8'] Exploring Operation: 96/8=12, Resulting Numbers: [40, 12] Generated Node #0,3,0: 51:[40, 12] Operation: 96/8=12 Exploring Operation: 40+8=48, Resulting Numbers: [96, 48] Generated Node #0,3,1: 51:[96, 48] Operation: 40+8=48 Exploring Operation: 96-40=56, Resulting Numbers: [8, 56] Generated Node #0,3,2: 51:[8, 56] Operation: 96-40=56 Exploring Operation: 40/8=5, Resulting Numbers: [96, 5] Generated Node #0,3,3: 51:[96, 5] Operation: 40/8=5 Moving to Node #0,3,2 Current State: 51:[8, 56], Operations: ['72-64=8', '96-40=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,51 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[40, 12], Operations: ['72-64=8', '96/8=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[96, 5], Operations: ['72-64=8', '40/8=5'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,51 unequal: No Solution Exploring Operation: 96*5=480, Resulting Numbers: [480] 480,51 unequal: No Solution Exploring Operation: 96+5=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[96, 48], Operations: ['72-64=8', '40+8=48'] Exploring Operation: 96*48=4608, Resulting Numbers: [4608] 4608,51 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,51 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
[ 88, 11, 91, 40 ]
86
[ "88/11=8", "40/8=5", "91-5=86" ]
Current State: 86:[88, 11, 91, 40], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [91, 40, 8] Generated Node #2: [91, 40, 8] from Operation: 88/11=8 Current State: 86:[91, 40, 8], Operations: ['88/11=8'] Exploring Operation: 40/8=5, Resulting Numbers: [91, 5] Generated Node #3: [91, 5] from Operation: 40/8=5 Current State: 86:[91, 5], Operations: ['88/11=8', '40/8=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[88, 11, 91, 40], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [11, 40, 3] Generated Node #0,0: 86:[11, 40, 3] Operation: 91-88=3 Exploring Operation: 91-11=80, Resulting Numbers: [88, 40, 80] Generated Node #0,1: 86:[88, 40, 80] Operation: 91-11=80 Exploring Operation: 88/11=8, Resulting Numbers: [91, 40, 8] Generated Node #0,2: 86:[91, 40, 8] Operation: 88/11=8 Exploring Operation: 11+40=51, Resulting Numbers: [88, 91, 51] Generated Node #0,3: 86:[88, 91, 51] Operation: 11+40=51 Moving to Node #0,1 Current State: 86:[88, 40, 80], Operations: ['91-11=80'] Exploring Operation: 80-40=40, Resulting Numbers: [88, 40] Generated Node #0,1,0: 86:[88, 40] Operation: 80-40=40 Exploring Operation: 88-80=8, Resulting Numbers: [40, 8] Generated Node #0,1,1: 86:[40, 8] Operation: 88-80=8 Exploring Operation: 88-40=48, Resulting Numbers: [80, 48] Generated Node #0,1,2: 86:[80, 48] Operation: 88-40=48 Exploring Operation: 80/40=2, Resulting Numbers: [88, 2] Generated Node #0,1,3: 86:[88, 2] Operation: 80/40=2 Moving to Node #0,0 Current State: 86:[11, 40, 3], Operations: ['91-88=3'] Exploring Operation: 11*3=33, Resulting Numbers: [40, 33] Generated Node #0,0,0: 86:[40, 33] Operation: 11*3=33 Exploring Operation: 40+3=43, Resulting Numbers: [11, 43] Generated Node #0,0,1: 86:[11, 43] Operation: 40+3=43 Exploring Operation: 11+40=51, Resulting Numbers: [3, 51] Generated Node #0,0,2: 86:[3, 51] Operation: 11+40=51 Exploring Operation: 11-3=8, Resulting Numbers: [40, 8] Generated Node #0,0,3: 86:[40, 8] Operation: 11-3=8 Moving to Node #0,2 Current State: 86:[91, 40, 8], Operations: ['88/11=8'] Exploring Operation: 40/8=5, Resulting Numbers: [91, 5] Generated Node #0,2,0: 86:[91, 5] Operation: 40/8=5 Exploring Operation: 91-40=51, Resulting Numbers: [8, 51] Generated Node #0,2,1: 86:[8, 51] Operation: 91-40=51 Exploring Operation: 40+8=48, Resulting Numbers: [91, 48] Generated Node #0,2,2: 86:[91, 48] Operation: 40+8=48 Exploring Operation: 91-8=83, Resulting Numbers: [40, 83] Generated Node #0,2,3: 86:[40, 83] Operation: 91-8=83 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[40, 83], Operations: ['88/11=8', '91-8=83'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 40+83=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 40*83=3320, Resulting Numbers: [3320] 3320,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[91, 5], Operations: ['88/11=8', '40/8=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[88, 11, 91, 40], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [91, 40, 8] Generated Node #0,2: 86:[91, 40, 8] Operation: 88/11=8 Moving to Node #0,2 Current State: 86:[91, 40, 8], Operations: ['88/11=8'] Exploring Operation: 40/8=5, Resulting Numbers: [91, 5] Generated Node #0,2,0: 86:[91, 5] Operation: 40/8=5 Moving to Node #0,2,0 Current State: 86:[91, 5], Operations: ['88/11=8', '40/8=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 47, 4, 19, 2 ]
72
[ "47+4=51", "19+2=21", "51+21=72" ]
Current State: 72:[47, 4, 19, 2], Operations: [] Exploring Operation: 47+4=51, Resulting Numbers: [19, 2, 51] Generated Node #2: [19, 2, 51] from Operation: 47+4=51 Current State: 72:[19, 2, 51], Operations: ['47+4=51'] Exploring Operation: 19+2=21, Resulting Numbers: [51, 21] Generated Node #3: [51, 21] from Operation: 19+2=21 Current State: 72:[51, 21], Operations: ['47+4=51', '19+2=21'] Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[47, 4, 19, 2], Operations: [] Exploring Operation: 47-4=43, Resulting Numbers: [19, 2, 43] Generated Node #0,0: 72:[19, 2, 43] Operation: 47-4=43 Exploring Operation: 47+19=66, Resulting Numbers: [4, 2, 66] Generated Node #0,1: 72:[4, 2, 66] Operation: 47+19=66 Exploring Operation: 47-19=28, Resulting Numbers: [4, 2, 28] Generated Node #0,2: 72:[4, 2, 28] Operation: 47-19=28 Exploring Operation: 47-2=45, Resulting Numbers: [4, 19, 45] Generated Node #0,3: 72:[4, 19, 45] Operation: 47-2=45 Moving to Node #0,2 Current State: 72:[4, 2, 28], Operations: ['47-19=28'] Exploring Operation: 28/4=7, Resulting Numbers: [2, 7] Generated Node #0,2,0: 72:[2, 7] Operation: 28/4=7 Exploring Operation: 28-2=26, Resulting Numbers: [4, 26] Generated Node #0,2,1: 72:[4, 26] Operation: 28-2=26 Exploring Operation: 28-4=24, Resulting Numbers: [2, 24] Generated Node #0,2,2: 72:[2, 24] Operation: 28-4=24 Exploring Operation: 28/2=14, Resulting Numbers: [4, 14] Generated Node #0,2,3: 72:[4, 14] Operation: 28/2=14 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[2, 24], Operations: ['47-19=28', '28-4=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[2, 7], Operations: ['47-19=28', '28/4=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[4, 26], Operations: ['47-19=28', '28-2=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,72 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[4, 14], Operations: ['47-19=28', '28/2=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,72 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: 72:[4, 2, 66], Operations: ['47+19=66'] Exploring Operation: 4+2=6, Resulting Numbers: [66, 6] Generated Node #0,1,0: 72:[66, 6] Operation: 4+2=6 Exploring Operation: 66/2=33, Resulting Numbers: [4, 33] Generated Node #0,1,1: 72:[4, 33] Operation: 66/2=33 Exploring Operation: 2+66=68, Resulting Numbers: [4, 68] Generated Node #0,1,2: 72:[4, 68] Operation: 2+66=68 Exploring Operation: 4+66=70, Resulting Numbers: [2, 70] Generated Node #0,1,3: 72:[2, 70] Operation: 4+66=70 Moving to Node #0,0 Current State: 72:[19, 2, 43], Operations: ['47-4=43'] Exploring Operation: 19-2=17, Resulting Numbers: [43, 17] Generated Node #0,0,0: 72:[43, 17] Operation: 19-2=17 Exploring Operation: 19*2=38, Resulting Numbers: [43, 38] Generated Node #0,0,1: 72:[43, 38] Operation: 19*2=38 Exploring Operation: 43-2=41, Resulting Numbers: [19, 41] Generated Node #0,0,2: 72:[19, 41] Operation: 43-2=41 Exploring Operation: 43-19=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 72:[2, 24] Operation: 43-19=24 Moving to Node #0,3 Current State: 72:[4, 19, 45], Operations: ['47-2=45'] Exploring Operation: 45-19=26, Resulting Numbers: [4, 26] Generated Node #0,3,0: 72:[4, 26] Operation: 45-19=26 Exploring Operation: 4+19=23, Resulting Numbers: [45, 23] Generated Node #0,3,1: 72:[45, 23] Operation: 4+19=23 Exploring Operation: 45-4=41, Resulting Numbers: [19, 41] Generated Node #0,3,2: 72:[19, 41] Operation: 45-4=41 Exploring Operation: 19+45=64, Resulting Numbers: [4, 64] Generated Node #0,3,3: 72:[4, 64] Operation: 19+45=64 Moving to Node #0,0,3 Current State: 72:[2, 24], Operations: ['47-4=43', '43-19=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[2, 70], Operations: ['47+19=66', '4+66=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,72 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[47, 4, 19, 2], Operations: [] Exploring Operation: 47+19=66, Resulting Numbers: [4, 2, 66] Generated Node #0,1: 72:[4, 2, 66] Operation: 47+19=66 Moving to Node #0,1 Current State: 72:[4, 2, 66], Operations: ['47+19=66'] Exploring Operation: 4+66=70, Resulting Numbers: [2, 70] Generated Node #0,1,3: 72:[2, 70] Operation: 4+66=70 Moving to Node #0,1,3 Current State: 72:[2, 70], Operations: ['47+19=66', '4+66=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.960938
hs_4
sum_heuristic
[ 48, 77, 88, 24 ]
66
[ "48*77=3696", "3696/88=42", "24+42=66" ]
Current State: 66:[48, 77, 88, 24], Operations: [] Exploring Operation: 48*77=3696, Resulting Numbers: [88, 24, 3696] Generated Node #2: [88, 24, 3696] from Operation: 48*77=3696 Current State: 66:[88, 24, 3696], Operations: ['48*77=3696'] Exploring Operation: 3696/88=42, Resulting Numbers: [24, 42] Generated Node #3: [24, 42] from Operation: 3696/88=42 Current State: 66:[24, 42], Operations: ['48*77=3696', '3696/88=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[48, 77, 88, 24], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [77, 88, 2] Generated Node #0,0: 66:[77, 88, 2] Operation: 48/24=2 Exploring Operation: 88-77=11, Resulting Numbers: [48, 24, 11] Generated Node #0,1: 66:[48, 24, 11] Operation: 88-77=11 Exploring Operation: 88-24=64, Resulting Numbers: [48, 77, 64] Generated Node #0,2: 66:[48, 77, 64] Operation: 88-24=64 Exploring Operation: 77-48=29, Resulting Numbers: [88, 24, 29] Generated Node #0,3: 66:[88, 24, 29] Operation: 77-48=29 Exploring Operation: 88-48=40, Resulting Numbers: [77, 24, 40] Generated Node #0,4: 66:[77, 24, 40] Operation: 88-48=40 Moving to Node #0,1 Current State: 66:[48, 24, 11], Operations: ['88-77=11'] Exploring Operation: 48/24=2, Resulting Numbers: [11, 2] Generated Node #0,1,0: 66:[11, 2] Operation: 48/24=2 Exploring Operation: 48+11=59, Resulting Numbers: [24, 59] Generated Node #0,1,1: 66:[24, 59] Operation: 48+11=59 Exploring Operation: 48-11=37, Resulting Numbers: [24, 37] Generated Node #0,1,2: 66:[24, 37] Operation: 48-11=37 Exploring Operation: 48-24=24, Resulting Numbers: [11, 24] Generated Node #0,1,3: 66:[11, 24] Operation: 48-24=24 Exploring Operation: 48+24=72, Resulting Numbers: [11, 72] Generated Node #0,1,4: 66:[11, 72] Operation: 48+24=72 Moving to Node #0,4 Current State: 66:[77, 24, 40], Operations: ['88-48=40'] Exploring Operation: 77-24=53, Resulting Numbers: [40, 53] Generated Node #0,4,0: 66:[40, 53] Operation: 77-24=53 Exploring Operation: 24+40=64, Resulting Numbers: [77, 64] Generated Node #0,4,1: 66:[77, 64] Operation: 24+40=64 Exploring Operation: 77+24=101, Resulting Numbers: [40, 101] Generated Node #0,4,2: 66:[40, 101] Operation: 77+24=101 Exploring Operation: 40-24=16, Resulting Numbers: [77, 16] Generated Node #0,4,3: 66:[77, 16] Operation: 40-24=16 Exploring Operation: 77-40=37, Resulting Numbers: [24, 37] Generated Node #0,4,4: 66:[24, 37] Operation: 77-40=37 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 66:[24, 37], Operations: ['88-48=40', '77-40=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,66 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,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:[77, 64], Operations: ['88-48=40', '24+40=64'] Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,66 unequal: No Solution Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,66 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,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:[77, 16], Operations: ['88-48=40', '40-24=16'] Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,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,0 Current State: 66:[40, 53], Operations: ['88-48=40', '77-24=53'] Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,66 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,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:[40, 101], Operations: ['88-48=40', '77+24=101'] Exploring Operation: 40+101=141, Resulting Numbers: [141] 141,66 unequal: No Solution Exploring Operation: 40*101=4040, Resulting Numbers: [4040] 4040,66 unequal: No Solution Exploring Operation: 101-40=61, Resulting Numbers: [61] 61,66 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: 66:[48, 77, 64], Operations: ['88-24=64'] Exploring Operation: 77-48=29, Resulting Numbers: [64, 29] Generated Node #0,2,0: 66:[64, 29] Operation: 77-48=29 Exploring Operation: 48+77=125, Resulting Numbers: [64, 125] Generated Node #0,2,1: 66:[64, 125] Operation: 48+77=125 Exploring Operation: 77-64=13, Resulting Numbers: [48, 13] Generated Node #0,2,2: 66:[48, 13] Operation: 77-64=13 Exploring Operation: 64-48=16, Resulting Numbers: [77, 16] Generated Node #0,2,3: 66:[77, 16] Operation: 64-48=16 Exploring Operation: 48+64=112, Resulting Numbers: [77, 112] Generated Node #0,2,4: 66:[77, 112] Operation: 48+64=112 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[64, 29], Operations: ['88-24=64', '77-48=29'] Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,66 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[77, 16], Operations: ['88-24=64', '64-48=16'] Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[48, 13], Operations: ['88-24=64', '77-64=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 66:[77, 112], Operations: ['88-24=64', '48+64=112'] Exploring Operation: 112-77=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 77*112=8624, Resulting Numbers: [8624] 8624,66 unequal: No Solution Exploring Operation: 77+112=189, Resulting Numbers: [189] 189,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[64, 125], Operations: ['88-24=64', '48+77=125'] Exploring Operation: 125-64=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 64*125=8000, Resulting Numbers: [8000] 8000,66 unequal: No Solution Exploring Operation: 64+125=189, Resulting Numbers: [189] 189,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:[88, 24, 29], Operations: ['77-48=29'] Exploring Operation: 88-24=64, Resulting Numbers: [29, 64] Generated Node #0,3,0: 66:[29, 64] Operation: 88-24=64 Exploring Operation: 24+29=53, Resulting Numbers: [88, 53] Generated Node #0,3,1: 66:[88, 53] Operation: 24+29=53 Exploring Operation: 88-29=59, Resulting Numbers: [24, 59] Generated Node #0,3,2: 66:[24, 59] Operation: 88-29=59 Exploring Operation: 88+24=112, Resulting Numbers: [29, 112] Generated Node #0,3,3: 66:[29, 112] Operation: 88+24=112 Exploring Operation: 29-24=5, Resulting Numbers: [88, 5] Generated Node #0,3,4: 66:[88, 5] Operation: 29-24=5 Moving to Node #0,0 Current State: 66:[77, 88, 2], Operations: ['48/24=2'] Exploring Operation: 88-77=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 66:[2, 11] Operation: 88-77=11 Exploring Operation: 77+2=79, Resulting Numbers: [88, 79] Generated Node #0,0,1: 66:[88, 79] Operation: 77+2=79 Exploring Operation: 77-2=75, Resulting Numbers: [88, 75] Generated Node #0,0,2: 66:[88, 75] Operation: 77-2=75 Exploring Operation: 88-2=86, Resulting Numbers: [77, 86] Generated Node #0,0,3: 66:[77, 86] Operation: 88-2=86 Exploring Operation: 88/2=44, Resulting Numbers: [77, 44] Generated Node #0,0,4: 66:[77, 44] Operation: 88/2=44 Moving to Node #0,1,0 Current State: 66:[11, 2], Operations: ['88-77=11', '48/24=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[2, 11], Operations: ['48/24=2', '88-77=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[11, 24], Operations: ['88-77=11', '48-24=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,66 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[24, 37], Operations: ['88-77=11', '48-11=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,66 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[29, 64], Operations: ['77-48=29', '88-24=64'] Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 29*64=1856, Resulting Numbers: [1856] 1856,66 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,1,4 Current State: 66:[11, 72], Operations: ['88-77=11', '48+24=72'] Exploring Operation: 11*72=792, Resulting Numbers: [792] 792,66 unequal: No Solution Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[24, 59], Operations: ['77-48=29', '88-29=59'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[24, 59], Operations: ['88-77=11', '48+11=59'] Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,66 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[77, 44], Operations: ['48/24=2', '88/2=44'] Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,66 unequal: No Solution Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,66 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[88, 5], Operations: ['77-48=29', '29-24=5'] Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,66 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[88, 75], Operations: ['48/24=2', '77-2=75'] Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,66 unequal: No Solution Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,66 unequal: No Solution Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[77, 86], Operations: ['48/24=2', '88-2=86'] Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,66 unequal: No Solution Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,66 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[88, 53], Operations: ['77-48=29', '24+29=53'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 88*53=4664, Resulting Numbers: [4664] 4664,66 unequal: No Solution Exploring Operation: 88+53=141, Resulting Numbers: [141] 141,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[88, 79], Operations: ['48/24=2', '77+2=79'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 88*79=6952, Resulting Numbers: [6952] 6952,66 unequal: No Solution Exploring Operation: 88+79=167, Resulting Numbers: [167] 167,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[29, 112], Operations: ['77-48=29', '88+24=112'] Exploring Operation: 112-29=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 29*112=3248, Resulting Numbers: [3248] 3248,66 unequal: No Solution Exploring Operation: 29+112=141, Resulting Numbers: [141] 141,66 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 20, 33, 43, 38 ]
19
[ "43-33=10", "20/10=2", "38/2=19" ]
Current State: 19:[20, 33, 43, 38], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [20, 38, 10] Generated Node #2: [20, 38, 10] from Operation: 43-33=10 Current State: 19:[20, 38, 10], Operations: ['43-33=10'] Exploring Operation: 20/10=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 20/10=2 Current State: 19:[38, 2], Operations: ['43-33=10', '20/10=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[20, 33, 43, 38], Operations: [] Exploring Operation: 43-38=5, Resulting Numbers: [20, 33, 5] Generated Node #0,0: 19:[20, 33, 5] Operation: 43-38=5 Exploring Operation: 43-33=10, Resulting Numbers: [20, 38, 10] Generated Node #0,1: 19:[20, 38, 10] Operation: 43-33=10 Exploring Operation: 38-20=18, Resulting Numbers: [33, 43, 18] Generated Node #0,2: 19:[33, 43, 18] Operation: 38-20=18 Exploring Operation: 43-20=23, Resulting Numbers: [33, 38, 23] Generated Node #0,3: 19:[33, 38, 23] Operation: 43-20=23 Exploring Operation: 38-33=5, Resulting Numbers: [20, 43, 5] Generated Node #0,4: 19:[20, 43, 5] Operation: 38-33=5 Moving to Node #0,0 Current State: 19:[20, 33, 5], Operations: ['43-38=5'] Exploring Operation: 33-20=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 19:[5, 13] Operation: 33-20=13 Exploring Operation: 20+5=25, Resulting Numbers: [33, 25] Generated Node #0,0,1: 19:[33, 25] Operation: 20+5=25 Exploring Operation: 20-5=15, Resulting Numbers: [33, 15] Generated Node #0,0,2: 19:[33, 15] Operation: 20-5=15 Exploring Operation: 33-5=28, Resulting Numbers: [20, 28] Generated Node #0,0,3: 19:[20, 28] Operation: 33-5=28 Exploring Operation: 33+5=38, Resulting Numbers: [20, 38] Generated Node #0,0,4: 19:[20, 38] Operation: 33+5=38 Moving to Node #0,1 Current State: 19:[20, 38, 10], Operations: ['43-33=10'] Exploring Operation: 38-20=18, Resulting Numbers: [10, 18] Generated Node #0,1,0: 19:[10, 18] Operation: 38-20=18 Exploring Operation: 38-10=28, Resulting Numbers: [20, 28] Generated Node #0,1,1: 19:[20, 28] Operation: 38-10=28 Exploring Operation: 20-10=10, Resulting Numbers: [38, 10] Generated Node #0,1,2: 19:[38, 10] Operation: 20-10=10 Exploring Operation: 38+10=48, Resulting Numbers: [20, 48] Generated Node #0,1,3: 19:[20, 48] Operation: 38+10=48 Exploring Operation: 20+10=30, Resulting Numbers: [38, 30] Generated Node #0,1,4: 19:[38, 30] Operation: 20+10=30 Moving to Node #0,3 Current State: 19:[33, 38, 23], Operations: ['43-20=23'] Exploring Operation: 33+38=71, Resulting Numbers: [23, 71] Generated Node #0,3,0: 19:[23, 71] Operation: 33+38=71 Exploring Operation: 33+23=56, Resulting Numbers: [38, 56] Generated Node #0,3,1: 19:[38, 56] Operation: 33+23=56 Exploring Operation: 38-33=5, Resulting Numbers: [23, 5] Generated Node #0,3,2: 19:[23, 5] Operation: 38-33=5 Exploring Operation: 33-23=10, Resulting Numbers: [38, 10] Generated Node #0,3,3: 19:[38, 10] Operation: 33-23=10 Exploring Operation: 38-23=15, Resulting Numbers: [33, 15] Generated Node #0,3,4: 19:[33, 15] Operation: 38-23=15 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 19:[23, 5], Operations: ['43-20=23', '38-33=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 19:[33, 15], Operations: ['43-20=23', '38-23=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,19 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 19:[38, 10], Operations: ['43-20=23', '33-23=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,19 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 19:[23, 71], Operations: ['43-20=23', '33+38=71'] Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,19 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 19:[38, 56], Operations: ['43-20=23', '33+23=56'] Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,19 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,19 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: 19:[33, 43, 18], Operations: ['38-20=18'] Exploring Operation: 33+18=51, Resulting Numbers: [43, 51] Generated Node #0,2,0: 19:[43, 51] Operation: 33+18=51 Exploring Operation: 43-33=10, Resulting Numbers: [18, 10] Generated Node #0,2,1: 19:[18, 10] Operation: 43-33=10 Exploring Operation: 43+18=61, Resulting Numbers: [33, 61] Generated Node #0,2,2: 19:[33, 61] Operation: 43+18=61 Exploring Operation: 33-18=15, Resulting Numbers: [43, 15] Generated Node #0,2,3: 19:[43, 15] Operation: 33-18=15 Exploring Operation: 43-18=25, Resulting Numbers: [33, 25] Generated Node #0,2,4: 19:[33, 25] Operation: 43-18=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[18, 10], Operations: ['38-20=18', '43-33=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,19 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 19:[33, 25], Operations: ['38-20=18', '43-18=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,19 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 19:[43, 15], Operations: ['38-20=18', '33-18=15'] Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,19 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[43, 51], Operations: ['38-20=18', '33+18=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 43*51=2193, Resulting Numbers: [2193] 2193,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[33, 61], Operations: ['38-20=18', '43+18=61'] Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,19 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: 19:[20, 43, 5], Operations: ['38-33=5'] Exploring Operation: 43-5=38, Resulting Numbers: [20, 38] Generated Node #0,4,0: 19:[20, 38] Operation: 43-5=38 Exploring Operation: 20-5=15, Resulting Numbers: [43, 15] Generated Node #0,4,1: 19:[43, 15] Operation: 20-5=15 Exploring Operation: 43-20=23, Resulting Numbers: [5, 23] Generated Node #0,4,2: 19:[5, 23] Operation: 43-20=23 Exploring Operation: 43+5=48, Resulting Numbers: [20, 48] Generated Node #0,4,3: 19:[20, 48] Operation: 43+5=48 Exploring Operation: 20+5=25, Resulting Numbers: [43, 25] Generated Node #0,4,4: 19:[43, 25] Operation: 20+5=25 Moving to Node #0,0,3 Current State: 19:[20, 28], Operations: ['43-38=5', '33-5=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,19 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[10, 18], Operations: ['43-33=10', '38-20=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[20, 28], Operations: ['43-33=10', '38-10=28'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[33, 15], Operations: ['43-38=5', '20-5=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,19 unequal: No Solution Moving to Node #0,4,2 Current State: 19:[5, 23], Operations: ['38-33=5', '43-20=23'] Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,19 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[5, 13], Operations: ['43-38=5', '33-20=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,19 unequal: No Solution Moving to Node #0,4,0 Current State: 19:[20, 38], Operations: ['38-33=5', '43-5=38'] Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,19 unequal: No Solution Moving to Node #0,0,4 Current State: 19:[20, 38], Operations: ['43-38=5', '33+5=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,19 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[33, 25], Operations: ['43-38=5', '20+5=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,19 unequal: No Solution Moving to Node #0,4,1 Current State: 19:[43, 15], Operations: ['38-33=5', '20-5=15'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,19 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[38, 10], Operations: ['43-33=10', '20-10=10'] Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,19 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,4,3 Current State: 19:[20, 48], Operations: ['38-33=5', '43+5=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,19 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,19 unequal: No Solution Moving to Node #0,4,4 Current State: 19:[43, 25], Operations: ['38-33=5', '20+5=25'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,19 unequal: No Solution Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[20, 48], Operations: ['43-33=10', '38+10=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,19 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,19 unequal: No Solution Moving to Node #0,1,4 Current State: 19:[38, 30], Operations: ['43-33=10', '20+10=30'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,19 unequal: No Solution Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,19 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 41, 88, 7, 9 ]
45
[ "88-41=47", "9-7=2", "47-2=45" ]
Current State: 45:[41, 88, 7, 9], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [7, 9, 47] Generated Node #2: [7, 9, 47] from Operation: 88-41=47 Current State: 45:[7, 9, 47], Operations: ['88-41=47'] Exploring Operation: 9-7=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 9-7=2 Current State: 45:[47, 2], Operations: ['88-41=47', '9-7=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[41, 88, 7, 9], Operations: [] Exploring Operation: 88-9=79, Resulting Numbers: [41, 7, 79] Generated Node #0,0: 45:[41, 7, 79] Operation: 88-9=79 Exploring Operation: 88-41=47, Resulting Numbers: [7, 9, 47] Generated Node #0,1: 45:[7, 9, 47] Operation: 88-41=47 Exploring Operation: 88-7=81, Resulting Numbers: [41, 9, 81] Generated Node #0,2: 45:[41, 9, 81] Operation: 88-7=81 Exploring Operation: 41+7=48, Resulting Numbers: [88, 9, 48] Generated Node #0,3: 45:[88, 9, 48] Operation: 41+7=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[7, 9, 47], Operations: ['88-41=47'] Exploring Operation: 7+47=54, Resulting Numbers: [9, 54] Generated Node #0,1,0: 45:[9, 54] Operation: 7+47=54 Exploring Operation: 47-7=40, Resulting Numbers: [9, 40] Generated Node #0,1,1: 45:[9, 40] Operation: 47-7=40 Exploring Operation: 7+9=16, Resulting Numbers: [47, 16] Generated Node #0,1,2: 45:[47, 16] Operation: 7+9=16 Exploring Operation: 9-7=2, Resulting Numbers: [47, 2] Generated Node #0,1,3: 45:[47, 2] Operation: 9-7=2 Moving to Node #0,1,2 Current State: 45:[47, 16], Operations: ['88-41=47', '7+9=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[47, 2], Operations: ['88-41=47', '9-7=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,45 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,45 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[41, 88, 7, 9], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [7, 9, 47] Generated Node #0,1: 45:[7, 9, 47] Operation: 88-41=47 Moving to Node #0,1 Current State: 45:[7, 9, 47], Operations: ['88-41=47'] Exploring Operation: 9-7=2, Resulting Numbers: [47, 2] Generated Node #0,1,3: 45:[47, 2] Operation: 9-7=2 Moving to Node #0,1,3 Current State: 45:[47, 2], Operations: ['88-41=47', '9-7=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 8, 52, 13, 11 ]
48
[ "13-11=2", "8/2=4", "52-4=48" ]
Current State: 48:[8, 52, 13, 11], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [8, 52, 2] Generated Node #2: [8, 52, 2] from Operation: 13-11=2 Current State: 48:[8, 52, 2], Operations: ['13-11=2'] Exploring Operation: 8/2=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 8/2=4 Current State: 48:[52, 4], Operations: ['13-11=2', '8/2=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[8, 52, 13, 11], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [8, 52, 2] Generated Node #0,0: 48:[8, 52, 2] Operation: 13-11=2 Exploring Operation: 52/13=4, Resulting Numbers: [8, 11, 4] Generated Node #0,1: 48:[8, 11, 4] Operation: 52/13=4 Exploring Operation: 13+11=24, Resulting Numbers: [8, 52, 24] Generated Node #0,2: 48:[8, 52, 24] Operation: 13+11=24 Exploring Operation: 52-8=44, Resulting Numbers: [13, 11, 44] Generated Node #0,3: 48:[13, 11, 44] Operation: 52-8=44 Exploring Operation: 11-8=3, Resulting Numbers: [52, 13, 3] Generated Node #0,4: 48:[52, 13, 3] Operation: 11-8=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[8, 11, 4], Operations: ['52/13=4'] Exploring Operation: 8+4=12, Resulting Numbers: [11, 12] Generated Node #0,1,0: 48:[11, 12] Operation: 8+4=12 Exploring Operation: 11-8=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 48:[4, 3] Operation: 11-8=3 Exploring Operation: 8/4=2, Resulting Numbers: [11, 2] Generated Node #0,1,2: 48:[11, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [11, 4] Generated Node #0,1,3: 48:[11, 4] Operation: 8-4=4 Exploring Operation: 11+4=15, Resulting Numbers: [8, 15] Generated Node #0,1,4: 48:[8, 15] Operation: 11+4=15 Moving to Node #0,1,1 Current State: 48:[4, 3], Operations: ['52/13=4', '11-8=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[11, 2], Operations: ['52/13=4', '8/4=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[8, 15], Operations: ['52/13=4', '11+4=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,48 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[11, 12], Operations: ['52/13=4', '8+4=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[11, 4], Operations: ['52/13=4', '8-4=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[8, 52, 2], Operations: ['13-11=2'] Exploring Operation: 52-8=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 48:[2, 44] Operation: 52-8=44 Exploring Operation: 52/2=26, Resulting Numbers: [8, 26] Generated Node #0,0,1: 48:[8, 26] Operation: 52/2=26 Exploring Operation: 8-2=6, Resulting Numbers: [52, 6] Generated Node #0,0,2: 48:[52, 6] Operation: 8-2=6 Exploring Operation: 8*2=16, Resulting Numbers: [52, 16] Generated Node #0,0,3: 48:[52, 16] Operation: 8*2=16 Exploring Operation: 52-2=50, Resulting Numbers: [8, 50] Generated Node #0,0,4: 48:[8, 50] Operation: 52-2=50 Moving to Node #0,0,1 Current State: 48:[8, 26], Operations: ['13-11=2', '52/2=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[8, 50], Operations: ['13-11=2', '52-2=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,48 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[2, 44], Operations: ['13-11=2', '52-8=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[52, 6], Operations: ['13-11=2', '8-2=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[52, 16], Operations: ['13-11=2', '8*2=16'] Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,48 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[8, 52, 24], Operations: ['13+11=24'] Exploring Operation: 52-8=44, Resulting Numbers: [24, 44] Generated Node #0,2,0: 48:[24, 44] Operation: 52-8=44 Exploring Operation: 24/8=3, Resulting Numbers: [52, 3] Generated Node #0,2,1: 48:[52, 3] Operation: 24/8=3 Exploring Operation: 8+52=60, Resulting Numbers: [24, 60] Generated Node #0,2,2: 48:[24, 60] Operation: 8+52=60 Exploring Operation: 52-24=28, Resulting Numbers: [8, 28] Generated Node #0,2,3: 48:[8, 28] Operation: 52-24=28 Exploring Operation: 24-8=16, Resulting Numbers: [52, 16] Generated Node #0,2,4: 48:[52, 16] Operation: 24-8=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[24, 44], Operations: ['13+11=24', '52-8=44'] Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[52, 3], Operations: ['13+11=24', '24/8=3'] Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,48 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[8, 28], Operations: ['13+11=24', '52-24=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,48 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 48:[52, 16], Operations: ['13+11=24', '24-8=16'] Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,48 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[24, 60], Operations: ['13+11=24', '8+52=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,48 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,48 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 48:[52, 13, 3], Operations: ['11-8=3'] Exploring Operation: 52+3=55, Resulting Numbers: [13, 55] Generated Node #0,4,0: 48:[13, 55] Operation: 52+3=55 Exploring Operation: 52/13=4, Resulting Numbers: [3, 4] Generated Node #0,4,1: 48:[3, 4] Operation: 52/13=4 Exploring Operation: 13+3=16, Resulting Numbers: [52, 16] Generated Node #0,4,2: 48:[52, 16] Operation: 13+3=16 Exploring Operation: 52-3=49, Resulting Numbers: [13, 49] Generated Node #0,4,3: 48:[13, 49] Operation: 52-3=49 Exploring Operation: 13-3=10, Resulting Numbers: [52, 10] Generated Node #0,4,4: 48:[52, 10] Operation: 13-3=10 Moving to Node #0,4,1 Current State: 48:[3, 4], Operations: ['11-8=3', '52/13=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[13, 49], Operations: ['11-8=3', '52-3=49'] Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,48 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[52, 16], Operations: ['11-8=3', '13+3=16'] Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,48 unequal: No Solution Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[52, 10], Operations: ['11-8=3', '13-3=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[13, 55], Operations: ['11-8=3', '52+3=55'] Exploring Operation: 13*55=715, Resulting Numbers: [715] 715,48 unequal: No Solution Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[13, 11, 44], Operations: ['52-8=44'] Exploring Operation: 44/11=4, Resulting Numbers: [13, 4] Generated Node #0,3,0: 48:[13, 4] Operation: 44/11=4 Exploring Operation: 44-13=31, Resulting Numbers: [11, 31] Generated Node #0,3,1: 48:[11, 31] Operation: 44-13=31 Exploring Operation: 13-11=2, Resulting Numbers: [44, 2] Generated Node #0,3,2: 48:[44, 2] Operation: 13-11=2 Exploring Operation: 11+44=55, Resulting Numbers: [13, 55] Generated Node #0,3,3: 48:[13, 55] Operation: 11+44=55 Exploring Operation: 13+11=24, Resulting Numbers: [44, 24] Generated Node #0,3,4: 48:[44, 24] Operation: 13+11=24 Moving to Node #0,3,0 Current State: 48:[13, 4], Operations: ['52-8=44', '44/11=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[44, 24], Operations: ['52-8=44', '13+11=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,48 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[44, 2], Operations: ['52-8=44', '13-11=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[11, 31], Operations: ['52-8=44', '44-13=31'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[13, 55], Operations: ['52-8=44', '11+44=55'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 13*55=715, Resulting Numbers: [715] 715,48 unequal: No Solution Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,48 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
[ 71, 72, 51, 5 ]
57
[ "72-71=1", "51+5=56", "1+56=57" ]
Current State: 57:[71, 72, 51, 5], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [51, 5, 1] Generated Node #2: [51, 5, 1] from Operation: 72-71=1 Current State: 57:[51, 5, 1], Operations: ['72-71=1'] Exploring Operation: 51+5=56, Resulting Numbers: [1, 56] Generated Node #3: [1, 56] from Operation: 51+5=56 Current State: 57:[1, 56], Operations: ['72-71=1', '51+5=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[71, 72, 51, 5], Operations: [] Exploring Operation: 71-51=20, Resulting Numbers: [72, 5, 20] Generated Node #0,0: 57:[72, 5, 20] Operation: 71-51=20 Exploring Operation: 72-71=1, Resulting Numbers: [51, 5, 1] Generated Node #0,1: 57:[51, 5, 1] Operation: 72-71=1 Moving to Node #0,1 Current State: 57:[51, 5, 1], Operations: ['72-71=1'] Exploring Operation: 51+5=56, Resulting Numbers: [1, 56] Generated Node #0,1,0: 57:[1, 56] Operation: 51+5=56 Exploring Operation: 51+1=52, Resulting Numbers: [5, 52] Generated Node #0,1,1: 57:[5, 52] Operation: 51+1=52 Moving to Node #0,0 Current State: 57:[72, 5, 20], Operations: ['71-51=20'] Exploring Operation: 72-5=67, Resulting Numbers: [20, 67] Generated Node #0,0,0: 57:[20, 67] Operation: 72-5=67 Exploring Operation: 72-20=52, Resulting Numbers: [5, 52] Generated Node #0,0,1: 57:[5, 52] Operation: 72-20=52 Moving to Node #0,1,0 Current State: 57:[1, 56], Operations: ['72-71=1', '51+5=56'] Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[71, 72, 51, 5], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [51, 5, 1] Generated Node #0,1: 57:[51, 5, 1] Operation: 72-71=1 Moving to Node #0,1 Current State: 57:[51, 5, 1], Operations: ['72-71=1'] Exploring Operation: 51+5=56, Resulting Numbers: [1, 56] Generated Node #0,1,0: 57:[1, 56] Operation: 51+5=56 Moving to Node #0,1,0 Current State: 57:[1, 56], Operations: ['72-71=1', '51+5=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 33, 13, 86, 64 ]
67
[ "13+86=99", "99/33=3", "64+3=67" ]
Current State: 67:[33, 13, 86, 64], Operations: [] Exploring Operation: 13+86=99, Resulting Numbers: [33, 64, 99] Generated Node #2: [33, 64, 99] from Operation: 13+86=99 Current State: 67:[33, 64, 99], Operations: ['13+86=99'] Exploring Operation: 99/33=3, Resulting Numbers: [64, 3] Generated Node #3: [64, 3] from Operation: 99/33=3 Current State: 67:[64, 3], Operations: ['13+86=99', '99/33=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[33, 13, 86, 64], Operations: [] Exploring Operation: 33+13=46, Resulting Numbers: [86, 64, 46] Generated Node #0,0: 67:[86, 64, 46] Operation: 33+13=46 Exploring Operation: 86-13=73, Resulting Numbers: [33, 64, 73] Generated Node #0,1: 67:[33, 64, 73] Operation: 86-13=73 Moving to Node #0,0 Current State: 67:[86, 64, 46], Operations: ['33+13=46'] Exploring Operation: 86-46=40, Resulting Numbers: [64, 40] Generated Node #0,0,0: 67:[64, 40] Operation: 86-46=40 Exploring Operation: 64+46=110, Resulting Numbers: [86, 110] Generated Node #0,0,1: 67:[86, 110] Operation: 64+46=110 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[64, 40], Operations: ['33+13=46', '86-46=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,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,0,1 Current State: 67:[86, 110], Operations: ['33+13=46', '64+46=110'] Exploring Operation: 86+110=196, Resulting Numbers: [196] 196,67 unequal: No Solution Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,67 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: 67:[33, 64, 73], Operations: ['86-13=73'] Exploring Operation: 33+64=97, Resulting Numbers: [73, 97] Generated Node #0,1,0: 67:[73, 97] Operation: 33+64=97 Exploring Operation: 73-33=40, Resulting Numbers: [64, 40] Generated Node #0,1,1: 67:[64, 40] Operation: 73-33=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[64, 40], Operations: ['86-13=73', '73-33=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,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:[73, 97], Operations: ['86-13=73', '33+64=97'] Exploring Operation: 73+97=170, Resulting Numbers: [170] 170,67 unequal: No Solution Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,67 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
[ 46, 85, 36, 23 ]
13
[ "46*36=1656", "1656/23=72", "85-72=13" ]
Current State: 13:[46, 85, 36, 23], Operations: [] Exploring Operation: 46*36=1656, Resulting Numbers: [85, 23, 1656] Generated Node #2: [85, 23, 1656] from Operation: 46*36=1656 Current State: 13:[85, 23, 1656], Operations: ['46*36=1656'] Exploring Operation: 1656/23=72, Resulting Numbers: [85, 72] Generated Node #3: [85, 72] from Operation: 1656/23=72 Current State: 13:[85, 72], Operations: ['46*36=1656', '1656/23=72'] Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[46, 85, 36, 23], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [36, 23, 39] Generated Node #0,0: 13:[36, 23, 39] Operation: 85-46=39 Moving to Node #0,0 Current State: 13:[36, 23, 39], Operations: ['85-46=39'] Exploring Operation: 39-36=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 13:[23, 3] Operation: 39-36=3 Moving to Node #0,0,0 Current State: 13:[23, 3], Operations: ['85-46=39', '39-36=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 52, 80, 98 ]
16
[ "52-18=34", "98-80=18", "34-18=16" ]
Current State: 16:[18, 52, 80, 98], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [80, 98, 34] Generated Node #2: [80, 98, 34] from Operation: 52-18=34 Current State: 16:[80, 98, 34], Operations: ['52-18=34'] Exploring Operation: 98-80=18, Resulting Numbers: [34, 18] Generated Node #3: [34, 18] from Operation: 98-80=18 Current State: 16:[34, 18], Operations: ['52-18=34', '98-80=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[18, 52, 80, 98], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [18, 52, 18] Generated Node #0,0: 16:[18, 52, 18] Operation: 98-80=18 Exploring Operation: 80-52=28, Resulting Numbers: [18, 98, 28] Generated Node #0,1: 16:[18, 98, 28] Operation: 80-52=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[18, 52, 18], Operations: ['98-80=18'] Exploring Operation: 52-18=34, Resulting Numbers: [18, 34] Generated Node #0,0,0: 16:[18, 34] Operation: 52-18=34 Exploring Operation: 52-18=34, Resulting Numbers: [18, 34] Generated Node #0,0,1: 16:[18, 34] Operation: 52-18=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[18, 34], Operations: ['98-80=18', '52-18=34'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[18, 52, 80, 98], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [18, 52, 18] Generated Node #0,0: 16:[18, 52, 18] Operation: 98-80=18 Moving to Node #0,0 Current State: 16:[18, 52, 18], Operations: ['98-80=18'] Exploring Operation: 52-18=34, Resulting Numbers: [18, 34] Generated Node #0,0,0: 16:[18, 34] Operation: 52-18=34 Moving to Node #0,0,0 Current State: 16:[18, 34], Operations: ['98-80=18', '52-18=34'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 56, 26, 74, 80 ]
16
[ "56+74=130", "26*80=2080", "2080/130=16" ]
Current State: 16:[56, 26, 74, 80], Operations: [] Exploring Operation: 56+74=130, Resulting Numbers: [26, 80, 130] Generated Node #2: [26, 80, 130] from Operation: 56+74=130 Current State: 16:[26, 80, 130], Operations: ['56+74=130'] Exploring Operation: 26*80=2080, Resulting Numbers: [130, 2080] Generated Node #3: [130, 2080] from Operation: 26*80=2080 Current State: 16:[130, 2080], Operations: ['56+74=130', '26*80=2080'] Exploring Operation: 2080/130=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[56, 26, 74, 80], Operations: [] Exploring Operation: 56-26=30, Resulting Numbers: [74, 80, 30] Generated Node #0,0: 16:[74, 80, 30] Operation: 56-26=30 Exploring Operation: 80-56=24, Resulting Numbers: [26, 74, 24] Generated Node #0,1: 16:[26, 74, 24] Operation: 80-56=24 Exploring Operation: 74-56=18, Resulting Numbers: [26, 80, 18] Generated Node #0,2: 16:[26, 80, 18] Operation: 74-56=18 Exploring Operation: 80-74=6, Resulting Numbers: [56, 26, 6] Generated Node #0,3: 16:[56, 26, 6] Operation: 80-74=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[56, 26, 6], Operations: ['80-74=6'] Exploring Operation: 56-26=30, Resulting Numbers: [6, 30] Generated Node #0,3,0: 16:[6, 30] Operation: 56-26=30 Exploring Operation: 56+6=62, Resulting Numbers: [26, 62] Generated Node #0,3,1: 16:[26, 62] Operation: 56+6=62 Exploring Operation: 56-6=50, Resulting Numbers: [26, 50] Generated Node #0,3,2: 16:[26, 50] Operation: 56-6=50 Exploring Operation: 26-6=20, Resulting Numbers: [56, 20] Generated Node #0,3,3: 16:[56, 20] Operation: 26-6=20 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 16:[6, 30], Operations: ['80-74=6', '56-26=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 16:[26, 50], Operations: ['80-74=6', '56-6=50'] Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,16 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[56, 20], Operations: ['80-74=6', '26-6=20'] Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[26, 62], Operations: ['80-74=6', '56+6=62'] Exploring Operation: 26+62=88, Resulting Numbers: [88] 88,16 unequal: No Solution Exploring Operation: 26*62=1612, Resulting Numbers: [1612] 1612,16 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[26, 74, 24], Operations: ['80-56=24'] Exploring Operation: 26-24=2, Resulting Numbers: [74, 2] Generated Node #0,1,0: 16:[74, 2] Operation: 26-24=2 Exploring Operation: 74-24=50, Resulting Numbers: [26, 50] Generated Node #0,1,1: 16:[26, 50] Operation: 74-24=50 Exploring Operation: 74-26=48, Resulting Numbers: [24, 48] Generated Node #0,1,2: 16:[24, 48] Operation: 74-26=48 Exploring Operation: 26+74=100, Resulting Numbers: [24, 100] Generated Node #0,1,3: 16:[24, 100] Operation: 26+74=100 Moving to Node #0,1,2 Current State: 16:[24, 48], Operations: ['80-56=24', '74-26=48'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,16 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[26, 50], Operations: ['80-56=24', '74-24=50'] Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,16 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[74, 2], Operations: ['80-56=24', '26-24=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,16 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[24, 100], Operations: ['80-56=24', '26+74=100'] Exploring Operation: 100-24=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 24+100=124, Resulting Numbers: [124] 124,16 unequal: No Solution Exploring Operation: 24*100=2400, Resulting Numbers: [2400] 2400,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:[26, 80, 18], Operations: ['74-56=18'] Exploring Operation: 80-18=62, Resulting Numbers: [26, 62] Generated Node #0,2,0: 16:[26, 62] Operation: 80-18=62 Exploring Operation: 26+80=106, Resulting Numbers: [18, 106] Generated Node #0,2,1: 16:[18, 106] Operation: 26+80=106 Exploring Operation: 80-26=54, Resulting Numbers: [18, 54] Generated Node #0,2,2: 16:[18, 54] Operation: 80-26=54 Exploring Operation: 26-18=8, Resulting Numbers: [80, 8] Generated Node #0,2,3: 16:[80, 8] Operation: 26-18=8 Moving to Node #0,2,2 Current State: 16:[18, 54], Operations: ['74-56=18', '80-26=54'] Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,16 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[26, 62], Operations: ['74-56=18', '80-18=62'] Exploring Operation: 26*62=1612, Resulting Numbers: [1612] 1612,16 unequal: No Solution Exploring Operation: 26+62=88, Resulting Numbers: [88] 88,16 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[80, 8], Operations: ['74-56=18', '26-18=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,16 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[18, 106], Operations: ['74-56=18', '26+80=106'] Exploring Operation: 18+106=124, Resulting Numbers: [124] 124,16 unequal: No Solution Exploring Operation: 18*106=1908, Resulting Numbers: [1908] 1908,16 unequal: No Solution Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,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,0 Current State: 16:[74, 80, 30], Operations: ['56-26=30'] Exploring Operation: 74+80=154, Resulting Numbers: [30, 154] Generated Node #0,0,0: 16:[30, 154] Operation: 74+80=154 Exploring Operation: 80-74=6, Resulting Numbers: [30, 6] Generated Node #0,0,1: 16:[30, 6] Operation: 80-74=6 Exploring Operation: 74-30=44, Resulting Numbers: [80, 44] Generated Node #0,0,2: 16:[80, 44] Operation: 74-30=44 Exploring Operation: 80-30=50, Resulting Numbers: [74, 50] Generated Node #0,0,3: 16:[74, 50] Operation: 80-30=50 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[30, 6], Operations: ['56-26=30', '80-74=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,16 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,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:[80, 44], Operations: ['56-26=30', '74-30=44'] Exploring Operation: 80+44=124, Resulting Numbers: [124] 124,16 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 80*44=3520, Resulting Numbers: [3520] 3520,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 16:[74, 50], Operations: ['56-26=30', '80-30=50'] Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,16 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,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:[30, 154], Operations: ['56-26=30', '74+80=154'] Exploring Operation: 154-30=124, Resulting Numbers: [124] 124,16 unequal: No Solution Exploring Operation: 30+154=184, Resulting Numbers: [184] 184,16 unequal: No Solution Exploring Operation: 30*154=4620, Resulting Numbers: [4620] 4620,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 58, 62, 62, 46 ]
11
[ "58-46=12", "62/62=1", "12-1=11" ]
Current State: 11:[58, 62, 62, 46], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [62, 62, 12] Generated Node #2: [62, 62, 12] from Operation: 58-46=12 Current State: 11:[62, 62, 12], Operations: ['58-46=12'] Exploring Operation: 62/62=1, Resulting Numbers: [12, 1] Generated Node #3: [12, 1] from Operation: 62/62=1 Current State: 11:[12, 1], Operations: ['58-46=12', '62/62=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[58, 62, 62, 46], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [58, 46, 1] Generated Node #0,0: 11:[58, 46, 1] Operation: 62/62=1 Moving to Node #0,0 Current State: 11:[58, 46, 1], Operations: ['62/62=1'] Exploring Operation: 58-46=12, Resulting Numbers: [1, 12] Generated Node #0,0,0: 11:[1, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[1, 12], Operations: ['62/62=1', '58-46=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[58, 62, 62, 46], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [58, 46, 1] Generated Node #0,0: 11:[58, 46, 1] Operation: 62/62=1 Moving to Node #0,0 Current State: 11:[58, 46, 1], Operations: ['62/62=1'] Exploring Operation: 58-46=12, Resulting Numbers: [1, 12] Generated Node #0,0,0: 11:[1, 12] Operation: 58-46=12 Moving to Node #0,0,0 Current State: 11:[1, 12], Operations: ['62/62=1', '58-46=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 26, 56, 8, 19 ]
41
[ "56-26=30", "19-8=11", "30+11=41" ]
Current State: 41:[26, 56, 8, 19], Operations: [] Exploring Operation: 56-26=30, Resulting Numbers: [8, 19, 30] Generated Node #2: [8, 19, 30] from Operation: 56-26=30 Current State: 41:[8, 19, 30], Operations: ['56-26=30'] Exploring Operation: 19-8=11, Resulting Numbers: [30, 11] Generated Node #3: [30, 11] from Operation: 19-8=11 Current State: 41:[30, 11], Operations: ['56-26=30', '19-8=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[26, 56, 8, 19], Operations: [] Exploring Operation: 56-8=48, Resulting Numbers: [26, 19, 48] Generated Node #0,0: 41:[26, 19, 48] Operation: 56-8=48 Exploring Operation: 26+8=34, Resulting Numbers: [56, 19, 34] Generated Node #0,1: 41:[56, 19, 34] Operation: 26+8=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[26, 19, 48], Operations: ['56-8=48'] Exploring Operation: 26+19=45, Resulting Numbers: [48, 45] Generated Node #0,0,0: 41:[48, 45] Operation: 26+19=45 Exploring Operation: 48-19=29, Resulting Numbers: [26, 29] Generated Node #0,0,1: 41:[26, 29] Operation: 48-19=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[48, 45], Operations: ['56-8=48', '26+19=45'] Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,41 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,41 unequal: No Solution No 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: 41:[26, 29], Operations: ['56-8=48', '48-19=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[56, 19, 34], Operations: ['26+8=34'] Exploring Operation: 19+34=53, Resulting Numbers: [56, 53] Generated Node #0,1,0: 41:[56, 53] Operation: 19+34=53 Exploring Operation: 56-19=37, Resulting Numbers: [34, 37] Generated Node #0,1,1: 41:[34, 37] Operation: 56-19=37 Moving to Node #0,1,1 Current State: 41:[34, 37], Operations: ['26+8=34', '56-19=37'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[56, 53], Operations: ['26+8=34', '19+34=53'] Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,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
[ 89, 69, 39, 8 ]
51
[ "89-69=20", "39-8=31", "20+31=51" ]
Current State: 51:[89, 69, 39, 8], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [39, 8, 20] Generated Node #2: [39, 8, 20] from Operation: 89-69=20 Current State: 51:[39, 8, 20], Operations: ['89-69=20'] Exploring Operation: 39-8=31, Resulting Numbers: [20, 31] Generated Node #3: [20, 31] from Operation: 39-8=31 Current State: 51:[20, 31], Operations: ['89-69=20', '39-8=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[89, 69, 39, 8], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [69, 8, 50] Generated Node #0,0: 51:[69, 8, 50] Operation: 89-39=50 Exploring Operation: 69-39=30, Resulting Numbers: [89, 8, 30] Generated Node #0,1: 51:[89, 8, 30] Operation: 69-39=30 Exploring Operation: 89-69=20, Resulting Numbers: [39, 8, 20] Generated Node #0,2: 51:[39, 8, 20] Operation: 89-69=20 Moving to Node #0,2 Current State: 51:[39, 8, 20], Operations: ['89-69=20'] Exploring Operation: 39-20=19, Resulting Numbers: [8, 19] Generated Node #0,2,0: 51:[8, 19] Operation: 39-20=19 Exploring Operation: 39+8=47, Resulting Numbers: [20, 47] Generated Node #0,2,1: 51:[20, 47] Operation: 39+8=47 Exploring Operation: 39+20=59, Resulting Numbers: [8, 59] Generated Node #0,2,2: 51:[8, 59] Operation: 39+20=59 Moving to Node #0,0 Current State: 51:[69, 8, 50], Operations: ['89-39=50'] Exploring Operation: 69-8=61, Resulting Numbers: [50, 61] Generated Node #0,0,0: 51:[50, 61] Operation: 69-8=61 Exploring Operation: 69-50=19, Resulting Numbers: [8, 19] Generated Node #0,0,1: 51:[8, 19] Operation: 69-50=19 Exploring Operation: 8+50=58, Resulting Numbers: [69, 58] Generated Node #0,0,2: 51:[69, 58] Operation: 8+50=58 Moving to Node #0,1 Current State: 51:[89, 8, 30], Operations: ['69-39=30'] Exploring Operation: 89-8=81, Resulting Numbers: [30, 81] Generated Node #0,1,0: 51:[30, 81] Operation: 89-8=81 Exploring Operation: 89-30=59, Resulting Numbers: [8, 59] Generated Node #0,1,1: 51:[8, 59] Operation: 89-30=59 Exploring Operation: 30-8=22, Resulting Numbers: [89, 22] Generated Node #0,1,2: 51:[89, 22] Operation: 30-8=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[8, 59], Operations: ['69-39=30', '89-30=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[89, 69, 39, 8], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [89, 8, 30] Generated Node #0,1: 51:[89, 8, 30] Operation: 69-39=30 Moving to Node #0,1 Current State: 51:[89, 8, 30], Operations: ['69-39=30'] Exploring Operation: 89-30=59, Resulting Numbers: [8, 59] Generated Node #0,1,1: 51:[8, 59] Operation: 89-30=59 Moving to Node #0,1,1 Current State: 51:[8, 59], Operations: ['69-39=30', '89-30=59'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 55, 17, 76, 70 ]
32
[ "55-17=38", "76-70=6", "38-6=32" ]
Current State: 32:[55, 17, 76, 70], Operations: [] Exploring Operation: 55-17=38, Resulting Numbers: [76, 70, 38] Generated Node #2: [76, 70, 38] from Operation: 55-17=38 Current State: 32:[76, 70, 38], Operations: ['55-17=38'] Exploring Operation: 76-70=6, Resulting Numbers: [38, 6] Generated Node #3: [38, 6] from Operation: 76-70=6 Current State: 32:[38, 6], Operations: ['55-17=38', '76-70=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[55, 17, 76, 70], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [17, 76, 15] Generated Node #0,0: 32:[17, 76, 15] Operation: 70-55=15 Exploring Operation: 76-70=6, Resulting Numbers: [55, 17, 6] Generated Node #0,1: 32:[55, 17, 6] Operation: 76-70=6 Exploring Operation: 55-17=38, Resulting Numbers: [76, 70, 38] Generated Node #0,2: 32:[76, 70, 38] Operation: 55-17=38 Exploring Operation: 76-55=21, Resulting Numbers: [17, 70, 21] Generated Node #0,3: 32:[17, 70, 21] Operation: 76-55=21 Exploring Operation: 76-17=59, Resulting Numbers: [55, 70, 59] Generated Node #0,4: 32:[55, 70, 59] Operation: 76-17=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[55, 17, 6], Operations: ['76-70=6'] Exploring Operation: 17+6=23, Resulting Numbers: [55, 23] Generated Node #0,1,0: 32:[55, 23] Operation: 17+6=23 Exploring Operation: 55-6=49, Resulting Numbers: [17, 49] Generated Node #0,1,1: 32:[17, 49] Operation: 55-6=49 Exploring Operation: 55+6=61, Resulting Numbers: [17, 61] Generated Node #0,1,2: 32:[17, 61] Operation: 55+6=61 Exploring Operation: 17-6=11, Resulting Numbers: [55, 11] Generated Node #0,1,3: 32:[55, 11] Operation: 17-6=11 Exploring Operation: 55-17=38, Resulting Numbers: [6, 38] Generated Node #0,1,4: 32:[6, 38] Operation: 55-17=38 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[6, 38], Operations: ['76-70=6', '55-17=38'] Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,32 unequal: No Solution Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[55, 17, 76, 70], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [55, 17, 6] Generated Node #0,1: 32:[55, 17, 6] Operation: 76-70=6 Moving to Node #0,1 Current State: 32:[55, 17, 6], Operations: ['76-70=6'] Exploring Operation: 55-17=38, Resulting Numbers: [6, 38] Generated Node #0,1,4: 32:[6, 38] Operation: 55-17=38 Moving to Node #0,1,4 Current State: 32:[6, 38], Operations: ['76-70=6', '55-17=38'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 45, 87, 2, 15 ]
51
[ "45+87=132", "132/2=66", "66-15=51" ]
Current State: 51:[45, 87, 2, 15], Operations: [] Exploring Operation: 45+87=132, Resulting Numbers: [2, 15, 132] Generated Node #2: [2, 15, 132] from Operation: 45+87=132 Current State: 51:[2, 15, 132], Operations: ['45+87=132'] Exploring Operation: 132/2=66, Resulting Numbers: [15, 66] Generated Node #3: [15, 66] from Operation: 132/2=66 Current State: 51:[15, 66], Operations: ['45+87=132', '132/2=66'] Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[45, 87, 2, 15], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [2, 15, 42] Generated Node #0,0: 51:[2, 15, 42] Operation: 87-45=42 Moving to Node #0,0 Current State: 51:[2, 15, 42], Operations: ['87-45=42'] Exploring Operation: 42/2=21, Resulting Numbers: [15, 21] Generated Node #0,0,0: 51:[15, 21] Operation: 42/2=21 Moving to Node #0,0,0 Current State: 51:[15, 21], Operations: ['87-45=42', '42/2=21'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 86, 26, 55 ]
25
[ "86-26=60", "60/2=30", "55-30=25" ]
Current State: 25:[2, 86, 26, 55], Operations: [] Exploring Operation: 86-26=60, Resulting Numbers: [2, 55, 60] Generated Node #2: [2, 55, 60] from Operation: 86-26=60 Current State: 25:[2, 55, 60], Operations: ['86-26=60'] Exploring Operation: 60/2=30, Resulting Numbers: [55, 30] Generated Node #3: [55, 30] from Operation: 60/2=30 Current State: 25:[55, 30], Operations: ['86-26=60', '60/2=30'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[2, 86, 26, 55], Operations: [] Exploring Operation: 86-26=60, Resulting Numbers: [2, 55, 60] Generated Node #0,0: 25:[2, 55, 60] Operation: 86-26=60 Exploring Operation: 86-2=84, Resulting Numbers: [26, 55, 84] Generated Node #0,1: 25:[26, 55, 84] Operation: 86-2=84 Exploring Operation: 86-55=31, Resulting Numbers: [2, 26, 31] Generated Node #0,2: 25:[2, 26, 31] Operation: 86-55=31 Exploring Operation: 86/2=43, Resulting Numbers: [26, 55, 43] Generated Node #0,3: 25:[26, 55, 43] Operation: 86/2=43 Exploring Operation: 55-26=29, Resulting Numbers: [2, 86, 29] Generated Node #0,4: 25:[2, 86, 29] Operation: 55-26=29 Moving to Node #0,2 Current State: 25:[2, 26, 31], Operations: ['86-55=31'] Exploring Operation: 31-2=29, Resulting Numbers: [26, 29] Generated Node #0,2,0: 25:[26, 29] Operation: 31-2=29 Exploring Operation: 26-2=24, Resulting Numbers: [31, 24] Generated Node #0,2,1: 25:[31, 24] Operation: 26-2=24 Exploring Operation: 2+26=28, Resulting Numbers: [31, 28] Generated Node #0,2,2: 25:[31, 28] Operation: 2+26=28 Exploring Operation: 2+31=33, Resulting Numbers: [26, 33] Generated Node #0,2,3: 25:[26, 33] Operation: 2+31=33 Exploring Operation: 31-26=5, Resulting Numbers: [2, 5] Generated Node #0,2,4: 25:[2, 5] Operation: 31-26=5 Moving to Node #0,3 Current State: 25:[26, 55, 43], Operations: ['86/2=43'] Exploring Operation: 26+55=81, Resulting Numbers: [43, 81] Generated Node #0,3,0: 25:[43, 81] Operation: 26+55=81 Exploring Operation: 43-26=17, Resulting Numbers: [55, 17] Generated Node #0,3,1: 25:[55, 17] Operation: 43-26=17 Exploring Operation: 26+43=69, Resulting Numbers: [55, 69] Generated Node #0,3,2: 25:[55, 69] Operation: 26+43=69 Exploring Operation: 55-43=12, Resulting Numbers: [26, 12] Generated Node #0,3,3: 25:[26, 12] Operation: 55-43=12 Exploring Operation: 55-26=29, Resulting Numbers: [43, 29] Generated Node #0,3,4: 25:[43, 29] Operation: 55-26=29 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[26, 12], Operations: ['86/2=43', '55-43=12'] Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,25 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[43, 29], Operations: ['86/2=43', '55-26=29'] Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 43*29=1247, Resulting Numbers: [1247] 1247,25 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[55, 17], Operations: ['86/2=43', '43-26=17'] Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[43, 81], Operations: ['86/2=43', '26+55=81'] Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,25 unequal: No Solution Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,25 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[55, 69], Operations: ['86/2=43', '26+43=69'] Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,25 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 25:[2, 55, 60], Operations: ['86-26=60'] Exploring Operation: 2+55=57, Resulting Numbers: [60, 57] Generated Node #0,0,0: 25:[60, 57] Operation: 2+55=57 Exploring Operation: 60-2=58, Resulting Numbers: [55, 58] Generated Node #0,0,1: 25:[55, 58] Operation: 60-2=58 Exploring Operation: 60-55=5, Resulting Numbers: [2, 5] Generated Node #0,0,2: 25:[2, 5] Operation: 60-55=5 Exploring Operation: 60/2=30, Resulting Numbers: [55, 30] Generated Node #0,0,3: 25:[55, 30] Operation: 60/2=30 Exploring Operation: 55-2=53, Resulting Numbers: [60, 53] Generated Node #0,0,4: 25:[60, 53] Operation: 55-2=53 Moving to Node #0,4 Current State: 25:[2, 86, 29], Operations: ['55-26=29'] Exploring Operation: 86/2=43, Resulting Numbers: [29, 43] Generated Node #0,4,0: 25:[29, 43] Operation: 86/2=43 Exploring Operation: 29-2=27, Resulting Numbers: [86, 27] Generated Node #0,4,1: 25:[86, 27] Operation: 29-2=27 Exploring Operation: 86-2=84, Resulting Numbers: [29, 84] Generated Node #0,4,2: 25:[29, 84] Operation: 86-2=84 Exploring Operation: 86-29=57, Resulting Numbers: [2, 57] Generated Node #0,4,3: 25:[2, 57] Operation: 86-29=57 Exploring Operation: 2+86=88, Resulting Numbers: [29, 88] Generated Node #0,4,4: 25:[29, 88] Operation: 2+86=88 Moving to Node #0,1 Current State: 25:[26, 55, 84], Operations: ['86-2=84'] Exploring Operation: 84-26=58, Resulting Numbers: [55, 58] Generated Node #0,1,0: 25:[55, 58] Operation: 84-26=58 Exploring Operation: 55-26=29, Resulting Numbers: [84, 29] Generated Node #0,1,1: 25:[84, 29] Operation: 55-26=29 Exploring Operation: 26+84=110, Resulting Numbers: [55, 110] Generated Node #0,1,2: 25:[55, 110] Operation: 26+84=110 Exploring Operation: 26+55=81, Resulting Numbers: [84, 81] Generated Node #0,1,3: 25:[84, 81] Operation: 26+55=81 Exploring Operation: 84-55=29, Resulting Numbers: [26, 29] Generated Node #0,1,4: 25:[26, 29] Operation: 84-55=29 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 25:[26, 29], Operations: ['86-2=84', '84-55=29'] Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,25 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[55, 58], Operations: ['86-2=84', '84-26=58'] Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 55+58=113, Resulting Numbers: [113] 113,25 unequal: No Solution Exploring Operation: 55*58=3190, Resulting Numbers: [3190] 3190,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[84, 29], Operations: ['86-2=84', '55-26=29'] Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,25 unequal: No Solution Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[55, 110], Operations: ['86-2=84', '26+84=110'] Exploring Operation: 55*110=6050, Resulting Numbers: [6050] 6050,25 unequal: No Solution Exploring Operation: 55+110=165, Resulting Numbers: [165] 165,25 unequal: No Solution Exploring Operation: 110/55=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 110-55=55, Resulting Numbers: [55] 55,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[84, 81], Operations: ['86-2=84', '26+55=81'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 84*81=6804, Resulting Numbers: [6804] 6804,25 unequal: No Solution Exploring Operation: 84+81=165, Resulting Numbers: [165] 165,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 25:[2, 5], Operations: ['86-55=31', '31-26=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[2, 5], Operations: ['86-26=60', '60-55=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[26, 29], Operations: ['86-55=31', '31-2=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,25 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[31, 24], Operations: ['86-55=31', '26-2=24'] Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,25 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[26, 33], Operations: ['86-55=31', '2+31=33'] Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,25 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[31, 28], Operations: ['86-55=31', '2+26=28'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,25 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[29, 43], Operations: ['55-26=29', '86/2=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[55, 30], Operations: ['86-26=60', '60/2=30'] Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[2, 86, 26, 55], Operations: [] Exploring Operation: 86-26=60, Resulting Numbers: [2, 55, 60] Generated Node #0,0: 25:[2, 55, 60] Operation: 86-26=60 Moving to Node #0,0 Current State: 25:[2, 55, 60], Operations: ['86-26=60'] Exploring Operation: 60/2=30, Resulting Numbers: [55, 30] Generated Node #0,0,3: 25:[55, 30] Operation: 60/2=30 Moving to Node #0,0,3 Current State: 25:[55, 30], Operations: ['86-26=60', '60/2=30'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.923611
hs_5
mult_heuristic
[ 4, 97, 3, 1 ]
91
[ "97-4=93", "3-1=2", "93-2=91" ]
Current State: 91:[4, 97, 3, 1], Operations: [] Exploring Operation: 97-4=93, Resulting Numbers: [3, 1, 93] Generated Node #2: [3, 1, 93] from Operation: 97-4=93 Current State: 91:[3, 1, 93], Operations: ['97-4=93'] Exploring Operation: 3-1=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 3-1=2 Current State: 91:[93, 2], Operations: ['97-4=93', '3-1=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[4, 97, 3, 1], Operations: [] Exploring Operation: 97-3=94, Resulting Numbers: [4, 1, 94] Generated Node #0,0: 91:[4, 1, 94] Operation: 97-3=94 Exploring Operation: 4+1=5, Resulting Numbers: [97, 3, 5] Generated Node #0,1: 91:[97, 3, 5] Operation: 4+1=5 Exploring Operation: 4+3=7, Resulting Numbers: [97, 1, 7] Generated Node #0,2: 91:[97, 1, 7] Operation: 4+3=7 Exploring Operation: 97-4=93, Resulting Numbers: [3, 1, 93] Generated Node #0,3: 91:[3, 1, 93] Operation: 97-4=93 Exploring Operation: 97-1=96, Resulting Numbers: [4, 3, 96] Generated Node #0,4: 91:[4, 3, 96] Operation: 97-1=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[4, 1, 94], Operations: ['97-3=94'] Exploring Operation: 1*94=94, Resulting Numbers: [4, 94] Generated Node #0,0,0: 91:[4, 94] Operation: 1*94=94 Exploring Operation: 4*1=4, Resulting Numbers: [94, 4] Generated Node #0,0,1: 91:[94, 4] Operation: 4*1=4 Exploring Operation: 94-1=93, Resulting Numbers: [4, 93] Generated Node #0,0,2: 91:[4, 93] Operation: 94-1=93 Exploring Operation: 4+1=5, Resulting Numbers: [94, 5] Generated Node #0,0,3: 91:[94, 5] Operation: 4+1=5 Exploring Operation: 4/1=4, Resulting Numbers: [94, 4] Generated Node #0,0,4: 91:[94, 4] Operation: 4/1=4 Moving to Node #0,0,2 Current State: 91:[4, 93], Operations: ['97-3=94', '94-1=93'] Exploring Operation: 4*93=372, Resulting Numbers: [372] 372,91 unequal: No Solution Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[94, 5], Operations: ['97-3=94', '4+1=5'] Exploring Operation: 94*5=470, Resulting Numbers: [470] 470,91 unequal: No Solution Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[4, 94], Operations: ['97-3=94', '1*94=94'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,91 unequal: No Solution Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[94, 4], Operations: ['97-3=94', '4*1=4'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,91 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,91 unequal: No Solution Moving to Node #0,0,4 Current State: 91:[94, 4], Operations: ['97-3=94', '4/1=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,91 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[97, 3, 5], Operations: ['4+1=5'] Exploring Operation: 3*5=15, Resulting Numbers: [97, 15] Generated Node #0,1,0: 91:[97, 15] Operation: 3*5=15 Exploring Operation: 97+3=100, Resulting Numbers: [5, 100] Generated Node #0,1,1: 91:[5, 100] Operation: 97+3=100 Exploring Operation: 97-3=94, Resulting Numbers: [5, 94] Generated Node #0,1,2: 91:[5, 94] Operation: 97-3=94 Exploring Operation: 3+5=8, Resulting Numbers: [97, 8] Generated Node #0,1,3: 91:[97, 8] Operation: 3+5=8 Exploring Operation: 97-5=92, Resulting Numbers: [3, 92] Generated Node #0,1,4: 91:[3, 92] Operation: 97-5=92 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[5, 94], Operations: ['4+1=5', '97-3=94'] Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,91 unequal: No Solution Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 5*94=470, Resulting Numbers: [470] 470,91 unequal: No Solution No 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: 91:[3, 92], Operations: ['4+1=5', '97-5=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,91 unequal: No Solution No 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: 91:[97, 8], Operations: ['4+1=5', '3+5=8'] Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,91 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,91 unequal: No Solution No 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: 91:[97, 15], Operations: ['4+1=5', '3*5=15'] Exploring Operation: 97+15=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,91 unequal: No Solution Exploring Operation: 97*15=1455, Resulting Numbers: [1455] 1455,91 unequal: No Solution No 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: 91:[5, 100], Operations: ['4+1=5', '97+3=100'] Exploring Operation: 5*100=500, Resulting Numbers: [500] 500,91 unequal: No Solution Exploring Operation: 5+100=105, Resulting Numbers: [105] 105,91 unequal: No Solution Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,91 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: 91:[97, 1, 7], Operations: ['4+3=7'] Exploring Operation: 97/1=97, Resulting Numbers: [7, 97] Generated Node #0,2,0: 91:[7, 97] Operation: 97/1=97 Exploring Operation: 97-1=96, Resulting Numbers: [7, 96] Generated Node #0,2,1: 91:[7, 96] Operation: 97-1=96 Exploring Operation: 7/1=7, Resulting Numbers: [97, 7] Generated Node #0,2,2: 91:[97, 7] Operation: 7/1=7 Exploring Operation: 97*1=97, Resulting Numbers: [7, 97] Generated Node #0,2,3: 91:[7, 97] Operation: 97*1=97 Exploring Operation: 1*7=7, Resulting Numbers: [97, 7] Generated Node #0,2,4: 91:[97, 7] Operation: 1*7=7 Moving to Node #0,2,1 Current State: 91:[7, 96], Operations: ['4+3=7', '97-1=96'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 7*96=672, Resulting Numbers: [672] 672,91 unequal: No Solution Exploring Operation: 7+96=103, Resulting Numbers: [103] 103,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[97, 7], Operations: ['4+3=7', '7/1=7'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 97*7=679, Resulting Numbers: [679] 679,91 unequal: No Solution Exploring Operation: 97+7=104, Resulting Numbers: [104] 104,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[97, 7], Operations: ['4+3=7', '1*7=7'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 97*7=679, Resulting Numbers: [679] 679,91 unequal: No Solution Exploring Operation: 97+7=104, Resulting Numbers: [104] 104,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[7, 97], Operations: ['4+3=7', '97/1=97'] Exploring Operation: 7*97=679, Resulting Numbers: [679] 679,91 unequal: No Solution Exploring Operation: 7+97=104, Resulting Numbers: [104] 104,91 unequal: No Solution Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[7, 97], Operations: ['4+3=7', '97*1=97'] Exploring Operation: 7*97=679, Resulting Numbers: [679] 679,91 unequal: No Solution Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 7+97=104, Resulting Numbers: [104] 104,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[3, 1, 93], Operations: ['97-4=93'] Exploring Operation: 1*93=93, Resulting Numbers: [3, 93] Generated Node #0,3,0: 91:[3, 93] Operation: 1*93=93 Exploring Operation: 3/1=3, Resulting Numbers: [93, 3] Generated Node #0,3,1: 91:[93, 3] Operation: 3/1=3 Exploring Operation: 3*1=3, Resulting Numbers: [93, 3] Generated Node #0,3,2: 91:[93, 3] Operation: 3*1=3 Exploring Operation: 3+1=4, Resulting Numbers: [93, 4] Generated Node #0,3,3: 91:[93, 4] Operation: 3+1=4 Exploring Operation: 93-1=92, Resulting Numbers: [3, 92] Generated Node #0,3,4: 91:[3, 92] Operation: 93-1=92 Moving to Node #0,3,3 Current State: 91:[93, 4], Operations: ['97-4=93', '3+1=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,91 unequal: No Solution Moving to Node #0,3,4 Current State: 91:[3, 92], Operations: ['97-4=93', '93-1=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,91 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[3, 93], Operations: ['97-4=93', '1*93=93'] Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 3*93=279, Resulting Numbers: [279] 279,91 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[93, 3], Operations: ['97-4=93', '3/1=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,91 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[93, 3], Operations: ['97-4=93', '3*1=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[4, 3, 96], Operations: ['97-1=96'] Exploring Operation: 4*3=12, Resulting Numbers: [96, 12] Generated Node #0,4,0: 91:[96, 12] Operation: 4*3=12 Exploring Operation: 96-3=93, Resulting Numbers: [4, 93] Generated Node #0,4,1: 91:[4, 93] Operation: 96-3=93 Exploring Operation: 4-3=1, Resulting Numbers: [96, 1] Generated Node #0,4,2: 91:[96, 1] Operation: 4-3=1 Exploring Operation: 4+3=7, Resulting Numbers: [96, 7] Generated Node #0,4,3: 91:[96, 7] Operation: 4+3=7 Exploring Operation: 96-4=92, Resulting Numbers: [3, 92] Generated Node #0,4,4: 91:[3, 92] Operation: 96-4=92 Moving to Node #0,4,1 Current State: 91:[4, 93], Operations: ['97-1=96', '96-3=93'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 4*93=372, Resulting Numbers: [372] 372,91 unequal: No Solution Moving to Node #0,4,4 Current State: 91:[3, 92], Operations: ['97-1=96', '96-4=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,91 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[96, 7], Operations: ['97-1=96', '4+3=7'] Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,91 unequal: No Solution Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[96, 12], Operations: ['97-1=96', '4*3=12'] Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[96, 1], Operations: ['97-1=96', '4-3=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,91 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
[ 65, 5, 4, 3 ]
80
[ "65-5=60", "4*60=240", "240/3=80" ]
Current State: 80:[65, 5, 4, 3], Operations: [] Exploring Operation: 65-5=60, Resulting Numbers: [4, 3, 60] Generated Node #2: [4, 3, 60] from Operation: 65-5=60 Current State: 80:[4, 3, 60], Operations: ['65-5=60'] Exploring Operation: 4*60=240, Resulting Numbers: [3, 240] Generated Node #3: [3, 240] from Operation: 4*60=240 Current State: 80:[3, 240], Operations: ['65-5=60', '4*60=240'] Exploring Operation: 240/3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[65, 5, 4, 3], Operations: [] Exploring Operation: 65+4=69, Resulting Numbers: [5, 3, 69] Generated Node #0,0: 80:[5, 3, 69] Operation: 65+4=69 Exploring Operation: 65+3=68, Resulting Numbers: [5, 4, 68] Generated Node #0,1: 80:[5, 4, 68] Operation: 65+3=68 Exploring Operation: 65/5=13, Resulting Numbers: [4, 3, 13] Generated Node #0,2: 80:[4, 3, 13] Operation: 65/5=13 Exploring Operation: 65+5=70, Resulting Numbers: [4, 3, 70] Generated Node #0,3: 80:[4, 3, 70] Operation: 65+5=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[4, 3, 13], Operations: ['65/5=13'] Exploring Operation: 4+13=17, Resulting Numbers: [3, 17] Generated Node #0,2,0: 80:[3, 17] Operation: 4+13=17 Exploring Operation: 3*13=39, Resulting Numbers: [4, 39] Generated Node #0,2,1: 80:[4, 39] Operation: 3*13=39 Exploring Operation: 3+13=16, Resulting Numbers: [4, 16] Generated Node #0,2,2: 80:[4, 16] Operation: 3+13=16 Exploring Operation: 13-3=10, Resulting Numbers: [4, 10] Generated Node #0,2,3: 80:[4, 10] Operation: 13-3=10 Moving to Node #0,2,2 Current State: 80:[4, 16], Operations: ['65/5=13', '3+13=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[4, 10], Operations: ['65/5=13', '13-3=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[4, 39], Operations: ['65/5=13', '3*13=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,80 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[3, 17], Operations: ['65/5=13', '4+13=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[4, 3, 70], Operations: ['65+5=70'] Exploring Operation: 4-3=1, Resulting Numbers: [70, 1] Generated Node #0,3,0: 80:[70, 1] Operation: 4-3=1 Exploring Operation: 4+70=74, Resulting Numbers: [3, 74] Generated Node #0,3,1: 80:[3, 74] Operation: 4+70=74 Exploring Operation: 3+70=73, Resulting Numbers: [4, 73] Generated Node #0,3,2: 80:[4, 73] Operation: 3+70=73 Exploring Operation: 4+3=7, Resulting Numbers: [70, 7] Generated Node #0,3,3: 80:[70, 7] Operation: 4+3=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 80:[3, 74], Operations: ['65+5=70', '4+70=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,80 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 80:[4, 73], Operations: ['65+5=70', '3+70=73'] Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,80 unequal: No Solution Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 80:[70, 1], Operations: ['65+5=70', '4-3=1'] Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 80:[70, 7], Operations: ['65+5=70', '4+3=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,80 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[5, 3, 69], Operations: ['65+4=69'] Exploring Operation: 3+69=72, Resulting Numbers: [5, 72] Generated Node #0,0,0: 80:[5, 72] Operation: 3+69=72 Exploring Operation: 69/3=23, Resulting Numbers: [5, 23] Generated Node #0,0,1: 80:[5, 23] Operation: 69/3=23 Exploring Operation: 5+69=74, Resulting Numbers: [3, 74] Generated Node #0,0,2: 80:[3, 74] Operation: 5+69=74 Exploring Operation: 5+3=8, Resulting Numbers: [69, 8] Generated Node #0,0,3: 80:[69, 8] Operation: 5+3=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[5, 23], Operations: ['65+4=69', '69/3=23'] Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,80 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[3, 74], Operations: ['65+4=69', '5+69=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,80 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,80 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[5, 72], Operations: ['65+4=69', '3+69=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,80 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[69, 8], Operations: ['65+4=69', '5+3=8'] Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,80 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,80 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[5, 4, 68], Operations: ['65+3=68'] Exploring Operation: 5+68=73, Resulting Numbers: [4, 73] Generated Node #0,1,0: 80:[4, 73] Operation: 5+68=73 Exploring Operation: 4+68=72, Resulting Numbers: [5, 72] Generated Node #0,1,1: 80:[5, 72] Operation: 4+68=72 Exploring Operation: 68/4=17, Resulting Numbers: [5, 17] Generated Node #0,1,2: 80:[5, 17] Operation: 68/4=17 Exploring Operation: 5*4=20, Resulting Numbers: [68, 20] Generated Node #0,1,3: 80:[68, 20] Operation: 5*4=20 Moving to Node #0,1,2 Current State: 80:[5, 17], Operations: ['65+3=68', '68/4=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[4, 73], Operations: ['65+3=68', '5+68=73'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,80 unequal: No Solution Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[5, 72], Operations: ['65+3=68', '4+68=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,80 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[68, 20], Operations: ['65+3=68', '5*4=20'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,80 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,80 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
[ 45, 91, 32, 3 ]
42
[ "91-45=46", "46-32=14", "3*14=42" ]
Current State: 42:[45, 91, 32, 3], Operations: [] Exploring Operation: 91-45=46, Resulting Numbers: [32, 3, 46] Generated Node #2: [32, 3, 46] from Operation: 91-45=46 Current State: 42:[32, 3, 46], Operations: ['91-45=46'] Exploring Operation: 46-32=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 46-32=14 Current State: 42:[3, 14], Operations: ['91-45=46', '46-32=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[45, 91, 32, 3], Operations: [] Exploring Operation: 45-3=42, Resulting Numbers: [91, 32, 42] Generated Node #0,0: 42:[91, 32, 42] Operation: 45-3=42 Exploring Operation: 45-32=13, Resulting Numbers: [91, 3, 13] Generated Node #0,1: 42:[91, 3, 13] Operation: 45-32=13 Exploring Operation: 91-32=59, Resulting Numbers: [45, 3, 59] Generated Node #0,2: 42:[45, 3, 59] Operation: 91-32=59 Exploring Operation: 91-45=46, Resulting Numbers: [32, 3, 46] Generated Node #0,3: 42:[32, 3, 46] Operation: 91-45=46 Exploring Operation: 91-3=88, Resulting Numbers: [45, 32, 88] Generated Node #0,4: 42:[45, 32, 88] Operation: 91-3=88 Moving to Node #0,3 Current State: 42:[32, 3, 46], Operations: ['91-45=46'] Exploring Operation: 32+3=35, Resulting Numbers: [46, 35] Generated Node #0,3,0: 42:[46, 35] Operation: 32+3=35 Exploring Operation: 32-3=29, Resulting Numbers: [46, 29] Generated Node #0,3,1: 42:[46, 29] Operation: 32-3=29 Exploring Operation: 3+46=49, Resulting Numbers: [32, 49] Generated Node #0,3,2: 42:[32, 49] Operation: 3+46=49 Exploring Operation: 46-3=43, Resulting Numbers: [32, 43] Generated Node #0,3,3: 42:[32, 43] Operation: 46-3=43 Exploring Operation: 46-32=14, Resulting Numbers: [3, 14] Generated Node #0,3,4: 42:[3, 14] Operation: 46-32=14 Moving to Node #0,2 Current State: 42:[45, 3, 59], Operations: ['91-32=59'] Exploring Operation: 59-3=56, Resulting Numbers: [45, 56] Generated Node #0,2,0: 42:[45, 56] Operation: 59-3=56 Exploring Operation: 45+3=48, Resulting Numbers: [59, 48] Generated Node #0,2,1: 42:[59, 48] Operation: 45+3=48 Exploring Operation: 45/3=15, Resulting Numbers: [59, 15] Generated Node #0,2,2: 42:[59, 15] Operation: 45/3=15 Exploring Operation: 45-3=42, Resulting Numbers: [59, 42] Generated Node #0,2,3: 42:[59, 42] Operation: 45-3=42 Exploring Operation: 59-45=14, Resulting Numbers: [3, 14] Generated Node #0,2,4: 42:[3, 14] Operation: 59-45=14 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 42:[3, 14], Operations: ['91-32=59', '59-45=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[45, 91, 32, 3], Operations: [] Exploring Operation: 91-32=59, Resulting Numbers: [45, 3, 59] Generated Node #0,2: 42:[45, 3, 59] Operation: 91-32=59 Moving to Node #0,2 Current State: 42:[45, 3, 59], Operations: ['91-32=59'] Exploring Operation: 59-45=14, Resulting Numbers: [3, 14] Generated Node #0,2,4: 42:[3, 14] Operation: 59-45=14 Moving to Node #0,2,4 Current State: 42:[3, 14], Operations: ['91-32=59', '59-45=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 3, 27, 84, 71 ]
34
[ "27+84=111", "111/3=37", "71-37=34" ]
Current State: 34:[3, 27, 84, 71], Operations: [] Exploring Operation: 27+84=111, Resulting Numbers: [3, 71, 111] Generated Node #2: [3, 71, 111] from Operation: 27+84=111 Current State: 34:[3, 71, 111], Operations: ['27+84=111'] Exploring Operation: 111/3=37, Resulting Numbers: [71, 37] Generated Node #3: [71, 37] from Operation: 111/3=37 Current State: 34:[71, 37], Operations: ['27+84=111', '111/3=37'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[3, 27, 84, 71], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [3, 71, 57] Generated Node #0,0: 34:[3, 71, 57] Operation: 84-27=57 Exploring Operation: 84-71=13, Resulting Numbers: [3, 27, 13] Generated Node #0,1: 34:[3, 27, 13] Operation: 84-71=13 Exploring Operation: 71-27=44, Resulting Numbers: [3, 84, 44] Generated Node #0,2: 34:[3, 84, 44] Operation: 71-27=44 Exploring Operation: 84/3=28, Resulting Numbers: [27, 71, 28] Generated Node #0,3: 34:[27, 71, 28] Operation: 84/3=28 Moving to Node #0,1 Current State: 34:[3, 27, 13], Operations: ['84-71=13'] Exploring Operation: 27+13=40, Resulting Numbers: [3, 40] Generated Node #0,1,0: 34:[3, 40] Operation: 27+13=40 Exploring Operation: 3+13=16, Resulting Numbers: [27, 16] Generated Node #0,1,1: 34:[27, 16] Operation: 3+13=16 Exploring Operation: 27-13=14, Resulting Numbers: [3, 14] Generated Node #0,1,2: 34:[3, 14] Operation: 27-13=14 Exploring Operation: 3+27=30, Resulting Numbers: [13, 30] Generated Node #0,1,3: 34:[13, 30] Operation: 3+27=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[3, 14], Operations: ['84-71=13', '27-13=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[3, 40], Operations: ['84-71=13', '27+13=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[27, 16], Operations: ['84-71=13', '3+13=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,34 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[13, 30], Operations: ['84-71=13', '3+27=30'] Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,34 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,34 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: 34:[27, 71, 28], Operations: ['84/3=28'] Exploring Operation: 71-27=44, Resulting Numbers: [28, 44] Generated Node #0,3,0: 34:[28, 44] Operation: 71-27=44 Exploring Operation: 27+28=55, Resulting Numbers: [71, 55] Generated Node #0,3,1: 34:[71, 55] Operation: 27+28=55 Exploring Operation: 71-28=43, Resulting Numbers: [27, 43] Generated Node #0,3,2: 34:[27, 43] Operation: 71-28=43 Exploring Operation: 28-27=1, Resulting Numbers: [71, 1] Generated Node #0,3,3: 34:[71, 1] Operation: 28-27=1 Moving to Node #0,2 Current State: 34:[3, 84, 44], Operations: ['71-27=44'] Exploring Operation: 84-44=40, Resulting Numbers: [3, 40] Generated Node #0,2,0: 34:[3, 40] Operation: 84-44=40 Exploring Operation: 84/3=28, Resulting Numbers: [44, 28] Generated Node #0,2,1: 34:[44, 28] Operation: 84/3=28 Exploring Operation: 84-3=81, Resulting Numbers: [44, 81] Generated Node #0,2,2: 34:[44, 81] Operation: 84-3=81 Exploring Operation: 44-3=41, Resulting Numbers: [84, 41] Generated Node #0,2,3: 34:[84, 41] Operation: 44-3=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[3, 40], Operations: ['71-27=44', '84-44=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,34 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[44, 28], Operations: ['71-27=44', '84/3=28'] Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,34 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[44, 81], Operations: ['71-27=44', '84-3=81'] Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,34 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,34 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 34:[84, 41], Operations: ['71-27=44', '44-3=41'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,34 unequal: No Solution Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,34 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: 34:[3, 71, 57], Operations: ['84-27=57'] Exploring Operation: 71-3=68, Resulting Numbers: [57, 68] Generated Node #0,0,0: 34:[57, 68] Operation: 71-3=68 Exploring Operation: 71-57=14, Resulting Numbers: [3, 14] Generated Node #0,0,1: 34:[3, 14] Operation: 71-57=14 Exploring Operation: 57-3=54, Resulting Numbers: [71, 54] Generated Node #0,0,2: 34:[71, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [71, 19] Generated Node #0,0,3: 34:[71, 19] Operation: 57/3=19 Moving to Node #0,0,1 Current State: 34:[3, 14], Operations: ['84-27=57', '71-57=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[28, 44], Operations: ['84/3=28', '71-27=44'] Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 28*44=1232, Resulting Numbers: [1232] 1232,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[27, 43], Operations: ['84/3=28', '71-28=43'] Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 27+43=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 27*43=1161, Resulting Numbers: [1161] 1161,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[71, 1], Operations: ['84/3=28', '28-27=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,34 unequal: No Solution Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[71, 19], Operations: ['84-27=57', '57/3=19'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,34 unequal: No Solution Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[71, 54], Operations: ['84-27=57', '57-3=54'] Exploring Operation: 71+54=125, Resulting Numbers: [125] 125,34 unequal: No Solution Exploring Operation: 71*54=3834, Resulting Numbers: [3834] 3834,34 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[57, 68], Operations: ['84-27=57', '71-3=68'] Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,34 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[71, 55], Operations: ['84/3=28', '27+28=55'] Exploring Operation: 71+55=126, Resulting Numbers: [126] 126,34 unequal: No Solution Exploring Operation: 71-55=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 71*55=3905, Resulting Numbers: [3905] 3905,34 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 16, 62, 84, 4 ]
34
[ "62-16=46", "84-4=80", "80-46=34" ]
Current State: 34:[16, 62, 84, 4], Operations: [] Exploring Operation: 62-16=46, Resulting Numbers: [84, 4, 46] Generated Node #2: [84, 4, 46] from Operation: 62-16=46 Current State: 34:[84, 4, 46], Operations: ['62-16=46'] Exploring Operation: 84-4=80, Resulting Numbers: [46, 80] Generated Node #3: [46, 80] from Operation: 84-4=80 Current State: 34:[46, 80], Operations: ['62-16=46', '84-4=80'] Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[16, 62, 84, 4], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [16, 4, 22] Generated Node #0,0: 34:[16, 4, 22] Operation: 84-62=22 Moving to Node #0,0 Current State: 34:[16, 4, 22], Operations: ['84-62=22'] Exploring Operation: 22-4=18, Resulting Numbers: [16, 18] Generated Node #0,0,0: 34:[16, 18] Operation: 22-4=18 Moving to Node #0,0,0 Current State: 34:[16, 18], Operations: ['84-62=22', '22-4=18'] Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[16, 62, 84, 4], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [16, 4, 22] Generated Node #0,0: 34:[16, 4, 22] Operation: 84-62=22 Moving to Node #0,0 Current State: 34:[16, 4, 22], Operations: ['84-62=22'] Exploring Operation: 22-4=18, Resulting Numbers: [16, 18] Generated Node #0,0,0: 34:[16, 18] Operation: 22-4=18 Moving to Node #0,0,0 Current State: 34:[16, 18], Operations: ['84-62=22', '22-4=18'] Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 35, 39, 16, 1 ]
68
[ "39-35=4", "16+1=17", "4*17=68" ]
Current State: 68:[35, 39, 16, 1], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [16, 1, 4] Generated Node #2: [16, 1, 4] from Operation: 39-35=4 Current State: 68:[16, 1, 4], Operations: ['39-35=4'] Exploring Operation: 16+1=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 16+1=17 Current State: 68:[4, 17], Operations: ['39-35=4', '16+1=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[35, 39, 16, 1], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [16, 1, 4] Generated Node #0,0: 68:[16, 1, 4] Operation: 39-35=4 Exploring Operation: 39-1=38, Resulting Numbers: [35, 16, 38] Generated Node #0,1: 68:[35, 16, 38] Operation: 39-1=38 Exploring Operation: 35-1=34, Resulting Numbers: [39, 16, 34] Generated Node #0,2: 68:[39, 16, 34] Operation: 35-1=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[16, 1, 4], Operations: ['39-35=4'] Exploring Operation: 16*1=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 68:[4, 16] Operation: 16*1=16 Exploring Operation: 16+1=17, Resulting Numbers: [4, 17] Generated Node #0,0,1: 68:[4, 17] Operation: 16+1=17 Exploring Operation: 16/1=16, Resulting Numbers: [4, 16] Generated Node #0,0,2: 68:[4, 16] Operation: 16/1=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[4, 17], Operations: ['39-35=4', '16+1=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[35, 39, 16, 1], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [16, 1, 4] Generated Node #0,0: 68:[16, 1, 4] Operation: 39-35=4 Moving to Node #0,0 Current State: 68:[16, 1, 4], Operations: ['39-35=4'] Exploring Operation: 16+1=17, Resulting Numbers: [4, 17] Generated Node #0,0,1: 68:[4, 17] Operation: 16+1=17 Moving to Node #0,0,1 Current State: 68:[4, 17], Operations: ['39-35=4', '16+1=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 2, 76, 71, 28 ]
30
[ "76*28=2128", "2+2128=2130", "2130/71=30" ]
Current State: 30:[2, 76, 71, 28], Operations: [] Exploring Operation: 76*28=2128, Resulting Numbers: [2, 71, 2128] Generated Node #2: [2, 71, 2128] from Operation: 76*28=2128 Current State: 30:[2, 71, 2128], Operations: ['76*28=2128'] Exploring Operation: 2+2128=2130, Resulting Numbers: [71, 2130] Generated Node #3: [71, 2130] from Operation: 2+2128=2130 Current State: 30:[71, 2130], Operations: ['76*28=2128', '2+2128=2130'] Exploring Operation: 2130/71=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[2, 76, 71, 28], Operations: [] Exploring Operation: 76-28=48, Resulting Numbers: [2, 71, 48] Generated Node #0,0: 30:[2, 71, 48] Operation: 76-28=48 Exploring Operation: 76-71=5, Resulting Numbers: [2, 28, 5] Generated Node #0,1: 30:[2, 28, 5] Operation: 76-71=5 Exploring Operation: 76-2=74, Resulting Numbers: [71, 28, 74] Generated Node #0,2: 30:[71, 28, 74] Operation: 76-2=74 Exploring Operation: 76/2=38, Resulting Numbers: [71, 28, 38] Generated Node #0,3: 30:[71, 28, 38] Operation: 76/2=38 Exploring Operation: 71-28=43, Resulting Numbers: [2, 76, 43] Generated Node #0,4: 30:[2, 76, 43] Operation: 71-28=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[2, 28, 5], Operations: ['76-71=5'] Exploring Operation: 5-2=3, Resulting Numbers: [28, 3] Generated Node #0,1,0: 30:[28, 3] Operation: 5-2=3 Exploring Operation: 28/2=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 30:[5, 14] Operation: 28/2=14 Exploring Operation: 2+5=7, Resulting Numbers: [28, 7] Generated Node #0,1,2: 30:[28, 7] Operation: 2+5=7 Exploring Operation: 2+28=30, Resulting Numbers: [5, 30] Generated Node #0,1,3: 30:[5, 30] Operation: 2+28=30 Exploring Operation: 2*5=10, Resulting Numbers: [28, 10] Generated Node #0,1,4: 30:[28, 10] Operation: 2*5=10 Moving to Node #0,1,3 Current State: 30:[5, 30], Operations: ['76-71=5', '2+28=30'] Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,30 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[5, 14], Operations: ['76-71=5', '28/2=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[28, 3], Operations: ['76-71=5', '5-2=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,1,4 Current State: 30:[28, 10], Operations: ['76-71=5', '2*5=10'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[28, 7], Operations: ['76-71=5', '2+5=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,30 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,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,3 Current State: 30:[71, 28, 38], Operations: ['76/2=38'] Exploring Operation: 71-38=33, Resulting Numbers: [28, 33] Generated Node #0,3,0: 30:[28, 33] Operation: 71-38=33 Exploring Operation: 28+38=66, Resulting Numbers: [71, 66] Generated Node #0,3,1: 30:[71, 66] Operation: 28+38=66 Exploring Operation: 71-28=43, Resulting Numbers: [38, 43] Generated Node #0,3,2: 30:[38, 43] Operation: 71-28=43 Exploring Operation: 71+28=99, Resulting Numbers: [38, 99] Generated Node #0,3,3: 30:[38, 99] Operation: 71+28=99 Exploring Operation: 38-28=10, Resulting Numbers: [71, 10] Generated Node #0,3,4: 30:[71, 10] Operation: 38-28=10 Moving to Node #0,3,0 Current State: 30:[28, 33], Operations: ['76/2=38', '71-38=33'] Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,30 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[38, 43], Operations: ['76/2=38', '71-28=43'] Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,30 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[71, 10], Operations: ['76/2=38', '38-28=10'] Exploring Operation: 71*10=710, Resulting Numbers: [710] 710,30 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,30 unequal: No Solution Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[71, 66], Operations: ['76/2=38', '28+38=66'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 71+66=137, Resulting Numbers: [137] 137,30 unequal: No Solution Exploring Operation: 71*66=4686, Resulting Numbers: [4686] 4686,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[38, 99], Operations: ['76/2=38', '71+28=99'] Exploring Operation: 38*99=3762, Resulting Numbers: [3762] 3762,30 unequal: No Solution Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,30 unequal: No Solution Exploring Operation: 38+99=137, Resulting Numbers: [137] 137,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 Current State: 30:[2, 71, 48], Operations: ['76-28=48'] Exploring Operation: 71-48=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 30:[2, 23] Operation: 71-48=23 Exploring Operation: 48-2=46, Resulting Numbers: [71, 46] Generated Node #0,0,1: 30:[71, 46] Operation: 48-2=46 Exploring Operation: 2+71=73, Resulting Numbers: [48, 73] Generated Node #0,0,2: 30:[48, 73] Operation: 2+71=73 Exploring Operation: 48/2=24, Resulting Numbers: [71, 24] Generated Node #0,0,3: 30:[71, 24] Operation: 48/2=24 Exploring Operation: 71-2=69, Resulting Numbers: [48, 69] Generated Node #0,0,4: 30:[48, 69] Operation: 71-2=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[2, 23], Operations: ['76-28=48', '71-48=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 30:[71, 24], Operations: ['76-28=48', '48/2=24'] Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,30 unequal: No Solution Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,30 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[71, 46], Operations: ['76-28=48', '48-2=46'] Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,30 unequal: No Solution Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,30 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 30:[48, 69], Operations: ['76-28=48', '71-2=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,30 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,30 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 30:[48, 73], Operations: ['76-28=48', '2+71=73'] Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,30 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[2, 76, 43], Operations: ['71-28=43'] Exploring Operation: 76/2=38, Resulting Numbers: [43, 38] Generated Node #0,4,0: 30:[43, 38] Operation: 76/2=38 Exploring Operation: 43-2=41, Resulting Numbers: [76, 41] Generated Node #0,4,1: 30:[76, 41] Operation: 43-2=41 Exploring Operation: 2+76=78, Resulting Numbers: [43, 78] Generated Node #0,4,2: 30:[43, 78] Operation: 2+76=78 Exploring Operation: 76-43=33, Resulting Numbers: [2, 33] Generated Node #0,4,3: 30:[2, 33] Operation: 76-43=33 Exploring Operation: 76-2=74, Resulting Numbers: [43, 74] Generated Node #0,4,4: 30:[43, 74] Operation: 76-2=74 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 30:[2, 33], Operations: ['71-28=43', '76-43=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,30 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 30:[43, 38], Operations: ['71-28=43', '76/2=38'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 30:[76, 41], Operations: ['71-28=43', '43-2=41'] Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,30 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 30:[43, 74], Operations: ['71-28=43', '76-2=74'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 43+74=117, Resulting Numbers: [117] 117,30 unequal: No Solution Exploring Operation: 43*74=3182, Resulting Numbers: [3182] 3182,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 30:[43, 78], Operations: ['71-28=43', '2+76=78'] Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,30 unequal: No Solution Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[71, 28, 74], Operations: ['76-2=74'] Exploring Operation: 74-71=3, Resulting Numbers: [28, 3] Generated Node #0,2,0: 30:[28, 3] Operation: 74-71=3 Exploring Operation: 74-28=46, Resulting Numbers: [71, 46] Generated Node #0,2,1: 30:[71, 46] Operation: 74-28=46 Exploring Operation: 71+28=99, Resulting Numbers: [74, 99] Generated Node #0,2,2: 30:[74, 99] Operation: 71+28=99 Exploring Operation: 28+74=102, Resulting Numbers: [71, 102] Generated Node #0,2,3: 30:[71, 102] Operation: 28+74=102 Exploring Operation: 71-28=43, Resulting Numbers: [74, 43] Generated Node #0,2,4: 30:[74, 43] Operation: 71-28=43 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[28, 3], Operations: ['76-2=74', '74-71=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 30:[71, 46], Operations: ['76-2=74', '74-28=46'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,30 unequal: No Solution Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 30:[74, 43], Operations: ['76-2=74', '71-28=43'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,30 unequal: No Solution Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 30:[74, 99], Operations: ['76-2=74', '71+28=99'] Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 74+99=173, Resulting Numbers: [173] 173,30 unequal: No Solution Exploring Operation: 74*99=7326, Resulting Numbers: [7326] 7326,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 30:[71, 102], Operations: ['76-2=74', '28+74=102'] Exploring Operation: 71*102=7242, Resulting Numbers: [7242] 7242,30 unequal: No Solution Exploring Operation: 102-71=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 71+102=173, Resulting Numbers: [173] 173,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 55, 66, 2, 76 ]
60
[ "76-66=10", "10/2=5", "55+5=60" ]
Current State: 60:[55, 66, 2, 76], Operations: [] Exploring Operation: 76-66=10, Resulting Numbers: [55, 2, 10] Generated Node #2: [55, 2, 10] from Operation: 76-66=10 Current State: 60:[55, 2, 10], Operations: ['76-66=10'] Exploring Operation: 10/2=5, Resulting Numbers: [55, 5] Generated Node #3: [55, 5] from Operation: 10/2=5 Current State: 60:[55, 5], Operations: ['76-66=10', '10/2=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[55, 66, 2, 76], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [55, 66, 38] Generated Node #0,0: 60:[55, 66, 38] Operation: 76/2=38 Exploring Operation: 76-55=21, Resulting Numbers: [66, 2, 21] Generated Node #0,1: 60:[66, 2, 21] Operation: 76-55=21 Exploring Operation: 66-55=11, Resulting Numbers: [2, 76, 11] Generated Node #0,2: 60:[2, 76, 11] Operation: 66-55=11 Exploring Operation: 66/2=33, Resulting Numbers: [55, 76, 33] Generated Node #0,3: 60:[55, 76, 33] Operation: 66/2=33 Exploring Operation: 76-66=10, Resulting Numbers: [55, 2, 10] Generated Node #0,4: 60:[55, 2, 10] Operation: 76-66=10 Moving to Node #0,4 Current State: 60:[55, 2, 10], Operations: ['76-66=10'] Exploring Operation: 2+10=12, Resulting Numbers: [55, 12] Generated Node #0,4,0: 60:[55, 12] Operation: 2+10=12 Exploring Operation: 55+10=65, Resulting Numbers: [2, 65] Generated Node #0,4,1: 60:[2, 65] Operation: 55+10=65 Exploring Operation: 10/2=5, Resulting Numbers: [55, 5] Generated Node #0,4,2: 60:[55, 5] Operation: 10/2=5 Exploring Operation: 2*10=20, Resulting Numbers: [55, 20] Generated Node #0,4,3: 60:[55, 20] Operation: 2*10=20 Exploring Operation: 55+2=57, Resulting Numbers: [10, 57] Generated Node #0,4,4: 60:[10, 57] Operation: 55+2=57 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 60:[10, 57], Operations: ['76-66=10', '55+2=57'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,60 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 60:[55, 12], Operations: ['76-66=10', '2+10=12'] Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,60 unequal: No Solution Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 60:[2, 65], Operations: ['76-66=10', '55+10=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 60:[55, 5], Operations: ['76-66=10', '10/2=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,60 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[55, 66, 2, 76], Operations: [] Exploring Operation: 76-66=10, Resulting Numbers: [55, 2, 10] Generated Node #0,4: 60:[55, 2, 10] Operation: 76-66=10 Moving to Node #0,4 Current State: 60:[55, 2, 10], Operations: ['76-66=10'] Exploring Operation: 10/2=5, Resulting Numbers: [55, 5] Generated Node #0,4,2: 60:[55, 5] Operation: 10/2=5 Moving to Node #0,4,2 Current State: 60:[55, 5], Operations: ['76-66=10', '10/2=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 93, 87, 84, 29 ]
53
[ "93*29=2697", "2697/87=31", "84-31=53" ]
Current State: 53:[93, 87, 84, 29], Operations: [] Exploring Operation: 93*29=2697, Resulting Numbers: [87, 84, 2697] Generated Node #2: [87, 84, 2697] from Operation: 93*29=2697 Current State: 53:[87, 84, 2697], Operations: ['93*29=2697'] Exploring Operation: 2697/87=31, Resulting Numbers: [84, 31] Generated Node #3: [84, 31] from Operation: 2697/87=31 Current State: 53:[84, 31], Operations: ['93*29=2697', '2697/87=31'] Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[93, 87, 84, 29], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [87, 84, 64] Generated Node #0,0: 53:[87, 84, 64] Operation: 93-29=64 Exploring Operation: 84-29=55, Resulting Numbers: [93, 87, 55] Generated Node #0,1: 53:[93, 87, 55] Operation: 84-29=55 Exploring Operation: 87-29=58, Resulting Numbers: [93, 84, 58] Generated Node #0,2: 53:[93, 84, 58] Operation: 87-29=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[87, 84, 64], Operations: ['93-29=64'] Exploring Operation: 84-64=20, Resulting Numbers: [87, 20] Generated Node #0,0,0: 53:[87, 20] Operation: 84-64=20 Exploring Operation: 87-64=23, Resulting Numbers: [84, 23] Generated Node #0,0,1: 53:[84, 23] Operation: 87-64=23 Exploring Operation: 87-84=3, Resulting Numbers: [64, 3] Generated Node #0,0,2: 53:[64, 3] Operation: 87-84=3 Moving to Node #0,0,1 Current State: 53:[84, 23], Operations: ['93-29=64', '87-64=23'] Exploring Operation: 84+23=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 84*23=1932, Resulting Numbers: [1932] 1932,53 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[64, 3], Operations: ['93-29=64', '87-84=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,53 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[87, 20], Operations: ['93-29=64', '84-64=20'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[93, 87, 55], Operations: ['84-29=55'] Exploring Operation: 87-55=32, Resulting Numbers: [93, 32] Generated Node #0,1,0: 53:[93, 32] Operation: 87-55=32 Exploring Operation: 93-55=38, Resulting Numbers: [87, 38] Generated Node #0,1,1: 53:[87, 38] Operation: 93-55=38 Exploring Operation: 93-87=6, Resulting Numbers: [55, 6] Generated Node #0,1,2: 53:[55, 6] Operation: 93-87=6 Moving to Node #0,1,1 Current State: 53:[87, 38], Operations: ['84-29=55', '93-55=38'] Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,53 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[55, 6], Operations: ['84-29=55', '93-87=6'] Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,53 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[93, 32], Operations: ['84-29=55', '87-55=32'] Exploring Operation: 93+32=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,53 unequal: No Solution Exploring Operation: 93*32=2976, Resulting Numbers: [2976] 2976,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[93, 84, 58], Operations: ['87-29=58'] Exploring Operation: 93-58=35, Resulting Numbers: [84, 35] Generated Node #0,2,0: 53:[84, 35] Operation: 93-58=35 Exploring Operation: 93-84=9, Resulting Numbers: [58, 9] Generated Node #0,2,1: 53:[58, 9] Operation: 93-84=9 Exploring Operation: 84-58=26, Resulting Numbers: [93, 26] Generated Node #0,2,2: 53:[93, 26] Operation: 84-58=26 Moving to Node #0,2,0 Current State: 53:[84, 35], Operations: ['87-29=58', '93-58=35'] Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,53 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[58, 9], Operations: ['87-29=58', '93-84=9'] Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 58*9=522, Resulting Numbers: [522] 522,53 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[93, 26], Operations: ['87-29=58', '84-58=26'] Exploring Operation: 93+26=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 93*26=2418, Resulting Numbers: [2418] 2418,53 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
[ 32, 38, 16, 36 ]
40
[ "32*38=1216", "1216/16=76", "76-36=40" ]
Current State: 40:[32, 38, 16, 36], Operations: [] Exploring Operation: 32*38=1216, Resulting Numbers: [16, 36, 1216] Generated Node #2: [16, 36, 1216] from Operation: 32*38=1216 Current State: 40:[16, 36, 1216], Operations: ['32*38=1216'] Exploring Operation: 1216/16=76, Resulting Numbers: [36, 76] Generated Node #3: [36, 76] from Operation: 1216/16=76 Current State: 40:[36, 76], Operations: ['32*38=1216', '1216/16=76'] Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[32, 38, 16, 36], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [16, 36, 6] Generated Node #0,0: 40:[16, 36, 6] Operation: 38-32=6 Exploring Operation: 32-16=16, Resulting Numbers: [38, 36, 16] Generated Node #0,1: 40:[38, 36, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [38, 36, 2] Generated Node #0,2: 40:[38, 36, 2] Operation: 32/16=2 Exploring Operation: 36-32=4, Resulting Numbers: [38, 16, 4] Generated Node #0,3: 40:[38, 16, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[38, 36, 2], Operations: ['32/16=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38, 38] Generated Node #0,2,0: 40:[38, 38] Operation: 36+2=38 Exploring Operation: 38+2=40, Resulting Numbers: [36, 40] Generated Node #0,2,1: 40:[36, 40] Operation: 38+2=40 Exploring Operation: 38-36=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 40:[2, 2] Operation: 38-36=2 Exploring Operation: 36/2=18, Resulting Numbers: [38, 18] Generated Node #0,2,3: 40:[38, 18] Operation: 36/2=18 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[2, 2], Operations: ['32/16=2', '38-36=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,40 unequal: No Solution No 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: 40:[38, 38], Operations: ['32/16=2', '36+2=38'] Exploring Operation: 38*38=1444, Resulting Numbers: [1444] 1444,40 unequal: No Solution Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,40 unequal: No Solution No 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: 40:[36, 40], Operations: ['32/16=2', '38+2=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,40 unequal: No Solution Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,40 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,40 unequal: No Solution No 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: 40:[38, 18], Operations: ['32/16=2', '36/2=18'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,40 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: 40:[38, 16, 4], Operations: ['36-32=4'] Exploring Operation: 38-16=22, Resulting Numbers: [4, 22] Generated Node #0,3,0: 40:[4, 22] Operation: 38-16=22 Exploring Operation: 16/4=4, Resulting Numbers: [38, 4] Generated Node #0,3,1: 40:[38, 4] Operation: 16/4=4 Exploring Operation: 16+4=20, Resulting Numbers: [38, 20] Generated Node #0,3,2: 40:[38, 20] Operation: 16+4=20 Exploring Operation: 16-4=12, Resulting Numbers: [38, 12] Generated Node #0,3,3: 40:[38, 12] Operation: 16-4=12 Moving to Node #0,3,0 Current State: 40:[4, 22], Operations: ['36-32=4', '38-16=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,40 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[38, 20], Operations: ['36-32=4', '16+4=20'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,40 unequal: No Solution Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[38, 4], Operations: ['36-32=4', '16/4=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[38, 12], Operations: ['36-32=4', '16-4=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,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:[16, 36, 6], Operations: ['38-32=6'] Exploring Operation: 36/6=6, Resulting Numbers: [16, 6] Generated Node #0,0,0: 40:[16, 6] Operation: 36/6=6 Exploring Operation: 16-6=10, Resulting Numbers: [36, 10] Generated Node #0,0,1: 40:[36, 10] Operation: 16-6=10 Exploring Operation: 16+6=22, Resulting Numbers: [36, 22] Generated Node #0,0,2: 40:[36, 22] Operation: 16+6=22 Exploring Operation: 36-16=20, Resulting Numbers: [6, 20] Generated Node #0,0,3: 40:[6, 20] Operation: 36-16=20 Moving to Node #0,0,3 Current State: 40:[6, 20], Operations: ['38-32=6', '36-16=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,40 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[36, 10], Operations: ['38-32=6', '16-6=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,40 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[16, 6], Operations: ['38-32=6', '36/6=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,40 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[36, 22], Operations: ['38-32=6', '16+6=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,40 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[38, 36, 16], Operations: ['32-16=16'] Exploring Operation: 38-36=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 40:[16, 2] Operation: 38-36=2 Exploring Operation: 38-16=22, Resulting Numbers: [36, 22] Generated Node #0,1,1: 40:[36, 22] Operation: 38-16=22 Exploring Operation: 36-16=20, Resulting Numbers: [38, 20] Generated Node #0,1,2: 40:[38, 20] Operation: 36-16=20 Exploring Operation: 36+16=52, Resulting Numbers: [38, 52] Generated Node #0,1,3: 40:[38, 52] Operation: 36+16=52 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[38, 20], Operations: ['32-16=16', '36-16=20'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,40 unequal: No Solution Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,40 unequal: No Solution No 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: 40:[16, 2], Operations: ['32-16=16', '38-36=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,40 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,40 unequal: No Solution No 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: 40:[36, 22], Operations: ['32-16=16', '38-16=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,40 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,40 unequal: No Solution No 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: 40:[38, 52], Operations: ['32-16=16', '36+16=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,40 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,40 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
[ 60, 41, 31, 10 ]
80
[ "60+41=101", "31-10=21", "101-21=80" ]
Current State: 80:[60, 41, 31, 10], Operations: [] Exploring Operation: 60+41=101, Resulting Numbers: [31, 10, 101] Generated Node #2: [31, 10, 101] from Operation: 60+41=101 Current State: 80:[31, 10, 101], Operations: ['60+41=101'] Exploring Operation: 31-10=21, Resulting Numbers: [101, 21] Generated Node #3: [101, 21] from Operation: 31-10=21 Current State: 80:[101, 21], Operations: ['60+41=101', '31-10=21'] Exploring Operation: 101-21=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[60, 41, 31, 10], Operations: [] Exploring Operation: 60-41=19, Resulting Numbers: [31, 10, 19] Generated Node #0,0: 80:[31, 10, 19] Operation: 60-41=19 Moving to Node #0,0 Current State: 80:[31, 10, 19], Operations: ['60-41=19'] Exploring Operation: 31+10=41, Resulting Numbers: [19, 41] Generated Node #0,0,0: 80:[19, 41] Operation: 31+10=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[19, 41], Operations: ['60-41=19', '31+10=41'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic