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
[ 50, 88, 81, 4 ]
36
[ "81-50=31", "4*31=124", "124-88=36" ]
Current State: 36:[50, 88, 81, 4], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [88, 4, 31] Generated Node #2: [88, 4, 31] from Operation: 81-50=31 Current State: 36:[88, 4, 31], Operations: ['81-50=31'] Exploring Operation: 4*31=124, Resulting Numbers: [88, 124] Generated Node #3: [88, 124] from Operation: 4*31=124 Current State: 36:[88, 124], Operations: ['81-50=31', '4*31=124'] Exploring Operation: 124-88=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[50, 88, 81, 4], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [88, 4, 31] Generated Node #0,0: 36:[88, 4, 31] Operation: 81-50=31 Exploring Operation: 88-81=7, Resulting Numbers: [50, 4, 7] Generated Node #0,1: 36:[50, 4, 7] Operation: 88-81=7 Exploring Operation: 50-4=46, Resulting Numbers: [88, 81, 46] Generated Node #0,2: 36:[88, 81, 46] Operation: 50-4=46 Exploring Operation: 88-50=38, Resulting Numbers: [81, 4, 38] Generated Node #0,3: 36:[81, 4, 38] Operation: 88-50=38 Exploring Operation: 88/4=22, Resulting Numbers: [50, 81, 22] Generated Node #0,4: 36:[50, 81, 22] Operation: 88/4=22 Moving to Node #0,1 Current State: 36:[50, 4, 7], Operations: ['88-81=7'] Exploring Operation: 4+7=11, Resulting Numbers: [50, 11] Generated Node #0,1,0: 36:[50, 11] Operation: 4+7=11 Exploring Operation: 50-7=43, Resulting Numbers: [4, 43] Generated Node #0,1,1: 36:[4, 43] Operation: 50-7=43 Exploring Operation: 7-4=3, Resulting Numbers: [50, 3] Generated Node #0,1,2: 36:[50, 3] Operation: 7-4=3 Exploring Operation: 50+4=54, Resulting Numbers: [7, 54] Generated Node #0,1,3: 36:[7, 54] Operation: 50+4=54 Exploring Operation: 50-4=46, Resulting Numbers: [7, 46] Generated Node #0,1,4: 36:[7, 46] Operation: 50-4=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[4, 43], Operations: ['88-81=7', '50-7=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,36 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 36:[7, 46], Operations: ['88-81=7', '50-4=46'] Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,36 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[50, 3], Operations: ['88-81=7', '7-4=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[50, 11], Operations: ['88-81=7', '4+7=11'] Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[7, 54], Operations: ['88-81=7', '50+4=54'] Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,36 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,36 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: 36:[81, 4, 38], Operations: ['88-50=38'] Exploring Operation: 81-38=43, Resulting Numbers: [4, 43] Generated Node #0,3,0: 36:[4, 43] Operation: 81-38=43 Exploring Operation: 81-4=77, Resulting Numbers: [38, 77] Generated Node #0,3,1: 36:[38, 77] Operation: 81-4=77 Exploring Operation: 81+4=85, Resulting Numbers: [38, 85] Generated Node #0,3,2: 36:[38, 85] Operation: 81+4=85 Exploring Operation: 4+38=42, Resulting Numbers: [81, 42] Generated Node #0,3,3: 36:[81, 42] Operation: 4+38=42 Exploring Operation: 38-4=34, Resulting Numbers: [81, 34] Generated Node #0,3,4: 36:[81, 34] Operation: 38-4=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[4, 43], Operations: ['88-50=38', '81-38=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,36 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[38, 77], Operations: ['88-50=38', '81-4=77'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,36 unequal: No Solution Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 36:[81, 34], Operations: ['88-50=38', '38-4=34'] Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,36 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[38, 85], Operations: ['88-50=38', '81+4=85'] Exploring Operation: 38+85=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 38*85=3230, Resulting Numbers: [3230] 3230,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[81, 42], Operations: ['88-50=38', '4+38=42'] Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,36 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: 36:[88, 4, 31], Operations: ['81-50=31'] Exploring Operation: 4+31=35, Resulting Numbers: [88, 35] Generated Node #0,0,0: 36:[88, 35] Operation: 4+31=35 Exploring Operation: 88-4=84, Resulting Numbers: [31, 84] Generated Node #0,0,1: 36:[31, 84] Operation: 88-4=84 Exploring Operation: 88/4=22, Resulting Numbers: [31, 22] Generated Node #0,0,2: 36:[31, 22] Operation: 88/4=22 Exploring Operation: 88-31=57, Resulting Numbers: [4, 57] Generated Node #0,0,3: 36:[4, 57] Operation: 88-31=57 Exploring Operation: 88+4=92, Resulting Numbers: [31, 92] Generated Node #0,0,4: 36:[31, 92] Operation: 88+4=92 Moving to Node #0,4 Current State: 36:[50, 81, 22], Operations: ['88/4=22'] Exploring Operation: 50-22=28, Resulting Numbers: [81, 28] Generated Node #0,4,0: 36:[81, 28] Operation: 50-22=28 Exploring Operation: 81+22=103, Resulting Numbers: [50, 103] Generated Node #0,4,1: 36:[50, 103] Operation: 81+22=103 Exploring Operation: 81-50=31, Resulting Numbers: [22, 31] Generated Node #0,4,2: 36:[22, 31] Operation: 81-50=31 Exploring Operation: 81-22=59, Resulting Numbers: [50, 59] Generated Node #0,4,3: 36:[50, 59] Operation: 81-22=59 Exploring Operation: 50+22=72, Resulting Numbers: [81, 72] Generated Node #0,4,4: 36:[81, 72] Operation: 50+22=72 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 36:[22, 31], Operations: ['88/4=22', '81-50=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,36 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 36:[50, 59], Operations: ['88/4=22', '81-22=59'] Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,36 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 36:[81, 28], Operations: ['88/4=22', '50-22=28'] Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,36 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 36:[50, 103], Operations: ['88/4=22', '81+22=103'] Exploring Operation: 50*103=5150, Resulting Numbers: [5150] 5150,36 unequal: No Solution Exploring Operation: 50+103=153, Resulting Numbers: [153] 153,36 unequal: No Solution Exploring Operation: 103-50=53, Resulting Numbers: [53] 53,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 36:[81, 72], Operations: ['88/4=22', '50+22=72'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,36 unequal: No Solution Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 36:[88, 81, 46], Operations: ['50-4=46'] Exploring Operation: 88-81=7, Resulting Numbers: [46, 7] Generated Node #0,2,0: 36:[46, 7] Operation: 88-81=7 Exploring Operation: 88+81=169, Resulting Numbers: [46, 169] Generated Node #0,2,1: 36:[46, 169] Operation: 88+81=169 Exploring Operation: 81-46=35, Resulting Numbers: [88, 35] Generated Node #0,2,2: 36:[88, 35] Operation: 81-46=35 Exploring Operation: 88-46=42, Resulting Numbers: [81, 42] Generated Node #0,2,3: 36:[81, 42] Operation: 88-46=42 Exploring Operation: 88+46=134, Resulting Numbers: [81, 134] Generated Node #0,2,4: 36:[81, 134] Operation: 88+46=134 Moving to Node #0,0,2 Current State: 36:[31, 22], Operations: ['81-50=31', '88/4=22'] Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,36 unequal: No Solution Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[46, 7], Operations: ['50-4=46', '88-81=7'] Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,36 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[4, 57], Operations: ['81-50=31', '88-31=57'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,36 unequal: No Solution Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[81, 42], Operations: ['50-4=46', '88-46=42'] Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,36 unequal: No Solution Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[88, 35], Operations: ['81-50=31', '4+31=35'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,36 unequal: No Solution Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[31, 84], Operations: ['81-50=31', '88-4=84'] Exploring Operation: 31+84=115, Resulting Numbers: [115] 115,36 unequal: No Solution Exploring Operation: 31*84=2604, Resulting Numbers: [2604] 2604,36 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[88, 35], Operations: ['50-4=46', '81-46=35'] Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,36 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[31, 92], Operations: ['81-50=31', '88+4=92'] Exploring Operation: 31*92=2852, Resulting Numbers: [2852] 2852,36 unequal: No Solution Exploring Operation: 31+92=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[81, 134], Operations: ['50-4=46', '88+46=134'] Exploring Operation: 81+134=215, Resulting Numbers: [215] 215,36 unequal: No Solution Exploring Operation: 134-81=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 81*134=10854, Resulting Numbers: [10854] 10854,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[46, 169], Operations: ['50-4=46', '88+81=169'] Exploring Operation: 46+169=215, Resulting Numbers: [215] 215,36 unequal: No Solution Exploring Operation: 169-46=123, Resulting Numbers: [123] 123,36 unequal: No Solution Exploring Operation: 46*169=7774, Resulting Numbers: [7774] 7774,36 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 71, 54, 24, 6 ]
68
[ "71-54=17", "24/6=4", "17*4=68" ]
Current State: 68:[71, 54, 24, 6], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [24, 6, 17] Generated Node #2: [24, 6, 17] from Operation: 71-54=17 Current State: 68:[24, 6, 17], Operations: ['71-54=17'] Exploring Operation: 24/6=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 24/6=4 Current State: 68:[17, 4], Operations: ['71-54=17', '24/6=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[71, 54, 24, 6], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [24, 6, 17] Generated Node #0,0: 68:[24, 6, 17] Operation: 71-54=17 Exploring Operation: 54-24=30, Resulting Numbers: [71, 6, 30] Generated Node #0,1: 68:[71, 6, 30] Operation: 54-24=30 Moving to Node #0,0 Current State: 68:[24, 6, 17], Operations: ['71-54=17'] Exploring Operation: 24-6=18, Resulting Numbers: [17, 18] Generated Node #0,0,0: 68:[17, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 68:[17, 4] Operation: 24/6=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[17, 4], Operations: ['71-54=17', '24/6=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[71, 54, 24, 6], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [24, 6, 17] Generated Node #0,0: 68:[24, 6, 17] Operation: 71-54=17 Moving to Node #0,0 Current State: 68:[24, 6, 17], Operations: ['71-54=17'] Exploring Operation: 24/6=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 68:[17, 4] Operation: 24/6=4 Moving to Node #0,0,1 Current State: 68:[17, 4], Operations: ['71-54=17', '24/6=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 25, 2, 86, 72 ]
33
[ "25+86=111", "2*72=144", "144-111=33" ]
Current State: 33:[25, 2, 86, 72], Operations: [] Exploring Operation: 25+86=111, Resulting Numbers: [2, 72, 111] Generated Node #2: [2, 72, 111] from Operation: 25+86=111 Current State: 33:[2, 72, 111], Operations: ['25+86=111'] Exploring Operation: 2*72=144, Resulting Numbers: [111, 144] Generated Node #3: [111, 144] from Operation: 2*72=144 Current State: 33:[111, 144], Operations: ['25+86=111', '2*72=144'] Exploring Operation: 144-111=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[25, 2, 86, 72], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [25, 2, 14] Generated Node #0,0: 33:[25, 2, 14] Operation: 86-72=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[25, 2, 14], Operations: ['86-72=14'] Exploring Operation: 25-14=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 33:[2, 11] Operation: 25-14=11 Moving to Node #0,0,0 Current State: 33:[2, 11], Operations: ['86-72=14', '25-14=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,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
[ 69, 71, 54, 73 ]
38
[ "71-69=2", "73-54=19", "2*19=38" ]
Current State: 38:[69, 71, 54, 73], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [54, 73, 2] Generated Node #2: [54, 73, 2] from Operation: 71-69=2 Current State: 38:[54, 73, 2], Operations: ['71-69=2'] Exploring Operation: 73-54=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 73-54=19 Current State: 38:[2, 19], Operations: ['71-69=2', '73-54=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[69, 71, 54, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [69, 54, 2] Generated Node #0,0: 38:[69, 54, 2] Operation: 73-71=2 Exploring Operation: 71-69=2, Resulting Numbers: [54, 73, 2] Generated Node #0,1: 38:[54, 73, 2] Operation: 71-69=2 Exploring Operation: 73-69=4, Resulting Numbers: [71, 54, 4] Generated Node #0,2: 38:[71, 54, 4] Operation: 73-69=4 Moving to Node #0,0 Current State: 38:[69, 54, 2], Operations: ['73-71=2'] Exploring Operation: 69-54=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 38:[2, 15] Operation: 69-54=15 Exploring Operation: 54/2=27, Resulting Numbers: [69, 27] Generated Node #0,0,1: 38:[69, 27] Operation: 54/2=27 Exploring Operation: 69-2=67, Resulting Numbers: [54, 67] Generated Node #0,0,2: 38:[54, 67] Operation: 69-2=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[2, 15], Operations: ['73-71=2', '69-54=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[69, 27], Operations: ['73-71=2', '54/2=27'] Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,38 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[54, 67], Operations: ['73-71=2', '69-2=67'] Exploring Operation: 54*67=3618, Resulting Numbers: [3618] 3618,38 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 54+67=121, Resulting Numbers: [121] 121,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 38:[54, 73, 2], Operations: ['71-69=2'] Exploring Operation: 54-2=52, Resulting Numbers: [73, 52] Generated Node #0,1,0: 38:[73, 52] Operation: 54-2=52 Exploring Operation: 54/2=27, Resulting Numbers: [73, 27] Generated Node #0,1,1: 38:[73, 27] Operation: 54/2=27 Exploring Operation: 73-54=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 38:[2, 19] Operation: 73-54=19 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[2, 19], Operations: ['71-69=2', '73-54=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[69, 71, 54, 73], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [54, 73, 2] Generated Node #0,1: 38:[54, 73, 2] Operation: 71-69=2 Moving to Node #0,1 Current State: 38:[54, 73, 2], Operations: ['71-69=2'] Exploring Operation: 73-54=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 38:[2, 19] Operation: 73-54=19 Moving to Node #0,1,2 Current State: 38:[2, 19], Operations: ['71-69=2', '73-54=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 34, 34, 84, 44 ]
84
[ "34-34=0", "44*0=0", "84+0=84" ]
Current State: 84:[34, 34, 84, 44], Operations: [] Exploring Operation: 34-34=0, Resulting Numbers: [84, 44, 0] Generated Node #2: [84, 44, 0] from Operation: 34-34=0 Current State: 84:[84, 44, 0], Operations: ['34-34=0'] Exploring Operation: 44*0=0, Resulting Numbers: [84, 0] Generated Node #3: [84, 0] from Operation: 44*0=0 Current State: 84:[84, 0], Operations: ['34-34=0', '44*0=0'] Exploring Operation: 84+0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[34, 34, 84, 44], Operations: [] Exploring Operation: 34/34=1, Resulting Numbers: [84, 44, 1] Generated Node #0,0: 84:[84, 44, 1] Operation: 34/34=1 Moving to Node #0,0 Current State: 84:[84, 44, 1], Operations: ['34/34=1'] Exploring Operation: 44-1=43, Resulting Numbers: [84, 43] Generated Node #0,0,0: 84:[84, 43] Operation: 44-1=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[84, 43], Operations: ['34/34=1', '44-1=43'] Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,84 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
[ 57, 80, 96, 1 ]
72
[ "80-57=23", "96-1=95", "95-23=72" ]
Current State: 72:[57, 80, 96, 1], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [96, 1, 23] Generated Node #2: [96, 1, 23] from Operation: 80-57=23 Current State: 72:[96, 1, 23], Operations: ['80-57=23'] Exploring Operation: 96-1=95, Resulting Numbers: [23, 95] Generated Node #3: [23, 95] from Operation: 96-1=95 Current State: 72:[23, 95], Operations: ['80-57=23', '96-1=95'] Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[57, 80, 96, 1], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [80, 1, 39] Generated Node #0,0: 72:[80, 1, 39] Operation: 96-57=39 Exploring Operation: 96-80=16, Resulting Numbers: [57, 1, 16] Generated Node #0,1: 72:[57, 1, 16] Operation: 96-80=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[80, 1, 39], Operations: ['96-57=39'] Exploring Operation: 80-1=79, Resulting Numbers: [39, 79] Generated Node #0,0,0: 72:[39, 79] Operation: 80-1=79 Exploring Operation: 80-39=41, Resulting Numbers: [1, 41] Generated Node #0,0,1: 72:[1, 41] Operation: 80-39=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[1, 41], Operations: ['96-57=39', '80-39=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,72 unequal: No Solution No 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: 72:[39, 79], Operations: ['96-57=39', '80-1=79'] Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,72 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: 72:[57, 1, 16], Operations: ['96-80=16'] Exploring Operation: 57+16=73, Resulting Numbers: [1, 73] Generated Node #0,1,0: 72:[1, 73] Operation: 57+16=73 Exploring Operation: 57-16=41, Resulting Numbers: [1, 41] Generated Node #0,1,1: 72:[1, 41] Operation: 57-16=41 Moving to Node #0,1,0 Current State: 72:[1, 73], Operations: ['96-80=16', '57+16=73'] Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[57, 80, 96, 1], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [57, 1, 16] Generated Node #0,1: 72:[57, 1, 16] Operation: 96-80=16 Moving to Node #0,1 Current State: 72:[57, 1, 16], Operations: ['96-80=16'] Exploring Operation: 57+16=73, Resulting Numbers: [1, 73] Generated Node #0,1,0: 72:[1, 73] Operation: 57+16=73 Moving to Node #0,1,0 Current State: 72:[1, 73], Operations: ['96-80=16', '57+16=73'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 3, 6, 70, 66 ]
92
[ "6-3=3", "66/3=22", "70+22=92" ]
Current State: 92:[3, 6, 70, 66], Operations: [] Exploring Operation: 6-3=3, Resulting Numbers: [70, 66, 3] Generated Node #2: [70, 66, 3] from Operation: 6-3=3 Current State: 92:[70, 66, 3], Operations: ['6-3=3'] Exploring Operation: 66/3=22, Resulting Numbers: [70, 22] Generated Node #3: [70, 22] from Operation: 66/3=22 Current State: 92:[70, 22], Operations: ['6-3=3', '66/3=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[3, 6, 70, 66], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [3, 6, 4] Generated Node #0,0: 92:[3, 6, 4] Operation: 70-66=4 Exploring Operation: 66/3=22, Resulting Numbers: [6, 70, 22] Generated Node #0,1: 92:[6, 70, 22] Operation: 66/3=22 Exploring Operation: 66/6=11, Resulting Numbers: [3, 70, 11] Generated Node #0,2: 92:[3, 70, 11] Operation: 66/6=11 Moving to Node #0,0 Current State: 92:[3, 6, 4], Operations: ['70-66=4'] Exploring Operation: 6-3=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 92:[4, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 92:[4, 2] Operation: 6/3=2 Exploring Operation: 6-4=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 92:[3, 2] Operation: 6-4=2 Moving to Node #0,1 Current State: 92:[6, 70, 22], Operations: ['66/3=22'] Exploring Operation: 6+70=76, Resulting Numbers: [22, 76] Generated Node #0,1,0: 92:[22, 76] Operation: 6+70=76 Exploring Operation: 70+22=92, Resulting Numbers: [6, 92] Generated Node #0,1,1: 92:[6, 92] Operation: 70+22=92 Exploring Operation: 70-22=48, Resulting Numbers: [6, 48] Generated Node #0,1,2: 92:[6, 48] Operation: 70-22=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[6, 92], Operations: ['66/3=22', '70+22=92'] Exploring Operation: 6*92=552, Resulting Numbers: [552] 552,92 unequal: No Solution Exploring Operation: 6+92=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[6, 48], Operations: ['66/3=22', '70-22=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[22, 76], Operations: ['66/3=22', '6+70=76'] Exploring Operation: 22*76=1672, Resulting Numbers: [1672] 1672,92 unequal: No Solution Exploring Operation: 22+76=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,92 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: 92:[3, 70, 11], Operations: ['66/6=11'] Exploring Operation: 70+11=81, Resulting Numbers: [3, 81] Generated Node #0,2,0: 92:[3, 81] Operation: 70+11=81 Exploring Operation: 70-11=59, Resulting Numbers: [3, 59] Generated Node #0,2,1: 92:[3, 59] Operation: 70-11=59 Exploring Operation: 3+70=73, Resulting Numbers: [11, 73] Generated Node #0,2,2: 92:[11, 73] Operation: 3+70=73 Moving to Node #0,0,1 Current State: 92:[4, 2], Operations: ['70-66=4', '6/3=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[3, 2], Operations: ['70-66=4', '6-4=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[4, 3], Operations: ['70-66=4', '6-3=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[3, 81], Operations: ['66/6=11', '70+11=81'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 3+81=84, Resulting Numbers: [84] 84,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[3, 59], Operations: ['66/6=11', '70-11=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[11, 73], Operations: ['66/6=11', '3+70=73'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,92 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 85, 19, 24, 57 ]
77
[ "19*24=456", "456/57=8", "85-8=77" ]
Current State: 77:[85, 19, 24, 57], Operations: [] Exploring Operation: 19*24=456, Resulting Numbers: [85, 57, 456] Generated Node #2: [85, 57, 456] from Operation: 19*24=456 Current State: 77:[85, 57, 456], Operations: ['19*24=456'] Exploring Operation: 456/57=8, Resulting Numbers: [85, 8] Generated Node #3: [85, 8] from Operation: 456/57=8 Current State: 77:[85, 8], Operations: ['19*24=456', '456/57=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[85, 19, 24, 57], Operations: [] Exploring Operation: 24+57=81, Resulting Numbers: [85, 19, 81] Generated Node #0,0: 77:[85, 19, 81] Operation: 24+57=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[85, 19, 81], Operations: ['24+57=81'] Exploring Operation: 85-81=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 77:[19, 4] Operation: 85-81=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[19, 4], Operations: ['24+57=81', '85-81=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 26, 51, 98, 49 ]
38
[ "26*49=1274", "1274/98=13", "51-13=38" ]
Current State: 38:[26, 51, 98, 49], Operations: [] Exploring Operation: 26*49=1274, Resulting Numbers: [51, 98, 1274] Generated Node #2: [51, 98, 1274] from Operation: 26*49=1274 Current State: 38:[51, 98, 1274], Operations: ['26*49=1274'] Exploring Operation: 1274/98=13, Resulting Numbers: [51, 13] Generated Node #3: [51, 13] from Operation: 1274/98=13 Current State: 38:[51, 13], Operations: ['26*49=1274', '1274/98=13'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[26, 51, 98, 49], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [26, 51, 2] Generated Node #0,0: 38:[26, 51, 2] Operation: 98/49=2 Exploring Operation: 98-51=47, Resulting Numbers: [26, 49, 47] Generated Node #0,1: 38:[26, 49, 47] Operation: 98-51=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[26, 51, 2], Operations: ['98/49=2'] Exploring Operation: 51-26=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 38:[2, 25] Operation: 51-26=25 Exploring Operation: 26-2=24, Resulting Numbers: [51, 24] Generated Node #0,0,1: 38:[51, 24] Operation: 26-2=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[2, 25], Operations: ['98/49=2', '51-26=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[51, 24], Operations: ['98/49=2', '26-2=24'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,38 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[26, 49, 47], Operations: ['98-51=47'] Exploring Operation: 49-26=23, Resulting Numbers: [47, 23] Generated Node #0,1,0: 38:[47, 23] Operation: 49-26=23 Exploring Operation: 49-47=2, Resulting Numbers: [26, 2] Generated Node #0,1,1: 38:[26, 2] Operation: 49-47=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[26, 2], Operations: ['98-51=47', '49-47=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[47, 23], Operations: ['98-51=47', '49-26=23'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 2, 84, 41, 16 ]
35
[ "16-2=14", "84/14=6", "41-6=35" ]
Current State: 35:[2, 84, 41, 16], Operations: [] Exploring Operation: 16-2=14, Resulting Numbers: [84, 41, 14] Generated Node #2: [84, 41, 14] from Operation: 16-2=14 Current State: 35:[84, 41, 14], Operations: ['16-2=14'] Exploring Operation: 84/14=6, Resulting Numbers: [41, 6] Generated Node #3: [41, 6] from Operation: 84/14=6 Current State: 35:[41, 6], Operations: ['16-2=14', '84/14=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[2, 84, 41, 16], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [41, 16, 42] Generated Node #0,0: 35:[41, 16, 42] Operation: 84/2=42 Exploring Operation: 84-41=43, Resulting Numbers: [2, 16, 43] Generated Node #0,1: 35:[2, 16, 43] Operation: 84-41=43 Exploring Operation: 84-16=68, Resulting Numbers: [2, 41, 68] Generated Node #0,2: 35:[2, 41, 68] Operation: 84-16=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[2, 16, 43], Operations: ['84-41=43'] Exploring Operation: 2*16=32, Resulting Numbers: [43, 32] Generated Node #0,1,0: 35:[43, 32] Operation: 2*16=32 Exploring Operation: 16/2=8, Resulting Numbers: [43, 8] Generated Node #0,1,1: 35:[43, 8] Operation: 16/2=8 Exploring Operation: 43-16=27, Resulting Numbers: [2, 27] Generated Node #0,1,2: 35:[2, 27] Operation: 43-16=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[43, 8], Operations: ['84-41=43', '16/2=8'] Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,35 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[2, 84, 41, 16], Operations: [] Exploring Operation: 84-41=43, Resulting Numbers: [2, 16, 43] Generated Node #0,1: 35:[2, 16, 43] Operation: 84-41=43 Moving to Node #0,1 Current State: 35:[2, 16, 43], Operations: ['84-41=43'] Exploring Operation: 16/2=8, Resulting Numbers: [43, 8] Generated Node #0,1,1: 35:[43, 8] Operation: 16/2=8 Moving to Node #0,1,1 Current State: 35:[43, 8], Operations: ['84-41=43', '16/2=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 76, 42, 9, 9 ]
34
[ "76-42=34", "9-9=0", "34+0=34" ]
Current State: 34:[76, 42, 9, 9], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [9, 9, 34] Generated Node #2: [9, 9, 34] from Operation: 76-42=34 Current State: 34:[9, 9, 34], Operations: ['76-42=34'] Exploring Operation: 9-9=0, Resulting Numbers: [34, 0] Generated Node #3: [34, 0] from Operation: 9-9=0 Current State: 34:[34, 0], Operations: ['76-42=34', '9-9=0'] Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[76, 42, 9, 9], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [9, 9, 34] Generated Node #0,0: 34:[9, 9, 34] Operation: 76-42=34 Exploring Operation: 76-9=67, Resulting Numbers: [42, 9, 67] Generated Node #0,1: 34:[42, 9, 67] Operation: 76-9=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[9, 9, 34], Operations: ['76-42=34'] Exploring Operation: 9+9=18, Resulting Numbers: [34, 18] Generated Node #0,0,0: 34:[34, 18] Operation: 9+9=18 Exploring Operation: 9/9=1, Resulting Numbers: [34, 1] Generated Node #0,0,1: 34:[34, 1] Operation: 9/9=1 Moving to Node #0,0,0 Current State: 34:[34, 18], Operations: ['76-42=34', '9+9=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[34, 1], Operations: ['76-42=34', '9/9=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[76, 42, 9, 9], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [9, 9, 34] Generated Node #0,0: 34:[9, 9, 34] Operation: 76-42=34 Moving to Node #0,0 Current State: 34:[9, 9, 34], Operations: ['76-42=34'] Exploring Operation: 9/9=1, Resulting Numbers: [34, 1] Generated Node #0,0,1: 34:[34, 1] Operation: 9/9=1 Moving to Node #0,0,1 Current State: 34:[34, 1], Operations: ['76-42=34', '9/9=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 72, 71, 3, 50 ]
79
[ "71-50=21", "21/3=7", "72+7=79" ]
Current State: 79:[72, 71, 3, 50], Operations: [] Exploring Operation: 71-50=21, Resulting Numbers: [72, 3, 21] Generated Node #2: [72, 3, 21] from Operation: 71-50=21 Current State: 79:[72, 3, 21], Operations: ['71-50=21'] Exploring Operation: 21/3=7, Resulting Numbers: [72, 7] Generated Node #3: [72, 7] from Operation: 21/3=7 Current State: 79:[72, 7], Operations: ['71-50=21', '21/3=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[72, 71, 3, 50], Operations: [] Exploring Operation: 72+3=75, Resulting Numbers: [71, 50, 75] Generated Node #0,0: 79:[71, 50, 75] Operation: 72+3=75 Moving to Node #0,0 Current State: 79:[71, 50, 75], Operations: ['72+3=75'] Exploring Operation: 71+50=121, Resulting Numbers: [75, 121] Generated Node #0,0,0: 79:[75, 121] Operation: 71+50=121 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[75, 121], Operations: ['72+3=75', '71+50=121'] Exploring Operation: 121-75=46, Resulting Numbers: [46] 46,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 25, 21, 14, 91 ]
81
[ "25-21=4", "91-14=77", "4+77=81" ]
Current State: 81:[25, 21, 14, 91], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [14, 91, 4] Generated Node #2: [14, 91, 4] from Operation: 25-21=4 Current State: 81:[14, 91, 4], Operations: ['25-21=4'] Exploring Operation: 91-14=77, Resulting Numbers: [4, 77] Generated Node #3: [4, 77] from Operation: 91-14=77 Current State: 81:[4, 77], Operations: ['25-21=4', '91-14=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[25, 21, 14, 91], Operations: [] Exploring Operation: 91-14=77, Resulting Numbers: [25, 21, 77] Generated Node #0,0: 81:[25, 21, 77] Operation: 91-14=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[25, 21, 77], Operations: ['91-14=77'] Exploring Operation: 25-21=4, Resulting Numbers: [77, 4] Generated Node #0,0,0: 81:[77, 4] Operation: 25-21=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[77, 4], Operations: ['91-14=77', '25-21=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[25, 21, 14, 91], Operations: [] Exploring Operation: 91-14=77, Resulting Numbers: [25, 21, 77] Generated Node #0,0: 81:[25, 21, 77] Operation: 91-14=77 Moving to Node #0,0 Current State: 81:[25, 21, 77], Operations: ['91-14=77'] Exploring Operation: 25-21=4, Resulting Numbers: [77, 4] Generated Node #0,0,0: 81:[77, 4] Operation: 25-21=4 Moving to Node #0,0,0 Current State: 81:[77, 4], Operations: ['91-14=77', '25-21=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 57, 33, 65, 62 ]
46
[ "62-57=5", "65/5=13", "33+13=46" ]
Current State: 46:[57, 33, 65, 62], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [33, 65, 5] Generated Node #2: [33, 65, 5] from Operation: 62-57=5 Current State: 46:[33, 65, 5], Operations: ['62-57=5'] Exploring Operation: 65/5=13, Resulting Numbers: [33, 13] Generated Node #3: [33, 13] from Operation: 65/5=13 Current State: 46:[33, 13], Operations: ['62-57=5', '65/5=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[57, 33, 65, 62], Operations: [] Exploring Operation: 65-33=32, Resulting Numbers: [57, 62, 32] Generated Node #0,0: 46:[57, 62, 32] Operation: 65-33=32 Exploring Operation: 62-57=5, Resulting Numbers: [33, 65, 5] Generated Node #0,1: 46:[33, 65, 5] Operation: 62-57=5 Exploring Operation: 65-62=3, Resulting Numbers: [57, 33, 3] Generated Node #0,2: 46:[57, 33, 3] Operation: 65-62=3 Exploring Operation: 57-33=24, Resulting Numbers: [65, 62, 24] Generated Node #0,3: 46:[65, 62, 24] Operation: 57-33=24 Exploring Operation: 65-57=8, Resulting Numbers: [33, 62, 8] Generated Node #0,4: 46:[33, 62, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[57, 33, 3], Operations: ['65-62=3'] Exploring Operation: 57/3=19, Resulting Numbers: [33, 19] Generated Node #0,2,0: 46:[33, 19] Operation: 57/3=19 Exploring Operation: 33/3=11, Resulting Numbers: [57, 11] Generated Node #0,2,1: 46:[57, 11] Operation: 33/3=11 Exploring Operation: 57-3=54, Resulting Numbers: [33, 54] Generated Node #0,2,2: 46:[33, 54] Operation: 57-3=54 Exploring Operation: 33-3=30, Resulting Numbers: [57, 30] Generated Node #0,2,3: 46:[57, 30] Operation: 33-3=30 Exploring Operation: 57-33=24, Resulting Numbers: [3, 24] Generated Node #0,2,4: 46:[3, 24] Operation: 57-33=24 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 46:[3, 24], Operations: ['65-62=3', '57-33=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[33, 19], Operations: ['65-62=3', '57/3=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,46 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[33, 54], Operations: ['65-62=3', '57-3=54'] Exploring Operation: 33+54=87, Resulting Numbers: [87] 87,46 unequal: No Solution Exploring Operation: 33*54=1782, Resulting Numbers: [1782] 1782,46 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 46:[57, 30], Operations: ['65-62=3', '33-3=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,46 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 46:[57, 11], Operations: ['65-62=3', '33/3=11'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[57, 33, 65, 62], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [57, 33, 3] Generated Node #0,2: 46:[57, 33, 3] Operation: 65-62=3 Moving to Node #0,2 Current State: 46:[57, 33, 3], Operations: ['65-62=3'] Exploring Operation: 33/3=11, Resulting Numbers: [57, 11] Generated Node #0,2,1: 46:[57, 11] Operation: 33/3=11 Moving to Node #0,2,1 Current State: 46:[57, 11], Operations: ['65-62=3', '33/3=11'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 14, 45, 84, 11 ]
50
[ "84/14=6", "45+11=56", "56-6=50" ]
Current State: 50:[14, 45, 84, 11], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [45, 11, 6] Generated Node #2: [45, 11, 6] from Operation: 84/14=6 Current State: 50:[45, 11, 6], Operations: ['84/14=6'] Exploring Operation: 45+11=56, Resulting Numbers: [6, 56] Generated Node #3: [6, 56] from Operation: 45+11=56 Current State: 50:[6, 56], Operations: ['84/14=6', '45+11=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[14, 45, 84, 11], Operations: [] Exploring Operation: 84-14=70, Resulting Numbers: [45, 11, 70] Generated Node #0,0: 50:[45, 11, 70] Operation: 84-14=70 Exploring Operation: 84-11=73, Resulting Numbers: [14, 45, 73] Generated Node #0,1: 50:[14, 45, 73] Operation: 84-11=73 Exploring Operation: 84-45=39, Resulting Numbers: [14, 11, 39] Generated Node #0,2: 50:[14, 11, 39] Operation: 84-45=39 Exploring Operation: 84/14=6, Resulting Numbers: [45, 11, 6] Generated Node #0,3: 50:[45, 11, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[45, 11, 6], Operations: ['84/14=6'] Exploring Operation: 11-6=5, Resulting Numbers: [45, 5] Generated Node #0,3,0: 50:[45, 5] Operation: 11-6=5 Exploring Operation: 45-11=34, Resulting Numbers: [6, 34] Generated Node #0,3,1: 50:[6, 34] Operation: 45-11=34 Exploring Operation: 45+11=56, Resulting Numbers: [6, 56] Generated Node #0,3,2: 50:[6, 56] Operation: 45+11=56 Exploring Operation: 45+6=51, Resulting Numbers: [11, 51] Generated Node #0,3,3: 50:[11, 51] Operation: 45+6=51 Moving to Node #0,3,3 Current State: 50:[11, 51], Operations: ['84/14=6', '45+6=51'] Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,50 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[45, 5], Operations: ['84/14=6', '11-6=5'] Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,50 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[14, 45, 84, 11], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [45, 11, 6] Generated Node #0,3: 50:[45, 11, 6] Operation: 84/14=6 Moving to Node #0,3 Current State: 50:[45, 11, 6], Operations: ['84/14=6'] Exploring Operation: 11-6=5, Resulting Numbers: [45, 5] Generated Node #0,3,0: 50:[45, 5] Operation: 11-6=5 Moving to Node #0,3,0 Current State: 50:[45, 5], Operations: ['84/14=6', '11-6=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 6, 21, 30, 55 ]
24
[ "21+30=51", "55-51=4", "6*4=24" ]
Current State: 24:[6, 21, 30, 55], Operations: [] Exploring Operation: 21+30=51, Resulting Numbers: [6, 55, 51] Generated Node #2: [6, 55, 51] from Operation: 21+30=51 Current State: 24:[6, 55, 51], Operations: ['21+30=51'] Exploring Operation: 55-51=4, Resulting Numbers: [6, 4] Generated Node #3: [6, 4] from Operation: 55-51=4 Current State: 24:[6, 4], Operations: ['21+30=51', '55-51=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[6, 21, 30, 55], Operations: [] Exploring Operation: 55-21=34, Resulting Numbers: [6, 30, 34] Generated Node #0,0: 24:[6, 30, 34] Operation: 55-21=34 Exploring Operation: 30-21=9, Resulting Numbers: [6, 55, 9] Generated Node #0,1: 24:[6, 55, 9] Operation: 30-21=9 Exploring Operation: 55-30=25, Resulting Numbers: [6, 21, 25] Generated Node #0,2: 24:[6, 21, 25] Operation: 55-30=25 Exploring Operation: 30-6=24, Resulting Numbers: [21, 55, 24] Generated Node #0,3: 24:[21, 55, 24] Operation: 30-6=24 Moving to Node #0,2 Current State: 24:[6, 21, 25], Operations: ['55-30=25'] Exploring Operation: 25-21=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 24:[6, 4] Operation: 25-21=4 Exploring Operation: 6+21=27, Resulting Numbers: [25, 27] Generated Node #0,2,1: 24:[25, 27] Operation: 6+21=27 Exploring Operation: 21-6=15, Resulting Numbers: [25, 15] Generated Node #0,2,2: 24:[25, 15] Operation: 21-6=15 Exploring Operation: 25-6=19, Resulting Numbers: [21, 19] Generated Node #0,2,3: 24:[21, 19] Operation: 25-6=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[6, 4], Operations: ['55-30=25', '25-21=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[6, 21, 30, 55], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [6, 21, 25] Generated Node #0,2: 24:[6, 21, 25] Operation: 55-30=25 Moving to Node #0,2 Current State: 24:[6, 21, 25], Operations: ['55-30=25'] Exploring Operation: 25-21=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 24:[6, 4] Operation: 25-21=4 Moving to Node #0,2,0 Current State: 24:[6, 4], Operations: ['55-30=25', '25-21=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 90, 80, 50, 9 ]
45
[ "90-80=10", "50*9=450", "450/10=45" ]
Current State: 45:[90, 80, 50, 9], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [50, 9, 10] Generated Node #2: [50, 9, 10] from Operation: 90-80=10 Current State: 45:[50, 9, 10], Operations: ['90-80=10'] Exploring Operation: 50*9=450, Resulting Numbers: [10, 450] Generated Node #3: [10, 450] from Operation: 50*9=450 Current State: 45:[10, 450], Operations: ['90-80=10', '50*9=450'] Exploring Operation: 450/10=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[90, 80, 50, 9], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [50, 9, 10] Generated Node #0,0: 45:[50, 9, 10] Operation: 90-80=10 Exploring Operation: 90-50=40, Resulting Numbers: [80, 9, 40] Generated Node #0,1: 45:[80, 9, 40] Operation: 90-50=40 Exploring Operation: 90/9=10, Resulting Numbers: [80, 50, 10] Generated Node #0,2: 45:[80, 50, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [80, 50, 81] Generated Node #0,3: 45:[80, 50, 81] Operation: 90-9=81 Exploring Operation: 80-50=30, Resulting Numbers: [90, 9, 30] Generated Node #0,4: 45:[90, 9, 30] Operation: 80-50=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[50, 9, 10], Operations: ['90-80=10'] Exploring Operation: 10-9=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 45:[50, 1] Operation: 10-9=1 Exploring Operation: 50-9=41, Resulting Numbers: [10, 41] Generated Node #0,0,1: 45:[10, 41] Operation: 50-9=41 Exploring Operation: 9+10=19, Resulting Numbers: [50, 19] Generated Node #0,0,2: 45:[50, 19] Operation: 9+10=19 Exploring Operation: 50/10=5, Resulting Numbers: [9, 5] Generated Node #0,0,3: 45:[9, 5] Operation: 50/10=5 Exploring Operation: 50-10=40, Resulting Numbers: [9, 40] Generated Node #0,0,4: 45:[9, 40] Operation: 50-10=40 Moving to Node #0,0,3 Current State: 45:[9, 5], Operations: ['90-80=10', '50/10=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[90, 80, 50, 9], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [50, 9, 10] Generated Node #0,0: 45:[50, 9, 10] Operation: 90-80=10 Moving to Node #0,0 Current State: 45:[50, 9, 10], Operations: ['90-80=10'] Exploring Operation: 50/10=5, Resulting Numbers: [9, 5] Generated Node #0,0,3: 45:[9, 5] Operation: 50/10=5 Moving to Node #0,0,3 Current State: 45:[9, 5], Operations: ['90-80=10', '50/10=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 5, 50, 50, 24 ]
84
[ "50/5=10", "50+24=74", "10+74=84" ]
Current State: 84:[5, 50, 50, 24], Operations: [] Exploring Operation: 50/5=10, Resulting Numbers: [24, 10] Generated Node #2: [24, 10] from Operation: 50/5=10 Current State: 84:[24, 10], Operations: ['50/5=10'] Exploring Operation: 50+24=74, Resulting Numbers: [10, 74] Generated Node #3: [10, 74] from Operation: 50+24=74 Current State: 84:[10, 74], Operations: ['50/5=10', '50+24=74'] Exploring Operation: 10+74=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[5, 50, 50, 24], Operations: [] Exploring Operation: 50/50=1, Resulting Numbers: [5, 24, 1] Generated Node #0,0: 84:[5, 24, 1] Operation: 50/50=1 Moving to Node #0,0 Current State: 84:[5, 24, 1], Operations: ['50/50=1'] Exploring Operation: 5+24=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 84:[1, 29] Operation: 5+24=29 Moving to Node #0,0,0 Current State: 84:[1, 29], Operations: ['50/50=1', '5+24=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 88, 18, 2, 15 ]
94
[ "88*2=176", "18*15=270", "270-176=94" ]
Current State: 94:[88, 18, 2, 15], Operations: [] Exploring Operation: 88*2=176, Resulting Numbers: [18, 15, 176] Generated Node #2: [18, 15, 176] from Operation: 88*2=176 Current State: 94:[18, 15, 176], Operations: ['88*2=176'] Exploring Operation: 18*15=270, Resulting Numbers: [176, 270] Generated Node #3: [176, 270] from Operation: 18*15=270 Current State: 94:[176, 270], Operations: ['88*2=176', '18*15=270'] Exploring Operation: 270-176=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 18, 2, 15], Operations: [] Exploring Operation: 18+15=33, Resulting Numbers: [88, 2, 33] Generated Node #0,0: 94:[88, 2, 33] Operation: 18+15=33 Exploring Operation: 88+18=106, Resulting Numbers: [2, 15, 106] Generated Node #0,1: 94:[2, 15, 106] Operation: 88+18=106 Exploring Operation: 88+15=103, Resulting Numbers: [18, 2, 103] Generated Node #0,2: 94:[18, 2, 103] Operation: 88+15=103 Exploring Operation: 18-15=3, Resulting Numbers: [88, 2, 3] Generated Node #0,3: 94:[88, 2, 3] Operation: 18-15=3 Moving to Node #0,3 Current State: 94:[88, 2, 3], Operations: ['18-15=3'] Exploring Operation: 88+3=91, Resulting Numbers: [2, 91] Generated Node #0,3,0: 94:[2, 91] Operation: 88+3=91 Exploring Operation: 88/2=44, Resulting Numbers: [3, 44] Generated Node #0,3,1: 94:[3, 44] Operation: 88/2=44 Exploring Operation: 3-2=1, Resulting Numbers: [88, 1] Generated Node #0,3,2: 94:[88, 1] Operation: 3-2=1 Exploring Operation: 88+2=90, Resulting Numbers: [3, 90] Generated Node #0,3,3: 94:[3, 90] Operation: 88+2=90 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[2, 91], Operations: ['18-15=3', '88+3=91'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,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:[3, 44], Operations: ['18-15=3', '88/2=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[3, 90], Operations: ['18-15=3', '88+2=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 3*90=270, Resulting Numbers: [270] 270,94 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,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:[88, 1], Operations: ['18-15=3', '3-2=1'] Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[88, 2, 33], Operations: ['18+15=33'] Exploring Operation: 88-33=55, Resulting Numbers: [2, 55] Generated Node #0,0,0: 94:[2, 55] Operation: 88-33=55 Exploring Operation: 2+33=35, Resulting Numbers: [88, 35] Generated Node #0,0,1: 94:[88, 35] Operation: 2+33=35 Exploring Operation: 88+2=90, Resulting Numbers: [33, 90] Generated Node #0,0,2: 94:[33, 90] Operation: 88+2=90 Exploring Operation: 88/2=44, Resulting Numbers: [33, 44] Generated Node #0,0,3: 94:[33, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[2, 55], Operations: ['18+15=33', '88-33=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,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:[33, 44], Operations: ['18+15=33', '88/2=44'] Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,94 unequal: No Solution Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,94 unequal: No Solution Exploring Operation: 44-33=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,0,1 Current State: 94:[88, 35], Operations: ['18+15=33', '2+33=35'] Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,94 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,94 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,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,2 Current State: 94:[33, 90], Operations: ['18+15=33', '88+2=90'] Exploring Operation: 33*90=2970, Resulting Numbers: [2970] 2970,94 unequal: No Solution Exploring Operation: 33+90=123, Resulting Numbers: [123] 123,94 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,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:[18, 2, 103], Operations: ['88+15=103'] Exploring Operation: 18-2=16, Resulting Numbers: [103, 16] Generated Node #0,2,0: 94:[103, 16] Operation: 18-2=16 Exploring Operation: 103-18=85, Resulting Numbers: [2, 85] Generated Node #0,2,1: 94:[2, 85] Operation: 103-18=85 Exploring Operation: 18*2=36, Resulting Numbers: [103, 36] Generated Node #0,2,2: 94:[103, 36] Operation: 18*2=36 Exploring Operation: 18/2=9, Resulting Numbers: [103, 9] Generated Node #0,2,3: 94:[103, 9] Operation: 18/2=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[2, 85], Operations: ['88+15=103', '103-18=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,94 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[103, 9], Operations: ['88+15=103', '18/2=9'] Exploring Operation: 103*9=927, Resulting Numbers: [927] 927,94 unequal: No Solution Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 18, 2, 15], Operations: [] Exploring Operation: 88+15=103, Resulting Numbers: [18, 2, 103] Generated Node #0,2: 94:[18, 2, 103] Operation: 88+15=103 Moving to Node #0,2 Current State: 94:[18, 2, 103], Operations: ['88+15=103'] Exploring Operation: 18/2=9, Resulting Numbers: [103, 9] Generated Node #0,2,3: 94:[103, 9] Operation: 18/2=9 Moving to Node #0,2,3 Current State: 94:[103, 9], Operations: ['88+15=103', '18/2=9'] Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 7, 59, 74, 43 ]
62
[ "59+74=133", "133/7=19", "43+19=62" ]
Current State: 62:[7, 59, 74, 43], Operations: [] Exploring Operation: 59+74=133, Resulting Numbers: [7, 43, 133] Generated Node #2: [7, 43, 133] from Operation: 59+74=133 Current State: 62:[7, 43, 133], Operations: ['59+74=133'] Exploring Operation: 133/7=19, Resulting Numbers: [43, 19] Generated Node #3: [43, 19] from Operation: 133/7=19 Current State: 62:[43, 19], Operations: ['59+74=133', '133/7=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[7, 59, 74, 43], Operations: [] Exploring Operation: 74-7=67, Resulting Numbers: [59, 43, 67] Generated Node #0,0: 62:[59, 43, 67] Operation: 74-7=67 Exploring Operation: 74-43=31, Resulting Numbers: [7, 59, 31] Generated Node #0,1: 62:[7, 59, 31] Operation: 74-43=31 Exploring Operation: 7+43=50, Resulting Numbers: [59, 74, 50] Generated Node #0,2: 62:[59, 74, 50] Operation: 7+43=50 Exploring Operation: 43-7=36, Resulting Numbers: [59, 74, 36] Generated Node #0,3: 62:[59, 74, 36] Operation: 43-7=36 Moving to Node #0,1 Current State: 62:[7, 59, 31], Operations: ['74-43=31'] Exploring Operation: 7+59=66, Resulting Numbers: [31, 66] Generated Node #0,1,0: 62:[31, 66] Operation: 7+59=66 Exploring Operation: 59-31=28, Resulting Numbers: [7, 28] Generated Node #0,1,1: 62:[7, 28] Operation: 59-31=28 Exploring Operation: 7+31=38, Resulting Numbers: [59, 38] Generated Node #0,1,2: 62:[59, 38] Operation: 7+31=38 Exploring Operation: 59-7=52, Resulting Numbers: [31, 52] Generated Node #0,1,3: 62:[31, 52] Operation: 59-7=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[31, 66], Operations: ['74-43=31', '7+59=66'] Exploring Operation: 31*66=2046, Resulting Numbers: [2046] 2046,62 unequal: No Solution Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[7, 28], Operations: ['74-43=31', '59-31=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,62 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[59, 38], Operations: ['74-43=31', '7+31=38'] Exploring Operation: 59*38=2242, Resulting Numbers: [2242] 2242,62 unequal: No Solution Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[31, 52], Operations: ['74-43=31', '59-7=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,62 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 62:[59, 74, 36], Operations: ['43-7=36'] Exploring Operation: 59+36=95, Resulting Numbers: [74, 95] Generated Node #0,3,0: 62:[74, 95] Operation: 59+36=95 Exploring Operation: 74-59=15, Resulting Numbers: [36, 15] Generated Node #0,3,1: 62:[36, 15] Operation: 74-59=15 Exploring Operation: 74-36=38, Resulting Numbers: [59, 38] Generated Node #0,3,2: 62:[59, 38] Operation: 74-36=38 Exploring Operation: 59-36=23, Resulting Numbers: [74, 23] Generated Node #0,3,3: 62:[74, 23] Operation: 59-36=23 Moving to Node #0,0 Current State: 62:[59, 43, 67], Operations: ['74-7=67'] Exploring Operation: 67-43=24, Resulting Numbers: [59, 24] Generated Node #0,0,0: 62:[59, 24] Operation: 67-43=24 Exploring Operation: 59+43=102, Resulting Numbers: [67, 102] Generated Node #0,0,1: 62:[67, 102] Operation: 59+43=102 Exploring Operation: 59-43=16, Resulting Numbers: [67, 16] Generated Node #0,0,2: 62:[67, 16] Operation: 59-43=16 Exploring Operation: 67-59=8, Resulting Numbers: [43, 8] Generated Node #0,0,3: 62:[43, 8] Operation: 67-59=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[59, 24], Operations: ['74-7=67', '67-43=24'] Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,62 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 62:[43, 8], Operations: ['74-7=67', '67-59=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,62 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[67, 16], Operations: ['74-7=67', '59-43=16'] Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 67*16=1072, Resulting Numbers: [1072] 1072,62 unequal: No Solution Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[67, 102], Operations: ['74-7=67', '59+43=102'] Exploring Operation: 67+102=169, Resulting Numbers: [169] 169,62 unequal: No Solution Exploring Operation: 102-67=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 67*102=6834, Resulting Numbers: [6834] 6834,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 62:[59, 74, 50], Operations: ['7+43=50'] Exploring Operation: 74-50=24, Resulting Numbers: [59, 24] Generated Node #0,2,0: 62:[59, 24] Operation: 74-50=24 Exploring Operation: 59+50=109, Resulting Numbers: [74, 109] Generated Node #0,2,1: 62:[74, 109] Operation: 59+50=109 Exploring Operation: 59-50=9, Resulting Numbers: [74, 9] Generated Node #0,2,2: 62:[74, 9] Operation: 59-50=9 Exploring Operation: 74-59=15, Resulting Numbers: [50, 15] Generated Node #0,2,3: 62:[50, 15] Operation: 74-59=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[59, 24], Operations: ['7+43=50', '74-50=24'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,62 unequal: No Solution Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[74, 9], Operations: ['7+43=50', '59-50=9'] Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[50, 15], Operations: ['7+43=50', '74-59=15'] Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 50*15=750, Resulting Numbers: [750] 750,62 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[74, 109], Operations: ['7+43=50', '59+50=109'] Exploring Operation: 74*109=8066, Resulting Numbers: [8066] 8066,62 unequal: No Solution Exploring Operation: 109-74=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 74+109=183, Resulting Numbers: [183] 183,62 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: 62:[59, 38], Operations: ['43-7=36', '74-36=38'] Exploring Operation: 59*38=2242, Resulting Numbers: [2242] 2242,62 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[36, 15], Operations: ['43-7=36', '74-59=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,62 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[74, 23], Operations: ['43-7=36', '59-36=23'] Exploring Operation: 74*23=1702, Resulting Numbers: [1702] 1702,62 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[74, 95], Operations: ['43-7=36', '59+36=95'] Exploring Operation: 74*95=7030, Resulting Numbers: [7030] 7030,62 unequal: No Solution Exploring Operation: 74+95=169, Resulting Numbers: [169] 169,62 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,62 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 19, 25, 41, 30 ]
23
[ "19+41=60", "60/30=2", "25-2=23" ]
Current State: 23:[19, 25, 41, 30], Operations: [] Exploring Operation: 19+41=60, Resulting Numbers: [25, 30, 60] Generated Node #2: [25, 30, 60] from Operation: 19+41=60 Current State: 23:[25, 30, 60], Operations: ['19+41=60'] Exploring Operation: 60/30=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 60/30=2 Current State: 23:[25, 2], Operations: ['19+41=60', '60/30=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[19, 25, 41, 30], Operations: [] Exploring Operation: 41-25=16, Resulting Numbers: [19, 30, 16] Generated Node #0,0: 23:[19, 30, 16] Operation: 41-25=16 Exploring Operation: 41-19=22, Resulting Numbers: [25, 30, 22] Generated Node #0,1: 23:[25, 30, 22] Operation: 41-19=22 Moving to Node #0,1 Current State: 23:[25, 30, 22], Operations: ['41-19=22'] Exploring Operation: 30-25=5, Resulting Numbers: [22, 5] Generated Node #0,1,0: 23:[22, 5] Operation: 30-25=5 Exploring Operation: 30-22=8, Resulting Numbers: [25, 8] Generated Node #0,1,1: 23:[25, 8] Operation: 30-22=8 Moving to Node #0,0 Current State: 23:[19, 30, 16], Operations: ['41-25=16'] Exploring Operation: 30-16=14, Resulting Numbers: [19, 14] Generated Node #0,0,0: 23:[19, 14] Operation: 30-16=14 Exploring Operation: 30-19=11, Resulting Numbers: [16, 11] Generated Node #0,0,1: 23:[16, 11] Operation: 30-19=11 Moving to Node #0,0,0 Current State: 23:[19, 14], Operations: ['41-25=16', '30-16=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[25, 8], Operations: ['41-19=22', '30-22=8'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[22, 5], Operations: ['41-19=22', '30-25=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[16, 11], Operations: ['41-25=16', '30-19=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,23 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 25, 87, 19, 45 ]
22
[ "25-19=6", "87+45=132", "132/6=22" ]
Current State: 22:[25, 87, 19, 45], Operations: [] Exploring Operation: 25-19=6, Resulting Numbers: [87, 45, 6] Generated Node #2: [87, 45, 6] from Operation: 25-19=6 Current State: 22:[87, 45, 6], Operations: ['25-19=6'] Exploring Operation: 87+45=132, Resulting Numbers: [6, 132] Generated Node #3: [6, 132] from Operation: 87+45=132 Current State: 22:[6, 132], Operations: ['25-19=6', '87+45=132'] Exploring Operation: 132/6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[25, 87, 19, 45], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [25, 19, 42] Generated Node #0,0: 22:[25, 19, 42] Operation: 87-45=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[25, 19, 42], Operations: ['87-45=42'] Exploring Operation: 42-19=23, Resulting Numbers: [25, 23] Generated Node #0,0,0: 22:[25, 23] Operation: 42-19=23 Moving to Node #0,0,0 Current State: 22:[25, 23], Operations: ['87-45=42', '42-19=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 54, 96, 80, 49 ]
11
[ "96-54=42", "80-49=31", "42-31=11" ]
Current State: 11:[54, 96, 80, 49], Operations: [] Exploring Operation: 96-54=42, Resulting Numbers: [80, 49, 42] Generated Node #2: [80, 49, 42] from Operation: 96-54=42 Current State: 11:[80, 49, 42], Operations: ['96-54=42'] Exploring Operation: 80-49=31, Resulting Numbers: [42, 31] Generated Node #3: [42, 31] from Operation: 80-49=31 Current State: 11:[42, 31], Operations: ['96-54=42', '80-49=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[54, 96, 80, 49], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [54, 49, 16] Generated Node #0,0: 11:[54, 49, 16] Operation: 96-80=16 Exploring Operation: 96-54=42, Resulting Numbers: [80, 49, 42] Generated Node #0,1: 11:[80, 49, 42] Operation: 96-54=42 Exploring Operation: 80-54=26, Resulting Numbers: [96, 49, 26] Generated Node #0,2: 11:[96, 49, 26] Operation: 80-54=26 Exploring Operation: 96-49=47, Resulting Numbers: [54, 80, 47] Generated Node #0,3: 11:[54, 80, 47] Operation: 96-49=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[54, 49, 16], Operations: ['96-80=16'] Exploring Operation: 54+49=103, Resulting Numbers: [16, 103] Generated Node #0,0,0: 11:[16, 103] Operation: 54+49=103 Exploring Operation: 54-49=5, Resulting Numbers: [16, 5] Generated Node #0,0,1: 11:[16, 5] Operation: 54-49=5 Exploring Operation: 54-16=38, Resulting Numbers: [49, 38] Generated Node #0,0,2: 11:[49, 38] Operation: 54-16=38 Exploring Operation: 49-16=33, Resulting Numbers: [54, 33] Generated Node #0,0,3: 11:[54, 33] Operation: 49-16=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[16, 5], Operations: ['96-80=16', '54-49=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[54, 96, 80, 49], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [54, 49, 16] Generated Node #0,0: 11:[54, 49, 16] Operation: 96-80=16 Moving to Node #0,0 Current State: 11:[54, 49, 16], Operations: ['96-80=16'] Exploring Operation: 54-49=5, Resulting Numbers: [16, 5] Generated Node #0,0,1: 11:[16, 5] Operation: 54-49=5 Moving to Node #0,0,1 Current State: 11:[16, 5], Operations: ['96-80=16', '54-49=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 94, 23, 8, 1 ]
64
[ "94-23=71", "8-1=7", "71-7=64" ]
Current State: 64:[94, 23, 8, 1], Operations: [] Exploring Operation: 94-23=71, Resulting Numbers: [8, 1, 71] Generated Node #2: [8, 1, 71] from Operation: 94-23=71 Current State: 64:[8, 1, 71], Operations: ['94-23=71'] Exploring Operation: 8-1=7, Resulting Numbers: [71, 7] Generated Node #3: [71, 7] from Operation: 8-1=7 Current State: 64:[71, 7], Operations: ['94-23=71', '8-1=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[94, 23, 8, 1], Operations: [] Exploring Operation: 23+8=31, Resulting Numbers: [94, 1, 31] Generated Node #0,0: 64:[94, 1, 31] Operation: 23+8=31 Exploring Operation: 94-23=71, Resulting Numbers: [8, 1, 71] Generated Node #0,1: 64:[8, 1, 71] Operation: 94-23=71 Exploring Operation: 94-8=86, Resulting Numbers: [23, 1, 86] Generated Node #0,2: 64:[23, 1, 86] Operation: 94-8=86 Moving to Node #0,1 Current State: 64:[8, 1, 71], Operations: ['94-23=71'] Exploring Operation: 8*1=8, Resulting Numbers: [71, 8] Generated Node #0,1,0: 64:[71, 8] Operation: 8*1=8 Exploring Operation: 71-8=63, Resulting Numbers: [1, 63] Generated Node #0,1,1: 64:[1, 63] Operation: 71-8=63 Exploring Operation: 71-1=70, Resulting Numbers: [8, 70] Generated Node #0,1,2: 64:[8, 70] Operation: 71-1=70 Moving to Node #0,2 Current State: 64:[23, 1, 86], Operations: ['94-8=86'] Exploring Operation: 86-23=63, Resulting Numbers: [1, 63] Generated Node #0,2,0: 64:[1, 63] Operation: 86-23=63 Exploring Operation: 23-1=22, Resulting Numbers: [86, 22] Generated Node #0,2,1: 64:[86, 22] Operation: 23-1=22 Exploring Operation: 86-1=85, Resulting Numbers: [23, 85] Generated Node #0,2,2: 64:[23, 85] Operation: 86-1=85 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[1, 63], Operations: ['94-8=86', '86-23=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[94, 23, 8, 1], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [23, 1, 86] Generated Node #0,2: 64:[23, 1, 86] Operation: 94-8=86 Moving to Node #0,2 Current State: 64:[23, 1, 86], Operations: ['94-8=86'] Exploring Operation: 86-23=63, Resulting Numbers: [1, 63] Generated Node #0,2,0: 64:[1, 63] Operation: 86-23=63 Moving to Node #0,2,0 Current State: 64:[1, 63], Operations: ['94-8=86', '86-23=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 44, 55, 52, 43 ]
76
[ "52+43=95", "44*95=4180", "4180/55=76" ]
Current State: 76:[44, 55, 52, 43], Operations: [] Exploring Operation: 52+43=95, Resulting Numbers: [44, 55, 95] Generated Node #2: [44, 55, 95] from Operation: 52+43=95 Current State: 76:[44, 55, 95], Operations: ['52+43=95'] Exploring Operation: 44*95=4180, Resulting Numbers: [55, 4180] Generated Node #3: [55, 4180] from Operation: 44*95=4180 Current State: 76:[55, 4180], Operations: ['52+43=95', '44*95=4180'] Exploring Operation: 4180/55=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[44, 55, 52, 43], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [44, 52, 12] Generated Node #0,0: 76:[44, 52, 12] Operation: 55-43=12 Exploring Operation: 52-44=8, Resulting Numbers: [55, 43, 8] Generated Node #0,1: 76:[55, 43, 8] Operation: 52-44=8 Exploring Operation: 55-52=3, Resulting Numbers: [44, 43, 3] Generated Node #0,2: 76:[44, 43, 3] Operation: 55-52=3 Exploring Operation: 55-44=11, Resulting Numbers: [52, 43, 11] Generated Node #0,3: 76:[52, 43, 11] Operation: 55-44=11 Moving to Node #0,2 Current State: 76:[44, 43, 3], Operations: ['55-52=3'] Exploring Operation: 44-3=41, Resulting Numbers: [43, 41] Generated Node #0,2,0: 76:[43, 41] Operation: 44-3=41 Exploring Operation: 44-43=1, Resulting Numbers: [3, 1] Generated Node #0,2,1: 76:[3, 1] Operation: 44-43=1 Exploring Operation: 43-3=40, Resulting Numbers: [44, 40] Generated Node #0,2,2: 76:[44, 40] Operation: 43-3=40 Exploring Operation: 44+43=87, Resulting Numbers: [3, 87] Generated Node #0,2,3: 76:[3, 87] Operation: 44+43=87 Moving to Node #0,3 Current State: 76:[52, 43, 11], Operations: ['55-44=11'] Exploring Operation: 43-11=32, Resulting Numbers: [52, 32] Generated Node #0,3,0: 76:[52, 32] Operation: 43-11=32 Exploring Operation: 52-11=41, Resulting Numbers: [43, 41] Generated Node #0,3,1: 76:[43, 41] Operation: 52-11=41 Exploring Operation: 52-43=9, Resulting Numbers: [11, 9] Generated Node #0,3,2: 76:[11, 9] Operation: 52-43=9 Exploring Operation: 52+11=63, Resulting Numbers: [43, 63] Generated Node #0,3,3: 76:[43, 63] Operation: 52+11=63 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[43, 41], Operations: ['55-44=11', '52-11=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,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:[11, 9], Operations: ['55-44=11', '52-43=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,76 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,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:[43, 63], Operations: ['55-44=11', '52+11=63'] Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,76 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,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,0 Current State: 76:[52, 32], Operations: ['55-44=11', '43-11=32'] Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,76 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: 76:[55, 43, 8], Operations: ['52-44=8'] Exploring Operation: 55-43=12, Resulting Numbers: [8, 12] Generated Node #0,1,0: 76:[8, 12] Operation: 55-43=12 Exploring Operation: 55+8=63, Resulting Numbers: [43, 63] Generated Node #0,1,1: 76:[43, 63] Operation: 55+8=63 Exploring Operation: 43-8=35, Resulting Numbers: [55, 35] Generated Node #0,1,2: 76:[55, 35] Operation: 43-8=35 Exploring Operation: 55-8=47, Resulting Numbers: [43, 47] Generated Node #0,1,3: 76:[43, 47] Operation: 55-8=47 Moving to Node #0,0 Current State: 76:[44, 52, 12], Operations: ['55-43=12'] Exploring Operation: 52-44=8, Resulting Numbers: [12, 8] Generated Node #0,0,0: 76:[12, 8] Operation: 52-44=8 Exploring Operation: 52+12=64, Resulting Numbers: [44, 64] Generated Node #0,0,1: 76:[44, 64] Operation: 52+12=64 Exploring Operation: 52-12=40, Resulting Numbers: [44, 40] Generated Node #0,0,2: 76:[44, 40] Operation: 52-12=40 Exploring Operation: 44-12=32, Resulting Numbers: [52, 32] Generated Node #0,0,3: 76:[52, 32] Operation: 44-12=32 Moving to Node #0,2,1 Current State: 76:[3, 1], Operations: ['55-52=3', '44-43=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[44, 40], Operations: ['55-52=3', '43-3=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,76 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[43, 41], Operations: ['55-52=3', '44-3=41'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[44, 40], Operations: ['55-43=12', '52-12=40'] Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,76 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[8, 12], Operations: ['52-44=8', '55-43=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[12, 8], Operations: ['55-43=12', '52-44=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[3, 87], Operations: ['55-52=3', '44+43=87'] Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[43, 47], Operations: ['52-44=8', '55-8=47'] Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 43*47=2021, Resulting Numbers: [2021] 2021,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[44, 64], Operations: ['55-43=12', '52+12=64'] Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,76 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,76 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[43, 63], Operations: ['52-44=8', '55+8=63'] Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,76 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[55, 35], Operations: ['52-44=8', '43-8=35'] Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,76 unequal: No Solution Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[52, 32], Operations: ['55-43=12', '44-12=32'] Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,76 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,76 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 65, 36, 38, 91 ]
52
[ "91-65=26", "38-36=2", "26*2=52" ]
Current State: 52:[65, 36, 38, 91], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [36, 38, 26] Generated Node #2: [36, 38, 26] from Operation: 91-65=26 Current State: 52:[36, 38, 26], Operations: ['91-65=26'] Exploring Operation: 38-36=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 38-36=2 Current State: 52:[26, 2], Operations: ['91-65=26', '38-36=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[65, 36, 38, 91], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [36, 38, 26] Generated Node #0,0: 52:[36, 38, 26] Operation: 91-65=26 Moving to Node #0,0 Current State: 52:[36, 38, 26], Operations: ['91-65=26'] Exploring Operation: 38-36=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 38-36=2 Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['91-65=26', '38-36=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[65, 36, 38, 91], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [36, 38, 26] Generated Node #0,0: 52:[36, 38, 26] Operation: 91-65=26 Moving to Node #0,0 Current State: 52:[36, 38, 26], Operations: ['91-65=26'] Exploring Operation: 38-36=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 38-36=2 Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['91-65=26', '38-36=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 48, 63, 6, 99 ]
66
[ "48-6=42", "99*42=4158", "4158/63=66" ]
Current State: 66:[48, 63, 6, 99], Operations: [] Exploring Operation: 48-6=42, Resulting Numbers: [63, 99, 42] Generated Node #2: [63, 99, 42] from Operation: 48-6=42 Current State: 66:[63, 99, 42], Operations: ['48-6=42'] Exploring Operation: 99*42=4158, Resulting Numbers: [63, 4158] Generated Node #3: [63, 4158] from Operation: 99*42=4158 Current State: 66:[63, 4158], Operations: ['48-6=42', '99*42=4158'] Exploring Operation: 4158/63=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[48, 63, 6, 99], Operations: [] Exploring Operation: 99-48=51, Resulting Numbers: [63, 6, 51] Generated Node #0,0: 66:[63, 6, 51] Operation: 99-48=51 Exploring Operation: 99-63=36, Resulting Numbers: [48, 6, 36] Generated Node #0,1: 66:[48, 6, 36] Operation: 99-63=36 Exploring Operation: 63-48=15, Resulting Numbers: [6, 99, 15] Generated Node #0,2: 66:[6, 99, 15] Operation: 63-48=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[63, 6, 51], Operations: ['99-48=51'] Exploring Operation: 51-6=45, Resulting Numbers: [63, 45] Generated Node #0,0,0: 66:[63, 45] Operation: 51-6=45 Exploring Operation: 6+51=57, Resulting Numbers: [63, 57] Generated Node #0,0,1: 66:[63, 57] Operation: 6+51=57 Exploring Operation: 63-51=12, Resulting Numbers: [6, 12] Generated Node #0,0,2: 66:[6, 12] Operation: 63-51=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[6, 12], Operations: ['99-48=51', '63-51=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[63, 57], Operations: ['99-48=51', '6+51=57'] Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,66 unequal: No Solution Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[63, 45], Operations: ['99-48=51', '51-6=45'] Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[48, 6, 36], Operations: ['99-63=36'] Exploring Operation: 48/6=8, Resulting Numbers: [36, 8] Generated Node #0,1,0: 66:[36, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [36, 42] Generated Node #0,1,1: 66:[36, 42] Operation: 48-6=42 Exploring Operation: 48-36=12, Resulting Numbers: [6, 12] Generated Node #0,1,2: 66:[6, 12] Operation: 48-36=12 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[6, 12], Operations: ['99-63=36', '48-36=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[36, 8], Operations: ['99-63=36', '48/6=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,66 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[36, 42], Operations: ['99-63=36', '48-6=42'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[6, 99, 15], Operations: ['63-48=15'] Exploring Operation: 99-6=93, Resulting Numbers: [15, 93] Generated Node #0,2,0: 66:[15, 93] Operation: 99-6=93 Exploring Operation: 6+15=21, Resulting Numbers: [99, 21] Generated Node #0,2,1: 66:[99, 21] Operation: 6+15=21 Exploring Operation: 99-15=84, Resulting Numbers: [6, 84] Generated Node #0,2,2: 66:[6, 84] Operation: 99-15=84 Moving to Node #0,2,2 Current State: 66:[6, 84], Operations: ['63-48=15', '99-15=84'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 6+84=90, Resulting Numbers: [90] 90,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[15, 93], Operations: ['63-48=15', '99-6=93'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 15*93=1395, Resulting Numbers: [1395] 1395,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[99, 21], Operations: ['63-48=15', '6+15=21'] Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,66 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,66 unequal: No Solution Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,66 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
[ 24, 10, 17, 35 ]
38
[ "24-10=14", "17+35=52", "52-14=38" ]
Current State: 38:[24, 10, 17, 35], Operations: [] Exploring Operation: 24-10=14, Resulting Numbers: [17, 35, 14] Generated Node #2: [17, 35, 14] from Operation: 24-10=14 Current State: 38:[17, 35, 14], Operations: ['24-10=14'] Exploring Operation: 17+35=52, Resulting Numbers: [14, 52] Generated Node #3: [14, 52] from Operation: 17+35=52 Current State: 38:[14, 52], Operations: ['24-10=14', '17+35=52'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[24, 10, 17, 35], Operations: [] Exploring Operation: 24+10=34, Resulting Numbers: [17, 35, 34] Generated Node #0,0: 38:[17, 35, 34] Operation: 24+10=34 Moving to Node #0,0 Current State: 38:[17, 35, 34], Operations: ['24+10=34'] Exploring Operation: 34/17=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 38:[35, 2] Operation: 34/17=2 Moving to Node #0,0,0 Current State: 38:[35, 2], Operations: ['24+10=34', '34/17=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 11, 83, 50 ]
31
[ "11-9=2", "83-50=33", "33-2=31" ]
Current State: 31:[9, 11, 83, 50], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [83, 50, 2] Generated Node #2: [83, 50, 2] from Operation: 11-9=2 Current State: 31:[83, 50, 2], Operations: ['11-9=2'] Exploring Operation: 83-50=33, Resulting Numbers: [2, 33] Generated Node #3: [2, 33] from Operation: 83-50=33 Current State: 31:[2, 33], Operations: ['11-9=2', '83-50=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[9, 11, 83, 50], Operations: [] Exploring Operation: 9+11=20, Resulting Numbers: [83, 50, 20] Generated Node #0,0: 31:[83, 50, 20] Operation: 9+11=20 Exploring Operation: 50-9=41, Resulting Numbers: [11, 83, 41] Generated Node #0,1: 31:[11, 83, 41] Operation: 50-9=41 Exploring Operation: 83-9=74, Resulting Numbers: [11, 50, 74] Generated Node #0,2: 31:[11, 50, 74] Operation: 83-9=74 Exploring Operation: 83-50=33, Resulting Numbers: [9, 11, 33] Generated Node #0,3: 31:[9, 11, 33] Operation: 83-50=33 Exploring Operation: 83-11=72, Resulting Numbers: [9, 50, 72] Generated Node #0,4: 31:[9, 50, 72] Operation: 83-11=72 Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[9, 11, 33], Operations: ['83-50=33'] Exploring Operation: 9+11=20, Resulting Numbers: [33, 20] Generated Node #0,3,0: 31:[33, 20] Operation: 9+11=20 Exploring Operation: 33-9=24, Resulting Numbers: [11, 24] Generated Node #0,3,1: 31:[11, 24] Operation: 33-9=24 Exploring Operation: 9+33=42, Resulting Numbers: [11, 42] Generated Node #0,3,2: 31:[11, 42] Operation: 9+33=42 Exploring Operation: 11-9=2, Resulting Numbers: [33, 2] Generated Node #0,3,3: 31:[33, 2] Operation: 11-9=2 Exploring Operation: 33-11=22, Resulting Numbers: [9, 22] Generated Node #0,3,4: 31:[9, 22] Operation: 33-11=22 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[33, 20], Operations: ['83-50=33', '9+11=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[11, 24], Operations: ['83-50=33', '33-9=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,31 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[11, 42], Operations: ['83-50=33', '9+33=42'] Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,31 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[9, 11, 83, 50], Operations: [] Exploring Operation: 83-50=33, Resulting Numbers: [9, 11, 33] Generated Node #0,3: 31:[9, 11, 33] Operation: 83-50=33 Moving to Node #0,3 Current State: 31:[9, 11, 33], Operations: ['83-50=33'] Exploring Operation: 9+33=42, Resulting Numbers: [11, 42] Generated Node #0,3,2: 31:[11, 42] Operation: 9+33=42 Moving to Node #0,3,2 Current State: 31:[11, 42], Operations: ['83-50=33', '9+33=42'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 61, 71, 29, 65 ]
15
[ "61+29=90", "71-65=6", "90/6=15" ]
Current State: 15:[61, 71, 29, 65], Operations: [] Exploring Operation: 61+29=90, Resulting Numbers: [71, 65, 90] Generated Node #2: [71, 65, 90] from Operation: 61+29=90 Current State: 15:[71, 65, 90], Operations: ['61+29=90'] Exploring Operation: 71-65=6, Resulting Numbers: [90, 6] Generated Node #3: [90, 6] from Operation: 71-65=6 Current State: 15:[90, 6], Operations: ['61+29=90', '71-65=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[61, 71, 29, 65], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [61, 29, 6] Generated Node #0,0: 15:[61, 29, 6] Operation: 71-65=6 Exploring Operation: 65-61=4, Resulting Numbers: [71, 29, 4] Generated Node #0,1: 15:[71, 29, 4] Operation: 65-61=4 Exploring Operation: 71-61=10, Resulting Numbers: [29, 65, 10] Generated Node #0,2: 15:[29, 65, 10] Operation: 71-61=10 Moving to Node #0,0 Current State: 15:[61, 29, 6], Operations: ['71-65=6'] Exploring Operation: 61-6=55, Resulting Numbers: [29, 55] Generated Node #0,0,0: 15:[29, 55] Operation: 61-6=55 Exploring Operation: 61-29=32, Resulting Numbers: [6, 32] Generated Node #0,0,1: 15:[6, 32] Operation: 61-29=32 Exploring Operation: 29-6=23, Resulting Numbers: [61, 23] Generated Node #0,0,2: 15:[61, 23] Operation: 29-6=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[6, 32], Operations: ['71-65=6', '61-29=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,15 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[29, 55], Operations: ['71-65=6', '61-6=55'] Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[61, 23], Operations: ['71-65=6', '29-6=23'] Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,15 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: 15:[29, 65, 10], Operations: ['71-61=10'] Exploring Operation: 29-10=19, Resulting Numbers: [65, 19] Generated Node #0,2,0: 15:[65, 19] Operation: 29-10=19 Exploring Operation: 65-29=36, Resulting Numbers: [10, 36] Generated Node #0,2,1: 15:[10, 36] Operation: 65-29=36 Exploring Operation: 65-10=55, Resulting Numbers: [29, 55] Generated Node #0,2,2: 15:[29, 55] Operation: 65-10=55 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[10, 36], Operations: ['71-61=10', '65-29=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[65, 19], Operations: ['71-61=10', '29-10=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,15 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[29, 55], Operations: ['71-61=10', '65-10=55'] Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,15 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,15 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: 15:[71, 29, 4], Operations: ['65-61=4'] Exploring Operation: 29-4=25, Resulting Numbers: [71, 25] Generated Node #0,1,0: 15:[71, 25] Operation: 29-4=25 Exploring Operation: 71-29=42, Resulting Numbers: [4, 42] Generated Node #0,1,1: 15:[4, 42] Operation: 71-29=42 Exploring Operation: 71-4=67, Resulting Numbers: [29, 67] Generated Node #0,1,2: 15:[29, 67] Operation: 71-4=67 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[4, 42], Operations: ['65-61=4', '71-29=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,15 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[71, 25], Operations: ['65-61=4', '29-4=25'] Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,15 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[29, 67], Operations: ['65-61=4', '71-4=67'] Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,15 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
[ 31, 70, 25, 30 ]
85
[ "30-25=5", "31*5=155", "155-70=85" ]
Current State: 85:[31, 70, 25, 30], Operations: [] Exploring Operation: 30-25=5, Resulting Numbers: [31, 70, 5] Generated Node #2: [31, 70, 5] from Operation: 30-25=5 Current State: 85:[31, 70, 5], Operations: ['30-25=5'] Exploring Operation: 31*5=155, Resulting Numbers: [70, 155] Generated Node #3: [70, 155] from Operation: 31*5=155 Current State: 85:[70, 155], Operations: ['30-25=5', '31*5=155'] Exploring Operation: 155-70=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[31, 70, 25, 30], Operations: [] Exploring Operation: 30-25=5, Resulting Numbers: [31, 70, 5] Generated Node #0,0: 85:[31, 70, 5] Operation: 30-25=5 Exploring Operation: 31-30=1, Resulting Numbers: [70, 25, 1] Generated Node #0,1: 85:[70, 25, 1] Operation: 31-30=1 Exploring Operation: 31-25=6, Resulting Numbers: [70, 30, 6] Generated Node #0,2: 85:[70, 30, 6] Operation: 31-25=6 Moving to Node #0,1 Current State: 85:[70, 25, 1], Operations: ['31-30=1'] Exploring Operation: 70+1=71, Resulting Numbers: [25, 71] Generated Node #0,1,0: 85:[25, 71] Operation: 70+1=71 Exploring Operation: 25-1=24, Resulting Numbers: [70, 24] Generated Node #0,1,1: 85:[70, 24] Operation: 25-1=24 Exploring Operation: 70+25=95, Resulting Numbers: [1, 95] Generated Node #0,1,2: 85:[1, 95] Operation: 70+25=95 Moving to Node #0,0 Current State: 85:[31, 70, 5], Operations: ['30-25=5'] Exploring Operation: 70/5=14, Resulting Numbers: [31, 14] Generated Node #0,0,0: 85:[31, 14] Operation: 70/5=14 Exploring Operation: 70-31=39, Resulting Numbers: [5, 39] Generated Node #0,0,1: 85:[5, 39] Operation: 70-31=39 Exploring Operation: 31+70=101, Resulting Numbers: [5, 101] Generated Node #0,0,2: 85:[5, 101] Operation: 31+70=101 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[5, 101], Operations: ['30-25=5', '31+70=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 5+101=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 5*101=505, Resulting Numbers: [505] 505,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[31, 14], Operations: ['30-25=5', '70/5=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,85 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[5, 39], Operations: ['30-25=5', '70-31=39'] Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,85 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,85 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,85 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: 85:[70, 30, 6], Operations: ['31-25=6'] Exploring Operation: 70+6=76, Resulting Numbers: [30, 76] Generated Node #0,2,0: 85:[30, 76] Operation: 70+6=76 Exploring Operation: 30/6=5, Resulting Numbers: [70, 5] Generated Node #0,2,1: 85:[70, 5] Operation: 30/6=5 Exploring Operation: 70+30=100, Resulting Numbers: [6, 100] Generated Node #0,2,2: 85:[6, 100] Operation: 70+30=100 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[70, 5], Operations: ['31-25=6', '30/6=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,85 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[6, 100], Operations: ['31-25=6', '70+30=100'] Exploring Operation: 100-6=94, Resulting Numbers: [94] 94,85 unequal: No Solution Exploring Operation: 6+100=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 6*100=600, Resulting Numbers: [600] 600,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[30, 76], Operations: ['31-25=6', '70+6=76'] Exploring Operation: 30+76=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 30*76=2280, Resulting Numbers: [2280] 2280,85 unequal: No Solution Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 85:[1, 95], Operations: ['31-30=1', '70+25=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[25, 71], Operations: ['31-30=1', '70+1=71'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[70, 24], Operations: ['31-30=1', '25-1=24'] Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,85 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,85 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 54, 69, 1, 98 ]
25
[ "54+69=123", "1*98=98", "123-98=25" ]
Current State: 25:[54, 69, 1, 98], Operations: [] Exploring Operation: 54+69=123, Resulting Numbers: [1, 98, 123] Generated Node #2: [1, 98, 123] from Operation: 54+69=123 Current State: 25:[1, 98, 123], Operations: ['54+69=123'] Exploring Operation: 1*98=98, Resulting Numbers: [123, 98] Generated Node #3: [123, 98] from Operation: 1*98=98 Current State: 25:[123, 98], Operations: ['54+69=123', '1*98=98'] Exploring Operation: 123-98=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[54, 69, 1, 98], Operations: [] Exploring Operation: 98-69=29, Resulting Numbers: [54, 1, 29] Generated Node #0,0: 25:[54, 1, 29] Operation: 98-69=29 Moving to Node #0,0 Current State: 25:[54, 1, 29], Operations: ['98-69=29'] Exploring Operation: 54-29=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 25:[1, 25] Operation: 54-29=25 Moving to Node #0,0,0 Current State: 25:[1, 25], Operations: ['98-69=29', '54-29=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[54, 69, 1, 98], Operations: [] Exploring Operation: 98-69=29, Resulting Numbers: [54, 1, 29] Generated Node #0,0: 25:[54, 1, 29] Operation: 98-69=29 Moving to Node #0,0 Current State: 25:[54, 1, 29], Operations: ['98-69=29'] Exploring Operation: 54-29=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 25:[1, 25] Operation: 54-29=25 Moving to Node #0,0,0 Current State: 25:[1, 25], Operations: ['98-69=29', '54-29=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 16, 51, 34, 47 ]
71
[ "16*51=816", "816/34=24", "47+24=71" ]
Current State: 71:[16, 51, 34, 47], Operations: [] Exploring Operation: 16*51=816, Resulting Numbers: [34, 47, 816] Generated Node #2: [34, 47, 816] from Operation: 16*51=816 Current State: 71:[34, 47, 816], Operations: ['16*51=816'] Exploring Operation: 816/34=24, Resulting Numbers: [47, 24] Generated Node #3: [47, 24] from Operation: 816/34=24 Current State: 71:[47, 24], Operations: ['16*51=816', '816/34=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[16, 51, 34, 47], Operations: [] Exploring Operation: 16+51=67, Resulting Numbers: [34, 47, 67] Generated Node #0,0: 71:[34, 47, 67] Operation: 16+51=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[34, 47, 67], Operations: ['16+51=67'] Exploring Operation: 34+47=81, Resulting Numbers: [67, 81] Generated Node #0,0,0: 71:[67, 81] Operation: 34+47=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[67, 81], Operations: ['16+51=67', '34+47=81'] Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 38, 97, 59 ]
83
[ "97-38=59", "59/59=1", "84-1=83" ]
Current State: 83:[84, 38, 97, 59], Operations: [] Exploring Operation: 97-38=59, Resulting Numbers: [84, 59, 59] Generated Node #2: [84, 59, 59] from Operation: 97-38=59 Current State: 83:[84, 59, 59], Operations: ['97-38=59'] Exploring Operation: 59/59=1, Resulting Numbers: [84, 1] Generated Node #3: [84, 1] from Operation: 59/59=1 Current State: 83:[84, 1], Operations: ['97-38=59', '59/59=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[84, 38, 97, 59], Operations: [] Exploring Operation: 84+38=122, Resulting Numbers: [97, 59, 122] Generated Node #0,0: 83:[97, 59, 122] Operation: 84+38=122 Exploring Operation: 38+59=97, Resulting Numbers: [84, 97, 97] Generated Node #0,1: 83:[84, 97, 97] Operation: 38+59=97 Exploring Operation: 38+97=135, Resulting Numbers: [84, 59, 135] Generated Node #0,2: 83:[84, 59, 135] Operation: 38+97=135 Exploring Operation: 84-38=46, Resulting Numbers: [97, 59, 46] Generated Node #0,3: 83:[97, 59, 46] Operation: 84-38=46 Exploring Operation: 97-38=59, Resulting Numbers: [84, 59, 59] Generated Node #0,4: 83:[84, 59, 59] Operation: 97-38=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[84, 97, 97], Operations: ['38+59=97'] Exploring Operation: 97/97=1, Resulting Numbers: [84, 1] Generated Node #0,1,0: 83:[84, 1] Operation: 97/97=1 Exploring Operation: 97-84=13, Resulting Numbers: [97, 13] Generated Node #0,1,1: 83:[97, 13] Operation: 97-84=13 Exploring Operation: 97-97=0, Resulting Numbers: [84, 0] Generated Node #0,1,2: 83:[84, 0] Operation: 97-97=0 Exploring Operation: 84+97=181, Resulting Numbers: [97, 181] Generated Node #0,1,3: 83:[97, 181] Operation: 84+97=181 Exploring Operation: 97-84=13, Resulting Numbers: [97, 13] Generated Node #0,1,4: 83:[97, 13] Operation: 97-84=13 Moving to Node #0,1,0 Current State: 83:[84, 1], Operations: ['38+59=97', '97/97=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,83 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[84, 38, 97, 59], Operations: [] Exploring Operation: 38+59=97, Resulting Numbers: [84, 97, 97] Generated Node #0,1: 83:[84, 97, 97] Operation: 38+59=97 Moving to Node #0,1 Current State: 83:[84, 97, 97], Operations: ['38+59=97'] Exploring Operation: 97/97=1, Resulting Numbers: [84, 1] Generated Node #0,1,0: 83:[84, 1] Operation: 97/97=1 Moving to Node #0,1,0 Current State: 83:[84, 1], Operations: ['38+59=97', '97/97=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 8, 97, 12, 33 ]
44
[ "97-8=89", "12+33=45", "89-45=44" ]
Current State: 44:[8, 97, 12, 33], Operations: [] Exploring Operation: 97-8=89, Resulting Numbers: [12, 33, 89] Generated Node #2: [12, 33, 89] from Operation: 97-8=89 Current State: 44:[12, 33, 89], Operations: ['97-8=89'] Exploring Operation: 12+33=45, Resulting Numbers: [89, 45] Generated Node #3: [89, 45] from Operation: 12+33=45 Current State: 44:[89, 45], Operations: ['97-8=89', '12+33=45'] Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[8, 97, 12, 33], Operations: [] Exploring Operation: 8+33=41, Resulting Numbers: [97, 12, 41] Generated Node #0,0: 44:[97, 12, 41] Operation: 8+33=41 Exploring Operation: 97-12=85, Resulting Numbers: [8, 33, 85] Generated Node #0,1: 44:[8, 33, 85] Operation: 97-12=85 Exploring Operation: 97-8=89, Resulting Numbers: [12, 33, 89] Generated Node #0,2: 44:[12, 33, 89] Operation: 97-8=89 Exploring Operation: 97-33=64, Resulting Numbers: [8, 12, 64] Generated Node #0,3: 44:[8, 12, 64] Operation: 97-33=64 Moving to Node #0,3 Current State: 44:[8, 12, 64], Operations: ['97-33=64'] Exploring Operation: 64-8=56, Resulting Numbers: [12, 56] Generated Node #0,3,0: 44:[12, 56] Operation: 64-8=56 Exploring Operation: 64-12=52, Resulting Numbers: [8, 52] Generated Node #0,3,1: 44:[8, 52] Operation: 64-12=52 Exploring Operation: 64/8=8, Resulting Numbers: [12, 8] Generated Node #0,3,2: 44:[12, 8] Operation: 64/8=8 Exploring Operation: 12-8=4, Resulting Numbers: [64, 4] Generated Node #0,3,3: 44:[64, 4] Operation: 12-8=4 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[12, 8], Operations: ['97-33=64', '64/8=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 44:[8, 52], Operations: ['97-33=64', '64-12=52'] Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,44 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[8, 97, 12, 33], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [8, 12, 64] Generated Node #0,3: 44:[8, 12, 64] Operation: 97-33=64 Moving to Node #0,3 Current State: 44:[8, 12, 64], Operations: ['97-33=64'] Exploring Operation: 64-12=52, Resulting Numbers: [8, 52] Generated Node #0,3,1: 44:[8, 52] Operation: 64-12=52 Moving to Node #0,3,1 Current State: 44:[8, 52], Operations: ['97-33=64', '64-12=52'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 98, 91, 72, 39 ]
70
[ "91*72=6552", "6552/39=168", "168-98=70" ]
Current State: 70:[98, 91, 72, 39], Operations: [] Exploring Operation: 91*72=6552, Resulting Numbers: [98, 39, 6552] Generated Node #2: [98, 39, 6552] from Operation: 91*72=6552 Current State: 70:[98, 39, 6552], Operations: ['91*72=6552'] Exploring Operation: 6552/39=168, Resulting Numbers: [98, 168] Generated Node #3: [98, 168] from Operation: 6552/39=168 Current State: 70:[98, 168], Operations: ['91*72=6552', '6552/39=168'] Exploring Operation: 168-98=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[98, 91, 72, 39], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [72, 39, 7] Generated Node #0,0: 70:[72, 39, 7] Operation: 98-91=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[72, 39, 7], Operations: ['98-91=7'] Exploring Operation: 72-39=33, Resulting Numbers: [7, 33] Generated Node #0,0,0: 70:[7, 33] Operation: 72-39=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[7, 33], Operations: ['98-91=7', '72-39=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 63, 91, 44, 50 ]
34
[ "91-63=28", "50-44=6", "28+6=34" ]
Current State: 34:[63, 91, 44, 50], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [44, 50, 28] Generated Node #2: [44, 50, 28] from Operation: 91-63=28 Current State: 34:[44, 50, 28], Operations: ['91-63=28'] Exploring Operation: 50-44=6, Resulting Numbers: [28, 6] Generated Node #3: [28, 6] from Operation: 50-44=6 Current State: 34:[28, 6], Operations: ['91-63=28', '50-44=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[63, 91, 44, 50], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [44, 50, 28] Generated Node #0,0: 34:[44, 50, 28] Operation: 91-63=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[44, 50, 28], Operations: ['91-63=28'] Exploring Operation: 50-44=6, Resulting Numbers: [28, 6] Generated Node #0,0,0: 34:[28, 6] Operation: 50-44=6 Moving to Node #0,0,0 Current State: 34:[28, 6], Operations: ['91-63=28', '50-44=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[63, 91, 44, 50], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [44, 50, 28] Generated Node #0,0: 34:[44, 50, 28] Operation: 91-63=28 Moving to Node #0,0 Current State: 34:[44, 50, 28], Operations: ['91-63=28'] Exploring Operation: 50-44=6, Resulting Numbers: [28, 6] Generated Node #0,0,0: 34:[28, 6] Operation: 50-44=6 Moving to Node #0,0,0 Current State: 34:[28, 6], Operations: ['91-63=28', '50-44=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 27, 84, 1, 40 ]
71
[ "27+84=111", "1*40=40", "111-40=71" ]
Current State: 71:[27, 84, 1, 40], Operations: [] Exploring Operation: 27+84=111, Resulting Numbers: [1, 40, 111] Generated Node #2: [1, 40, 111] from Operation: 27+84=111 Current State: 71:[1, 40, 111], Operations: ['27+84=111'] Exploring Operation: 1*40=40, Resulting Numbers: [111, 40] Generated Node #3: [111, 40] from Operation: 1*40=40 Current State: 71:[111, 40], Operations: ['27+84=111', '1*40=40'] Exploring Operation: 111-40=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[27, 84, 1, 40], Operations: [] Exploring Operation: 27+1=28, Resulting Numbers: [84, 40, 28] Generated Node #0,0: 71:[84, 40, 28] Operation: 27+1=28 Exploring Operation: 27+40=67, Resulting Numbers: [84, 1, 67] Generated Node #0,1: 71:[84, 1, 67] Operation: 27+40=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[84, 40, 28], Operations: ['27+1=28'] Exploring Operation: 40+28=68, Resulting Numbers: [84, 68] Generated Node #0,0,0: 71:[84, 68] Operation: 40+28=68 Exploring Operation: 84-28=56, Resulting Numbers: [40, 56] Generated Node #0,0,1: 71:[40, 56] Operation: 84-28=56 Moving to Node #0,0,0 Current State: 71:[84, 68], Operations: ['27+1=28', '40+28=68'] Exploring Operation: 84+68=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[40, 56], Operations: ['27+1=28', '84-28=56'] Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 40+56=96, Resulting Numbers: [96] 96,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[84, 1, 67], Operations: ['27+40=67'] Exploring Operation: 84-1=83, Resulting Numbers: [67, 83] Generated Node #0,1,0: 71:[67, 83] Operation: 84-1=83 Exploring Operation: 1+67=68, Resulting Numbers: [84, 68] Generated Node #0,1,1: 71:[84, 68] Operation: 1+67=68 Moving to Node #0,1,0 Current State: 71:[67, 83], Operations: ['27+40=67', '84-1=83'] Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,71 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[84, 68], Operations: ['27+40=67', '1+67=68'] Exploring Operation: 84+68=152, Resulting Numbers: [152] 152,71 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 11, 2, 67, 16 ]
47
[ "11+67=78", "16+78=94", "94/2=47" ]
Current State: 47:[11, 2, 67, 16], Operations: [] Exploring Operation: 11+67=78, Resulting Numbers: [2, 16, 78] Generated Node #2: [2, 16, 78] from Operation: 11+67=78 Current State: 47:[2, 16, 78], Operations: ['11+67=78'] Exploring Operation: 16+78=94, Resulting Numbers: [2, 94] Generated Node #3: [2, 94] from Operation: 16+78=94 Current State: 47:[2, 94], Operations: ['11+67=78', '16+78=94'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[11, 2, 67, 16], Operations: [] Exploring Operation: 2*16=32, Resulting Numbers: [11, 67, 32] Generated Node #0,0: 47:[11, 67, 32] Operation: 2*16=32 Exploring Operation: 11*2=22, Resulting Numbers: [67, 16, 22] Generated Node #0,1: 47:[67, 16, 22] Operation: 11*2=22 Moving to Node #0,0 Current State: 47:[11, 67, 32], Operations: ['2*16=32'] Exploring Operation: 67-11=56, Resulting Numbers: [32, 56] Generated Node #0,0,0: 47:[32, 56] Operation: 67-11=56 Exploring Operation: 11+32=43, Resulting Numbers: [67, 43] Generated Node #0,0,1: 47:[67, 43] Operation: 11+32=43 Moving to Node #0,1 Current State: 47:[67, 16, 22], Operations: ['11*2=22'] Exploring Operation: 67-16=51, Resulting Numbers: [22, 51] Generated Node #0,1,0: 47:[22, 51] Operation: 67-16=51 Exploring Operation: 16+22=38, Resulting Numbers: [67, 38] Generated Node #0,1,1: 47:[67, 38] Operation: 16+22=38 Moving to Node #0,0,0 Current State: 47:[32, 56], Operations: ['2*16=32', '67-11=56'] Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[67, 43], Operations: ['2*16=32', '11+32=43'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 67+43=110, Resulting Numbers: [110] 110,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[67, 38], Operations: ['11*2=22', '16+22=38'] Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[22, 51], Operations: ['11*2=22', '67-16=51'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,47 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 45, 1, 3, 57 ]
16
[ "45-1=44", "3+57=60", "60-44=16" ]
Current State: 16:[45, 1, 3, 57], Operations: [] Exploring Operation: 45-1=44, Resulting Numbers: [3, 57, 44] Generated Node #2: [3, 57, 44] from Operation: 45-1=44 Current State: 16:[3, 57, 44], Operations: ['45-1=44'] Exploring Operation: 3+57=60, Resulting Numbers: [44, 60] Generated Node #3: [44, 60] from Operation: 3+57=60 Current State: 16:[44, 60], Operations: ['45-1=44', '3+57=60'] Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[45, 1, 3, 57], Operations: [] Exploring Operation: 57-45=12, Resulting Numbers: [1, 3, 12] Generated Node #0,0: 16:[1, 3, 12] Operation: 57-45=12 Exploring Operation: 57/3=19, Resulting Numbers: [45, 1, 19] Generated Node #0,1: 16:[45, 1, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[1, 3, 12], Operations: ['57-45=12'] Exploring Operation: 12/3=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 16:[1, 4] Operation: 12/3=4 Exploring Operation: 3+12=15, Resulting Numbers: [1, 15] Generated Node #0,0,1: 16:[1, 15] Operation: 3+12=15 Moving to Node #0,0,0 Current State: 16:[1, 4], Operations: ['57-45=12', '12/3=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[1, 15], Operations: ['57-45=12', '3+12=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[45, 1, 3, 57], Operations: [] Exploring Operation: 57-45=12, Resulting Numbers: [1, 3, 12] Generated Node #0,0: 16:[1, 3, 12] Operation: 57-45=12 Moving to Node #0,0 Current State: 16:[1, 3, 12], Operations: ['57-45=12'] Exploring Operation: 3+12=15, Resulting Numbers: [1, 15] Generated Node #0,0,1: 16:[1, 15] Operation: 3+12=15 Moving to Node #0,0,1 Current State: 16:[1, 15], Operations: ['57-45=12', '3+12=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 17, 43, 12, 29 ]
77
[ "17+43=60", "29-12=17", "60+17=77" ]
Current State: 77:[17, 43, 12, 29], Operations: [] Exploring Operation: 17+43=60, Resulting Numbers: [12, 29, 60] Generated Node #2: [12, 29, 60] from Operation: 17+43=60 Current State: 77:[12, 29, 60], Operations: ['17+43=60'] Exploring Operation: 29-12=17, Resulting Numbers: [60, 17] Generated Node #3: [60, 17] from Operation: 29-12=17 Current State: 77:[60, 17], Operations: ['17+43=60', '29-12=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[17, 43, 12, 29], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [17, 12, 14] Generated Node #0,0: 77:[17, 12, 14] Operation: 43-29=14 Moving to Node #0,0 Current State: 77:[17, 12, 14], Operations: ['43-29=14'] Exploring Operation: 17-12=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 77:[14, 5] Operation: 17-12=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[14, 5], Operations: ['43-29=14', '17-12=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,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
sum_heuristic
[ 29, 58, 87, 37 ]
99
[ "29+37=66", "87*66=5742", "5742/58=99" ]
Current State: 99:[29, 58, 87, 37], Operations: [] Exploring Operation: 29+37=66, Resulting Numbers: [58, 87, 66] Generated Node #2: [58, 87, 66] from Operation: 29+37=66 Current State: 99:[58, 87, 66], Operations: ['29+37=66'] Exploring Operation: 87*66=5742, Resulting Numbers: [58, 5742] Generated Node #3: [58, 5742] from Operation: 87*66=5742 Current State: 99:[58, 5742], Operations: ['29+37=66', '87*66=5742'] Exploring Operation: 5742/58=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[29, 58, 87, 37], Operations: [] Exploring Operation: 87-58=29, Resulting Numbers: [29, 37, 29] Generated Node #0,0: 99:[29, 37, 29] Operation: 87-58=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[29, 37, 29], Operations: ['87-58=29'] Exploring Operation: 37-29=8, Resulting Numbers: [29, 8] Generated Node #0,0,0: 99:[29, 8] Operation: 37-29=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[29, 8], Operations: ['87-58=29', '37-29=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,99 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
[ 94, 44, 10, 8 ]
48
[ "94-44=50", "10-8=2", "50-2=48" ]
Current State: 48:[94, 44, 10, 8], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [10, 8, 50] Generated Node #2: [10, 8, 50] from Operation: 94-44=50 Current State: 48:[10, 8, 50], Operations: ['94-44=50'] Exploring Operation: 10-8=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 10-8=2 Current State: 48:[50, 2], Operations: ['94-44=50', '10-8=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[94, 44, 10, 8], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [44, 8, 84] Generated Node #0,0: 48:[44, 8, 84] Operation: 94-10=84 Exploring Operation: 94-44=50, Resulting Numbers: [10, 8, 50] Generated Node #0,1: 48:[10, 8, 50] Operation: 94-44=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[10, 8, 50], Operations: ['94-44=50'] Exploring Operation: 50/10=5, Resulting Numbers: [8, 5] Generated Node #0,1,0: 48:[8, 5] Operation: 50/10=5 Exploring Operation: 10-8=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 48:[50, 2] Operation: 10-8=2 Moving to Node #0,1,0 Current State: 48:[8, 5], Operations: ['94-44=50', '50/10=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[50, 2], Operations: ['94-44=50', '10-8=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[94, 44, 10, 8], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [10, 8, 50] Generated Node #0,1: 48:[10, 8, 50] Operation: 94-44=50 Moving to Node #0,1 Current State: 48:[10, 8, 50], Operations: ['94-44=50'] Exploring Operation: 10-8=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 48:[50, 2] Operation: 10-8=2 Moving to Node #0,1,1 Current State: 48:[50, 2], Operations: ['94-44=50', '10-8=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 86, 66, 58, 91 ]
40
[ "91-86=5", "66-58=8", "5*8=40" ]
Current State: 40:[86, 66, 58, 91], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [66, 58, 5] Generated Node #2: [66, 58, 5] from Operation: 91-86=5 Current State: 40:[66, 58, 5], Operations: ['91-86=5'] Exploring Operation: 66-58=8, Resulting Numbers: [5, 8] Generated Node #3: [5, 8] from Operation: 66-58=8 Current State: 40:[5, 8], Operations: ['91-86=5', '66-58=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[86, 66, 58, 91], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [86, 58, 25] Generated Node #0,0: 40:[86, 58, 25] Operation: 91-66=25 Exploring Operation: 86-66=20, Resulting Numbers: [58, 91, 20] Generated Node #0,1: 40:[58, 91, 20] Operation: 86-66=20 Exploring Operation: 91-86=5, Resulting Numbers: [66, 58, 5] Generated Node #0,2: 40:[66, 58, 5] Operation: 91-86=5 Moving to Node #0,2 Current State: 40:[66, 58, 5], Operations: ['91-86=5'] Exploring Operation: 66-58=8, Resulting Numbers: [5, 8] Generated Node #0,2,0: 40:[5, 8] Operation: 66-58=8 Exploring Operation: 66-5=61, Resulting Numbers: [58, 61] Generated Node #0,2,1: 40:[58, 61] Operation: 66-5=61 Exploring Operation: 58-5=53, Resulting Numbers: [66, 53] Generated Node #0,2,2: 40:[66, 53] Operation: 58-5=53 Moving to Node #0,0 Current State: 40:[86, 58, 25], Operations: ['91-66=25'] Exploring Operation: 86-58=28, Resulting Numbers: [25, 28] Generated Node #0,0,0: 40:[25, 28] Operation: 86-58=28 Exploring Operation: 86-25=61, Resulting Numbers: [58, 61] Generated Node #0,0,1: 40:[58, 61] Operation: 86-25=61 Exploring Operation: 58-25=33, Resulting Numbers: [86, 33] Generated Node #0,0,2: 40:[86, 33] Operation: 58-25=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[25, 28], Operations: ['91-66=25', '86-58=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[58, 61], Operations: ['91-66=25', '86-25=61'] Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 58*61=3538, Resulting Numbers: [3538] 3538,40 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,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,2 Current State: 40:[86, 33], Operations: ['91-66=25', '58-25=33'] Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 40:[58, 91, 20], Operations: ['86-66=20'] Exploring Operation: 91-58=33, Resulting Numbers: [20, 33] Generated Node #0,1,0: 40:[20, 33] Operation: 91-58=33 Exploring Operation: 58-20=38, Resulting Numbers: [91, 38] Generated Node #0,1,1: 40:[91, 38] Operation: 58-20=38 Exploring Operation: 91-20=71, Resulting Numbers: [58, 71] Generated Node #0,1,2: 40:[58, 71] Operation: 91-20=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[20, 33], Operations: ['86-66=20', '91-58=33'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[58, 71], Operations: ['86-66=20', '91-20=71'] Exploring Operation: 58*71=4118, Resulting Numbers: [4118] 4118,40 unequal: No Solution Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 58+71=129, Resulting Numbers: [129] 129,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[91, 38], Operations: ['86-66=20', '58-20=38'] Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 91*38=3458, Resulting Numbers: [3458] 3458,40 unequal: No Solution Exploring Operation: 91+38=129, Resulting Numbers: [129] 129,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 40:[5, 8], Operations: ['91-86=5', '66-58=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[86, 66, 58, 91], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [66, 58, 5] Generated Node #0,2: 40:[66, 58, 5] Operation: 91-86=5 Moving to Node #0,2 Current State: 40:[66, 58, 5], Operations: ['91-86=5'] Exploring Operation: 66-58=8, Resulting Numbers: [5, 8] Generated Node #0,2,0: 40:[5, 8] Operation: 66-58=8 Moving to Node #0,2,0 Current State: 40:[5, 8], Operations: ['91-86=5', '66-58=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 12, 7, 96, 84 ]
57
[ "7*84=588", "96+588=684", "684/12=57" ]
Current State: 57:[12, 7, 96, 84], Operations: [] Exploring Operation: 7*84=588, Resulting Numbers: [12, 96, 588] Generated Node #2: [12, 96, 588] from Operation: 7*84=588 Current State: 57:[12, 96, 588], Operations: ['7*84=588'] Exploring Operation: 96+588=684, Resulting Numbers: [12, 684] Generated Node #3: [12, 684] from Operation: 96+588=684 Current State: 57:[12, 684], Operations: ['7*84=588', '96+588=684'] Exploring Operation: 684/12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[12, 7, 96, 84], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [7, 84, 8] Generated Node #0,0: 57:[7, 84, 8] Operation: 96/12=8 Exploring Operation: 84/12=7, Resulting Numbers: [7, 96, 7] Generated Node #0,1: 57:[7, 96, 7] Operation: 84/12=7 Exploring Operation: 96-84=12, Resulting Numbers: [12, 7, 12] Generated Node #0,2: 57:[12, 7, 12] Operation: 96-84=12 Moving to Node #0,2 Current State: 57:[12, 7, 12], Operations: ['96-84=12'] Exploring Operation: 12/12=1, Resulting Numbers: [7, 1] Generated Node #0,2,0: 57:[7, 1] Operation: 12/12=1 Exploring Operation: 12-12=0, Resulting Numbers: [7, 0] Generated Node #0,2,1: 57:[7, 0] Operation: 12-12=0 Exploring Operation: 12+7=19, Resulting Numbers: [12, 19] Generated Node #0,2,2: 57:[12, 19] Operation: 12+7=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[7, 1], Operations: ['96-84=12', '12/12=1'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[7, 0], Operations: ['96-84=12', '12-12=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[12, 19], Operations: ['96-84=12', '12+7=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,57 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,57 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: 57:[7, 84, 8], Operations: ['96/12=8'] Exploring Operation: 84-8=76, Resulting Numbers: [7, 76] Generated Node #0,0,0: 57:[7, 76] Operation: 84-8=76 Exploring Operation: 84-7=77, Resulting Numbers: [8, 77] Generated Node #0,0,1: 57:[8, 77] Operation: 84-7=77 Exploring Operation: 84/7=12, Resulting Numbers: [8, 12] Generated Node #0,0,2: 57:[8, 12] Operation: 84/7=12 Moving to Node #0,1 Current State: 57:[7, 96, 7], Operations: ['84/12=7'] Exploring Operation: 96-7=89, Resulting Numbers: [7, 89] Generated Node #0,1,0: 57:[7, 89] Operation: 96-7=89 Exploring Operation: 96-7=89, Resulting Numbers: [7, 89] Generated Node #0,1,1: 57:[7, 89] Operation: 96-7=89 Exploring Operation: 7/7=1, Resulting Numbers: [96, 1] Generated Node #0,1,2: 57:[96, 1] Operation: 7/7=1 Moving to Node #0,0,2 Current State: 57:[8, 12], Operations: ['96/12=8', '84/7=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[7, 76], Operations: ['96/12=8', '84-8=76'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 7*76=532, Resulting Numbers: [532] 532,57 unequal: No Solution Exploring Operation: 7+76=83, Resulting Numbers: [83] 83,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[8, 77], Operations: ['96/12=8', '84-7=77'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 8*77=616, Resulting Numbers: [616] 616,57 unequal: No Solution Exploring Operation: 8+77=85, Resulting Numbers: [85] 85,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[7, 89], Operations: ['84/12=7', '96-7=89'] Exploring Operation: 7+89=96, Resulting Numbers: [96] 96,57 unequal: No Solution Exploring Operation: 7*89=623, Resulting Numbers: [623] 623,57 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[7, 89], Operations: ['84/12=7', '96-7=89'] Exploring Operation: 7*89=623, Resulting Numbers: [623] 623,57 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 7+89=96, Resulting Numbers: [96] 96,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[96, 1], Operations: ['84/12=7', '7/7=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,57 unequal: No Solution Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,57 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 75, 66, 5, 8 ]
73
[ "75/5=15", "66-8=58", "15+58=73" ]
Current State: 73:[75, 66, 5, 8], Operations: [] Exploring Operation: 75/5=15, Resulting Numbers: [66, 8, 15] Generated Node #2: [66, 8, 15] from Operation: 75/5=15 Current State: 73:[66, 8, 15], Operations: ['75/5=15'] Exploring Operation: 66-8=58, Resulting Numbers: [15, 58] Generated Node #3: [15, 58] from Operation: 66-8=58 Current State: 73:[15, 58], Operations: ['75/5=15', '66-8=58'] Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[75, 66, 5, 8], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [75, 66, 40] Generated Node #0,0: 73:[75, 66, 40] Operation: 5*8=40 Exploring Operation: 66+5=71, Resulting Numbers: [75, 8, 71] Generated Node #0,1: 73:[75, 8, 71] Operation: 66+5=71 Exploring Operation: 66+8=74, Resulting Numbers: [75, 5, 74] Generated Node #0,2: 73:[75, 5, 74] Operation: 66+8=74 Exploring Operation: 5+8=13, Resulting Numbers: [75, 66, 13] Generated Node #0,3: 73:[75, 66, 13] Operation: 5+8=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[75, 66, 40], Operations: ['5*8=40'] Exploring Operation: 66+40=106, Resulting Numbers: [75, 106] Generated Node #0,0,0: 73:[75, 106] Operation: 66+40=106 Exploring Operation: 75-40=35, Resulting Numbers: [66, 35] Generated Node #0,0,1: 73:[66, 35] Operation: 75-40=35 Exploring Operation: 75+40=115, Resulting Numbers: [66, 115] Generated Node #0,0,2: 73:[66, 115] Operation: 75+40=115 Exploring Operation: 66-40=26, Resulting Numbers: [75, 26] Generated Node #0,0,3: 73:[75, 26] Operation: 66-40=26 Moving to Node #0,0,0 Current State: 73:[75, 106], Operations: ['5*8=40', '66+40=106'] Exploring Operation: 75+106=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 106-75=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 75*106=7950, Resulting Numbers: [7950] 7950,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[66, 35], Operations: ['5*8=40', '75-40=35'] Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,73 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[75, 26], Operations: ['5*8=40', '66-40=26'] Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,73 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[66, 115], Operations: ['5*8=40', '75+40=115'] Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[75, 8, 71], Operations: ['66+5=71'] Exploring Operation: 71-8=63, Resulting Numbers: [75, 63] Generated Node #0,1,0: 73:[75, 63] Operation: 71-8=63 Exploring Operation: 75+8=83, Resulting Numbers: [71, 83] Generated Node #0,1,1: 73:[71, 83] Operation: 75+8=83 Exploring Operation: 75-8=67, Resulting Numbers: [71, 67] Generated Node #0,1,2: 73:[71, 67] Operation: 75-8=67 Exploring Operation: 8+71=79, Resulting Numbers: [75, 79] Generated Node #0,1,3: 73:[75, 79] Operation: 8+71=79 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[71, 67], Operations: ['66+5=71', '75-8=67'] Exploring Operation: 71+67=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 71*67=4757, Resulting Numbers: [4757] 4757,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:[75, 79], Operations: ['66+5=71', '8+71=79'] Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,73 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,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:[75, 63], Operations: ['66+5=71', '71-8=63'] Exploring Operation: 75+63=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 75*63=4725, Resulting Numbers: [4725] 4725,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:[71, 83], Operations: ['66+5=71', '75+8=83'] Exploring Operation: 83-71=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 71+83=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 71*83=5893, Resulting Numbers: [5893] 5893,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:[75, 66, 13], Operations: ['5+8=13'] Exploring Operation: 66+13=79, Resulting Numbers: [75, 79] Generated Node #0,3,0: 73:[75, 79] Operation: 66+13=79 Exploring Operation: 75+13=88, Resulting Numbers: [66, 88] Generated Node #0,3,1: 73:[66, 88] Operation: 75+13=88 Exploring Operation: 66-13=53, Resulting Numbers: [75, 53] Generated Node #0,3,2: 73:[75, 53] Operation: 66-13=53 Exploring Operation: 75-13=62, Resulting Numbers: [66, 62] Generated Node #0,3,3: 73:[66, 62] Operation: 75-13=62 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[75, 79], Operations: ['5+8=13', '66+13=79'] Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,73 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,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,3 Current State: 73:[66, 62], Operations: ['5+8=13', '75-13=62'] Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,73 unequal: No Solution Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,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:[66, 88], Operations: ['5+8=13', '75+13=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,73 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,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,2 Current State: 73:[75, 53], Operations: ['5+8=13', '66-13=53'] Exploring Operation: 75*53=3975, Resulting Numbers: [3975] 3975,73 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 75+53=128, Resulting Numbers: [128] 128,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[75, 5, 74], Operations: ['66+8=74'] Exploring Operation: 75+5=80, Resulting Numbers: [74, 80] Generated Node #0,2,0: 73:[74, 80] Operation: 75+5=80 Exploring Operation: 75-5=70, Resulting Numbers: [74, 70] Generated Node #0,2,1: 73:[74, 70] Operation: 75-5=70 Exploring Operation: 74-5=69, Resulting Numbers: [75, 69] Generated Node #0,2,2: 73:[75, 69] Operation: 74-5=69 Exploring Operation: 5+74=79, Resulting Numbers: [75, 79] Generated Node #0,2,3: 73:[75, 79] Operation: 5+74=79 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[74, 70], Operations: ['66+8=74', '75-5=70'] Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,73 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,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,2,2 Current State: 73:[75, 69], Operations: ['66+8=74', '74-5=69'] Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,73 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,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,2,0 Current State: 73:[74, 80], Operations: ['66+8=74', '75+5=80'] Exploring Operation: 74+80=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 74*80=5920, Resulting Numbers: [5920] 5920,73 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,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,2,3 Current State: 73:[75, 79], Operations: ['66+8=74', '5+74=79'] Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,73 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 92, 62, 2, 20 ]
10
[ "92-62=30", "2*20=40", "40-30=10" ]
Current State: 10:[92, 62, 2, 20], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [2, 20, 30] Generated Node #2: [2, 20, 30] from Operation: 92-62=30 Current State: 10:[2, 20, 30], Operations: ['92-62=30'] Exploring Operation: 2*20=40, Resulting Numbers: [30, 40] Generated Node #3: [30, 40] from Operation: 2*20=40 Current State: 10:[30, 40], Operations: ['92-62=30', '2*20=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[92, 62, 2, 20], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [62, 20, 46] Generated Node #0,0: 10:[62, 20, 46] Operation: 92/2=46 Exploring Operation: 62/2=31, Resulting Numbers: [92, 20, 31] Generated Node #0,1: 10:[92, 20, 31] Operation: 62/2=31 Exploring Operation: 92-62=30, Resulting Numbers: [2, 20, 30] Generated Node #0,2: 10:[2, 20, 30] Operation: 92-62=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[2, 20, 30], Operations: ['92-62=30'] Exploring Operation: 20/2=10, Resulting Numbers: [30, 10] Generated Node #0,2,0: 10:[30, 10] Operation: 20/2=10 Exploring Operation: 30/2=15, Resulting Numbers: [20, 15] Generated Node #0,2,1: 10:[20, 15] Operation: 30/2=15 Exploring Operation: 30-20=10, Resulting Numbers: [2, 10] Generated Node #0,2,2: 10:[2, 10] Operation: 30-20=10 Moving to Node #0,2,2 Current State: 10:[2, 10], Operations: ['92-62=30', '30-20=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[20, 15], Operations: ['92-62=30', '30/2=15'] Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,10 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[30, 10], Operations: ['92-62=30', '20/2=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[62, 20, 46], Operations: ['92/2=46'] Exploring Operation: 62-20=42, Resulting Numbers: [46, 42] Generated Node #0,0,0: 10:[46, 42] Operation: 62-20=42 Exploring Operation: 46-20=26, Resulting Numbers: [62, 26] Generated Node #0,0,1: 10:[62, 26] Operation: 46-20=26 Exploring Operation: 62-46=16, Resulting Numbers: [20, 16] Generated Node #0,0,2: 10:[20, 16] Operation: 62-46=16 Moving to Node #0,0,2 Current State: 10:[20, 16], Operations: ['92/2=46', '62-46=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[46, 42], Operations: ['92/2=46', '62-20=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,10 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[62, 26], Operations: ['92/2=46', '46-20=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[92, 20, 31], Operations: ['62/2=31'] Exploring Operation: 92-20=72, Resulting Numbers: [31, 72] Generated Node #0,1,0: 10:[31, 72] Operation: 92-20=72 Exploring Operation: 92-31=61, Resulting Numbers: [20, 61] Generated Node #0,1,1: 10:[20, 61] Operation: 92-31=61 Exploring Operation: 31-20=11, Resulting Numbers: [92, 11] Generated Node #0,1,2: 10:[92, 11] Operation: 31-20=11 Moving to Node #0,1,1 Current State: 10:[20, 61], Operations: ['62/2=31', '92-31=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[31, 72], Operations: ['62/2=31', '92-20=72'] Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 31+72=103, Resulting Numbers: [103] 103,10 unequal: No Solution Exploring Operation: 31*72=2232, Resulting Numbers: [2232] 2232,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[92, 11], Operations: ['62/2=31', '31-20=11'] Exploring Operation: 92*11=1012, Resulting Numbers: [1012] 1012,10 unequal: No Solution Exploring Operation: 92+11=103, Resulting Numbers: [103] 103,10 unequal: No Solution Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,10 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
[ 76, 70, 47, 72 ]
50
[ "76*47=3572", "3572-72=3500", "3500/70=50" ]
Current State: 50:[76, 70, 47, 72], Operations: [] Exploring Operation: 76*47=3572, Resulting Numbers: [70, 72, 3572] Generated Node #2: [70, 72, 3572] from Operation: 76*47=3572 Current State: 50:[70, 72, 3572], Operations: ['76*47=3572'] Exploring Operation: 3572-72=3500, Resulting Numbers: [70, 3500] Generated Node #3: [70, 3500] from Operation: 3572-72=3500 Current State: 50:[70, 3500], Operations: ['76*47=3572', '3572-72=3500'] Exploring Operation: 3500/70=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[76, 70, 47, 72], Operations: [] Exploring Operation: 76-47=29, Resulting Numbers: [70, 72, 29] Generated Node #0,0: 50:[70, 72, 29] Operation: 76-47=29 Exploring Operation: 72-70=2, Resulting Numbers: [76, 47, 2] Generated Node #0,1: 50:[76, 47, 2] Operation: 72-70=2 Exploring Operation: 76-72=4, Resulting Numbers: [70, 47, 4] Generated Node #0,2: 50:[70, 47, 4] Operation: 76-72=4 Exploring Operation: 76-70=6, Resulting Numbers: [47, 72, 6] Generated Node #0,3: 50:[47, 72, 6] Operation: 76-70=6 Moving to Node #0,2 Current State: 50:[70, 47, 4], Operations: ['76-72=4'] Exploring Operation: 47+4=51, Resulting Numbers: [70, 51] Generated Node #0,2,0: 50:[70, 51] Operation: 47+4=51 Exploring Operation: 70+4=74, Resulting Numbers: [47, 74] Generated Node #0,2,1: 50:[47, 74] Operation: 70+4=74 Exploring Operation: 70-47=23, Resulting Numbers: [4, 23] Generated Node #0,2,2: 50:[4, 23] Operation: 70-47=23 Exploring Operation: 70-4=66, Resulting Numbers: [47, 66] Generated Node #0,2,3: 50:[47, 66] Operation: 70-4=66 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[4, 23], Operations: ['76-72=4', '70-47=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[47, 66], Operations: ['76-72=4', '70-4=66'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[70, 51], Operations: ['76-72=4', '47+4=51'] Exploring Operation: 70+51=121, Resulting Numbers: [121] 121,50 unequal: No Solution Exploring Operation: 70*51=3570, Resulting Numbers: [3570] 3570,50 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[47, 74], Operations: ['76-72=4', '70+4=74'] Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 47*74=3478, Resulting Numbers: [3478] 3478,50 unequal: No Solution Exploring Operation: 47+74=121, Resulting Numbers: [121] 121,50 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: 50:[47, 72, 6], Operations: ['76-70=6'] Exploring Operation: 72-47=25, Resulting Numbers: [6, 25] Generated Node #0,3,0: 50:[6, 25] Operation: 72-47=25 Exploring Operation: 47+6=53, Resulting Numbers: [72, 53] Generated Node #0,3,1: 50:[72, 53] Operation: 47+6=53 Exploring Operation: 72-6=66, Resulting Numbers: [47, 66] Generated Node #0,3,2: 50:[47, 66] Operation: 72-6=66 Exploring Operation: 72/6=12, Resulting Numbers: [47, 12] Generated Node #0,3,3: 50:[47, 12] Operation: 72/6=12 Moving to Node #0,1 Current State: 50:[76, 47, 2], Operations: ['72-70=2'] Exploring Operation: 76/2=38, Resulting Numbers: [47, 38] Generated Node #0,1,0: 50:[47, 38] Operation: 76/2=38 Exploring Operation: 76-2=74, Resulting Numbers: [47, 74] Generated Node #0,1,1: 50:[47, 74] Operation: 76-2=74 Exploring Operation: 76-47=29, Resulting Numbers: [2, 29] Generated Node #0,1,2: 50:[2, 29] Operation: 76-47=29 Exploring Operation: 47+2=49, Resulting Numbers: [76, 49] Generated Node #0,1,3: 50:[76, 49] Operation: 47+2=49 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[2, 29], Operations: ['72-70=2', '76-47=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[47, 38], Operations: ['72-70=2', '76/2=38'] Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,50 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[47, 74], Operations: ['72-70=2', '76-2=74'] Exploring Operation: 47+74=121, Resulting Numbers: [121] 121,50 unequal: No Solution Exploring Operation: 47*74=3478, Resulting Numbers: [3478] 3478,50 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[76, 49], Operations: ['72-70=2', '47+2=49'] Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,50 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,50 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,50 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: 50:[70, 72, 29], Operations: ['76-47=29'] Exploring Operation: 70-29=41, Resulting Numbers: [72, 41] Generated Node #0,0,0: 50:[72, 41] Operation: 70-29=41 Exploring Operation: 72-70=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 50:[29, 2] Operation: 72-70=2 Exploring Operation: 72-29=43, Resulting Numbers: [70, 43] Generated Node #0,0,2: 50:[70, 43] Operation: 72-29=43 Exploring Operation: 70+29=99, Resulting Numbers: [72, 99] Generated Node #0,0,3: 50:[72, 99] Operation: 70+29=99 Moving to Node #0,3,0 Current State: 50:[6, 25], Operations: ['76-70=6', '72-47=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[29, 2], Operations: ['76-47=29', '72-70=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[47, 12], Operations: ['76-70=6', '72/6=12'] Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,50 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[47, 66], Operations: ['76-70=6', '72-6=66'] Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,50 unequal: No Solution Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[72, 53], Operations: ['76-70=6', '47+6=53'] Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,50 unequal: No Solution Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[70, 43], Operations: ['76-47=29', '72-29=43'] Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 70*43=3010, Resulting Numbers: [3010] 3010,50 unequal: No Solution Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[72, 41], Operations: ['76-47=29', '70-29=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,50 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[72, 99], Operations: ['76-47=29', '70+29=99'] Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 72*99=7128, Resulting Numbers: [7128] 7128,50 unequal: No Solution Exploring Operation: 72+99=171, Resulting Numbers: [171] 171,50 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 87, 40, 54, 48 ]
100
[ "87+48=135", "40*135=5400", "5400/54=100" ]
Current State: 100:[87, 40, 54, 48], Operations: [] Exploring Operation: 87+48=135, Resulting Numbers: [40, 54, 135] Generated Node #2: [40, 54, 135] from Operation: 87+48=135 Current State: 100:[40, 54, 135], Operations: ['87+48=135'] Exploring Operation: 40*135=5400, Resulting Numbers: [54, 5400] Generated Node #3: [54, 5400] from Operation: 40*135=5400 Current State: 100:[54, 5400], Operations: ['87+48=135', '40*135=5400'] Exploring Operation: 5400/54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[87, 40, 54, 48], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [87, 48, 14] Generated Node #0,0: 100:[87, 48, 14] Operation: 54-40=14 Exploring Operation: 48-40=8, Resulting Numbers: [87, 54, 8] Generated Node #0,1: 100:[87, 54, 8] Operation: 48-40=8 Exploring Operation: 87-40=47, Resulting Numbers: [54, 48, 47] Generated Node #0,2: 100:[54, 48, 47] Operation: 87-40=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[54, 48, 47], Operations: ['87-40=47'] Exploring Operation: 54-47=7, Resulting Numbers: [48, 7] Generated Node #0,2,0: 100:[48, 7] Operation: 54-47=7 Exploring Operation: 54+47=101, Resulting Numbers: [48, 101] Generated Node #0,2,1: 100:[48, 101] Operation: 54+47=101 Exploring Operation: 54-48=6, Resulting Numbers: [47, 6] Generated Node #0,2,2: 100:[47, 6] Operation: 54-48=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[48, 101], Operations: ['87-40=47', '54+47=101'] Exploring Operation: 48*101=4848, Resulting Numbers: [4848] 4848,100 unequal: No Solution Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 48+101=149, Resulting Numbers: [149] 149,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[48, 7], Operations: ['87-40=47', '54-47=7'] Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,100 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[47, 6], Operations: ['87-40=47', '54-48=6'] Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,100 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[87, 48, 14], Operations: ['54-40=14'] Exploring Operation: 87+14=101, Resulting Numbers: [48, 101] Generated Node #0,0,0: 100:[48, 101] Operation: 87+14=101 Exploring Operation: 87-48=39, Resulting Numbers: [14, 39] Generated Node #0,0,1: 100:[14, 39] Operation: 87-48=39 Exploring Operation: 48-14=34, Resulting Numbers: [87, 34] Generated Node #0,0,2: 100:[87, 34] Operation: 48-14=34 Moving to Node #0,0,0 Current State: 100:[48, 101], Operations: ['54-40=14', '87+14=101'] Exploring Operation: 48*101=4848, Resulting Numbers: [4848] 4848,100 unequal: No Solution Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 48+101=149, Resulting Numbers: [149] 149,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[14, 39], Operations: ['54-40=14', '87-48=39'] Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,100 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[87, 34], Operations: ['54-40=14', '48-14=34'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,100 unequal: No Solution Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[87, 54, 8], Operations: ['48-40=8'] Exploring Operation: 54-8=46, Resulting Numbers: [87, 46] Generated Node #0,1,0: 100:[87, 46] Operation: 54-8=46 Exploring Operation: 87-54=33, Resulting Numbers: [8, 33] Generated Node #0,1,1: 100:[8, 33] Operation: 87-54=33 Exploring Operation: 87+8=95, Resulting Numbers: [54, 95] Generated Node #0,1,2: 100:[54, 95] Operation: 87+8=95 Moving to Node #0,1,2 Current State: 100:[54, 95], Operations: ['48-40=8', '87+8=95'] Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,100 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[8, 33], Operations: ['48-40=8', '87-54=33'] Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,100 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[87, 46], Operations: ['48-40=8', '54-8=46'] Exploring Operation: 87*46=4002, Resulting Numbers: [4002] 4002,100 unequal: No Solution Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 87+46=133, Resulting Numbers: [133] 133,100 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
[ 26, 52, 42, 46 ]
19
[ "52/26=2", "46/2=23", "42-23=19" ]
Current State: 19:[26, 52, 42, 46], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [42, 46, 2] Generated Node #2: [42, 46, 2] from Operation: 52/26=2 Current State: 19:[42, 46, 2], Operations: ['52/26=2'] Exploring Operation: 46/2=23, Resulting Numbers: [42, 23] Generated Node #3: [42, 23] from Operation: 46/2=23 Current State: 19:[42, 23], Operations: ['52/26=2', '46/2=23'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[26, 52, 42, 46], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [26, 42, 6] Generated Node #0,0: 19:[26, 42, 6] Operation: 52-46=6 Exploring Operation: 46-42=4, Resulting Numbers: [26, 52, 4] Generated Node #0,1: 19:[26, 52, 4] Operation: 46-42=4 Exploring Operation: 52-42=10, Resulting Numbers: [26, 46, 10] Generated Node #0,2: 19:[26, 46, 10] Operation: 52-42=10 Moving to Node #0,0 Current State: 19:[26, 42, 6], Operations: ['52-46=6'] Exploring Operation: 26-6=20, Resulting Numbers: [42, 20] Generated Node #0,0,0: 19:[42, 20] Operation: 26-6=20 Exploring Operation: 42-26=16, Resulting Numbers: [6, 16] Generated Node #0,0,1: 19:[6, 16] Operation: 42-26=16 Exploring Operation: 42/6=7, Resulting Numbers: [26, 7] Generated Node #0,0,2: 19:[26, 7] Operation: 42/6=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[6, 16], Operations: ['52-46=6', '42-26=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[26, 7], Operations: ['52-46=6', '42/6=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[26, 52, 42, 46], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [26, 42, 6] Generated Node #0,0: 19:[26, 42, 6] Operation: 52-46=6 Moving to Node #0,0 Current State: 19:[26, 42, 6], Operations: ['52-46=6'] Exploring Operation: 42/6=7, Resulting Numbers: [26, 7] Generated Node #0,0,2: 19:[26, 7] Operation: 42/6=7 Moving to Node #0,0,2 Current State: 19:[26, 7], Operations: ['52-46=6', '42/6=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 67, 35, 2, 84 ]
100
[ "67-35=32", "32/2=16", "84+16=100" ]
Current State: 100:[67, 35, 2, 84], Operations: [] Exploring Operation: 67-35=32, Resulting Numbers: [2, 84, 32] Generated Node #2: [2, 84, 32] from Operation: 67-35=32 Current State: 100:[2, 84, 32], Operations: ['67-35=32'] Exploring Operation: 32/2=16, Resulting Numbers: [84, 16] Generated Node #3: [84, 16] from Operation: 32/2=16 Current State: 100:[84, 16], Operations: ['67-35=32', '32/2=16'] Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[67, 35, 2, 84], Operations: [] Exploring Operation: 84-67=17, Resulting Numbers: [35, 2, 17] Generated Node #0,0: 100:[35, 2, 17] Operation: 84-67=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[35, 2, 17], Operations: ['84-67=17'] Exploring Operation: 35+17=52, Resulting Numbers: [2, 52] Generated Node #0,0,0: 100:[2, 52] Operation: 35+17=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[2, 52], Operations: ['84-67=17', '35+17=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 57, 13, 70, 75 ]
94
[ "70-57=13", "13*13=169", "169-75=94" ]
Current State: 94:[57, 13, 70, 75], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [13, 75, 13] Generated Node #2: [13, 75, 13] from Operation: 70-57=13 Current State: 94:[13, 75, 13], Operations: ['70-57=13'] Exploring Operation: 13*13=169, Resulting Numbers: [75, 169] Generated Node #3: [75, 169] from Operation: 13*13=169 Current State: 94:[75, 169], Operations: ['70-57=13', '13*13=169'] Exploring Operation: 169-75=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[57, 13, 70, 75], Operations: [] Exploring Operation: 13+70=83, Resulting Numbers: [57, 75, 83] Generated Node #0,0: 94:[57, 75, 83] Operation: 13+70=83 Exploring Operation: 70-13=57, Resulting Numbers: [57, 75, 57] Generated Node #0,1: 94:[57, 75, 57] Operation: 70-13=57 Exploring Operation: 75-70=5, Resulting Numbers: [57, 13, 5] Generated Node #0,2: 94:[57, 13, 5] Operation: 75-70=5 Exploring Operation: 13+75=88, Resulting Numbers: [57, 70, 88] Generated Node #0,3: 94:[57, 70, 88] Operation: 13+75=88 Moving to Node #0,2 Current State: 94:[57, 13, 5], Operations: ['75-70=5'] Exploring Operation: 13-5=8, Resulting Numbers: [57, 8] Generated Node #0,2,0: 94:[57, 8] Operation: 13-5=8 Exploring Operation: 57-13=44, Resulting Numbers: [5, 44] Generated Node #0,2,1: 94:[5, 44] Operation: 57-13=44 Exploring Operation: 57-5=52, Resulting Numbers: [13, 52] Generated Node #0,2,2: 94:[13, 52] Operation: 57-5=52 Exploring Operation: 57+13=70, Resulting Numbers: [5, 70] Generated Node #0,2,3: 94:[5, 70] Operation: 57+13=70 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[5, 44], Operations: ['75-70=5', '57-13=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,94 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[57, 8], Operations: ['75-70=5', '13-5=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,94 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[13, 52], Operations: ['75-70=5', '57-5=52'] Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,94 unequal: No Solution Exploring Operation: 13*52=676, Resulting Numbers: [676] 676,94 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[5, 70], Operations: ['75-70=5', '57+13=70'] Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,94 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: 94:[57, 70, 88], Operations: ['13+75=88'] Exploring Operation: 70-57=13, Resulting Numbers: [88, 13] Generated Node #0,3,0: 94:[88, 13] Operation: 70-57=13 Exploring Operation: 88-70=18, Resulting Numbers: [57, 18] Generated Node #0,3,1: 94:[57, 18] Operation: 88-70=18 Exploring Operation: 57+70=127, Resulting Numbers: [88, 127] Generated Node #0,3,2: 94:[88, 127] Operation: 57+70=127 Exploring Operation: 88-57=31, Resulting Numbers: [70, 31] Generated Node #0,3,3: 94:[70, 31] Operation: 88-57=31 Moving to Node #0,1 Current State: 94:[57, 75, 57], Operations: ['70-13=57'] Exploring Operation: 57/57=1, Resulting Numbers: [75, 1] Generated Node #0,1,0: 94:[75, 1] Operation: 57/57=1 Exploring Operation: 57-57=0, Resulting Numbers: [75, 0] Generated Node #0,1,1: 94:[75, 0] Operation: 57-57=0 Exploring Operation: 75-57=18, Resulting Numbers: [57, 18] Generated Node #0,1,2: 94:[57, 18] Operation: 75-57=18 Exploring Operation: 75-57=18, Resulting Numbers: [57, 18] Generated Node #0,1,3: 94:[57, 18] Operation: 75-57=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[75, 1], Operations: ['70-13=57', '57/57=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,94 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,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:[75, 0], Operations: ['70-13=57', '57-57=0'] Exploring Operation: 75-0=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 75+0=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 75*0=0, Resulting Numbers: [0] 0,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:[57, 18], Operations: ['70-13=57', '75-57=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,94 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,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:[57, 18], Operations: ['70-13=57', '75-57=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,94 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[57, 75, 83], Operations: ['13+70=83'] Exploring Operation: 57+75=132, Resulting Numbers: [83, 132] Generated Node #0,0,0: 94:[83, 132] Operation: 57+75=132 Exploring Operation: 83-57=26, Resulting Numbers: [75, 26] Generated Node #0,0,1: 94:[75, 26] Operation: 83-57=26 Exploring Operation: 75-57=18, Resulting Numbers: [83, 18] Generated Node #0,0,2: 94:[83, 18] Operation: 75-57=18 Exploring Operation: 83-75=8, Resulting Numbers: [57, 8] Generated Node #0,0,3: 94:[57, 8] Operation: 83-75=8 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[57, 8], Operations: ['13+70=83', '83-75=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,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,2 Current State: 94:[83, 18], Operations: ['13+70=83', '75-57=18'] Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,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:[75, 26], Operations: ['13+70=83', '83-57=26'] Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,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:[83, 132], Operations: ['13+70=83', '57+75=132'] Exploring Operation: 132-83=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 83*132=10956, Resulting Numbers: [10956] 10956,94 unequal: No Solution Exploring Operation: 83+132=215, Resulting Numbers: [215] 215,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 94:[88, 13], Operations: ['13+75=88', '70-57=13'] Exploring Operation: 88*13=1144, Resulting Numbers: [1144] 1144,94 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[57, 18], Operations: ['13+75=88', '88-70=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,94 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,94 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[70, 31], Operations: ['13+75=88', '88-57=31'] Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,94 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,94 unequal: No Solution Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[88, 127], Operations: ['13+75=88', '57+70=127'] Exploring Operation: 88+127=215, Resulting Numbers: [215] 215,94 unequal: No Solution Exploring Operation: 88*127=11176, Resulting Numbers: [11176] 11176,94 unequal: No Solution Exploring Operation: 127-88=39, Resulting Numbers: [39] 39,94 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 40, 92, 79, 76 ]
49
[ "92-40=52", "79-76=3", "52-3=49" ]
Current State: 49:[40, 92, 79, 76], Operations: [] Exploring Operation: 92-40=52, Resulting Numbers: [79, 76, 52] Generated Node #2: [79, 76, 52] from Operation: 92-40=52 Current State: 49:[79, 76, 52], Operations: ['92-40=52'] Exploring Operation: 79-76=3, Resulting Numbers: [52, 3] Generated Node #3: [52, 3] from Operation: 79-76=3 Current State: 49:[52, 3], Operations: ['92-40=52', '79-76=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[40, 92, 79, 76], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [40, 76, 13] Generated Node #0,0: 49:[40, 76, 13] Operation: 92-79=13 Moving to Node #0,0 Current State: 49:[40, 76, 13], Operations: ['92-79=13'] Exploring Operation: 76-40=36, Resulting Numbers: [13, 36] Generated Node #0,0,0: 49:[13, 36] Operation: 76-40=36 Moving to Node #0,0,0 Current State: 49:[13, 36], Operations: ['92-79=13', '76-40=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[40, 92, 79, 76], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [40, 76, 13] Generated Node #0,0: 49:[40, 76, 13] Operation: 92-79=13 Moving to Node #0,0 Current State: 49:[40, 76, 13], Operations: ['92-79=13'] Exploring Operation: 76-40=36, Resulting Numbers: [13, 36] Generated Node #0,0,0: 49:[13, 36] Operation: 76-40=36 Moving to Node #0,0,0 Current State: 49:[13, 36], Operations: ['92-79=13', '76-40=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 23, 50, 28, 29 ]
29
[ "50-23=27", "28-27=1", "29*1=29" ]
Current State: 29:[23, 50, 28, 29], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [28, 29, 27] Generated Node #2: [28, 29, 27] from Operation: 50-23=27 Current State: 29:[28, 29, 27], Operations: ['50-23=27'] Exploring Operation: 28-27=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 28-27=1 Current State: 29:[29, 1], Operations: ['50-23=27', '28-27=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[23, 50, 28, 29], Operations: [] Exploring Operation: 50-28=22, Resulting Numbers: [23, 29, 22] Generated Node #0,0: 29:[23, 29, 22] Operation: 50-28=22 Exploring Operation: 50-23=27, Resulting Numbers: [28, 29, 27] Generated Node #0,1: 29:[28, 29, 27] Operation: 50-23=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[28, 29, 27], Operations: ['50-23=27'] Exploring Operation: 28-27=1, Resulting Numbers: [29, 1] Generated Node #0,1,0: 29:[29, 1] Operation: 28-27=1 Exploring Operation: 28+27=55, Resulting Numbers: [29, 55] Generated Node #0,1,1: 29:[29, 55] Operation: 28+27=55 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[29, 55], Operations: ['50-23=27', '28+27=55'] Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[29, 1], Operations: ['50-23=27', '28-27=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[23, 50, 28, 29], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [28, 29, 27] Generated Node #0,1: 29:[28, 29, 27] Operation: 50-23=27 Moving to Node #0,1 Current State: 29:[28, 29, 27], Operations: ['50-23=27'] Exploring Operation: 28-27=1, Resulting Numbers: [29, 1] Generated Node #0,1,0: 29:[29, 1] Operation: 28-27=1 Moving to Node #0,1,0 Current State: 29:[29, 1], Operations: ['50-23=27', '28-27=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 83, 24, 26, 60 ]
27
[ "83-24=59", "26+60=86", "86-59=27" ]
Current State: 27:[83, 24, 26, 60], Operations: [] Exploring Operation: 83-24=59, Resulting Numbers: [26, 60, 59] Generated Node #2: [26, 60, 59] from Operation: 83-24=59 Current State: 27:[26, 60, 59], Operations: ['83-24=59'] Exploring Operation: 26+60=86, Resulting Numbers: [59, 86] Generated Node #3: [59, 86] from Operation: 26+60=86 Current State: 27:[59, 86], Operations: ['83-24=59', '26+60=86'] Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[83, 24, 26, 60], Operations: [] Exploring Operation: 83-24=59, Resulting Numbers: [26, 60, 59] Generated Node #0,0: 27:[26, 60, 59] Operation: 83-24=59 Exploring Operation: 60-26=34, Resulting Numbers: [83, 24, 34] Generated Node #0,1: 27:[83, 24, 34] Operation: 60-26=34 Exploring Operation: 83-60=23, Resulting Numbers: [24, 26, 23] Generated Node #0,2: 27:[24, 26, 23] Operation: 83-60=23 Exploring Operation: 83-26=57, Resulting Numbers: [24, 60, 57] Generated Node #0,3: 27:[24, 60, 57] Operation: 83-26=57 Exploring Operation: 60-24=36, Resulting Numbers: [83, 26, 36] Generated Node #0,4: 27:[83, 26, 36] Operation: 60-24=36 Moving to Node #0,2 Current State: 27:[24, 26, 23], Operations: ['83-60=23'] Exploring Operation: 26-24=2, Resulting Numbers: [23, 2] Generated Node #0,2,0: 27:[23, 2] Operation: 26-24=2 Exploring Operation: 26+23=49, Resulting Numbers: [24, 49] Generated Node #0,2,1: 27:[24, 49] Operation: 26+23=49 Exploring Operation: 24+23=47, Resulting Numbers: [26, 47] Generated Node #0,2,2: 27:[26, 47] Operation: 24+23=47 Exploring Operation: 26-23=3, Resulting Numbers: [24, 3] Generated Node #0,2,3: 27:[24, 3] Operation: 26-23=3 Exploring Operation: 24-23=1, Resulting Numbers: [26, 1] Generated Node #0,2,4: 27:[26, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[24, 3], Operations: ['83-60=23', '26-23=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[83, 24, 26, 60], Operations: [] Exploring Operation: 83-60=23, Resulting Numbers: [24, 26, 23] Generated Node #0,2: 27:[24, 26, 23] Operation: 83-60=23 Moving to Node #0,2 Current State: 27:[24, 26, 23], Operations: ['83-60=23'] Exploring Operation: 26-23=3, Resulting Numbers: [24, 3] Generated Node #0,2,3: 27:[24, 3] Operation: 26-23=3 Moving to Node #0,2,3 Current State: 27:[24, 3], Operations: ['83-60=23', '26-23=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 55, 18, 96, 74 ]
51
[ "55+18=73", "96-74=22", "73-22=51" ]
Current State: 51:[55, 18, 96, 74], Operations: [] Exploring Operation: 55+18=73, Resulting Numbers: [96, 74, 73] Generated Node #2: [96, 74, 73] from Operation: 55+18=73 Current State: 51:[96, 74, 73], Operations: ['55+18=73'] Exploring Operation: 96-74=22, Resulting Numbers: [73, 22] Generated Node #3: [73, 22] from Operation: 96-74=22 Current State: 51:[73, 22], Operations: ['55+18=73', '96-74=22'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[55, 18, 96, 74], Operations: [] Exploring Operation: 96-18=78, Resulting Numbers: [55, 74, 78] Generated Node #0,0: 51:[55, 74, 78] Operation: 96-18=78 Exploring Operation: 96-74=22, Resulting Numbers: [55, 18, 22] Generated Node #0,1: 51:[55, 18, 22] Operation: 96-74=22 Exploring Operation: 74-55=19, Resulting Numbers: [18, 96, 19] Generated Node #0,2: 51:[18, 96, 19] Operation: 74-55=19 Exploring Operation: 96-55=41, Resulting Numbers: [18, 74, 41] Generated Node #0,3: 51:[18, 74, 41] Operation: 96-55=41 Exploring Operation: 74-18=56, Resulting Numbers: [55, 96, 56] Generated Node #0,4: 51:[55, 96, 56] Operation: 74-18=56 Moving to Node #0,1 Current State: 51:[55, 18, 22], Operations: ['96-74=22'] Exploring Operation: 55-18=37, Resulting Numbers: [22, 37] Generated Node #0,1,0: 51:[22, 37] Operation: 55-18=37 Exploring Operation: 22-18=4, Resulting Numbers: [55, 4] Generated Node #0,1,1: 51:[55, 4] Operation: 22-18=4 Exploring Operation: 18+22=40, Resulting Numbers: [55, 40] Generated Node #0,1,2: 51:[55, 40] Operation: 18+22=40 Exploring Operation: 55+18=73, Resulting Numbers: [22, 73] Generated Node #0,1,3: 51:[22, 73] Operation: 55+18=73 Exploring Operation: 55-22=33, Resulting Numbers: [18, 33] Generated Node #0,1,4: 51:[18, 33] Operation: 55-22=33 Moving to Node #0,3 Current State: 51:[18, 74, 41], Operations: ['96-55=41'] Exploring Operation: 74-41=33, Resulting Numbers: [18, 33] Generated Node #0,3,0: 51:[18, 33] Operation: 74-41=33 Exploring Operation: 74-18=56, Resulting Numbers: [41, 56] Generated Node #0,3,1: 51:[41, 56] Operation: 74-18=56 Exploring Operation: 18+41=59, Resulting Numbers: [74, 59] Generated Node #0,3,2: 51:[74, 59] Operation: 18+41=59 Exploring Operation: 18+74=92, Resulting Numbers: [41, 92] Generated Node #0,3,3: 51:[41, 92] Operation: 18+74=92 Exploring Operation: 41-18=23, Resulting Numbers: [74, 23] Generated Node #0,3,4: 51:[74, 23] Operation: 41-18=23 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[41, 56], Operations: ['96-55=41', '74-18=56'] Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,51 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[18, 33], Operations: ['96-55=41', '74-41=33'] Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,51 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[55, 18, 96, 74], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [18, 74, 41] Generated Node #0,3: 51:[18, 74, 41] Operation: 96-55=41 Moving to Node #0,3 Current State: 51:[18, 74, 41], Operations: ['96-55=41'] Exploring Operation: 74-41=33, Resulting Numbers: [18, 33] Generated Node #0,3,0: 51:[18, 33] Operation: 74-41=33 Moving to Node #0,3,0 Current State: 51:[18, 33], Operations: ['96-55=41', '74-41=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 2, 15, 33, 18 ]
72
[ "33-15=18", "18+18=36", "2*36=72" ]
Current State: 72:[2, 15, 33, 18], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [2, 18, 18] Generated Node #2: [2, 18, 18] from Operation: 33-15=18 Current State: 72:[2, 18, 18], Operations: ['33-15=18'] Exploring Operation: 18+18=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 18+18=36 Current State: 72:[2, 36], Operations: ['33-15=18', '18+18=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 15, 33, 18], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [2, 18, 18] Generated Node #0,0: 72:[2, 18, 18] Operation: 33-15=18 Exploring Operation: 15-2=13, Resulting Numbers: [33, 18, 13] Generated Node #0,1: 72:[33, 18, 13] Operation: 15-2=13 Exploring Operation: 2+33=35, Resulting Numbers: [15, 18, 35] Generated Node #0,2: 72:[15, 18, 35] Operation: 2+33=35 Exploring Operation: 2+15=17, Resulting Numbers: [33, 18, 17] Generated Node #0,3: 72:[33, 18, 17] Operation: 2+15=17 Exploring Operation: 18-15=3, Resulting Numbers: [2, 33, 3] Generated Node #0,4: 72:[2, 33, 3] Operation: 18-15=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[2, 18, 18], Operations: ['33-15=18'] Exploring Operation: 18+18=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 72:[2, 36] Operation: 18+18=36 Exploring Operation: 2*18=36, Resulting Numbers: [18, 36] Generated Node #0,0,1: 72:[18, 36] Operation: 2*18=36 Exploring Operation: 18/2=9, Resulting Numbers: [18, 9] Generated Node #0,0,2: 72:[18, 9] Operation: 18/2=9 Exploring Operation: 2*18=36, Resulting Numbers: [18, 36] Generated Node #0,0,3: 72:[18, 36] Operation: 2*18=36 Exploring Operation: 18/2=9, Resulting Numbers: [18, 9] Generated Node #0,0,4: 72:[18, 9] Operation: 18/2=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[2, 36], Operations: ['33-15=18', '18+18=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[2, 15, 33, 18], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [2, 18, 18] Generated Node #0,0: 72:[2, 18, 18] Operation: 33-15=18 Moving to Node #0,0 Current State: 72:[2, 18, 18], Operations: ['33-15=18'] Exploring Operation: 18+18=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 72:[2, 36] Operation: 18+18=36 Moving to Node #0,0,0 Current State: 72:[2, 36], Operations: ['33-15=18', '18+18=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 59, 8, 42, 39 ]
14
[ "59+8=67", "42+39=81", "81-67=14" ]
Current State: 14:[59, 8, 42, 39], Operations: [] Exploring Operation: 59+8=67, Resulting Numbers: [42, 39, 67] Generated Node #2: [42, 39, 67] from Operation: 59+8=67 Current State: 14:[42, 39, 67], Operations: ['59+8=67'] Exploring Operation: 42+39=81, Resulting Numbers: [67, 81] Generated Node #3: [67, 81] from Operation: 42+39=81 Current State: 14:[67, 81], Operations: ['59+8=67', '42+39=81'] Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[59, 8, 42, 39], Operations: [] Exploring Operation: 59-42=17, Resulting Numbers: [8, 39, 17] Generated Node #0,0: 14:[8, 39, 17] Operation: 59-42=17 Exploring Operation: 42-8=34, Resulting Numbers: [59, 39, 34] Generated Node #0,1: 14:[59, 39, 34] Operation: 42-8=34 Exploring Operation: 59-39=20, Resulting Numbers: [8, 42, 20] Generated Node #0,2: 14:[8, 42, 20] Operation: 59-39=20 Exploring Operation: 42-39=3, Resulting Numbers: [59, 8, 3] Generated Node #0,3: 14:[59, 8, 3] Operation: 42-39=3 Exploring Operation: 59-8=51, Resulting Numbers: [42, 39, 51] Generated Node #0,4: 14:[42, 39, 51] Operation: 59-8=51 Moving to Node #0,0 Current State: 14:[8, 39, 17], Operations: ['59-42=17'] Exploring Operation: 17-8=9, Resulting Numbers: [39, 9] Generated Node #0,0,0: 14:[39, 9] Operation: 17-8=9 Exploring Operation: 39-8=31, Resulting Numbers: [17, 31] Generated Node #0,0,1: 14:[17, 31] Operation: 39-8=31 Exploring Operation: 8+17=25, Resulting Numbers: [39, 25] Generated Node #0,0,2: 14:[39, 25] Operation: 8+17=25 Exploring Operation: 8+39=47, Resulting Numbers: [17, 47] Generated Node #0,0,3: 14:[17, 47] Operation: 8+39=47 Exploring Operation: 39-17=22, Resulting Numbers: [8, 22] Generated Node #0,0,4: 14:[8, 22] Operation: 39-17=22 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 14:[8, 22], Operations: ['59-42=17', '39-17=22'] Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,14 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[59, 8, 42, 39], Operations: [] Exploring Operation: 59-42=17, Resulting Numbers: [8, 39, 17] Generated Node #0,0: 14:[8, 39, 17] Operation: 59-42=17 Moving to Node #0,0 Current State: 14:[8, 39, 17], Operations: ['59-42=17'] Exploring Operation: 39-17=22, Resulting Numbers: [8, 22] Generated Node #0,0,4: 14:[8, 22] Operation: 39-17=22 Moving to Node #0,0,4 Current State: 14:[8, 22], Operations: ['59-42=17', '39-17=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 97, 45, 97, 97 ]
45
[ "97-97=0", "97*0=0", "45+0=45" ]
Current State: 45:[97, 45, 97, 97], Operations: [] Exploring Operation: 97-97=0, Resulting Numbers: [45, 0] Generated Node #2: [45, 0] from Operation: 97-97=0 Current State: 45:[45, 0], Operations: ['97-97=0'] Exploring Operation: 97*0=0, Resulting Numbers: [45, 0] Generated Node #3: [45, 0] from Operation: 97*0=0 Current State: 45:[45, 0], Operations: ['97-97=0', '97*0=0'] Exploring Operation: 45+0=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[97, 45, 97, 97], Operations: [] Exploring Operation: 97/97=1, Resulting Numbers: [45, 97, 1] Generated Node #0,0: 45:[45, 97, 1] Operation: 97/97=1 Exploring Operation: 97/97=1, Resulting Numbers: [45, 97, 1] Generated Node #0,1: 45:[45, 97, 1] Operation: 97/97=1 Exploring Operation: 97/97=1, Resulting Numbers: [97, 45, 1] Generated Node #0,2: 45:[97, 45, 1] Operation: 97/97=1 Moving to Node #0,0 Current State: 45:[45, 97, 1], Operations: ['97/97=1'] Exploring Operation: 97-45=52, Resulting Numbers: [1, 52] Generated Node #0,0,0: 45:[1, 52] Operation: 97-45=52 Exploring Operation: 97-1=96, Resulting Numbers: [45, 96] Generated Node #0,0,1: 45:[45, 96] Operation: 97-1=96 Exploring Operation: 45*1=45, Resulting Numbers: [97, 45] Generated Node #0,0,2: 45:[97, 45] Operation: 45*1=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[1, 52], Operations: ['97/97=1', '97-45=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,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,0,1 Current State: 45:[45, 96], Operations: ['97/97=1', '97-1=96'] Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,45 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,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,0,2 Current State: 45:[97, 45], Operations: ['97/97=1', '45*1=45'] Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,45 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,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:[45, 97, 1], Operations: ['97/97=1'] Exploring Operation: 45*1=45, Resulting Numbers: [97, 45] Generated Node #0,1,0: 45:[97, 45] Operation: 45*1=45 Exploring Operation: 97-1=96, Resulting Numbers: [45, 96] Generated Node #0,1,1: 45:[45, 96] Operation: 97-1=96 Exploring Operation: 97-45=52, Resulting Numbers: [1, 52] Generated Node #0,1,2: 45:[1, 52] Operation: 97-45=52 Moving to Node #0,2 Current State: 45:[97, 45, 1], Operations: ['97/97=1'] Exploring Operation: 97-45=52, Resulting Numbers: [1, 52] Generated Node #0,2,0: 45:[1, 52] Operation: 97-45=52 Exploring Operation: 97*1=97, Resulting Numbers: [45, 97] Generated Node #0,2,1: 45:[45, 97] Operation: 97*1=97 Exploring Operation: 97-1=96, Resulting Numbers: [45, 96] Generated Node #0,2,2: 45:[45, 96] Operation: 97-1=96 Moving to Node #0,1,2 Current State: 45:[1, 52], Operations: ['97/97=1', '97-45=52'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[1, 52], Operations: ['97/97=1', '97-45=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[45, 96], Operations: ['97/97=1', '97-1=96'] Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,45 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[45, 96], Operations: ['97/97=1', '97-1=96'] Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,45 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[45, 97], Operations: ['97/97=1', '97*1=97'] Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 45*97=4365, Resulting Numbers: [4365] 4365,45 unequal: No Solution Exploring Operation: 45+97=142, Resulting Numbers: [142] 142,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[97, 45], Operations: ['97/97=1', '45*1=45'] Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,45 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,45 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 72, 2, 98, 14 ]
67
[ "72+2=74", "98/14=7", "74-7=67" ]
Current State: 67:[72, 2, 98, 14], Operations: [] Exploring Operation: 72+2=74, Resulting Numbers: [98, 14, 74] Generated Node #2: [98, 14, 74] from Operation: 72+2=74 Current State: 67:[98, 14, 74], Operations: ['72+2=74'] Exploring Operation: 98/14=7, Resulting Numbers: [74, 7] Generated Node #3: [74, 7] from Operation: 98/14=7 Current State: 67:[74, 7], Operations: ['72+2=74', '98/14=7'] Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[72, 2, 98, 14], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [72, 14, 49] Generated Node #0,0: 67:[72, 14, 49] Operation: 98/2=49 Exploring Operation: 72-2=70, Resulting Numbers: [98, 14, 70] Generated Node #0,1: 67:[98, 14, 70] Operation: 72-2=70 Exploring Operation: 98-2=96, Resulting Numbers: [72, 14, 96] Generated Node #0,2: 67:[72, 14, 96] Operation: 98-2=96 Exploring Operation: 2*14=28, Resulting Numbers: [72, 98, 28] Generated Node #0,3: 67:[72, 98, 28] Operation: 2*14=28 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[72, 98, 28], Operations: ['2*14=28'] Exploring Operation: 72+28=100, Resulting Numbers: [98, 100] Generated Node #0,3,0: 67:[98, 100] Operation: 72+28=100 Exploring Operation: 98-28=70, Resulting Numbers: [72, 70] Generated Node #0,3,1: 67:[72, 70] Operation: 98-28=70 Exploring Operation: 98+28=126, Resulting Numbers: [72, 126] Generated Node #0,3,2: 67:[72, 126] Operation: 98+28=126 Exploring Operation: 72-28=44, Resulting Numbers: [98, 44] Generated Node #0,3,3: 67:[98, 44] Operation: 72-28=44 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[72, 70], Operations: ['2*14=28', '98-28=70'] Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 72+70=142, Resulting Numbers: [142] 142,67 unequal: No Solution Exploring Operation: 72*70=5040, Resulting Numbers: [5040] 5040,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[98, 44], Operations: ['2*14=28', '72-28=44'] Exploring Operation: 98-44=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 98+44=142, Resulting Numbers: [142] 142,67 unequal: No Solution Exploring Operation: 98*44=4312, Resulting Numbers: [4312] 4312,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[98, 100], Operations: ['2*14=28', '72+28=100'] Exploring Operation: 98*100=9800, Resulting Numbers: [9800] 9800,67 unequal: No Solution Exploring Operation: 98+100=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 100-98=2, Resulting Numbers: [2] 2,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[72, 126], Operations: ['2*14=28', '98+28=126'] Exploring Operation: 72*126=9072, Resulting Numbers: [9072] 9072,67 unequal: No Solution Exploring Operation: 72+126=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 126-72=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[72, 14, 49], Operations: ['98/2=49'] Exploring Operation: 72-14=58, Resulting Numbers: [49, 58] Generated Node #0,0,0: 67:[49, 58] Operation: 72-14=58 Exploring Operation: 14+49=63, Resulting Numbers: [72, 63] Generated Node #0,0,1: 67:[72, 63] Operation: 14+49=63 Exploring Operation: 72+14=86, Resulting Numbers: [49, 86] Generated Node #0,0,2: 67:[49, 86] Operation: 72+14=86 Exploring Operation: 49-14=35, Resulting Numbers: [72, 35] Generated Node #0,0,3: 67:[72, 35] Operation: 49-14=35 Moving to Node #0,0,1 Current State: 67:[72, 63], Operations: ['98/2=49', '14+49=63'] Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,67 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 72*63=4536, Resulting Numbers: [4536] 4536,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[49, 58], Operations: ['98/2=49', '72-14=58'] Exploring Operation: 49*58=2842, Resulting Numbers: [2842] 2842,67 unequal: No Solution Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[72, 35], Operations: ['98/2=49', '49-14=35'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,67 unequal: No Solution Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[49, 86], Operations: ['98/2=49', '72+14=86'] Exploring Operation: 49*86=4214, Resulting Numbers: [4214] 4214,67 unequal: No Solution Exploring Operation: 49+86=135, Resulting Numbers: [135] 135,67 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[98, 14, 70], Operations: ['72-2=70'] Exploring Operation: 98-14=84, Resulting Numbers: [70, 84] Generated Node #0,1,0: 67:[70, 84] Operation: 98-14=84 Exploring Operation: 70-14=56, Resulting Numbers: [98, 56] Generated Node #0,1,1: 67:[98, 56] Operation: 70-14=56 Exploring Operation: 98+14=112, Resulting Numbers: [70, 112] Generated Node #0,1,2: 67:[70, 112] Operation: 98+14=112 Exploring Operation: 14+70=84, Resulting Numbers: [98, 84] Generated Node #0,1,3: 67:[98, 84] Operation: 14+70=84 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[70, 84], Operations: ['72-2=70', '98-14=84'] Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,67 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[98, 56], Operations: ['72-2=70', '70-14=56'] Exploring Operation: 98+56=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 98*56=5488, Resulting Numbers: [5488] 5488,67 unequal: No Solution Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[70, 112], Operations: ['72-2=70', '98+14=112'] Exploring Operation: 70+112=182, Resulting Numbers: [182] 182,67 unequal: No Solution Exploring Operation: 70*112=7840, Resulting Numbers: [7840] 7840,67 unequal: No Solution Exploring Operation: 112-70=42, Resulting Numbers: [42] 42,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[98, 84], Operations: ['72-2=70', '14+70=84'] Exploring Operation: 98*84=8232, Resulting Numbers: [8232] 8232,67 unequal: No Solution Exploring Operation: 98+84=182, Resulting Numbers: [182] 182,67 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[72, 14, 96], Operations: ['98-2=96'] Exploring Operation: 72+14=86, Resulting Numbers: [96, 86] Generated Node #0,2,0: 67:[96, 86] Operation: 72+14=86 Exploring Operation: 72-14=58, Resulting Numbers: [96, 58] Generated Node #0,2,1: 67:[96, 58] Operation: 72-14=58 Exploring Operation: 14+96=110, Resulting Numbers: [72, 110] Generated Node #0,2,2: 67:[72, 110] Operation: 14+96=110 Exploring Operation: 96-14=82, Resulting Numbers: [72, 82] Generated Node #0,2,3: 67:[72, 82] Operation: 96-14=82 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[72, 82], Operations: ['98-2=96', '96-14=82'] Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 72*82=5904, Resulting Numbers: [5904] 5904,67 unequal: No Solution Exploring Operation: 72+82=154, Resulting Numbers: [154] 154,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[96, 58], Operations: ['98-2=96', '72-14=58'] Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[96, 86], Operations: ['98-2=96', '72+14=86'] Exploring Operation: 96+86=182, Resulting Numbers: [182] 182,67 unequal: No Solution Exploring Operation: 96*86=8256, Resulting Numbers: [8256] 8256,67 unequal: No Solution Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[72, 110], Operations: ['98-2=96', '14+96=110'] Exploring Operation: 72+110=182, Resulting Numbers: [182] 182,67 unequal: No Solution Exploring Operation: 110-72=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 72*110=7920, Resulting Numbers: [7920] 7920,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 44, 66, 18, 42 ]
42
[ "44-42=2", "66+18=84", "84/2=42" ]
Current State: 42:[44, 66, 18, 42], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [66, 18, 2] Generated Node #2: [66, 18, 2] from Operation: 44-42=2 Current State: 42:[66, 18, 2], Operations: ['44-42=2'] Exploring Operation: 66+18=84, Resulting Numbers: [2, 84] Generated Node #3: [2, 84] from Operation: 66+18=84 Current State: 42:[2, 84], Operations: ['44-42=2', '66+18=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[44, 66, 18, 42], Operations: [] Exploring Operation: 66-18=48, Resulting Numbers: [44, 42, 48] Generated Node #0,0: 42:[44, 42, 48] Operation: 66-18=48 Exploring Operation: 66-44=22, Resulting Numbers: [18, 42, 22] Generated Node #0,1: 42:[18, 42, 22] Operation: 66-44=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[18, 42, 22], Operations: ['66-44=22'] Exploring Operation: 22-18=4, Resulting Numbers: [42, 4] Generated Node #0,1,0: 42:[42, 4] Operation: 22-18=4 Exploring Operation: 18+22=40, Resulting Numbers: [42, 40] Generated Node #0,1,1: 42:[42, 40] Operation: 18+22=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[42, 4], Operations: ['66-44=22', '22-18=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[42, 40], Operations: ['66-44=22', '18+22=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[44, 42, 48], Operations: ['66-18=48'] Exploring Operation: 48-44=4, Resulting Numbers: [42, 4] Generated Node #0,0,0: 42:[42, 4] Operation: 48-44=4 Exploring Operation: 48-42=6, Resulting Numbers: [44, 6] Generated Node #0,0,1: 42:[44, 6] Operation: 48-42=6 Moving to Node #0,0,0 Current State: 42:[42, 4], Operations: ['66-18=48', '48-44=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[44, 6], Operations: ['66-18=48', '48-42=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,42 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
[ 57, 42, 38, 30 ]
63
[ "42-38=4", "30*4=120", "120-57=63" ]
Current State: 63:[57, 42, 38, 30], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [57, 30, 4] Generated Node #2: [57, 30, 4] from Operation: 42-38=4 Current State: 63:[57, 30, 4], Operations: ['42-38=4'] Exploring Operation: 30*4=120, Resulting Numbers: [57, 120] Generated Node #3: [57, 120] from Operation: 30*4=120 Current State: 63:[57, 120], Operations: ['42-38=4', '30*4=120'] Exploring Operation: 120-57=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[57, 42, 38, 30], Operations: [] Exploring Operation: 57-42=15, Resulting Numbers: [38, 30, 15] Generated Node #0,0: 63:[38, 30, 15] Operation: 57-42=15 Exploring Operation: 42-38=4, Resulting Numbers: [57, 30, 4] Generated Node #0,1: 63:[57, 30, 4] Operation: 42-38=4 Exploring Operation: 38-30=8, Resulting Numbers: [57, 42, 8] Generated Node #0,2: 63:[57, 42, 8] Operation: 38-30=8 Exploring Operation: 42-30=12, Resulting Numbers: [57, 38, 12] Generated Node #0,3: 63:[57, 38, 12] Operation: 42-30=12 Moving to Node #0,1 Current State: 63:[57, 30, 4], Operations: ['42-38=4'] Exploring Operation: 30-4=26, Resulting Numbers: [57, 26] Generated Node #0,1,0: 63:[57, 26] Operation: 30-4=26 Exploring Operation: 57-4=53, Resulting Numbers: [30, 53] Generated Node #0,1,1: 63:[30, 53] Operation: 57-4=53 Exploring Operation: 57-30=27, Resulting Numbers: [4, 27] Generated Node #0,1,2: 63:[4, 27] Operation: 57-30=27 Exploring Operation: 57+4=61, Resulting Numbers: [30, 61] Generated Node #0,1,3: 63:[30, 61] Operation: 57+4=61 Moving to Node #0,3 Current State: 63:[57, 38, 12], Operations: ['42-30=12'] Exploring Operation: 38-12=26, Resulting Numbers: [57, 26] Generated Node #0,3,0: 63:[57, 26] Operation: 38-12=26 Exploring Operation: 38+12=50, Resulting Numbers: [57, 50] Generated Node #0,3,1: 63:[57, 50] Operation: 38+12=50 Exploring Operation: 57+12=69, Resulting Numbers: [38, 69] Generated Node #0,3,2: 63:[38, 69] Operation: 57+12=69 Exploring Operation: 57-38=19, Resulting Numbers: [12, 19] Generated Node #0,3,3: 63:[12, 19] Operation: 57-38=19 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 63:[12, 19], Operations: ['42-30=12', '57-38=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,63 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,63 unequal: No Solution No 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: 63:[57, 26], Operations: ['42-30=12', '38-12=26'] Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,63 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,63 unequal: No Solution No 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: 63:[57, 50], Operations: ['42-30=12', '38+12=50'] Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,63 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,63 unequal: No Solution No 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: 63:[38, 69], Operations: ['42-30=12', '57+12=69'] Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,63 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: 63:[57, 42, 8], Operations: ['38-30=8'] Exploring Operation: 42-8=34, Resulting Numbers: [57, 34] Generated Node #0,2,0: 63:[57, 34] Operation: 42-8=34 Exploring Operation: 57-42=15, Resulting Numbers: [8, 15] Generated Node #0,2,1: 63:[8, 15] Operation: 57-42=15 Exploring Operation: 57+8=65, Resulting Numbers: [42, 65] Generated Node #0,2,2: 63:[42, 65] Operation: 57+8=65 Exploring Operation: 42+8=50, Resulting Numbers: [57, 50] Generated Node #0,2,3: 63:[57, 50] Operation: 42+8=50 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[8, 15], Operations: ['38-30=8', '57-42=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,63 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,63 unequal: No Solution No 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: 63:[57, 34], Operations: ['38-30=8', '42-8=34'] Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,63 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,63 unequal: No Solution No 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: 63:[57, 50], Operations: ['38-30=8', '42+8=50'] Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,63 unequal: No Solution No 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: 63:[42, 65], Operations: ['38-30=8', '57+8=65'] Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,63 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,63 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: 63:[38, 30, 15], Operations: ['57-42=15'] Exploring Operation: 38-30=8, Resulting Numbers: [15, 8] Generated Node #0,0,0: 63:[15, 8] Operation: 38-30=8 Exploring Operation: 30/15=2, Resulting Numbers: [38, 2] Generated Node #0,0,1: 63:[38, 2] Operation: 30/15=2 Exploring Operation: 38-15=23, Resulting Numbers: [30, 23] Generated Node #0,0,2: 63:[30, 23] Operation: 38-15=23 Exploring Operation: 38+30=68, Resulting Numbers: [15, 68] Generated Node #0,0,3: 63:[15, 68] Operation: 38+30=68 Moving to Node #0,1,2 Current State: 63:[4, 27], Operations: ['42-38=4', '57-30=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[15, 8], Operations: ['57-42=15', '38-30=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[30, 61], Operations: ['42-38=4', '57+4=61'] Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,63 unequal: No Solution Exploring Operation: 30*61=1830, Resulting Numbers: [1830] 1830,63 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[30, 23], Operations: ['57-42=15', '38-15=23'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,63 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[15, 68], Operations: ['57-42=15', '38+30=68'] Exploring Operation: 15+68=83, Resulting Numbers: [83] 83,63 unequal: No Solution Exploring Operation: 15*68=1020, Resulting Numbers: [1020] 1020,63 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[57, 26], Operations: ['42-38=4', '30-4=26'] Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,63 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[38, 2], Operations: ['57-42=15', '30/15=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[30, 53], Operations: ['42-38=4', '57-4=53'] Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,63 unequal: No Solution Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,63 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,63 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 78, 43, 2, 64 ]
56
[ "78+64=142", "43*2=86", "142-86=56" ]
Current State: 56:[78, 43, 2, 64], Operations: [] Exploring Operation: 78+64=142, Resulting Numbers: [43, 2, 142] Generated Node #2: [43, 2, 142] from Operation: 78+64=142 Current State: 56:[43, 2, 142], Operations: ['78+64=142'] Exploring Operation: 43*2=86, Resulting Numbers: [142, 86] Generated Node #3: [142, 86] from Operation: 43*2=86 Current State: 56:[142, 86], Operations: ['78+64=142', '43*2=86'] Exploring Operation: 142-86=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[78, 43, 2, 64], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [78, 2, 21] Generated Node #0,0: 56:[78, 2, 21] Operation: 64-43=21 Exploring Operation: 78-43=35, Resulting Numbers: [2, 64, 35] Generated Node #0,1: 56:[2, 64, 35] Operation: 78-43=35 Exploring Operation: 78-64=14, Resulting Numbers: [43, 2, 14] Generated Node #0,2: 56:[43, 2, 14] Operation: 78-64=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[43, 2, 14], Operations: ['78-64=14'] Exploring Operation: 43-14=29, Resulting Numbers: [2, 29] Generated Node #0,2,0: 56:[2, 29] Operation: 43-14=29 Exploring Operation: 43+14=57, Resulting Numbers: [2, 57] Generated Node #0,2,1: 56:[2, 57] Operation: 43+14=57 Exploring Operation: 43+2=45, Resulting Numbers: [14, 45] Generated Node #0,2,2: 56:[14, 45] Operation: 43+2=45 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[2, 29], Operations: ['78-64=14', '43-14=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[2, 57], Operations: ['78-64=14', '43+14=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[14, 45], Operations: ['78-64=14', '43+2=45'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,56 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[2, 64, 35], Operations: ['78-43=35'] Exploring Operation: 64/2=32, Resulting Numbers: [35, 32] Generated Node #0,1,0: 56:[35, 32] Operation: 64/2=32 Exploring Operation: 64-35=29, Resulting Numbers: [2, 29] Generated Node #0,1,1: 56:[2, 29] Operation: 64-35=29 Exploring Operation: 64-2=62, Resulting Numbers: [35, 62] Generated Node #0,1,2: 56:[35, 62] Operation: 64-2=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[2, 29], Operations: ['78-43=35', '64-35=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[35, 32], Operations: ['78-43=35', '64/2=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,56 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[35, 62], Operations: ['78-43=35', '64-2=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,56 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[78, 2, 21], Operations: ['64-43=21'] Exploring Operation: 78-21=57, Resulting Numbers: [2, 57] Generated Node #0,0,0: 56:[2, 57] Operation: 78-21=57 Exploring Operation: 78/2=39, Resulting Numbers: [21, 39] Generated Node #0,0,1: 56:[21, 39] Operation: 78/2=39 Exploring Operation: 78-2=76, Resulting Numbers: [21, 76] Generated Node #0,0,2: 56:[21, 76] Operation: 78-2=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[2, 57], Operations: ['64-43=21', '78-21=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[21, 39], Operations: ['64-43=21', '78/2=39'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,56 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[21, 76], Operations: ['64-43=21', '78-2=76'] Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,56 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 9, 61, 58, 99 ]
11
[ "61-9=52", "99-58=41", "52-41=11" ]
Current State: 11:[9, 61, 58, 99], Operations: [] Exploring Operation: 61-9=52, Resulting Numbers: [58, 99, 52] Generated Node #2: [58, 99, 52] from Operation: 61-9=52 Current State: 11:[58, 99, 52], Operations: ['61-9=52'] Exploring Operation: 99-58=41, Resulting Numbers: [52, 41] Generated Node #3: [52, 41] from Operation: 99-58=41 Current State: 11:[52, 41], Operations: ['61-9=52', '99-58=41'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[9, 61, 58, 99], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [9, 61, 41] Generated Node #0,0: 11:[9, 61, 41] Operation: 99-58=41 Exploring Operation: 99-61=38, Resulting Numbers: [9, 58, 38] Generated Node #0,1: 11:[9, 58, 38] Operation: 99-61=38 Moving to Node #0,1 Current State: 11:[9, 58, 38], Operations: ['99-61=38'] Exploring Operation: 58-9=49, Resulting Numbers: [38, 49] Generated Node #0,1,0: 11:[38, 49] Operation: 58-9=49 Exploring Operation: 58-38=20, Resulting Numbers: [9, 20] Generated Node #0,1,1: 11:[9, 20] Operation: 58-38=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[9, 20], Operations: ['99-61=38', '58-38=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[9, 61, 58, 99], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [9, 58, 38] Generated Node #0,1: 11:[9, 58, 38] Operation: 99-61=38 Moving to Node #0,1 Current State: 11:[9, 58, 38], Operations: ['99-61=38'] Exploring Operation: 58-38=20, Resulting Numbers: [9, 20] Generated Node #0,1,1: 11:[9, 20] Operation: 58-38=20 Moving to Node #0,1,1 Current State: 11:[9, 20], Operations: ['99-61=38', '58-38=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 82, 24, 44, 2 ]
28
[ "82-24=58", "58-44=14", "2*14=28" ]
Current State: 28:[82, 24, 44, 2], Operations: [] Exploring Operation: 82-24=58, Resulting Numbers: [44, 2, 58] Generated Node #2: [44, 2, 58] from Operation: 82-24=58 Current State: 28:[44, 2, 58], Operations: ['82-24=58'] Exploring Operation: 58-44=14, Resulting Numbers: [2, 14] Generated Node #3: [2, 14] from Operation: 58-44=14 Current State: 28:[2, 14], Operations: ['82-24=58', '58-44=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[82, 24, 44, 2], Operations: [] Exploring Operation: 82-24=58, Resulting Numbers: [44, 2, 58] Generated Node #0,0: 28:[44, 2, 58] Operation: 82-24=58 Exploring Operation: 82/2=41, Resulting Numbers: [24, 44, 41] Generated Node #0,1: 28:[24, 44, 41] Operation: 82/2=41 Exploring Operation: 82-44=38, Resulting Numbers: [24, 2, 38] Generated Node #0,2: 28:[24, 2, 38] Operation: 82-44=38 Exploring Operation: 44-24=20, Resulting Numbers: [82, 2, 20] Generated Node #0,3: 28:[82, 2, 20] Operation: 44-24=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[24, 2, 38], Operations: ['82-44=38'] Exploring Operation: 24/2=12, Resulting Numbers: [38, 12] Generated Node #0,2,0: 28:[38, 12] Operation: 24/2=12 Exploring Operation: 38/2=19, Resulting Numbers: [24, 19] Generated Node #0,2,1: 28:[24, 19] Operation: 38/2=19 Exploring Operation: 38-24=14, Resulting Numbers: [2, 14] Generated Node #0,2,2: 28:[2, 14] Operation: 38-24=14 Exploring Operation: 24+2=26, Resulting Numbers: [38, 26] Generated Node #0,2,3: 28:[38, 26] Operation: 24+2=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[2, 14], Operations: ['82-44=38', '38-24=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[82, 24, 44, 2], Operations: [] Exploring Operation: 82-44=38, Resulting Numbers: [24, 2, 38] Generated Node #0,2: 28:[24, 2, 38] Operation: 82-44=38 Moving to Node #0,2 Current State: 28:[24, 2, 38], Operations: ['82-44=38'] Exploring Operation: 38-24=14, Resulting Numbers: [2, 14] Generated Node #0,2,2: 28:[2, 14] Operation: 38-24=14 Moving to Node #0,2,2 Current State: 28:[2, 14], Operations: ['82-44=38', '38-24=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 29, 44, 15, 97 ]
97
[ "44-29=15", "15+97=112", "112-15=97" ]
Current State: 97:[29, 44, 15, 97], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [15, 97, 15] Generated Node #2: [15, 97, 15] from Operation: 44-29=15 Current State: 97:[15, 97, 15], Operations: ['44-29=15'] Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,97 equal: Goal Reached Exploring Operation: 112-15=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[29, 44, 15, 97], Operations: [] Exploring Operation: 29+44=73, Resulting Numbers: [15, 97, 73] Generated Node #0,0: 97:[15, 97, 73] Operation: 29+44=73 Exploring Operation: 29+15=44, Resulting Numbers: [44, 97, 44] Generated Node #0,1: 97:[44, 97, 44] Operation: 29+15=44 Moving to Node #0,0 Current State: 97:[15, 97, 73], Operations: ['29+44=73'] Exploring Operation: 15+73=88, Resulting Numbers: [97, 88] Generated Node #0,0,0: 97:[97, 88] Operation: 15+73=88 Exploring Operation: 15+97=112, Resulting Numbers: [73, 112] Generated Node #0,0,1: 97:[73, 112] Operation: 15+97=112 Moving to Node #0,1 Current State: 97:[44, 97, 44], Operations: ['29+15=44'] Exploring Operation: 44/44=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 44/44=1 Exploring Operation: 44+44=88, Resulting Numbers: [97, 88] Generated Node #0,1,1: 97:[97, 88] Operation: 44+44=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[97, 88], Operations: ['29+15=44', '44+44=88'] Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 97+88=185, Resulting Numbers: [185] 185,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[97, 1], Operations: ['29+15=44', '44/44=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[29, 44, 15, 97], Operations: [] Exploring Operation: 29+15=44, Resulting Numbers: [44, 97, 44] Generated Node #0,1: 97:[44, 97, 44] Operation: 29+15=44 Moving to Node #0,1 Current State: 97:[44, 97, 44], Operations: ['29+15=44'] Exploring Operation: 44/44=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 44/44=1 Moving to Node #0,1,0 Current State: 97:[97, 1], Operations: ['29+15=44', '44/44=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
mult_heuristic
[ 48, 13, 44, 96 ]
35
[ "48*44=2112", "2112/96=22", "13+22=35" ]
Current State: 35:[48, 13, 44, 96], Operations: [] Exploring Operation: 48*44=2112, Resulting Numbers: [13, 96, 2112] Generated Node #2: [13, 96, 2112] from Operation: 48*44=2112 Current State: 35:[13, 96, 2112], Operations: ['48*44=2112'] Exploring Operation: 2112/96=22, Resulting Numbers: [13, 22] Generated Node #3: [13, 22] from Operation: 2112/96=22 Current State: 35:[13, 22], Operations: ['48*44=2112', '2112/96=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[48, 13, 44, 96], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [13, 44, 48] Generated Node #0,0: 35:[13, 44, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [13, 44, 2] Generated Node #0,1: 35:[13, 44, 2] Operation: 96/48=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[13, 44, 2], Operations: ['96/48=2'] Exploring Operation: 13-2=11, Resulting Numbers: [44, 11] Generated Node #0,1,0: 35:[44, 11] Operation: 13-2=11 Exploring Operation: 44-13=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 35:[2, 31] Operation: 44-13=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[2, 31], Operations: ['96/48=2', '44-13=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,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:[44, 11], Operations: ['96/48=2', '13-2=11'] Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,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:[13, 44, 48], Operations: ['96-48=48'] Exploring Operation: 48-13=35, Resulting Numbers: [44, 35] Generated Node #0,0,0: 35:[44, 35] Operation: 48-13=35 Exploring Operation: 48-44=4, Resulting Numbers: [13, 4] Generated Node #0,0,1: 35:[13, 4] Operation: 48-44=4 Moving to Node #0,0,1 Current State: 35:[13, 4], Operations: ['96-48=48', '48-44=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[44, 35], Operations: ['96-48=48', '48-13=35'] Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,35 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,35 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
[ 96, 90, 78, 34 ]
26
[ "90-78=12", "96/12=8", "34-8=26" ]
Current State: 26:[96, 90, 78, 34], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [96, 34, 12] Generated Node #2: [96, 34, 12] from Operation: 90-78=12 Current State: 26:[96, 34, 12], Operations: ['90-78=12'] Exploring Operation: 96/12=8, Resulting Numbers: [34, 8] Generated Node #3: [34, 8] from Operation: 96/12=8 Current State: 26:[34, 8], Operations: ['90-78=12', '96/12=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[96, 90, 78, 34], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [96, 78, 56] Generated Node #0,0: 26:[96, 78, 56] Operation: 90-34=56 Exploring Operation: 96-34=62, Resulting Numbers: [90, 78, 62] Generated Node #0,1: 26:[90, 78, 62] Operation: 96-34=62 Exploring Operation: 96-78=18, Resulting Numbers: [90, 34, 18] Generated Node #0,2: 26:[90, 34, 18] Operation: 96-78=18 Exploring Operation: 90-78=12, Resulting Numbers: [96, 34, 12] Generated Node #0,3: 26:[96, 34, 12] Operation: 90-78=12 Exploring Operation: 96-90=6, Resulting Numbers: [78, 34, 6] Generated Node #0,4: 26:[78, 34, 6] Operation: 96-90=6 Moving to Node #0,4 Current State: 26:[78, 34, 6], Operations: ['96-90=6'] Exploring Operation: 78-6=72, Resulting Numbers: [34, 72] Generated Node #0,4,0: 26:[34, 72] Operation: 78-6=72 Exploring Operation: 78/6=13, Resulting Numbers: [34, 13] Generated Node #0,4,1: 26:[34, 13] Operation: 78/6=13 Exploring Operation: 34-6=28, Resulting Numbers: [78, 28] Generated Node #0,4,2: 26:[78, 28] Operation: 34-6=28 Exploring Operation: 78-34=44, Resulting Numbers: [6, 44] Generated Node #0,4,3: 26:[6, 44] Operation: 78-34=44 Exploring Operation: 78+6=84, Resulting Numbers: [34, 84] Generated Node #0,4,4: 26:[34, 84] Operation: 78+6=84 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 26:[34, 13], Operations: ['96-90=6', '78/6=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,26 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 26:[6, 44], Operations: ['96-90=6', '78-34=44'] Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,26 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 26:[34, 72], Operations: ['96-90=6', '78-6=72'] Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,26 unequal: No Solution Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 26:[78, 28], Operations: ['96-90=6', '34-6=28'] Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,26 unequal: No Solution Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,26 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 26:[34, 84], Operations: ['96-90=6', '78+6=84'] Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,26 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,26 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,26 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: 26:[90, 34, 18], Operations: ['96-78=18'] Exploring Operation: 90-34=56, Resulting Numbers: [18, 56] Generated Node #0,2,0: 26:[18, 56] Operation: 90-34=56 Exploring Operation: 90+18=108, Resulting Numbers: [34, 108] Generated Node #0,2,1: 26:[34, 108] Operation: 90+18=108 Exploring Operation: 90/18=5, Resulting Numbers: [34, 5] Generated Node #0,2,2: 26:[34, 5] Operation: 90/18=5 Exploring Operation: 90-18=72, Resulting Numbers: [34, 72] Generated Node #0,2,3: 26:[34, 72] Operation: 90-18=72 Exploring Operation: 34-18=16, Resulting Numbers: [90, 16] Generated Node #0,2,4: 26:[90, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[34, 5], Operations: ['96-78=18', '90/18=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,26 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,26 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[18, 56], Operations: ['96-78=18', '90-34=56'] Exploring Operation: 18*56=1008, Resulting Numbers: [1008] 1008,26 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 18+56=74, Resulting Numbers: [74] 74,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[34, 72], Operations: ['96-78=18', '90-18=72'] Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,26 unequal: No Solution Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,26 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 26:[90, 16], Operations: ['96-78=18', '34-18=16'] Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,26 unequal: No Solution Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[34, 108], Operations: ['96-78=18', '90+18=108'] Exploring Operation: 34+108=142, Resulting Numbers: [142] 142,26 unequal: No Solution Exploring Operation: 108-34=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 34*108=3672, Resulting Numbers: [3672] 3672,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 26:[96, 34, 12], Operations: ['90-78=12'] Exploring Operation: 96+12=108, Resulting Numbers: [34, 108] Generated Node #0,3,0: 26:[34, 108] Operation: 96+12=108 Exploring Operation: 34-12=22, Resulting Numbers: [96, 22] Generated Node #0,3,1: 26:[96, 22] Operation: 34-12=22 Exploring Operation: 96/12=8, Resulting Numbers: [34, 8] Generated Node #0,3,2: 26:[34, 8] Operation: 96/12=8 Exploring Operation: 96-34=62, Resulting Numbers: [12, 62] Generated Node #0,3,3: 26:[12, 62] Operation: 96-34=62 Exploring Operation: 96-12=84, Resulting Numbers: [34, 84] Generated Node #0,3,4: 26:[34, 84] Operation: 96-12=84 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[34, 8], Operations: ['90-78=12', '96/12=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[96, 90, 78, 34], Operations: [] Exploring Operation: 90-78=12, Resulting Numbers: [96, 34, 12] Generated Node #0,3: 26:[96, 34, 12] Operation: 90-78=12 Moving to Node #0,3 Current State: 26:[96, 34, 12], Operations: ['90-78=12'] Exploring Operation: 96/12=8, Resulting Numbers: [34, 8] Generated Node #0,3,2: 26:[34, 8] Operation: 96/12=8 Moving to Node #0,3,2 Current State: 26:[34, 8], Operations: ['90-78=12', '96/12=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
mult_heuristic
[ 61, 13, 31, 43 ]
60
[ "61-13=48", "43-31=12", "48+12=60" ]
Current State: 60:[61, 13, 31, 43], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [31, 43, 48] Generated Node #2: [31, 43, 48] from Operation: 61-13=48 Current State: 60:[31, 43, 48], Operations: ['61-13=48'] Exploring Operation: 43-31=12, Resulting Numbers: [48, 12] Generated Node #3: [48, 12] from Operation: 43-31=12 Current State: 60:[48, 12], Operations: ['61-13=48', '43-31=12'] Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[61, 13, 31, 43], Operations: [] Exploring Operation: 43-31=12, Resulting Numbers: [61, 13, 12] Generated Node #0,0: 60:[61, 13, 12] Operation: 43-31=12 Exploring Operation: 43-13=30, Resulting Numbers: [61, 31, 30] Generated Node #0,1: 60:[61, 31, 30] Operation: 43-13=30 Moving to Node #0,0 Current State: 60:[61, 13, 12], Operations: ['43-31=12'] Exploring Operation: 13-12=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 60:[61, 1] Operation: 13-12=1 Exploring Operation: 13+12=25, Resulting Numbers: [61, 25] Generated Node #0,0,1: 60:[61, 25] Operation: 13+12=25 Moving to Node #0,1 Current State: 60:[61, 31, 30], Operations: ['43-13=30'] Exploring Operation: 61-31=30, Resulting Numbers: [30, 30] Generated Node #0,1,0: 60:[30, 30] Operation: 61-31=30 Exploring Operation: 61-30=31, Resulting Numbers: [31, 31] Generated Node #0,1,1: 60:[31, 31] Operation: 61-30=31 Moving to Node #0,1,0 Current State: 60:[30, 30], Operations: ['43-13=30', '61-31=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[61, 13, 31, 43], Operations: [] Exploring Operation: 43-13=30, Resulting Numbers: [61, 31, 30] Generated Node #0,1: 60:[61, 31, 30] Operation: 43-13=30 Moving to Node #0,1 Current State: 60:[61, 31, 30], Operations: ['43-13=30'] Exploring Operation: 61-31=30, Resulting Numbers: [30, 30] Generated Node #0,1,0: 60:[30, 30] Operation: 61-31=30 Moving to Node #0,1,0 Current State: 60:[30, 30], Operations: ['43-13=30', '61-31=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 62, 2, 15, 88 ]
21
[ "62*2=124", "15+88=103", "124-103=21" ]
Current State: 21:[62, 2, 15, 88], Operations: [] Exploring Operation: 62*2=124, Resulting Numbers: [15, 88, 124] Generated Node #2: [15, 88, 124] from Operation: 62*2=124 Current State: 21:[15, 88, 124], Operations: ['62*2=124'] Exploring Operation: 15+88=103, Resulting Numbers: [124, 103] Generated Node #3: [124, 103] from Operation: 15+88=103 Current State: 21:[124, 103], Operations: ['62*2=124', '15+88=103'] Exploring Operation: 124-103=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[62, 2, 15, 88], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [62, 15, 44] Generated Node #0,0: 21:[62, 15, 44] Operation: 88/2=44 Exploring Operation: 88-62=26, Resulting Numbers: [2, 15, 26] Generated Node #0,1: 21:[2, 15, 26] Operation: 88-62=26 Moving to Node #0,1 Current State: 21:[2, 15, 26], Operations: ['88-62=26'] Exploring Operation: 2+15=17, Resulting Numbers: [26, 17] Generated Node #0,1,0: 21:[26, 17] Operation: 2+15=17 Exploring Operation: 26-15=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 21:[2, 11] Operation: 26-15=11 Moving to Node #0,0 Current State: 21:[62, 15, 44], Operations: ['88/2=44'] Exploring Operation: 62-44=18, Resulting Numbers: [15, 18] Generated Node #0,0,0: 21:[15, 18] Operation: 62-44=18 Exploring Operation: 62-15=47, Resulting Numbers: [44, 47] Generated Node #0,0,1: 21:[44, 47] Operation: 62-15=47 Moving to Node #0,1,1 Current State: 21:[2, 11], Operations: ['88-62=26', '26-15=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[15, 18], Operations: ['88/2=44', '62-44=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,21 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[26, 17], Operations: ['88-62=26', '2+15=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[44, 47], Operations: ['88/2=44', '62-15=47'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,21 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 73, 94, 95, 42 ]
93
[ "94-73=21", "42/21=2", "95-2=93" ]
Current State: 93:[73, 94, 95, 42], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [95, 42, 21] Generated Node #2: [95, 42, 21] from Operation: 94-73=21 Current State: 93:[95, 42, 21], Operations: ['94-73=21'] Exploring Operation: 42/21=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 42/21=2 Current State: 93:[95, 2], Operations: ['94-73=21', '42/21=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[73, 94, 95, 42], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [95, 42, 21] Generated Node #0,0: 93:[95, 42, 21] Operation: 94-73=21 Exploring Operation: 73-42=31, Resulting Numbers: [94, 95, 31] Generated Node #0,1: 93:[94, 95, 31] Operation: 73-42=31 Exploring Operation: 95-73=22, Resulting Numbers: [94, 42, 22] Generated Node #0,2: 93:[94, 42, 22] Operation: 95-73=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[94, 95, 31], Operations: ['73-42=31'] Exploring Operation: 94-31=63, Resulting Numbers: [95, 63] Generated Node #0,1,0: 93:[95, 63] Operation: 94-31=63 Exploring Operation: 95-94=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 93:[31, 1] Operation: 95-94=1 Exploring Operation: 95-31=64, Resulting Numbers: [94, 64] Generated Node #0,1,2: 93:[94, 64] Operation: 95-31=64 Moving to Node #0,1,1 Current State: 93:[31, 1], Operations: ['73-42=31', '95-94=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[94, 64], Operations: ['73-42=31', '95-31=64'] Exploring Operation: 94+64=158, Resulting Numbers: [158] 158,93 unequal: No Solution Exploring Operation: 94*64=6016, Resulting Numbers: [6016] 6016,93 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[95, 63], Operations: ['73-42=31', '94-31=63'] Exploring Operation: 95*63=5985, Resulting Numbers: [5985] 5985,93 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 95+63=158, Resulting Numbers: [158] 158,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[94, 42, 22], Operations: ['95-73=22'] Exploring Operation: 42-22=20, Resulting Numbers: [94, 20] Generated Node #0,2,0: 93:[94, 20] Operation: 42-22=20 Exploring Operation: 42+22=64, Resulting Numbers: [94, 64] Generated Node #0,2,1: 93:[94, 64] Operation: 42+22=64 Exploring Operation: 94-42=52, Resulting Numbers: [22, 52] Generated Node #0,2,2: 93:[22, 52] Operation: 94-42=52 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[94, 20], Operations: ['95-73=22', '42-22=20'] Exploring Operation: 94*20=1880, Resulting Numbers: [1880] 1880,93 unequal: No Solution Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 94+20=114, Resulting Numbers: [114] 114,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[94, 64], Operations: ['95-73=22', '42+22=64'] Exploring Operation: 94*64=6016, Resulting Numbers: [6016] 6016,93 unequal: No Solution Exploring Operation: 94+64=158, Resulting Numbers: [158] 158,93 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[22, 52], Operations: ['95-73=22', '94-42=52'] Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,93 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[95, 42, 21], Operations: ['94-73=21'] Exploring Operation: 42-21=21, Resulting Numbers: [95, 21] Generated Node #0,0,0: 93:[95, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 93:[95, 2] Operation: 42/21=2 Exploring Operation: 95-21=74, Resulting Numbers: [42, 74] Generated Node #0,0,2: 93:[42, 74] Operation: 95-21=74 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[95, 2], Operations: ['94-73=21', '42/21=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,93 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[73, 94, 95, 42], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [95, 42, 21] Generated Node #0,0: 93:[95, 42, 21] Operation: 94-73=21 Moving to Node #0,0 Current State: 93:[95, 42, 21], Operations: ['94-73=21'] Exploring Operation: 42/21=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 93:[95, 2] Operation: 42/21=2 Moving to Node #0,0,1 Current State: 93:[95, 2], Operations: ['94-73=21', '42/21=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 70, 84, 86, 34 ]
52
[ "70+34=104", "86-84=2", "104/2=52" ]
Current State: 52:[70, 84, 86, 34], Operations: [] Exploring Operation: 70+34=104, Resulting Numbers: [84, 86, 104] Generated Node #2: [84, 86, 104] from Operation: 70+34=104 Current State: 52:[84, 86, 104], Operations: ['70+34=104'] Exploring Operation: 86-84=2, Resulting Numbers: [104, 2] Generated Node #3: [104, 2] from Operation: 86-84=2 Current State: 52:[104, 2], Operations: ['70+34=104', '86-84=2'] Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[70, 84, 86, 34], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [70, 34, 2] Generated Node #0,0: 52:[70, 34, 2] Operation: 86-84=2 Exploring Operation: 84-70=14, Resulting Numbers: [86, 34, 14] Generated Node #0,1: 52:[86, 34, 14] Operation: 84-70=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[70, 34, 2], Operations: ['86-84=2'] Exploring Operation: 70-34=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 52:[2, 36] Operation: 70-34=36 Exploring Operation: 70/2=35, Resulting Numbers: [34, 35] Generated Node #0,0,1: 52:[34, 35] Operation: 70/2=35 Moving to Node #0,0,0 Current State: 52:[2, 36], Operations: ['86-84=2', '70-34=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[34, 35], Operations: ['86-84=2', '70/2=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[86, 34, 14], Operations: ['84-70=14'] Exploring Operation: 86-34=52, Resulting Numbers: [14, 52] Generated Node #0,1,0: 52:[14, 52] Operation: 86-34=52 Exploring Operation: 86-14=72, Resulting Numbers: [34, 72] Generated Node #0,1,1: 52:[34, 72] Operation: 86-14=72 Moving to Node #0,1,0 Current State: 52:[14, 52], Operations: ['84-70=14', '86-34=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[34, 72], Operations: ['84-70=14', '86-14=72'] Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 38, 6, 40, 95 ]
55
[ "6*95=570", "570/38=15", "40+15=55" ]
Current State: 55:[38, 6, 40, 95], Operations: [] Exploring Operation: 6*95=570, Resulting Numbers: [38, 40, 570] Generated Node #2: [38, 40, 570] from Operation: 6*95=570 Current State: 55:[38, 40, 570], Operations: ['6*95=570'] Exploring Operation: 570/38=15, Resulting Numbers: [40, 15] Generated Node #3: [40, 15] from Operation: 570/38=15 Current State: 55:[40, 15], Operations: ['6*95=570', '570/38=15'] Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[38, 6, 40, 95], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [6, 95, 2] Generated Node #0,0: 55:[6, 95, 2] Operation: 40-38=2 Exploring Operation: 95-40=55, Resulting Numbers: [38, 6, 55] Generated Node #0,1: 55:[38, 6, 55] Operation: 95-40=55 Exploring Operation: 95-38=57, Resulting Numbers: [6, 40, 57] Generated Node #0,2: 55:[6, 40, 57] Operation: 95-38=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[38, 6, 55], Operations: ['95-40=55'] Exploring Operation: 38-6=32, Resulting Numbers: [55, 32] Generated Node #0,1,0: 55:[55, 32] Operation: 38-6=32 Exploring Operation: 38+6=44, Resulting Numbers: [55, 44] Generated Node #0,1,1: 55:[55, 44] Operation: 38+6=44 Exploring Operation: 55-38=17, Resulting Numbers: [6, 17] Generated Node #0,1,2: 55:[6, 17] Operation: 55-38=17 Moving to Node #0,1,2 Current State: 55:[6, 17], Operations: ['95-40=55', '55-38=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[55, 44], Operations: ['95-40=55', '38+6=44'] Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[55, 32], Operations: ['95-40=55', '38-6=32'] Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,55 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[6, 40, 57], Operations: ['95-38=57'] Exploring Operation: 57-6=51, Resulting Numbers: [40, 51] Generated Node #0,2,0: 55:[40, 51] Operation: 57-6=51 Exploring Operation: 6+40=46, Resulting Numbers: [57, 46] Generated Node #0,2,1: 55:[57, 46] Operation: 6+40=46 Exploring Operation: 57-40=17, Resulting Numbers: [6, 17] Generated Node #0,2,2: 55:[6, 17] Operation: 57-40=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[6, 17], Operations: ['95-38=57', '57-40=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[57, 46], Operations: ['95-38=57', '6+40=46'] Exploring Operation: 57*46=2622, Resulting Numbers: [2622] 2622,55 unequal: No Solution Exploring Operation: 57+46=103, Resulting Numbers: [103] 103,55 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[40, 51], Operations: ['95-38=57', '57-6=51'] Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,55 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 40*51=2040, Resulting Numbers: [2040] 2040,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[6, 95, 2], Operations: ['40-38=2'] Exploring Operation: 95-2=93, Resulting Numbers: [6, 93] Generated Node #0,0,0: 55:[6, 93] Operation: 95-2=93 Exploring Operation: 95-6=89, Resulting Numbers: [2, 89] Generated Node #0,0,1: 55:[2, 89] Operation: 95-6=89 Exploring Operation: 6*2=12, Resulting Numbers: [95, 12] Generated Node #0,0,2: 55:[95, 12] Operation: 6*2=12 Moving to Node #0,0,1 Current State: 55:[2, 89], Operations: ['40-38=2', '95-6=89'] Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,55 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,55 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[6, 93], Operations: ['40-38=2', '95-2=93'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,55 unequal: No Solution Exploring Operation: 6*93=558, Resulting Numbers: [558] 558,55 unequal: No Solution Exploring Operation: 6+93=99, Resulting Numbers: [99] 99,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[95, 12], Operations: ['40-38=2', '6*2=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,55 unequal: No Solution Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,55 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
[ 93, 83, 27, 12 ]
11
[ "83*12=996", "27+996=1023", "1023/93=11" ]
Current State: 11:[93, 83, 27, 12], Operations: [] Exploring Operation: 83*12=996, Resulting Numbers: [93, 27, 996] Generated Node #2: [93, 27, 996] from Operation: 83*12=996 Current State: 11:[93, 27, 996], Operations: ['83*12=996'] Exploring Operation: 27+996=1023, Resulting Numbers: [93, 1023] Generated Node #3: [93, 1023] from Operation: 27+996=1023 Current State: 11:[93, 1023], Operations: ['83*12=996', '27+996=1023'] Exploring Operation: 1023/93=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[93, 83, 27, 12], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [83, 12, 66] Generated Node #0,0: 11:[83, 12, 66] Operation: 93-27=66 Exploring Operation: 83-27=56, Resulting Numbers: [93, 12, 56] Generated Node #0,1: 11:[93, 12, 56] Operation: 83-27=56 Exploring Operation: 93-83=10, Resulting Numbers: [27, 12, 10] Generated Node #0,2: 11:[27, 12, 10] Operation: 93-83=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[27, 12, 10], Operations: ['93-83=10'] Exploring Operation: 12-10=2, Resulting Numbers: [27, 2] Generated Node #0,2,0: 11:[27, 2] Operation: 12-10=2 Exploring Operation: 27-10=17, Resulting Numbers: [12, 17] Generated Node #0,2,1: 11:[12, 17] Operation: 27-10=17 Exploring Operation: 27-12=15, Resulting Numbers: [10, 15] Generated Node #0,2,2: 11:[10, 15] Operation: 27-12=15 Moving to Node #0,2,2 Current State: 11:[10, 15], Operations: ['93-83=10', '27-12=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[12, 17], Operations: ['93-83=10', '27-10=17'] Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,11 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[27, 2], Operations: ['93-83=10', '12-10=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[83, 12, 66], Operations: ['93-27=66'] Exploring Operation: 83-66=17, Resulting Numbers: [12, 17] Generated Node #0,0,0: 11:[12, 17] Operation: 83-66=17 Exploring Operation: 66-12=54, Resulting Numbers: [83, 54] Generated Node #0,0,1: 11:[83, 54] Operation: 66-12=54 Exploring Operation: 83-12=71, Resulting Numbers: [66, 71] Generated Node #0,0,2: 11:[66, 71] Operation: 83-12=71 Moving to Node #0,0,0 Current State: 11:[12, 17], Operations: ['93-27=66', '83-66=17'] Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,11 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[83, 54], Operations: ['93-27=66', '66-12=54'] Exploring Operation: 83+54=137, Resulting Numbers: [137] 137,11 unequal: No Solution Exploring Operation: 83*54=4482, Resulting Numbers: [4482] 4482,11 unequal: No Solution Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[66, 71], Operations: ['93-27=66', '83-12=71'] Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,11 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[93, 12, 56], Operations: ['83-27=56'] Exploring Operation: 93-56=37, Resulting Numbers: [12, 37] Generated Node #0,1,0: 11:[12, 37] Operation: 93-56=37 Exploring Operation: 56-12=44, Resulting Numbers: [93, 44] Generated Node #0,1,1: 11:[93, 44] Operation: 56-12=44 Exploring Operation: 93-12=81, Resulting Numbers: [56, 81] Generated Node #0,1,2: 11:[56, 81] Operation: 93-12=81 Moving to Node #0,1,0 Current State: 11:[12, 37], Operations: ['83-27=56', '93-56=37'] Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,11 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[93, 44], Operations: ['83-27=56', '56-12=44'] Exploring Operation: 93+44=137, Resulting Numbers: [137] 137,11 unequal: No Solution Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,11 unequal: No Solution Exploring Operation: 93*44=4092, Resulting Numbers: [4092] 4092,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[56, 81], Operations: ['83-27=56', '93-12=81'] Exploring Operation: 56*81=4536, Resulting Numbers: [4536] 4536,11 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 56+81=137, Resulting Numbers: [137] 137,11 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
[ 1, 4, 80, 9 ]
30
[ "1+9=10", "80/4=20", "10+20=30" ]
Current State: 30:[1, 4, 80, 9], Operations: [] Exploring Operation: 1+9=10, Resulting Numbers: [4, 80, 10] Generated Node #2: [4, 80, 10] from Operation: 1+9=10 Current State: 30:[4, 80, 10], Operations: ['1+9=10'] Exploring Operation: 80/4=20, Resulting Numbers: [10, 20] Generated Node #3: [10, 20] from Operation: 80/4=20 Current State: 30:[10, 20], Operations: ['1+9=10', '80/4=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[1, 4, 80, 9], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [1, 9, 20] Generated Node #0,0: 30:[1, 9, 20] Operation: 80/4=20 Moving to Node #0,0 Current State: 30:[1, 9, 20], Operations: ['80/4=20'] Exploring Operation: 9+20=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 30:[1, 29] Operation: 9+20=29 Moving to Node #0,0,0 Current State: 30:[1, 29], Operations: ['80/4=20', '9+20=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[1, 4, 80, 9], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [1, 9, 20] Generated Node #0,0: 30:[1, 9, 20] Operation: 80/4=20 Moving to Node #0,0 Current State: 30:[1, 9, 20], Operations: ['80/4=20'] Exploring Operation: 9+20=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 30:[1, 29] Operation: 9+20=29 Moving to Node #0,0,0 Current State: 30:[1, 29], Operations: ['80/4=20', '9+20=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 79, 37, 17, 17 ]
42
[ "79-37=42", "17-17=0", "42+0=42" ]
Current State: 42:[79, 37, 17, 17], Operations: [] Exploring Operation: 79-37=42, Resulting Numbers: [17, 17, 42] Generated Node #2: [17, 17, 42] from Operation: 79-37=42 Current State: 42:[17, 17, 42], Operations: ['79-37=42'] Exploring Operation: 17-17=0, Resulting Numbers: [42, 0] Generated Node #3: [42, 0] from Operation: 17-17=0 Current State: 42:[42, 0], Operations: ['79-37=42', '17-17=0'] Exploring Operation: 42+0=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[79, 37, 17, 17], Operations: [] Exploring Operation: 79-17=62, Resulting Numbers: [37, 17, 62] Generated Node #0,0: 42:[37, 17, 62] Operation: 79-17=62 Exploring Operation: 79-17=62, Resulting Numbers: [37, 17, 62] Generated Node #0,1: 42:[37, 17, 62] Operation: 79-17=62 Exploring Operation: 79-37=42, Resulting Numbers: [17, 17, 42] Generated Node #0,2: 42:[17, 17, 42] Operation: 79-37=42 Moving to Node #0,2 Current State: 42:[17, 17, 42], Operations: ['79-37=42'] Exploring Operation: 17-17=0, Resulting Numbers: [42, 0] Generated Node #0,2,0: 42:[42, 0] Operation: 17-17=0 Exploring Operation: 17/17=1, Resulting Numbers: [42, 1] Generated Node #0,2,1: 42:[42, 1] Operation: 17/17=1 Exploring Operation: 42-17=25, Resulting Numbers: [17, 25] Generated Node #0,2,2: 42:[17, 25] Operation: 42-17=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[42, 1], Operations: ['79-37=42', '17/17=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[79, 37, 17, 17], Operations: [] Exploring Operation: 79-37=42, Resulting Numbers: [17, 17, 42] Generated Node #0,2: 42:[17, 17, 42] Operation: 79-37=42 Moving to Node #0,2 Current State: 42:[17, 17, 42], Operations: ['79-37=42'] Exploring Operation: 17/17=1, Resulting Numbers: [42, 1] Generated Node #0,2,1: 42:[42, 1] Operation: 17/17=1 Moving to Node #0,2,1 Current State: 42:[42, 1], Operations: ['79-37=42', '17/17=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 42, 21, 90, 18 ]
30
[ "42-21=21", "21-18=3", "90/3=30" ]
Current State: 30:[42, 21, 90, 18], Operations: [] Exploring Operation: 42-21=21, Resulting Numbers: [90, 18, 21] Generated Node #2: [90, 18, 21] from Operation: 42-21=21 Current State: 30:[90, 18, 21], Operations: ['42-21=21'] Exploring Operation: 21-18=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 21-18=3 Current State: 30:[90, 3], Operations: ['42-21=21', '21-18=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[42, 21, 90, 18], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [42, 21, 5] Generated Node #0,0: 30:[42, 21, 5] Operation: 90/18=5 Exploring Operation: 90-42=48, Resulting Numbers: [21, 18, 48] Generated Node #0,1: 30:[21, 18, 48] Operation: 90-42=48 Moving to Node #0,0 Current State: 30:[42, 21, 5], Operations: ['90/18=5'] Exploring Operation: 42-21=21, Resulting Numbers: [5, 21] Generated Node #0,0,0: 30:[5, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 30:[5, 2] Operation: 42/21=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[5, 2], Operations: ['90/18=5', '42/21=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[5, 21], Operations: ['90/18=5', '42-21=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,30 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 30:[21, 18, 48], Operations: ['90-42=48'] Exploring Operation: 48-18=30, Resulting Numbers: [21, 30] Generated Node #0,1,0: 30:[21, 30] Operation: 48-18=30 Exploring Operation: 48-21=27, Resulting Numbers: [18, 27] Generated Node #0,1,1: 30:[18, 27] Operation: 48-21=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[21, 30], Operations: ['90-42=48', '48-18=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[18, 27], Operations: ['90-42=48', '48-21=27'] Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,30 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,30 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
[ 36, 25, 14, 27 ]
99
[ "36-27=9", "25-14=11", "9*11=99" ]
Current State: 99:[36, 25, 14, 27], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [25, 14, 9] Generated Node #2: [25, 14, 9] from Operation: 36-27=9 Current State: 99:[25, 14, 9], Operations: ['36-27=9'] Exploring Operation: 25-14=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 25-14=11 Current State: 99:[9, 11], Operations: ['36-27=9', '25-14=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[36, 25, 14, 27], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [25, 14, 9] Generated Node #0,0: 99:[25, 14, 9] Operation: 36-27=9 Exploring Operation: 25-14=11, Resulting Numbers: [36, 27, 11] Generated Node #0,1: 99:[36, 27, 11] Operation: 25-14=11 Exploring Operation: 27-25=2, Resulting Numbers: [36, 14, 2] Generated Node #0,2: 99:[36, 14, 2] Operation: 27-25=2 Exploring Operation: 36-25=11, Resulting Numbers: [14, 27, 11] Generated Node #0,3: 99:[14, 27, 11] Operation: 36-25=11 Exploring Operation: 27-14=13, Resulting Numbers: [36, 25, 13] Generated Node #0,4: 99:[36, 25, 13] Operation: 27-14=13 Moving to Node #0,2 Current State: 99:[36, 14, 2], Operations: ['27-25=2'] Exploring Operation: 14/2=7, Resulting Numbers: [36, 7] Generated Node #0,2,0: 99:[36, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [36, 12] Generated Node #0,2,1: 99:[36, 12] Operation: 14-2=12 Exploring Operation: 36-2=34, Resulting Numbers: [14, 34] Generated Node #0,2,2: 99:[14, 34] Operation: 36-2=34 Exploring Operation: 36+2=38, Resulting Numbers: [14, 38] Generated Node #0,2,3: 99:[14, 38] Operation: 36+2=38 Exploring Operation: 14+2=16, Resulting Numbers: [36, 16] Generated Node #0,2,4: 99:[36, 16] Operation: 14+2=16 Moving to Node #0,3 Current State: 99:[14, 27, 11], Operations: ['36-25=11'] Exploring Operation: 27+11=38, Resulting Numbers: [14, 38] Generated Node #0,3,0: 99:[14, 38] Operation: 27+11=38 Exploring Operation: 14-11=3, Resulting Numbers: [27, 3] Generated Node #0,3,1: 99:[27, 3] Operation: 14-11=3 Exploring Operation: 27-14=13, Resulting Numbers: [11, 13] Generated Node #0,3,2: 99:[11, 13] Operation: 27-14=13 Exploring Operation: 14+27=41, Resulting Numbers: [11, 41] Generated Node #0,3,3: 99:[11, 41] Operation: 14+27=41 Exploring Operation: 27-11=16, Resulting Numbers: [14, 16] Generated Node #0,3,4: 99:[14, 16] Operation: 27-11=16 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[11, 13], Operations: ['36-25=11', '27-14=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[27, 3], Operations: ['36-25=11', '14-11=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[14, 38], Operations: ['36-25=11', '27+11=38'] Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,99 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[11, 41], Operations: ['36-25=11', '14+27=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 99:[14, 16], Operations: ['36-25=11', '27-11=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,99 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[36, 27, 11], Operations: ['25-14=11'] Exploring Operation: 36+11=47, Resulting Numbers: [27, 47] Generated Node #0,1,0: 99:[27, 47] Operation: 36+11=47 Exploring Operation: 36-11=25, Resulting Numbers: [27, 25] Generated Node #0,1,1: 99:[27, 25] Operation: 36-11=25 Exploring Operation: 36-27=9, Resulting Numbers: [11, 9] Generated Node #0,1,2: 99:[11, 9] Operation: 36-27=9 Exploring Operation: 27-11=16, Resulting Numbers: [36, 16] Generated Node #0,1,3: 99:[36, 16] Operation: 27-11=16 Exploring Operation: 27+11=38, Resulting Numbers: [36, 38] Generated Node #0,1,4: 99:[36, 38] Operation: 27+11=38 Moving to Node #0,0 Current State: 99:[25, 14, 9], Operations: ['36-27=9'] Exploring Operation: 25-9=16, Resulting Numbers: [14, 16] Generated Node #0,0,0: 99:[14, 16] Operation: 25-9=16 Exploring Operation: 25-14=11, Resulting Numbers: [9, 11] Generated Node #0,0,1: 99:[9, 11] Operation: 25-14=11 Exploring Operation: 25+14=39, Resulting Numbers: [9, 39] Generated Node #0,0,2: 99:[9, 39] Operation: 25+14=39 Exploring Operation: 14-9=5, Resulting Numbers: [25, 5] Generated Node #0,0,3: 99:[25, 5] Operation: 14-9=5 Exploring Operation: 25+9=34, Resulting Numbers: [14, 34] Generated Node #0,0,4: 99:[14, 34] Operation: 25+9=34 Moving to Node #0,4 Current State: 99:[36, 25, 13], Operations: ['27-14=13'] Exploring Operation: 25+13=38, Resulting Numbers: [36, 38] Generated Node #0,4,0: 99:[36, 38] Operation: 25+13=38 Exploring Operation: 36-25=11, Resulting Numbers: [13, 11] Generated Node #0,4,1: 99:[13, 11] Operation: 36-25=11 Exploring Operation: 25-13=12, Resulting Numbers: [36, 12] Generated Node #0,4,2: 99:[36, 12] Operation: 25-13=12 Exploring Operation: 36+13=49, Resulting Numbers: [25, 49] Generated Node #0,4,3: 99:[25, 49] Operation: 36+13=49 Exploring Operation: 36-13=23, Resulting Numbers: [25, 23] Generated Node #0,4,4: 99:[25, 23] Operation: 36-13=23 Moving to Node #0,1,2 Current State: 99:[11, 9], Operations: ['25-14=11', '36-27=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[36, 25, 14, 27], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [36, 27, 11] Generated Node #0,1: 99:[36, 27, 11] Operation: 25-14=11 Moving to Node #0,1 Current State: 99:[36, 27, 11], Operations: ['25-14=11'] Exploring Operation: 36-27=9, Resulting Numbers: [11, 9] Generated Node #0,1,2: 99:[11, 9] Operation: 36-27=9 Moving to Node #0,1,2 Current State: 99:[11, 9], Operations: ['25-14=11', '36-27=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.953993
hs_5
sum_heuristic
[ 13, 41, 5, 12 ]
44
[ "13*41=533", "533-5=528", "528/12=44" ]
Current State: 44:[13, 41, 5, 12], Operations: [] Exploring Operation: 13*41=533, Resulting Numbers: [5, 12, 533] Generated Node #2: [5, 12, 533] from Operation: 13*41=533 Current State: 44:[5, 12, 533], Operations: ['13*41=533'] Exploring Operation: 533-5=528, Resulting Numbers: [12, 528] Generated Node #3: [12, 528] from Operation: 533-5=528 Current State: 44:[12, 528], Operations: ['13*41=533', '533-5=528'] Exploring Operation: 528/12=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[13, 41, 5, 12], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [41, 5, 1] Generated Node #0,0: 44:[41, 5, 1] Operation: 13-12=1 Exploring Operation: 41+5=46, Resulting Numbers: [13, 12, 46] Generated Node #0,1: 44:[13, 12, 46] Operation: 41+5=46 Exploring Operation: 13-5=8, Resulting Numbers: [41, 12, 8] Generated Node #0,2: 44:[41, 12, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[41, 5, 1], Operations: ['13-12=1'] Exploring Operation: 5-1=4, Resulting Numbers: [41, 4] Generated Node #0,0,0: 44:[41, 4] Operation: 5-1=4 Exploring Operation: 41+5=46, Resulting Numbers: [1, 46] Generated Node #0,0,1: 44:[1, 46] Operation: 41+5=46 Exploring Operation: 41+1=42, Resulting Numbers: [5, 42] Generated Node #0,0,2: 44:[5, 42] Operation: 41+1=42 Moving to Node #0,0,0 Current State: 44:[41, 4], Operations: ['13-12=1', '5-1=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[1, 46], Operations: ['13-12=1', '41+5=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[5, 42], Operations: ['13-12=1', '41+1=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[13, 12, 46], Operations: ['41+5=46'] Exploring Operation: 13-12=1, Resulting Numbers: [46, 1] Generated Node #0,1,0: 44:[46, 1] Operation: 13-12=1 Exploring Operation: 13+12=25, Resulting Numbers: [46, 25] Generated Node #0,1,1: 44:[46, 25] Operation: 13+12=25 Exploring Operation: 46-13=33, Resulting Numbers: [12, 33] Generated Node #0,1,2: 44:[12, 33] Operation: 46-13=33 Moving to Node #0,1,0 Current State: 44:[46, 1], Operations: ['41+5=46', '13-12=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[46, 25], Operations: ['41+5=46', '13+12=25'] Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,44 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[12, 33], Operations: ['41+5=46', '46-13=33'] Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,44 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[41, 12, 8], Operations: ['13-5=8'] Exploring Operation: 41+8=49, Resulting Numbers: [12, 49] Generated Node #0,2,0: 44:[12, 49] Operation: 41+8=49 Exploring Operation: 12+8=20, Resulting Numbers: [41, 20] Generated Node #0,2,1: 44:[41, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [41, 4] Generated Node #0,2,2: 44:[41, 4] Operation: 12-8=4 Moving to Node #0,2,2 Current State: 44:[41, 4], Operations: ['13-5=8', '12-8=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[41, 20], Operations: ['13-5=8', '12+8=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,44 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[12, 49], Operations: ['13-5=8', '41+8=49'] Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,44 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 75, 54, 23, 28 ]
56
[ "75-54=21", "23-21=2", "28*2=56" ]
Current State: 56:[75, 54, 23, 28], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [23, 28, 21] Generated Node #2: [23, 28, 21] from Operation: 75-54=21 Current State: 56:[23, 28, 21], Operations: ['75-54=21'] Exploring Operation: 23-21=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 23-21=2 Current State: 56:[28, 2], Operations: ['75-54=21', '23-21=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[75, 54, 23, 28], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [54, 28, 52] Generated Node #0,0: 56:[54, 28, 52] Operation: 75-23=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[54, 28, 52], Operations: ['75-23=52'] Exploring Operation: 54-52=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 56:[28, 2] Operation: 54-52=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[28, 2], Operations: ['75-23=52', '54-52=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[75, 54, 23, 28], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [54, 28, 52] Generated Node #0,0: 56:[54, 28, 52] Operation: 75-23=52 Moving to Node #0,0 Current State: 56:[54, 28, 52], Operations: ['75-23=52'] Exploring Operation: 54-52=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 56:[28, 2] Operation: 54-52=2 Moving to Node #0,0,0 Current State: 56:[28, 2], Operations: ['75-23=52', '54-52=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 53, 56, 63, 3 ]
26
[ "63-53=10", "3*10=30", "56-30=26" ]
Current State: 26:[53, 56, 63, 3], Operations: [] Exploring Operation: 63-53=10, Resulting Numbers: [56, 3, 10] Generated Node #2: [56, 3, 10] from Operation: 63-53=10 Current State: 26:[56, 3, 10], Operations: ['63-53=10'] Exploring Operation: 3*10=30, Resulting Numbers: [56, 30] Generated Node #3: [56, 30] from Operation: 3*10=30 Current State: 26:[56, 30], Operations: ['63-53=10', '3*10=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[53, 56, 63, 3], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [53, 3, 7] Generated Node #0,0: 26:[53, 3, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 26:[53, 3, 7], Operations: ['63-56=7'] Exploring Operation: 53-7=46, Resulting Numbers: [3, 46] Generated Node #0,0,0: 26:[3, 46] Operation: 53-7=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[3, 46], Operations: ['63-56=7', '53-7=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,26 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
[ 87, 87, 87, 9 ]
11
[ "87+87=174", "174/87=2", "9+2=11" ]
Current State: 11:[87, 87, 87, 9], Operations: [] Exploring Operation: 87+87=174, Resulting Numbers: [9, 174] Generated Node #2: [9, 174] from Operation: 87+87=174 Current State: 11:[9, 174], Operations: ['87+87=174'] Exploring Operation: 174/87=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 174/87=2 Current State: 11:[9, 2], Operations: ['87+87=174', '174/87=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[87, 87, 87, 9], Operations: [] Exploring Operation: 87/87=1, Resulting Numbers: [87, 9, 1] Generated Node #0,0: 11:[87, 9, 1] Operation: 87/87=1 Exploring Operation: 87/87=1, Resulting Numbers: [87, 9, 1] Generated Node #0,1: 11:[87, 9, 1] Operation: 87/87=1 Moving to Node #0,0 Current State: 11:[87, 9, 1], Operations: ['87/87=1'] Exploring Operation: 87-1=86, Resulting Numbers: [9, 86] Generated Node #0,0,0: 11:[9, 86] Operation: 87-1=86 Exploring Operation: 87-9=78, Resulting Numbers: [1, 78] Generated Node #0,0,1: 11:[1, 78] Operation: 87-9=78 Moving to Node #0,1 Current State: 11:[87, 9, 1], Operations: ['87/87=1'] Exploring Operation: 87-9=78, Resulting Numbers: [1, 78] Generated Node #0,1,0: 11:[1, 78] Operation: 87-9=78 Exploring Operation: 87-1=86, Resulting Numbers: [9, 86] Generated Node #0,1,1: 11:[9, 86] Operation: 87-1=86 Moving to Node #0,0,0 Current State: 11:[9, 86], Operations: ['87/87=1', '87-1=86'] Exploring Operation: 9+86=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[1, 78], Operations: ['87/87=1', '87-9=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,11 unequal: No Solution Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[1, 78], Operations: ['87/87=1', '87-9=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[9, 86], Operations: ['87/87=1', '87-1=86'] Exploring Operation: 9+86=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,11 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 77, 70, 22, 14 ]
66
[ "22*14=308", "308/77=4", "70-4=66" ]
Current State: 66:[77, 70, 22, 14], Operations: [] Exploring Operation: 22*14=308, Resulting Numbers: [77, 70, 308] Generated Node #2: [77, 70, 308] from Operation: 22*14=308 Current State: 66:[77, 70, 308], Operations: ['22*14=308'] Exploring Operation: 308/77=4, Resulting Numbers: [70, 4] Generated Node #3: [70, 4] from Operation: 308/77=4 Current State: 66:[70, 4], Operations: ['22*14=308', '308/77=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[77, 70, 22, 14], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [22, 14, 7] Generated Node #0,0: 66:[22, 14, 7] Operation: 77-70=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[22, 14, 7], Operations: ['77-70=7'] Exploring Operation: 14/7=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 66:[22, 2] Operation: 14/7=2 Moving to Node #0,0,0 Current State: 66:[22, 2], Operations: ['77-70=7', '14/7=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,66 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
[ 49, 56, 48, 69 ]
84
[ "49+56=105", "69-48=21", "105-21=84" ]
Current State: 84:[49, 56, 48, 69], Operations: [] Exploring Operation: 49+56=105, Resulting Numbers: [48, 69, 105] Generated Node #2: [48, 69, 105] from Operation: 49+56=105 Current State: 84:[48, 69, 105], Operations: ['49+56=105'] Exploring Operation: 69-48=21, Resulting Numbers: [105, 21] Generated Node #3: [105, 21] from Operation: 69-48=21 Current State: 84:[105, 21], Operations: ['49+56=105', '69-48=21'] Exploring Operation: 105-21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[49, 56, 48, 69], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [49, 48, 13] Generated Node #0,0: 84:[49, 48, 13] Operation: 69-56=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[49, 48, 13], Operations: ['69-56=13'] Exploring Operation: 49-48=1, Resulting Numbers: [13, 1] Generated Node #0,0,0: 84:[13, 1] Operation: 49-48=1 Moving to Node #0,0,0 Current State: 84:[13, 1], Operations: ['69-56=13', '49-48=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,84 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
[ 33, 42, 12, 15 ]
48
[ "33+42=75", "12+15=27", "75-27=48" ]
Current State: 48:[33, 42, 12, 15], Operations: [] Exploring Operation: 33+42=75, Resulting Numbers: [12, 15, 75] Generated Node #2: [12, 15, 75] from Operation: 33+42=75 Current State: 48:[12, 15, 75], Operations: ['33+42=75'] Exploring Operation: 12+15=27, Resulting Numbers: [75, 27] Generated Node #3: [75, 27] from Operation: 12+15=27 Current State: 48:[75, 27], Operations: ['33+42=75', '12+15=27'] Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[33, 42, 12, 15], Operations: [] Exploring Operation: 33+15=48, Resulting Numbers: [42, 12, 48] Generated Node #0,0: 48:[42, 12, 48] Operation: 33+15=48 Exploring Operation: 42-33=9, Resulting Numbers: [12, 15, 9] Generated Node #0,1: 48:[12, 15, 9] Operation: 42-33=9 Moving to Node #0,1 Current State: 48:[12, 15, 9], Operations: ['42-33=9'] Exploring Operation: 15+9=24, Resulting Numbers: [12, 24] Generated Node #0,1,0: 48:[12, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [12, 6] Generated Node #0,1,1: 48:[12, 6] Operation: 15-9=6 Moving to Node #0,0 Current State: 48:[42, 12, 48], Operations: ['33+15=48'] Exploring Operation: 48-42=6, Resulting Numbers: [12, 6] Generated Node #0,0,0: 48:[12, 6] Operation: 48-42=6 Exploring Operation: 42+12=54, Resulting Numbers: [48, 54] Generated Node #0,0,1: 48:[48, 54] Operation: 42+12=54 Moving to Node #0,1,0 Current State: 48:[12, 24], Operations: ['42-33=9', '15+9=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[12, 6], Operations: ['33+15=48', '48-42=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[12, 6], Operations: ['42-33=9', '15-9=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[48, 54], Operations: ['33+15=48', '42+12=54'] Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 48+54=102, Resulting Numbers: [102] 102,48 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 43, 76, 13, 11 ]
81
[ "13-11=2", "76/2=38", "43+38=81" ]
Current State: 81:[43, 76, 13, 11], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [43, 76, 2] Generated Node #2: [43, 76, 2] from Operation: 13-11=2 Current State: 81:[43, 76, 2], Operations: ['13-11=2'] Exploring Operation: 76/2=38, Resulting Numbers: [43, 38] Generated Node #3: [43, 38] from Operation: 76/2=38 Current State: 81:[43, 38], Operations: ['13-11=2', '76/2=38'] Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[43, 76, 13, 11], Operations: [] Exploring Operation: 43-11=32, Resulting Numbers: [76, 13, 32] Generated Node #0,0: 81:[76, 13, 32] Operation: 43-11=32 Exploring Operation: 76-43=33, Resulting Numbers: [13, 11, 33] Generated Node #0,1: 81:[13, 11, 33] Operation: 76-43=33 Exploring Operation: 43-13=30, Resulting Numbers: [76, 11, 30] Generated Node #0,2: 81:[76, 11, 30] Operation: 43-13=30 Moving to Node #0,2 Current State: 81:[76, 11, 30], Operations: ['43-13=30'] Exploring Operation: 30-11=19, Resulting Numbers: [76, 19] Generated Node #0,2,0: 81:[76, 19] Operation: 30-11=19 Exploring Operation: 76+11=87, Resulting Numbers: [30, 87] Generated Node #0,2,1: 81:[30, 87] Operation: 76+11=87 Exploring Operation: 76-11=65, Resulting Numbers: [30, 65] Generated Node #0,2,2: 81:[30, 65] Operation: 76-11=65 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[30, 87], Operations: ['43-13=30', '76+11=87'] Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,81 unequal: No Solution Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,81 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[76, 19], Operations: ['43-13=30', '30-11=19'] Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[30, 65], Operations: ['43-13=30', '76-11=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,81 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,81 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: 81:[13, 11, 33], Operations: ['76-43=33'] Exploring Operation: 33/11=3, Resulting Numbers: [13, 3] Generated Node #0,1,0: 81:[13, 3] Operation: 33/11=3 Exploring Operation: 13-11=2, Resulting Numbers: [33, 2] Generated Node #0,1,1: 81:[33, 2] Operation: 13-11=2 Exploring Operation: 13+11=24, Resulting Numbers: [33, 24] Generated Node #0,1,2: 81:[33, 24] Operation: 13+11=24 Moving to Node #0,0 Current State: 81:[76, 13, 32], Operations: ['43-11=32'] Exploring Operation: 76-32=44, Resulting Numbers: [13, 44] Generated Node #0,0,0: 81:[13, 44] Operation: 76-32=44 Exploring Operation: 32-13=19, Resulting Numbers: [76, 19] Generated Node #0,0,1: 81:[76, 19] Operation: 32-13=19 Exploring Operation: 76+13=89, Resulting Numbers: [32, 89] Generated Node #0,0,2: 81:[32, 89] Operation: 76+13=89 Moving to Node #0,1,0 Current State: 81:[13, 3], Operations: ['76-43=33', '33/11=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[33, 2], Operations: ['76-43=33', '13-11=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,81 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[33, 24], Operations: ['76-43=33', '13+11=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[32, 89], Operations: ['43-11=32', '76+13=89'] Exploring Operation: 32*89=2848, Resulting Numbers: [2848] 2848,81 unequal: No Solution Exploring Operation: 32+89=121, Resulting Numbers: [121] 121,81 unequal: No Solution Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[76, 19], Operations: ['43-11=32', '32-13=19'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[13, 44], Operations: ['43-11=32', '76-32=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,81 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 54, 79, 38, 10 ]
85
[ "54+79=133", "38+10=48", "133-48=85" ]
Current State: 85:[54, 79, 38, 10], Operations: [] Exploring Operation: 54+79=133, Resulting Numbers: [38, 10, 133] Generated Node #2: [38, 10, 133] from Operation: 54+79=133 Current State: 85:[38, 10, 133], Operations: ['54+79=133'] Exploring Operation: 38+10=48, Resulting Numbers: [133, 48] Generated Node #3: [133, 48] from Operation: 38+10=48 Current State: 85:[133, 48], Operations: ['54+79=133', '38+10=48'] Exploring Operation: 133-48=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[54, 79, 38, 10], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [79, 10, 16] Generated Node #0,0: 85:[79, 10, 16] Operation: 54-38=16 Exploring Operation: 79-54=25, Resulting Numbers: [38, 10, 25] Generated Node #0,1: 85:[38, 10, 25] Operation: 79-54=25 Exploring Operation: 54+38=92, Resulting Numbers: [79, 10, 92] Generated Node #0,2: 85:[79, 10, 92] Operation: 54+38=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[79, 10, 16], Operations: ['54-38=16'] Exploring Operation: 79+16=95, Resulting Numbers: [10, 95] Generated Node #0,0,0: 85:[10, 95] Operation: 79+16=95 Exploring Operation: 16-10=6, Resulting Numbers: [79, 6] Generated Node #0,0,1: 85:[79, 6] Operation: 16-10=6 Exploring Operation: 79+10=89, Resulting Numbers: [16, 89] Generated Node #0,0,2: 85:[16, 89] Operation: 79+10=89 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[16, 89], Operations: ['54-38=16', '79+10=89'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,85 unequal: No Solution Exploring Operation: 16+89=105, Resulting Numbers: [105] 105,85 unequal: No Solution Exploring Operation: 16*89=1424, Resulting Numbers: [1424] 1424,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[79, 6], Operations: ['54-38=16', '16-10=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[54, 79, 38, 10], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [79, 10, 16] Generated Node #0,0: 85:[79, 10, 16] Operation: 54-38=16 Moving to Node #0,0 Current State: 85:[79, 10, 16], Operations: ['54-38=16'] Exploring Operation: 16-10=6, Resulting Numbers: [79, 6] Generated Node #0,0,1: 85:[79, 6] Operation: 16-10=6 Moving to Node #0,0,1 Current State: 85:[79, 6], Operations: ['54-38=16', '16-10=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 67, 83, 95, 2 ]
43
[ "95-83=12", "2*12=24", "67-24=43" ]
Current State: 43:[67, 83, 95, 2], Operations: [] Exploring Operation: 95-83=12, Resulting Numbers: [67, 2, 12] Generated Node #2: [67, 2, 12] from Operation: 95-83=12 Current State: 43:[67, 2, 12], Operations: ['95-83=12'] Exploring Operation: 2*12=24, Resulting Numbers: [67, 24] Generated Node #3: [67, 24] from Operation: 2*12=24 Current State: 43:[67, 24], Operations: ['95-83=12', '2*12=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[67, 83, 95, 2], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [83, 95, 65] Generated Node #0,0: 43:[83, 95, 65] Operation: 67-2=65 Exploring Operation: 95-67=28, Resulting Numbers: [83, 2, 28] Generated Node #0,1: 43:[83, 2, 28] Operation: 95-67=28 Exploring Operation: 83-2=81, Resulting Numbers: [67, 95, 81] Generated Node #0,2: 43:[67, 95, 81] Operation: 83-2=81 Exploring Operation: 95-83=12, Resulting Numbers: [67, 2, 12] Generated Node #0,3: 43:[67, 2, 12] Operation: 95-83=12 Exploring Operation: 95-2=93, Resulting Numbers: [67, 83, 93] Generated Node #0,4: 43:[67, 83, 93] Operation: 95-2=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[83, 2, 28], Operations: ['95-67=28'] Exploring Operation: 2+28=30, Resulting Numbers: [83, 30] Generated Node #0,1,0: 43:[83, 30] Operation: 2+28=30 Exploring Operation: 83-28=55, Resulting Numbers: [2, 55] Generated Node #0,1,1: 43:[2, 55] Operation: 83-28=55 Exploring Operation: 83+2=85, Resulting Numbers: [28, 85] Generated Node #0,1,2: 43:[28, 85] Operation: 83+2=85 Exploring Operation: 83-2=81, Resulting Numbers: [28, 81] Generated Node #0,1,3: 43:[28, 81] Operation: 83-2=81 Exploring Operation: 2*28=56, Resulting Numbers: [83, 56] Generated Node #0,1,4: 43:[83, 56] Operation: 2*28=56 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[83, 30], Operations: ['95-67=28', '2+28=30'] Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,43 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,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:[2, 55], Operations: ['95-67=28', '83-28=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 2+55=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,3 Current State: 43:[28, 81], Operations: ['95-67=28', '83-2=81'] Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,43 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,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,4 Current State: 43:[83, 56], Operations: ['95-67=28', '2*28=56'] Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,43 unequal: No Solution Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,43 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,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,2 Current State: 43:[28, 85], Operations: ['95-67=28', '83+2=85'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,43 unequal: No Solution Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,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,3 Current State: 43:[67, 2, 12], Operations: ['95-83=12'] Exploring Operation: 67+2=69, Resulting Numbers: [12, 69] Generated Node #0,3,0: 43:[12, 69] Operation: 67+2=69 Exploring Operation: 2+12=14, Resulting Numbers: [67, 14] Generated Node #0,3,1: 43:[67, 14] Operation: 2+12=14 Exploring Operation: 2*12=24, Resulting Numbers: [67, 24] Generated Node #0,3,2: 43:[67, 24] Operation: 2*12=24 Exploring Operation: 67-2=65, Resulting Numbers: [12, 65] Generated Node #0,3,3: 43:[12, 65] Operation: 67-2=65 Exploring Operation: 67-12=55, Resulting Numbers: [2, 55] Generated Node #0,3,4: 43:[2, 55] Operation: 67-12=55 Moving to Node #0,3,2 Current State: 43:[67, 24], Operations: ['95-83=12', '2*12=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[67, 83, 95, 2], Operations: [] Exploring Operation: 95-83=12, Resulting Numbers: [67, 2, 12] Generated Node #0,3: 43:[67, 2, 12] Operation: 95-83=12 Moving to Node #0,3 Current State: 43:[67, 2, 12], Operations: ['95-83=12'] Exploring Operation: 2*12=24, Resulting Numbers: [67, 24] Generated Node #0,3,2: 43:[67, 24] Operation: 2*12=24 Moving to Node #0,3,2 Current State: 43:[67, 24], Operations: ['95-83=12', '2*12=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 89, 7, 6, 31 ]
18
[ "89+6=95", "31+95=126", "126/7=18" ]
Current State: 18:[89, 7, 6, 31], Operations: [] Exploring Operation: 89+6=95, Resulting Numbers: [7, 31, 95] Generated Node #2: [7, 31, 95] from Operation: 89+6=95 Current State: 18:[7, 31, 95], Operations: ['89+6=95'] Exploring Operation: 31+95=126, Resulting Numbers: [7, 126] Generated Node #3: [7, 126] from Operation: 31+95=126 Current State: 18:[7, 126], Operations: ['89+6=95', '31+95=126'] Exploring Operation: 126/7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[89, 7, 6, 31], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [7, 6, 58] Generated Node #0,0: 18:[7, 6, 58] Operation: 89-31=58 Exploring Operation: 31-7=24, Resulting Numbers: [89, 6, 24] Generated Node #0,1: 18:[89, 6, 24] Operation: 31-7=24 Exploring Operation: 89-7=82, Resulting Numbers: [6, 31, 82] Generated Node #0,2: 18:[6, 31, 82] Operation: 89-7=82 Moving to Node #0,0 Current State: 18:[7, 6, 58], Operations: ['89-31=58'] Exploring Operation: 7-6=1, Resulting Numbers: [58, 1] Generated Node #0,0,0: 18:[58, 1] Operation: 7-6=1 Exploring Operation: 58-7=51, Resulting Numbers: [6, 51] Generated Node #0,0,1: 18:[6, 51] Operation: 58-7=51 Exploring Operation: 58-6=52, Resulting Numbers: [7, 52] Generated Node #0,0,2: 18:[7, 52] Operation: 58-6=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[6, 51], Operations: ['89-31=58', '58-7=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,18 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[7, 52], Operations: ['89-31=58', '58-6=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[58, 1], Operations: ['89-31=58', '7-6=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[89, 6, 24], Operations: ['31-7=24'] Exploring Operation: 89-24=65, Resulting Numbers: [6, 65] Generated Node #0,1,0: 18:[6, 65] Operation: 89-24=65 Exploring Operation: 89-6=83, Resulting Numbers: [24, 83] Generated Node #0,1,1: 18:[24, 83] Operation: 89-6=83 Exploring Operation: 24-6=18, Resulting Numbers: [89, 18] Generated Node #0,1,2: 18:[89, 18] Operation: 24-6=18 Moving to Node #0,2 Current State: 18:[6, 31, 82], Operations: ['89-7=82'] Exploring Operation: 82-6=76, Resulting Numbers: [31, 76] Generated Node #0,2,0: 18:[31, 76] Operation: 82-6=76 Exploring Operation: 82-31=51, Resulting Numbers: [6, 51] Generated Node #0,2,1: 18:[6, 51] Operation: 82-31=51 Exploring Operation: 31-6=25, Resulting Numbers: [82, 25] Generated Node #0,2,2: 18:[82, 25] Operation: 31-6=25 Moving to Node #0,2,1 Current State: 18:[6, 51], Operations: ['89-7=82', '82-31=51'] Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,18 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[6, 65], Operations: ['31-7=24', '89-24=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,18 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[89, 18], Operations: ['31-7=24', '24-6=18'] Exploring Operation: 89*18=1602, Resulting Numbers: [1602] 1602,18 unequal: No Solution Exploring Operation: 89+18=107, Resulting Numbers: [107] 107,18 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[82, 25], Operations: ['89-7=82', '31-6=25'] Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,18 unequal: No Solution Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[31, 76], Operations: ['89-7=82', '82-6=76'] Exploring Operation: 31*76=2356, Resulting Numbers: [2356] 2356,18 unequal: No Solution Exploring Operation: 31+76=107, Resulting Numbers: [107] 107,18 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[24, 83], Operations: ['31-7=24', '89-6=83'] Exploring Operation: 24*83=1992, Resulting Numbers: [1992] 1992,18 unequal: No Solution Exploring Operation: 24+83=107, Resulting Numbers: [107] 107,18 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,18 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 68, 49, 39, 98 ]
27
[ "68-39=29", "98/49=2", "29-2=27" ]
Current State: 27:[68, 49, 39, 98], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [49, 98, 29] Generated Node #2: [49, 98, 29] from Operation: 68-39=29 Current State: 27:[49, 98, 29], Operations: ['68-39=29'] Exploring Operation: 98/49=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 98/49=2 Current State: 27:[29, 2], Operations: ['68-39=29', '98/49=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[68, 49, 39, 98], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [39, 98, 19] Generated Node #0,0: 27:[39, 98, 19] Operation: 68-49=19 Exploring Operation: 68-39=29, Resulting Numbers: [49, 98, 29] Generated Node #0,1: 27:[49, 98, 29] Operation: 68-39=29 Exploring Operation: 98-68=30, Resulting Numbers: [49, 39, 30] Generated Node #0,2: 27:[49, 39, 30] Operation: 98-68=30 Exploring Operation: 98/49=2, Resulting Numbers: [68, 39, 2] Generated Node #0,3: 27:[68, 39, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [68, 39, 49] Generated Node #0,4: 27:[68, 39, 49] Operation: 98-49=49 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[49, 39, 30], Operations: ['98-68=30'] Exploring Operation: 49-39=10, Resulting Numbers: [30, 10] Generated Node #0,2,0: 27:[30, 10] Operation: 49-39=10 Exploring Operation: 49+30=79, Resulting Numbers: [39, 79] Generated Node #0,2,1: 27:[39, 79] Operation: 49+30=79 Exploring Operation: 39-30=9, Resulting Numbers: [49, 9] Generated Node #0,2,2: 27:[49, 9] Operation: 39-30=9 Exploring Operation: 49-30=19, Resulting Numbers: [39, 19] Generated Node #0,2,3: 27:[39, 19] Operation: 49-30=19 Exploring Operation: 49+39=88, Resulting Numbers: [30, 88] Generated Node #0,2,4: 27:[30, 88] Operation: 49+39=88 Moving to Node #0,2,0 Current State: 27:[30, 10], Operations: ['98-68=30', '49-39=10'] Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,27 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[39, 19], Operations: ['98-68=30', '49-30=19'] Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,27 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[49, 9], Operations: ['98-68=30', '39-30=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,27 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,27 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[39, 79], Operations: ['98-68=30', '49+30=79'] Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,27 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,27 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,27 unequal: No Solution Moving to Node #0,2,4 Current State: 27:[30, 88], Operations: ['98-68=30', '49+39=88'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,27 unequal: No Solution Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[68, 39, 2], Operations: ['98/49=2'] Exploring Operation: 68-2=66, Resulting Numbers: [39, 66] Generated Node #0,3,0: 27:[39, 66] Operation: 68-2=66 Exploring Operation: 68/2=34, Resulting Numbers: [39, 34] Generated Node #0,3,1: 27:[39, 34] Operation: 68/2=34 Exploring Operation: 68-39=29, Resulting Numbers: [2, 29] Generated Node #0,3,2: 27:[2, 29] Operation: 68-39=29 Exploring Operation: 68+2=70, Resulting Numbers: [39, 70] Generated Node #0,3,3: 27:[39, 70] Operation: 68+2=70 Exploring Operation: 39-2=37, Resulting Numbers: [68, 37] Generated Node #0,3,4: 27:[68, 37] Operation: 39-2=37 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 27:[2, 29], Operations: ['98/49=2', '68-39=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[68, 49, 39, 98], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [68, 39, 2] Generated Node #0,3: 27:[68, 39, 2] Operation: 98/49=2 Moving to Node #0,3 Current State: 27:[68, 39, 2], Operations: ['98/49=2'] Exploring Operation: 68-39=29, Resulting Numbers: [2, 29] Generated Node #0,3,2: 27:[2, 29] Operation: 68-39=29 Moving to Node #0,3,2 Current State: 27:[2, 29], Operations: ['98/49=2', '68-39=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 41, 4, 22, 45 ]
31
[ "41-22=19", "4*19=76", "76-45=31" ]
Current State: 31:[41, 4, 22, 45], Operations: [] Exploring Operation: 41-22=19, Resulting Numbers: [4, 45, 19] Generated Node #2: [4, 45, 19] from Operation: 41-22=19 Current State: 31:[4, 45, 19], Operations: ['41-22=19'] Exploring Operation: 4*19=76, Resulting Numbers: [45, 76] Generated Node #3: [45, 76] from Operation: 4*19=76 Current State: 31:[45, 76], Operations: ['41-22=19', '4*19=76'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[41, 4, 22, 45], Operations: [] Exploring Operation: 41-4=37, Resulting Numbers: [22, 45, 37] Generated Node #0,0: 31:[22, 45, 37] Operation: 41-4=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[22, 45, 37], Operations: ['41-4=37'] Exploring Operation: 45-22=23, Resulting Numbers: [37, 23] Generated Node #0,0,0: 31:[37, 23] Operation: 45-22=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[37, 23], Operations: ['41-4=37', '45-22=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 17, 1, 4, 80 ]
67
[ "17*1=17", "4+80=84", "84-17=67" ]
Current State: 67:[17, 1, 4, 80], Operations: [] Exploring Operation: 17*1=17, Resulting Numbers: [4, 80, 17] Generated Node #2: [4, 80, 17] from Operation: 17*1=17 Current State: 67:[4, 80, 17], Operations: ['17*1=17'] Exploring Operation: 4+80=84, Resulting Numbers: [17, 84] Generated Node #3: [17, 84] from Operation: 4+80=84 Current State: 67:[17, 84], Operations: ['17*1=17', '4+80=84'] Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[17, 1, 4, 80], Operations: [] Exploring Operation: 17+1=18, Resulting Numbers: [4, 80, 18] Generated Node #0,0: 67:[4, 80, 18] Operation: 17+1=18 Exploring Operation: 17*4=68, Resulting Numbers: [1, 80, 68] Generated Node #0,1: 67:[1, 80, 68] Operation: 17*4=68 Exploring Operation: 17+4=21, Resulting Numbers: [1, 80, 21] Generated Node #0,2: 67:[1, 80, 21] Operation: 17+4=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[1, 80, 68], Operations: ['17*4=68'] Exploring Operation: 68-1=67, Resulting Numbers: [80, 67] Generated Node #0,1,0: 67:[80, 67] Operation: 68-1=67 Exploring Operation: 1*80=80, Resulting Numbers: [68, 80] Generated Node #0,1,1: 67:[68, 80] Operation: 1*80=80 Exploring Operation: 80-1=79, Resulting Numbers: [68, 79] Generated Node #0,1,2: 67:[68, 79] Operation: 80-1=79 Moving to Node #0,1,0 Current State: 67:[80, 67], Operations: ['17*4=68', '68-1=67'] Exploring Operation: 80+67=147, Resulting Numbers: [147] 147,67 unequal: No Solution Exploring Operation: 80*67=5360, Resulting Numbers: [5360] 5360,67 unequal: No Solution Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[68, 79], Operations: ['17*4=68', '80-1=79'] Exploring Operation: 68*79=5372, Resulting Numbers: [5372] 5372,67 unequal: No Solution Exploring Operation: 68+79=147, Resulting Numbers: [147] 147,67 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[68, 80], Operations: ['17*4=68', '1*80=80'] Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,67 unequal: No Solution Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,67 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,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 Current State: 67:[4, 80, 18], Operations: ['17+1=18'] Exploring Operation: 4+18=22, Resulting Numbers: [80, 22] Generated Node #0,0,0: 67:[80, 22] Operation: 4+18=22 Exploring Operation: 80-4=76, Resulting Numbers: [18, 76] Generated Node #0,0,1: 67:[18, 76] Operation: 80-4=76 Exploring Operation: 4*18=72, Resulting Numbers: [80, 72] Generated Node #0,0,2: 67:[80, 72] Operation: 4*18=72 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[80, 72], Operations: ['17+1=18', '4*18=72'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,67 unequal: No Solution Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[80, 22], Operations: ['17+1=18', '4+18=22'] Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 80*22=1760, Resulting Numbers: [1760] 1760,67 unequal: No Solution Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[18, 76], Operations: ['17+1=18', '80-4=76'] Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,67 unequal: No Solution Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[1, 80, 21], Operations: ['17+4=21'] Exploring Operation: 1+21=22, Resulting Numbers: [80, 22] Generated Node #0,2,0: 67:[80, 22] Operation: 1+21=22 Exploring Operation: 80-1=79, Resulting Numbers: [21, 79] Generated Node #0,2,1: 67:[21, 79] Operation: 80-1=79 Exploring Operation: 1*80=80, Resulting Numbers: [21, 80] Generated Node #0,2,2: 67:[21, 80] Operation: 1*80=80 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[80, 22], Operations: ['17+4=21', '1+21=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,67 unequal: No Solution Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 80*22=1760, Resulting Numbers: [1760] 1760,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[21, 79], Operations: ['17+4=21', '80-1=79'] Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,67 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[21, 80], Operations: ['17+4=21', '1*80=80'] Exploring Operation: 21*80=1680, Resulting Numbers: [1680] 1680,67 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,67 unequal: No Solution Exploring Operation: 21+80=101, Resulting Numbers: [101] 101,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 24, 15, 4, 89 ]
80
[ "24/4=6", "89-15=74", "6+74=80" ]
Current State: 80:[24, 15, 4, 89], Operations: [] Exploring Operation: 24/4=6, Resulting Numbers: [15, 89, 6] Generated Node #2: [15, 89, 6] from Operation: 24/4=6 Current State: 80:[15, 89, 6], Operations: ['24/4=6'] Exploring Operation: 89-15=74, Resulting Numbers: [6, 74] Generated Node #3: [6, 74] from Operation: 89-15=74 Current State: 80:[6, 74], Operations: ['24/4=6', '89-15=74'] Exploring Operation: 6+74=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[24, 15, 4, 89], Operations: [] Exploring Operation: 24+15=39, Resulting Numbers: [4, 89, 39] Generated Node #0,0: 80:[4, 89, 39] Operation: 24+15=39 Exploring Operation: 24-15=9, Resulting Numbers: [4, 89, 9] Generated Node #0,1: 80:[4, 89, 9] Operation: 24-15=9 Exploring Operation: 24-4=20, Resulting Numbers: [15, 89, 20] Generated Node #0,2: 80:[15, 89, 20] Operation: 24-4=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[4, 89, 39], Operations: ['24+15=39'] Exploring Operation: 4+39=43, Resulting Numbers: [89, 43] Generated Node #0,0,0: 80:[89, 43] Operation: 4+39=43 Exploring Operation: 89-39=50, Resulting Numbers: [4, 50] Generated Node #0,0,1: 80:[4, 50] Operation: 89-39=50 Exploring Operation: 89-4=85, Resulting Numbers: [39, 85] Generated Node #0,0,2: 80:[39, 85] Operation: 89-4=85 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[39, 85], Operations: ['24+15=39', '89-4=85'] Exploring Operation: 39+85=124, Resulting Numbers: [124] 124,80 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 39*85=3315, Resulting Numbers: [3315] 3315,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[4, 50], Operations: ['24+15=39', '89-39=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,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:[89, 43], Operations: ['24+15=39', '4+39=43'] Exploring Operation: 89*43=3827, Resulting Numbers: [3827] 3827,80 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 89+43=132, Resulting Numbers: [132] 132,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:[4, 89, 9], Operations: ['24-15=9'] Exploring Operation: 89-9=80, Resulting Numbers: [4, 80] Generated Node #0,1,0: 80:[4, 80] Operation: 89-9=80 Exploring Operation: 9-4=5, Resulting Numbers: [89, 5] Generated Node #0,1,1: 80:[89, 5] Operation: 9-4=5 Exploring Operation: 89-4=85, Resulting Numbers: [9, 85] Generated Node #0,1,2: 80:[9, 85] Operation: 89-4=85 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[4, 80], Operations: ['24-15=9', '89-9=80'] Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[9, 85], Operations: ['24-15=9', '89-4=85'] Exploring Operation: 9*85=765, Resulting Numbers: [765] 765,80 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[89, 5], Operations: ['24-15=9', '9-4=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,80 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,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,2 Current State: 80:[15, 89, 20], Operations: ['24-4=20'] Exploring Operation: 89-15=74, Resulting Numbers: [20, 74] Generated Node #0,2,0: 80:[20, 74] Operation: 89-15=74 Exploring Operation: 20-15=5, Resulting Numbers: [89, 5] Generated Node #0,2,1: 80:[89, 5] Operation: 20-15=5 Exploring Operation: 89-20=69, Resulting Numbers: [15, 69] Generated Node #0,2,2: 80:[15, 69] Operation: 89-20=69 Moving to Node #0,2,0 Current State: 80:[20, 74], Operations: ['24-4=20', '89-15=74'] Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,80 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[89, 5], Operations: ['24-4=20', '20-15=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,80 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[15, 69], Operations: ['24-4=20', '89-20=69'] Exploring Operation: 15*69=1035, Resulting Numbers: [1035] 1035,80 unequal: No Solution Exploring Operation: 15+69=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,80 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
[ 49, 43, 52, 95 ]
37
[ "49-43=6", "95-52=43", "43-6=37" ]
Current State: 37:[49, 43, 52, 95], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [52, 95, 6] Generated Node #2: [52, 95, 6] from Operation: 49-43=6 Current State: 37:[52, 95, 6], Operations: ['49-43=6'] Exploring Operation: 95-52=43, Resulting Numbers: [6, 43] Generated Node #3: [6, 43] from Operation: 95-52=43 Current State: 37:[6, 43], Operations: ['49-43=6', '95-52=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[49, 43, 52, 95], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [43, 52, 46] Generated Node #0,0: 37:[43, 52, 46] Operation: 95-49=46 Exploring Operation: 52-49=3, Resulting Numbers: [43, 95, 3] Generated Node #0,1: 37:[43, 95, 3] Operation: 52-49=3 Exploring Operation: 95-52=43, Resulting Numbers: [49, 43, 43] Generated Node #0,2: 37:[49, 43, 43] Operation: 95-52=43 Exploring Operation: 95-43=52, Resulting Numbers: [49, 52, 52] Generated Node #0,3: 37:[49, 52, 52] Operation: 95-43=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[49, 43, 43], Operations: ['95-52=43'] Exploring Operation: 49-43=6, Resulting Numbers: [43, 6] Generated Node #0,2,0: 37:[43, 6] Operation: 49-43=6 Exploring Operation: 49-43=6, Resulting Numbers: [43, 6] Generated Node #0,2,1: 37:[43, 6] Operation: 49-43=6 Exploring Operation: 43/43=1, Resulting Numbers: [49, 1] Generated Node #0,2,2: 37:[49, 1] Operation: 43/43=1 Exploring Operation: 43-43=0, Resulting Numbers: [49, 0] Generated Node #0,2,3: 37:[49, 0] Operation: 43-43=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[43, 6], Operations: ['95-52=43', '49-43=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[49, 43, 52, 95], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [49, 43, 43] Generated Node #0,2: 37:[49, 43, 43] Operation: 95-52=43 Moving to Node #0,2 Current State: 37:[49, 43, 43], Operations: ['95-52=43'] Exploring Operation: 49-43=6, Resulting Numbers: [43, 6] Generated Node #0,2,0: 37:[43, 6] Operation: 49-43=6 Moving to Node #0,2,0 Current State: 37:[43, 6], Operations: ['95-52=43', '49-43=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 19, 37, 8, 83 ]
57
[ "37-19=18", "83-8=75", "75-18=57" ]
Current State: 57:[19, 37, 8, 83], Operations: [] Exploring Operation: 37-19=18, Resulting Numbers: [8, 83, 18] Generated Node #2: [8, 83, 18] from Operation: 37-19=18 Current State: 57:[8, 83, 18], Operations: ['37-19=18'] Exploring Operation: 83-8=75, Resulting Numbers: [18, 75] Generated Node #3: [18, 75] from Operation: 83-8=75 Current State: 57:[18, 75], Operations: ['37-19=18', '83-8=75'] Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[19, 37, 8, 83], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [19, 8, 46] Generated Node #0,0: 57:[19, 8, 46] Operation: 83-37=46 Exploring Operation: 19+37=56, Resulting Numbers: [8, 83, 56] Generated Node #0,1: 57:[8, 83, 56] Operation: 19+37=56 Exploring Operation: 83-19=64, Resulting Numbers: [37, 8, 64] Generated Node #0,2: 57:[37, 8, 64] Operation: 83-19=64 Exploring Operation: 37-19=18, Resulting Numbers: [8, 83, 18] Generated Node #0,3: 57:[8, 83, 18] Operation: 37-19=18 Moving to Node #0,0 Current State: 57:[19, 8, 46], Operations: ['83-37=46'] Exploring Operation: 19+8=27, Resulting Numbers: [46, 27] Generated Node #0,0,0: 57:[46, 27] Operation: 19+8=27 Exploring Operation: 46-19=27, Resulting Numbers: [8, 27] Generated Node #0,0,1: 57:[8, 27] Operation: 46-19=27 Exploring Operation: 19+46=65, Resulting Numbers: [8, 65] Generated Node #0,0,2: 57:[8, 65] Operation: 19+46=65 Exploring Operation: 8+46=54, Resulting Numbers: [19, 54] Generated Node #0,0,3: 57:[19, 54] Operation: 8+46=54 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 57:[19, 54], Operations: ['83-37=46', '8+46=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,57 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[8, 27], Operations: ['83-37=46', '46-19=27'] Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,57 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[8, 65], Operations: ['83-37=46', '19+46=65'] Exploring Operation: 8+65=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[19, 37, 8, 83], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [19, 8, 46] Generated Node #0,0: 57:[19, 8, 46] Operation: 83-37=46 Moving to Node #0,0 Current State: 57:[19, 8, 46], Operations: ['83-37=46'] Exploring Operation: 19+46=65, Resulting Numbers: [8, 65] Generated Node #0,0,2: 57:[8, 65] Operation: 19+46=65 Moving to Node #0,0,2 Current State: 57:[8, 65], Operations: ['83-37=46', '19+46=65'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 78, 89, 3, 2 ]
10
[ "89-78=11", "3-2=1", "11-1=10" ]
Current State: 10:[78, 89, 3, 2], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [3, 2, 11] Generated Node #2: [3, 2, 11] from Operation: 89-78=11 Current State: 10:[3, 2, 11], Operations: ['89-78=11'] Exploring Operation: 3-2=1, Resulting Numbers: [11, 1] Generated Node #3: [11, 1] from Operation: 3-2=1 Current State: 10:[11, 1], Operations: ['89-78=11', '3-2=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[78, 89, 3, 2], Operations: [] Exploring Operation: 78/3=26, Resulting Numbers: [89, 2, 26] Generated Node #0,0: 10:[89, 2, 26] Operation: 78/3=26 Exploring Operation: 89-78=11, Resulting Numbers: [3, 2, 11] Generated Node #0,1: 10:[3, 2, 11] Operation: 89-78=11 Exploring Operation: 89-3=86, Resulting Numbers: [78, 2, 86] Generated Node #0,2: 10:[78, 2, 86] Operation: 89-3=86 Exploring Operation: 78-3=75, Resulting Numbers: [89, 2, 75] Generated Node #0,3: 10:[89, 2, 75] Operation: 78-3=75 Exploring Operation: 78/2=39, Resulting Numbers: [89, 3, 39] Generated Node #0,4: 10:[89, 3, 39] Operation: 78/2=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[3, 2, 11], Operations: ['89-78=11'] Exploring Operation: 11-3=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 10:[2, 8] Operation: 11-3=8 Exploring Operation: 3*2=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 10:[11, 6] Operation: 3*2=6 Exploring Operation: 3-2=1, Resulting Numbers: [11, 1] Generated Node #0,1,2: 10:[11, 1] Operation: 3-2=1 Exploring Operation: 11-2=9, Resulting Numbers: [3, 9] Generated Node #0,1,3: 10:[3, 9] Operation: 11-2=9 Exploring Operation: 3+2=5, Resulting Numbers: [11, 5] Generated Node #0,1,4: 10:[11, 5] Operation: 3+2=5 Moving to Node #0,1,4 Current State: 10:[11, 5], Operations: ['89-78=11', '3+2=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[11, 6], Operations: ['89-78=11', '3*2=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[3, 9], Operations: ['89-78=11', '11-2=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[2, 8], Operations: ['89-78=11', '11-3=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[78, 89, 3, 2], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [3, 2, 11] Generated Node #0,1: 10:[3, 2, 11] Operation: 89-78=11 Moving to Node #0,1 Current State: 10:[3, 2, 11], Operations: ['89-78=11'] Exploring Operation: 11-3=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 10:[2, 8] Operation: 11-3=8 Moving to Node #0,1,0 Current State: 10:[2, 8], Operations: ['89-78=11', '11-3=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 83, 74, 91, 58 ]
71
[ "83+91=174", "174/58=3", "74-3=71" ]
Current State: 71:[83, 74, 91, 58], Operations: [] Exploring Operation: 83+91=174, Resulting Numbers: [74, 58, 174] Generated Node #2: [74, 58, 174] from Operation: 83+91=174 Current State: 71:[74, 58, 174], Operations: ['83+91=174'] Exploring Operation: 174/58=3, Resulting Numbers: [74, 3] Generated Node #3: [74, 3] from Operation: 174/58=3 Current State: 71:[74, 3], Operations: ['83+91=174', '174/58=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[83, 74, 91, 58], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [74, 91, 25] Generated Node #0,0: 71:[74, 91, 25] Operation: 83-58=25 Exploring Operation: 74-58=16, Resulting Numbers: [83, 91, 16] Generated Node #0,1: 71:[83, 91, 16] Operation: 74-58=16 Exploring Operation: 91-83=8, Resulting Numbers: [74, 58, 8] Generated Node #0,2: 71:[74, 58, 8] Operation: 91-83=8 Exploring Operation: 91-58=33, Resulting Numbers: [83, 74, 33] Generated Node #0,3: 71:[83, 74, 33] Operation: 91-58=33 Exploring Operation: 91-74=17, Resulting Numbers: [83, 58, 17] Generated Node #0,4: 71:[83, 58, 17] Operation: 91-74=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[83, 74, 33], Operations: ['91-58=33'] Exploring Operation: 83-33=50, Resulting Numbers: [74, 50] Generated Node #0,3,0: 71:[74, 50] Operation: 83-33=50 Exploring Operation: 74+33=107, Resulting Numbers: [83, 107] Generated Node #0,3,1: 71:[83, 107] Operation: 74+33=107 Exploring Operation: 83+33=116, Resulting Numbers: [74, 116] Generated Node #0,3,2: 71:[74, 116] Operation: 83+33=116 Exploring Operation: 74-33=41, Resulting Numbers: [83, 41] Generated Node #0,3,3: 71:[83, 41] Operation: 74-33=41 Exploring Operation: 83-74=9, Resulting Numbers: [33, 9] Generated Node #0,3,4: 71:[33, 9] Operation: 83-74=9 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[74, 50], Operations: ['91-58=33', '83-33=50'] Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,71 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[83, 41], Operations: ['91-58=33', '74-33=41'] Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,71 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[83, 107], Operations: ['91-58=33', '74+33=107'] Exploring Operation: 83+107=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 107-83=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 83*107=8881, Resulting Numbers: [8881] 8881,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 71:[74, 116], Operations: ['91-58=33', '83+33=116'] Exploring Operation: 74+116=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 116-74=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 74*116=8584, Resulting Numbers: [8584] 8584,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 71:[33, 9], Operations: ['91-58=33', '83-74=9'] Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,71 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[74, 91, 25], Operations: ['83-58=25'] Exploring Operation: 91-25=66, Resulting Numbers: [74, 66] Generated Node #0,0,0: 71:[74, 66] Operation: 91-25=66 Exploring Operation: 91-74=17, Resulting Numbers: [25, 17] Generated Node #0,0,1: 71:[25, 17] Operation: 91-74=17 Exploring Operation: 91+25=116, Resulting Numbers: [74, 116] Generated Node #0,0,2: 71:[74, 116] Operation: 91+25=116 Exploring Operation: 74+25=99, Resulting Numbers: [91, 99] Generated Node #0,0,3: 71:[91, 99] Operation: 74+25=99 Exploring Operation: 74-25=49, Resulting Numbers: [91, 49] Generated Node #0,0,4: 71:[91, 49] Operation: 74-25=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[74, 66], Operations: ['83-58=25', '91-25=66'] Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,71 unequal: No Solution Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[91, 49], Operations: ['83-58=25', '74-25=49'] Exploring Operation: 91+49=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 91*49=4459, Resulting Numbers: [4459] 4459,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[74, 116], Operations: ['83-58=25', '91+25=116'] Exploring Operation: 74*116=8584, Resulting Numbers: [8584] 8584,71 unequal: No Solution Exploring Operation: 116-74=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 74+116=190, Resulting Numbers: [190] 190,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[91, 99], Operations: ['83-58=25', '74+25=99'] Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 91*99=9009, Resulting Numbers: [9009] 9009,71 unequal: No Solution Exploring Operation: 91+99=190, Resulting Numbers: [190] 190,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[25, 17], Operations: ['83-58=25', '91-74=17'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,71 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[74, 58, 8], Operations: ['91-83=8'] Exploring Operation: 58+8=66, Resulting Numbers: [74, 66] Generated Node #0,2,0: 71:[74, 66] Operation: 58+8=66 Exploring Operation: 74+8=82, Resulting Numbers: [58, 82] Generated Node #0,2,1: 71:[58, 82] Operation: 74+8=82 Exploring Operation: 74-58=16, Resulting Numbers: [8, 16] Generated Node #0,2,2: 71:[8, 16] Operation: 74-58=16 Exploring Operation: 58-8=50, Resulting Numbers: [74, 50] Generated Node #0,2,3: 71:[74, 50] Operation: 58-8=50 Exploring Operation: 74-8=66, Resulting Numbers: [58, 66] Generated Node #0,2,4: 71:[58, 66] Operation: 74-8=66 Moving to Node #0,2,0 Current State: 71:[74, 66], Operations: ['91-83=8', '58+8=66'] Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[58, 66], Operations: ['91-83=8', '74-8=66'] Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,71 unequal: No Solution Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[58, 82], Operations: ['91-83=8', '74+8=82'] Exploring Operation: 58+82=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 58*82=4756, Resulting Numbers: [4756] 4756,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[74, 50], Operations: ['91-83=8', '58-8=50'] Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,71 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[8, 16], Operations: ['91-83=8', '74-58=16'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,71 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[83, 58, 17], Operations: ['91-74=17'] Exploring Operation: 58-17=41, Resulting Numbers: [83, 41] Generated Node #0,4,0: 71:[83, 41] Operation: 58-17=41 Exploring Operation: 58+17=75, Resulting Numbers: [83, 75] Generated Node #0,4,1: 71:[83, 75] Operation: 58+17=75 Exploring Operation: 83-58=25, Resulting Numbers: [17, 25] Generated Node #0,4,2: 71:[17, 25] Operation: 83-58=25 Exploring Operation: 83+17=100, Resulting Numbers: [58, 100] Generated Node #0,4,3: 71:[58, 100] Operation: 83+17=100 Exploring Operation: 83-17=66, Resulting Numbers: [58, 66] Generated Node #0,4,4: 71:[58, 66] Operation: 83-17=66 Moving to Node #0,4,1 Current State: 71:[83, 75], Operations: ['91-74=17', '58+17=75'] Exploring Operation: 83*75=6225, Resulting Numbers: [6225] 6225,71 unequal: No Solution Exploring Operation: 83+75=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[58, 66], Operations: ['91-74=17', '83-17=66'] Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,71 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[83, 41], Operations: ['91-74=17', '58-17=41'] Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,71 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[58, 100], Operations: ['91-74=17', '83+17=100'] Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,71 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[17, 25], Operations: ['91-74=17', '83-58=25'] Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,71 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[83, 91, 16], Operations: ['74-58=16'] Exploring Operation: 83-16=67, Resulting Numbers: [91, 67] Generated Node #0,1,0: 71:[91, 67] Operation: 83-16=67 Exploring Operation: 91-16=75, Resulting Numbers: [83, 75] Generated Node #0,1,1: 71:[83, 75] Operation: 91-16=75 Exploring Operation: 83+16=99, Resulting Numbers: [91, 99] Generated Node #0,1,2: 71:[91, 99] Operation: 83+16=99 Exploring Operation: 91-83=8, Resulting Numbers: [16, 8] Generated Node #0,1,3: 71:[16, 8] Operation: 91-83=8 Exploring Operation: 91+16=107, Resulting Numbers: [83, 107] Generated Node #0,1,4: 71:[83, 107] Operation: 91+16=107 Moving to Node #0,1,1 Current State: 71:[83, 75], Operations: ['74-58=16', '91-16=75'] Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 83+75=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 83*75=6225, Resulting Numbers: [6225] 6225,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[91, 67], Operations: ['74-58=16', '83-16=67'] Exploring Operation: 91+67=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 91*67=6097, Resulting Numbers: [6097] 6097,71 unequal: No Solution Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[91, 99], Operations: ['74-58=16', '83+16=99'] Exploring Operation: 91*99=9009, Resulting Numbers: [9009] 9009,71 unequal: No Solution Exploring Operation: 91+99=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[83, 107], Operations: ['74-58=16', '91+16=107'] Exploring Operation: 83+107=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 83*107=8881, Resulting Numbers: [8881] 8881,71 unequal: No Solution Exploring Operation: 107-83=24, Resulting Numbers: [24] 24,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[16, 8], Operations: ['74-58=16', '91-83=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 16*8=128, Resulting Numbers: [128] 128,71 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
[ 85, 38, 51, 17 ]
89
[ "85+38=123", "51-17=34", "123-34=89" ]
Current State: 89:[85, 38, 51, 17], Operations: [] Exploring Operation: 85+38=123, Resulting Numbers: [51, 17, 123] Generated Node #2: [51, 17, 123] from Operation: 85+38=123 Current State: 89:[51, 17, 123], Operations: ['85+38=123'] Exploring Operation: 51-17=34, Resulting Numbers: [123, 34] Generated Node #3: [123, 34] from Operation: 51-17=34 Current State: 89:[123, 34], Operations: ['85+38=123', '51-17=34'] Exploring Operation: 123-34=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[85, 38, 51, 17], Operations: [] Exploring Operation: 38+51=89, Resulting Numbers: [85, 17, 89] Generated Node #0,0: 89:[85, 17, 89] Operation: 38+51=89 Moving to Node #0,0 Current State: 89:[85, 17, 89], Operations: ['38+51=89'] Exploring Operation: 85+17=102, Resulting Numbers: [89, 102] Generated Node #0,0,0: 89:[89, 102] Operation: 85+17=102 Moving to Node #0,0,0 Current State: 89:[89, 102], Operations: ['38+51=89', '85+17=102'] Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,89 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 33, 71, 6, 63 ]
47
[ "33+71=104", "63-6=57", "104-57=47" ]
Current State: 47:[33, 71, 6, 63], Operations: [] Exploring Operation: 33+71=104, Resulting Numbers: [6, 63, 104] Generated Node #2: [6, 63, 104] from Operation: 33+71=104 Current State: 47:[6, 63, 104], Operations: ['33+71=104'] Exploring Operation: 63-6=57, Resulting Numbers: [104, 57] Generated Node #3: [104, 57] from Operation: 63-6=57 Current State: 47:[104, 57], Operations: ['33+71=104', '63-6=57'] Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[33, 71, 6, 63], Operations: [] Exploring Operation: 33+6=39, Resulting Numbers: [71, 63, 39] Generated Node #0,0: 47:[71, 63, 39] Operation: 33+6=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[71, 63, 39], Operations: ['33+6=39'] Exploring Operation: 71-39=32, Resulting Numbers: [63, 32] Generated Node #0,0,0: 47:[63, 32] Operation: 71-39=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[63, 32], Operations: ['33+6=39', '71-39=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 50, 46, 51, 25 ]
35
[ "51-46=5", "50/5=10", "25+10=35" ]
Current State: 35:[50, 46, 51, 25], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [50, 25, 5] Generated Node #2: [50, 25, 5] from Operation: 51-46=5 Current State: 35:[50, 25, 5], Operations: ['51-46=5'] Exploring Operation: 50/5=10, Resulting Numbers: [25, 10] Generated Node #3: [25, 10] from Operation: 50/5=10 Current State: 35:[25, 10], Operations: ['51-46=5', '50/5=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[50, 46, 51, 25], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [46, 25, 1] Generated Node #0,0: 35:[46, 25, 1] Operation: 51-50=1 Moving to Node #0,0 Current State: 35:[46, 25, 1], Operations: ['51-50=1'] Exploring Operation: 46-25=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 35:[1, 21] Operation: 46-25=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[1, 21], Operations: ['51-50=1', '46-25=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,35 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