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
[ 13, 74, 81, 11 ]
89
[ "13*81=1053", "1053-74=979", "979/11=89" ]
Current State: 89:[13, 74, 81, 11], Operations: [] Exploring Operation: 13*81=1053, Resulting Numbers: [74, 11, 1053] Generated Node #2: [74, 11, 1053] from Operation: 13*81=1053 Current State: 89:[74, 11, 1053], Operations: ['13*81=1053'] Exploring Operation: 1053-74=979, Resulting Numbers: [11, 979] Generated Node #3: [11, 979] from Operation: 1053-74=979 Current State: 89:[11, 979], Operations: ['13*81=1053', '1053-74=979'] Exploring Operation: 979/11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[13, 74, 81, 11], Operations: [] Exploring Operation: 13+11=24, Resulting Numbers: [74, 81, 24] Generated Node #0,0: 89:[74, 81, 24] Operation: 13+11=24 Exploring Operation: 13+74=87, Resulting Numbers: [81, 11, 87] Generated Node #0,1: 89:[81, 11, 87] Operation: 13+74=87 Exploring Operation: 74+11=85, Resulting Numbers: [13, 81, 85] Generated Node #0,2: 89:[13, 81, 85] Operation: 74+11=85 Exploring Operation: 13*11=143, Resulting Numbers: [74, 81, 143] Generated Node #0,3: 89:[74, 81, 143] Operation: 13*11=143 Moving to Node #0,3 Current State: 89:[74, 81, 143], Operations: ['13*11=143'] Exploring Operation: 143-81=62, Resulting Numbers: [74, 62] Generated Node #0,3,0: 89:[74, 62] Operation: 143-81=62 Exploring Operation: 74+81=155, Resulting Numbers: [143, 155] Generated Node #0,3,1: 89:[143, 155] Operation: 74+81=155 Exploring Operation: 81-74=7, Resulting Numbers: [143, 7] Generated Node #0,3,2: 89:[143, 7] Operation: 81-74=7 Exploring Operation: 143-74=69, Resulting Numbers: [81, 69] Generated Node #0,3,3: 89:[81, 69] Operation: 143-74=69 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[81, 69], Operations: ['13*11=143', '143-74=69'] Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[74, 62], Operations: ['13*11=143', '143-81=62'] Exploring Operation: 74+62=136, Resulting Numbers: [136] 136,89 unequal: No Solution Exploring Operation: 74*62=4588, Resulting Numbers: [4588] 4588,89 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[143, 155], Operations: ['13*11=143', '74+81=155'] Exploring Operation: 143+155=298, Resulting Numbers: [298] 298,89 unequal: No Solution Exploring Operation: 155-143=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 143*155=22165, Resulting Numbers: [22165] 22165,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[143, 7], Operations: ['13*11=143', '81-74=7'] Exploring Operation: 143+7=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 143-7=136, Resulting Numbers: [136] 136,89 unequal: No Solution Exploring Operation: 143*7=1001, Resulting Numbers: [1001] 1001,89 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: 89:[81, 11, 87], Operations: ['13+74=87'] Exploring Operation: 87-11=76, Resulting Numbers: [81, 76] Generated Node #0,1,0: 89:[81, 76] Operation: 87-11=76 Exploring Operation: 81+11=92, Resulting Numbers: [87, 92] Generated Node #0,1,1: 89:[87, 92] Operation: 81+11=92 Exploring Operation: 81-11=70, Resulting Numbers: [87, 70] Generated Node #0,1,2: 89:[87, 70] Operation: 81-11=70 Exploring Operation: 11+87=98, Resulting Numbers: [81, 98] Generated Node #0,1,3: 89:[81, 98] Operation: 11+87=98 Moving to Node #0,0 Current State: 89:[74, 81, 24], Operations: ['13+11=24'] Exploring Operation: 74+24=98, Resulting Numbers: [81, 98] Generated Node #0,0,0: 89:[81, 98] Operation: 74+24=98 Exploring Operation: 81-24=57, Resulting Numbers: [74, 57] Generated Node #0,0,1: 89:[74, 57] Operation: 81-24=57 Exploring Operation: 81+24=105, Resulting Numbers: [74, 105] Generated Node #0,0,2: 89:[74, 105] Operation: 81+24=105 Exploring Operation: 74-24=50, Resulting Numbers: [81, 50] Generated Node #0,0,3: 89:[81, 50] Operation: 74-24=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[81, 98], Operations: ['13+11=24', '74+24=98'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,89 unequal: No Solution Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[74, 105], Operations: ['13+11=24', '81+24=105'] Exploring Operation: 74*105=7770, Resulting Numbers: [7770] 7770,89 unequal: No Solution Exploring Operation: 74+105=179, Resulting Numbers: [179] 179,89 unequal: No Solution Exploring Operation: 105-74=31, Resulting Numbers: [31] 31,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[74, 57], Operations: ['13+11=24', '81-24=57'] Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 74+57=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 74*57=4218, Resulting Numbers: [4218] 4218,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[81, 50], Operations: ['13+11=24', '74-24=50'] Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,89 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,89 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: 89:[13, 81, 85], Operations: ['74+11=85'] Exploring Operation: 85-13=72, Resulting Numbers: [81, 72] Generated Node #0,2,0: 89:[81, 72] Operation: 85-13=72 Exploring Operation: 13+81=94, Resulting Numbers: [85, 94] Generated Node #0,2,1: 89:[85, 94] Operation: 13+81=94 Exploring Operation: 81-13=68, Resulting Numbers: [85, 68] Generated Node #0,2,2: 89:[85, 68] Operation: 81-13=68 Exploring Operation: 13+85=98, Resulting Numbers: [81, 98] Generated Node #0,2,3: 89:[81, 98] Operation: 13+85=98 Moving to Node #0,1,1 Current State: 89:[87, 92], Operations: ['13+74=87', '81+11=92'] Exploring Operation: 87*92=8004, Resulting Numbers: [8004] 8004,89 unequal: No Solution Exploring Operation: 87+92=179, Resulting Numbers: [179] 179,89 unequal: No Solution Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[85, 94], Operations: ['74+11=85', '13+81=94'] Exploring Operation: 85*94=7990, Resulting Numbers: [7990] 7990,89 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 85+94=179, Resulting Numbers: [179] 179,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[81, 98], Operations: ['74+11=85', '13+85=98'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,89 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[81, 98], Operations: ['13+74=87', '11+87=98'] Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,89 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[81, 76], Operations: ['13+74=87', '87-11=76'] Exploring Operation: 81*76=6156, Resulting Numbers: [6156] 6156,89 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 81+76=157, Resulting Numbers: [157] 157,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[87, 70], Operations: ['13+74=87', '81-11=70'] Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 87+70=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 87*70=6090, Resulting Numbers: [6090] 6090,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[81, 72], Operations: ['74+11=85', '85-13=72'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,89 unequal: No Solution Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[85, 68], Operations: ['74+11=85', '81-13=68'] Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,89 unequal: No Solution Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,89 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 12, 7, 27, 53 ]
82
[ "12-7=5", "27*5=135", "135-53=82" ]
Current State: 82:[12, 7, 27, 53], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [27, 53, 5] Generated Node #2: [27, 53, 5] from Operation: 12-7=5 Current State: 82:[27, 53, 5], Operations: ['12-7=5'] Exploring Operation: 27*5=135, Resulting Numbers: [53, 135] Generated Node #3: [53, 135] from Operation: 27*5=135 Current State: 82:[53, 135], Operations: ['12-7=5', '27*5=135'] Exploring Operation: 135-53=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[12, 7, 27, 53], Operations: [] Exploring Operation: 12+27=39, Resulting Numbers: [7, 53, 39] Generated Node #0,0: 82:[7, 53, 39] Operation: 12+27=39 Exploring Operation: 12*7=84, Resulting Numbers: [27, 53, 84] Generated Node #0,1: 82:[27, 53, 84] Operation: 12*7=84 Exploring Operation: 53-12=41, Resulting Numbers: [7, 27, 41] Generated Node #0,2: 82:[7, 27, 41] Operation: 53-12=41 Exploring Operation: 27+53=80, Resulting Numbers: [12, 7, 80] Generated Node #0,3: 82:[12, 7, 80] Operation: 27+53=80 Moving to Node #0,3 Current State: 82:[12, 7, 80], Operations: ['27+53=80'] Exploring Operation: 12*7=84, Resulting Numbers: [80, 84] Generated Node #0,3,0: 82:[80, 84] Operation: 12*7=84 Exploring Operation: 12-7=5, Resulting Numbers: [80, 5] Generated Node #0,3,1: 82:[80, 5] Operation: 12-7=5 Exploring Operation: 7+80=87, Resulting Numbers: [12, 87] Generated Node #0,3,2: 82:[12, 87] Operation: 7+80=87 Exploring Operation: 12+80=92, Resulting Numbers: [7, 92] Generated Node #0,3,3: 82:[7, 92] Operation: 12+80=92 Moving to Node #0,2 Current State: 82:[7, 27, 41], Operations: ['53-12=41'] Exploring Operation: 41-27=14, Resulting Numbers: [7, 14] Generated Node #0,2,0: 82:[7, 14] Operation: 41-27=14 Exploring Operation: 27-7=20, Resulting Numbers: [41, 20] Generated Node #0,2,1: 82:[41, 20] Operation: 27-7=20 Exploring Operation: 7+27=34, Resulting Numbers: [41, 34] Generated Node #0,2,2: 82:[41, 34] Operation: 7+27=34 Exploring Operation: 27+41=68, Resulting Numbers: [7, 68] Generated Node #0,2,3: 82:[7, 68] Operation: 27+41=68 Moving to Node #0,0 Current State: 82:[7, 53, 39], Operations: ['12+27=39'] Exploring Operation: 53-7=46, Resulting Numbers: [39, 46] Generated Node #0,0,0: 82:[39, 46] Operation: 53-7=46 Exploring Operation: 53-39=14, Resulting Numbers: [7, 14] Generated Node #0,0,1: 82:[7, 14] Operation: 53-39=14 Exploring Operation: 53+39=92, Resulting Numbers: [7, 92] Generated Node #0,0,2: 82:[7, 92] Operation: 53+39=92 Exploring Operation: 7+39=46, Resulting Numbers: [53, 46] Generated Node #0,0,3: 82:[53, 46] Operation: 7+39=46 Moving to Node #0,1 Current State: 82:[27, 53, 84], Operations: ['12*7=84'] Exploring Operation: 53-27=26, Resulting Numbers: [84, 26] Generated Node #0,1,0: 82:[84, 26] Operation: 53-27=26 Exploring Operation: 27+53=80, Resulting Numbers: [84, 80] Generated Node #0,1,1: 82:[84, 80] Operation: 27+53=80 Exploring Operation: 84-27=57, Resulting Numbers: [53, 57] Generated Node #0,1,2: 82:[53, 57] Operation: 84-27=57 Exploring Operation: 84-53=31, Resulting Numbers: [27, 31] Generated Node #0,1,3: 82:[27, 31] Operation: 84-53=31 Moving to Node #0,3,0 Current State: 82:[80, 84], Operations: ['27+53=80', '12*7=84'] Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,82 unequal: No Solution Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[84, 80], Operations: ['12*7=84', '27+53=80'] Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 84+80=164, Resulting Numbers: [164] 164,82 unequal: No Solution Exploring Operation: 84*80=6720, Resulting Numbers: [6720] 6720,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[80, 5], Operations: ['27+53=80', '12-7=5'] Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,82 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[41, 34], Operations: ['53-12=41', '7+27=34'] Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,82 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[39, 46], Operations: ['12+27=39', '53-7=46'] Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,82 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[12, 87], Operations: ['27+53=80', '7+80=87'] Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 12*87=1044, Resulting Numbers: [1044] 1044,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[7, 92], Operations: ['12+27=39', '53+39=92'] Exploring Operation: 7*92=644, Resulting Numbers: [644] 644,82 unequal: No Solution Exploring Operation: 7+92=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[7, 92], Operations: ['27+53=80', '12+80=92'] Exploring Operation: 7*92=644, Resulting Numbers: [644] 644,82 unequal: No Solution Exploring Operation: 7+92=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[84, 26], Operations: ['12*7=84', '53-27=26'] Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,82 unequal: No Solution Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[53, 46], Operations: ['12+27=39', '7+39=46'] Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 53*46=2438, Resulting Numbers: [2438] 2438,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[7, 14], Operations: ['53-12=41', '41-27=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[7, 14], Operations: ['12+27=39', '53-39=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[41, 20], Operations: ['53-12=41', '27-7=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,82 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[7, 68], Operations: ['53-12=41', '27+41=68'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,82 unequal: No Solution Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[27, 31], Operations: ['12*7=84', '84-53=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[53, 57], Operations: ['12*7=84', '84-27=57'] Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,82 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,82 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 46, 83, 85, 9 ]
35
[ "46+83=129", "85+9=94", "129-94=35" ]
Current State: 35:[46, 83, 85, 9], Operations: [] Exploring Operation: 46+83=129, Resulting Numbers: [85, 9, 129] Generated Node #2: [85, 9, 129] from Operation: 46+83=129 Current State: 35:[85, 9, 129], Operations: ['46+83=129'] Exploring Operation: 85+9=94, Resulting Numbers: [129, 94] Generated Node #3: [129, 94] from Operation: 85+9=94 Current State: 35:[129, 94], Operations: ['46+83=129', '85+9=94'] Exploring Operation: 129-94=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[46, 83, 85, 9], Operations: [] Exploring Operation: 85-46=39, Resulting Numbers: [83, 9, 39] Generated Node #0,0: 35:[83, 9, 39] Operation: 85-46=39 Exploring Operation: 83-9=74, Resulting Numbers: [46, 85, 74] Generated Node #0,1: 35:[46, 85, 74] Operation: 83-9=74 Exploring Operation: 85-83=2, Resulting Numbers: [46, 9, 2] Generated Node #0,2: 35:[46, 9, 2] Operation: 85-83=2 Exploring Operation: 83-46=37, Resulting Numbers: [85, 9, 37] Generated Node #0,3: 35:[85, 9, 37] Operation: 83-46=37 Exploring Operation: 46-9=37, Resulting Numbers: [83, 85, 37] Generated Node #0,4: 35:[83, 85, 37] Operation: 46-9=37 Moving to Node #0,2 Current State: 35:[46, 9, 2], Operations: ['85-83=2'] Exploring Operation: 9-2=7, Resulting Numbers: [46, 7] Generated Node #0,2,0: 35:[46, 7] Operation: 9-2=7 Exploring Operation: 46/2=23, Resulting Numbers: [9, 23] Generated Node #0,2,1: 35:[9, 23] Operation: 46/2=23 Exploring Operation: 46-9=37, Resulting Numbers: [2, 37] Generated Node #0,2,2: 35:[2, 37] Operation: 46-9=37 Exploring Operation: 46-2=44, Resulting Numbers: [9, 44] Generated Node #0,2,3: 35:[9, 44] Operation: 46-2=44 Exploring Operation: 46+2=48, Resulting Numbers: [9, 48] Generated Node #0,2,4: 35:[9, 48] Operation: 46+2=48 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[2, 37], Operations: ['85-83=2', '46-9=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[46, 83, 85, 9], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [46, 9, 2] Generated Node #0,2: 35:[46, 9, 2] Operation: 85-83=2 Moving to Node #0,2 Current State: 35:[46, 9, 2], Operations: ['85-83=2'] Exploring Operation: 46-9=37, Resulting Numbers: [2, 37] Generated Node #0,2,2: 35:[2, 37] Operation: 46-9=37 Moving to Node #0,2,2 Current State: 35:[2, 37], Operations: ['85-83=2', '46-9=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 84, 33, 48, 62 ]
32
[ "84-62=22", "48*22=1056", "1056/33=32" ]
Current State: 32:[84, 33, 48, 62], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [33, 48, 22] Generated Node #2: [33, 48, 22] from Operation: 84-62=22 Current State: 32:[33, 48, 22], Operations: ['84-62=22'] Exploring Operation: 48*22=1056, Resulting Numbers: [33, 1056] Generated Node #3: [33, 1056] from Operation: 48*22=1056 Current State: 32:[33, 1056], Operations: ['84-62=22', '48*22=1056'] Exploring Operation: 1056/33=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[84, 33, 48, 62], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [33, 62, 36] Generated Node #0,0: 32:[33, 62, 36] Operation: 84-48=36 Exploring Operation: 84-62=22, Resulting Numbers: [33, 48, 22] Generated Node #0,1: 32:[33, 48, 22] Operation: 84-62=22 Moving to Node #0,1 Current State: 32:[33, 48, 22], Operations: ['84-62=22'] Exploring Operation: 48-22=26, Resulting Numbers: [33, 26] Generated Node #0,1,0: 32:[33, 26] Operation: 48-22=26 Exploring Operation: 48-33=15, Resulting Numbers: [22, 15] Generated Node #0,1,1: 32:[22, 15] Operation: 48-33=15 Moving to Node #0,0 Current State: 32:[33, 62, 36], Operations: ['84-48=36'] Exploring Operation: 62-33=29, Resulting Numbers: [36, 29] Generated Node #0,0,0: 32:[36, 29] Operation: 62-33=29 Exploring Operation: 62-36=26, Resulting Numbers: [33, 26] Generated Node #0,0,1: 32:[33, 26] Operation: 62-36=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[36, 29], Operations: ['84-48=36', '62-33=29'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[33, 26], Operations: ['84-48=36', '62-36=26'] Exploring Operation: 33+26=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 32:[33, 26], Operations: ['84-62=22', '48-22=26'] Exploring Operation: 33+26=59, Resulting Numbers: [59] 59,32 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[22, 15], Operations: ['84-62=22', '48-33=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,32 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 14, 9, 38, 36 ]
69
[ "14-9=5", "38+36=74", "74-5=69" ]
Current State: 69:[14, 9, 38, 36], Operations: [] Exploring Operation: 14-9=5, Resulting Numbers: [38, 36, 5] Generated Node #2: [38, 36, 5] from Operation: 14-9=5 Current State: 69:[38, 36, 5], Operations: ['14-9=5'] Exploring Operation: 38+36=74, Resulting Numbers: [5, 74] Generated Node #3: [5, 74] from Operation: 38+36=74 Current State: 69:[5, 74], Operations: ['14-9=5', '38+36=74'] Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[14, 9, 38, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [14, 9, 2] Generated Node #0,0: 69:[14, 9, 2] Operation: 38-36=2 Exploring Operation: 38-14=24, Resulting Numbers: [9, 36, 24] Generated Node #0,1: 69:[9, 36, 24] Operation: 38-14=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[14, 9, 2], Operations: ['38-36=2'] Exploring Operation: 14-9=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 69:[2, 5] Operation: 14-9=5 Exploring Operation: 14+9=23, Resulting Numbers: [2, 23] Generated Node #0,0,1: 69:[2, 23] Operation: 14+9=23 Moving to Node #0,0,1 Current State: 69:[2, 23], Operations: ['38-36=2', '14+9=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[2, 5], Operations: ['38-36=2', '14-9=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,69 unequal: No Solution No 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: 69:[9, 36, 24], Operations: ['38-14=24'] Exploring Operation: 36-9=27, Resulting Numbers: [24, 27] Generated Node #0,1,0: 69:[24, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [24, 4] Generated Node #0,1,1: 69:[24, 4] Operation: 36/9=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[24, 4], Operations: ['38-14=24', '36/9=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,69 unequal: No Solution No 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: 69:[24, 27], Operations: ['38-14=24', '36-9=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 71, 11, 62, 52 ]
26
[ "71-11=60", "62-60=2", "52/2=26" ]
Current State: 26:[71, 11, 62, 52], Operations: [] Exploring Operation: 71-11=60, Resulting Numbers: [62, 52, 60] Generated Node #2: [62, 52, 60] from Operation: 71-11=60 Current State: 26:[62, 52, 60], Operations: ['71-11=60'] Exploring Operation: 62-60=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 62-60=2 Current State: 26:[52, 2], Operations: ['71-11=60', '62-60=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[71, 11, 62, 52], Operations: [] Exploring Operation: 71-62=9, Resulting Numbers: [11, 52, 9] Generated Node #0,0: 26:[11, 52, 9] Operation: 71-62=9 Moving to Node #0,0 Current State: 26:[11, 52, 9], Operations: ['71-62=9'] Exploring Operation: 52-11=41, Resulting Numbers: [9, 41] Generated Node #0,0,0: 26:[9, 41] Operation: 52-11=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[9, 41], Operations: ['71-62=9', '52-11=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,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
[ 5, 63, 5, 9 ]
54
[ "5+63=68", "5+9=14", "68-14=54" ]
Current State: 54:[5, 63, 5, 9], Operations: [] Exploring Operation: 5+63=68, Resulting Numbers: [9, 68] Generated Node #2: [9, 68] from Operation: 5+63=68 Current State: 54:[9, 68], Operations: ['5+63=68'] Exploring Operation: 5+9=14, Resulting Numbers: [68, 14] Generated Node #3: [68, 14] from Operation: 5+9=14 Current State: 54:[68, 14], Operations: ['5+63=68', '5+9=14'] Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[5, 63, 5, 9], Operations: [] Exploring Operation: 63-9=54, Resulting Numbers: [5, 5, 54] Generated Node #0,0: 54:[5, 5, 54] Operation: 63-9=54 Moving to Node #0,0 Current State: 54:[5, 5, 54], Operations: ['63-9=54'] Exploring Operation: 5+5=10, Resulting Numbers: [54, 10] Generated Node #0,0,0: 54:[54, 10] Operation: 5+5=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[54, 10], Operations: ['63-9=54', '5+5=10'] Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,54 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
[ 9, 87, 87, 90 ]
93
[ "9+87=96", "90-87=3", "96-3=93" ]
Current State: 93:[9, 87, 87, 90], Operations: [] Exploring Operation: 9+87=96, Resulting Numbers: [90, 96] Generated Node #2: [90, 96] from Operation: 9+87=96 Current State: 93:[90, 96], Operations: ['9+87=96'] Exploring Operation: 90-87=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 90-87=3 Current State: 93:[96, 3], Operations: ['9+87=96', '90-87=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[9, 87, 87, 90], Operations: [] Exploring Operation: 87/87=1, Resulting Numbers: [9, 90, 1] Generated Node #0,0: 93:[9, 90, 1] Operation: 87/87=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[9, 90, 1], Operations: ['87/87=1'] Exploring Operation: 9+90=99, Resulting Numbers: [1, 99] Generated Node #0,0,0: 93:[1, 99] Operation: 9+90=99 Moving to Node #0,0,0 Current State: 93:[1, 99], Operations: ['87/87=1', '9+90=99'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,93 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
[ 78, 67, 71, 37 ]
97
[ "78-67=11", "71+37=108", "108-11=97" ]
Current State: 97:[78, 67, 71, 37], Operations: [] Exploring Operation: 78-67=11, Resulting Numbers: [71, 37, 11] Generated Node #2: [71, 37, 11] from Operation: 78-67=11 Current State: 97:[71, 37, 11], Operations: ['78-67=11'] Exploring Operation: 71+37=108, Resulting Numbers: [11, 108] Generated Node #3: [11, 108] from Operation: 71+37=108 Current State: 97:[11, 108], Operations: ['78-67=11', '71+37=108'] Exploring Operation: 108-11=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[78, 67, 71, 37], Operations: [] Exploring Operation: 71+37=108, Resulting Numbers: [78, 67, 108] Generated Node #0,0: 97:[78, 67, 108] Operation: 71+37=108 Exploring Operation: 67+37=104, Resulting Numbers: [78, 71, 104] Generated Node #0,1: 97:[78, 71, 104] Operation: 67+37=104 Moving to Node #0,1 Current State: 97:[78, 71, 104], Operations: ['67+37=104'] Exploring Operation: 78+71=149, Resulting Numbers: [104, 149] Generated Node #0,1,0: 97:[104, 149] Operation: 78+71=149 Exploring Operation: 104-71=33, Resulting Numbers: [78, 33] Generated Node #0,1,1: 97:[78, 33] Operation: 104-71=33 Moving to Node #0,0 Current State: 97:[78, 67, 108], Operations: ['71+37=108'] Exploring Operation: 78+67=145, Resulting Numbers: [108, 145] Generated Node #0,0,0: 97:[108, 145] Operation: 78+67=145 Exploring Operation: 108-67=41, Resulting Numbers: [78, 41] Generated Node #0,0,1: 97:[78, 41] Operation: 108-67=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[108, 145], Operations: ['71+37=108', '78+67=145'] Exploring Operation: 145-108=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 108+145=253, Resulting Numbers: [253] 253,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[78, 41], Operations: ['71+37=108', '108-67=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 97:[104, 149], Operations: ['67+37=104', '78+71=149'] Exploring Operation: 149-104=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 104+149=253, Resulting Numbers: [253] 253,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[78, 33], Operations: ['67+37=104', '104-71=33'] Exploring Operation: 78+33=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,97 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 51, 63, 31 ]
51
[ "51-8=43", "63+31=94", "94-43=51" ]
Current State: 51:[8, 51, 63, 31], Operations: [] Exploring Operation: 51-8=43, Resulting Numbers: [63, 31, 43] Generated Node #2: [63, 31, 43] from Operation: 51-8=43 Current State: 51:[63, 31, 43], Operations: ['51-8=43'] Exploring Operation: 63+31=94, Resulting Numbers: [43, 94] Generated Node #3: [43, 94] from Operation: 63+31=94 Current State: 51:[43, 94], Operations: ['51-8=43', '63+31=94'] Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[8, 51, 63, 31], Operations: [] Exploring Operation: 63-8=55, Resulting Numbers: [51, 31, 55] Generated Node #0,0: 51:[51, 31, 55] Operation: 63-8=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[51, 31, 55], Operations: ['63-8=55'] Exploring Operation: 51-31=20, Resulting Numbers: [55, 20] Generated Node #0,0,0: 51:[55, 20] Operation: 51-31=20 Moving to Node #0,0,0 Current State: 51:[55, 20], Operations: ['63-8=55', '51-31=20'] Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,51 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
[ 94, 8, 28, 52 ]
84
[ "28+52=80", "80/8=10", "94-10=84" ]
Current State: 84:[94, 8, 28, 52], Operations: [] Exploring Operation: 28+52=80, Resulting Numbers: [94, 8, 80] Generated Node #2: [94, 8, 80] from Operation: 28+52=80 Current State: 84:[94, 8, 80], Operations: ['28+52=80'] Exploring Operation: 80/8=10, Resulting Numbers: [94, 10] Generated Node #3: [94, 10] from Operation: 80/8=10 Current State: 84:[94, 10], Operations: ['28+52=80', '80/8=10'] Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[94, 8, 28, 52], Operations: [] Exploring Operation: 94-8=86, Resulting Numbers: [28, 52, 86] Generated Node #0,0: 84:[28, 52, 86] Operation: 94-8=86 Exploring Operation: 94-52=42, Resulting Numbers: [8, 28, 42] Generated Node #0,1: 84:[8, 28, 42] Operation: 94-52=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[8, 28, 42], Operations: ['94-52=42'] Exploring Operation: 28-8=20, Resulting Numbers: [42, 20] Generated Node #0,1,0: 84:[42, 20] Operation: 28-8=20 Exploring Operation: 42-28=14, Resulting Numbers: [8, 14] Generated Node #0,1,1: 84:[8, 14] Operation: 42-28=14 Moving to Node #0,1,0 Current State: 84:[42, 20], Operations: ['94-52=42', '28-8=20'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[8, 14], Operations: ['94-52=42', '42-28=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[28, 52, 86], Operations: ['94-8=86'] Exploring Operation: 52-28=24, Resulting Numbers: [86, 24] Generated Node #0,0,0: 84:[86, 24] Operation: 52-28=24 Exploring Operation: 28+52=80, Resulting Numbers: [86, 80] Generated Node #0,0,1: 84:[86, 80] Operation: 28+52=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[86, 24], Operations: ['94-8=86', '52-28=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[86, 80], Operations: ['94-8=86', '28+52=80'] Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 86+80=166, Resulting Numbers: [166] 166,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 5, 99, 90, 52 ]
91
[ "90-52=38", "5*38=190", "190-99=91" ]
Current State: 91:[5, 99, 90, 52], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [5, 99, 38] Generated Node #2: [5, 99, 38] from Operation: 90-52=38 Current State: 91:[5, 99, 38], Operations: ['90-52=38'] Exploring Operation: 5*38=190, Resulting Numbers: [99, 190] Generated Node #3: [99, 190] from Operation: 5*38=190 Current State: 91:[99, 190], Operations: ['90-52=38', '5*38=190'] Exploring Operation: 190-99=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[5, 99, 90, 52], Operations: [] Exploring Operation: 99-52=47, Resulting Numbers: [5, 90, 47] Generated Node #0,0: 91:[5, 90, 47] Operation: 99-52=47 Exploring Operation: 90-52=38, Resulting Numbers: [5, 99, 38] Generated Node #0,1: 91:[5, 99, 38] Operation: 90-52=38 Exploring Operation: 5+52=57, Resulting Numbers: [99, 90, 57] Generated Node #0,2: 91:[99, 90, 57] Operation: 5+52=57 Exploring Operation: 99-5=94, Resulting Numbers: [90, 52, 94] Generated Node #0,3: 91:[90, 52, 94] Operation: 99-5=94 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[5, 99, 38], Operations: ['90-52=38'] Exploring Operation: 99-5=94, Resulting Numbers: [38, 94] Generated Node #0,1,0: 91:[38, 94] Operation: 99-5=94 Exploring Operation: 99-38=61, Resulting Numbers: [5, 61] Generated Node #0,1,1: 91:[5, 61] Operation: 99-38=61 Exploring Operation: 38-5=33, Resulting Numbers: [99, 33] Generated Node #0,1,2: 91:[99, 33] Operation: 38-5=33 Exploring Operation: 5+99=104, Resulting Numbers: [38, 104] Generated Node #0,1,3: 91:[38, 104] Operation: 5+99=104 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[38, 94], Operations: ['90-52=38', '99-5=94'] Exploring Operation: 38+94=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 38*94=3572, Resulting Numbers: [3572] 3572,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[99, 33], Operations: ['90-52=38', '38-5=33'] Exploring Operation: 99+33=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 99/33=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 99*33=3267, Resulting Numbers: [3267] 3267,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[5, 61], Operations: ['90-52=38', '99-38=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 91:[38, 104], Operations: ['90-52=38', '5+99=104'] Exploring Operation: 38+104=142, Resulting Numbers: [142] 142,91 unequal: No Solution Exploring Operation: 104-38=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 38*104=3952, Resulting Numbers: [3952] 3952,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 90, 47], Operations: ['99-52=47'] Exploring Operation: 90-47=43, Resulting Numbers: [5, 43] Generated Node #0,0,0: 91:[5, 43] Operation: 90-47=43 Exploring Operation: 90/5=18, Resulting Numbers: [47, 18] Generated Node #0,0,1: 91:[47, 18] Operation: 90/5=18 Exploring Operation: 5+90=95, Resulting Numbers: [47, 95] Generated Node #0,0,2: 91:[47, 95] Operation: 5+90=95 Exploring Operation: 47-5=42, Resulting Numbers: [90, 42] Generated Node #0,0,3: 91:[90, 42] Operation: 47-5=42 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 91:[90, 42], Operations: ['99-52=47', '47-5=42'] Exploring Operation: 90+42=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 90*42=3780, Resulting Numbers: [3780] 3780,91 unequal: No Solution Exploring Operation: 90-42=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[5, 43], Operations: ['99-52=47', '90-47=43'] Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,91 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[47, 95], Operations: ['99-52=47', '5+90=95'] Exploring Operation: 47*95=4465, Resulting Numbers: [4465] 4465,91 unequal: No Solution Exploring Operation: 47+95=142, Resulting Numbers: [142] 142,91 unequal: No Solution Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[47, 18], Operations: ['99-52=47', '90/5=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,91 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[99, 90, 57], Operations: ['5+52=57'] Exploring Operation: 90-57=33, Resulting Numbers: [99, 33] Generated Node #0,2,0: 91:[99, 33] Operation: 90-57=33 Exploring Operation: 90+57=147, Resulting Numbers: [99, 147] Generated Node #0,2,1: 91:[99, 147] Operation: 90+57=147 Exploring Operation: 99-57=42, Resulting Numbers: [90, 42] Generated Node #0,2,2: 91:[90, 42] Operation: 99-57=42 Exploring Operation: 99-90=9, Resulting Numbers: [57, 9] Generated Node #0,2,3: 91:[57, 9] Operation: 99-90=9 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[99, 33], Operations: ['5+52=57', '90-57=33'] Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 99*33=3267, Resulting Numbers: [3267] 3267,91 unequal: No Solution Exploring Operation: 99/33=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 99+33=132, Resulting Numbers: [132] 132,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[90, 42], Operations: ['5+52=57', '99-57=42'] Exploring Operation: 90*42=3780, Resulting Numbers: [3780] 3780,91 unequal: No Solution Exploring Operation: 90+42=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 90-42=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 91:[57, 9], Operations: ['5+52=57', '99-90=9'] Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,91 unequal: No Solution Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[99, 147], Operations: ['5+52=57', '90+57=147'] Exploring Operation: 99*147=14553, Resulting Numbers: [14553] 14553,91 unequal: No Solution Exploring Operation: 99+147=246, Resulting Numbers: [246] 246,91 unequal: No Solution Exploring Operation: 147-99=48, Resulting Numbers: [48] 48,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[90, 52, 94], Operations: ['99-5=94'] Exploring Operation: 90-52=38, Resulting Numbers: [94, 38] Generated Node #0,3,0: 91:[94, 38] Operation: 90-52=38 Exploring Operation: 94-52=42, Resulting Numbers: [90, 42] Generated Node #0,3,1: 91:[90, 42] Operation: 94-52=42 Exploring Operation: 94-90=4, Resulting Numbers: [52, 4] Generated Node #0,3,2: 91:[52, 4] Operation: 94-90=4 Exploring Operation: 90+52=142, Resulting Numbers: [94, 142] Generated Node #0,3,3: 91:[94, 142] Operation: 90+52=142 Moving to Node #0,3,0 Current State: 91:[94, 38], Operations: ['99-5=94', '90-52=38'] Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[90, 42], Operations: ['99-5=94', '94-52=42'] Exploring Operation: 90-42=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 90*42=3780, Resulting Numbers: [3780] 3780,91 unequal: No Solution Exploring Operation: 90+42=132, Resulting Numbers: [132] 132,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[52, 4], Operations: ['99-5=94', '94-90=4'] Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,91 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,91 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[94, 142], Operations: ['99-5=94', '90+52=142'] Exploring Operation: 142-94=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 94+142=236, Resulting Numbers: [236] 236,91 unequal: No Solution Exploring Operation: 94*142=13348, Resulting Numbers: [13348] 13348,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 1, 4, 9, 27 ]
100
[ "9-1=8", "4*27=108", "108-8=100" ]
Current State: 100:[1, 4, 9, 27], Operations: [] Exploring Operation: 9-1=8, Resulting Numbers: [4, 27, 8] Generated Node #2: [4, 27, 8] from Operation: 9-1=8 Current State: 100:[4, 27, 8], Operations: ['9-1=8'] Exploring Operation: 4*27=108, Resulting Numbers: [8, 108] Generated Node #3: [8, 108] from Operation: 4*27=108 Current State: 100:[8, 108], Operations: ['9-1=8', '4*27=108'] Exploring Operation: 108-8=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[1, 4, 9, 27], Operations: [] Exploring Operation: 1+4=5, Resulting Numbers: [9, 27, 5] Generated Node #0,0: 100:[9, 27, 5] Operation: 1+4=5 Exploring Operation: 1+9=10, Resulting Numbers: [4, 27, 10] Generated Node #0,1: 100:[4, 27, 10] Operation: 1+9=10 Exploring Operation: 27/9=3, Resulting Numbers: [1, 4, 3] Generated Node #0,2: 100:[1, 4, 3] Operation: 27/9=3 Exploring Operation: 27-1=26, Resulting Numbers: [4, 9, 26] Generated Node #0,3: 100:[4, 9, 26] Operation: 27-1=26 Exploring Operation: 1*4=4, Resulting Numbers: [9, 27, 4] Generated Node #0,4: 100:[9, 27, 4] Operation: 1*4=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[4, 27, 10], Operations: ['1+9=10'] Exploring Operation: 4+27=31, Resulting Numbers: [10, 31] Generated Node #0,1,0: 100:[10, 31] Operation: 4+27=31 Exploring Operation: 27-4=23, Resulting Numbers: [10, 23] Generated Node #0,1,1: 100:[10, 23] Operation: 27-4=23 Exploring Operation: 27-10=17, Resulting Numbers: [4, 17] Generated Node #0,1,2: 100:[4, 17] Operation: 27-10=17 Exploring Operation: 4+10=14, Resulting Numbers: [27, 14] Generated Node #0,1,3: 100:[27, 14] Operation: 4+10=14 Exploring Operation: 10-4=6, Resulting Numbers: [27, 6] Generated Node #0,1,4: 100:[27, 6] Operation: 10-4=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[10, 23], Operations: ['1+9=10', '27-4=23'] Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,100 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[4, 17], Operations: ['1+9=10', '27-10=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 100:[27, 6], Operations: ['1+9=10', '10-4=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[10, 31], Operations: ['1+9=10', '4+27=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,100 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[27, 14], Operations: ['1+9=10', '4+10=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,100 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,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,2 Current State: 100:[1, 4, 3], Operations: ['27/9=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4, 4] Generated Node #0,2,0: 100:[4, 4] Operation: 1+3=4 Exploring Operation: 3-1=2, Resulting Numbers: [4, 2] Generated Node #0,2,1: 100:[4, 2] Operation: 3-1=2 Exploring Operation: 4/1=4, Resulting Numbers: [3, 4] Generated Node #0,2,2: 100:[3, 4] Operation: 4/1=4 Exploring Operation: 1+4=5, Resulting Numbers: [3, 5] Generated Node #0,2,3: 100:[3, 5] Operation: 1+4=5 Exploring Operation: 1*4=4, Resulting Numbers: [3, 4] Generated Node #0,2,4: 100:[3, 4] Operation: 1*4=4 Moving to Node #0,2,0 Current State: 100:[4, 4], Operations: ['27/9=3', '1+3=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[4, 2], Operations: ['27/9=3', '3-1=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[3, 4], Operations: ['27/9=3', '4/1=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,100 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[3, 5], Operations: ['27/9=3', '1+4=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[3, 4], Operations: ['27/9=3', '1*4=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,100 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[4, 9, 26], Operations: ['27-1=26'] Exploring Operation: 26-4=22, Resulting Numbers: [9, 22] Generated Node #0,3,0: 100:[9, 22] Operation: 26-4=22 Exploring Operation: 26-9=17, Resulting Numbers: [4, 17] Generated Node #0,3,1: 100:[4, 17] Operation: 26-9=17 Exploring Operation: 4*26=104, Resulting Numbers: [9, 104] Generated Node #0,3,2: 100:[9, 104] Operation: 4*26=104 Exploring Operation: 9-4=5, Resulting Numbers: [26, 5] Generated Node #0,3,3: 100:[26, 5] Operation: 9-4=5 Exploring Operation: 4+9=13, Resulting Numbers: [26, 13] Generated Node #0,3,4: 100:[26, 13] Operation: 4+9=13 Moving to Node #0,3,3 Current State: 100:[26, 5], Operations: ['27-1=26', '9-4=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[4, 17], Operations: ['27-1=26', '26-9=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[9, 22], Operations: ['27-1=26', '26-4=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,100 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[26, 13], Operations: ['27-1=26', '4+9=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,100 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[9, 104], Operations: ['27-1=26', '4*26=104'] Exploring Operation: 9*104=936, Resulting Numbers: [936] 936,100 unequal: No Solution Exploring Operation: 104-9=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 9+104=113, Resulting Numbers: [113] 113,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[9, 27, 5], Operations: ['1+4=5'] Exploring Operation: 9+5=14, Resulting Numbers: [27, 14] Generated Node #0,0,0: 100:[27, 14] Operation: 9+5=14 Exploring Operation: 27-5=22, Resulting Numbers: [9, 22] Generated Node #0,0,1: 100:[9, 22] Operation: 27-5=22 Exploring Operation: 27/9=3, Resulting Numbers: [5, 3] Generated Node #0,0,2: 100:[5, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [5, 18] Generated Node #0,0,3: 100:[5, 18] Operation: 27-9=18 Exploring Operation: 9-5=4, Resulting Numbers: [27, 4] Generated Node #0,0,4: 100:[27, 4] Operation: 9-5=4 Moving to Node #0,0,2 Current State: 100:[5, 3], Operations: ['1+4=5', '27/9=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[27, 4], Operations: ['1+4=5', '9-5=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[5, 18], Operations: ['1+4=5', '27-9=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[9, 22], Operations: ['1+4=5', '27-5=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,100 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[27, 14], Operations: ['1+4=5', '9+5=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,100 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[9, 27, 4], Operations: ['1*4=4'] Exploring Operation: 27/9=3, Resulting Numbers: [4, 3] Generated Node #0,4,0: 100:[4, 3] Operation: 27/9=3 Exploring Operation: 9+4=13, Resulting Numbers: [27, 13] Generated Node #0,4,1: 100:[27, 13] Operation: 9+4=13 Exploring Operation: 27-9=18, Resulting Numbers: [4, 18] Generated Node #0,4,2: 100:[4, 18] Operation: 27-9=18 Exploring Operation: 9-4=5, Resulting Numbers: [27, 5] Generated Node #0,4,3: 100:[27, 5] Operation: 9-4=5 Exploring Operation: 27-4=23, Resulting Numbers: [9, 23] Generated Node #0,4,4: 100:[9, 23] Operation: 27-4=23 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 100:[4, 3], Operations: ['1*4=4', '27/9=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,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,4,2 Current State: 100:[4, 18], Operations: ['1*4=4', '27-9=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,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,4,3 Current State: 100:[27, 5], Operations: ['1*4=4', '9-4=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,100 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,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,4,4 Current State: 100:[9, 23], Operations: ['1*4=4', '27-4=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,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,4,1 Current State: 100:[27, 13], Operations: ['1*4=4', '9+4=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,100 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,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_5
sum_heuristic
[ 7, 5, 13, 85 ]
89
[ "7+13=20", "20/5=4", "85+4=89" ]
Current State: 89:[7, 5, 13, 85], Operations: [] Exploring Operation: 7+13=20, Resulting Numbers: [5, 85, 20] Generated Node #2: [5, 85, 20] from Operation: 7+13=20 Current State: 89:[5, 85, 20], Operations: ['7+13=20'] Exploring Operation: 20/5=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 20/5=4 Current State: 89:[85, 4], Operations: ['7+13=20', '20/5=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[7, 5, 13, 85], Operations: [] Exploring Operation: 7+5=12, Resulting Numbers: [13, 85, 12] Generated Node #0,0: 89:[13, 85, 12] Operation: 7+5=12 Exploring Operation: 7*5=35, Resulting Numbers: [13, 85, 35] Generated Node #0,1: 89:[13, 85, 35] Operation: 7*5=35 Exploring Operation: 5*13=65, Resulting Numbers: [7, 85, 65] Generated Node #0,2: 89:[7, 85, 65] Operation: 5*13=65 Exploring Operation: 7*13=91, Resulting Numbers: [5, 85, 91] Generated Node #0,3: 89:[5, 85, 91] Operation: 7*13=91 Moving to Node #0,3 Current State: 89:[5, 85, 91], Operations: ['7*13=91'] Exploring Operation: 5+91=96, Resulting Numbers: [85, 96] Generated Node #0,3,0: 89:[85, 96] Operation: 5+91=96 Exploring Operation: 5+85=90, Resulting Numbers: [91, 90] Generated Node #0,3,1: 89:[91, 90] Operation: 5+85=90 Exploring Operation: 85-5=80, Resulting Numbers: [91, 80] Generated Node #0,3,2: 89:[91, 80] Operation: 85-5=80 Exploring Operation: 91-5=86, Resulting Numbers: [85, 86] Generated Node #0,3,3: 89:[85, 86] Operation: 91-5=86 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[91, 90], Operations: ['7*13=91', '5+85=90'] Exploring Operation: 91*90=8190, Resulting Numbers: [8190] 8190,89 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 91+90=181, Resulting Numbers: [181] 181,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[85, 86], Operations: ['7*13=91', '91-5=86'] Exploring Operation: 85*86=7310, Resulting Numbers: [7310] 7310,89 unequal: No Solution Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 85+86=171, Resulting Numbers: [171] 171,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[85, 96], Operations: ['7*13=91', '5+91=96'] Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,89 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[91, 80], Operations: ['7*13=91', '85-5=80'] Exploring Operation: 91+80=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 91*80=7280, Resulting Numbers: [7280] 7280,89 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: 89:[7, 85, 65], Operations: ['5*13=65'] Exploring Operation: 65-7=58, Resulting Numbers: [85, 58] Generated Node #0,2,0: 89:[85, 58] Operation: 65-7=58 Exploring Operation: 7+65=72, Resulting Numbers: [85, 72] Generated Node #0,2,1: 89:[85, 72] Operation: 7+65=72 Exploring Operation: 85-7=78, Resulting Numbers: [65, 78] Generated Node #0,2,2: 89:[65, 78] Operation: 85-7=78 Exploring Operation: 7+85=92, Resulting Numbers: [65, 92] Generated Node #0,2,3: 89:[65, 92] Operation: 7+85=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[85, 72], Operations: ['5*13=65', '7+65=72'] Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 85*72=6120, Resulting Numbers: [6120] 6120,89 unequal: No Solution Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[65, 92], Operations: ['5*13=65', '7+85=92'] Exploring Operation: 65+92=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 65*92=5980, Resulting Numbers: [5980] 5980,89 unequal: No Solution Exploring Operation: 92-65=27, Resulting Numbers: [27] 27,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[85, 58], Operations: ['5*13=65', '65-7=58'] Exploring Operation: 85*58=4930, Resulting Numbers: [4930] 4930,89 unequal: No Solution Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 85+58=143, Resulting Numbers: [143] 143,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[65, 78], Operations: ['5*13=65', '85-7=78'] Exploring Operation: 65*78=5070, Resulting Numbers: [5070] 5070,89 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 65+78=143, Resulting Numbers: [143] 143,89 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: 89:[13, 85, 35], Operations: ['7*5=35'] Exploring Operation: 13+85=98, Resulting Numbers: [35, 98] Generated Node #0,1,0: 89:[35, 98] Operation: 13+85=98 Exploring Operation: 85-13=72, Resulting Numbers: [35, 72] Generated Node #0,1,1: 89:[35, 72] Operation: 85-13=72 Exploring Operation: 35-13=22, Resulting Numbers: [85, 22] Generated Node #0,1,2: 89:[85, 22] Operation: 35-13=22 Exploring Operation: 13+35=48, Resulting Numbers: [85, 48] Generated Node #0,1,3: 89:[85, 48] Operation: 13+35=48 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[85, 48], Operations: ['7*5=35', '13+35=48'] Exploring Operation: 85+48=133, Resulting Numbers: [133] 133,89 unequal: No Solution Exploring Operation: 85*48=4080, Resulting Numbers: [4080] 4080,89 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[35, 98], Operations: ['7*5=35', '13+85=98'] Exploring Operation: 35*98=3430, Resulting Numbers: [3430] 3430,89 unequal: No Solution Exploring Operation: 35+98=133, Resulting Numbers: [133] 133,89 unequal: No Solution Exploring Operation: 98-35=63, Resulting Numbers: [63] 63,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[35, 72], Operations: ['7*5=35', '85-13=72'] Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,89 unequal: No Solution Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,89 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[85, 22], Operations: ['7*5=35', '35-13=22'] Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,89 unequal: No Solution Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,89 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,89 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: 89:[13, 85, 12], Operations: ['7+5=12'] Exploring Operation: 13+12=25, Resulting Numbers: [85, 25] Generated Node #0,0,0: 89:[85, 25] Operation: 13+12=25 Exploring Operation: 85+12=97, Resulting Numbers: [13, 97] Generated Node #0,0,1: 89:[13, 97] Operation: 85+12=97 Exploring Operation: 13+85=98, Resulting Numbers: [12, 98] Generated Node #0,0,2: 89:[12, 98] Operation: 13+85=98 Exploring Operation: 13*12=156, Resulting Numbers: [85, 156] Generated Node #0,0,3: 89:[85, 156] Operation: 13*12=156 Moving to Node #0,0,0 Current State: 89:[85, 25], Operations: ['7+5=12', '13+12=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,89 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[85, 156], Operations: ['7+5=12', '13*12=156'] Exploring Operation: 85*156=13260, Resulting Numbers: [13260] 13260,89 unequal: No Solution Exploring Operation: 156-85=71, Resulting Numbers: [71] 71,89 unequal: No Solution Exploring Operation: 85+156=241, Resulting Numbers: [241] 241,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[13, 97], Operations: ['7+5=12', '85+12=97'] Exploring Operation: 13*97=1261, Resulting Numbers: [1261] 1261,89 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,89 unequal: No Solution Exploring Operation: 13+97=110, Resulting Numbers: [110] 110,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[12, 98], Operations: ['7+5=12', '13+85=98'] Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 12*98=1176, Resulting Numbers: [1176] 1176,89 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,89 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 78, 14, 28, 42 ]
81
[ "78*14=1092", "1092/28=39", "42+39=81" ]
Current State: 81:[78, 14, 28, 42], Operations: [] Exploring Operation: 78*14=1092, Resulting Numbers: [28, 42, 1092] Generated Node #2: [28, 42, 1092] from Operation: 78*14=1092 Current State: 81:[28, 42, 1092], Operations: ['78*14=1092'] Exploring Operation: 1092/28=39, Resulting Numbers: [42, 39] Generated Node #3: [42, 39] from Operation: 1092/28=39 Current State: 81:[42, 39], Operations: ['78*14=1092', '1092/28=39'] Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[78, 14, 28, 42], Operations: [] Exploring Operation: 42-14=28, Resulting Numbers: [78, 28, 28] Generated Node #0,0: 81:[78, 28, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [78, 28, 3] Generated Node #0,1: 81:[78, 28, 3] Operation: 42/14=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[78, 28, 3], Operations: ['42/14=3'] Exploring Operation: 78/3=26, Resulting Numbers: [28, 26] Generated Node #0,1,0: 81:[28, 26] Operation: 78/3=26 Exploring Operation: 78+3=81, Resulting Numbers: [28, 81] Generated Node #0,1,1: 81:[28, 81] Operation: 78+3=81 Moving to Node #0,1,1 Current State: 81:[28, 81], Operations: ['42/14=3', '78+3=81'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,81 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[28, 26], Operations: ['42/14=3', '78/3=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,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,0 Current State: 81:[78, 28, 28], Operations: ['42-14=28'] Exploring Operation: 28/28=1, Resulting Numbers: [78, 1] Generated Node #0,0,0: 81:[78, 1] Operation: 28/28=1 Exploring Operation: 28-28=0, Resulting Numbers: [78, 0] Generated Node #0,0,1: 81:[78, 0] Operation: 28-28=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[78, 1], Operations: ['42-14=28', '28/28=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[78, 0], Operations: ['42-14=28', '28-28=0'] Exploring Operation: 78+0=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 78*0=0, Resulting Numbers: [0] 0,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 66, 62, 44, 54 ]
19
[ "66*54=3564", "3564/44=81", "81-62=19" ]
Current State: 19:[66, 62, 44, 54], Operations: [] Exploring Operation: 66*54=3564, Resulting Numbers: [62, 44, 3564] Generated Node #2: [62, 44, 3564] from Operation: 66*54=3564 Current State: 19:[62, 44, 3564], Operations: ['66*54=3564'] Exploring Operation: 3564/44=81, Resulting Numbers: [62, 81] Generated Node #3: [62, 81] from Operation: 3564/44=81 Current State: 19:[62, 81], Operations: ['66*54=3564', '3564/44=81'] Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[66, 62, 44, 54], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [66, 54, 18] Generated Node #0,0: 19:[66, 54, 18] Operation: 62-44=18 Exploring Operation: 66-62=4, Resulting Numbers: [44, 54, 4] Generated Node #0,1: 19:[44, 54, 4] Operation: 66-62=4 Exploring Operation: 66-44=22, Resulting Numbers: [62, 54, 22] Generated Node #0,2: 19:[62, 54, 22] Operation: 66-44=22 Exploring Operation: 66-54=12, Resulting Numbers: [62, 44, 12] Generated Node #0,3: 19:[62, 44, 12] Operation: 66-54=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[44, 54, 4], Operations: ['66-62=4'] Exploring Operation: 54-4=50, Resulting Numbers: [44, 50] Generated Node #0,1,0: 19:[44, 50] Operation: 54-4=50 Exploring Operation: 44-4=40, Resulting Numbers: [54, 40] Generated Node #0,1,1: 19:[54, 40] Operation: 44-4=40 Exploring Operation: 54-44=10, Resulting Numbers: [4, 10] Generated Node #0,1,2: 19:[4, 10] Operation: 54-44=10 Exploring Operation: 44/4=11, Resulting Numbers: [54, 11] Generated Node #0,1,3: 19:[54, 11] Operation: 44/4=11 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[4, 10], Operations: ['66-62=4', '54-44=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[54, 11], Operations: ['66-62=4', '44/4=11'] Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,19 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 54*11=594, Resulting Numbers: [594] 594,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[44, 50], Operations: ['66-62=4', '54-4=50'] Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,19 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[54, 40], Operations: ['66-62=4', '44-4=40'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[62, 44, 12], Operations: ['66-54=12'] Exploring Operation: 62+12=74, Resulting Numbers: [44, 74] Generated Node #0,3,0: 19:[44, 74] Operation: 62+12=74 Exploring Operation: 62-12=50, Resulting Numbers: [44, 50] Generated Node #0,3,1: 19:[44, 50] Operation: 62-12=50 Exploring Operation: 44-12=32, Resulting Numbers: [62, 32] Generated Node #0,3,2: 19:[62, 32] Operation: 44-12=32 Exploring Operation: 62-44=18, Resulting Numbers: [12, 18] Generated Node #0,3,3: 19:[12, 18] Operation: 62-44=18 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 19:[12, 18], Operations: ['66-54=12', '62-44=18'] Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,19 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 19:[44, 50], Operations: ['66-54=12', '62-12=50'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,19 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[62, 32], Operations: ['66-54=12', '44-12=32'] Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,19 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[44, 74], Operations: ['66-54=12', '62+12=74'] Exploring Operation: 44+74=118, Resulting Numbers: [118] 118,19 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 44*74=3256, Resulting Numbers: [3256] 3256,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[62, 54, 22], Operations: ['66-44=22'] Exploring Operation: 62-22=40, Resulting Numbers: [54, 40] Generated Node #0,2,0: 19:[54, 40] Operation: 62-22=40 Exploring Operation: 54-22=32, Resulting Numbers: [62, 32] Generated Node #0,2,1: 19:[62, 32] Operation: 54-22=32 Exploring Operation: 62-54=8, Resulting Numbers: [22, 8] Generated Node #0,2,2: 19:[22, 8] Operation: 62-54=8 Exploring Operation: 62+54=116, Resulting Numbers: [22, 116] Generated Node #0,2,3: 19:[22, 116] Operation: 62+54=116 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[22, 8], Operations: ['66-44=22', '62-54=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,19 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[54, 40], Operations: ['66-44=22', '62-22=40'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[62, 32], Operations: ['66-44=22', '54-22=32'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[22, 116], Operations: ['66-44=22', '62+54=116'] Exploring Operation: 116-22=94, Resulting Numbers: [94] 94,19 unequal: No Solution Exploring Operation: 22+116=138, Resulting Numbers: [138] 138,19 unequal: No Solution Exploring Operation: 22*116=2552, Resulting Numbers: [2552] 2552,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[66, 54, 18], Operations: ['62-44=18'] Exploring Operation: 54-18=36, Resulting Numbers: [66, 36] Generated Node #0,0,0: 19:[66, 36] Operation: 54-18=36 Exploring Operation: 66-54=12, Resulting Numbers: [18, 12] Generated Node #0,0,1: 19:[18, 12] Operation: 66-54=12 Exploring Operation: 66-18=48, Resulting Numbers: [54, 48] Generated Node #0,0,2: 19:[54, 48] Operation: 66-18=48 Exploring Operation: 54/18=3, Resulting Numbers: [66, 3] Generated Node #0,0,3: 19:[66, 3] Operation: 54/18=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[18, 12], Operations: ['62-44=18', '66-54=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,19 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[66, 3], Operations: ['62-44=18', '54/18=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,19 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[66, 36], Operations: ['62-44=18', '54-18=36'] Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,19 unequal: No Solution Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,19 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[54, 48], Operations: ['62-44=18', '66-18=48'] Exploring Operation: 54*48=2592, Resulting Numbers: [2592] 2592,19 unequal: No Solution Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 54+48=102, Resulting Numbers: [102] 102,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 91, 54, 15, 53 ]
52
[ "91+15=106", "106/53=2", "54-2=52" ]
Current State: 52:[91, 54, 15, 53], Operations: [] Exploring Operation: 91+15=106, Resulting Numbers: [54, 53, 106] Generated Node #2: [54, 53, 106] from Operation: 91+15=106 Current State: 52:[54, 53, 106], Operations: ['91+15=106'] Exploring Operation: 106/53=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 106/53=2 Current State: 52:[54, 2], Operations: ['91+15=106', '106/53=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[91, 54, 15, 53], Operations: [] Exploring Operation: 91-54=37, Resulting Numbers: [15, 53, 37] Generated Node #0,0: 52:[15, 53, 37] Operation: 91-54=37 Moving to Node #0,0 Current State: 52:[15, 53, 37], Operations: ['91-54=37'] Exploring Operation: 15+37=52, Resulting Numbers: [53, 52] Generated Node #0,0,0: 52:[53, 52] Operation: 15+37=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[53, 52], Operations: ['91-54=37', '15+37=52'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 35, 59, 21 ]
72
[ "21-18=3", "59-35=24", "3*24=72" ]
Current State: 72:[18, 35, 59, 21], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [35, 59, 3] Generated Node #2: [35, 59, 3] from Operation: 21-18=3 Current State: 72:[35, 59, 3], Operations: ['21-18=3'] Exploring Operation: 59-35=24, Resulting Numbers: [3, 24] Generated Node #3: [3, 24] from Operation: 59-35=24 Current State: 72:[3, 24], Operations: ['21-18=3', '59-35=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[18, 35, 59, 21], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [18, 21, 24] Generated Node #0,0: 72:[18, 21, 24] Operation: 59-35=24 Exploring Operation: 59-21=38, Resulting Numbers: [18, 35, 38] Generated Node #0,1: 72:[18, 35, 38] Operation: 59-21=38 Exploring Operation: 18+59=77, Resulting Numbers: [35, 21, 77] Generated Node #0,2: 72:[35, 21, 77] Operation: 18+59=77 Moving to Node #0,0 Current State: 72:[18, 21, 24], Operations: ['59-35=24'] Exploring Operation: 21-18=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 72:[24, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [24, 39] Generated Node #0,0,1: 72:[24, 39] Operation: 18+21=39 Exploring Operation: 24-21=3, Resulting Numbers: [18, 3] Generated Node #0,0,2: 72:[18, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[24, 3], Operations: ['59-35=24', '21-18=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[18, 35, 59, 21], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [18, 21, 24] Generated Node #0,0: 72:[18, 21, 24] Operation: 59-35=24 Moving to Node #0,0 Current State: 72:[18, 21, 24], Operations: ['59-35=24'] Exploring Operation: 21-18=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 72:[24, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 72:[24, 3], Operations: ['59-35=24', '21-18=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 72, 84, 52, 84 ]
28
[ "72+84=156", "52*84=4368", "4368/156=28" ]
Current State: 28:[72, 84, 52, 84], Operations: [] Exploring Operation: 72+84=156, Resulting Numbers: [52, 156] Generated Node #2: [52, 156] from Operation: 72+84=156 Current State: 28:[52, 156], Operations: ['72+84=156'] Exploring Operation: 52*84=4368, Resulting Numbers: [156, 4368] Generated Node #3: [156, 4368] from Operation: 52*84=4368 Current State: 28:[156, 4368], Operations: ['72+84=156', '52*84=4368'] Exploring Operation: 4368/156=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[72, 84, 52, 84], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [84, 52, 12] Generated Node #0,0: 28:[84, 52, 12] Operation: 84-72=12 Exploring Operation: 84-84=0, Resulting Numbers: [72, 52, 0] Generated Node #0,1: 28:[72, 52, 0] Operation: 84-84=0 Exploring Operation: 84-72=12, Resulting Numbers: [52, 84, 12] Generated Node #0,2: 28:[52, 84, 12] Operation: 84-72=12 Exploring Operation: 84-52=32, Resulting Numbers: [72, 84, 32] Generated Node #0,3: 28:[72, 84, 32] Operation: 84-52=32 Exploring Operation: 84/84=1, Resulting Numbers: [72, 52, 1] Generated Node #0,4: 28:[72, 52, 1] Operation: 84/84=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[72, 52, 1], Operations: ['84/84=1'] Exploring Operation: 72/1=72, Resulting Numbers: [52, 72] Generated Node #0,4,0: 28:[52, 72] Operation: 72/1=72 Exploring Operation: 72-52=20, Resulting Numbers: [1, 20] Generated Node #0,4,1: 28:[1, 20] Operation: 72-52=20 Exploring Operation: 72*1=72, Resulting Numbers: [52, 72] Generated Node #0,4,2: 28:[52, 72] Operation: 72*1=72 Exploring Operation: 72-1=71, Resulting Numbers: [52, 71] Generated Node #0,4,3: 28:[52, 71] Operation: 72-1=71 Exploring Operation: 52-1=51, Resulting Numbers: [72, 51] Generated Node #0,4,4: 28:[72, 51] Operation: 52-1=51 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 28:[1, 20], Operations: ['84/84=1', '72-52=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[52, 71], Operations: ['84/84=1', '72-1=71'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 52+71=123, Resulting Numbers: [123] 123,28 unequal: No Solution Exploring Operation: 52*71=3692, Resulting Numbers: [3692] 3692,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 28:[72, 51], Operations: ['84/84=1', '52-1=51'] Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,28 unequal: No Solution Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,28 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 28:[52, 72], Operations: ['84/84=1', '72/1=72'] Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,28 unequal: No Solution Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,28 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 28:[52, 72], Operations: ['84/84=1', '72*1=72'] Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,28 unequal: No Solution Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[72, 52, 0], Operations: ['84-84=0'] Exploring Operation: 72-52=20, Resulting Numbers: [0, 20] Generated Node #0,1,0: 28:[0, 20] Operation: 72-52=20 Exploring Operation: 72*0=0, Resulting Numbers: [52, 0] Generated Node #0,1,1: 28:[52, 0] Operation: 72*0=0 Exploring Operation: 52*0=0, Resulting Numbers: [72, 0] Generated Node #0,1,2: 28:[72, 0] Operation: 52*0=0 Exploring Operation: 72-0=72, Resulting Numbers: [52, 72] Generated Node #0,1,3: 28:[52, 72] Operation: 72-0=72 Exploring Operation: 72+0=72, Resulting Numbers: [52, 72] Generated Node #0,1,4: 28:[52, 72] Operation: 72+0=72 Moving to Node #0,1,0 Current State: 28:[0, 20], Operations: ['84-84=0', '72-52=20'] Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 0*20=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 0+20=20, Resulting Numbers: [20] 20,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[52, 0], Operations: ['84-84=0', '72*0=0'] Exploring Operation: 52*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 52+0=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 52-0=52, Resulting Numbers: [52] 52,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[72, 0], Operations: ['84-84=0', '52*0=0'] Exploring Operation: 72*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 72+0=72, Resulting Numbers: [72] 72,28 unequal: No Solution Exploring Operation: 72-0=72, Resulting Numbers: [72] 72,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[52, 72], Operations: ['84-84=0', '72-0=72'] Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,28 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,28 unequal: No Solution Moving to Node #0,1,4 Current State: 28:[52, 72], Operations: ['84-84=0', '72+0=72'] Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,28 unequal: No Solution Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[84, 52, 12], Operations: ['84-72=12'] Exploring Operation: 84-52=32, Resulting Numbers: [12, 32] Generated Node #0,0,0: 28:[12, 32] Operation: 84-52=32 Exploring Operation: 84+12=96, Resulting Numbers: [52, 96] Generated Node #0,0,1: 28:[52, 96] Operation: 84+12=96 Exploring Operation: 84-12=72, Resulting Numbers: [52, 72] Generated Node #0,0,2: 28:[52, 72] Operation: 84-12=72 Exploring Operation: 84/12=7, Resulting Numbers: [52, 7] Generated Node #0,0,3: 28:[52, 7] Operation: 84/12=7 Exploring Operation: 52-12=40, Resulting Numbers: [84, 40] Generated Node #0,0,4: 28:[84, 40] Operation: 52-12=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[12, 32], Operations: ['84-72=12', '84-52=32'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[52, 7], Operations: ['84-72=12', '84/12=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[52, 72], Operations: ['84-72=12', '84-12=72'] Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,28 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[84, 40], Operations: ['84-72=12', '52-12=40'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,28 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[52, 96], Operations: ['84-72=12', '84+12=96'] Exploring Operation: 52+96=148, Resulting Numbers: [148] 148,28 unequal: No Solution Exploring Operation: 52*96=4992, Resulting Numbers: [4992] 4992,28 unequal: No Solution Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[52, 84, 12], Operations: ['84-72=12'] Exploring Operation: 84-52=32, Resulting Numbers: [12, 32] Generated Node #0,2,0: 28:[12, 32] Operation: 84-52=32 Exploring Operation: 52-12=40, Resulting Numbers: [84, 40] Generated Node #0,2,1: 28:[84, 40] Operation: 52-12=40 Exploring Operation: 84-12=72, Resulting Numbers: [52, 72] Generated Node #0,2,2: 28:[52, 72] Operation: 84-12=72 Exploring Operation: 52+12=64, Resulting Numbers: [84, 64] Generated Node #0,2,3: 28:[84, 64] Operation: 52+12=64 Exploring Operation: 84/12=7, Resulting Numbers: [52, 7] Generated Node #0,2,4: 28:[52, 7] Operation: 84/12=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[12, 32], Operations: ['84-72=12', '84-52=32'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,28 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 28:[52, 7], Operations: ['84-72=12', '84/12=7'] Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,28 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[84, 40], Operations: ['84-72=12', '52-12=40'] Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,28 unequal: No Solution Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,28 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[52, 72], Operations: ['84-72=12', '84-12=72'] Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,28 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[84, 64], Operations: ['84-72=12', '52+12=64'] Exploring Operation: 84*64=5376, Resulting Numbers: [5376] 5376,28 unequal: No Solution Exploring Operation: 84+64=148, Resulting Numbers: [148] 148,28 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[72, 84, 32], Operations: ['84-52=32'] Exploring Operation: 72-32=40, Resulting Numbers: [84, 40] Generated Node #0,3,0: 28:[84, 40] Operation: 72-32=40 Exploring Operation: 72+32=104, Resulting Numbers: [84, 104] Generated Node #0,3,1: 28:[84, 104] Operation: 72+32=104 Exploring Operation: 84-72=12, Resulting Numbers: [32, 12] Generated Node #0,3,2: 28:[32, 12] Operation: 84-72=12 Exploring Operation: 72+84=156, Resulting Numbers: [32, 156] Generated Node #0,3,3: 28:[32, 156] Operation: 72+84=156 Exploring Operation: 84-32=52, Resulting Numbers: [72, 52] Generated Node #0,3,4: 28:[72, 52] Operation: 84-32=52 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[32, 12], Operations: ['84-52=32', '84-72=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,28 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[84, 40], Operations: ['84-52=32', '72-32=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,28 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 28:[72, 52], Operations: ['84-52=32', '84-32=52'] Exploring Operation: 72*52=3744, Resulting Numbers: [3744] 3744,28 unequal: No Solution Exploring Operation: 72+52=124, Resulting Numbers: [124] 124,28 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[84, 104], Operations: ['84-52=32', '72+32=104'] Exploring Operation: 84+104=188, Resulting Numbers: [188] 188,28 unequal: No Solution Exploring Operation: 84*104=8736, Resulting Numbers: [8736] 8736,28 unequal: No Solution Exploring Operation: 104-84=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[32, 156], Operations: ['84-52=32', '72+84=156'] Exploring Operation: 156-32=124, Resulting Numbers: [124] 124,28 unequal: No Solution Exploring Operation: 32+156=188, Resulting Numbers: [188] 188,28 unequal: No Solution Exploring Operation: 32*156=4992, Resulting Numbers: [4992] 4992,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 97, 4, 92, 57 ]
68
[ "97-57=40", "4*40=160", "160-92=68" ]
Current State: 68:[97, 4, 92, 57], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [4, 92, 40] Generated Node #2: [4, 92, 40] from Operation: 97-57=40 Current State: 68:[4, 92, 40], Operations: ['97-57=40'] Exploring Operation: 4*40=160, Resulting Numbers: [92, 160] Generated Node #3: [92, 160] from Operation: 4*40=160 Current State: 68:[92, 160], Operations: ['97-57=40', '4*40=160'] Exploring Operation: 160-92=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[97, 4, 92, 57], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [4, 92, 40] Generated Node #0,0: 68:[4, 92, 40] Operation: 97-57=40 Exploring Operation: 97-92=5, Resulting Numbers: [4, 57, 5] Generated Node #0,1: 68:[4, 57, 5] Operation: 97-92=5 Moving to Node #0,1 Current State: 68:[4, 57, 5], Operations: ['97-92=5'] Exploring Operation: 4+57=61, Resulting Numbers: [5, 61] Generated Node #0,1,0: 68:[5, 61] Operation: 4+57=61 Exploring Operation: 57+5=62, Resulting Numbers: [4, 62] Generated Node #0,1,1: 68:[4, 62] Operation: 57+5=62 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[4, 62], Operations: ['97-92=5', '57+5=62'] Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,68 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[5, 61], Operations: ['97-92=5', '4+57=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[4, 92, 40], Operations: ['97-57=40'] Exploring Operation: 92/4=23, Resulting Numbers: [40, 23] Generated Node #0,0,0: 68:[40, 23] Operation: 92/4=23 Exploring Operation: 92-40=52, Resulting Numbers: [4, 52] Generated Node #0,0,1: 68:[4, 52] Operation: 92-40=52 Moving to Node #0,0,0 Current State: 68:[40, 23], Operations: ['97-57=40', '92/4=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[4, 52], Operations: ['97-57=40', '92-40=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,68 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 77, 60, 6, 18 ]
80
[ "60-6=54", "54/18=3", "77+3=80" ]
Current State: 80:[77, 60, 6, 18], Operations: [] Exploring Operation: 60-6=54, Resulting Numbers: [77, 18, 54] Generated Node #2: [77, 18, 54] from Operation: 60-6=54 Current State: 80:[77, 18, 54], Operations: ['60-6=54'] Exploring Operation: 54/18=3, Resulting Numbers: [77, 3] Generated Node #3: [77, 3] from Operation: 54/18=3 Current State: 80:[77, 3], Operations: ['60-6=54', '54/18=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[77, 60, 6, 18], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [77, 6, 42] Generated Node #0,0: 80:[77, 6, 42] Operation: 60-18=42 Exploring Operation: 60/6=10, Resulting Numbers: [77, 18, 10] Generated Node #0,1: 80:[77, 18, 10] Operation: 60/6=10 Exploring Operation: 77-60=17, Resulting Numbers: [6, 18, 17] Generated Node #0,2: 80:[6, 18, 17] Operation: 77-60=17 Exploring Operation: 60+18=78, Resulting Numbers: [77, 6, 78] Generated Node #0,3: 80:[77, 6, 78] Operation: 60+18=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[6, 18, 17], Operations: ['77-60=17'] Exploring Operation: 18/6=3, Resulting Numbers: [17, 3] Generated Node #0,2,0: 80:[17, 3] Operation: 18/6=3 Exploring Operation: 18-17=1, Resulting Numbers: [6, 1] Generated Node #0,2,1: 80:[6, 1] Operation: 18-17=1 Exploring Operation: 17-6=11, Resulting Numbers: [18, 11] Generated Node #0,2,2: 80:[18, 11] Operation: 17-6=11 Exploring Operation: 18-6=12, Resulting Numbers: [17, 12] Generated Node #0,2,3: 80:[17, 12] Operation: 18-6=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[17, 3], Operations: ['77-60=17', '18/6=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[6, 1], Operations: ['77-60=17', '18-17=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[18, 11], Operations: ['77-60=17', '17-6=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[17, 12], Operations: ['77-60=17', '18-6=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,80 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,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:[77, 18, 10], Operations: ['60/6=10'] Exploring Operation: 18+10=28, Resulting Numbers: [77, 28] Generated Node #0,1,0: 80:[77, 28] Operation: 18+10=28 Exploring Operation: 77+10=87, Resulting Numbers: [18, 87] Generated Node #0,1,1: 80:[18, 87] Operation: 77+10=87 Exploring Operation: 18-10=8, Resulting Numbers: [77, 8] Generated Node #0,1,2: 80:[77, 8] Operation: 18-10=8 Exploring Operation: 77+18=95, Resulting Numbers: [10, 95] Generated Node #0,1,3: 80:[10, 95] Operation: 77+18=95 Moving to Node #0,1,2 Current State: 80:[77, 8], Operations: ['60/6=10', '18-10=8'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[18, 87], Operations: ['60/6=10', '77+10=87'] Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,80 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[77, 28], Operations: ['60/6=10', '18+10=28'] Exploring Operation: 77*28=2156, Resulting Numbers: [2156] 2156,80 unequal: No Solution Exploring Operation: 77+28=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[10, 95], Operations: ['60/6=10', '77+18=95'] Exploring Operation: 10*95=950, Resulting Numbers: [950] 950,80 unequal: No Solution Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 10+95=105, Resulting Numbers: [105] 105,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[77, 6, 42], Operations: ['60-18=42'] Exploring Operation: 77-42=35, Resulting Numbers: [6, 35] Generated Node #0,0,0: 80:[6, 35] Operation: 77-42=35 Exploring Operation: 42-6=36, Resulting Numbers: [77, 36] Generated Node #0,0,1: 80:[77, 36] Operation: 42-6=36 Exploring Operation: 77+6=83, Resulting Numbers: [42, 83] Generated Node #0,0,2: 80:[42, 83] Operation: 77+6=83 Exploring Operation: 42/6=7, Resulting Numbers: [77, 7] Generated Node #0,0,3: 80:[77, 7] Operation: 42/6=7 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[77, 7], Operations: ['60-18=42', '42/6=7'] Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,80 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[42, 83], Operations: ['60-18=42', '77+6=83'] Exploring Operation: 42+83=125, Resulting Numbers: [125] 125,80 unequal: No Solution Exploring Operation: 42*83=3486, Resulting Numbers: [3486] 3486,80 unequal: No Solution Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,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:[6, 35], Operations: ['60-18=42', '77-42=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,80 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,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:[77, 36], Operations: ['60-18=42', '42-6=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,80 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[77, 6, 78], Operations: ['60+18=78'] Exploring Operation: 78-77=1, Resulting Numbers: [6, 1] Generated Node #0,3,0: 80:[6, 1] Operation: 78-77=1 Exploring Operation: 6+78=84, Resulting Numbers: [77, 84] Generated Node #0,3,1: 80:[77, 84] Operation: 6+78=84 Exploring Operation: 78/6=13, Resulting Numbers: [77, 13] Generated Node #0,3,2: 80:[77, 13] Operation: 78/6=13 Exploring Operation: 77+6=83, Resulting Numbers: [78, 83] Generated Node #0,3,3: 80:[78, 83] Operation: 77+6=83 Moving to Node #0,3,0 Current State: 80:[6, 1], Operations: ['60+18=78', '78-77=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[78, 83], Operations: ['60+18=78', '77+6=83'] Exploring Operation: 78+83=161, Resulting Numbers: [161] 161,80 unequal: No Solution Exploring Operation: 78*83=6474, Resulting Numbers: [6474] 6474,80 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[77, 13], Operations: ['60+18=78', '78/6=13'] Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,80 unequal: No Solution Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[77, 84], Operations: ['60+18=78', '6+78=84'] Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 77+84=161, Resulting Numbers: [161] 161,80 unequal: No Solution Exploring Operation: 77*84=6468, Resulting Numbers: [6468] 6468,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 11, 64, 22, 21 ]
75
[ "11+64=75", "22-21=1", "75*1=75" ]
Current State: 75:[11, 64, 22, 21], Operations: [] Exploring Operation: 11+64=75, Resulting Numbers: [22, 21, 75] Generated Node #2: [22, 21, 75] from Operation: 11+64=75 Current State: 75:[22, 21, 75], Operations: ['11+64=75'] Exploring Operation: 22-21=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 22-21=1 Current State: 75:[75, 1], Operations: ['11+64=75', '22-21=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[11, 64, 22, 21], Operations: [] Exploring Operation: 64+21=85, Resulting Numbers: [11, 22, 85] Generated Node #0,0: 75:[11, 22, 85] Operation: 64+21=85 Exploring Operation: 22-21=1, Resulting Numbers: [11, 64, 1] Generated Node #0,1: 75:[11, 64, 1] Operation: 22-21=1 Exploring Operation: 22-11=11, Resulting Numbers: [64, 21, 11] Generated Node #0,2: 75:[64, 21, 11] Operation: 22-11=11 Exploring Operation: 11+64=75, Resulting Numbers: [22, 21, 75] Generated Node #0,3: 75:[22, 21, 75] Operation: 11+64=75 Exploring Operation: 22/11=2, Resulting Numbers: [64, 21, 2] Generated Node #0,4: 75:[64, 21, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[22, 21, 75], Operations: ['11+64=75'] Exploring Operation: 22+75=97, Resulting Numbers: [21, 97] Generated Node #0,3,0: 75:[21, 97] Operation: 22+75=97 Exploring Operation: 75-21=54, Resulting Numbers: [22, 54] Generated Node #0,3,1: 75:[22, 54] Operation: 75-21=54 Exploring Operation: 22-21=1, Resulting Numbers: [75, 1] Generated Node #0,3,2: 75:[75, 1] Operation: 22-21=1 Exploring Operation: 22+21=43, Resulting Numbers: [75, 43] Generated Node #0,3,3: 75:[75, 43] Operation: 22+21=43 Exploring Operation: 21+75=96, Resulting Numbers: [22, 96] Generated Node #0,3,4: 75:[22, 96] Operation: 21+75=96 Moving to Node #0,3,2 Current State: 75:[75, 1], Operations: ['11+64=75', '22-21=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[11, 64, 22, 21], Operations: [] Exploring Operation: 11+64=75, Resulting Numbers: [22, 21, 75] Generated Node #0,3: 75:[22, 21, 75] Operation: 11+64=75 Moving to Node #0,3 Current State: 75:[22, 21, 75], Operations: ['11+64=75'] Exploring Operation: 22-21=1, Resulting Numbers: [75, 1] Generated Node #0,3,2: 75:[75, 1] Operation: 22-21=1 Moving to Node #0,3,2 Current State: 75:[75, 1], Operations: ['11+64=75', '22-21=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 90, 10, 74, 30 ]
53
[ "90/10=9", "74-30=44", "9+44=53" ]
Current State: 53:[90, 10, 74, 30], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [74, 30, 9] Generated Node #2: [74, 30, 9] from Operation: 90/10=9 Current State: 53:[74, 30, 9], Operations: ['90/10=9'] Exploring Operation: 74-30=44, Resulting Numbers: [9, 44] Generated Node #3: [9, 44] from Operation: 74-30=44 Current State: 53:[9, 44], Operations: ['90/10=9', '74-30=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[90, 10, 74, 30], Operations: [] Exploring Operation: 90-10=80, Resulting Numbers: [74, 30, 80] Generated Node #0,0: 53:[74, 30, 80] Operation: 90-10=80 Exploring Operation: 74-10=64, Resulting Numbers: [90, 30, 64] Generated Node #0,1: 53:[90, 30, 64] Operation: 74-10=64 Exploring Operation: 10+30=40, Resulting Numbers: [90, 74, 40] Generated Node #0,2: 53:[90, 74, 40] Operation: 10+30=40 Exploring Operation: 90/10=9, Resulting Numbers: [74, 30, 9] Generated Node #0,3: 53:[74, 30, 9] Operation: 90/10=9 Exploring Operation: 90-30=60, Resulting Numbers: [10, 74, 60] Generated Node #0,4: 53:[10, 74, 60] Operation: 90-30=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[74, 30, 80], Operations: ['90-10=80'] Exploring Operation: 74-30=44, Resulting Numbers: [80, 44] Generated Node #0,0,0: 53:[80, 44] Operation: 74-30=44 Exploring Operation: 80-74=6, Resulting Numbers: [30, 6] Generated Node #0,0,1: 53:[30, 6] Operation: 80-74=6 Exploring Operation: 80-30=50, Resulting Numbers: [74, 50] Generated Node #0,0,2: 53:[74, 50] Operation: 80-30=50 Exploring Operation: 30+80=110, Resulting Numbers: [74, 110] Generated Node #0,0,3: 53:[74, 110] Operation: 30+80=110 Exploring Operation: 74+30=104, Resulting Numbers: [80, 104] Generated Node #0,0,4: 53:[80, 104] Operation: 74+30=104 Moving to Node #0,0,2 Current State: 53:[74, 50], Operations: ['90-10=80', '80-30=50'] Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,53 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[80, 44], Operations: ['90-10=80', '74-30=44'] Exploring Operation: 80*44=3520, Resulting Numbers: [3520] 3520,53 unequal: No Solution Exploring Operation: 80+44=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[30, 6], Operations: ['90-10=80', '80-74=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,53 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[74, 110], Operations: ['90-10=80', '30+80=110'] Exploring Operation: 74+110=184, Resulting Numbers: [184] 184,53 unequal: No Solution Exploring Operation: 74*110=8140, Resulting Numbers: [8140] 8140,53 unequal: No Solution Exploring Operation: 110-74=36, Resulting Numbers: [36] 36,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[80, 104], Operations: ['90-10=80', '74+30=104'] Exploring Operation: 80*104=8320, Resulting Numbers: [8320] 8320,53 unequal: No Solution Exploring Operation: 80+104=184, Resulting Numbers: [184] 184,53 unequal: No Solution Exploring Operation: 104-80=24, Resulting Numbers: [24] 24,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[90, 30, 64], Operations: ['74-10=64'] Exploring Operation: 64-30=34, Resulting Numbers: [90, 34] Generated Node #0,1,0: 53:[90, 34] Operation: 64-30=34 Exploring Operation: 90-64=26, Resulting Numbers: [30, 26] Generated Node #0,1,1: 53:[30, 26] Operation: 90-64=26 Exploring Operation: 90-30=60, Resulting Numbers: [64, 60] Generated Node #0,1,2: 53:[64, 60] Operation: 90-30=60 Exploring Operation: 90+30=120, Resulting Numbers: [64, 120] Generated Node #0,1,3: 53:[64, 120] Operation: 90+30=120 Exploring Operation: 90/30=3, Resulting Numbers: [64, 3] Generated Node #0,1,4: 53:[64, 3] Operation: 90/30=3 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[64, 60], Operations: ['74-10=64', '90-30=60'] Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,53 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[30, 26], Operations: ['74-10=64', '90-64=26'] Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,53 unequal: No Solution Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,53 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[90, 34], Operations: ['74-10=64', '64-30=34'] Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,53 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 53:[64, 3], Operations: ['74-10=64', '90/30=3'] Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,53 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 53:[64, 120], Operations: ['74-10=64', '90+30=120'] Exploring Operation: 64+120=184, Resulting Numbers: [184] 184,53 unequal: No Solution Exploring Operation: 64*120=7680, Resulting Numbers: [7680] 7680,53 unequal: No Solution Exploring Operation: 120-64=56, Resulting Numbers: [56] 56,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[90, 74, 40], Operations: ['10+30=40'] Exploring Operation: 90-74=16, Resulting Numbers: [40, 16] Generated Node #0,2,0: 53:[40, 16] Operation: 90-74=16 Exploring Operation: 74+40=114, Resulting Numbers: [90, 114] Generated Node #0,2,1: 53:[90, 114] Operation: 74+40=114 Exploring Operation: 74-40=34, Resulting Numbers: [90, 34] Generated Node #0,2,2: 53:[90, 34] Operation: 74-40=34 Exploring Operation: 90+40=130, Resulting Numbers: [74, 130] Generated Node #0,2,3: 53:[74, 130] Operation: 90+40=130 Exploring Operation: 90-40=50, Resulting Numbers: [74, 50] Generated Node #0,2,4: 53:[74, 50] Operation: 90-40=50 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 53:[74, 50], Operations: ['10+30=40', '90-40=50'] Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,53 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[40, 16], Operations: ['10+30=40', '90-74=16'] Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,53 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[90, 34], Operations: ['10+30=40', '74-40=34'] Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,53 unequal: No Solution Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,53 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[90, 114], Operations: ['10+30=40', '74+40=114'] Exploring Operation: 114-90=24, Resulting Numbers: [24] 24,53 unequal: No Solution Exploring Operation: 90+114=204, Resulting Numbers: [204] 204,53 unequal: No Solution Exploring Operation: 90*114=10260, Resulting Numbers: [10260] 10260,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[74, 130], Operations: ['10+30=40', '90+40=130'] Exploring Operation: 74+130=204, Resulting Numbers: [204] 204,53 unequal: No Solution Exploring Operation: 130-74=56, Resulting Numbers: [56] 56,53 unequal: No Solution Exploring Operation: 74*130=9620, Resulting Numbers: [9620] 9620,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 53:[10, 74, 60], Operations: ['90-30=60'] Exploring Operation: 60/10=6, Resulting Numbers: [74, 6] Generated Node #0,4,0: 53:[74, 6] Operation: 60/10=6 Exploring Operation: 10+60=70, Resulting Numbers: [74, 70] Generated Node #0,4,1: 53:[74, 70] Operation: 10+60=70 Exploring Operation: 74-10=64, Resulting Numbers: [60, 64] Generated Node #0,4,2: 53:[60, 64] Operation: 74-10=64 Exploring Operation: 60-10=50, Resulting Numbers: [74, 50] Generated Node #0,4,3: 53:[74, 50] Operation: 60-10=50 Exploring Operation: 10+74=84, Resulting Numbers: [60, 84] Generated Node #0,4,4: 53:[60, 84] Operation: 10+74=84 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 53:[60, 64], Operations: ['90-30=60', '74-10=64'] Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,53 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 53:[74, 50], Operations: ['90-30=60', '60-10=50'] Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,53 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 53:[74, 70], Operations: ['90-30=60', '10+60=70'] Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 53:[60, 84], Operations: ['90-30=60', '10+74=84'] Exploring Operation: 60*84=5040, Resulting Numbers: [5040] 5040,53 unequal: No Solution Exploring Operation: 60+84=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 53:[74, 6], Operations: ['90-30=60', '60/10=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,53 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[74, 30, 9], Operations: ['90/10=9'] Exploring Operation: 30-9=21, Resulting Numbers: [74, 21] Generated Node #0,3,0: 53:[74, 21] Operation: 30-9=21 Exploring Operation: 74+9=83, Resulting Numbers: [30, 83] Generated Node #0,3,1: 53:[30, 83] Operation: 74+9=83 Exploring Operation: 30+9=39, Resulting Numbers: [74, 39] Generated Node #0,3,2: 53:[74, 39] Operation: 30+9=39 Exploring Operation: 74-9=65, Resulting Numbers: [30, 65] Generated Node #0,3,3: 53:[30, 65] Operation: 74-9=65 Exploring Operation: 74-30=44, Resulting Numbers: [9, 44] Generated Node #0,3,4: 53:[9, 44] Operation: 74-30=44 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[74, 39], Operations: ['90/10=9', '30+9=39'] Exploring Operation: 74*39=2886, Resulting Numbers: [2886] 2886,53 unequal: No Solution Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 53:[30, 65], Operations: ['90/10=9', '74-9=65'] Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,53 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[74, 21], Operations: ['90/10=9', '30-9=21'] Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,53 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,53 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[90, 10, 74, 30], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [74, 30, 9] Generated Node #0,3: 53:[74, 30, 9] Operation: 90/10=9 Moving to Node #0,3 Current State: 53:[74, 30, 9], Operations: ['90/10=9'] Exploring Operation: 30-9=21, Resulting Numbers: [74, 21] Generated Node #0,3,0: 53:[74, 21] Operation: 30-9=21 Moving to Node #0,3,0 Current State: 53:[74, 21], Operations: ['90/10=9', '30-9=21'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.909722
hs_5
mult_heuristic
[ 64, 78, 88, 8 ]
94
[ "78-64=14", "88-8=80", "14+80=94" ]
Current State: 94:[64, 78, 88, 8], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [88, 8, 14] Generated Node #2: [88, 8, 14] from Operation: 78-64=14 Current State: 94:[88, 8, 14], Operations: ['78-64=14'] Exploring Operation: 88-8=80, Resulting Numbers: [14, 80] Generated Node #3: [14, 80] from Operation: 88-8=80 Current State: 94:[14, 80], Operations: ['78-64=14', '88-8=80'] Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[64, 78, 88, 8], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [88, 8, 14] Generated Node #0,0: 94:[88, 8, 14] Operation: 78-64=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[88, 8, 14], Operations: ['78-64=14'] Exploring Operation: 14-8=6, Resulting Numbers: [88, 6] Generated Node #0,0,0: 94:[88, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 94:[88, 6], Operations: ['78-64=14', '14-8=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[64, 78, 88, 8], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [88, 8, 14] Generated Node #0,0: 94:[88, 8, 14] Operation: 78-64=14 Moving to Node #0,0 Current State: 94:[88, 8, 14], Operations: ['78-64=14'] Exploring Operation: 14-8=6, Resulting Numbers: [88, 6] Generated Node #0,0,0: 94:[88, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 94:[88, 6], Operations: ['78-64=14', '14-8=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 78, 88, 29, 56 ]
95
[ "88-78=10", "29+56=85", "10+85=95" ]
Current State: 95:[78, 88, 29, 56], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [29, 56, 10] Generated Node #2: [29, 56, 10] from Operation: 88-78=10 Current State: 95:[29, 56, 10], Operations: ['88-78=10'] Exploring Operation: 29+56=85, Resulting Numbers: [10, 85] Generated Node #3: [10, 85] from Operation: 29+56=85 Current State: 95:[10, 85], Operations: ['88-78=10', '29+56=85'] Exploring Operation: 10+85=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[78, 88, 29, 56], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [29, 56, 10] Generated Node #0,0: 95:[29, 56, 10] Operation: 88-78=10 Exploring Operation: 29+56=85, Resulting Numbers: [78, 88, 85] Generated Node #0,1: 95:[78, 88, 85] Operation: 29+56=85 Exploring Operation: 78-56=22, Resulting Numbers: [88, 29, 22] Generated Node #0,2: 95:[88, 29, 22] Operation: 78-56=22 Exploring Operation: 56-29=27, Resulting Numbers: [78, 88, 27] Generated Node #0,3: 95:[78, 88, 27] Operation: 56-29=27 Exploring Operation: 88-56=32, Resulting Numbers: [78, 29, 32] Generated Node #0,4: 95:[78, 29, 32] Operation: 88-56=32 Moving to Node #0,2 Current State: 95:[88, 29, 22], Operations: ['78-56=22'] Exploring Operation: 88/22=4, Resulting Numbers: [29, 4] Generated Node #0,2,0: 95:[29, 4] Operation: 88/22=4 Exploring Operation: 88+29=117, Resulting Numbers: [22, 117] Generated Node #0,2,1: 95:[22, 117] Operation: 88+29=117 Exploring Operation: 88-29=59, Resulting Numbers: [22, 59] Generated Node #0,2,2: 95:[22, 59] Operation: 88-29=59 Exploring Operation: 29-22=7, Resulting Numbers: [88, 7] Generated Node #0,2,3: 95:[88, 7] Operation: 29-22=7 Exploring Operation: 88+22=110, Resulting Numbers: [29, 110] Generated Node #0,2,4: 95:[29, 110] Operation: 88+22=110 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[88, 7], Operations: ['78-56=22', '29-22=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 88*7=616, Resulting Numbers: [616] 616,95 unequal: No Solution Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[78, 88, 29, 56], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [88, 29, 22] Generated Node #0,2: 95:[88, 29, 22] Operation: 78-56=22 Moving to Node #0,2 Current State: 95:[88, 29, 22], Operations: ['78-56=22'] Exploring Operation: 29-22=7, Resulting Numbers: [88, 7] Generated Node #0,2,3: 95:[88, 7] Operation: 29-22=7 Moving to Node #0,2,3 Current State: 95:[88, 7], Operations: ['78-56=22', '29-22=7'] Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 92, 42, 92, 51 ]
51
[ "92-92=0", "42*0=0", "51+0=51" ]
Current State: 51:[92, 42, 92, 51], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [42, 51, 0] Generated Node #2: [42, 51, 0] from Operation: 92-92=0 Current State: 51:[42, 51, 0], Operations: ['92-92=0'] Exploring Operation: 42*0=0, Resulting Numbers: [51, 0] Generated Node #3: [51, 0] from Operation: 42*0=0 Current State: 51:[51, 0], Operations: ['92-92=0', '42*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[92, 42, 92, 51], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [42, 51, 0] Generated Node #0,0: 51:[42, 51, 0] Operation: 92-92=0 Exploring Operation: 92-42=50, Resulting Numbers: [92, 51, 50] Generated Node #0,1: 51:[92, 51, 50] Operation: 92-42=50 Exploring Operation: 92/92=1, Resulting Numbers: [42, 51, 1] Generated Node #0,2: 51:[42, 51, 1] Operation: 92/92=1 Exploring Operation: 92-42=50, Resulting Numbers: [92, 51, 50] Generated Node #0,3: 51:[92, 51, 50] Operation: 92-42=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[42, 51, 1], Operations: ['92/92=1'] Exploring Operation: 42*1=42, Resulting Numbers: [51, 42] Generated Node #0,2,0: 51:[51, 42] Operation: 42*1=42 Exploring Operation: 42/1=42, Resulting Numbers: [51, 42] Generated Node #0,2,1: 51:[51, 42] Operation: 42/1=42 Exploring Operation: 51-42=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 51:[1, 9] Operation: 51-42=9 Exploring Operation: 42+1=43, Resulting Numbers: [51, 43] Generated Node #0,2,3: 51:[51, 43] Operation: 42+1=43 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[1, 9], Operations: ['92/92=1', '51-42=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,51 unequal: No Solution No 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: 51:[51, 43], Operations: ['92/92=1', '42+1=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 51*43=2193, Resulting Numbers: [2193] 2193,51 unequal: No Solution No 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: 51:[51, 42], Operations: ['92/92=1', '42*1=42'] Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,51 unequal: No Solution Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,51 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,51 unequal: No Solution No 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: 51:[51, 42], Operations: ['92/92=1', '42/1=42'] Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,51 unequal: No Solution Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,51 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: 51:[42, 51, 0], Operations: ['92-92=0'] Exploring Operation: 42*0=0, Resulting Numbers: [51, 0] Generated Node #0,0,0: 51:[51, 0] Operation: 42*0=0 Exploring Operation: 51-42=9, Resulting Numbers: [0, 9] Generated Node #0,0,1: 51:[0, 9] Operation: 51-42=9 Exploring Operation: 42-0=42, Resulting Numbers: [51, 42] Generated Node #0,0,2: 51:[51, 42] Operation: 42-0=42 Exploring Operation: 42+0=42, Resulting Numbers: [51, 42] Generated Node #0,0,3: 51:[51, 42] Operation: 42+0=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[51, 0], Operations: ['92-92=0', '42*0=0'] Exploring Operation: 51*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[92, 42, 92, 51], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [42, 51, 0] Generated Node #0,0: 51:[42, 51, 0] Operation: 92-92=0 Moving to Node #0,0 Current State: 51:[42, 51, 0], Operations: ['92-92=0'] Exploring Operation: 42*0=0, Resulting Numbers: [51, 0] Generated Node #0,0,0: 51:[51, 0] Operation: 42*0=0 Moving to Node #0,0,0 Current State: 51:[51, 0], Operations: ['92-92=0', '42*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 38, 6, 30, 26 ]
60
[ "38-26=12", "30/6=5", "12*5=60" ]
Current State: 60:[38, 6, 30, 26], Operations: [] Exploring Operation: 38-26=12, Resulting Numbers: [6, 30, 12] Generated Node #2: [6, 30, 12] from Operation: 38-26=12 Current State: 60:[6, 30, 12], Operations: ['38-26=12'] Exploring Operation: 30/6=5, Resulting Numbers: [12, 5] Generated Node #3: [12, 5] from Operation: 30/6=5 Current State: 60:[12, 5], Operations: ['38-26=12', '30/6=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[38, 6, 30, 26], Operations: [] Exploring Operation: 38+26=64, Resulting Numbers: [6, 30, 64] Generated Node #0,0: 60:[6, 30, 64] Operation: 38+26=64 Exploring Operation: 38-26=12, Resulting Numbers: [6, 30, 12] Generated Node #0,1: 60:[6, 30, 12] Operation: 38-26=12 Exploring Operation: 38-6=32, Resulting Numbers: [30, 26, 32] Generated Node #0,2: 60:[30, 26, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[6, 30, 12], Operations: ['38-26=12'] Exploring Operation: 12-6=6, Resulting Numbers: [30, 6] Generated Node #0,1,0: 60:[30, 6] Operation: 12-6=6 Exploring Operation: 30/6=5, Resulting Numbers: [12, 5] Generated Node #0,1,1: 60:[12, 5] Operation: 30/6=5 Exploring Operation: 12/6=2, Resulting Numbers: [30, 2] Generated Node #0,1,2: 60:[30, 2] Operation: 12/6=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[30, 6], Operations: ['38-26=12', '12-6=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[12, 5], Operations: ['38-26=12', '30/6=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[38, 6, 30, 26], Operations: [] Exploring Operation: 38-26=12, Resulting Numbers: [6, 30, 12] Generated Node #0,1: 60:[6, 30, 12] Operation: 38-26=12 Moving to Node #0,1 Current State: 60:[6, 30, 12], Operations: ['38-26=12'] Exploring Operation: 30/6=5, Resulting Numbers: [12, 5] Generated Node #0,1,1: 60:[12, 5] Operation: 30/6=5 Moving to Node #0,1,1 Current State: 60:[12, 5], Operations: ['38-26=12', '30/6=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 8, 6, 97, 17 ]
15
[ "6+97=103", "17+103=120", "120/8=15" ]
Current State: 15:[8, 6, 97, 17], Operations: [] Exploring Operation: 6+97=103, Resulting Numbers: [8, 17, 103] Generated Node #2: [8, 17, 103] from Operation: 6+97=103 Current State: 15:[8, 17, 103], Operations: ['6+97=103'] Exploring Operation: 17+103=120, Resulting Numbers: [8, 120] Generated Node #3: [8, 120] from Operation: 17+103=120 Current State: 15:[8, 120], Operations: ['6+97=103', '17+103=120'] Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[8, 6, 97, 17], Operations: [] Exploring Operation: 97-17=80, Resulting Numbers: [8, 6, 80] Generated Node #0,0: 15:[8, 6, 80] Operation: 97-17=80 Exploring Operation: 97-8=89, Resulting Numbers: [6, 17, 89] Generated Node #0,1: 15:[6, 17, 89] Operation: 97-8=89 Exploring Operation: 97-6=91, Resulting Numbers: [8, 17, 91] Generated Node #0,2: 15:[8, 17, 91] Operation: 97-6=91 Exploring Operation: 8+6=14, Resulting Numbers: [97, 17, 14] Generated Node #0,3: 15:[97, 17, 14] Operation: 8+6=14 Moving to Node #0,0 Current State: 15:[8, 6, 80], Operations: ['97-17=80'] Exploring Operation: 80/8=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 15:[6, 10] Operation: 80/8=10 Exploring Operation: 8+6=14, Resulting Numbers: [80, 14] Generated Node #0,0,1: 15:[80, 14] Operation: 8+6=14 Exploring Operation: 80-8=72, Resulting Numbers: [6, 72] Generated Node #0,0,2: 15:[6, 72] Operation: 80-8=72 Exploring Operation: 80-6=74, Resulting Numbers: [8, 74] Generated Node #0,0,3: 15:[8, 74] Operation: 80-6=74 Moving to Node #0,1 Current State: 15:[6, 17, 89], Operations: ['97-8=89'] Exploring Operation: 17-6=11, Resulting Numbers: [89, 11] Generated Node #0,1,0: 15:[89, 11] Operation: 17-6=11 Exploring Operation: 89-6=83, Resulting Numbers: [17, 83] Generated Node #0,1,1: 15:[17, 83] Operation: 89-6=83 Exploring Operation: 6+17=23, Resulting Numbers: [89, 23] Generated Node #0,1,2: 15:[89, 23] Operation: 6+17=23 Exploring Operation: 89-17=72, Resulting Numbers: [6, 72] Generated Node #0,1,3: 15:[6, 72] Operation: 89-17=72 Moving to Node #0,2 Current State: 15:[8, 17, 91], Operations: ['97-6=91'] Exploring Operation: 8+17=25, Resulting Numbers: [91, 25] Generated Node #0,2,0: 15:[91, 25] Operation: 8+17=25 Exploring Operation: 91-8=83, Resulting Numbers: [17, 83] Generated Node #0,2,1: 15:[17, 83] Operation: 91-8=83 Exploring Operation: 91-17=74, Resulting Numbers: [8, 74] Generated Node #0,2,2: 15:[8, 74] Operation: 91-17=74 Exploring Operation: 17-8=9, Resulting Numbers: [91, 9] Generated Node #0,2,3: 15:[91, 9] Operation: 17-8=9 Moving to Node #0,3 Current State: 15:[97, 17, 14], Operations: ['8+6=14'] Exploring Operation: 97+14=111, Resulting Numbers: [17, 111] Generated Node #0,3,0: 15:[17, 111] Operation: 97+14=111 Exploring Operation: 97-17=80, Resulting Numbers: [14, 80] Generated Node #0,3,1: 15:[14, 80] Operation: 97-17=80 Exploring Operation: 97-14=83, Resulting Numbers: [17, 83] Generated Node #0,3,2: 15:[17, 83] Operation: 97-14=83 Exploring Operation: 17-14=3, Resulting Numbers: [97, 3] Generated Node #0,3,3: 15:[97, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[14, 80], Operations: ['8+6=14', '97-17=80'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,15 unequal: No Solution Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[17, 83], Operations: ['8+6=14', '97-14=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[97, 3], Operations: ['8+6=14', '17-14=3'] Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,15 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[17, 111], Operations: ['8+6=14', '97+14=111'] Exploring Operation: 17+111=128, Resulting Numbers: [128] 128,15 unequal: No Solution Exploring Operation: 111-17=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 17*111=1887, Resulting Numbers: [1887] 1887,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 15:[6, 10], Operations: ['97-17=80', '80/8=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[6, 72], Operations: ['97-17=80', '80-8=72'] Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,15 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[6, 72], Operations: ['97-8=89', '89-17=72'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,15 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,15 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[8, 74], Operations: ['97-17=80', '80-6=74'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 8*74=592, Resulting Numbers: [592] 592,15 unequal: No Solution Exploring Operation: 8+74=82, Resulting Numbers: [82] 82,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[8, 74], Operations: ['97-6=91', '91-17=74'] Exploring Operation: 8+74=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 8*74=592, Resulting Numbers: [592] 592,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[80, 14], Operations: ['97-17=80', '8+6=14'] Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,15 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[17, 83], Operations: ['97-8=89', '89-6=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[17, 83], Operations: ['97-6=91', '91-8=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[89, 11], Operations: ['97-8=89', '17-6=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,15 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[91, 9], Operations: ['97-6=91', '17-8=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 91*9=819, Resulting Numbers: [819] 819,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[89, 23], Operations: ['97-8=89', '6+17=23'] Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,15 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[91, 25], Operations: ['97-6=91', '8+17=25'] Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 91+25=116, Resulting Numbers: [116] 116,15 unequal: No Solution Exploring Operation: 91*25=2275, Resulting Numbers: [2275] 2275,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 72, 93, 24, 24 ]
55
[ "72/24=3", "93/3=31", "24+31=55" ]
Current State: 55:[72, 93, 24, 24], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [93, 3] Generated Node #2: [93, 3] from Operation: 72/24=3 Current State: 55:[93, 3], Operations: ['72/24=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,55 equal: Goal Reached Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[72, 93, 24, 24], Operations: [] Exploring Operation: 93-72=21, Resulting Numbers: [24, 24, 21] Generated Node #0,0: 55:[24, 24, 21] Operation: 93-72=21 Exploring Operation: 93-24=69, Resulting Numbers: [72, 24, 69] Generated Node #0,1: 55:[72, 24, 69] Operation: 93-24=69 Exploring Operation: 93-24=69, Resulting Numbers: [72, 24, 69] Generated Node #0,2: 55:[72, 24, 69] Operation: 93-24=69 Exploring Operation: 72/24=3, Resulting Numbers: [93, 24, 3] Generated Node #0,3: 55:[93, 24, 3] Operation: 72/24=3 Moving to Node #0,0 Current State: 55:[24, 24, 21], Operations: ['93-72=21'] Exploring Operation: 24-21=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 55:[24, 3] Operation: 24-21=3 Exploring Operation: 24/24=1, Resulting Numbers: [21, 1] Generated Node #0,0,1: 55:[21, 1] Operation: 24/24=1 Exploring Operation: 24-24=0, Resulting Numbers: [21, 0] Generated Node #0,0,2: 55:[21, 0] Operation: 24-24=0 Exploring Operation: 24-21=3, Resulting Numbers: [24, 3] Generated Node #0,0,3: 55:[24, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[21, 1], Operations: ['93-72=21', '24/24=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[24, 3], Operations: ['93-72=21', '24-21=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[21, 0], Operations: ['93-72=21', '24-24=0'] Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[24, 3], Operations: ['93-72=21', '24-21=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,55 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: 55:[72, 24, 69], Operations: ['93-24=69'] Exploring Operation: 69-24=45, Resulting Numbers: [72, 45] Generated Node #0,2,0: 55:[72, 45] Operation: 69-24=45 Exploring Operation: 72/24=3, Resulting Numbers: [69, 3] Generated Node #0,2,1: 55:[69, 3] Operation: 72/24=3 Exploring Operation: 72-69=3, Resulting Numbers: [24, 3] Generated Node #0,2,2: 55:[24, 3] Operation: 72-69=3 Exploring Operation: 72-24=48, Resulting Numbers: [69, 48] Generated Node #0,2,3: 55:[69, 48] Operation: 72-24=48 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[24, 3], Operations: ['93-24=69', '72-69=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,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,1 Current State: 55:[69, 3], Operations: ['93-24=69', '72/24=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,55 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,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,3 Current State: 55:[69, 48], Operations: ['93-24=69', '72-24=48'] Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,55 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,55 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,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,0 Current State: 55:[72, 45], Operations: ['93-24=69', '69-24=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,55 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,55 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: 55:[72, 24, 69], Operations: ['93-24=69'] Exploring Operation: 72/24=3, Resulting Numbers: [69, 3] Generated Node #0,1,0: 55:[69, 3] Operation: 72/24=3 Exploring Operation: 72-24=48, Resulting Numbers: [69, 48] Generated Node #0,1,1: 55:[69, 48] Operation: 72-24=48 Exploring Operation: 72-69=3, Resulting Numbers: [24, 3] Generated Node #0,1,2: 55:[24, 3] Operation: 72-69=3 Exploring Operation: 69-24=45, Resulting Numbers: [72, 45] Generated Node #0,1,3: 55:[72, 45] Operation: 69-24=45 Moving to Node #0,3 Current State: 55:[93, 24, 3], Operations: ['72/24=3'] Exploring Operation: 93/3=31, Resulting Numbers: [24, 31] Generated Node #0,3,0: 55:[24, 31] Operation: 93/3=31 Exploring Operation: 24/3=8, Resulting Numbers: [93, 8] Generated Node #0,3,1: 55:[93, 8] Operation: 24/3=8 Exploring Operation: 93-3=90, Resulting Numbers: [24, 90] Generated Node #0,3,2: 55:[24, 90] Operation: 93-3=90 Exploring Operation: 93-24=69, Resulting Numbers: [3, 69] Generated Node #0,3,3: 55:[3, 69] Operation: 93-24=69 Moving to Node #0,1,2 Current State: 55:[24, 3], Operations: ['93-24=69', '72-69=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[69, 3], Operations: ['93-24=69', '72/24=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,55 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[3, 69], Operations: ['72/24=3', '93-24=69'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,55 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[69, 48], Operations: ['93-24=69', '72-24=48'] Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,55 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[72, 45], Operations: ['93-24=69', '69-24=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,55 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[24, 31], Operations: ['72/24=3', '93/3=31'] Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[72, 93, 24, 24], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [93, 24, 3] Generated Node #0,3: 55:[93, 24, 3] Operation: 72/24=3 Moving to Node #0,3 Current State: 55:[93, 24, 3], Operations: ['72/24=3'] Exploring Operation: 93/3=31, Resulting Numbers: [24, 31] Generated Node #0,3,0: 55:[24, 31] Operation: 93/3=31 Moving to Node #0,3,0 Current State: 55:[24, 31], Operations: ['72/24=3', '93/3=31'] Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.9375
hs_4
sum_heuristic
[ 81, 9, 82, 27 ]
55
[ "81*9=729", "729/27=27", "82-27=55" ]
Current State: 55:[81, 9, 82, 27], Operations: [] Exploring Operation: 81*9=729, Resulting Numbers: [82, 27, 729] Generated Node #2: [82, 27, 729] from Operation: 81*9=729 Current State: 55:[82, 27, 729], Operations: ['81*9=729'] Exploring Operation: 729/27=27, Resulting Numbers: [82, 27] Generated Node #3: [82, 27] from Operation: 729/27=27 Current State: 55:[82, 27], Operations: ['81*9=729', '729/27=27'] Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[81, 9, 82, 27], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [82, 27, 9] Generated Node #0,0: 55:[82, 27, 9] Operation: 81/9=9 Exploring Operation: 81/27=3, Resulting Numbers: [9, 82, 3] Generated Node #0,1: 55:[9, 82, 3] Operation: 81/27=3 Exploring Operation: 82-27=55, Resulting Numbers: [81, 9, 55] Generated Node #0,2: 55:[81, 9, 55] Operation: 82-27=55 Exploring Operation: 82-81=1, Resulting Numbers: [9, 27, 1] Generated Node #0,3: 55:[9, 27, 1] Operation: 82-81=1 Exploring Operation: 81-27=54, Resulting Numbers: [9, 82, 54] Generated Node #0,4: 55:[9, 82, 54] Operation: 81-27=54 Moving to Node #0,3 Current State: 55:[9, 27, 1], Operations: ['82-81=1'] Exploring Operation: 9+1=10, Resulting Numbers: [27, 10] Generated Node #0,3,0: 55:[27, 10] Operation: 9+1=10 Exploring Operation: 27/9=3, Resulting Numbers: [1, 3] Generated Node #0,3,1: 55:[1, 3] Operation: 27/9=3 Exploring Operation: 27-1=26, Resulting Numbers: [9, 26] Generated Node #0,3,2: 55:[9, 26] Operation: 27-1=26 Exploring Operation: 9*1=9, Resulting Numbers: [27, 9] Generated Node #0,3,3: 55:[27, 9] Operation: 9*1=9 Exploring Operation: 27-9=18, Resulting Numbers: [1, 18] Generated Node #0,3,4: 55:[1, 18] Operation: 27-9=18 Moving to Node #0,2 Current State: 55:[81, 9, 55], Operations: ['82-27=55'] Exploring Operation: 81+9=90, Resulting Numbers: [55, 90] Generated Node #0,2,0: 55:[55, 90] Operation: 81+9=90 Exploring Operation: 81-55=26, Resulting Numbers: [9, 26] Generated Node #0,2,1: 55:[9, 26] Operation: 81-55=26 Exploring Operation: 81/9=9, Resulting Numbers: [55, 9] Generated Node #0,2,2: 55:[55, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [55, 72] Generated Node #0,2,3: 55:[55, 72] Operation: 81-9=72 Exploring Operation: 9+55=64, Resulting Numbers: [81, 64] Generated Node #0,2,4: 55:[81, 64] Operation: 9+55=64 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[55, 9], Operations: ['82-27=55', '81/9=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,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,1 Current State: 55:[9, 26], Operations: ['82-27=55', '81-55=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,55 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,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,3 Current State: 55:[55, 72], Operations: ['82-27=55', '81-9=72'] Exploring Operation: 55*72=3960, Resulting Numbers: [3960] 3960,55 unequal: No Solution Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 55+72=127, Resulting Numbers: [127] 127,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,0 Current State: 55:[55, 90], Operations: ['82-27=55', '81+9=90'] Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,55 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,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,4 Current State: 55:[81, 64], Operations: ['82-27=55', '9+55=64'] Exploring Operation: 81*64=5184, Resulting Numbers: [5184] 5184,55 unequal: No Solution Exploring Operation: 81+64=145, Resulting Numbers: [145] 145,55 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 55:[9, 82, 54], Operations: ['81-27=54'] Exploring Operation: 82-9=73, Resulting Numbers: [54, 73] Generated Node #0,4,0: 55:[54, 73] Operation: 82-9=73 Exploring Operation: 9+54=63, Resulting Numbers: [82, 63] Generated Node #0,4,1: 55:[82, 63] Operation: 9+54=63 Exploring Operation: 54/9=6, Resulting Numbers: [82, 6] Generated Node #0,4,2: 55:[82, 6] Operation: 54/9=6 Exploring Operation: 9+82=91, Resulting Numbers: [54, 91] Generated Node #0,4,3: 55:[54, 91] Operation: 9+82=91 Exploring Operation: 82-54=28, Resulting Numbers: [9, 28] Generated Node #0,4,4: 55:[9, 28] Operation: 82-54=28 Moving to Node #0,1 Current State: 55:[9, 82, 3], Operations: ['81/27=3'] Exploring Operation: 9+3=12, Resulting Numbers: [82, 12] Generated Node #0,1,0: 55:[82, 12] Operation: 9+3=12 Exploring Operation: 9/3=3, Resulting Numbers: [82, 3] Generated Node #0,1,1: 55:[82, 3] Operation: 9/3=3 Exploring Operation: 82-3=79, Resulting Numbers: [9, 79] Generated Node #0,1,2: 55:[9, 79] Operation: 82-3=79 Exploring Operation: 82-9=73, Resulting Numbers: [3, 73] Generated Node #0,1,3: 55:[3, 73] Operation: 82-9=73 Exploring Operation: 9-3=6, Resulting Numbers: [82, 6] Generated Node #0,1,4: 55:[82, 6] Operation: 9-3=6 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[3, 73], Operations: ['81/27=3', '82-9=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,55 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,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,1,2 Current State: 55:[9, 79], Operations: ['81/27=3', '82-3=79'] Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,55 unequal: No Solution Exploring Operation: 9*79=711, Resulting Numbers: [711] 711,55 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,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,1,0 Current State: 55:[82, 12], Operations: ['81/27=3', '9+3=12'] Exploring Operation: 82+12=94, Resulting Numbers: [94] 94,55 unequal: No Solution Exploring Operation: 82*12=984, Resulting Numbers: [984] 984,55 unequal: No Solution Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,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,1,4 Current State: 55:[82, 6], Operations: ['81/27=3', '9-3=6'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,55 unequal: No Solution Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,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,1,1 Current State: 55:[82, 3], Operations: ['81/27=3', '9/3=3'] Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,55 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,55 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: 55:[82, 27, 9], Operations: ['81/9=9'] Exploring Operation: 82-9=73, Resulting Numbers: [27, 73] Generated Node #0,0,0: 55:[27, 73] Operation: 82-9=73 Exploring Operation: 27-9=18, Resulting Numbers: [82, 18] Generated Node #0,0,1: 55:[82, 18] Operation: 27-9=18 Exploring Operation: 27+9=36, Resulting Numbers: [82, 36] Generated Node #0,0,2: 55:[82, 36] Operation: 27+9=36 Exploring Operation: 27/9=3, Resulting Numbers: [82, 3] Generated Node #0,0,3: 55:[82, 3] Operation: 27/9=3 Exploring Operation: 82-27=55, Resulting Numbers: [9, 55] Generated Node #0,0,4: 55:[9, 55] Operation: 82-27=55 Moving to Node #0,0,4 Current State: 55:[9, 55], Operations: ['81/9=9', '82-27=55'] Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,55 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[1, 3], Operations: ['82-81=1', '27/9=3'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,55 unequal: No Solution Moving to Node #0,3,4 Current State: 55:[1, 18], Operations: ['82-81=1', '27-9=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[27, 10], Operations: ['82-81=1', '9+1=10'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,55 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[9, 26], Operations: ['82-81=1', '27-1=26'] Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,55 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[27, 9], Operations: ['82-81=1', '9*1=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[9, 28], Operations: ['81-27=54', '82-54=28'] Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,55 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[54, 73], Operations: ['81-27=54', '82-9=73'] Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,55 unequal: No Solution Exploring Operation: 54*73=3942, Resulting Numbers: [3942] 3942,55 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[82, 6], Operations: ['81-27=54', '54/9=6'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,55 unequal: No Solution Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[82, 3], Operations: ['81/9=9', '27/9=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,55 unequal: No Solution Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[27, 73], Operations: ['81/9=9', '82-9=73'] Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,55 unequal: No Solution Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[82, 18], Operations: ['81/9=9', '27-9=18'] Exploring Operation: 82+18=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 82*18=1476, Resulting Numbers: [1476] 1476,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[82, 63], Operations: ['81-27=54', '9+54=63'] Exploring Operation: 82+63=145, Resulting Numbers: [145] 145,55 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 82*63=5166, Resulting Numbers: [5166] 5166,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[54, 91], Operations: ['81-27=54', '9+82=91'] Exploring Operation: 54*91=4914, Resulting Numbers: [4914] 4914,55 unequal: No Solution Exploring Operation: 54+91=145, Resulting Numbers: [145] 145,55 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[82, 36], Operations: ['81/9=9', '27+9=36'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,55 unequal: No Solution Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,55 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 6, 30, 26, 51 ]
11
[ "6+30=36", "51-26=25", "36-25=11" ]
Current State: 11:[6, 30, 26, 51], Operations: [] Exploring Operation: 6+30=36, Resulting Numbers: [26, 51, 36] Generated Node #2: [26, 51, 36] from Operation: 6+30=36 Current State: 11:[26, 51, 36], Operations: ['6+30=36'] Exploring Operation: 51-26=25, Resulting Numbers: [36, 25] Generated Node #3: [36, 25] from Operation: 51-26=25 Current State: 11:[36, 25], Operations: ['6+30=36', '51-26=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[6, 30, 26, 51], Operations: [] Exploring Operation: 51-30=21, Resulting Numbers: [6, 26, 21] Generated Node #0,0: 11:[6, 26, 21] Operation: 51-30=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[6, 26, 21], Operations: ['51-30=21'] Exploring Operation: 26-21=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 11:[6, 5] Operation: 26-21=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[6, 5], Operations: ['51-30=21', '26-21=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[6, 30, 26, 51], Operations: [] Exploring Operation: 51-30=21, Resulting Numbers: [6, 26, 21] Generated Node #0,0: 11:[6, 26, 21] Operation: 51-30=21 Moving to Node #0,0 Current State: 11:[6, 26, 21], Operations: ['51-30=21'] Exploring Operation: 26-21=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 11:[6, 5] Operation: 26-21=5 Moving to Node #0,0,0 Current State: 11:[6, 5], Operations: ['51-30=21', '26-21=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 46, 79, 73, 42 ]
39
[ "79-73=6", "42/6=7", "46-7=39" ]
Current State: 39:[46, 79, 73, 42], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [46, 42, 6] Generated Node #2: [46, 42, 6] from Operation: 79-73=6 Current State: 39:[46, 42, 6], Operations: ['79-73=6'] Exploring Operation: 42/6=7, Resulting Numbers: [46, 7] Generated Node #3: [46, 7] from Operation: 42/6=7 Current State: 39:[46, 7], Operations: ['79-73=6', '42/6=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[46, 79, 73, 42], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [46, 42, 6] Generated Node #0,0: 39:[46, 42, 6] Operation: 79-73=6 Exploring Operation: 79-42=37, Resulting Numbers: [46, 73, 37] Generated Node #0,1: 39:[46, 73, 37] Operation: 79-42=37 Exploring Operation: 79-46=33, Resulting Numbers: [73, 42, 33] Generated Node #0,2: 39:[73, 42, 33] Operation: 79-46=33 Moving to Node #0,0 Current State: 39:[46, 42, 6], Operations: ['79-73=6'] Exploring Operation: 46-6=40, Resulting Numbers: [42, 40] Generated Node #0,0,0: 39:[42, 40] Operation: 46-6=40 Exploring Operation: 42-6=36, Resulting Numbers: [46, 36] Generated Node #0,0,1: 39:[46, 36] Operation: 42-6=36 Exploring Operation: 46-42=4, Resulting Numbers: [6, 4] Generated Node #0,0,2: 39:[6, 4] Operation: 46-42=4 Moving to Node #0,1 Current State: 39:[46, 73, 37], Operations: ['79-42=37'] Exploring Operation: 73-46=27, Resulting Numbers: [37, 27] Generated Node #0,1,0: 39:[37, 27] Operation: 73-46=27 Exploring Operation: 46-37=9, Resulting Numbers: [73, 9] Generated Node #0,1,1: 39:[73, 9] Operation: 46-37=9 Exploring Operation: 73-37=36, Resulting Numbers: [46, 36] Generated Node #0,1,2: 39:[46, 36] Operation: 73-37=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[46, 36], Operations: ['79-42=37', '73-37=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[37, 27], Operations: ['79-42=37', '73-46=27'] Exploring Operation: 37*27=999, Resulting Numbers: [999] 999,39 unequal: No Solution Exploring Operation: 37+27=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[73, 9], Operations: ['79-42=37', '46-37=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,39 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: 39:[73, 42, 33], Operations: ['79-46=33'] Exploring Operation: 73-33=40, Resulting Numbers: [42, 40] Generated Node #0,2,0: 39:[42, 40] Operation: 73-33=40 Exploring Operation: 73-42=31, Resulting Numbers: [33, 31] Generated Node #0,2,1: 39:[33, 31] Operation: 73-42=31 Exploring Operation: 42-33=9, Resulting Numbers: [73, 9] Generated Node #0,2,2: 39:[73, 9] Operation: 42-33=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[42, 40], Operations: ['79-46=33', '73-33=40'] Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,39 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[33, 31], Operations: ['79-46=33', '73-42=31'] Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[73, 9], Operations: ['79-46=33', '42-33=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 39:[42, 40], Operations: ['79-73=6', '46-6=40'] Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,39 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[6, 4], Operations: ['79-73=6', '46-42=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[46, 36], Operations: ['79-73=6', '42-6=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,39 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,39 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 63, 11, 21, 84 ]
39
[ "63/21=3", "84/3=28", "11+28=39" ]
Current State: 39:[63, 11, 21, 84], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [11, 84, 3] Generated Node #2: [11, 84, 3] from Operation: 63/21=3 Current State: 39:[11, 84, 3], Operations: ['63/21=3'] Exploring Operation: 84/3=28, Resulting Numbers: [11, 28] Generated Node #3: [11, 28] from Operation: 84/3=28 Current State: 39:[11, 28], Operations: ['63/21=3', '84/3=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[63, 11, 21, 84], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [11, 84, 3] Generated Node #0,0: 39:[11, 84, 3] Operation: 63/21=3 Exploring Operation: 84/21=4, Resulting Numbers: [63, 11, 4] Generated Node #0,1: 39:[63, 11, 4] Operation: 84/21=4 Exploring Operation: 84-63=21, Resulting Numbers: [11, 21, 21] Generated Node #0,2: 39:[11, 21, 21] Operation: 84-63=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[11, 21, 21], Operations: ['84-63=21'] Exploring Operation: 21-21=0, Resulting Numbers: [11, 0] Generated Node #0,2,0: 39:[11, 0] Operation: 21-21=0 Exploring Operation: 21+21=42, Resulting Numbers: [11, 42] Generated Node #0,2,1: 39:[11, 42] Operation: 21+21=42 Exploring Operation: 21/21=1, Resulting Numbers: [11, 1] Generated Node #0,2,2: 39:[11, 1] Operation: 21/21=1 Moving to Node #0,2,2 Current State: 39:[11, 1], Operations: ['84-63=21', '21/21=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[11, 0], Operations: ['84-63=21', '21-21=0'] Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[11, 42], Operations: ['84-63=21', '21+21=42'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,39 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[63, 11, 4], Operations: ['84/21=4'] Exploring Operation: 63-4=59, Resulting Numbers: [11, 59] Generated Node #0,1,0: 39:[11, 59] Operation: 63-4=59 Exploring Operation: 11+4=15, Resulting Numbers: [63, 15] Generated Node #0,1,1: 39:[63, 15] Operation: 11+4=15 Exploring Operation: 63-11=52, Resulting Numbers: [4, 52] Generated Node #0,1,2: 39:[4, 52] Operation: 63-11=52 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[4, 52], Operations: ['84/21=4', '63-11=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[11, 59], Operations: ['84/21=4', '63-4=59'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,39 unequal: No Solution Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[63, 15], Operations: ['84/21=4', '11+4=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,39 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[11, 84, 3], Operations: ['63/21=3'] Exploring Operation: 84/3=28, Resulting Numbers: [11, 28] Generated Node #0,0,0: 39:[11, 28] Operation: 84/3=28 Exploring Operation: 84-3=81, Resulting Numbers: [11, 81] Generated Node #0,0,1: 39:[11, 81] Operation: 84-3=81 Exploring Operation: 84-11=73, Resulting Numbers: [3, 73] Generated Node #0,0,2: 39:[3, 73] Operation: 84-11=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[11, 28], Operations: ['63/21=3', '84/3=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[63, 11, 21, 84], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [11, 84, 3] Generated Node #0,0: 39:[11, 84, 3] Operation: 63/21=3 Moving to Node #0,0 Current State: 39:[11, 84, 3], Operations: ['63/21=3'] Exploring Operation: 84/3=28, Resulting Numbers: [11, 28] Generated Node #0,0,0: 39:[11, 28] Operation: 84/3=28 Moving to Node #0,0,0 Current State: 39:[11, 28], Operations: ['63/21=3', '84/3=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 3, 77, 64, 35 ]
50
[ "77-35=42", "42/3=14", "64-14=50" ]
Current State: 50:[3, 77, 64, 35], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [3, 64, 42] Generated Node #2: [3, 64, 42] from Operation: 77-35=42 Current State: 50:[3, 64, 42], Operations: ['77-35=42'] Exploring Operation: 42/3=14, Resulting Numbers: [64, 14] Generated Node #3: [64, 14] from Operation: 42/3=14 Current State: 50:[64, 14], Operations: ['77-35=42', '42/3=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[3, 77, 64, 35], Operations: [] Exploring Operation: 77-64=13, Resulting Numbers: [3, 35, 13] Generated Node #0,0: 50:[3, 35, 13] Operation: 77-64=13 Moving to Node #0,0 Current State: 50:[3, 35, 13], Operations: ['77-64=13'] Exploring Operation: 35+13=48, Resulting Numbers: [3, 48] Generated Node #0,0,0: 50:[3, 48] Operation: 35+13=48 Moving to Node #0,0,0 Current State: 50:[3, 48], Operations: ['77-64=13', '35+13=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,50 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 92, 87, 47, 44 ]
15
[ "92-87=5", "47-44=3", "5*3=15" ]
Current State: 15:[92, 87, 47, 44], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [47, 44, 5] Generated Node #2: [47, 44, 5] from Operation: 92-87=5 Current State: 15:[47, 44, 5], Operations: ['92-87=5'] Exploring Operation: 47-44=3, Resulting Numbers: [5, 3] Generated Node #3: [5, 3] from Operation: 47-44=3 Current State: 15:[5, 3], Operations: ['92-87=5', '47-44=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[92, 87, 47, 44], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [92, 44, 40] Generated Node #0,0: 15:[92, 44, 40] Operation: 87-47=40 Exploring Operation: 92-87=5, Resulting Numbers: [47, 44, 5] Generated Node #0,1: 15:[47, 44, 5] Operation: 92-87=5 Exploring Operation: 92-47=45, Resulting Numbers: [87, 44, 45] Generated Node #0,2: 15:[87, 44, 45] Operation: 92-47=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[47, 44, 5], Operations: ['92-87=5'] Exploring Operation: 47-5=42, Resulting Numbers: [44, 42] Generated Node #0,1,0: 15:[44, 42] Operation: 47-5=42 Exploring Operation: 44-5=39, Resulting Numbers: [47, 39] Generated Node #0,1,1: 15:[47, 39] Operation: 44-5=39 Exploring Operation: 47-44=3, Resulting Numbers: [5, 3] Generated Node #0,1,2: 15:[5, 3] Operation: 47-44=3 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[5, 3], Operations: ['92-87=5', '47-44=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[92, 87, 47, 44], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [47, 44, 5] Generated Node #0,1: 15:[47, 44, 5] Operation: 92-87=5 Moving to Node #0,1 Current State: 15:[47, 44, 5], Operations: ['92-87=5'] Exploring Operation: 47-44=3, Resulting Numbers: [5, 3] Generated Node #0,1,2: 15:[5, 3] Operation: 47-44=3 Moving to Node #0,1,2 Current State: 15:[5, 3], Operations: ['92-87=5', '47-44=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 50, 25, 7, 7 ]
76
[ "50+25=75", "7/7=1", "75+1=76" ]
Current State: 76:[50, 25, 7, 7], Operations: [] Exploring Operation: 50+25=75, Resulting Numbers: [7, 7, 75] Generated Node #2: [7, 7, 75] from Operation: 50+25=75 Current State: 76:[7, 7, 75], Operations: ['50+25=75'] Exploring Operation: 7/7=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 7/7=1 Current State: 76:[75, 1], Operations: ['50+25=75', '7/7=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[50, 25, 7, 7], Operations: [] Exploring Operation: 50-25=25, Resulting Numbers: [7, 7, 25] Generated Node #0,0: 76:[7, 7, 25] Operation: 50-25=25 Exploring Operation: 50+25=75, Resulting Numbers: [7, 7, 75] Generated Node #0,1: 76:[7, 7, 75] Operation: 50+25=75 Exploring Operation: 50/25=2, Resulting Numbers: [7, 7, 2] Generated Node #0,2: 76:[7, 7, 2] Operation: 50/25=2 Moving to Node #0,2 Current State: 76:[7, 7, 2], Operations: ['50/25=2'] Exploring Operation: 7-7=0, Resulting Numbers: [2, 0] Generated Node #0,2,0: 76:[2, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 76:[2, 1] Operation: 7/7=1 Exploring Operation: 7-2=5, Resulting Numbers: [7, 5] Generated Node #0,2,2: 76:[7, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[2, 1], Operations: ['50/25=2', '7/7=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2/1=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,2,0 Current State: 76:[2, 0], Operations: ['50/25=2', '7-7=0'] Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 2+0=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,2,2 Current State: 76:[7, 5], Operations: ['50/25=2', '7-2=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,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:[7, 7, 75], Operations: ['50+25=75'] Exploring Operation: 7+7=14, Resulting Numbers: [75, 14] Generated Node #0,1,0: 76:[75, 14] Operation: 7+7=14 Exploring Operation: 7-7=0, Resulting Numbers: [75, 0] Generated Node #0,1,1: 76:[75, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [75, 1] Generated Node #0,1,2: 76:[75, 1] Operation: 7/7=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[75, 1], Operations: ['50+25=75', '7/7=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[50, 25, 7, 7], Operations: [] Exploring Operation: 50+25=75, Resulting Numbers: [7, 7, 75] Generated Node #0,1: 76:[7, 7, 75] Operation: 50+25=75 Moving to Node #0,1 Current State: 76:[7, 7, 75], Operations: ['50+25=75'] Exploring Operation: 7/7=1, Resulting Numbers: [75, 1] Generated Node #0,1,2: 76:[75, 1] Operation: 7/7=1 Moving to Node #0,1,2 Current State: 76:[75, 1], Operations: ['50+25=75', '7/7=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 4, 7, 28, 26 ]
23
[ "28/4=7", "7*7=49", "49-26=23" ]
Current State: 23:[4, 7, 28, 26], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [7, 26, 7] Generated Node #2: [7, 26, 7] from Operation: 28/4=7 Current State: 23:[7, 26, 7], Operations: ['28/4=7'] Exploring Operation: 7*7=49, Resulting Numbers: [26, 49] Generated Node #3: [26, 49] from Operation: 7*7=49 Current State: 23:[26, 49], Operations: ['28/4=7', '7*7=49'] Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[4, 7, 28, 26], Operations: [] Exploring Operation: 28-4=24, Resulting Numbers: [7, 26, 24] Generated Node #0,0: 23:[7, 26, 24] Operation: 28-4=24 Exploring Operation: 4+7=11, Resulting Numbers: [28, 26, 11] Generated Node #0,1: 23:[28, 26, 11] Operation: 4+7=11 Exploring Operation: 4*7=28, Resulting Numbers: [28, 26, 28] Generated Node #0,2: 23:[28, 26, 28] Operation: 4*7=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[28, 26, 28], Operations: ['4*7=28'] Exploring Operation: 28-26=2, Resulting Numbers: [28, 2] Generated Node #0,2,0: 23:[28, 2] Operation: 28-26=2 Exploring Operation: 28/28=1, Resulting Numbers: [26, 1] Generated Node #0,2,1: 23:[26, 1] Operation: 28/28=1 Exploring Operation: 28-28=0, Resulting Numbers: [26, 0] Generated Node #0,2,2: 23:[26, 0] Operation: 28-28=0 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[26, 1], Operations: ['4*7=28', '28/28=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[28, 2], Operations: ['4*7=28', '28-26=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[26, 0], Operations: ['4*7=28', '28-28=0'] Exploring Operation: 26*0=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 26-0=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 26+0=26, Resulting Numbers: [26] 26,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[7, 26, 24], Operations: ['28-4=24'] Exploring Operation: 24-7=17, Resulting Numbers: [26, 17] Generated Node #0,0,0: 23:[26, 17] Operation: 24-7=17 Exploring Operation: 7+26=33, Resulting Numbers: [24, 33] Generated Node #0,0,1: 23:[24, 33] Operation: 7+26=33 Exploring Operation: 26-7=19, Resulting Numbers: [24, 19] Generated Node #0,0,2: 23:[24, 19] Operation: 26-7=19 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[24, 19], Operations: ['28-4=24', '26-7=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,23 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[26, 17], Operations: ['28-4=24', '24-7=17'] Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,23 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[24, 33], Operations: ['28-4=24', '7+26=33'] Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,23 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[28, 26, 11], Operations: ['4+7=11'] Exploring Operation: 26-11=15, Resulting Numbers: [28, 15] Generated Node #0,1,0: 23:[28, 15] Operation: 26-11=15 Exploring Operation: 28-11=17, Resulting Numbers: [26, 17] Generated Node #0,1,1: 23:[26, 17] Operation: 28-11=17 Exploring Operation: 28+11=39, Resulting Numbers: [26, 39] Generated Node #0,1,2: 23:[26, 39] Operation: 28+11=39 Moving to Node #0,1,1 Current State: 23:[26, 17], Operations: ['4+7=11', '28-11=17'] Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,23 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[28, 15], Operations: ['4+7=11', '26-11=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[26, 39], Operations: ['4+7=11', '28+11=39'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,23 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,23 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
[ 89, 93, 11, 98 ]
73
[ "89+93=182", "11+98=109", "182-109=73" ]
Current State: 73:[89, 93, 11, 98], Operations: [] Exploring Operation: 89+93=182, Resulting Numbers: [11, 98, 182] Generated Node #2: [11, 98, 182] from Operation: 89+93=182 Current State: 73:[11, 98, 182], Operations: ['89+93=182'] Exploring Operation: 11+98=109, Resulting Numbers: [182, 109] Generated Node #3: [182, 109] from Operation: 11+98=109 Current State: 73:[182, 109], Operations: ['89+93=182', '11+98=109'] Exploring Operation: 182-109=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[89, 93, 11, 98], Operations: [] Exploring Operation: 89-11=78, Resulting Numbers: [93, 98, 78] Generated Node #0,0: 73:[93, 98, 78] Operation: 89-11=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[93, 98, 78], Operations: ['89-11=78'] Exploring Operation: 98-93=5, Resulting Numbers: [78, 5] Generated Node #0,0,0: 73:[78, 5] Operation: 98-93=5 Moving to Node #0,0,0 Current State: 73:[78, 5], Operations: ['89-11=78', '98-93=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[89, 93, 11, 98], Operations: [] Exploring Operation: 89-11=78, Resulting Numbers: [93, 98, 78] Generated Node #0,0: 73:[93, 98, 78] Operation: 89-11=78 Moving to Node #0,0 Current State: 73:[93, 98, 78], Operations: ['89-11=78'] Exploring Operation: 98-93=5, Resulting Numbers: [78, 5] Generated Node #0,0,0: 73:[78, 5] Operation: 98-93=5 Moving to Node #0,0,0 Current State: 73:[78, 5], Operations: ['89-11=78', '98-93=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 73, 80, 38, 7 ]
87
[ "80-73=7", "7*7=49", "38+49=87" ]
Current State: 87:[73, 80, 38, 7], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [38, 7, 7] Generated Node #2: [38, 7, 7] from Operation: 80-73=7 Current State: 87:[38, 7, 7], Operations: ['80-73=7'] Exploring Operation: 7*7=49, Resulting Numbers: [38, 49] Generated Node #3: [38, 49] from Operation: 7*7=49 Current State: 87:[38, 49], Operations: ['80-73=7', '7*7=49'] Exploring Operation: 38+49=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[73, 80, 38, 7], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [80, 7, 35] Generated Node #0,0: 87:[80, 7, 35] Operation: 73-38=35 Exploring Operation: 80-73=7, Resulting Numbers: [38, 7, 7] Generated Node #0,1: 87:[38, 7, 7] Operation: 80-73=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[80, 7, 35], Operations: ['73-38=35'] Exploring Operation: 80+7=87, Resulting Numbers: [35, 87] Generated Node #0,0,0: 87:[35, 87] Operation: 80+7=87 Exploring Operation: 35-7=28, Resulting Numbers: [80, 28] Generated Node #0,0,1: 87:[80, 28] Operation: 35-7=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[35, 87], Operations: ['73-38=35', '80+7=87'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 35+87=122, Resulting Numbers: [122] 122,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[80, 28], Operations: ['73-38=35', '35-7=28'] Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[38, 7, 7], Operations: ['80-73=7'] Exploring Operation: 38-7=31, Resulting Numbers: [7, 31] Generated Node #0,1,0: 87:[7, 31] Operation: 38-7=31 Exploring Operation: 38-7=31, Resulting Numbers: [7, 31] Generated Node #0,1,1: 87:[7, 31] Operation: 38-7=31 Moving to Node #0,1,0 Current State: 87:[7, 31], Operations: ['80-73=7', '38-7=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[7, 31], Operations: ['80-73=7', '38-7=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,87 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
[ 63, 95, 77, 82 ]
37
[ "95-63=32", "82-77=5", "32+5=37" ]
Current State: 37:[63, 95, 77, 82], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [77, 82, 32] Generated Node #2: [77, 82, 32] from Operation: 95-63=32 Current State: 37:[77, 82, 32], Operations: ['95-63=32'] Exploring Operation: 82-77=5, Resulting Numbers: [32, 5] Generated Node #3: [32, 5] from Operation: 82-77=5 Current State: 37:[32, 5], Operations: ['95-63=32', '82-77=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[63, 95, 77, 82], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [77, 82, 32] Generated Node #0,0: 37:[77, 82, 32] Operation: 95-63=32 Exploring Operation: 95-77=18, Resulting Numbers: [63, 82, 18] Generated Node #0,1: 37:[63, 82, 18] Operation: 95-77=18 Moving to Node #0,0 Current State: 37:[77, 82, 32], Operations: ['95-63=32'] Exploring Operation: 82-77=5, Resulting Numbers: [32, 5] Generated Node #0,0,0: 37:[32, 5] Operation: 82-77=5 Exploring Operation: 77-32=45, Resulting Numbers: [82, 45] Generated Node #0,0,1: 37:[82, 45] Operation: 77-32=45 Moving to Node #0,1 Current State: 37:[63, 82, 18], Operations: ['95-77=18'] Exploring Operation: 82-63=19, Resulting Numbers: [18, 19] Generated Node #0,1,0: 37:[18, 19] Operation: 82-63=19 Exploring Operation: 63-18=45, Resulting Numbers: [82, 45] Generated Node #0,1,1: 37:[82, 45] Operation: 63-18=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[18, 19], Operations: ['95-77=18', '82-63=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[63, 95, 77, 82], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [63, 82, 18] Generated Node #0,1: 37:[63, 82, 18] Operation: 95-77=18 Moving to Node #0,1 Current State: 37:[63, 82, 18], Operations: ['95-77=18'] Exploring Operation: 82-63=19, Resulting Numbers: [18, 19] Generated Node #0,1,0: 37:[18, 19] Operation: 82-63=19 Moving to Node #0,1,0 Current State: 37:[18, 19], Operations: ['95-77=18', '82-63=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 4, 8, 16, 10 ]
82
[ "4*16=64", "8+10=18", "64+18=82" ]
Current State: 82:[4, 8, 16, 10], Operations: [] Exploring Operation: 4*16=64, Resulting Numbers: [8, 10, 64] Generated Node #2: [8, 10, 64] from Operation: 4*16=64 Current State: 82:[8, 10, 64], Operations: ['4*16=64'] Exploring Operation: 8+10=18, Resulting Numbers: [64, 18] Generated Node #3: [64, 18] from Operation: 8+10=18 Current State: 82:[64, 18], Operations: ['4*16=64', '8+10=18'] Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[4, 8, 16, 10], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [4, 10, 2] Generated Node #0,0: 82:[4, 10, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[4, 10, 2], Operations: ['16/8=2'] Exploring Operation: 4*10=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 82:[2, 40] Operation: 4*10=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[2, 40], Operations: ['16/8=2', '4*10=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,82 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
[ 77, 80, 29, 74 ]
17
[ "77-74=3", "80-29=51", "51/3=17" ]
Current State: 17:[77, 80, 29, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [80, 29, 3] Generated Node #2: [80, 29, 3] from Operation: 77-74=3 Current State: 17:[80, 29, 3], Operations: ['77-74=3'] Exploring Operation: 80-29=51, Resulting Numbers: [3, 51] Generated Node #3: [3, 51] from Operation: 80-29=51 Current State: 17:[3, 51], Operations: ['77-74=3', '80-29=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[77, 80, 29, 74], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [29, 74, 3] Generated Node #0,0: 17:[29, 74, 3] Operation: 80-77=3 Moving to Node #0,0 Current State: 17:[29, 74, 3], Operations: ['80-77=3'] Exploring Operation: 74-29=45, Resulting Numbers: [3, 45] Generated Node #0,0,0: 17:[3, 45] Operation: 74-29=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[3, 45], Operations: ['80-77=3', '74-29=45'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 53, 75, 64, 36 ]
38
[ "53+75=128", "128/64=2", "36+2=38" ]
Current State: 38:[53, 75, 64, 36], Operations: [] Exploring Operation: 53+75=128, Resulting Numbers: [64, 36, 128] Generated Node #2: [64, 36, 128] from Operation: 53+75=128 Current State: 38:[64, 36, 128], Operations: ['53+75=128'] Exploring Operation: 128/64=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 128/64=2 Current State: 38:[36, 2], Operations: ['53+75=128', '128/64=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[53, 75, 64, 36], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [53, 36, 11] Generated Node #0,0: 38:[53, 36, 11] Operation: 75-64=11 Moving to Node #0,0 Current State: 38:[53, 36, 11], Operations: ['75-64=11'] Exploring Operation: 53-11=42, Resulting Numbers: [36, 42] Generated Node #0,0,0: 38:[36, 42] Operation: 53-11=42 Moving to Node #0,0,0 Current State: 38:[36, 42], Operations: ['75-64=11', '53-11=42'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,38 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 10, 21, 96, 44 ]
100
[ "21-10=11", "44/11=4", "96+4=100" ]
Current State: 100:[10, 21, 96, 44], Operations: [] Exploring Operation: 21-10=11, Resulting Numbers: [96, 44, 11] Generated Node #2: [96, 44, 11] from Operation: 21-10=11 Current State: 100:[96, 44, 11], Operations: ['21-10=11'] Exploring Operation: 44/11=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 44/11=4 Current State: 100:[96, 4], Operations: ['21-10=11', '44/11=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[10, 21, 96, 44], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [10, 21, 52] Generated Node #0,0: 100:[10, 21, 52] Operation: 96-44=52 Exploring Operation: 44-21=23, Resulting Numbers: [10, 96, 23] Generated Node #0,1: 100:[10, 96, 23] Operation: 44-21=23 Moving to Node #0,0 Current State: 100:[10, 21, 52], Operations: ['96-44=52'] Exploring Operation: 21-10=11, Resulting Numbers: [52, 11] Generated Node #0,0,0: 100:[52, 11] Operation: 21-10=11 Exploring Operation: 52-21=31, Resulting Numbers: [10, 31] Generated Node #0,0,1: 100:[10, 31] Operation: 52-21=31 Moving to Node #0,1 Current State: 100:[10, 96, 23], Operations: ['44-21=23'] Exploring Operation: 10+96=106, Resulting Numbers: [23, 106] Generated Node #0,1,0: 100:[23, 106] Operation: 10+96=106 Exploring Operation: 23-10=13, Resulting Numbers: [96, 13] Generated Node #0,1,1: 100:[96, 13] Operation: 23-10=13 Moving to Node #0,0,0 Current State: 100:[52, 11], Operations: ['96-44=52', '21-10=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[10, 31], Operations: ['96-44=52', '52-21=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[96, 13], Operations: ['44-21=23', '23-10=13'] Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[23, 106], Operations: ['44-21=23', '10+96=106'] Exploring Operation: 106-23=83, Resulting Numbers: [83] 83,100 unequal: No Solution Exploring Operation: 23+106=129, Resulting Numbers: [129] 129,100 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 5, 32, 38, 34 ]
41
[ "5+32=37", "38-34=4", "37+4=41" ]
Current State: 41:[5, 32, 38, 34], Operations: [] Exploring Operation: 5+32=37, Resulting Numbers: [38, 34, 37] Generated Node #2: [38, 34, 37] from Operation: 5+32=37 Current State: 41:[38, 34, 37], Operations: ['5+32=37'] Exploring Operation: 38-34=4, Resulting Numbers: [37, 4] Generated Node #3: [37, 4] from Operation: 38-34=4 Current State: 41:[37, 4], Operations: ['5+32=37', '38-34=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[5, 32, 38, 34], Operations: [] Exploring Operation: 5+34=39, Resulting Numbers: [32, 38, 39] Generated Node #0,0: 41:[32, 38, 39] Operation: 5+34=39 Exploring Operation: 32-5=27, Resulting Numbers: [38, 34, 27] Generated Node #0,1: 41:[38, 34, 27] Operation: 32-5=27 Exploring Operation: 5+38=43, Resulting Numbers: [32, 34, 43] Generated Node #0,2: 41:[32, 34, 43] Operation: 5+38=43 Exploring Operation: 5+32=37, Resulting Numbers: [38, 34, 37] Generated Node #0,3: 41:[38, 34, 37] Operation: 5+32=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[32, 38, 39], Operations: ['5+34=39'] Exploring Operation: 38-32=6, Resulting Numbers: [39, 6] Generated Node #0,0,0: 41:[39, 6] Operation: 38-32=6 Exploring Operation: 39-32=7, Resulting Numbers: [38, 7] Generated Node #0,0,1: 41:[38, 7] Operation: 39-32=7 Exploring Operation: 32+39=71, Resulting Numbers: [38, 71] Generated Node #0,0,2: 41:[38, 71] Operation: 32+39=71 Exploring Operation: 32+38=70, Resulting Numbers: [39, 70] Generated Node #0,0,3: 41:[39, 70] Operation: 32+38=70 Moving to Node #0,0,3 Current State: 41:[39, 70], Operations: ['5+34=39', '32+38=70'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[38, 71], Operations: ['5+34=39', '32+39=71'] Exploring Operation: 38*71=2698, Resulting Numbers: [2698] 2698,41 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 38+71=109, Resulting Numbers: [109] 109,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[38, 7], Operations: ['5+34=39', '39-32=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[39, 6], Operations: ['5+34=39', '38-32=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,41 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[38, 34, 37], Operations: ['5+32=37'] Exploring Operation: 34+37=71, Resulting Numbers: [38, 71] Generated Node #0,3,0: 41:[38, 71] Operation: 34+37=71 Exploring Operation: 38-34=4, Resulting Numbers: [37, 4] Generated Node #0,3,1: 41:[37, 4] Operation: 38-34=4 Exploring Operation: 38+34=72, Resulting Numbers: [37, 72] Generated Node #0,3,2: 41:[37, 72] Operation: 38+34=72 Exploring Operation: 38+37=75, Resulting Numbers: [34, 75] Generated Node #0,3,3: 41:[34, 75] Operation: 38+37=75 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[38, 71], Operations: ['5+32=37', '34+37=71'] Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 38*71=2698, Resulting Numbers: [2698] 2698,41 unequal: No Solution Exploring Operation: 38+71=109, Resulting Numbers: [109] 109,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[37, 72], Operations: ['5+32=37', '38+34=72'] Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,41 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[37, 4], Operations: ['5+32=37', '38-34=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[5, 32, 38, 34], Operations: [] Exploring Operation: 5+32=37, Resulting Numbers: [38, 34, 37] Generated Node #0,3: 41:[38, 34, 37] Operation: 5+32=37 Moving to Node #0,3 Current State: 41:[38, 34, 37], Operations: ['5+32=37'] Exploring Operation: 38-34=4, Resulting Numbers: [37, 4] Generated Node #0,3,1: 41:[37, 4] Operation: 38-34=4 Moving to Node #0,3,1 Current State: 41:[37, 4], Operations: ['5+32=37', '38-34=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 27, 24, 30, 16 ]
24
[ "30-27=3", "24-16=8", "3*8=24" ]
Current State: 24:[27, 24, 30, 16], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [24, 16, 3] Generated Node #2: [24, 16, 3] from Operation: 30-27=3 Current State: 24:[24, 16, 3], Operations: ['30-27=3'] Exploring Operation: 24-16=8, Resulting Numbers: [3, 8] Generated Node #3: [3, 8] from Operation: 24-16=8 Current State: 24:[3, 8], Operations: ['30-27=3', '24-16=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[27, 24, 30, 16], Operations: [] Exploring Operation: 27-16=11, Resulting Numbers: [24, 30, 11] Generated Node #0,0: 24:[24, 30, 11] Operation: 27-16=11 Exploring Operation: 30-24=6, Resulting Numbers: [27, 16, 6] Generated Node #0,1: 24:[27, 16, 6] Operation: 30-24=6 Exploring Operation: 30-16=14, Resulting Numbers: [27, 24, 14] Generated Node #0,2: 24:[27, 24, 14] Operation: 30-16=14 Exploring Operation: 30-27=3, Resulting Numbers: [24, 16, 3] Generated Node #0,3: 24:[24, 16, 3] Operation: 30-27=3 Moving to Node #0,3 Current State: 24:[24, 16, 3], Operations: ['30-27=3'] Exploring Operation: 24-16=8, Resulting Numbers: [3, 8] Generated Node #0,3,0: 24:[3, 8] Operation: 24-16=8 Exploring Operation: 16-3=13, Resulting Numbers: [24, 13] Generated Node #0,3,1: 24:[24, 13] Operation: 16-3=13 Exploring Operation: 24/3=8, Resulting Numbers: [16, 8] Generated Node #0,3,2: 24:[16, 8] Operation: 24/3=8 Exploring Operation: 16+3=19, Resulting Numbers: [24, 19] Generated Node #0,3,3: 24:[24, 19] Operation: 16+3=19 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[3, 8], Operations: ['30-27=3', '24-16=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[27, 24, 30, 16], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [24, 16, 3] Generated Node #0,3: 24:[24, 16, 3] Operation: 30-27=3 Moving to Node #0,3 Current State: 24:[24, 16, 3], Operations: ['30-27=3'] Exploring Operation: 24-16=8, Resulting Numbers: [3, 8] Generated Node #0,3,0: 24:[3, 8] Operation: 24-16=8 Moving to Node #0,3,0 Current State: 24:[3, 8], Operations: ['30-27=3', '24-16=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 70, 78, 7, 11 ]
26
[ "78-70=8", "7+11=18", "8+18=26" ]
Current State: 26:[70, 78, 7, 11], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [7, 11, 8] Generated Node #2: [7, 11, 8] from Operation: 78-70=8 Current State: 26:[7, 11, 8], Operations: ['78-70=8'] Exploring Operation: 7+11=18, Resulting Numbers: [8, 18] Generated Node #3: [8, 18] from Operation: 7+11=18 Current State: 26:[8, 18], Operations: ['78-70=8', '7+11=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[70, 78, 7, 11], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [78, 11, 10] Generated Node #0,0: 26:[78, 11, 10] Operation: 70/7=10 Exploring Operation: 78-70=8, Resulting Numbers: [7, 11, 8] Generated Node #0,1: 26:[7, 11, 8] Operation: 78-70=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[7, 11, 8], Operations: ['78-70=8'] Exploring Operation: 7+8=15, Resulting Numbers: [11, 15] Generated Node #0,1,0: 26:[11, 15] Operation: 7+8=15 Exploring Operation: 8-7=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 26:[11, 1] Operation: 8-7=1 Moving to Node #0,1,1 Current State: 26:[11, 1], Operations: ['78-70=8', '8-7=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[11, 15], Operations: ['78-70=8', '7+8=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[70, 78, 7, 11], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [7, 11, 8] Generated Node #0,1: 26:[7, 11, 8] Operation: 78-70=8 Moving to Node #0,1 Current State: 26:[7, 11, 8], Operations: ['78-70=8'] Exploring Operation: 7+8=15, Resulting Numbers: [11, 15] Generated Node #0,1,0: 26:[11, 15] Operation: 7+8=15 Moving to Node #0,1,0 Current State: 26:[11, 15], Operations: ['78-70=8', '7+8=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 76, 74, 2, 68 ]
69
[ "76-74=2", "2/2=1", "68+1=69" ]
Current State: 69:[76, 74, 2, 68], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [2, 68, 2] Generated Node #2: [2, 68, 2] from Operation: 76-74=2 Current State: 69:[2, 68, 2], Operations: ['76-74=2'] Exploring Operation: 2/2=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 2/2=1 Current State: 69:[68, 1], Operations: ['76-74=2', '2/2=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[76, 74, 2, 68], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [2, 68, 2] Generated Node #0,0: 69:[2, 68, 2] Operation: 76-74=2 Moving to Node #0,0 Current State: 69:[2, 68, 2], Operations: ['76-74=2'] Exploring Operation: 2+68=70, Resulting Numbers: [2, 70] Generated Node #0,0,0: 69:[2, 70] Operation: 2+68=70 Moving to Node #0,0,0 Current State: 69:[2, 70], Operations: ['76-74=2', '2+68=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,69 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 31, 30, 58, 9 ]
90
[ "58-31=27", "30*27=810", "810/9=90" ]
Current State: 90:[31, 30, 58, 9], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [30, 9, 27] Generated Node #2: [30, 9, 27] from Operation: 58-31=27 Current State: 90:[30, 9, 27], Operations: ['58-31=27'] Exploring Operation: 30*27=810, Resulting Numbers: [9, 810] Generated Node #3: [9, 810] from Operation: 30*27=810 Current State: 90:[9, 810], Operations: ['58-31=27', '30*27=810'] Exploring Operation: 810/9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[31, 30, 58, 9], Operations: [] Exploring Operation: 31+58=89, Resulting Numbers: [30, 9, 89] Generated Node #0,0: 90:[30, 9, 89] Operation: 31+58=89 Moving to Node #0,0 Current State: 90:[30, 9, 89], Operations: ['31+58=89'] Exploring Operation: 30-9=21, Resulting Numbers: [89, 21] Generated Node #0,0,0: 90:[89, 21] Operation: 30-9=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[89, 21], Operations: ['31+58=89', '30-9=21'] Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 79, 21, 21 ]
83
[ "3+79=82", "21/21=1", "82+1=83" ]
Current State: 83:[3, 79, 21, 21], Operations: [] Exploring Operation: 3+79=82, Resulting Numbers: [21, 21, 82] Generated Node #2: [21, 21, 82] from Operation: 3+79=82 Current State: 83:[21, 21, 82], Operations: ['3+79=82'] Exploring Operation: 21/21=1, Resulting Numbers: [82, 1] Generated Node #3: [82, 1] from Operation: 21/21=1 Current State: 83:[82, 1], Operations: ['3+79=82', '21/21=1'] Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[3, 79, 21, 21], Operations: [] Exploring Operation: 3*21=63, Resulting Numbers: [79, 21, 63] Generated Node #0,0: 83:[79, 21, 63] Operation: 3*21=63 Moving to Node #0,0 Current State: 83:[79, 21, 63], Operations: ['3*21=63'] Exploring Operation: 21+63=84, Resulting Numbers: [79, 84] Generated Node #0,0,0: 83:[79, 84] Operation: 21+63=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[79, 84], Operations: ['3*21=63', '21+63=84'] Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,83 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
[ 52, 43, 42, 47 ]
17
[ "52-47=5", "43+42=85", "85/5=17" ]
Current State: 17:[52, 43, 42, 47], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [43, 42, 5] Generated Node #2: [43, 42, 5] from Operation: 52-47=5 Current State: 17:[43, 42, 5], Operations: ['52-47=5'] Exploring Operation: 43+42=85, Resulting Numbers: [5, 85] Generated Node #3: [5, 85] from Operation: 43+42=85 Current State: 17:[5, 85], Operations: ['52-47=5', '43+42=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[52, 43, 42, 47], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [52, 43, 5] Generated Node #0,0: 17:[52, 43, 5] Operation: 47-42=5 Exploring Operation: 52-43=9, Resulting Numbers: [42, 47, 9] Generated Node #0,1: 17:[42, 47, 9] Operation: 52-43=9 Exploring Operation: 47-43=4, Resulting Numbers: [52, 42, 4] Generated Node #0,2: 17:[52, 42, 4] Operation: 47-43=4 Exploring Operation: 52-42=10, Resulting Numbers: [43, 47, 10] Generated Node #0,3: 17:[43, 47, 10] Operation: 52-42=10 Exploring Operation: 52-47=5, Resulting Numbers: [43, 42, 5] Generated Node #0,4: 17:[43, 42, 5] Operation: 52-47=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[42, 47, 9], Operations: ['52-43=9'] Exploring Operation: 47-9=38, Resulting Numbers: [42, 38] Generated Node #0,1,0: 17:[42, 38] Operation: 47-9=38 Exploring Operation: 42-9=33, Resulting Numbers: [47, 33] Generated Node #0,1,1: 17:[47, 33] Operation: 42-9=33 Exploring Operation: 42+9=51, Resulting Numbers: [47, 51] Generated Node #0,1,2: 17:[47, 51] Operation: 42+9=51 Exploring Operation: 47-42=5, Resulting Numbers: [9, 5] Generated Node #0,1,3: 17:[9, 5] Operation: 47-42=5 Exploring Operation: 47+9=56, Resulting Numbers: [42, 56] Generated Node #0,1,4: 17:[42, 56] Operation: 47+9=56 Moving to Node #0,1,3 Current State: 17:[9, 5], Operations: ['52-43=9', '47-42=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[47, 33], Operations: ['52-43=9', '42-9=33'] Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,17 unequal: No Solution Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[42, 38], Operations: ['52-43=9', '47-9=38'] Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,17 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[47, 51], Operations: ['52-43=9', '42+9=51'] Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[42, 56], Operations: ['52-43=9', '47+9=56'] Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[43, 47, 10], Operations: ['52-42=10'] Exploring Operation: 47-10=37, Resulting Numbers: [43, 37] Generated Node #0,3,0: 17:[43, 37] Operation: 47-10=37 Exploring Operation: 47+10=57, Resulting Numbers: [43, 57] Generated Node #0,3,1: 17:[43, 57] Operation: 47+10=57 Exploring Operation: 43+10=53, Resulting Numbers: [47, 53] Generated Node #0,3,2: 17:[47, 53] Operation: 43+10=53 Exploring Operation: 47-43=4, Resulting Numbers: [10, 4] Generated Node #0,3,3: 17:[10, 4] Operation: 47-43=4 Exploring Operation: 43-10=33, Resulting Numbers: [47, 33] Generated Node #0,3,4: 17:[47, 33] Operation: 43-10=33 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[10, 4], Operations: ['52-42=10', '47-43=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,17 unequal: No Solution No 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: 17:[43, 37], Operations: ['52-42=10', '47-10=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,17 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,17 unequal: No Solution No 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: 17:[47, 33], Operations: ['52-42=10', '43-10=33'] Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,17 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,17 unequal: No Solution No 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: 17:[43, 57], Operations: ['52-42=10', '47+10=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,17 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,17 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,17 unequal: No Solution No 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: 17:[47, 53], Operations: ['52-42=10', '43+10=53'] Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,17 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[43, 42, 5], Operations: ['52-47=5'] Exploring Operation: 42-5=37, Resulting Numbers: [43, 37] Generated Node #0,4,0: 17:[43, 37] Operation: 42-5=37 Exploring Operation: 43+5=48, Resulting Numbers: [42, 48] Generated Node #0,4,1: 17:[42, 48] Operation: 43+5=48 Exploring Operation: 42+5=47, Resulting Numbers: [43, 47] Generated Node #0,4,2: 17:[43, 47] Operation: 42+5=47 Exploring Operation: 43-5=38, Resulting Numbers: [42, 38] Generated Node #0,4,3: 17:[42, 38] Operation: 43-5=38 Exploring Operation: 43-42=1, Resulting Numbers: [5, 1] Generated Node #0,4,4: 17:[5, 1] Operation: 43-42=1 Moving to Node #0,4,4 Current State: 17:[5, 1], Operations: ['52-47=5', '43-42=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[42, 38], Operations: ['52-47=5', '43-5=38'] Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[43, 37], Operations: ['52-47=5', '42-5=37'] Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[42, 48], Operations: ['52-47=5', '43+5=48'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[43, 47], Operations: ['52-47=5', '42+5=47'] Exploring Operation: 43*47=2021, Resulting Numbers: [2021] 2021,17 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[52, 43, 5], Operations: ['47-42=5'] Exploring Operation: 52-43=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 17:[5, 9] Operation: 52-43=9 Exploring Operation: 43+5=48, Resulting Numbers: [52, 48] Generated Node #0,0,1: 17:[52, 48] Operation: 43+5=48 Exploring Operation: 43-5=38, Resulting Numbers: [52, 38] Generated Node #0,0,2: 17:[52, 38] Operation: 43-5=38 Exploring Operation: 52+5=57, Resulting Numbers: [43, 57] Generated Node #0,0,3: 17:[43, 57] Operation: 52+5=57 Exploring Operation: 52-5=47, Resulting Numbers: [43, 47] Generated Node #0,0,4: 17:[43, 47] Operation: 52-5=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[5, 9], Operations: ['47-42=5', '52-43=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,17 unequal: No Solution No 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: 17:[52, 38], Operations: ['47-42=5', '43-5=38'] Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,17 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,17 unequal: No Solution No 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: 17:[43, 47], Operations: ['47-42=5', '52-5=47'] Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 43*47=2021, Resulting Numbers: [2021] 2021,17 unequal: No Solution No 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: 17:[52, 48], Operations: ['47-42=5', '43+5=48'] Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,17 unequal: No Solution Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,17 unequal: No Solution No 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: 17:[43, 57], Operations: ['47-42=5', '52+5=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,17 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,17 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: 17:[52, 42, 4], Operations: ['47-43=4'] Exploring Operation: 52-42=10, Resulting Numbers: [4, 10] Generated Node #0,2,0: 17:[4, 10] Operation: 52-42=10 Exploring Operation: 52-4=48, Resulting Numbers: [42, 48] Generated Node #0,2,1: 17:[42, 48] Operation: 52-4=48 Exploring Operation: 52+4=56, Resulting Numbers: [42, 56] Generated Node #0,2,2: 17:[42, 56] Operation: 52+4=56 Exploring Operation: 52/4=13, Resulting Numbers: [42, 13] Generated Node #0,2,3: 17:[42, 13] Operation: 52/4=13 Exploring Operation: 42-4=38, Resulting Numbers: [52, 38] Generated Node #0,2,4: 17:[52, 38] Operation: 42-4=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[4, 10], Operations: ['47-43=4', '52-42=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,17 unequal: No Solution No 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: 17:[42, 13], Operations: ['47-43=4', '52/4=13'] Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,17 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,17 unequal: No Solution No 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: 17:[42, 48], Operations: ['47-43=4', '52-4=48'] Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,17 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 17:[52, 38], Operations: ['47-43=4', '42-4=38'] Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,17 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,17 unequal: No Solution No 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: 17:[42, 56], Operations: ['47-43=4', '52+4=56'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,17 unequal: No Solution Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 2, 7, 18, 18 ]
90
[ "2*18=36", "7*18=126", "126-36=90" ]
Current State: 90:[2, 7, 18, 18], Operations: [] Exploring Operation: 2*18=36, Resulting Numbers: [7, 36] Generated Node #2: [7, 36] from Operation: 2*18=36 Current State: 90:[7, 36], Operations: ['2*18=36'] Exploring Operation: 7*18=126, Resulting Numbers: [36, 126] Generated Node #3: [36, 126] from Operation: 7*18=126 Current State: 90:[36, 126], Operations: ['2*18=36', '7*18=126'] Exploring Operation: 126-36=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[2, 7, 18, 18], Operations: [] Exploring Operation: 2+7=9, Resulting Numbers: [18, 18, 9] Generated Node #0,0: 90:[18, 18, 9] Operation: 2+7=9 Moving to Node #0,0 Current State: 90:[18, 18, 9], Operations: ['2+7=9'] Exploring Operation: 18-9=9, Resulting Numbers: [18, 9] Generated Node #0,0,0: 90:[18, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[18, 9], Operations: ['2+7=9', '18-9=9'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,90 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
[ 15, 24, 57, 3 ]
64
[ "15+57=72", "24/3=8", "72-8=64" ]
Current State: 64:[15, 24, 57, 3], Operations: [] Exploring Operation: 15+57=72, Resulting Numbers: [24, 3, 72] Generated Node #2: [24, 3, 72] from Operation: 15+57=72 Current State: 64:[24, 3, 72], Operations: ['15+57=72'] Exploring Operation: 24/3=8, Resulting Numbers: [72, 8] Generated Node #3: [72, 8] from Operation: 24/3=8 Current State: 64:[72, 8], Operations: ['15+57=72', '24/3=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[15, 24, 57, 3], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [15, 3, 33] Generated Node #0,0: 64:[15, 3, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[15, 3, 33], Operations: ['57-24=33'] Exploring Operation: 15/3=5, Resulting Numbers: [33, 5] Generated Node #0,0,0: 64:[33, 5] Operation: 15/3=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[33, 5], Operations: ['57-24=33', '15/3=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,64 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
[ 73, 63, 49, 27 ]
86
[ "73-63=10", "49+27=76", "10+76=86" ]
Current State: 86:[73, 63, 49, 27], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [49, 27, 10] Generated Node #2: [49, 27, 10] from Operation: 73-63=10 Current State: 86:[49, 27, 10], Operations: ['73-63=10'] Exploring Operation: 49+27=76, Resulting Numbers: [10, 76] Generated Node #3: [10, 76] from Operation: 49+27=76 Current State: 86:[10, 76], Operations: ['73-63=10', '49+27=76'] Exploring Operation: 10+76=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[73, 63, 49, 27], Operations: [] Exploring Operation: 73+27=100, Resulting Numbers: [63, 49, 100] Generated Node #0,0: 86:[63, 49, 100] Operation: 73+27=100 Exploring Operation: 63-27=36, Resulting Numbers: [73, 49, 36] Generated Node #0,1: 86:[73, 49, 36] Operation: 63-27=36 Exploring Operation: 73-27=46, Resulting Numbers: [63, 49, 46] Generated Node #0,2: 86:[63, 49, 46] Operation: 73-27=46 Exploring Operation: 63+27=90, Resulting Numbers: [73, 49, 90] Generated Node #0,3: 86:[73, 49, 90] Operation: 63+27=90 Exploring Operation: 73-63=10, Resulting Numbers: [49, 27, 10] Generated Node #0,4: 86:[49, 27, 10] Operation: 73-63=10 Moving to Node #0,3 Current State: 86:[73, 49, 90], Operations: ['63+27=90'] Exploring Operation: 73+49=122, Resulting Numbers: [90, 122] Generated Node #0,3,0: 86:[90, 122] Operation: 73+49=122 Exploring Operation: 49+90=139, Resulting Numbers: [73, 139] Generated Node #0,3,1: 86:[73, 139] Operation: 49+90=139 Exploring Operation: 90-49=41, Resulting Numbers: [73, 41] Generated Node #0,3,2: 86:[73, 41] Operation: 90-49=41 Exploring Operation: 90-73=17, Resulting Numbers: [49, 17] Generated Node #0,3,3: 86:[49, 17] Operation: 90-73=17 Exploring Operation: 73-49=24, Resulting Numbers: [90, 24] Generated Node #0,3,4: 86:[90, 24] Operation: 73-49=24 Moving to Node #0,1 Current State: 86:[73, 49, 36], Operations: ['63-27=36'] Exploring Operation: 49-36=13, Resulting Numbers: [73, 13] Generated Node #0,1,0: 86:[73, 13] Operation: 49-36=13 Exploring Operation: 73-49=24, Resulting Numbers: [36, 24] Generated Node #0,1,1: 86:[36, 24] Operation: 73-49=24 Exploring Operation: 73-36=37, Resulting Numbers: [49, 37] Generated Node #0,1,2: 86:[49, 37] Operation: 73-36=37 Exploring Operation: 73+36=109, Resulting Numbers: [49, 109] Generated Node #0,1,3: 86:[49, 109] Operation: 73+36=109 Exploring Operation: 49+36=85, Resulting Numbers: [73, 85] Generated Node #0,1,4: 86:[73, 85] Operation: 49+36=85 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[49, 37], Operations: ['63-27=36', '73-36=37'] Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,86 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[73, 63, 49, 27], Operations: [] Exploring Operation: 63-27=36, Resulting Numbers: [73, 49, 36] Generated Node #0,1: 86:[73, 49, 36] Operation: 63-27=36 Moving to Node #0,1 Current State: 86:[73, 49, 36], Operations: ['63-27=36'] Exploring Operation: 73-36=37, Resulting Numbers: [49, 37] Generated Node #0,1,2: 86:[49, 37] Operation: 73-36=37 Moving to Node #0,1,2 Current State: 86:[49, 37], Operations: ['63-27=36', '73-36=37'] Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 85, 75, 2, 89 ]
94
[ "85-75=10", "10/2=5", "89+5=94" ]
Current State: 94:[85, 75, 2, 89], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [2, 89, 10] Generated Node #2: [2, 89, 10] from Operation: 85-75=10 Current State: 94:[2, 89, 10], Operations: ['85-75=10'] Exploring Operation: 10/2=5, Resulting Numbers: [89, 5] Generated Node #3: [89, 5] from Operation: 10/2=5 Current State: 94:[89, 5], Operations: ['85-75=10', '10/2=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[85, 75, 2, 89], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [2, 89, 10] Generated Node #0,0: 94:[2, 89, 10] Operation: 85-75=10 Exploring Operation: 89-85=4, Resulting Numbers: [75, 2, 4] Generated Node #0,1: 94:[75, 2, 4] Operation: 89-85=4 Exploring Operation: 85+2=87, Resulting Numbers: [75, 89, 87] Generated Node #0,2: 94:[75, 89, 87] Operation: 85+2=87 Exploring Operation: 89-75=14, Resulting Numbers: [85, 2, 14] Generated Node #0,3: 94:[85, 2, 14] Operation: 89-75=14 Moving to Node #0,0 Current State: 94:[2, 89, 10], Operations: ['85-75=10'] Exploring Operation: 10/2=5, Resulting Numbers: [89, 5] Generated Node #0,0,0: 94:[89, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [89, 8] Generated Node #0,0,1: 94:[89, 8] Operation: 10-2=8 Exploring Operation: 89+10=99, Resulting Numbers: [2, 99] Generated Node #0,0,2: 94:[2, 99] Operation: 89+10=99 Exploring Operation: 2+89=91, Resulting Numbers: [10, 91] Generated Node #0,0,3: 94:[10, 91] Operation: 2+89=91 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[2, 99], Operations: ['85-75=10', '89+10=99'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 2*99=198, Resulting Numbers: [198] 198,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:[89, 5], Operations: ['85-75=10', '10/2=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,94 unequal: No Solution Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[85, 75, 2, 89], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [2, 89, 10] Generated Node #0,0: 94:[2, 89, 10] Operation: 85-75=10 Moving to Node #0,0 Current State: 94:[2, 89, 10], Operations: ['85-75=10'] Exploring Operation: 10/2=5, Resulting Numbers: [89, 5] Generated Node #0,0,0: 94:[89, 5] Operation: 10/2=5 Moving to Node #0,0,0 Current State: 94:[89, 5], Operations: ['85-75=10', '10/2=5'] Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 51, 57, 6, 76 ]
88
[ "57-51=6", "6+76=82", "6+82=88" ]
Current State: 88:[51, 57, 6, 76], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [6, 76, 6] Generated Node #2: [6, 76, 6] from Operation: 57-51=6 Current State: 88:[6, 76, 6], Operations: ['57-51=6'] Exploring Operation: 6+76=82, Resulting Numbers: [82] 82,88 equal: Goal Reached Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[51, 57, 6, 76], Operations: [] Exploring Operation: 76-57=19, Resulting Numbers: [51, 6, 19] Generated Node #0,0: 88:[51, 6, 19] Operation: 76-57=19 Exploring Operation: 76-51=25, Resulting Numbers: [57, 6, 25] Generated Node #0,1: 88:[57, 6, 25] Operation: 76-51=25 Exploring Operation: 57-51=6, Resulting Numbers: [6, 76, 6] Generated Node #0,2: 88:[6, 76, 6] Operation: 57-51=6 Exploring Operation: 51-6=45, Resulting Numbers: [57, 76, 45] Generated Node #0,3: 88:[57, 76, 45] Operation: 51-6=45 Moving to Node #0,0 Current State: 88:[51, 6, 19], Operations: ['76-57=19'] Exploring Operation: 51-19=32, Resulting Numbers: [6, 32] Generated Node #0,0,0: 88:[6, 32] Operation: 51-19=32 Exploring Operation: 6+19=25, Resulting Numbers: [51, 25] Generated Node #0,0,1: 88:[51, 25] Operation: 6+19=25 Exploring Operation: 51-6=45, Resulting Numbers: [19, 45] Generated Node #0,0,2: 88:[19, 45] Operation: 51-6=45 Exploring Operation: 19-6=13, Resulting Numbers: [51, 13] Generated Node #0,0,3: 88:[51, 13] Operation: 19-6=13 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[19, 45], Operations: ['76-57=19', '51-6=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,88 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,88 unequal: No Solution No 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: 88:[51, 13], Operations: ['76-57=19', '19-6=13'] Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,88 unequal: No Solution Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,88 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,88 unequal: No Solution No 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: 88:[51, 25], Operations: ['76-57=19', '6+19=25'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,88 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,88 unequal: No Solution No 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: 88:[6, 32], Operations: ['76-57=19', '51-19=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,88 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,88 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: 88:[6, 76, 6], Operations: ['57-51=6'] Exploring Operation: 6/6=1, Resulting Numbers: [76, 1] Generated Node #0,2,0: 88:[76, 1] Operation: 6/6=1 Exploring Operation: 6+6=12, Resulting Numbers: [76, 12] Generated Node #0,2,1: 88:[76, 12] Operation: 6+6=12 Exploring Operation: 6+76=82, Resulting Numbers: [6, 82] Generated Node #0,2,2: 88:[6, 82] Operation: 6+76=82 Exploring Operation: 76+6=82, Resulting Numbers: [6, 82] Generated Node #0,2,3: 88:[6, 82] Operation: 76+6=82 Moving to Node #0,1 Current State: 88:[57, 6, 25], Operations: ['76-51=25'] Exploring Operation: 57-6=51, Resulting Numbers: [25, 51] Generated Node #0,1,0: 88:[25, 51] Operation: 57-6=51 Exploring Operation: 57-25=32, Resulting Numbers: [6, 32] Generated Node #0,1,1: 88:[6, 32] Operation: 57-25=32 Exploring Operation: 25-6=19, Resulting Numbers: [57, 19] Generated Node #0,1,2: 88:[57, 19] Operation: 25-6=19 Exploring Operation: 57+25=82, Resulting Numbers: [6, 82] Generated Node #0,1,3: 88:[6, 82] Operation: 57+25=82 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[6, 82], Operations: ['76-51=25', '57+25=82'] Exploring Operation: 6*82=492, Resulting Numbers: [492] 492,88 unequal: No Solution Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[51, 57, 6, 76], Operations: [] Exploring Operation: 76-51=25, Resulting Numbers: [57, 6, 25] Generated Node #0,1: 88:[57, 6, 25] Operation: 76-51=25 Moving to Node #0,1 Current State: 88:[57, 6, 25], Operations: ['76-51=25'] Exploring Operation: 57+25=82, Resulting Numbers: [6, 82] Generated Node #0,1,3: 88:[6, 82] Operation: 57+25=82 Moving to Node #0,1,3 Current State: 88:[6, 82], Operations: ['76-51=25', '57+25=82'] Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 86, 8, 22, 11 ]
36
[ "86+22=108", "11-8=3", "108/3=36" ]
Current State: 36:[86, 8, 22, 11], Operations: [] Exploring Operation: 86+22=108, Resulting Numbers: [8, 11, 108] Generated Node #2: [8, 11, 108] from Operation: 86+22=108 Current State: 36:[8, 11, 108], Operations: ['86+22=108'] Exploring Operation: 11-8=3, Resulting Numbers: [108, 3] Generated Node #3: [108, 3] from Operation: 11-8=3 Current State: 36:[108, 3], Operations: ['86+22=108', '11-8=3'] Exploring Operation: 108/3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[86, 8, 22, 11], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [86, 8, 2] Generated Node #0,0: 36:[86, 8, 2] Operation: 22/11=2 Exploring Operation: 86-11=75, Resulting Numbers: [8, 22, 75] Generated Node #0,1: 36:[8, 22, 75] Operation: 86-11=75 Exploring Operation: 86-22=64, Resulting Numbers: [8, 11, 64] Generated Node #0,2: 36:[8, 11, 64] Operation: 86-22=64 Exploring Operation: 86-8=78, Resulting Numbers: [22, 11, 78] Generated Node #0,3: 36:[22, 11, 78] Operation: 86-8=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[8, 11, 64], Operations: ['86-22=64'] Exploring Operation: 64/8=8, Resulting Numbers: [11, 8] Generated Node #0,2,0: 36:[11, 8] Operation: 64/8=8 Exploring Operation: 11-8=3, Resulting Numbers: [64, 3] Generated Node #0,2,1: 36:[64, 3] Operation: 11-8=3 Exploring Operation: 64-8=56, Resulting Numbers: [11, 56] Generated Node #0,2,2: 36:[11, 56] Operation: 64-8=56 Exploring Operation: 64-11=53, Resulting Numbers: [8, 53] Generated Node #0,2,3: 36:[8, 53] Operation: 64-11=53 Moving to Node #0,2,0 Current State: 36:[11, 8], Operations: ['86-22=64', '64/8=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,36 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[8, 53], Operations: ['86-22=64', '64-11=53'] Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,36 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[11, 56], Operations: ['86-22=64', '64-8=56'] Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,36 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[64, 3], Operations: ['86-22=64', '11-8=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,36 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,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 Current State: 36:[8, 22, 75], Operations: ['86-11=75'] Exploring Operation: 22-8=14, Resulting Numbers: [75, 14] Generated Node #0,1,0: 36:[75, 14] Operation: 22-8=14 Exploring Operation: 75-22=53, Resulting Numbers: [8, 53] Generated Node #0,1,1: 36:[8, 53] Operation: 75-22=53 Exploring Operation: 8+22=30, Resulting Numbers: [75, 30] Generated Node #0,1,2: 36:[75, 30] Operation: 8+22=30 Exploring Operation: 75-8=67, Resulting Numbers: [22, 67] Generated Node #0,1,3: 36:[22, 67] Operation: 75-8=67 Moving to Node #0,1,1 Current State: 36:[8, 53], Operations: ['86-11=75', '75-22=53'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[22, 67], Operations: ['86-11=75', '75-8=67'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,36 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[75, 14], Operations: ['86-11=75', '22-8=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,36 unequal: No Solution Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[75, 30], Operations: ['86-11=75', '8+22=30'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,36 unequal: No Solution Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,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 Current State: 36:[22, 11, 78], Operations: ['86-8=78'] Exploring Operation: 22/11=2, Resulting Numbers: [78, 2] Generated Node #0,3,0: 36:[78, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [78, 11] Generated Node #0,3,1: 36:[78, 11] Operation: 22-11=11 Exploring Operation: 78-22=56, Resulting Numbers: [11, 56] Generated Node #0,3,2: 36:[11, 56] Operation: 78-22=56 Exploring Operation: 78-11=67, Resulting Numbers: [22, 67] Generated Node #0,3,3: 36:[22, 67] Operation: 78-11=67 Moving to Node #0,3,2 Current State: 36:[11, 56], Operations: ['86-8=78', '78-22=56'] Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,36 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[22, 67], Operations: ['86-8=78', '78-11=67'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,36 unequal: No Solution Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[78, 2], Operations: ['86-8=78', '22/11=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,36 unequal: No Solution Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,36 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[78, 11], Operations: ['86-8=78', '22-11=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,36 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[86, 8, 2], Operations: ['22/11=2'] Exploring Operation: 8-2=6, Resulting Numbers: [86, 6] Generated Node #0,0,0: 36:[86, 6] Operation: 8-2=6 Exploring Operation: 86/2=43, Resulting Numbers: [8, 43] Generated Node #0,0,1: 36:[8, 43] Operation: 86/2=43 Exploring Operation: 86-2=84, Resulting Numbers: [8, 84] Generated Node #0,0,2: 36:[8, 84] Operation: 86-2=84 Exploring Operation: 86-8=78, Resulting Numbers: [2, 78] Generated Node #0,0,3: 36:[2, 78] Operation: 86-8=78 Moving to Node #0,0,1 Current State: 36:[8, 43], Operations: ['22/11=2', '86/2=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,36 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[2, 78], Operations: ['22/11=2', '86-8=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,36 unequal: No Solution Exploring Operation: 2*78=156, Resulting Numbers: [156] 156,36 unequal: No Solution Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[8, 84], Operations: ['22/11=2', '86-2=84'] Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,36 unequal: No Solution Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[86, 6], Operations: ['22/11=2', '8-2=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,36 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 48, 4, 43, 37 ]
57
[ "48+43=91", "4*37=148", "148-91=57" ]
Current State: 57:[48, 4, 43, 37], Operations: [] Exploring Operation: 48+43=91, Resulting Numbers: [4, 37, 91] Generated Node #2: [4, 37, 91] from Operation: 48+43=91 Current State: 57:[4, 37, 91], Operations: ['48+43=91'] Exploring Operation: 4*37=148, Resulting Numbers: [91, 148] Generated Node #3: [91, 148] from Operation: 4*37=148 Current State: 57:[91, 148], Operations: ['48+43=91', '4*37=148'] Exploring Operation: 148-91=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[48, 4, 43, 37], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [4, 37, 5] Generated Node #0,0: 57:[4, 37, 5] Operation: 48-43=5 Exploring Operation: 43-37=6, Resulting Numbers: [48, 4, 6] Generated Node #0,1: 57:[48, 4, 6] Operation: 43-37=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[48, 4, 6], Operations: ['43-37=6'] Exploring Operation: 48+6=54, Resulting Numbers: [4, 54] Generated Node #0,1,0: 57:[4, 54] Operation: 48+6=54 Exploring Operation: 48/6=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 57:[4, 8] Operation: 48/6=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[4, 54], Operations: ['43-37=6', '48+6=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[4, 8], Operations: ['43-37=6', '48/6=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[4, 37, 5], Operations: ['48-43=5'] Exploring Operation: 37-4=33, Resulting Numbers: [5, 33] Generated Node #0,0,0: 57:[5, 33] Operation: 37-4=33 Exploring Operation: 37-5=32, Resulting Numbers: [4, 32] Generated Node #0,0,1: 57:[4, 32] Operation: 37-5=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[4, 32], Operations: ['48-43=5', '37-5=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[5, 33], Operations: ['48-43=5', '37-4=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 36, 54, 62, 23 ]
67
[ "54-36=18", "62+23=85", "85-18=67" ]
Current State: 67:[36, 54, 62, 23], Operations: [] Exploring Operation: 54-36=18, Resulting Numbers: [62, 23, 18] Generated Node #2: [62, 23, 18] from Operation: 54-36=18 Current State: 67:[62, 23, 18], Operations: ['54-36=18'] Exploring Operation: 62+23=85, Resulting Numbers: [18, 85] Generated Node #3: [18, 85] from Operation: 62+23=85 Current State: 67:[18, 85], Operations: ['54-36=18', '62+23=85'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[36, 54, 62, 23], Operations: [] Exploring Operation: 54+23=77, Resulting Numbers: [36, 62, 77] Generated Node #0,0: 67:[36, 62, 77] Operation: 54+23=77 Exploring Operation: 36+23=59, Resulting Numbers: [54, 62, 59] Generated Node #0,1: 67:[54, 62, 59] Operation: 36+23=59 Moving to Node #0,1 Current State: 67:[54, 62, 59], Operations: ['36+23=59'] Exploring Operation: 54+62=116, Resulting Numbers: [59, 116] Generated Node #0,1,0: 67:[59, 116] Operation: 54+62=116 Exploring Operation: 54+59=113, Resulting Numbers: [62, 113] Generated Node #0,1,1: 67:[62, 113] Operation: 54+59=113 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[62, 113], Operations: ['36+23=59', '54+59=113'] Exploring Operation: 62+113=175, Resulting Numbers: [175] 175,67 unequal: No Solution Exploring Operation: 113-62=51, Resulting Numbers: [51] 51,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[59, 116], Operations: ['36+23=59', '54+62=116'] Exploring Operation: 116-59=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 59+116=175, Resulting Numbers: [175] 175,67 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: 67:[36, 62, 77], Operations: ['54+23=77'] Exploring Operation: 77-36=41, Resulting Numbers: [62, 41] Generated Node #0,0,0: 67:[62, 41] Operation: 77-36=41 Exploring Operation: 36+62=98, Resulting Numbers: [77, 98] Generated Node #0,0,1: 67:[77, 98] Operation: 36+62=98 Moving to Node #0,0,0 Current State: 67:[62, 41], Operations: ['54+23=77', '77-36=41'] Exploring Operation: 62+41=103, Resulting Numbers: [103] 103,67 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[77, 98], Operations: ['54+23=77', '36+62=98'] Exploring Operation: 77+98=175, Resulting Numbers: [175] 175,67 unequal: No Solution Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,67 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 34, 23, 43 ]
46
[ "78+34=112", "23+43=66", "112-66=46" ]
Current State: 46:[78, 34, 23, 43], Operations: [] Exploring Operation: 78+34=112, Resulting Numbers: [23, 43, 112] Generated Node #2: [23, 43, 112] from Operation: 78+34=112 Current State: 46:[23, 43, 112], Operations: ['78+34=112'] Exploring Operation: 23+43=66, Resulting Numbers: [112, 66] Generated Node #3: [112, 66] from Operation: 23+43=66 Current State: 46:[112, 66], Operations: ['78+34=112', '23+43=66'] Exploring Operation: 112-66=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[78, 34, 23, 43], Operations: [] Exploring Operation: 78-23=55, Resulting Numbers: [34, 43, 55] Generated Node #0,0: 46:[34, 43, 55] Operation: 78-23=55 Exploring Operation: 43-34=9, Resulting Numbers: [78, 23, 9] Generated Node #0,1: 46:[78, 23, 9] Operation: 43-34=9 Exploring Operation: 34-23=11, Resulting Numbers: [78, 43, 11] Generated Node #0,2: 46:[78, 43, 11] Operation: 34-23=11 Exploring Operation: 78-34=44, Resulting Numbers: [23, 43, 44] Generated Node #0,3: 46:[23, 43, 44] Operation: 78-34=44 Exploring Operation: 78-43=35, Resulting Numbers: [34, 23, 35] Generated Node #0,4: 46:[34, 23, 35] Operation: 78-43=35 Moving to Node #0,3 Current State: 46:[23, 43, 44], Operations: ['78-34=44'] Exploring Operation: 23+44=67, Resulting Numbers: [43, 67] Generated Node #0,3,0: 46:[43, 67] Operation: 23+44=67 Exploring Operation: 43-23=20, Resulting Numbers: [44, 20] Generated Node #0,3,1: 46:[44, 20] Operation: 43-23=20 Exploring Operation: 23+43=66, Resulting Numbers: [44, 66] Generated Node #0,3,2: 46:[44, 66] Operation: 23+43=66 Exploring Operation: 44-43=1, Resulting Numbers: [23, 1] Generated Node #0,3,3: 46:[23, 1] Operation: 44-43=1 Exploring Operation: 44-23=21, Resulting Numbers: [43, 21] Generated Node #0,3,4: 46:[43, 21] Operation: 44-23=21 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[23, 1], Operations: ['78-34=44', '44-43=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[44, 20], Operations: ['78-34=44', '43-23=20'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,46 unequal: No Solution Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[43, 21], Operations: ['78-34=44', '44-23=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,46 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[44, 66], Operations: ['78-34=44', '23+43=66'] Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,46 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[43, 67], Operations: ['78-34=44', '23+44=67'] Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,46 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 46:[34, 23, 35], Operations: ['78-43=35'] Exploring Operation: 34+35=69, Resulting Numbers: [23, 69] Generated Node #0,4,0: 46:[23, 69] Operation: 34+35=69 Exploring Operation: 34-23=11, Resulting Numbers: [35, 11] Generated Node #0,4,1: 46:[35, 11] Operation: 34-23=11 Exploring Operation: 35-23=12, Resulting Numbers: [34, 12] Generated Node #0,4,2: 46:[34, 12] Operation: 35-23=12 Exploring Operation: 35-34=1, Resulting Numbers: [23, 1] Generated Node #0,4,3: 46:[23, 1] Operation: 35-34=1 Exploring Operation: 34+23=57, Resulting Numbers: [35, 57] Generated Node #0,4,4: 46:[35, 57] Operation: 34+23=57 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[23, 1], Operations: ['78-43=35', '35-34=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 46:[35, 11], Operations: ['78-43=35', '34-23=11'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[78, 34, 23, 43], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [34, 23, 35] Generated Node #0,4: 46:[34, 23, 35] Operation: 78-43=35 Moving to Node #0,4 Current State: 46:[34, 23, 35], Operations: ['78-43=35'] Exploring Operation: 34-23=11, Resulting Numbers: [35, 11] Generated Node #0,4,1: 46:[35, 11] Operation: 34-23=11 Moving to Node #0,4,1 Current State: 46:[35, 11], Operations: ['78-43=35', '34-23=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 60, 82, 61, 6 ]
77
[ "82-60=22", "61-6=55", "22+55=77" ]
Current State: 77:[60, 82, 61, 6], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [61, 6, 22] Generated Node #2: [61, 6, 22] from Operation: 82-60=22 Current State: 77:[61, 6, 22], Operations: ['82-60=22'] Exploring Operation: 61-6=55, Resulting Numbers: [22, 55] Generated Node #3: [22, 55] from Operation: 61-6=55 Current State: 77:[22, 55], Operations: ['82-60=22', '61-6=55'] Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[60, 82, 61, 6], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [61, 6, 22] Generated Node #0,0: 77:[61, 6, 22] Operation: 82-60=22 Exploring Operation: 60/6=10, Resulting Numbers: [82, 61, 10] Generated Node #0,1: 77:[82, 61, 10] Operation: 60/6=10 Exploring Operation: 82-61=21, Resulting Numbers: [60, 6, 21] Generated Node #0,2: 77:[60, 6, 21] Operation: 82-61=21 Exploring Operation: 61-60=1, Resulting Numbers: [82, 6, 1] Generated Node #0,3: 77:[82, 6, 1] Operation: 61-60=1 Moving to Node #0,3 Current State: 77:[82, 6, 1], Operations: ['61-60=1'] Exploring Operation: 82-1=81, Resulting Numbers: [6, 81] Generated Node #0,3,0: 77:[6, 81] Operation: 82-1=81 Exploring Operation: 6+1=7, Resulting Numbers: [82, 7] Generated Node #0,3,1: 77:[82, 7] Operation: 6+1=7 Exploring Operation: 82/1=82, Resulting Numbers: [6, 82] Generated Node #0,3,2: 77:[6, 82] Operation: 82/1=82 Exploring Operation: 82*1=82, Resulting Numbers: [6, 82] Generated Node #0,3,3: 77:[6, 82] Operation: 82*1=82 Moving to Node #0,1 Current State: 77:[82, 61, 10], Operations: ['60/6=10'] Exploring Operation: 82-10=72, Resulting Numbers: [61, 72] Generated Node #0,1,0: 77:[61, 72] Operation: 82-10=72 Exploring Operation: 61+10=71, Resulting Numbers: [82, 71] Generated Node #0,1,1: 77:[82, 71] Operation: 61+10=71 Exploring Operation: 82-61=21, Resulting Numbers: [10, 21] Generated Node #0,1,2: 77:[10, 21] Operation: 82-61=21 Exploring Operation: 82+10=92, Resulting Numbers: [61, 92] Generated Node #0,1,3: 77:[61, 92] Operation: 82+10=92 Moving to Node #0,2 Current State: 77:[60, 6, 21], Operations: ['82-61=21'] Exploring Operation: 60+6=66, Resulting Numbers: [21, 66] Generated Node #0,2,0: 77:[21, 66] Operation: 60+6=66 Exploring Operation: 60+21=81, Resulting Numbers: [6, 81] Generated Node #0,2,1: 77:[6, 81] Operation: 60+21=81 Exploring Operation: 21-6=15, Resulting Numbers: [60, 15] Generated Node #0,2,2: 77:[60, 15] Operation: 21-6=15 Exploring Operation: 60/6=10, Resulting Numbers: [21, 10] Generated Node #0,2,3: 77:[21, 10] Operation: 60/6=10 Moving to Node #0,0 Current State: 77:[61, 6, 22], Operations: ['82-60=22'] Exploring Operation: 61-22=39, Resulting Numbers: [6, 39] Generated Node #0,0,0: 77:[6, 39] Operation: 61-22=39 Exploring Operation: 61+22=83, Resulting Numbers: [6, 83] Generated Node #0,0,1: 77:[6, 83] Operation: 61+22=83 Exploring Operation: 22-6=16, Resulting Numbers: [61, 16] Generated Node #0,0,2: 77:[61, 16] Operation: 22-6=16 Exploring Operation: 61+6=67, Resulting Numbers: [22, 67] Generated Node #0,0,3: 77:[22, 67] Operation: 61+6=67 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[6, 83], Operations: ['82-60=22', '61+22=83'] Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[60, 82, 61, 6], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [61, 6, 22] Generated Node #0,0: 77:[61, 6, 22] Operation: 82-60=22 Moving to Node #0,0 Current State: 77:[61, 6, 22], Operations: ['82-60=22'] Exploring Operation: 61+22=83, Resulting Numbers: [6, 83] Generated Node #0,0,1: 77:[6, 83] Operation: 61+22=83 Moving to Node #0,0,1 Current State: 77:[6, 83], Operations: ['82-60=22', '61+22=83'] Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 21, 73, 12, 70 ]
25
[ "73-70=3", "12/3=4", "21+4=25" ]
Current State: 25:[21, 73, 12, 70], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [21, 12, 3] Generated Node #2: [21, 12, 3] from Operation: 73-70=3 Current State: 25:[21, 12, 3], Operations: ['73-70=3'] Exploring Operation: 12/3=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 12/3=4 Current State: 25:[21, 4], Operations: ['73-70=3', '12/3=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[21, 73, 12, 70], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [21, 12, 3] Generated Node #0,0: 25:[21, 12, 3] Operation: 73-70=3 Moving to Node #0,0 Current State: 25:[21, 12, 3], Operations: ['73-70=3'] Exploring Operation: 12/3=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 25:[21, 4] Operation: 12/3=4 Moving to Node #0,0,0 Current State: 25:[21, 4], Operations: ['73-70=3', '12/3=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[21, 73, 12, 70], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [21, 12, 3] Generated Node #0,0: 25:[21, 12, 3] Operation: 73-70=3 Moving to Node #0,0 Current State: 25:[21, 12, 3], Operations: ['73-70=3'] Exploring Operation: 12/3=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 25:[21, 4] Operation: 12/3=4 Moving to Node #0,0,0 Current State: 25:[21, 4], Operations: ['73-70=3', '12/3=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 4, 52, 74, 2 ]
13
[ "52-4=48", "74-48=26", "26/2=13" ]
Current State: 13:[4, 52, 74, 2], Operations: [] Exploring Operation: 52-4=48, Resulting Numbers: [74, 2, 48] Generated Node #2: [74, 2, 48] from Operation: 52-4=48 Current State: 13:[74, 2, 48], Operations: ['52-4=48'] Exploring Operation: 74-48=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 74-48=26 Current State: 13:[2, 26], Operations: ['52-4=48', '74-48=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[4, 52, 74, 2], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [4, 74, 26] Generated Node #0,0: 13:[4, 74, 26] Operation: 52/2=26 Exploring Operation: 74-52=22, Resulting Numbers: [4, 2, 22] Generated Node #0,1: 13:[4, 2, 22] Operation: 74-52=22 Exploring Operation: 4*2=8, Resulting Numbers: [52, 74, 8] Generated Node #0,2: 13:[52, 74, 8] Operation: 4*2=8 Exploring Operation: 52/4=13, Resulting Numbers: [74, 2, 13] Generated Node #0,3: 13:[74, 2, 13] Operation: 52/4=13 Exploring Operation: 74/2=37, Resulting Numbers: [4, 52, 37] Generated Node #0,4: 13:[4, 52, 37] Operation: 74/2=37 Moving to Node #0,1 Current State: 13:[4, 2, 22], Operations: ['74-52=22'] Exploring Operation: 4*2=8, Resulting Numbers: [22, 8] Generated Node #0,1,0: 13:[22, 8] Operation: 4*2=8 Exploring Operation: 22/2=11, Resulting Numbers: [4, 11] Generated Node #0,1,1: 13:[4, 11] Operation: 22/2=11 Exploring Operation: 22-2=20, Resulting Numbers: [4, 20] Generated Node #0,1,2: 13:[4, 20] Operation: 22-2=20 Exploring Operation: 4+2=6, Resulting Numbers: [22, 6] Generated Node #0,1,3: 13:[22, 6] Operation: 4+2=6 Exploring Operation: 22-4=18, Resulting Numbers: [2, 18] Generated Node #0,1,4: 13:[2, 18] Operation: 22-4=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[4, 11], Operations: ['74-52=22', '22/2=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[22, 8], Operations: ['74-52=22', '4*2=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,13 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[4, 20], Operations: ['74-52=22', '22-2=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,13 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[22, 6], Operations: ['74-52=22', '4+2=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,13 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 13:[2, 18], Operations: ['74-52=22', '22-4=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 13:[4, 52, 37], Operations: ['74/2=37'] Exploring Operation: 52-4=48, Resulting Numbers: [37, 48] Generated Node #0,4,0: 13:[37, 48] Operation: 52-4=48 Exploring Operation: 37-4=33, Resulting Numbers: [52, 33] Generated Node #0,4,1: 13:[52, 33] Operation: 37-4=33 Exploring Operation: 4+52=56, Resulting Numbers: [37, 56] Generated Node #0,4,2: 13:[37, 56] Operation: 4+52=56 Exploring Operation: 52/4=13, Resulting Numbers: [37, 13] Generated Node #0,4,3: 13:[37, 13] Operation: 52/4=13 Exploring Operation: 52-37=15, Resulting Numbers: [4, 15] Generated Node #0,4,4: 13:[4, 15] Operation: 52-37=15 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 13:[4, 15], Operations: ['74/2=37', '52-37=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 13:[37, 13], Operations: ['74/2=37', '52/4=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,13 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 13:[37, 48], Operations: ['74/2=37', '52-4=48'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,13 unequal: No Solution Exploring Operation: 37*48=1776, Resulting Numbers: [1776] 1776,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 13:[52, 33], Operations: ['74/2=37', '37-4=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,13 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 13:[37, 56], Operations: ['74/2=37', '4+52=56'] Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,13 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,13 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: 13:[74, 2, 13], Operations: ['52/4=13'] Exploring Operation: 74-2=72, Resulting Numbers: [13, 72] Generated Node #0,3,0: 13:[13, 72] Operation: 74-2=72 Exploring Operation: 74-13=61, Resulting Numbers: [2, 61] Generated Node #0,3,1: 13:[2, 61] Operation: 74-13=61 Exploring Operation: 74+2=76, Resulting Numbers: [13, 76] Generated Node #0,3,2: 13:[13, 76] Operation: 74+2=76 Exploring Operation: 74/2=37, Resulting Numbers: [13, 37] Generated Node #0,3,3: 13:[13, 37] Operation: 74/2=37 Exploring Operation: 2+13=15, Resulting Numbers: [74, 15] Generated Node #0,3,4: 13:[74, 15] Operation: 2+13=15 Moving to Node #0,0 Current State: 13:[4, 74, 26], Operations: ['52/2=26'] Exploring Operation: 4+74=78, Resulting Numbers: [26, 78] Generated Node #0,0,0: 13:[26, 78] Operation: 4+74=78 Exploring Operation: 74-4=70, Resulting Numbers: [26, 70] Generated Node #0,0,1: 13:[26, 70] Operation: 74-4=70 Exploring Operation: 74-26=48, Resulting Numbers: [4, 48] Generated Node #0,0,2: 13:[4, 48] Operation: 74-26=48 Exploring Operation: 4+26=30, Resulting Numbers: [74, 30] Generated Node #0,0,3: 13:[74, 30] Operation: 4+26=30 Exploring Operation: 26-4=22, Resulting Numbers: [74, 22] Generated Node #0,0,4: 13:[74, 22] Operation: 26-4=22 Moving to Node #0,2 Current State: 13:[52, 74, 8], Operations: ['4*2=8'] Exploring Operation: 74+8=82, Resulting Numbers: [52, 82] Generated Node #0,2,0: 13:[52, 82] Operation: 74+8=82 Exploring Operation: 74-8=66, Resulting Numbers: [52, 66] Generated Node #0,2,1: 13:[52, 66] Operation: 74-8=66 Exploring Operation: 52+8=60, Resulting Numbers: [74, 60] Generated Node #0,2,2: 13:[74, 60] Operation: 52+8=60 Exploring Operation: 52-8=44, Resulting Numbers: [74, 44] Generated Node #0,2,3: 13:[74, 44] Operation: 52-8=44 Exploring Operation: 74-52=22, Resulting Numbers: [8, 22] Generated Node #0,2,4: 13:[8, 22] Operation: 74-52=22 Moving to Node #0,2,4 Current State: 13:[8, 22], Operations: ['4*2=8', '74-52=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,13 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[13, 37], Operations: ['52/4=13', '74/2=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,13 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[4, 48], Operations: ['52/2=26', '74-26=48'] Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,13 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[2, 61], Operations: ['52/4=13', '74-13=61'] Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,13 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[13, 72], Operations: ['52/4=13', '74-2=72'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,13 unequal: No Solution Exploring Operation: 13*72=936, Resulting Numbers: [936] 936,13 unequal: No Solution Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[74, 15], Operations: ['52/4=13', '2+13=15'] Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,13 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,13 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[13, 76], Operations: ['52/4=13', '74+2=76'] Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,13 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,13 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[26, 70], Operations: ['52/2=26', '74-4=70'] Exploring Operation: 26+70=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 26*70=1820, Resulting Numbers: [1820] 1820,13 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[74, 22], Operations: ['52/2=26', '26-4=22'] Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,13 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[74, 30], Operations: ['52/2=26', '4+26=30'] Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,13 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[26, 78], Operations: ['52/2=26', '4+74=78'] Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 26+78=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 26*78=2028, Resulting Numbers: [2028] 2028,13 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[74, 44], Operations: ['4*2=8', '52-8=44'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,13 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[52, 66], Operations: ['4*2=8', '74-8=66'] Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,13 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[52, 82], Operations: ['4*2=8', '74+8=82'] Exploring Operation: 52+82=134, Resulting Numbers: [134] 134,13 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 52*82=4264, Resulting Numbers: [4264] 4264,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[74, 60], Operations: ['4*2=8', '52+8=60'] Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,13 unequal: No Solution Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,13 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,13 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 36, 27, 7 ]
34
[ "36-22=14", "27-7=20", "14+20=34" ]
Current State: 34:[22, 36, 27, 7], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [27, 7, 14] Generated Node #2: [27, 7, 14] from Operation: 36-22=14 Current State: 34:[27, 7, 14], Operations: ['36-22=14'] Exploring Operation: 27-7=20, Resulting Numbers: [14, 20] Generated Node #3: [14, 20] from Operation: 27-7=20 Current State: 34:[14, 20], Operations: ['36-22=14', '27-7=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[22, 36, 27, 7], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [36, 7, 5] Generated Node #0,0: 34:[36, 7, 5] Operation: 27-22=5 Exploring Operation: 27-7=20, Resulting Numbers: [22, 36, 20] Generated Node #0,1: 34:[22, 36, 20] Operation: 27-7=20 Exploring Operation: 22+7=29, Resulting Numbers: [36, 27, 29] Generated Node #0,2: 34:[36, 27, 29] Operation: 22+7=29 Exploring Operation: 27+7=34, Resulting Numbers: [22, 36, 34] Generated Node #0,3: 34:[22, 36, 34] Operation: 27+7=34 Exploring Operation: 22-7=15, Resulting Numbers: [36, 27, 15] Generated Node #0,4: 34:[36, 27, 15] Operation: 22-7=15 Moving to Node #0,3 Current State: 34:[22, 36, 34], Operations: ['27+7=34'] Exploring Operation: 22+36=58, Resulting Numbers: [34, 58] Generated Node #0,3,0: 34:[34, 58] Operation: 22+36=58 Exploring Operation: 22+34=56, Resulting Numbers: [36, 56] Generated Node #0,3,1: 34:[36, 56] Operation: 22+34=56 Exploring Operation: 34-22=12, Resulting Numbers: [36, 12] Generated Node #0,3,2: 34:[36, 12] Operation: 34-22=12 Exploring Operation: 36-34=2, Resulting Numbers: [22, 2] Generated Node #0,3,3: 34:[22, 2] Operation: 36-34=2 Exploring Operation: 36-22=14, Resulting Numbers: [34, 14] Generated Node #0,3,4: 34:[34, 14] Operation: 36-22=14 Moving to Node #0,1 Current State: 34:[22, 36, 20], Operations: ['27-7=20'] Exploring Operation: 22+20=42, Resulting Numbers: [36, 42] Generated Node #0,1,0: 34:[36, 42] Operation: 22+20=42 Exploring Operation: 22-20=2, Resulting Numbers: [36, 2] Generated Node #0,1,1: 34:[36, 2] Operation: 22-20=2 Exploring Operation: 36-20=16, Resulting Numbers: [22, 16] Generated Node #0,1,2: 34:[22, 16] Operation: 36-20=16 Exploring Operation: 22+36=58, Resulting Numbers: [20, 58] Generated Node #0,1,3: 34:[20, 58] Operation: 22+36=58 Exploring Operation: 36-22=14, Resulting Numbers: [20, 14] Generated Node #0,1,4: 34:[20, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[36, 2], Operations: ['27-7=20', '22-20=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[22, 36, 27, 7], Operations: [] Exploring Operation: 27-7=20, Resulting Numbers: [22, 36, 20] Generated Node #0,1: 34:[22, 36, 20] Operation: 27-7=20 Moving to Node #0,1 Current State: 34:[22, 36, 20], Operations: ['27-7=20'] Exploring Operation: 22-20=2, Resulting Numbers: [36, 2] Generated Node #0,1,1: 34:[36, 2] Operation: 22-20=2 Moving to Node #0,1,1 Current State: 34:[36, 2], Operations: ['27-7=20', '22-20=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 8, 92, 52, 99 ]
51
[ "8+92=100", "52+99=151", "151-100=51" ]
Current State: 51:[8, 92, 52, 99], Operations: [] Exploring Operation: 8+92=100, Resulting Numbers: [52, 99, 100] Generated Node #2: [52, 99, 100] from Operation: 8+92=100 Current State: 51:[52, 99, 100], Operations: ['8+92=100'] Exploring Operation: 52+99=151, Resulting Numbers: [100, 151] Generated Node #3: [100, 151] from Operation: 52+99=151 Current State: 51:[100, 151], Operations: ['8+92=100', '52+99=151'] Exploring Operation: 151-100=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[8, 92, 52, 99], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [8, 52, 7] Generated Node #0,0: 51:[8, 52, 7] Operation: 99-92=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[8, 52, 7], Operations: ['99-92=7'] Exploring Operation: 8+7=15, Resulting Numbers: [52, 15] Generated Node #0,0,0: 51:[52, 15] Operation: 8+7=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[52, 15], Operations: ['99-92=7', '8+7=15'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,51 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
[ 54, 72, 44, 18 ]
46
[ "54-18=36", "72/36=2", "44+2=46" ]
Current State: 46:[54, 72, 44, 18], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [72, 44, 36] Generated Node #2: [72, 44, 36] from Operation: 54-18=36 Current State: 46:[72, 44, 36], Operations: ['54-18=36'] Exploring Operation: 72/36=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 72/36=2 Current State: 46:[44, 2], Operations: ['54-18=36', '72/36=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[54, 72, 44, 18], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [44, 18, 18] Generated Node #0,0: 46:[44, 18, 18] Operation: 72-54=18 Exploring Operation: 72/18=4, Resulting Numbers: [54, 44, 4] Generated Node #0,1: 46:[54, 44, 4] Operation: 72/18=4 Moving to Node #0,0 Current State: 46:[44, 18, 18], Operations: ['72-54=18'] Exploring Operation: 18-18=0, Resulting Numbers: [44, 0] Generated Node #0,0,0: 46:[44, 0] Operation: 18-18=0 Exploring Operation: 18/18=1, Resulting Numbers: [44, 1] Generated Node #0,0,1: 46:[44, 1] Operation: 18/18=1 Moving to Node #0,1 Current State: 46:[54, 44, 4], Operations: ['72/18=4'] Exploring Operation: 54-4=50, Resulting Numbers: [44, 50] Generated Node #0,1,0: 46:[44, 50] Operation: 54-4=50 Exploring Operation: 54-44=10, Resulting Numbers: [4, 10] Generated Node #0,1,1: 46:[4, 10] Operation: 54-44=10 Moving to Node #0,0,1 Current State: 46:[44, 1], Operations: ['72-54=18', '18/18=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[44, 0], Operations: ['72-54=18', '18-18=0'] Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 44*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[44, 50], Operations: ['72/18=4', '54-4=50'] Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[4, 10], Operations: ['72/18=4', '54-44=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,46 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 26, 46, 24 ]
69
[ "62-26=36", "46*36=1656", "1656/24=69" ]
Current State: 69:[62, 26, 46, 24], Operations: [] Exploring Operation: 62-26=36, Resulting Numbers: [46, 24, 36] Generated Node #2: [46, 24, 36] from Operation: 62-26=36 Current State: 69:[46, 24, 36], Operations: ['62-26=36'] Exploring Operation: 46*36=1656, Resulting Numbers: [24, 1656] Generated Node #3: [24, 1656] from Operation: 46*36=1656 Current State: 69:[24, 1656], Operations: ['62-26=36', '46*36=1656'] Exploring Operation: 1656/24=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[62, 26, 46, 24], Operations: [] Exploring Operation: 26+46=72, Resulting Numbers: [62, 24, 72] Generated Node #0,0: 69:[62, 24, 72] Operation: 26+46=72 Exploring Operation: 62-46=16, Resulting Numbers: [26, 24, 16] Generated Node #0,1: 69:[26, 24, 16] Operation: 62-46=16 Exploring Operation: 46+24=70, Resulting Numbers: [62, 26, 70] Generated Node #0,2: 69:[62, 26, 70] Operation: 46+24=70 Exploring Operation: 46-26=20, Resulting Numbers: [62, 24, 20] Generated Node #0,3: 69:[62, 24, 20] Operation: 46-26=20 Moving to Node #0,0 Current State: 69:[62, 24, 72], Operations: ['26+46=72'] Exploring Operation: 62+24=86, Resulting Numbers: [72, 86] Generated Node #0,0,0: 69:[72, 86] Operation: 62+24=86 Exploring Operation: 72/24=3, Resulting Numbers: [62, 3] Generated Node #0,0,1: 69:[62, 3] Operation: 72/24=3 Exploring Operation: 62-24=38, Resulting Numbers: [72, 38] Generated Node #0,0,2: 69:[72, 38] Operation: 62-24=38 Exploring Operation: 72-62=10, Resulting Numbers: [24, 10] Generated Node #0,0,3: 69:[24, 10] Operation: 72-62=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[62, 3], Operations: ['26+46=72', '72/24=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,69 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,69 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,69 unequal: No Solution No 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: 69:[24, 10], Operations: ['26+46=72', '72-62=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,69 unequal: No Solution No 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: 69:[72, 38], Operations: ['26+46=72', '62-24=38'] Exploring Operation: 72+38=110, Resulting Numbers: [110] 110,69 unequal: No Solution Exploring Operation: 72*38=2736, Resulting Numbers: [2736] 2736,69 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,69 unequal: No Solution No 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: 69:[72, 86], Operations: ['26+46=72', '62+24=86'] Exploring Operation: 72+86=158, Resulting Numbers: [158] 158,69 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 72*86=6192, Resulting Numbers: [6192] 6192,69 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: 69:[62, 26, 70], Operations: ['46+24=70'] Exploring Operation: 70-62=8, Resulting Numbers: [26, 8] Generated Node #0,2,0: 69:[26, 8] Operation: 70-62=8 Exploring Operation: 70-26=44, Resulting Numbers: [62, 44] Generated Node #0,2,1: 69:[62, 44] Operation: 70-26=44 Exploring Operation: 62+26=88, Resulting Numbers: [70, 88] Generated Node #0,2,2: 69:[70, 88] Operation: 62+26=88 Exploring Operation: 62-26=36, Resulting Numbers: [70, 36] Generated Node #0,2,3: 69:[70, 36] Operation: 62-26=36 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[26, 8], Operations: ['46+24=70', '70-62=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,69 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,69 unequal: No Solution No 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: 69:[70, 36], Operations: ['46+24=70', '62-26=36'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,69 unequal: No Solution Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,69 unequal: No Solution No 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: 69:[70, 88], Operations: ['46+24=70', '62+26=88'] Exploring Operation: 70+88=158, Resulting Numbers: [158] 158,69 unequal: No Solution Exploring Operation: 70*88=6160, Resulting Numbers: [6160] 6160,69 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,69 unequal: No Solution No 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: 69:[62, 44], Operations: ['46+24=70', '70-26=44'] Exploring Operation: 62*44=2728, Resulting Numbers: [2728] 2728,69 unequal: No Solution Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 62+44=106, Resulting Numbers: [106] 106,69 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: 69:[26, 24, 16], Operations: ['62-46=16'] Exploring Operation: 26-24=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 69:[16, 2] Operation: 26-24=2 Exploring Operation: 26+16=42, Resulting Numbers: [24, 42] Generated Node #0,1,1: 69:[24, 42] Operation: 26+16=42 Exploring Operation: 24-16=8, Resulting Numbers: [26, 8] Generated Node #0,1,2: 69:[26, 8] Operation: 24-16=8 Exploring Operation: 26-16=10, Resulting Numbers: [24, 10] Generated Node #0,1,3: 69:[24, 10] Operation: 26-16=10 Moving to Node #0,3 Current State: 69:[62, 24, 20], Operations: ['46-26=20'] Exploring Operation: 62+20=82, Resulting Numbers: [24, 82] Generated Node #0,3,0: 69:[24, 82] Operation: 62+20=82 Exploring Operation: 24-20=4, Resulting Numbers: [62, 4] Generated Node #0,3,1: 69:[62, 4] Operation: 24-20=4 Exploring Operation: 62-24=38, Resulting Numbers: [20, 38] Generated Node #0,3,2: 69:[20, 38] Operation: 62-24=38 Exploring Operation: 62+24=86, Resulting Numbers: [20, 86] Generated Node #0,3,3: 69:[20, 86] Operation: 62+24=86 Moving to Node #0,1,0 Current State: 69:[16, 2], Operations: ['62-46=16', '26-24=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[24, 10], Operations: ['62-46=16', '26-16=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,69 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[26, 8], Operations: ['62-46=16', '24-16=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,69 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[62, 4], Operations: ['46-26=20', '24-20=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[24, 82], Operations: ['46-26=20', '62+20=82'] Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 24+82=106, Resulting Numbers: [106] 106,69 unequal: No Solution Exploring Operation: 24*82=1968, Resulting Numbers: [1968] 1968,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[20, 38], Operations: ['46-26=20', '62-24=38'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[24, 42], Operations: ['62-46=16', '26+16=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[20, 86], Operations: ['46-26=20', '62+24=86'] Exploring Operation: 20+86=106, Resulting Numbers: [106] 106,69 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 20*86=1720, Resulting Numbers: [1720] 1720,69 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 35, 42, 76, 90 ]
38
[ "90-76=14", "42/14=3", "35+3=38" ]
Current State: 38:[35, 42, 76, 90], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [35, 42, 14] Generated Node #2: [35, 42, 14] from Operation: 90-76=14 Current State: 38:[35, 42, 14], Operations: ['90-76=14'] Exploring Operation: 42/14=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 42/14=3 Current State: 38:[35, 3], Operations: ['90-76=14', '42/14=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[35, 42, 76, 90], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [35, 76, 48] Generated Node #0,0: 38:[35, 76, 48] Operation: 90-42=48 Exploring Operation: 90-35=55, Resulting Numbers: [42, 76, 55] Generated Node #0,1: 38:[42, 76, 55] Operation: 90-35=55 Exploring Operation: 90-76=14, Resulting Numbers: [35, 42, 14] Generated Node #0,2: 38:[35, 42, 14] Operation: 90-76=14 Exploring Operation: 76-35=41, Resulting Numbers: [42, 90, 41] Generated Node #0,3: 38:[42, 90, 41] Operation: 76-35=41 Moving to Node #0,2 Current State: 38:[35, 42, 14], Operations: ['90-76=14'] Exploring Operation: 35-14=21, Resulting Numbers: [42, 21] Generated Node #0,2,0: 38:[42, 21] Operation: 35-14=21 Exploring Operation: 42-14=28, Resulting Numbers: [35, 28] Generated Node #0,2,1: 38:[35, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [35, 3] Generated Node #0,2,2: 38:[35, 3] Operation: 42/14=3 Exploring Operation: 42-35=7, Resulting Numbers: [14, 7] Generated Node #0,2,3: 38:[14, 7] Operation: 42-35=7 Moving to Node #0,0 Current State: 38:[35, 76, 48], Operations: ['90-42=48'] Exploring Operation: 48-35=13, Resulting Numbers: [76, 13] Generated Node #0,0,0: 38:[76, 13] Operation: 48-35=13 Exploring Operation: 35+76=111, Resulting Numbers: [48, 111] Generated Node #0,0,1: 38:[48, 111] Operation: 35+76=111 Exploring Operation: 76-48=28, Resulting Numbers: [35, 28] Generated Node #0,0,2: 38:[35, 28] Operation: 76-48=28 Exploring Operation: 76-35=41, Resulting Numbers: [48, 41] Generated Node #0,0,3: 38:[48, 41] Operation: 76-35=41 Moving to Node #0,3 Current State: 38:[42, 90, 41], Operations: ['76-35=41'] Exploring Operation: 42-41=1, Resulting Numbers: [90, 1] Generated Node #0,3,0: 38:[90, 1] Operation: 42-41=1 Exploring Operation: 90-41=49, Resulting Numbers: [42, 49] Generated Node #0,3,1: 38:[42, 49] Operation: 90-41=49 Exploring Operation: 90-42=48, Resulting Numbers: [41, 48] Generated Node #0,3,2: 38:[41, 48] Operation: 90-42=48 Exploring Operation: 42+90=132, Resulting Numbers: [41, 132] Generated Node #0,3,3: 38:[41, 132] Operation: 42+90=132 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 38:[41, 48], Operations: ['76-35=41', '90-42=48'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,38 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 38:[42, 49], Operations: ['76-35=41', '90-41=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,38 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,38 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[90, 1], Operations: ['76-35=41', '42-41=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,38 unequal: No Solution Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,38 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 38:[41, 132], Operations: ['76-35=41', '42+90=132'] Exploring Operation: 41+132=173, Resulting Numbers: [173] 173,38 unequal: No Solution Exploring Operation: 132-41=91, Resulting Numbers: [91] 91,38 unequal: No Solution Exploring Operation: 41*132=5412, Resulting Numbers: [5412] 5412,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:[42, 76, 55], Operations: ['90-35=55'] Exploring Operation: 76-42=34, Resulting Numbers: [55, 34] Generated Node #0,1,0: 38:[55, 34] Operation: 76-42=34 Exploring Operation: 42+76=118, Resulting Numbers: [55, 118] Generated Node #0,1,1: 38:[55, 118] Operation: 42+76=118 Exploring Operation: 55-42=13, Resulting Numbers: [76, 13] Generated Node #0,1,2: 38:[76, 13] Operation: 55-42=13 Exploring Operation: 76-55=21, Resulting Numbers: [42, 21] Generated Node #0,1,3: 38:[42, 21] Operation: 76-55=21 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[42, 21], Operations: ['90-35=55', '76-55=21'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[55, 34], Operations: ['90-35=55', '76-42=34'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,38 unequal: No Solution Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[76, 13], Operations: ['90-35=55', '55-42=13'] Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,38 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[55, 118], Operations: ['90-35=55', '42+76=118'] Exploring Operation: 55*118=6490, Resulting Numbers: [6490] 6490,38 unequal: No Solution Exploring Operation: 55+118=173, Resulting Numbers: [173] 173,38 unequal: No Solution Exploring Operation: 118-55=63, Resulting Numbers: [63] 63,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 38:[35, 3], Operations: ['90-76=14', '42/14=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,38 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[35, 42, 76, 90], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [35, 42, 14] Generated Node #0,2: 38:[35, 42, 14] Operation: 90-76=14 Moving to Node #0,2 Current State: 38:[35, 42, 14], Operations: ['90-76=14'] Exploring Operation: 42/14=3, Resulting Numbers: [35, 3] Generated Node #0,2,2: 38:[35, 3] Operation: 42/14=3 Moving to Node #0,2,2 Current State: 38:[35, 3], Operations: ['90-76=14', '42/14=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.953993
hs_4
sum_heuristic
[ 39, 39, 12, 76 ]
88
[ "39-39=0", "12+76=88", "0+88=88" ]
Current State: 88:[39, 39, 12, 76], Operations: [] Exploring Operation: 39-39=0, Resulting Numbers: [12, 76, 0] Generated Node #2: [12, 76, 0] from Operation: 39-39=0 Current State: 88:[12, 76, 0], Operations: ['39-39=0'] Exploring Operation: 12+76=88, Resulting Numbers: [0, 88] Generated Node #3: [0, 88] from Operation: 12+76=88 Current State: 88:[0, 88], Operations: ['39-39=0', '12+76=88'] Exploring Operation: 0+88=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[39, 39, 12, 76], Operations: [] Exploring Operation: 76-39=37, Resulting Numbers: [39, 12, 37] Generated Node #0,0: 88:[39, 12, 37] Operation: 76-39=37 Exploring Operation: 12+76=88, Resulting Numbers: [39, 39, 88] Generated Node #0,1: 88:[39, 39, 88] Operation: 12+76=88 Exploring Operation: 39/39=1, Resulting Numbers: [12, 76, 1] Generated Node #0,2: 88:[12, 76, 1] Operation: 39/39=1 Exploring Operation: 39-39=0, Resulting Numbers: [12, 76, 0] Generated Node #0,3: 88:[12, 76, 0] Operation: 39-39=0 Exploring Operation: 76-39=37, Resulting Numbers: [39, 12, 37] Generated Node #0,4: 88:[39, 12, 37] Operation: 76-39=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[39, 39, 88], Operations: ['12+76=88'] Exploring Operation: 88-39=49, Resulting Numbers: [39, 49] Generated Node #0,1,0: 88:[39, 49] Operation: 88-39=49 Exploring Operation: 39-39=0, Resulting Numbers: [88, 0] Generated Node #0,1,1: 88:[88, 0] Operation: 39-39=0 Exploring Operation: 88-39=49, Resulting Numbers: [39, 49] Generated Node #0,1,2: 88:[39, 49] Operation: 88-39=49 Exploring Operation: 39+39=78, Resulting Numbers: [88, 78] Generated Node #0,1,3: 88:[88, 78] Operation: 39+39=78 Exploring Operation: 39/39=1, Resulting Numbers: [88, 1] Generated Node #0,1,4: 88:[88, 1] Operation: 39/39=1 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 88:[88, 1], Operations: ['12+76=88', '39/39=1'] Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[39, 39, 12, 76], Operations: [] Exploring Operation: 12+76=88, Resulting Numbers: [39, 39, 88] Generated Node #0,1: 88:[39, 39, 88] Operation: 12+76=88 Moving to Node #0,1 Current State: 88:[39, 39, 88], Operations: ['12+76=88'] Exploring Operation: 39/39=1, Resulting Numbers: [88, 1] Generated Node #0,1,4: 88:[88, 1] Operation: 39/39=1 Moving to Node #0,1,4 Current State: 88:[88, 1], Operations: ['12+76=88', '39/39=1'] Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 49, 49, 2, 56 ]
56
[ "49-49=0", "2*0=0", "56+0=56" ]
Current State: 56:[49, 49, 2, 56], Operations: [] Exploring Operation: 49-49=0, Resulting Numbers: [2, 56, 0] Generated Node #2: [2, 56, 0] from Operation: 49-49=0 Current State: 56:[2, 56, 0], Operations: ['49-49=0'] Exploring Operation: 2*0=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 2*0=0 Current State: 56:[56, 0], Operations: ['49-49=0', '2*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[49, 49, 2, 56], Operations: [] Exploring Operation: 49/49=1, Resulting Numbers: [2, 56, 1] Generated Node #0,0: 56:[2, 56, 1] Operation: 49/49=1 Exploring Operation: 56-49=7, Resulting Numbers: [49, 2, 7] Generated Node #0,1: 56:[49, 2, 7] Operation: 56-49=7 Exploring Operation: 49-49=0, Resulting Numbers: [2, 56, 0] Generated Node #0,2: 56:[2, 56, 0] Operation: 49-49=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[2, 56, 1], Operations: ['49/49=1'] Exploring Operation: 56*1=56, Resulting Numbers: [2, 56] Generated Node #0,0,0: 56:[2, 56] Operation: 56*1=56 Exploring Operation: 2*1=2, Resulting Numbers: [56, 2] Generated Node #0,0,1: 56:[56, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [56, 2] Generated Node #0,0,2: 56:[56, 2] Operation: 2/1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[2, 56], Operations: ['49/49=1', '56*1=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,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:[56, 2], Operations: ['49/49=1', '2*1=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,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:[56, 2], Operations: ['49/49=1', '2/1=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,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,2 Current State: 56:[2, 56, 0], Operations: ['49-49=0'] Exploring Operation: 2+0=2, Resulting Numbers: [56, 2] Generated Node #0,2,0: 56:[56, 2] Operation: 2+0=2 Exploring Operation: 56+0=56, Resulting Numbers: [2, 56] Generated Node #0,2,1: 56:[2, 56] Operation: 56+0=56 Exploring Operation: 2-0=2, Resulting Numbers: [56, 2] Generated Node #0,2,2: 56:[56, 2] Operation: 2-0=2 Moving to Node #0,2,0 Current State: 56:[56, 2], Operations: ['49-49=0', '2+0=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[2, 56], Operations: ['49-49=0', '56+0=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[56, 2], Operations: ['49-49=0', '2-0=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[49, 2, 7], Operations: ['56-49=7'] Exploring Operation: 49+2=51, Resulting Numbers: [7, 51] Generated Node #0,1,0: 56:[7, 51] Operation: 49+2=51 Exploring Operation: 49+7=56, Resulting Numbers: [2, 56] Generated Node #0,1,1: 56:[2, 56] Operation: 49+7=56 Exploring Operation: 49/7=7, Resulting Numbers: [2, 7] Generated Node #0,1,2: 56:[2, 7] Operation: 49/7=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[2, 56], Operations: ['56-49=7', '49+7=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,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:[2, 7], Operations: ['56-49=7', '49/7=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,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:[7, 51], Operations: ['56-49=7', '49+2=51'] Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,56 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,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
[ 41, 18, 55, 18 ]
41
[ "18-18=0", "55*0=0", "41+0=41" ]
Current State: 41:[41, 18, 55, 18], Operations: [] Exploring Operation: 18-18=0, Resulting Numbers: [41, 55, 0] Generated Node #2: [41, 55, 0] from Operation: 18-18=0 Current State: 41:[41, 55, 0], Operations: ['18-18=0'] Exploring Operation: 55*0=0, Resulting Numbers: [41, 0] Generated Node #3: [41, 0] from Operation: 55*0=0 Current State: 41:[41, 0], Operations: ['18-18=0', '55*0=0'] Exploring Operation: 41+0=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[41, 18, 55, 18], Operations: [] Exploring Operation: 18/18=1, Resulting Numbers: [41, 55, 1] Generated Node #0,0: 41:[41, 55, 1] Operation: 18/18=1 Exploring Operation: 55-18=37, Resulting Numbers: [41, 18, 37] Generated Node #0,1: 41:[41, 18, 37] Operation: 55-18=37 Exploring Operation: 18+18=36, Resulting Numbers: [41, 55, 36] Generated Node #0,2: 41:[41, 55, 36] Operation: 18+18=36 Exploring Operation: 55-18=37, Resulting Numbers: [41, 18, 37] Generated Node #0,3: 41:[41, 18, 37] Operation: 55-18=37 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[41, 55, 36], Operations: ['18+18=36'] Exploring Operation: 41-36=5, Resulting Numbers: [55, 5] Generated Node #0,2,0: 41:[55, 5] Operation: 41-36=5 Exploring Operation: 55-41=14, Resulting Numbers: [36, 14] Generated Node #0,2,1: 41:[36, 14] Operation: 55-41=14 Exploring Operation: 41+36=77, Resulting Numbers: [55, 77] Generated Node #0,2,2: 41:[55, 77] Operation: 41+36=77 Exploring Operation: 55-36=19, Resulting Numbers: [41, 19] Generated Node #0,2,3: 41:[41, 19] Operation: 55-36=19 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[41, 19], Operations: ['18+18=36', '55-36=19'] Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,41 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[36, 14], Operations: ['18+18=36', '55-41=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[55, 5], Operations: ['18+18=36', '41-36=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[55, 77], Operations: ['18+18=36', '41+36=77'] Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,41 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,41 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[41, 18, 37], Operations: ['55-18=37'] Exploring Operation: 41-18=23, Resulting Numbers: [37, 23] Generated Node #0,1,0: 41:[37, 23] Operation: 41-18=23 Exploring Operation: 18+37=55, Resulting Numbers: [41, 55] Generated Node #0,1,1: 41:[41, 55] Operation: 18+37=55 Exploring Operation: 41+18=59, Resulting Numbers: [37, 59] Generated Node #0,1,2: 41:[37, 59] Operation: 41+18=59 Exploring Operation: 37-18=19, Resulting Numbers: [41, 19] Generated Node #0,1,3: 41:[41, 19] Operation: 37-18=19 Moving to Node #0,1,1 Current State: 41:[41, 55], Operations: ['55-18=37', '18+37=55'] Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[37, 59], Operations: ['55-18=37', '41+18=59'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[37, 23], Operations: ['55-18=37', '41-18=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[41, 19], Operations: ['55-18=37', '37-18=19'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,41 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[41, 18, 37], Operations: ['55-18=37'] Exploring Operation: 41-18=23, Resulting Numbers: [37, 23] Generated Node #0,3,0: 41:[37, 23] Operation: 41-18=23 Exploring Operation: 18+37=55, Resulting Numbers: [41, 55] Generated Node #0,3,1: 41:[41, 55] Operation: 18+37=55 Exploring Operation: 41+18=59, Resulting Numbers: [37, 59] Generated Node #0,3,2: 41:[37, 59] Operation: 41+18=59 Exploring Operation: 37-18=19, Resulting Numbers: [41, 19] Generated Node #0,3,3: 41:[41, 19] Operation: 37-18=19 Moving to Node #0,3,1 Current State: 41:[41, 55], Operations: ['55-18=37', '18+37=55'] Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,41 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[37, 59], Operations: ['55-18=37', '41+18=59'] Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,41 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[37, 23], Operations: ['55-18=37', '41-18=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[41, 19], Operations: ['55-18=37', '37-18=19'] Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[41, 55, 1], Operations: ['18/18=1'] Exploring Operation: 55-1=54, Resulting Numbers: [41, 54] Generated Node #0,0,0: 41:[41, 54] Operation: 55-1=54 Exploring Operation: 41*1=41, Resulting Numbers: [55, 41] Generated Node #0,0,1: 41:[55, 41] Operation: 41*1=41 Exploring Operation: 41/1=41, Resulting Numbers: [55, 41] Generated Node #0,0,2: 41:[55, 41] Operation: 41/1=41 Exploring Operation: 55*1=55, Resulting Numbers: [41, 55] Generated Node #0,0,3: 41:[41, 55] Operation: 55*1=55 Moving to Node #0,0,0 Current State: 41:[41, 54], Operations: ['18/18=1', '55-1=54'] Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,41 unequal: No Solution Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[55, 41], Operations: ['18/18=1', '41/1=41'] Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[55, 41], Operations: ['18/18=1', '41*1=41'] Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,41 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[41, 55], Operations: ['18/18=1', '55*1=55'] Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,41 unequal: No Solution Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 61, 41, 7, 88 ]
98
[ "61+41=102", "102-88=14", "7*14=98" ]
Current State: 98:[61, 41, 7, 88], Operations: [] Exploring Operation: 61+41=102, Resulting Numbers: [7, 88, 102] Generated Node #2: [7, 88, 102] from Operation: 61+41=102 Current State: 98:[7, 88, 102], Operations: ['61+41=102'] Exploring Operation: 102-88=14, Resulting Numbers: [7, 14] Generated Node #3: [7, 14] from Operation: 102-88=14 Current State: 98:[7, 14], Operations: ['61+41=102', '102-88=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[61, 41, 7, 88], Operations: [] Exploring Operation: 61-41=20, Resulting Numbers: [7, 88, 20] Generated Node #0,0: 98:[7, 88, 20] Operation: 61-41=20 Exploring Operation: 88-61=27, Resulting Numbers: [41, 7, 27] Generated Node #0,1: 98:[41, 7, 27] Operation: 88-61=27 Exploring Operation: 61-7=54, Resulting Numbers: [41, 88, 54] Generated Node #0,2: 98:[41, 88, 54] Operation: 61-7=54 Exploring Operation: 88-41=47, Resulting Numbers: [61, 7, 47] Generated Node #0,3: 98:[61, 7, 47] Operation: 88-41=47 Exploring Operation: 61+41=102, Resulting Numbers: [7, 88, 102] Generated Node #0,4: 98:[7, 88, 102] Operation: 61+41=102 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[61, 7, 47], Operations: ['88-41=47'] Exploring Operation: 61+7=68, Resulting Numbers: [47, 68] Generated Node #0,3,0: 98:[47, 68] Operation: 61+7=68 Exploring Operation: 61+47=108, Resulting Numbers: [7, 108] Generated Node #0,3,1: 98:[7, 108] Operation: 61+47=108 Exploring Operation: 61-7=54, Resulting Numbers: [47, 54] Generated Node #0,3,2: 98:[47, 54] Operation: 61-7=54 Exploring Operation: 61-47=14, Resulting Numbers: [7, 14] Generated Node #0,3,3: 98:[7, 14] Operation: 61-47=14 Exploring Operation: 7+47=54, Resulting Numbers: [61, 54] Generated Node #0,3,4: 98:[61, 54] Operation: 7+47=54 Moving to Node #0,3,3 Current State: 98:[7, 14], Operations: ['88-41=47', '61-47=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[61, 41, 7, 88], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [61, 7, 47] Generated Node #0,3: 98:[61, 7, 47] Operation: 88-41=47 Moving to Node #0,3 Current State: 98:[61, 7, 47], Operations: ['88-41=47'] Exploring Operation: 61-47=14, Resulting Numbers: [7, 14] Generated Node #0,3,3: 98:[7, 14] Operation: 61-47=14 Moving to Node #0,3,3 Current State: 98:[7, 14], Operations: ['88-41=47', '61-47=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 66, 21, 7, 94 ]
31
[ "94-66=28", "21/7=3", "28+3=31" ]
Current State: 31:[66, 21, 7, 94], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [21, 7, 28] Generated Node #2: [21, 7, 28] from Operation: 94-66=28 Current State: 31:[21, 7, 28], Operations: ['94-66=28'] Exploring Operation: 21/7=3, Resulting Numbers: [28, 3] Generated Node #3: [28, 3] from Operation: 21/7=3 Current State: 31:[28, 3], Operations: ['94-66=28', '21/7=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[66, 21, 7, 94], Operations: [] Exploring Operation: 21+7=28, Resulting Numbers: [66, 94, 28] Generated Node #0,0: 31:[66, 94, 28] Operation: 21+7=28 Exploring Operation: 94-66=28, Resulting Numbers: [21, 7, 28] Generated Node #0,1: 31:[21, 7, 28] Operation: 94-66=28 Exploring Operation: 66-21=45, Resulting Numbers: [7, 94, 45] Generated Node #0,2: 31:[7, 94, 45] Operation: 66-21=45 Exploring Operation: 94-21=73, Resulting Numbers: [66, 7, 73] Generated Node #0,3: 31:[66, 7, 73] Operation: 94-21=73 Exploring Operation: 66-7=59, Resulting Numbers: [21, 94, 59] Generated Node #0,4: 31:[21, 94, 59] Operation: 66-7=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[21, 7, 28], Operations: ['94-66=28'] Exploring Operation: 21+7=28, Resulting Numbers: [28, 28] Generated Node #0,1,0: 31:[28, 28] Operation: 21+7=28 Exploring Operation: 21/7=3, Resulting Numbers: [28, 3] Generated Node #0,1,1: 31:[28, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [28, 14] Generated Node #0,1,2: 31:[28, 14] Operation: 21-7=14 Exploring Operation: 7+28=35, Resulting Numbers: [21, 35] Generated Node #0,1,3: 31:[21, 35] Operation: 7+28=35 Exploring Operation: 28-7=21, Resulting Numbers: [21, 21] Generated Node #0,1,4: 31:[21, 21] Operation: 28-7=21 Moving to Node #0,1,0 Current State: 31:[28, 28], Operations: ['94-66=28', '21+7=28'] Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,31 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[21, 35], Operations: ['94-66=28', '7+28=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[28, 14], Operations: ['94-66=28', '21-7=14'] Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,31 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[21, 21], Operations: ['94-66=28', '28-7=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[28, 3], Operations: ['94-66=28', '21/7=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[66, 21, 7, 94], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [21, 7, 28] Generated Node #0,1: 31:[21, 7, 28] Operation: 94-66=28 Moving to Node #0,1 Current State: 31:[21, 7, 28], Operations: ['94-66=28'] Exploring Operation: 21/7=3, Resulting Numbers: [28, 3] Generated Node #0,1,1: 31:[28, 3] Operation: 21/7=3 Moving to Node #0,1,1 Current State: 31:[28, 3], Operations: ['94-66=28', '21/7=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_5
sum_heuristic
[ 57, 93, 21, 93 ]
79
[ "57+21=78", "93/93=1", "78+1=79" ]
Current State: 79:[57, 93, 21, 93], Operations: [] Exploring Operation: 57+21=78, Resulting Numbers: [93, 93, 78] Generated Node #2: [93, 93, 78] from Operation: 57+21=78 Current State: 79:[93, 93, 78], Operations: ['57+21=78'] Exploring Operation: 93/93=1, Resulting Numbers: [78, 1] Generated Node #3: [78, 1] from Operation: 93/93=1 Current State: 79:[78, 1], Operations: ['57+21=78', '93/93=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[57, 93, 21, 93], Operations: [] Exploring Operation: 93-21=72, Resulting Numbers: [57, 93, 72] Generated Node #0,0: 79:[57, 93, 72] Operation: 93-21=72 Exploring Operation: 57-21=36, Resulting Numbers: [93, 93, 36] Generated Node #0,1: 79:[93, 93, 36] Operation: 57-21=36 Exploring Operation: 93+21=114, Resulting Numbers: [57, 93, 114] Generated Node #0,2: 79:[57, 93, 114] Operation: 93+21=114 Exploring Operation: 57+21=78, Resulting Numbers: [93, 93, 78] Generated Node #0,3: 79:[93, 93, 78] Operation: 57+21=78 Exploring Operation: 93-21=72, Resulting Numbers: [57, 93, 72] Generated Node #0,4: 79:[57, 93, 72] Operation: 93-21=72 Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[93, 93, 78], Operations: ['57+21=78'] Exploring Operation: 93/93=1, Resulting Numbers: [78, 1] Generated Node #0,3,0: 79:[78, 1] Operation: 93/93=1 Exploring Operation: 93+78=171, Resulting Numbers: [93, 171] Generated Node #0,3,1: 79:[93, 171] Operation: 93+78=171 Exploring Operation: 93-78=15, Resulting Numbers: [93, 15] Generated Node #0,3,2: 79:[93, 15] Operation: 93-78=15 Exploring Operation: 93-93=0, Resulting Numbers: [78, 0] Generated Node #0,3,3: 79:[78, 0] Operation: 93-93=0 Exploring Operation: 93-78=15, Resulting Numbers: [93, 15] Generated Node #0,3,4: 79:[93, 15] Operation: 93-78=15 Moving to Node #0,3,2 Current State: 79:[93, 15], Operations: ['57+21=78', '93-78=15'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,79 unequal: No Solution Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[93, 15], Operations: ['57+21=78', '93-78=15'] Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,79 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[78, 1], Operations: ['57+21=78', '93/93=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[57, 93, 21, 93], Operations: [] Exploring Operation: 57+21=78, Resulting Numbers: [93, 93, 78] Generated Node #0,3: 79:[93, 93, 78] Operation: 57+21=78 Moving to Node #0,3 Current State: 79:[93, 93, 78], Operations: ['57+21=78'] Exploring Operation: 93/93=1, Resulting Numbers: [78, 1] Generated Node #0,3,0: 79:[78, 1] Operation: 93/93=1 Moving to Node #0,3,0 Current State: 79:[78, 1], Operations: ['57+21=78', '93/93=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 45, 75, 2, 88 ]
74
[ "75-45=30", "88/2=44", "30+44=74" ]
Current State: 74:[45, 75, 2, 88], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [2, 88, 30] Generated Node #2: [2, 88, 30] from Operation: 75-45=30 Current State: 74:[2, 88, 30], Operations: ['75-45=30'] Exploring Operation: 88/2=44, Resulting Numbers: [30, 44] Generated Node #3: [30, 44] from Operation: 88/2=44 Current State: 74:[30, 44], Operations: ['75-45=30', '88/2=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[45, 75, 2, 88], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [45, 75, 44] Generated Node #0,0: 74:[45, 75, 44] Operation: 88/2=44 Exploring Operation: 88-75=13, Resulting Numbers: [45, 2, 13] Generated Node #0,1: 74:[45, 2, 13] Operation: 88-75=13 Exploring Operation: 75-45=30, Resulting Numbers: [2, 88, 30] Generated Node #0,2: 74:[2, 88, 30] Operation: 75-45=30 Exploring Operation: 88-45=43, Resulting Numbers: [75, 2, 43] Generated Node #0,3: 74:[75, 2, 43] Operation: 88-45=43 Moving to Node #0,3 Current State: 74:[75, 2, 43], Operations: ['88-45=43'] Exploring Operation: 75-2=73, Resulting Numbers: [43, 73] Generated Node #0,3,0: 74:[43, 73] Operation: 75-2=73 Exploring Operation: 75+2=77, Resulting Numbers: [43, 77] Generated Node #0,3,1: 74:[43, 77] Operation: 75+2=77 Exploring Operation: 43-2=41, Resulting Numbers: [75, 41] Generated Node #0,3,2: 74:[75, 41] Operation: 43-2=41 Exploring Operation: 75-43=32, Resulting Numbers: [2, 32] Generated Node #0,3,3: 74:[2, 32] Operation: 75-43=32 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[75, 41], Operations: ['88-45=43', '43-2=41'] Exploring Operation: 75+41=116, Resulting Numbers: [116] 116,74 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 75*41=3075, Resulting Numbers: [3075] 3075,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[2, 32], Operations: ['88-45=43', '75-43=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,74 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[43, 73], Operations: ['88-45=43', '75-2=73'] Exploring Operation: 43+73=116, Resulting Numbers: [116] 116,74 unequal: No Solution Exploring Operation: 43*73=3139, Resulting Numbers: [3139] 3139,74 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[43, 77], Operations: ['88-45=43', '75+2=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,74 unequal: No Solution Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[45, 75, 44], Operations: ['88/2=44'] Exploring Operation: 45-44=1, Resulting Numbers: [75, 1] Generated Node #0,0,0: 74:[75, 1] Operation: 45-44=1 Exploring Operation: 45+44=89, Resulting Numbers: [75, 89] Generated Node #0,0,1: 74:[75, 89] Operation: 45+44=89 Exploring Operation: 75-44=31, Resulting Numbers: [45, 31] Generated Node #0,0,2: 74:[45, 31] Operation: 75-44=31 Exploring Operation: 75-45=30, Resulting Numbers: [44, 30] Generated Node #0,0,3: 74:[44, 30] Operation: 75-45=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[75, 1], Operations: ['88/2=44', '45-44=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[45, 75, 2, 88], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [45, 75, 44] Generated Node #0,0: 74:[45, 75, 44] Operation: 88/2=44 Moving to Node #0,0 Current State: 74:[45, 75, 44], Operations: ['88/2=44'] Exploring Operation: 45-44=1, Resulting Numbers: [75, 1] Generated Node #0,0,0: 74:[75, 1] Operation: 45-44=1 Moving to Node #0,0,0 Current State: 74:[75, 1], Operations: ['88/2=44', '45-44=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 25, 79, 63, 37 ]
78
[ "25+79=104", "63-37=26", "104-26=78" ]
Current State: 78:[25, 79, 63, 37], Operations: [] Exploring Operation: 25+79=104, Resulting Numbers: [63, 37, 104] Generated Node #2: [63, 37, 104] from Operation: 25+79=104 Current State: 78:[63, 37, 104], Operations: ['25+79=104'] Exploring Operation: 63-37=26, Resulting Numbers: [104, 26] Generated Node #3: [104, 26] from Operation: 63-37=26 Current State: 78:[104, 26], Operations: ['25+79=104', '63-37=26'] Exploring Operation: 104-26=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[25, 79, 63, 37], Operations: [] Exploring Operation: 63-25=38, Resulting Numbers: [79, 37, 38] Generated Node #0,0: 78:[79, 37, 38] Operation: 63-25=38 Exploring Operation: 63-37=26, Resulting Numbers: [25, 79, 26] Generated Node #0,1: 78:[25, 79, 26] Operation: 63-37=26 Moving to Node #0,1 Current State: 78:[25, 79, 26], Operations: ['63-37=26'] Exploring Operation: 25+26=51, Resulting Numbers: [79, 51] Generated Node #0,1,0: 78:[79, 51] Operation: 25+26=51 Exploring Operation: 26-25=1, Resulting Numbers: [79, 1] Generated Node #0,1,1: 78:[79, 1] Operation: 26-25=1 Moving to Node #0,0 Current State: 78:[79, 37, 38], Operations: ['63-25=38'] Exploring Operation: 79-37=42, Resulting Numbers: [38, 42] Generated Node #0,0,0: 78:[38, 42] Operation: 79-37=42 Exploring Operation: 38-37=1, Resulting Numbers: [79, 1] Generated Node #0,0,1: 78:[79, 1] Operation: 38-37=1 Moving to Node #0,1,1 Current State: 78:[79, 1], Operations: ['63-37=26', '26-25=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[25, 79, 63, 37], Operations: [] Exploring Operation: 63-37=26, Resulting Numbers: [25, 79, 26] Generated Node #0,1: 78:[25, 79, 26] Operation: 63-37=26 Moving to Node #0,1 Current State: 78:[25, 79, 26], Operations: ['63-37=26'] Exploring Operation: 26-25=1, Resulting Numbers: [79, 1] Generated Node #0,1,1: 78:[79, 1] Operation: 26-25=1 Moving to Node #0,1,1 Current State: 78:[79, 1], Operations: ['63-37=26', '26-25=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 19, 67, 8, 8 ]
67
[ "8-8=0", "19*0=0", "67+0=67" ]
Current State: 67:[19, 67, 8, 8], Operations: [] Exploring Operation: 8-8=0, Resulting Numbers: [19, 67, 0] Generated Node #2: [19, 67, 0] from Operation: 8-8=0 Current State: 67:[19, 67, 0], Operations: ['8-8=0'] Exploring Operation: 19*0=0, Resulting Numbers: [67, 0] Generated Node #3: [67, 0] from Operation: 19*0=0 Current State: 67:[67, 0], Operations: ['8-8=0', '19*0=0'] Exploring Operation: 67+0=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[19, 67, 8, 8], Operations: [] Exploring Operation: 8/8=1, Resulting Numbers: [19, 67, 1] Generated Node #0,0: 67:[19, 67, 1] Operation: 8/8=1 Exploring Operation: 8+8=16, Resulting Numbers: [19, 67, 16] Generated Node #0,1: 67:[19, 67, 16] Operation: 8+8=16 Exploring Operation: 19+8=27, Resulting Numbers: [67, 8, 27] Generated Node #0,2: 67:[67, 8, 27] Operation: 19+8=27 Exploring Operation: 19+8=27, Resulting Numbers: [67, 8, 27] Generated Node #0,3: 67:[67, 8, 27] Operation: 19+8=27 Exploring Operation: 8*8=64, Resulting Numbers: [19, 67, 64] Generated Node #0,4: 67:[19, 67, 64] Operation: 8*8=64 Moving to Node #0,4 Current State: 67:[19, 67, 64], Operations: ['8*8=64'] Exploring Operation: 67-19=48, Resulting Numbers: [64, 48] Generated Node #0,4,0: 67:[64, 48] Operation: 67-19=48 Exploring Operation: 64-19=45, Resulting Numbers: [67, 45] Generated Node #0,4,1: 67:[67, 45] Operation: 64-19=45 Exploring Operation: 19+64=83, Resulting Numbers: [67, 83] Generated Node #0,4,2: 67:[67, 83] Operation: 19+64=83 Exploring Operation: 19+67=86, Resulting Numbers: [64, 86] Generated Node #0,4,3: 67:[64, 86] Operation: 19+67=86 Exploring Operation: 67+64=131, Resulting Numbers: [19, 131] Generated Node #0,4,4: 67:[19, 131] Operation: 67+64=131 Moving to Node #0,2 Current State: 67:[67, 8, 27], Operations: ['19+8=27'] Exploring Operation: 67+8=75, Resulting Numbers: [27, 75] Generated Node #0,2,0: 67:[27, 75] Operation: 67+8=75 Exploring Operation: 67+27=94, Resulting Numbers: [8, 94] Generated Node #0,2,1: 67:[8, 94] Operation: 67+27=94 Exploring Operation: 67-8=59, Resulting Numbers: [27, 59] Generated Node #0,2,2: 67:[27, 59] Operation: 67-8=59 Exploring Operation: 27-8=19, Resulting Numbers: [67, 19] Generated Node #0,2,3: 67:[67, 19] Operation: 27-8=19 Exploring Operation: 8+27=35, Resulting Numbers: [67, 35] Generated Node #0,2,4: 67:[67, 35] Operation: 8+27=35 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 67:[67, 35], Operations: ['19+8=27', '8+27=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,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,2,0 Current State: 67:[27, 75], Operations: ['19+8=27', '67+8=75'] Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 27*75=2025, Resulting Numbers: [2025] 2025,67 unequal: No Solution Exploring Operation: 27+75=102, Resulting Numbers: [102] 102,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,2,2 Current State: 67:[27, 59], Operations: ['19+8=27', '67-8=59'] Exploring Operation: 27*59=1593, Resulting Numbers: [1593] 1593,67 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 27+59=86, Resulting Numbers: [86] 86,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,2,3 Current State: 67:[67, 19], Operations: ['19+8=27', '27-8=19'] Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,67 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,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,2,1 Current State: 67:[8, 94], Operations: ['19+8=27', '67+27=94'] Exploring Operation: 8*94=752, Resulting Numbers: [752] 752,67 unequal: No Solution Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 8+94=102, Resulting Numbers: [102] 102,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 67:[19, 67, 16], Operations: ['8+8=16'] Exploring Operation: 67+16=83, Resulting Numbers: [19, 83] Generated Node #0,1,0: 67:[19, 83] Operation: 67+16=83 Exploring Operation: 19-16=3, Resulting Numbers: [67, 3] Generated Node #0,1,1: 67:[67, 3] Operation: 19-16=3 Exploring Operation: 67-16=51, Resulting Numbers: [19, 51] Generated Node #0,1,2: 67:[19, 51] Operation: 67-16=51 Exploring Operation: 19+16=35, Resulting Numbers: [67, 35] Generated Node #0,1,3: 67:[67, 35] Operation: 19+16=35 Exploring Operation: 19+67=86, Resulting Numbers: [16, 86] Generated Node #0,1,4: 67:[16, 86] Operation: 19+67=86 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 67:[67, 35], Operations: ['8+8=16', '19+16=35'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,67 unequal: No Solution Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[19, 83], Operations: ['8+8=16', '67+16=83'] Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 19+83=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 19*83=1577, Resulting Numbers: [1577] 1577,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[67, 3], Operations: ['8+8=16', '19-16=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,67 unequal: No Solution Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[19, 51], Operations: ['8+8=16', '67-16=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,67 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,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,4 Current State: 67:[16, 86], Operations: ['8+8=16', '19+67=86'] Exploring Operation: 16*86=1376, Resulting Numbers: [1376] 1376,67 unequal: No Solution Exploring Operation: 16+86=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,67 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: 67:[67, 8, 27], Operations: ['19+8=27'] Exploring Operation: 27-8=19, Resulting Numbers: [67, 19] Generated Node #0,3,0: 67:[67, 19] Operation: 27-8=19 Exploring Operation: 67+27=94, Resulting Numbers: [8, 94] Generated Node #0,3,1: 67:[8, 94] Operation: 67+27=94 Exploring Operation: 67+8=75, Resulting Numbers: [27, 75] Generated Node #0,3,2: 67:[27, 75] Operation: 67+8=75 Exploring Operation: 67-8=59, Resulting Numbers: [27, 59] Generated Node #0,3,3: 67:[27, 59] Operation: 67-8=59 Exploring Operation: 8+27=35, Resulting Numbers: [67, 35] Generated Node #0,3,4: 67:[67, 35] Operation: 8+27=35 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 67:[67, 35], Operations: ['19+8=27', '8+27=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,67 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,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,3,0 Current State: 67:[67, 19], Operations: ['19+8=27', '27-8=19'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,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,3,2 Current State: 67:[27, 75], Operations: ['19+8=27', '67+8=75'] Exploring Operation: 27+75=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 27*75=2025, Resulting Numbers: [2025] 2025,67 unequal: No Solution Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,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,3,3 Current State: 67:[27, 59], Operations: ['19+8=27', '67-8=59'] Exploring Operation: 27+59=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 27*59=1593, Resulting Numbers: [1593] 1593,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,3,1 Current State: 67:[8, 94], Operations: ['19+8=27', '67+27=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 8+94=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 8*94=752, Resulting Numbers: [752] 752,67 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: 67:[19, 67, 1], Operations: ['8/8=1'] Exploring Operation: 19/1=19, Resulting Numbers: [67, 19] Generated Node #0,0,0: 67:[67, 19] Operation: 19/1=19 Exploring Operation: 67*1=67, Resulting Numbers: [19, 67] Generated Node #0,0,1: 67:[19, 67] Operation: 67*1=67 Exploring Operation: 19+1=20, Resulting Numbers: [67, 20] Generated Node #0,0,2: 67:[67, 20] Operation: 19+1=20 Exploring Operation: 67/1=67, Resulting Numbers: [19, 67] Generated Node #0,0,3: 67:[19, 67] Operation: 67/1=67 Exploring Operation: 19*1=19, Resulting Numbers: [67, 19] Generated Node #0,0,4: 67:[67, 19] Operation: 19*1=19 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[67, 20], Operations: ['8/8=1', '19+1=20'] Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,67 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,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,0 Current State: 67:[67, 19], Operations: ['8/8=1', '19/1=19'] Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,67 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[19, 67], Operations: ['8/8=1', '67*1=67'] Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,67 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,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,3 Current State: 67:[19, 67], Operations: ['8/8=1', '67/1=67'] Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,67 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,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,4 Current State: 67:[67, 19], Operations: ['8/8=1', '19*1=19'] Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 67:[67, 83], Operations: ['8*8=64', '19+64=83'] Exploring Operation: 67*83=5561, Resulting Numbers: [5561] 5561,67 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[67, 45], Operations: ['8*8=64', '64-19=45'] Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,67 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[64, 48], Operations: ['8*8=64', '67-19=48'] Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 64+48=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 64*48=3072, Resulting Numbers: [3072] 3072,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[64, 86], Operations: ['8*8=64', '19+67=86'] Exploring Operation: 64*86=5504, Resulting Numbers: [5504] 5504,67 unequal: No Solution Exploring Operation: 64+86=150, Resulting Numbers: [150] 150,67 unequal: No Solution Exploring Operation: 86-64=22, Resulting Numbers: [22] 22,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[19, 131], Operations: ['8*8=64', '67+64=131'] Exploring Operation: 131-19=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 19+131=150, Resulting Numbers: [150] 150,67 unequal: No Solution Exploring Operation: 19*131=2489, Resulting Numbers: [2489] 2489,67 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 56, 7, 10, 42 ]
12
[ "56-42=14", "14/7=2", "10+2=12" ]
Current State: 12:[56, 7, 10, 42], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [7, 10, 14] Generated Node #2: [7, 10, 14] from Operation: 56-42=14 Current State: 12:[7, 10, 14], Operations: ['56-42=14'] Exploring Operation: 14/7=2, Resulting Numbers: [10, 2] Generated Node #3: [10, 2] from Operation: 14/7=2 Current State: 12:[10, 2], Operations: ['56-42=14', '14/7=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[56, 7, 10, 42], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [10, 42, 8] Generated Node #0,0: 12:[10, 42, 8] Operation: 56/7=8 Exploring Operation: 42/7=6, Resulting Numbers: [56, 10, 6] Generated Node #0,1: 12:[56, 10, 6] Operation: 42/7=6 Exploring Operation: 56-10=46, Resulting Numbers: [7, 42, 46] Generated Node #0,2: 12:[7, 42, 46] Operation: 56-10=46 Exploring Operation: 56-42=14, Resulting Numbers: [7, 10, 14] Generated Node #0,3: 12:[7, 10, 14] Operation: 56-42=14 Exploring Operation: 42-10=32, Resulting Numbers: [56, 7, 32] Generated Node #0,4: 12:[56, 7, 32] Operation: 42-10=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[7, 10, 14], Operations: ['56-42=14'] Exploring Operation: 10-7=3, Resulting Numbers: [14, 3] Generated Node #0,3,0: 12:[14, 3] Operation: 10-7=3 Exploring Operation: 14-10=4, Resulting Numbers: [7, 4] Generated Node #0,3,1: 12:[7, 4] Operation: 14-10=4 Exploring Operation: 14-7=7, Resulting Numbers: [10, 7] Generated Node #0,3,2: 12:[10, 7] Operation: 14-7=7 Exploring Operation: 7+10=17, Resulting Numbers: [14, 17] Generated Node #0,3,3: 12:[14, 17] Operation: 7+10=17 Exploring Operation: 14/7=2, Resulting Numbers: [10, 2] Generated Node #0,3,4: 12:[10, 2] Operation: 14/7=2 Moving to Node #0,3,1 Current State: 12:[7, 4], Operations: ['56-42=14', '14-10=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[10, 2], Operations: ['56-42=14', '14/7=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[56, 7, 10, 42], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [7, 10, 14] Generated Node #0,3: 12:[7, 10, 14] Operation: 56-42=14 Moving to Node #0,3 Current State: 12:[7, 10, 14], Operations: ['56-42=14'] Exploring Operation: 14/7=2, Resulting Numbers: [10, 2] Generated Node #0,3,4: 12:[10, 2] Operation: 14/7=2 Moving to Node #0,3,4 Current State: 12:[10, 2], Operations: ['56-42=14', '14/7=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 90, 48, 61, 78 ]
97
[ "90-48=42", "61+78=139", "139-42=97" ]
Current State: 97:[90, 48, 61, 78], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [61, 78, 42] Generated Node #2: [61, 78, 42] from Operation: 90-48=42 Current State: 97:[61, 78, 42], Operations: ['90-48=42'] Exploring Operation: 61+78=139, Resulting Numbers: [42, 139] Generated Node #3: [42, 139] from Operation: 61+78=139 Current State: 97:[42, 139], Operations: ['90-48=42', '61+78=139'] Exploring Operation: 139-42=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[90, 48, 61, 78], Operations: [] Exploring Operation: 90+48=138, Resulting Numbers: [61, 78, 138] Generated Node #0,0: 97:[61, 78, 138] Operation: 90+48=138 Exploring Operation: 48+78=126, Resulting Numbers: [90, 61, 126] Generated Node #0,1: 97:[90, 61, 126] Operation: 48+78=126 Exploring Operation: 48+61=109, Resulting Numbers: [90, 78, 109] Generated Node #0,2: 97:[90, 78, 109] Operation: 48+61=109 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[90, 78, 109], Operations: ['48+61=109'] Exploring Operation: 90+78=168, Resulting Numbers: [109, 168] Generated Node #0,2,0: 97:[109, 168] Operation: 90+78=168 Exploring Operation: 109-78=31, Resulting Numbers: [90, 31] Generated Node #0,2,1: 97:[90, 31] Operation: 109-78=31 Exploring Operation: 90-78=12, Resulting Numbers: [109, 12] Generated Node #0,2,2: 97:[109, 12] Operation: 90-78=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[90, 31], Operations: ['48+61=109', '109-78=31'] Exploring Operation: 90*31=2790, Resulting Numbers: [2790] 2790,97 unequal: No Solution Exploring Operation: 90-31=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 90+31=121, Resulting Numbers: [121] 121,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[109, 168], Operations: ['48+61=109', '90+78=168'] Exploring Operation: 168-109=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 109+168=277, Resulting Numbers: [277] 277,97 unequal: No Solution Exploring Operation: 109*168=18312, Resulting Numbers: [18312] 18312,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[109, 12], Operations: ['48+61=109', '90-78=12'] Exploring Operation: 109+12=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 109*12=1308, Resulting Numbers: [1308] 1308,97 unequal: No Solution Exploring Operation: 109-12=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[90, 48, 61, 78], Operations: [] Exploring Operation: 48+61=109, Resulting Numbers: [90, 78, 109] Generated Node #0,2: 97:[90, 78, 109] Operation: 48+61=109 Moving to Node #0,2 Current State: 97:[90, 78, 109], Operations: ['48+61=109'] Exploring Operation: 90-78=12, Resulting Numbers: [109, 12] Generated Node #0,2,2: 97:[109, 12] Operation: 90-78=12 Moving to Node #0,2,2 Current State: 97:[109, 12], Operations: ['48+61=109', '90-78=12'] Exploring Operation: 109-12=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 63, 2, 75, 25 ]
63
[ "75/25=3", "3-2=1", "63*1=63" ]
Current State: 63:[63, 2, 75, 25], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [63, 2, 3] Generated Node #2: [63, 2, 3] from Operation: 75/25=3 Current State: 63:[63, 2, 3], Operations: ['75/25=3'] Exploring Operation: 3-2=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 3-2=1 Current State: 63:[63, 1], Operations: ['75/25=3', '3-2=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[63, 2, 75, 25], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [2, 25, 12] Generated Node #0,0: 63:[2, 25, 12] Operation: 75-63=12 Exploring Operation: 75-2=73, Resulting Numbers: [63, 25, 73] Generated Node #0,1: 63:[63, 25, 73] Operation: 75-2=73 Exploring Operation: 25-2=23, Resulting Numbers: [63, 75, 23] Generated Node #0,2: 63:[63, 75, 23] Operation: 25-2=23 Exploring Operation: 75-25=50, Resulting Numbers: [63, 2, 50] Generated Node #0,3: 63:[63, 2, 50] Operation: 75-25=50 Exploring Operation: 75/25=3, Resulting Numbers: [63, 2, 3] Generated Node #0,4: 63:[63, 2, 3] Operation: 75/25=3 Moving to Node #0,4 Current State: 63:[63, 2, 3], Operations: ['75/25=3'] Exploring Operation: 63-2=61, Resulting Numbers: [3, 61] Generated Node #0,4,0: 63:[3, 61] Operation: 63-2=61 Exploring Operation: 2*3=6, Resulting Numbers: [63, 6] Generated Node #0,4,1: 63:[63, 6] Operation: 2*3=6 Exploring Operation: 63+2=65, Resulting Numbers: [3, 65] Generated Node #0,4,2: 63:[3, 65] Operation: 63+2=65 Exploring Operation: 2+3=5, Resulting Numbers: [63, 5] Generated Node #0,4,3: 63:[63, 5] Operation: 2+3=5 Exploring Operation: 63/3=21, Resulting Numbers: [2, 21] Generated Node #0,4,4: 63:[2, 21] Operation: 63/3=21 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 63:[63, 6], Operations: ['75/25=3', '2*3=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,63 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,63 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,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,4,4 Current State: 63:[2, 21], Operations: ['75/25=3', '63/3=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 2+21=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,4,0 Current State: 63:[3, 61], Operations: ['75/25=3', '63-2=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,63 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,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,4,2 Current State: 63:[3, 65], Operations: ['75/25=3', '63+2=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,63 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,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,4,3 Current State: 63:[63, 5], Operations: ['75/25=3', '2+3=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,63 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,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:[2, 25, 12], Operations: ['75-63=12'] Exploring Operation: 2*12=24, Resulting Numbers: [25, 24] Generated Node #0,0,0: 63:[25, 24] Operation: 2*12=24 Exploring Operation: 12/2=6, Resulting Numbers: [25, 6] Generated Node #0,0,1: 63:[25, 6] Operation: 12/2=6 Exploring Operation: 25-12=13, Resulting Numbers: [2, 13] Generated Node #0,0,2: 63:[2, 13] Operation: 25-12=13 Exploring Operation: 25-2=23, Resulting Numbers: [12, 23] Generated Node #0,0,3: 63:[12, 23] Operation: 25-2=23 Exploring Operation: 12-2=10, Resulting Numbers: [25, 10] Generated Node #0,0,4: 63:[25, 10] Operation: 12-2=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[25, 6], Operations: ['75-63=12', '12/2=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,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,0,2 Current State: 63:[2, 13], Operations: ['75-63=12', '25-12=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,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,0,3 Current State: 63:[12, 23], Operations: ['75-63=12', '25-2=23'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,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,0,4 Current State: 63:[25, 10], Operations: ['75-63=12', '12-2=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,63 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,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,0,0 Current State: 63:[25, 24], Operations: ['75-63=12', '2*12=24'] Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,63 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,63 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: 63:[63, 25, 73], Operations: ['75-2=73'] Exploring Operation: 73-25=48, Resulting Numbers: [63, 48] Generated Node #0,1,0: 63:[63, 48] Operation: 73-25=48 Exploring Operation: 63+25=88, Resulting Numbers: [73, 88] Generated Node #0,1,1: 63:[73, 88] Operation: 63+25=88 Exploring Operation: 63-25=38, Resulting Numbers: [73, 38] Generated Node #0,1,2: 63:[73, 38] Operation: 63-25=38 Exploring Operation: 73-63=10, Resulting Numbers: [25, 10] Generated Node #0,1,3: 63:[25, 10] Operation: 73-63=10 Exploring Operation: 25+73=98, Resulting Numbers: [63, 98] Generated Node #0,1,4: 63:[63, 98] Operation: 25+73=98 Moving to Node #0,2 Current State: 63:[63, 75, 23], Operations: ['25-2=23'] Exploring Operation: 75+23=98, Resulting Numbers: [63, 98] Generated Node #0,2,0: 63:[63, 98] Operation: 75+23=98 Exploring Operation: 75-23=52, Resulting Numbers: [63, 52] Generated Node #0,2,1: 63:[63, 52] Operation: 75-23=52 Exploring Operation: 63-23=40, Resulting Numbers: [75, 40] Generated Node #0,2,2: 63:[75, 40] Operation: 63-23=40 Exploring Operation: 63+23=86, Resulting Numbers: [75, 86] Generated Node #0,2,3: 63:[75, 86] Operation: 63+23=86 Exploring Operation: 75-63=12, Resulting Numbers: [23, 12] Generated Node #0,2,4: 63:[23, 12] Operation: 75-63=12 Moving to Node #0,3 Current State: 63:[63, 2, 50], Operations: ['75-25=50'] Exploring Operation: 63+2=65, Resulting Numbers: [50, 65] Generated Node #0,3,0: 63:[50, 65] Operation: 63+2=65 Exploring Operation: 63-2=61, Resulting Numbers: [50, 61] Generated Node #0,3,1: 63:[50, 61] Operation: 63-2=61 Exploring Operation: 2+50=52, Resulting Numbers: [63, 52] Generated Node #0,3,2: 63:[63, 52] Operation: 2+50=52 Exploring Operation: 63-50=13, Resulting Numbers: [2, 13] Generated Node #0,3,3: 63:[2, 13] Operation: 63-50=13 Exploring Operation: 50/2=25, Resulting Numbers: [63, 25] Generated Node #0,3,4: 63:[63, 25] Operation: 50/2=25 Moving to Node #0,3,4 Current State: 63:[63, 25], Operations: ['75-25=50', '50/2=25'] Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,63 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[23, 12], Operations: ['25-2=23', '75-63=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,63 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[2, 13], Operations: ['75-25=50', '63-50=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[25, 10], Operations: ['75-2=73', '73-63=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,63 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[63, 52], Operations: ['25-2=23', '75-23=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,63 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[63, 52], Operations: ['75-25=50', '2+50=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,63 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[50, 65], Operations: ['75-25=50', '63+2=65'] Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,63 unequal: No Solution Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[63, 48], Operations: ['75-2=73', '73-25=48'] Exploring Operation: 63*48=3024, Resulting Numbers: [3024] 3024,63 unequal: No Solution Exploring Operation: 63+48=111, Resulting Numbers: [111] 111,63 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[50, 61], Operations: ['75-25=50', '63-2=61'] Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,63 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[73, 38], Operations: ['75-2=73', '63-25=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,63 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[75, 40], Operations: ['25-2=23', '63-23=40'] Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,63 unequal: No Solution Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[75, 86], Operations: ['25-2=23', '63+23=86'] Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 75*86=6450, Resulting Numbers: [6450] 6450,63 unequal: No Solution Exploring Operation: 75+86=161, Resulting Numbers: [161] 161,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[63, 98], Operations: ['75-2=73', '25+73=98'] Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 63*98=6174, Resulting Numbers: [6174] 6174,63 unequal: No Solution Exploring Operation: 63+98=161, Resulting Numbers: [161] 161,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[63, 98], Operations: ['25-2=23', '75+23=98'] Exploring Operation: 63+98=161, Resulting Numbers: [161] 161,63 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 63*98=6174, Resulting Numbers: [6174] 6174,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[73, 88], Operations: ['75-2=73', '63+25=88'] Exploring Operation: 73*88=6424, Resulting Numbers: [6424] 6424,63 unequal: No Solution Exploring Operation: 73+88=161, Resulting Numbers: [161] 161,63 unequal: No Solution Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,63 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 82, 92, 13, 70 ]
60
[ "92-82=10", "13*10=130", "130-70=60" ]
Current State: 60:[82, 92, 13, 70], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [13, 70, 10] Generated Node #2: [13, 70, 10] from Operation: 92-82=10 Current State: 60:[13, 70, 10], Operations: ['92-82=10'] Exploring Operation: 13*10=130, Resulting Numbers: [70, 130] Generated Node #3: [70, 130] from Operation: 13*10=130 Current State: 60:[70, 130], Operations: ['92-82=10', '13*10=130'] Exploring Operation: 130-70=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[82, 92, 13, 70], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [13, 70, 10] Generated Node #0,0: 60:[13, 70, 10] Operation: 92-82=10 Exploring Operation: 92-70=22, Resulting Numbers: [82, 13, 22] Generated Node #0,1: 60:[82, 13, 22] Operation: 92-70=22 Moving to Node #0,0 Current State: 60:[13, 70, 10], Operations: ['92-82=10'] Exploring Operation: 70-10=60, Resulting Numbers: [13, 60] Generated Node #0,0,0: 60:[13, 60] Operation: 70-10=60 Exploring Operation: 70/10=7, Resulting Numbers: [13, 7] Generated Node #0,0,1: 60:[13, 7] Operation: 70/10=7 Moving to Node #0,1 Current State: 60:[82, 13, 22], Operations: ['92-70=22'] Exploring Operation: 82-13=69, Resulting Numbers: [22, 69] Generated Node #0,1,0: 60:[22, 69] Operation: 82-13=69 Exploring Operation: 82-22=60, Resulting Numbers: [13, 60] Generated Node #0,1,1: 60:[13, 60] Operation: 82-22=60 Moving to Node #0,0,0 Current State: 60:[13, 60], Operations: ['92-82=10', '70-10=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,60 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[13, 60], Operations: ['92-70=22', '82-22=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[13, 7], Operations: ['92-82=10', '70/10=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[22, 69], Operations: ['92-70=22', '82-13=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,60 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 9, 24, 35 ]
30
[ "35-29=6", "9*6=54", "54-24=30" ]
Current State: 30:[29, 9, 24, 35], Operations: [] Exploring Operation: 35-29=6, Resulting Numbers: [9, 24, 6] Generated Node #2: [9, 24, 6] from Operation: 35-29=6 Current State: 30:[9, 24, 6], Operations: ['35-29=6'] Exploring Operation: 9*6=54, Resulting Numbers: [24, 54] Generated Node #3: [24, 54] from Operation: 9*6=54 Current State: 30:[24, 54], Operations: ['35-29=6', '9*6=54'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[29, 9, 24, 35], Operations: [] Exploring Operation: 35-29=6, Resulting Numbers: [9, 24, 6] Generated Node #0,0: 30:[9, 24, 6] Operation: 35-29=6 Exploring Operation: 35-24=11, Resulting Numbers: [29, 9, 11] Generated Node #0,1: 30:[29, 9, 11] Operation: 35-24=11 Exploring Operation: 24-9=15, Resulting Numbers: [29, 35, 15] Generated Node #0,2: 30:[29, 35, 15] Operation: 24-9=15 Exploring Operation: 29-24=5, Resulting Numbers: [9, 35, 5] Generated Node #0,3: 30:[9, 35, 5] Operation: 29-24=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[29, 9, 11], Operations: ['35-24=11'] Exploring Operation: 11-9=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 30:[29, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [29, 20] Generated Node #0,1,1: 30:[29, 20] Operation: 9+11=20 Exploring Operation: 29-9=20, Resulting Numbers: [11, 20] Generated Node #0,1,2: 30:[11, 20] Operation: 29-9=20 Exploring Operation: 29-11=18, Resulting Numbers: [9, 18] Generated Node #0,1,3: 30:[9, 18] Operation: 29-11=18 Moving to Node #0,1,0 Current State: 30:[29, 2], Operations: ['35-24=11', '11-9=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[9, 18], Operations: ['35-24=11', '29-11=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,30 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[11, 20], Operations: ['35-24=11', '29-9=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,30 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[29, 20], Operations: ['35-24=11', '9+11=20'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[29, 35, 15], Operations: ['24-9=15'] Exploring Operation: 29+15=44, Resulting Numbers: [35, 44] Generated Node #0,2,0: 30:[35, 44] Operation: 29+15=44 Exploring Operation: 35-29=6, Resulting Numbers: [15, 6] Generated Node #0,2,1: 30:[15, 6] Operation: 35-29=6 Exploring Operation: 35-15=20, Resulting Numbers: [29, 20] Generated Node #0,2,2: 30:[29, 20] Operation: 35-15=20 Exploring Operation: 29-15=14, Resulting Numbers: [35, 14] Generated Node #0,2,3: 30:[35, 14] Operation: 29-15=14 Moving to Node #0,2,1 Current State: 30:[15, 6], Operations: ['24-9=15', '35-29=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[35, 14], Operations: ['24-9=15', '29-15=14'] Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,30 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[29, 20], Operations: ['24-9=15', '35-15=20'] Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,30 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[35, 44], Operations: ['24-9=15', '29+15=44'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,30 unequal: No Solution Exploring Operation: 35*44=1540, Resulting Numbers: [1540] 1540,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[9, 35, 5], Operations: ['29-24=5'] Exploring Operation: 35/5=7, Resulting Numbers: [9, 7] Generated Node #0,3,0: 30:[9, 7] Operation: 35/5=7 Exploring Operation: 35-9=26, Resulting Numbers: [5, 26] Generated Node #0,3,1: 30:[5, 26] Operation: 35-9=26 Exploring Operation: 9+5=14, Resulting Numbers: [35, 14] Generated Node #0,3,2: 30:[35, 14] Operation: 9+5=14 Exploring Operation: 35-5=30, Resulting Numbers: [9, 30] Generated Node #0,3,3: 30:[9, 30] Operation: 35-5=30 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 30:[9, 30], Operations: ['29-24=5', '35-5=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 30:[9, 7], Operations: ['29-24=5', '35/5=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 30:[5, 26], Operations: ['29-24=5', '35-9=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 30:[35, 14], Operations: ['29-24=5', '9+5=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[9, 24, 6], Operations: ['35-29=6'] Exploring Operation: 24-9=15, Resulting Numbers: [6, 15] Generated Node #0,0,0: 30:[6, 15] Operation: 24-9=15 Exploring Operation: 9+24=33, Resulting Numbers: [6, 33] Generated Node #0,0,1: 30:[6, 33] Operation: 9+24=33 Exploring Operation: 24/6=4, Resulting Numbers: [9, 4] Generated Node #0,0,2: 30:[9, 4] Operation: 24/6=4 Exploring Operation: 24+6=30, Resulting Numbers: [9, 30] Generated Node #0,0,3: 30:[9, 30] Operation: 24+6=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[6, 15], Operations: ['35-29=6', '24-9=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,30 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 30:[9, 30], Operations: ['35-29=6', '24+6=30'] Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,30 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 30:[9, 4], Operations: ['35-29=6', '24/6=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[6, 33], Operations: ['35-29=6', '9+24=33'] Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,30 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 21, 24, 29, 21 ]
11
[ "24-21=3", "29-21=8", "3+8=11" ]
Current State: 11:[21, 24, 29, 21], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [29, 3] Generated Node #2: [29, 3] from Operation: 24-21=3 Current State: 11:[29, 3], Operations: ['24-21=3'] Exploring Operation: 29-21=8, Resulting Numbers: [3, 8] Generated Node #3: [3, 8] from Operation: 29-21=8 Current State: 11:[3, 8], Operations: ['24-21=3', '29-21=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[21, 24, 29, 21], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [24, 21, 8] Generated Node #0,0: 11:[24, 21, 8] Operation: 29-21=8 Exploring Operation: 24-21=3, Resulting Numbers: [29, 21, 3] Generated Node #0,1: 11:[29, 21, 3] Operation: 24-21=3 Exploring Operation: 29-21=8, Resulting Numbers: [21, 24, 8] Generated Node #0,2: 11:[21, 24, 8] Operation: 29-21=8 Exploring Operation: 29-24=5, Resulting Numbers: [21, 21, 5] Generated Node #0,3: 11:[21, 21, 5] Operation: 29-24=5 Moving to Node #0,0 Current State: 11:[24, 21, 8], Operations: ['29-21=8'] Exploring Operation: 24-21=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 11:[8, 3] Operation: 24-21=3 Exploring Operation: 21-8=13, Resulting Numbers: [24, 13] Generated Node #0,0,1: 11:[24, 13] Operation: 21-8=13 Exploring Operation: 24/8=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 11:[21, 3] Operation: 24/8=3 Exploring Operation: 24-8=16, Resulting Numbers: [21, 16] Generated Node #0,0,3: 11:[21, 16] Operation: 24-8=16 Moving to Node #0,3 Current State: 11:[21, 21, 5], Operations: ['29-24=5'] Exploring Operation: 21-5=16, Resulting Numbers: [21, 16] Generated Node #0,3,0: 11:[21, 16] Operation: 21-5=16 Exploring Operation: 21/21=1, Resulting Numbers: [5, 1] Generated Node #0,3,1: 11:[5, 1] Operation: 21/21=1 Exploring Operation: 21-21=0, Resulting Numbers: [5, 0] Generated Node #0,3,2: 11:[5, 0] Operation: 21-21=0 Exploring Operation: 21-5=16, Resulting Numbers: [21, 16] Generated Node #0,3,3: 11:[21, 16] Operation: 21-5=16 Moving to Node #0,2 Current State: 11:[21, 24, 8], Operations: ['29-21=8'] Exploring Operation: 24-21=3, Resulting Numbers: [8, 3] Generated Node #0,2,0: 11:[8, 3] Operation: 24-21=3 Exploring Operation: 21-8=13, Resulting Numbers: [24, 13] Generated Node #0,2,1: 11:[24, 13] Operation: 21-8=13 Exploring Operation: 24-8=16, Resulting Numbers: [21, 16] Generated Node #0,2,2: 11:[21, 16] Operation: 24-8=16 Exploring Operation: 24/8=3, Resulting Numbers: [21, 3] Generated Node #0,2,3: 11:[21, 3] Operation: 24/8=3 Moving to Node #0,1 Current State: 11:[29, 21, 3], Operations: ['24-21=3'] Exploring Operation: 29-21=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 11:[3, 8] Operation: 29-21=8 Exploring Operation: 21/3=7, Resulting Numbers: [29, 7] Generated Node #0,1,1: 11:[29, 7] Operation: 21/3=7 Exploring Operation: 29-3=26, Resulting Numbers: [21, 26] Generated Node #0,1,2: 11:[21, 26] Operation: 29-3=26 Exploring Operation: 21-3=18, Resulting Numbers: [29, 18] Generated Node #0,1,3: 11:[29, 18] Operation: 21-3=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[3, 8], Operations: ['24-21=3', '29-21=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[21, 24, 29, 21], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [29, 21, 3] Generated Node #0,1: 11:[29, 21, 3] Operation: 24-21=3 Moving to Node #0,1 Current State: 11:[29, 21, 3], Operations: ['24-21=3'] Exploring Operation: 29-21=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 11:[3, 8] Operation: 29-21=8 Moving to Node #0,1,0 Current State: 11:[3, 8], Operations: ['24-21=3', '29-21=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 8, 80, 4, 36 ]
75
[ "4+36=40", "40/8=5", "80-5=75" ]
Current State: 75:[8, 80, 4, 36], Operations: [] Exploring Operation: 4+36=40, Resulting Numbers: [8, 80, 40] Generated Node #2: [8, 80, 40] from Operation: 4+36=40 Current State: 75:[8, 80, 40], Operations: ['4+36=40'] Exploring Operation: 40/8=5, Resulting Numbers: [80, 5] Generated Node #3: [80, 5] from Operation: 40/8=5 Current State: 75:[80, 5], Operations: ['4+36=40', '40/8=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[8, 80, 4, 36], Operations: [] Exploring Operation: 80-8=72, Resulting Numbers: [4, 36, 72] Generated Node #0,0: 75:[4, 36, 72] Operation: 80-8=72 Exploring Operation: 80-4=76, Resulting Numbers: [8, 36, 76] Generated Node #0,1: 75:[8, 36, 76] Operation: 80-4=76 Exploring Operation: 36/4=9, Resulting Numbers: [8, 80, 9] Generated Node #0,2: 75:[8, 80, 9] Operation: 36/4=9 Exploring Operation: 36-8=28, Resulting Numbers: [80, 4, 28] Generated Node #0,3: 75:[80, 4, 28] Operation: 36-8=28 Moving to Node #0,3 Current State: 75:[80, 4, 28], Operations: ['36-8=28'] Exploring Operation: 80/4=20, Resulting Numbers: [28, 20] Generated Node #0,3,0: 75:[28, 20] Operation: 80/4=20 Exploring Operation: 28/4=7, Resulting Numbers: [80, 7] Generated Node #0,3,1: 75:[80, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [80, 24] Generated Node #0,3,2: 75:[80, 24] Operation: 28-4=24 Exploring Operation: 80-4=76, Resulting Numbers: [28, 76] Generated Node #0,3,3: 75:[28, 76] Operation: 80-4=76 Moving to Node #0,2 Current State: 75:[8, 80, 9], Operations: ['36/4=9'] Exploring Operation: 9-8=1, Resulting Numbers: [80, 1] Generated Node #0,2,0: 75:[80, 1] Operation: 9-8=1 Exploring Operation: 80-8=72, Resulting Numbers: [9, 72] Generated Node #0,2,1: 75:[9, 72] Operation: 80-8=72 Exploring Operation: 8+9=17, Resulting Numbers: [80, 17] Generated Node #0,2,2: 75:[80, 17] Operation: 8+9=17 Exploring Operation: 80-9=71, Resulting Numbers: [8, 71] Generated Node #0,2,3: 75:[8, 71] Operation: 80-9=71 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[80, 1], Operations: ['36/4=9', '9-8=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[9, 72], Operations: ['36/4=9', '80-8=72'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[80, 17], Operations: ['36/4=9', '8+9=17'] Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,75 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 75:[8, 71], Operations: ['36/4=9', '80-9=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,75 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,75 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: 75:[8, 36, 76], Operations: ['80-4=76'] Exploring Operation: 76-8=68, Resulting Numbers: [36, 68] Generated Node #0,1,0: 75:[36, 68] Operation: 76-8=68 Exploring Operation: 76-36=40, Resulting Numbers: [8, 40] Generated Node #0,1,1: 75:[8, 40] Operation: 76-36=40 Exploring Operation: 8+36=44, Resulting Numbers: [76, 44] Generated Node #0,1,2: 75:[76, 44] Operation: 8+36=44 Exploring Operation: 36-8=28, Resulting Numbers: [76, 28] Generated Node #0,1,3: 75:[76, 28] Operation: 36-8=28 Moving to Node #0,0 Current State: 75:[4, 36, 72], Operations: ['80-8=72'] Exploring Operation: 36/4=9, Resulting Numbers: [72, 9] Generated Node #0,0,0: 75:[72, 9] Operation: 36/4=9 Exploring Operation: 4+72=76, Resulting Numbers: [36, 76] Generated Node #0,0,1: 75:[36, 76] Operation: 4+72=76 Exploring Operation: 36-4=32, Resulting Numbers: [72, 32] Generated Node #0,0,2: 75:[72, 32] Operation: 36-4=32 Exploring Operation: 72/36=2, Resulting Numbers: [4, 2] Generated Node #0,0,3: 75:[4, 2] Operation: 72/36=2 Moving to Node #0,0,3 Current State: 75:[4, 2], Operations: ['80-8=72', '72/36=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[28, 76], Operations: ['36-8=28', '80-4=76'] Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[76, 28], Operations: ['80-4=76', '36-8=28'] Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,75 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[80, 24], Operations: ['36-8=28', '28-4=24'] Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 80*24=1920, Resulting Numbers: [1920] 1920,75 unequal: No Solution Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[80, 7], Operations: ['36-8=28', '28/4=7'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,75 unequal: No Solution Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[72, 9], Operations: ['80-8=72', '36/4=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,75 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[28, 20], Operations: ['36-8=28', '80/4=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[72, 32], Operations: ['80-8=72', '36-4=32'] Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,75 unequal: No Solution Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[36, 76], Operations: ['80-8=72', '4+72=76'] Exploring Operation: 36+76=112, Resulting Numbers: [112] 112,75 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 36*76=2736, Resulting Numbers: [2736] 2736,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[36, 68], Operations: ['80-4=76', '76-8=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,75 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,75 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[8, 40], Operations: ['80-4=76', '76-36=40'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[76, 44], Operations: ['80-4=76', '8+36=44'] Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,75 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,75 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 64, 43, 27, 4 ]
24
[ "64-43=21", "27-21=6", "4*6=24" ]
Current State: 24:[64, 43, 27, 4], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [27, 4, 21] Generated Node #2: [27, 4, 21] from Operation: 64-43=21 Current State: 24:[27, 4, 21], Operations: ['64-43=21'] Exploring Operation: 27-21=6, Resulting Numbers: [4, 6] Generated Node #3: [4, 6] from Operation: 27-21=6 Current State: 24:[4, 6], Operations: ['64-43=21', '27-21=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[64, 43, 27, 4], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [27, 4, 21] Generated Node #0,0: 24:[27, 4, 21] Operation: 64-43=21 Moving to Node #0,0 Current State: 24:[27, 4, 21], Operations: ['64-43=21'] Exploring Operation: 27-21=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 24:[4, 6] Operation: 27-21=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[4, 6], Operations: ['64-43=21', '27-21=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[64, 43, 27, 4], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [27, 4, 21] Generated Node #0,0: 24:[27, 4, 21] Operation: 64-43=21 Moving to Node #0,0 Current State: 24:[27, 4, 21], Operations: ['64-43=21'] Exploring Operation: 27-21=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 24:[4, 6] Operation: 27-21=6 Moving to Node #0,0,0 Current State: 24:[4, 6], Operations: ['64-43=21', '27-21=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 69, 90, 53, 40 ]
43
[ "69+90=159", "159/53=3", "40+3=43" ]
Current State: 43:[69, 90, 53, 40], Operations: [] Exploring Operation: 69+90=159, Resulting Numbers: [53, 40, 159] Generated Node #2: [53, 40, 159] from Operation: 69+90=159 Current State: 43:[53, 40, 159], Operations: ['69+90=159'] Exploring Operation: 159/53=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 159/53=3 Current State: 43:[40, 3], Operations: ['69+90=159', '159/53=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[69, 90, 53, 40], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [90, 53, 29] Generated Node #0,0: 43:[90, 53, 29] Operation: 69-40=29 Exploring Operation: 90-69=21, Resulting Numbers: [53, 40, 21] Generated Node #0,1: 43:[53, 40, 21] Operation: 90-69=21 Exploring Operation: 90-53=37, Resulting Numbers: [69, 40, 37] Generated Node #0,2: 43:[69, 40, 37] Operation: 90-53=37 Exploring Operation: 90-40=50, Resulting Numbers: [69, 53, 50] Generated Node #0,3: 43:[69, 53, 50] Operation: 90-40=50 Moving to Node #0,1 Current State: 43:[53, 40, 21], Operations: ['90-69=21'] Exploring Operation: 53-21=32, Resulting Numbers: [40, 32] Generated Node #0,1,0: 43:[40, 32] Operation: 53-21=32 Exploring Operation: 53+21=74, Resulting Numbers: [40, 74] Generated Node #0,1,1: 43:[40, 74] Operation: 53+21=74 Exploring Operation: 40-21=19, Resulting Numbers: [53, 19] Generated Node #0,1,2: 43:[53, 19] Operation: 40-21=19 Exploring Operation: 40+21=61, Resulting Numbers: [53, 61] Generated Node #0,1,3: 43:[53, 61] Operation: 40+21=61 Moving to Node #0,2 Current State: 43:[69, 40, 37], Operations: ['90-53=37'] Exploring Operation: 69+37=106, Resulting Numbers: [40, 106] Generated Node #0,2,0: 43:[40, 106] Operation: 69+37=106 Exploring Operation: 40+37=77, Resulting Numbers: [69, 77] Generated Node #0,2,1: 43:[69, 77] Operation: 40+37=77 Exploring Operation: 69-37=32, Resulting Numbers: [40, 32] Generated Node #0,2,2: 43:[40, 32] Operation: 69-37=32 Exploring Operation: 69-40=29, Resulting Numbers: [37, 29] Generated Node #0,2,3: 43:[37, 29] Operation: 69-40=29 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[40, 32], Operations: ['90-53=37', '69-37=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,43 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 43:[37, 29], Operations: ['90-53=37', '69-40=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,43 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[69, 77], Operations: ['90-53=37', '40+37=77'] Exploring Operation: 69*77=5313, Resulting Numbers: [5313] 5313,43 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[40, 106], Operations: ['90-53=37', '69+37=106'] Exploring Operation: 106-40=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 40*106=4240, Resulting Numbers: [4240] 4240,43 unequal: No Solution Exploring Operation: 40+106=146, Resulting Numbers: [146] 146,43 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: 43:[69, 53, 50], Operations: ['90-40=50'] Exploring Operation: 53-50=3, Resulting Numbers: [69, 3] Generated Node #0,3,0: 43:[69, 3] Operation: 53-50=3 Exploring Operation: 69-50=19, Resulting Numbers: [53, 19] Generated Node #0,3,1: 43:[53, 19] Operation: 69-50=19 Exploring Operation: 69-53=16, Resulting Numbers: [50, 16] Generated Node #0,3,2: 43:[50, 16] Operation: 69-53=16 Exploring Operation: 69+53=122, Resulting Numbers: [50, 122] Generated Node #0,3,3: 43:[50, 122] Operation: 69+53=122 Moving to Node #0,0 Current State: 43:[90, 53, 29], Operations: ['69-40=29'] Exploring Operation: 90+29=119, Resulting Numbers: [53, 119] Generated Node #0,0,0: 43:[53, 119] Operation: 90+29=119 Exploring Operation: 90-53=37, Resulting Numbers: [29, 37] Generated Node #0,0,1: 43:[29, 37] Operation: 90-53=37 Exploring Operation: 90-29=61, Resulting Numbers: [53, 61] Generated Node #0,0,2: 43:[53, 61] Operation: 90-29=61 Exploring Operation: 53-29=24, Resulting Numbers: [90, 24] Generated Node #0,0,3: 43:[90, 24] Operation: 53-29=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[29, 37], Operations: ['69-40=29', '90-53=37'] Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[53, 61], Operations: ['69-40=29', '90-29=61'] Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,43 unequal: No Solution Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[90, 24], Operations: ['69-40=29', '53-29=24'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 90*24=2160, Resulting Numbers: [2160] 2160,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[53, 119], Operations: ['69-40=29', '90+29=119'] Exploring Operation: 53+119=172, Resulting Numbers: [172] 172,43 unequal: No Solution Exploring Operation: 119-53=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 53*119=6307, Resulting Numbers: [6307] 6307,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 43:[40, 32], Operations: ['90-69=21', '53-21=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,43 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[53, 61], Operations: ['90-69=21', '40+21=61'] Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,43 unequal: No Solution Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[40, 74], Operations: ['90-69=21', '53+21=74'] Exploring Operation: 40*74=2960, Resulting Numbers: [2960] 2960,43 unequal: No Solution Exploring Operation: 40+74=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[50, 16], Operations: ['90-40=50', '69-53=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,43 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[53, 19], Operations: ['90-40=50', '69-50=19'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,43 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[53, 19], Operations: ['90-69=21', '40-21=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,43 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[69, 3], Operations: ['90-40=50', '53-50=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,43 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[50, 122], Operations: ['90-40=50', '69+53=122'] Exploring Operation: 50*122=6100, Resulting Numbers: [6100] 6100,43 unequal: No Solution Exploring Operation: 50+122=172, Resulting Numbers: [172] 172,43 unequal: No Solution Exploring Operation: 122-50=72, Resulting Numbers: [72] 72,43 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 68, 58, 55, 25 ]
96
[ "68+58=126", "55-25=30", "126-30=96" ]
Current State: 96:[68, 58, 55, 25], Operations: [] Exploring Operation: 68+58=126, Resulting Numbers: [55, 25, 126] Generated Node #2: [55, 25, 126] from Operation: 68+58=126 Current State: 96:[55, 25, 126], Operations: ['68+58=126'] Exploring Operation: 55-25=30, Resulting Numbers: [126, 30] Generated Node #3: [126, 30] from Operation: 55-25=30 Current State: 96:[126, 30], Operations: ['68+58=126', '55-25=30'] Exploring Operation: 126-30=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[68, 58, 55, 25], Operations: [] Exploring Operation: 68-25=43, Resulting Numbers: [58, 55, 43] Generated Node #0,0: 96:[58, 55, 43] Operation: 68-25=43 Exploring Operation: 68-58=10, Resulting Numbers: [55, 25, 10] Generated Node #0,1: 96:[55, 25, 10] Operation: 68-58=10 Exploring Operation: 68+25=93, Resulting Numbers: [58, 55, 93] Generated Node #0,2: 96:[58, 55, 93] Operation: 68+25=93 Exploring Operation: 58-55=3, Resulting Numbers: [68, 25, 3] Generated Node #0,3: 96:[68, 25, 3] Operation: 58-55=3 Exploring Operation: 68-55=13, Resulting Numbers: [58, 25, 13] Generated Node #0,4: 96:[58, 25, 13] Operation: 68-55=13 Moving to Node #0,1 Current State: 96:[55, 25, 10], Operations: ['68-58=10'] Exploring Operation: 25+10=35, Resulting Numbers: [55, 35] Generated Node #0,1,0: 96:[55, 35] Operation: 25+10=35 Exploring Operation: 55+25=80, Resulting Numbers: [10, 80] Generated Node #0,1,1: 96:[10, 80] Operation: 55+25=80 Exploring Operation: 25-10=15, Resulting Numbers: [55, 15] Generated Node #0,1,2: 96:[55, 15] Operation: 25-10=15 Exploring Operation: 55-25=30, Resulting Numbers: [10, 30] Generated Node #0,1,3: 96:[10, 30] Operation: 55-25=30 Exploring Operation: 55-10=45, Resulting Numbers: [25, 45] Generated Node #0,1,4: 96:[25, 45] Operation: 55-10=45 Moving to Node #0,4 Current State: 96:[58, 25, 13], Operations: ['68-55=13'] Exploring Operation: 58+25=83, Resulting Numbers: [13, 83] Generated Node #0,4,0: 96:[13, 83] Operation: 58+25=83 Exploring Operation: 25-13=12, Resulting Numbers: [58, 12] Generated Node #0,4,1: 96:[58, 12] Operation: 25-13=12 Exploring Operation: 58-25=33, Resulting Numbers: [13, 33] Generated Node #0,4,2: 96:[13, 33] Operation: 58-25=33 Exploring Operation: 25+13=38, Resulting Numbers: [58, 38] Generated Node #0,4,3: 96:[58, 38] Operation: 25+13=38 Exploring Operation: 58-13=45, Resulting Numbers: [25, 45] Generated Node #0,4,4: 96:[25, 45] Operation: 58-13=45 Moving to Node #0,2 Current State: 96:[58, 55, 93], Operations: ['68+25=93'] Exploring Operation: 93-58=35, Resulting Numbers: [55, 35] Generated Node #0,2,0: 96:[55, 35] Operation: 93-58=35 Exploring Operation: 58+93=151, Resulting Numbers: [55, 151] Generated Node #0,2,1: 96:[55, 151] Operation: 58+93=151 Exploring Operation: 93-55=38, Resulting Numbers: [58, 38] Generated Node #0,2,2: 96:[58, 38] Operation: 93-55=38 Exploring Operation: 58+55=113, Resulting Numbers: [93, 113] Generated Node #0,2,3: 96:[93, 113] Operation: 58+55=113 Exploring Operation: 58-55=3, Resulting Numbers: [93, 3] Generated Node #0,2,4: 96:[93, 3] Operation: 58-55=3 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 96:[93, 3], Operations: ['68+25=93', '58-55=3'] Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,96 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[68, 58, 55, 25], Operations: [] Exploring Operation: 68+25=93, Resulting Numbers: [58, 55, 93] Generated Node #0,2: 96:[58, 55, 93] Operation: 68+25=93 Moving to Node #0,2 Current State: 96:[58, 55, 93], Operations: ['68+25=93'] Exploring Operation: 58-55=3, Resulting Numbers: [93, 3] Generated Node #0,2,4: 96:[93, 3] Operation: 58-55=3 Moving to Node #0,2,4 Current State: 96:[93, 3], Operations: ['68+25=93', '58-55=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 64, 40, 74, 25 ]
25
[ "64-40=24", "74-25=49", "49-24=25" ]
Current State: 25:[64, 40, 74, 25], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [74, 25, 24] Generated Node #2: [74, 25, 24] from Operation: 64-40=24 Current State: 25:[74, 25, 24], Operations: ['64-40=24'] Exploring Operation: 74-25=49, Resulting Numbers: [24, 49] Generated Node #3: [24, 49] from Operation: 74-25=49 Current State: 25:[24, 49], Operations: ['64-40=24', '74-25=49'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[64, 40, 74, 25], Operations: [] Exploring Operation: 64-25=39, Resulting Numbers: [40, 74, 39] Generated Node #0,0: 25:[40, 74, 39] Operation: 64-25=39 Exploring Operation: 74-64=10, Resulting Numbers: [40, 25, 10] Generated Node #0,1: 25:[40, 25, 10] Operation: 74-64=10 Exploring Operation: 74-40=34, Resulting Numbers: [64, 25, 34] Generated Node #0,2: 25:[64, 25, 34] Operation: 74-40=34 Exploring Operation: 64-40=24, Resulting Numbers: [74, 25, 24] Generated Node #0,3: 25:[74, 25, 24] Operation: 64-40=24 Moving to Node #0,1 Current State: 25:[40, 25, 10], Operations: ['74-64=10'] Exploring Operation: 40+10=50, Resulting Numbers: [25, 50] Generated Node #0,1,0: 25:[25, 50] Operation: 40+10=50 Exploring Operation: 40-25=15, Resulting Numbers: [10, 15] Generated Node #0,1,1: 25:[10, 15] Operation: 40-25=15 Exploring Operation: 40/10=4, Resulting Numbers: [25, 4] Generated Node #0,1,2: 25:[25, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [25, 30] Generated Node #0,1,3: 25:[25, 30] Operation: 40-10=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[25, 4], Operations: ['74-64=10', '40/10=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[25, 30], Operations: ['74-64=10', '40-10=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,25 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[10, 15], Operations: ['74-64=10', '40-25=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[64, 40, 74, 25], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [40, 25, 10] Generated Node #0,1: 25:[40, 25, 10] Operation: 74-64=10 Moving to Node #0,1 Current State: 25:[40, 25, 10], Operations: ['74-64=10'] Exploring Operation: 40-25=15, Resulting Numbers: [10, 15] Generated Node #0,1,1: 25:[10, 15] Operation: 40-25=15 Moving to Node #0,1,1 Current State: 25:[10, 15], Operations: ['74-64=10', '40-25=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 26, 8, 24, 78 ]
96
[ "78/26=3", "8+24=32", "3*32=96" ]
Current State: 96:[26, 8, 24, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [8, 24, 3] Generated Node #2: [8, 24, 3] from Operation: 78/26=3 Current State: 96:[8, 24, 3], Operations: ['78/26=3'] Exploring Operation: 8+24=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 8+24=32 Current State: 96:[3, 32], Operations: ['78/26=3', '8+24=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[26, 8, 24, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [8, 24, 3] Generated Node #0,0: 96:[8, 24, 3] Operation: 78/26=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[8, 24, 3], Operations: ['78/26=3'] Exploring Operation: 8+24=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 96:[3, 32] Operation: 8+24=32 Moving to Node #0,0,0 Current State: 96:[3, 32], Operations: ['78/26=3', '8+24=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[26, 8, 24, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [8, 24, 3] Generated Node #0,0: 96:[8, 24, 3] Operation: 78/26=3 Moving to Node #0,0 Current State: 96:[8, 24, 3], Operations: ['78/26=3'] Exploring Operation: 8+24=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 96:[3, 32] Operation: 8+24=32 Moving to Node #0,0,0 Current State: 96:[3, 32], Operations: ['78/26=3', '8+24=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 19, 97, 6, 22 ]
23
[ "19+97=116", "22+116=138", "138/6=23" ]
Current State: 23:[19, 97, 6, 22], Operations: [] Exploring Operation: 19+97=116, Resulting Numbers: [6, 22, 116] Generated Node #2: [6, 22, 116] from Operation: 19+97=116 Current State: 23:[6, 22, 116], Operations: ['19+97=116'] Exploring Operation: 22+116=138, Resulting Numbers: [6, 138] Generated Node #3: [6, 138] from Operation: 22+116=138 Current State: 23:[6, 138], Operations: ['19+97=116', '22+116=138'] Exploring Operation: 138/6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[19, 97, 6, 22], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [19, 22, 91] Generated Node #0,0: 23:[19, 22, 91] Operation: 97-6=91 Exploring Operation: 97-22=75, Resulting Numbers: [19, 6, 75] Generated Node #0,1: 23:[19, 6, 75] Operation: 97-22=75 Exploring Operation: 97-19=78, Resulting Numbers: [6, 22, 78] Generated Node #0,2: 23:[6, 22, 78] Operation: 97-19=78 Moving to Node #0,0 Current State: 23:[19, 22, 91], Operations: ['97-6=91'] Exploring Operation: 91-22=69, Resulting Numbers: [19, 69] Generated Node #0,0,0: 23:[19, 69] Operation: 91-22=69 Exploring Operation: 91-19=72, Resulting Numbers: [22, 72] Generated Node #0,0,1: 23:[22, 72] Operation: 91-19=72 Exploring Operation: 19+22=41, Resulting Numbers: [91, 41] Generated Node #0,0,2: 23:[91, 41] Operation: 19+22=41 Moving to Node #0,1 Current State: 23:[19, 6, 75], Operations: ['97-22=75'] Exploring Operation: 75-6=69, Resulting Numbers: [19, 69] Generated Node #0,1,0: 23:[19, 69] Operation: 75-6=69 Exploring Operation: 19+6=25, Resulting Numbers: [75, 25] Generated Node #0,1,1: 23:[75, 25] Operation: 19+6=25 Exploring Operation: 75-19=56, Resulting Numbers: [6, 56] Generated Node #0,1,2: 23:[6, 56] Operation: 75-19=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[19, 69], Operations: ['97-22=75', '75-6=69'] Exploring Operation: 19*69=1311, Resulting Numbers: [1311] 1311,23 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 19+69=88, Resulting Numbers: [88] 88,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[6, 56], Operations: ['97-22=75', '75-19=56'] Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,23 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[75, 25], Operations: ['97-22=75', '19+6=25'] Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 23:[6, 22, 78], Operations: ['97-19=78'] Exploring Operation: 78-22=56, Resulting Numbers: [6, 56] Generated Node #0,2,0: 23:[6, 56] Operation: 78-22=56 Exploring Operation: 78-6=72, Resulting Numbers: [22, 72] Generated Node #0,2,1: 23:[22, 72] Operation: 78-6=72 Exploring Operation: 78/6=13, Resulting Numbers: [22, 13] Generated Node #0,2,2: 23:[22, 13] Operation: 78/6=13 Moving to Node #0,2,2 Current State: 23:[22, 13], Operations: ['97-19=78', '78/6=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,23 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[22, 72], Operations: ['97-19=78', '78-6=72'] Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,23 unequal: No Solution Exploring Operation: 22*72=1584, Resulting Numbers: [1584] 1584,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[19, 69], Operations: ['97-6=91', '91-22=69'] Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 19*69=1311, Resulting Numbers: [1311] 1311,23 unequal: No Solution Exploring Operation: 19+69=88, Resulting Numbers: [88] 88,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[22, 72], Operations: ['97-6=91', '91-19=72'] Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 22*72=1584, Resulting Numbers: [1584] 1584,23 unequal: No Solution Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[6, 56], Operations: ['97-19=78', '78-22=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[91, 41], Operations: ['97-6=91', '19+22=41'] Exploring Operation: 91+41=132, Resulting Numbers: [132] 132,23 unequal: No Solution Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 91*41=3731, Resulting Numbers: [3731] 3731,23 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 31, 88, 12, 15 ]
79
[ "88*15=1320", "1320/12=110", "110-31=79" ]
Current State: 79:[31, 88, 12, 15], Operations: [] Exploring Operation: 88*15=1320, Resulting Numbers: [31, 12, 1320] Generated Node #2: [31, 12, 1320] from Operation: 88*15=1320 Current State: 79:[31, 12, 1320], Operations: ['88*15=1320'] Exploring Operation: 1320/12=110, Resulting Numbers: [31, 110] Generated Node #3: [31, 110] from Operation: 1320/12=110 Current State: 79:[31, 110], Operations: ['88*15=1320', '1320/12=110'] Exploring Operation: 110-31=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[31, 88, 12, 15], Operations: [] Exploring Operation: 31+15=46, Resulting Numbers: [88, 12, 46] Generated Node #0,0: 79:[88, 12, 46] Operation: 31+15=46 Exploring Operation: 88-15=73, Resulting Numbers: [31, 12, 73] Generated Node #0,1: 79:[31, 12, 73] Operation: 88-15=73 Exploring Operation: 12+15=27, Resulting Numbers: [31, 88, 27] Generated Node #0,2: 79:[31, 88, 27] Operation: 12+15=27 Exploring Operation: 88-12=76, Resulting Numbers: [31, 15, 76] Generated Node #0,3: 79:[31, 15, 76] Operation: 88-12=76 Exploring Operation: 31+12=43, Resulting Numbers: [88, 15, 43] Generated Node #0,4: 79:[88, 15, 43] Operation: 31+12=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[88, 12, 46], Operations: ['31+15=46'] Exploring Operation: 88-12=76, Resulting Numbers: [46, 76] Generated Node #0,0,0: 79:[46, 76] Operation: 88-12=76 Exploring Operation: 88-46=42, Resulting Numbers: [12, 42] Generated Node #0,0,1: 79:[12, 42] Operation: 88-46=42 Exploring Operation: 12+46=58, Resulting Numbers: [88, 58] Generated Node #0,0,2: 79:[88, 58] Operation: 12+46=58 Exploring Operation: 46-12=34, Resulting Numbers: [88, 34] Generated Node #0,0,3: 79:[88, 34] Operation: 46-12=34 Exploring Operation: 88+12=100, Resulting Numbers: [46, 100] Generated Node #0,0,4: 79:[46, 100] Operation: 88+12=100 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[88, 58], Operations: ['31+15=46', '12+46=58'] Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,79 unequal: No Solution Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[46, 76], Operations: ['31+15=46', '88-12=76'] Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,79 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[88, 34], Operations: ['31+15=46', '46-12=34'] Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,79 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 79:[46, 100], Operations: ['31+15=46', '88+12=100'] Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,79 unequal: No Solution Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[12, 42], Operations: ['31+15=46', '88-46=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[31, 88, 27], Operations: ['12+15=27'] Exploring Operation: 88-27=61, Resulting Numbers: [31, 61] Generated Node #0,2,0: 79:[31, 61] Operation: 88-27=61 Exploring Operation: 31-27=4, Resulting Numbers: [88, 4] Generated Node #0,2,1: 79:[88, 4] Operation: 31-27=4 Exploring Operation: 88-31=57, Resulting Numbers: [27, 57] Generated Node #0,2,2: 79:[27, 57] Operation: 88-31=57 Exploring Operation: 31+27=58, Resulting Numbers: [88, 58] Generated Node #0,2,3: 79:[88, 58] Operation: 31+27=58 Exploring Operation: 88+27=115, Resulting Numbers: [31, 115] Generated Node #0,2,4: 79:[31, 115] Operation: 88+27=115 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[88, 58], Operations: ['12+15=27', '31+27=58'] Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,79 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[31, 61], Operations: ['12+15=27', '88-27=61'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,79 unequal: No Solution Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[27, 57], Operations: ['12+15=27', '88-31=57'] Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,79 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[88, 4], Operations: ['12+15=27', '31-27=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,79 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,79 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 79:[31, 115], Operations: ['12+15=27', '88+27=115'] Exploring Operation: 31+115=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 115-31=84, Resulting Numbers: [84] 84,79 unequal: No Solution Exploring Operation: 31*115=3565, Resulting Numbers: [3565] 3565,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 79:[88, 15, 43], Operations: ['31+12=43'] Exploring Operation: 88+15=103, Resulting Numbers: [43, 103] Generated Node #0,4,0: 79:[43, 103] Operation: 88+15=103 Exploring Operation: 15+43=58, Resulting Numbers: [88, 58] Generated Node #0,4,1: 79:[88, 58] Operation: 15+43=58 Exploring Operation: 88-15=73, Resulting Numbers: [43, 73] Generated Node #0,4,2: 79:[43, 73] Operation: 88-15=73 Exploring Operation: 88-43=45, Resulting Numbers: [15, 45] Generated Node #0,4,3: 79:[15, 45] Operation: 88-43=45 Exploring Operation: 43-15=28, Resulting Numbers: [88, 28] Generated Node #0,4,4: 79:[88, 28] Operation: 43-15=28 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 79:[88, 58], Operations: ['31+12=43', '15+43=58'] Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,79 unequal: No Solution Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 79:[43, 73], Operations: ['31+12=43', '88-15=73'] Exploring Operation: 43*73=3139, Resulting Numbers: [3139] 3139,79 unequal: No Solution Exploring Operation: 43+73=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 79:[43, 103], Operations: ['31+12=43', '88+15=103'] Exploring Operation: 43*103=4429, Resulting Numbers: [4429] 4429,79 unequal: No Solution Exploring Operation: 43+103=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 79:[88, 28], Operations: ['31+12=43', '43-15=28'] Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 79:[15, 45], Operations: ['31+12=43', '88-43=45'] Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,79 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[31, 15, 76], Operations: ['88-12=76'] Exploring Operation: 76-15=61, Resulting Numbers: [31, 61] Generated Node #0,3,0: 79:[31, 61] Operation: 76-15=61 Exploring Operation: 31+76=107, Resulting Numbers: [15, 107] Generated Node #0,3,1: 79:[15, 107] Operation: 31+76=107 Exploring Operation: 31-15=16, Resulting Numbers: [76, 16] Generated Node #0,3,2: 79:[76, 16] Operation: 31-15=16 Exploring Operation: 31+15=46, Resulting Numbers: [76, 46] Generated Node #0,3,3: 79:[76, 46] Operation: 31+15=46 Exploring Operation: 15+76=91, Resulting Numbers: [31, 91] Generated Node #0,3,4: 79:[31, 91] Operation: 15+76=91 Moving to Node #0,3,3 Current State: 79:[76, 46], Operations: ['88-12=76', '31+15=46'] Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[31, 91], Operations: ['88-12=76', '15+76=91'] Exploring Operation: 31*91=2821, Resulting Numbers: [2821] 2821,79 unequal: No Solution Exploring Operation: 31+91=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[31, 61], Operations: ['88-12=76', '76-15=61'] Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,79 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[76, 16], Operations: ['88-12=76', '31-15=16'] Exploring Operation: 76+16=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 76*16=1216, Resulting Numbers: [1216] 1216,79 unequal: No Solution Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[15, 107], Operations: ['88-12=76', '31+76=107'] Exploring Operation: 15+107=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 15*107=1605, Resulting Numbers: [1605] 1605,79 unequal: No Solution Exploring Operation: 107-15=92, Resulting Numbers: [92] 92,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[31, 12, 73], Operations: ['88-15=73'] Exploring Operation: 12+73=85, Resulting Numbers: [31, 85] Generated Node #0,1,0: 79:[31, 85] Operation: 12+73=85 Exploring Operation: 73-12=61, Resulting Numbers: [31, 61] Generated Node #0,1,1: 79:[31, 61] Operation: 73-12=61 Exploring Operation: 31-12=19, Resulting Numbers: [73, 19] Generated Node #0,1,2: 79:[73, 19] Operation: 31-12=19 Exploring Operation: 31+12=43, Resulting Numbers: [73, 43] Generated Node #0,1,3: 79:[73, 43] Operation: 31+12=43 Exploring Operation: 31+73=104, Resulting Numbers: [12, 104] Generated Node #0,1,4: 79:[12, 104] Operation: 31+73=104 Moving to Node #0,1,3 Current State: 79:[73, 43], Operations: ['88-15=73', '31+12=43'] Exploring Operation: 73+43=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 73-43=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 73*43=3139, Resulting Numbers: [3139] 3139,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[31, 85], Operations: ['88-15=73', '12+73=85'] Exploring Operation: 31+85=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 31*85=2635, Resulting Numbers: [2635] 2635,79 unequal: No Solution Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[31, 61], Operations: ['88-15=73', '73-12=61'] Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[73, 19], Operations: ['88-15=73', '31-12=19'] Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,79 unequal: No Solution Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[12, 104], Operations: ['88-15=73', '31+73=104'] Exploring Operation: 12+104=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 104-12=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 12*104=1248, Resulting Numbers: [1248] 1248,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 93, 16, 27, 11 ]
71
[ "93+16=109", "27+11=38", "109-38=71" ]
Current State: 71:[93, 16, 27, 11], Operations: [] Exploring Operation: 93+16=109, Resulting Numbers: [27, 11, 109] Generated Node #2: [27, 11, 109] from Operation: 93+16=109 Current State: 71:[27, 11, 109], Operations: ['93+16=109'] Exploring Operation: 27+11=38, Resulting Numbers: [109, 38] Generated Node #3: [109, 38] from Operation: 27+11=38 Current State: 71:[109, 38], Operations: ['93+16=109', '27+11=38'] Exploring Operation: 109-38=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[93, 16, 27, 11], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [16, 27, 82] Generated Node #0,0: 71:[16, 27, 82] Operation: 93-11=82 Exploring Operation: 16+27=43, Resulting Numbers: [93, 11, 43] Generated Node #0,1: 71:[93, 11, 43] Operation: 16+27=43 Exploring Operation: 93-16=77, Resulting Numbers: [27, 11, 77] Generated Node #0,2: 71:[27, 11, 77] Operation: 93-16=77 Exploring Operation: 16+11=27, Resulting Numbers: [93, 27, 27] Generated Node #0,3: 71:[93, 27, 27] Operation: 16+11=27 Moving to Node #0,0 Current State: 71:[16, 27, 82], Operations: ['93-11=82'] Exploring Operation: 82-16=66, Resulting Numbers: [27, 66] Generated Node #0,0,0: 71:[27, 66] Operation: 82-16=66 Exploring Operation: 16+82=98, Resulting Numbers: [27, 98] Generated Node #0,0,1: 71:[27, 98] Operation: 16+82=98 Exploring Operation: 27-16=11, Resulting Numbers: [82, 11] Generated Node #0,0,2: 71:[82, 11] Operation: 27-16=11 Exploring Operation: 16+27=43, Resulting Numbers: [82, 43] Generated Node #0,0,3: 71:[82, 43] Operation: 16+27=43 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[82, 43], Operations: ['93-11=82', '16+27=43'] Exploring Operation: 82+43=125, Resulting Numbers: [125] 125,71 unequal: No Solution Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 82*43=3526, Resulting Numbers: [3526] 3526,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[27, 66], Operations: ['93-11=82', '82-16=66'] Exploring Operation: 27+66=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 27*66=1782, Resulting Numbers: [1782] 1782,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[27, 98], Operations: ['93-11=82', '16+82=98'] Exploring Operation: 27*98=2646, Resulting Numbers: [2646] 2646,71 unequal: No Solution Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[93, 16, 27, 11], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [16, 27, 82] Generated Node #0,0: 71:[16, 27, 82] Operation: 93-11=82 Moving to Node #0,0 Current State: 71:[16, 27, 82], Operations: ['93-11=82'] Exploring Operation: 16+82=98, Resulting Numbers: [27, 98] Generated Node #0,0,1: 71:[27, 98] Operation: 16+82=98 Moving to Node #0,0,1 Current State: 71:[27, 98], Operations: ['93-11=82', '16+82=98'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 56, 2, 76, 6 ]
92
[ "56/2=28", "6*28=168", "168-76=92" ]
Current State: 92:[56, 2, 76, 6], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [76, 6, 28] Generated Node #2: [76, 6, 28] from Operation: 56/2=28 Current State: 92:[76, 6, 28], Operations: ['56/2=28'] Exploring Operation: 6*28=168, Resulting Numbers: [76, 168] Generated Node #3: [76, 168] from Operation: 6*28=168 Current State: 92:[76, 168], Operations: ['56/2=28', '6*28=168'] Exploring Operation: 168-76=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[56, 2, 76, 6], Operations: [] Exploring Operation: 76-56=20, Resulting Numbers: [2, 6, 20] Generated Node #0,0: 92:[2, 6, 20] Operation: 76-56=20 Exploring Operation: 56-6=50, Resulting Numbers: [2, 76, 50] Generated Node #0,1: 92:[2, 76, 50] Operation: 56-6=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[2, 6, 20], Operations: ['76-56=20'] Exploring Operation: 6-2=4, Resulting Numbers: [20, 4] Generated Node #0,0,0: 92:[20, 4] Operation: 6-2=4 Exploring Operation: 2+20=22, Resulting Numbers: [6, 22] Generated Node #0,0,1: 92:[6, 22] Operation: 2+20=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[20, 4], Operations: ['76-56=20', '6-2=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,92 unequal: No Solution No 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: 92:[6, 22], Operations: ['76-56=20', '2+20=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,92 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: 92:[2, 76, 50], Operations: ['56-6=50'] Exploring Operation: 76-50=26, Resulting Numbers: [2, 26] Generated Node #0,1,0: 92:[2, 26] Operation: 76-50=26 Exploring Operation: 76/2=38, Resulting Numbers: [50, 38] Generated Node #0,1,1: 92:[50, 38] Operation: 76/2=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[2, 26], Operations: ['56-6=50', '76-50=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,92 unequal: No Solution No 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: 92:[50, 38], Operations: ['56-6=50', '76/2=38'] Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 43, 22, 27, 26 ]
85
[ "43-26=17", "27-22=5", "17*5=85" ]
Current State: 85:[43, 22, 27, 26], Operations: [] Exploring Operation: 43-26=17, Resulting Numbers: [22, 27, 17] Generated Node #2: [22, 27, 17] from Operation: 43-26=17 Current State: 85:[22, 27, 17], Operations: ['43-26=17'] Exploring Operation: 27-22=5, Resulting Numbers: [17, 5] Generated Node #3: [17, 5] from Operation: 27-22=5 Current State: 85:[17, 5], Operations: ['43-26=17', '27-22=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[43, 22, 27, 26], Operations: [] Exploring Operation: 43-27=16, Resulting Numbers: [22, 26, 16] Generated Node #0,0: 85:[22, 26, 16] Operation: 43-27=16 Moving to Node #0,0 Current State: 85:[22, 26, 16], Operations: ['43-27=16'] Exploring Operation: 26-22=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 85:[16, 4] Operation: 26-22=4 Moving to Node #0,0,0 Current State: 85:[16, 4], Operations: ['43-27=16', '26-22=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,85 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 81, 96, 70, 52 ]
83
[ "96-70=26", "52/26=2", "81+2=83" ]
Current State: 83:[81, 96, 70, 52], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [81, 52, 26] Generated Node #2: [81, 52, 26] from Operation: 96-70=26 Current State: 83:[81, 52, 26], Operations: ['96-70=26'] Exploring Operation: 52/26=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 52/26=2 Current State: 83:[81, 2], Operations: ['96-70=26', '52/26=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[81, 96, 70, 52], Operations: [] Exploring Operation: 81+52=133, Resulting Numbers: [96, 70, 133] Generated Node #0,0: 83:[96, 70, 133] Operation: 81+52=133 Exploring Operation: 70+52=122, Resulting Numbers: [81, 96, 122] Generated Node #0,1: 83:[81, 96, 122] Operation: 70+52=122 Exploring Operation: 81-52=29, Resulting Numbers: [96, 70, 29] Generated Node #0,2: 83:[96, 70, 29] Operation: 81-52=29 Exploring Operation: 96-52=44, Resulting Numbers: [81, 70, 44] Generated Node #0,3: 83:[81, 70, 44] Operation: 96-52=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[81, 96, 122], Operations: ['70+52=122'] Exploring Operation: 122-81=41, Resulting Numbers: [96, 41] Generated Node #0,1,0: 83:[96, 41] Operation: 122-81=41 Exploring Operation: 81+96=177, Resulting Numbers: [122, 177] Generated Node #0,1,1: 83:[122, 177] Operation: 81+96=177 Exploring Operation: 122-96=26, Resulting Numbers: [81, 26] Generated Node #0,1,2: 83:[81, 26] Operation: 122-96=26 Exploring Operation: 96-81=15, Resulting Numbers: [122, 15] Generated Node #0,1,3: 83:[122, 15] Operation: 96-81=15 Moving to Node #0,1,0 Current State: 83:[96, 41], Operations: ['70+52=122', '122-81=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[81, 26], Operations: ['70+52=122', '122-96=26'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,83 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[122, 15], Operations: ['70+52=122', '96-81=15'] Exploring Operation: 122-15=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 122+15=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 122*15=1830, Resulting Numbers: [1830] 1830,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[122, 177], Operations: ['70+52=122', '81+96=177'] Exploring Operation: 122*177=21594, Resulting Numbers: [21594] 21594,83 unequal: No Solution Exploring Operation: 177-122=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 122+177=299, Resulting Numbers: [299] 299,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[81, 70, 44], Operations: ['96-52=44'] Exploring Operation: 70-44=26, Resulting Numbers: [81, 26] Generated Node #0,3,0: 83:[81, 26] Operation: 70-44=26 Exploring Operation: 81-44=37, Resulting Numbers: [70, 37] Generated Node #0,3,1: 83:[70, 37] Operation: 81-44=37 Exploring Operation: 70+44=114, Resulting Numbers: [81, 114] Generated Node #0,3,2: 83:[81, 114] Operation: 70+44=114 Exploring Operation: 81+44=125, Resulting Numbers: [70, 125] Generated Node #0,3,3: 83:[70, 125] Operation: 81+44=125 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[81, 114], Operations: ['96-52=44', '70+44=114'] Exploring Operation: 81*114=9234, Resulting Numbers: [9234] 9234,83 unequal: No Solution Exploring Operation: 114-81=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 81+114=195, Resulting Numbers: [195] 195,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[70, 125], Operations: ['96-52=44', '81+44=125'] Exploring Operation: 125-70=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 70+125=195, Resulting Numbers: [195] 195,83 unequal: No Solution Exploring Operation: 70*125=8750, Resulting Numbers: [8750] 8750,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[81, 26], Operations: ['96-52=44', '70-44=26'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 81*26=2106, Resulting Numbers: [2106] 2106,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[70, 37], Operations: ['96-52=44', '81-44=37'] Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,83 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[96, 70, 133], Operations: ['81+52=133'] Exploring Operation: 96+70=166, Resulting Numbers: [133, 166] Generated Node #0,0,0: 83:[133, 166] Operation: 96+70=166 Exploring Operation: 133-70=63, Resulting Numbers: [96, 63] Generated Node #0,0,1: 83:[96, 63] Operation: 133-70=63 Exploring Operation: 96-70=26, Resulting Numbers: [133, 26] Generated Node #0,0,2: 83:[133, 26] Operation: 96-70=26 Exploring Operation: 133-96=37, Resulting Numbers: [70, 37] Generated Node #0,0,3: 83:[70, 37] Operation: 133-96=37 Moving to Node #0,0,1 Current State: 83:[96, 63], Operations: ['81+52=133', '133-70=63'] Exploring Operation: 96*63=6048, Resulting Numbers: [6048] 6048,83 unequal: No Solution Exploring Operation: 96+63=159, Resulting Numbers: [159] 159,83 unequal: No Solution Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[70, 37], Operations: ['81+52=133', '133-96=37'] Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,83 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[133, 26], Operations: ['81+52=133', '96-70=26'] Exploring Operation: 133+26=159, Resulting Numbers: [159] 159,83 unequal: No Solution Exploring Operation: 133*26=3458, Resulting Numbers: [3458] 3458,83 unequal: No Solution Exploring Operation: 133-26=107, Resulting Numbers: [107] 107,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[133, 166], Operations: ['81+52=133', '96+70=166'] Exploring Operation: 133+166=299, Resulting Numbers: [299] 299,83 unequal: No Solution Exploring Operation: 133*166=22078, Resulting Numbers: [22078] 22078,83 unequal: No Solution Exploring Operation: 166-133=33, Resulting Numbers: [33] 33,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[96, 70, 29], Operations: ['81-52=29'] Exploring Operation: 70+29=99, Resulting Numbers: [96, 99] Generated Node #0,2,0: 83:[96, 99] Operation: 70+29=99 Exploring Operation: 96+29=125, Resulting Numbers: [70, 125] Generated Node #0,2,1: 83:[70, 125] Operation: 96+29=125 Exploring Operation: 70-29=41, Resulting Numbers: [96, 41] Generated Node #0,2,2: 83:[96, 41] Operation: 70-29=41 Exploring Operation: 96-29=67, Resulting Numbers: [70, 67] Generated Node #0,2,3: 83:[70, 67] Operation: 96-29=67 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[96, 99], Operations: ['81-52=29', '70+29=99'] Exploring Operation: 96*99=9504, Resulting Numbers: [9504] 9504,83 unequal: No Solution Exploring Operation: 99-96=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 96+99=195, Resulting Numbers: [195] 195,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[70, 67], Operations: ['81-52=29', '96-29=67'] Exploring Operation: 70*67=4690, Resulting Numbers: [4690] 4690,83 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 70+67=137, Resulting Numbers: [137] 137,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[70, 125], Operations: ['81-52=29', '96+29=125'] Exploring Operation: 70*125=8750, Resulting Numbers: [8750] 8750,83 unequal: No Solution Exploring Operation: 125-70=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 70+125=195, Resulting Numbers: [195] 195,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[96, 41], Operations: ['81-52=29', '70-29=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 25, 38, 89, 8 ]
46
[ "89-25=64", "64/8=8", "38+8=46" ]
Current State: 46:[25, 38, 89, 8], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [38, 8, 64] Generated Node #2: [38, 8, 64] from Operation: 89-25=64 Current State: 46:[38, 8, 64], Operations: ['89-25=64'] Exploring Operation: 64/8=8, Resulting Numbers: [38, 8] Generated Node #3: [38, 8] from Operation: 64/8=8 Current State: 46:[38, 8], Operations: ['89-25=64', '64/8=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[25, 38, 89, 8], Operations: [] Exploring Operation: 89-38=51, Resulting Numbers: [25, 8, 51] Generated Node #0,0: 46:[25, 8, 51] Operation: 89-38=51 Moving to Node #0,0 Current State: 46:[25, 8, 51], Operations: ['89-38=51'] Exploring Operation: 51-8=43, Resulting Numbers: [25, 43] Generated Node #0,0,0: 46:[25, 43] Operation: 51-8=43 Moving to Node #0,0,0 Current State: 46:[25, 43], Operations: ['89-38=51', '51-8=43'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 21, 60, 58, 24 ]
62
[ "60+24=84", "84/21=4", "58+4=62" ]
Current State: 62:[21, 60, 58, 24], Operations: [] Exploring Operation: 60+24=84, Resulting Numbers: [21, 58, 84] Generated Node #2: [21, 58, 84] from Operation: 60+24=84 Current State: 62:[21, 58, 84], Operations: ['60+24=84'] Exploring Operation: 84/21=4, Resulting Numbers: [58, 4] Generated Node #3: [58, 4] from Operation: 84/21=4 Current State: 62:[58, 4], Operations: ['60+24=84', '84/21=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[21, 60, 58, 24], Operations: [] Exploring Operation: 58-21=37, Resulting Numbers: [60, 24, 37] Generated Node #0,0: 62:[60, 24, 37] Operation: 58-21=37 Exploring Operation: 58-24=34, Resulting Numbers: [21, 60, 34] Generated Node #0,1: 62:[21, 60, 34] Operation: 58-24=34 Exploring Operation: 60-58=2, Resulting Numbers: [21, 24, 2] Generated Node #0,2: 62:[21, 24, 2] Operation: 60-58=2 Exploring Operation: 24-21=3, Resulting Numbers: [60, 58, 3] Generated Node #0,3: 62:[60, 58, 3] Operation: 24-21=3 Moving to Node #0,3 Current State: 62:[60, 58, 3], Operations: ['24-21=3'] Exploring Operation: 60+3=63, Resulting Numbers: [58, 63] Generated Node #0,3,0: 62:[58, 63] Operation: 60+3=63 Exploring Operation: 60-58=2, Resulting Numbers: [3, 2] Generated Node #0,3,1: 62:[3, 2] Operation: 60-58=2 Exploring Operation: 58+3=61, Resulting Numbers: [60, 61] Generated Node #0,3,2: 62:[60, 61] Operation: 58+3=61 Exploring Operation: 60-3=57, Resulting Numbers: [58, 57] Generated Node #0,3,3: 62:[58, 57] Operation: 60-3=57 Moving to Node #0,1 Current State: 62:[21, 60, 34], Operations: ['58-24=34'] Exploring Operation: 34-21=13, Resulting Numbers: [60, 13] Generated Node #0,1,0: 62:[60, 13] Operation: 34-21=13 Exploring Operation: 60-21=39, Resulting Numbers: [34, 39] Generated Node #0,1,1: 62:[34, 39] Operation: 60-21=39 Exploring Operation: 60-34=26, Resulting Numbers: [21, 26] Generated Node #0,1,2: 62:[21, 26] Operation: 60-34=26 Exploring Operation: 21+34=55, Resulting Numbers: [60, 55] Generated Node #0,1,3: 62:[60, 55] Operation: 21+34=55 Moving to Node #0,0 Current State: 62:[60, 24, 37], Operations: ['58-21=37'] Exploring Operation: 60-24=36, Resulting Numbers: [37, 36] Generated Node #0,0,0: 62:[37, 36] Operation: 60-24=36 Exploring Operation: 60-37=23, Resulting Numbers: [24, 23] Generated Node #0,0,1: 62:[24, 23] Operation: 60-37=23 Exploring Operation: 24+37=61, Resulting Numbers: [60, 61] Generated Node #0,0,2: 62:[60, 61] Operation: 24+37=61 Exploring Operation: 37-24=13, Resulting Numbers: [60, 13] Generated Node #0,0,3: 62:[60, 13] Operation: 37-24=13 Moving to Node #0,2 Current State: 62:[21, 24, 2], Operations: ['60-58=2'] Exploring Operation: 24-21=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 62:[2, 3] Operation: 24-21=3 Exploring Operation: 21+2=23, Resulting Numbers: [24, 23] Generated Node #0,2,1: 62:[24, 23] Operation: 21+2=23 Exploring Operation: 24+2=26, Resulting Numbers: [21, 26] Generated Node #0,2,2: 62:[21, 26] Operation: 24+2=26 Exploring Operation: 21+24=45, Resulting Numbers: [2, 45] Generated Node #0,2,3: 62:[2, 45] Operation: 21+24=45 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[2, 3], Operations: ['60-58=2', '24-21=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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:[2, 45], Operations: ['60-58=2', '21+24=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,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:[24, 23], Operations: ['60-58=2', '21+2=23'] Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,62 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,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:[21, 26], Operations: ['60-58=2', '24+2=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,62 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 62:[3, 2], Operations: ['24-21=3', '60-58=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[60, 61], Operations: ['24-21=3', '58+3=61'] Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[60, 61], Operations: ['58-21=37', '24+37=61'] Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,62 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[58, 63], Operations: ['24-21=3', '60+3=63'] Exploring Operation: 58*63=3654, Resulting Numbers: [3654] 3654,62 unequal: No Solution Exploring Operation: 58+63=121, Resulting Numbers: [121] 121,62 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[60, 55], Operations: ['58-24=34', '21+34=55'] Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,62 unequal: No Solution Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[58, 57], Operations: ['24-21=3', '60-3=57'] Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,62 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,62 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[34, 39], Operations: ['58-24=34', '60-21=39'] Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,62 unequal: No Solution Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,62 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[37, 36], Operations: ['58-21=37', '60-24=36'] Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,62 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[60, 13], Operations: ['58-21=37', '37-24=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,62 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[60, 13], Operations: ['58-24=34', '34-21=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,62 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[21, 26], Operations: ['58-24=34', '60-34=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[24, 23], Operations: ['58-21=37', '60-37=23'] Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,62 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 44, 6, 3, 53 ]
81
[ "53-44=9", "6+3=9", "9*9=81" ]
Current State: 81:[44, 6, 3, 53], Operations: [] Exploring Operation: 53-44=9, Resulting Numbers: [6, 3, 9] Generated Node #2: [6, 3, 9] from Operation: 53-44=9 Current State: 81:[6, 3, 9], Operations: ['53-44=9'] Exploring Operation: 6+3=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 6+3=9 Current State: 81:[9, 9], Operations: ['53-44=9', '6+3=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[44, 6, 3, 53], Operations: [] Exploring Operation: 44+53=97, Resulting Numbers: [6, 3, 97] Generated Node #0,0: 81:[6, 3, 97] Operation: 44+53=97 Exploring Operation: 44-6=38, Resulting Numbers: [3, 53, 38] Generated Node #0,1: 81:[3, 53, 38] Operation: 44-6=38 Exploring Operation: 53-6=47, Resulting Numbers: [44, 3, 47] Generated Node #0,2: 81:[44, 3, 47] Operation: 53-6=47 Exploring Operation: 53-44=9, Resulting Numbers: [6, 3, 9] Generated Node #0,3: 81:[6, 3, 9] Operation: 53-44=9 Moving to Node #0,3 Current State: 81:[6, 3, 9], Operations: ['53-44=9'] Exploring Operation: 6/3=2, Resulting Numbers: [9, 2] Generated Node #0,3,0: 81:[9, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [9, 3] Generated Node #0,3,1: 81:[9, 3] Operation: 6-3=3 Exploring Operation: 9-6=3, Resulting Numbers: [3, 3] Generated Node #0,3,2: 81:[3, 3] Operation: 9-6=3 Exploring Operation: 6+3=9, Resulting Numbers: [9, 9] Generated Node #0,3,3: 81:[9, 9] Operation: 6+3=9 Moving to Node #0,0 Current State: 81:[6, 3, 97], Operations: ['44+53=97'] Exploring Operation: 6-3=3, Resulting Numbers: [97, 3] Generated Node #0,0,0: 81:[97, 3] Operation: 6-3=3 Exploring Operation: 97-6=91, Resulting Numbers: [3, 91] Generated Node #0,0,1: 81:[3, 91] Operation: 97-6=91 Exploring Operation: 6+3=9, Resulting Numbers: [97, 9] Generated Node #0,0,2: 81:[97, 9] Operation: 6+3=9 Exploring Operation: 97-3=94, Resulting Numbers: [6, 94] Generated Node #0,0,3: 81:[6, 94] Operation: 97-3=94 Moving to Node #0,2 Current State: 81:[44, 3, 47], Operations: ['53-6=47'] Exploring Operation: 47-44=3, Resulting Numbers: [3, 3] Generated Node #0,2,0: 81:[3, 3] Operation: 47-44=3 Exploring Operation: 44+47=91, Resulting Numbers: [3, 91] Generated Node #0,2,1: 81:[3, 91] Operation: 44+47=91 Exploring Operation: 47-3=44, Resulting Numbers: [44, 44] Generated Node #0,2,2: 81:[44, 44] Operation: 47-3=44 Exploring Operation: 44-3=41, Resulting Numbers: [47, 41] Generated Node #0,2,3: 81:[47, 41] Operation: 44-3=41 Moving to Node #0,1 Current State: 81:[3, 53, 38], Operations: ['44-6=38'] Exploring Operation: 38-3=35, Resulting Numbers: [53, 35] Generated Node #0,1,0: 81:[53, 35] Operation: 38-3=35 Exploring Operation: 53-38=15, Resulting Numbers: [3, 15] Generated Node #0,1,1: 81:[3, 15] Operation: 53-38=15 Exploring Operation: 53+38=91, Resulting Numbers: [3, 91] Generated Node #0,1,2: 81:[3, 91] Operation: 53+38=91 Exploring Operation: 53-3=50, Resulting Numbers: [38, 50] Generated Node #0,1,3: 81:[38, 50] Operation: 53-3=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[3, 15], Operations: ['44-6=38', '53-38=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[3, 91], Operations: ['44-6=38', '53+38=91'] Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,81 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[53, 35], Operations: ['44-6=38', '38-3=35'] Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,81 unequal: No Solution Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[38, 50], Operations: ['44-6=38', '53-3=50'] Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,81 unequal: No Solution Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 81:[9, 3], Operations: ['53-44=9', '6-3=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[9, 9], Operations: ['53-44=9', '6+3=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[44, 6, 3, 53], Operations: [] Exploring Operation: 53-44=9, Resulting Numbers: [6, 3, 9] Generated Node #0,3: 81:[6, 3, 9] Operation: 53-44=9 Moving to Node #0,3 Current State: 81:[6, 3, 9], Operations: ['53-44=9'] Exploring Operation: 6+3=9, Resulting Numbers: [9, 9] Generated Node #0,3,3: 81:[9, 9] Operation: 6+3=9 Moving to Node #0,3,3 Current State: 81:[9, 9], Operations: ['53-44=9', '6+3=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.963542
hs_4
sum_heuristic
[ 32, 50, 75, 15 ]
87
[ "32+50=82", "75/15=5", "82+5=87" ]
Current State: 87:[32, 50, 75, 15], Operations: [] Exploring Operation: 32+50=82, Resulting Numbers: [75, 15, 82] Generated Node #2: [75, 15, 82] from Operation: 32+50=82 Current State: 87:[75, 15, 82], Operations: ['32+50=82'] Exploring Operation: 75/15=5, Resulting Numbers: [82, 5] Generated Node #3: [82, 5] from Operation: 75/15=5 Current State: 87:[82, 5], Operations: ['32+50=82', '75/15=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[32, 50, 75, 15], Operations: [] Exploring Operation: 50-15=35, Resulting Numbers: [32, 75, 35] Generated Node #0,0: 87:[32, 75, 35] Operation: 50-15=35 Exploring Operation: 75-50=25, Resulting Numbers: [32, 15, 25] Generated Node #0,1: 87:[32, 15, 25] Operation: 75-50=25 Moving to Node #0,1 Current State: 87:[32, 15, 25], Operations: ['75-50=25'] Exploring Operation: 25-15=10, Resulting Numbers: [32, 10] Generated Node #0,1,0: 87:[32, 10] Operation: 25-15=10 Exploring Operation: 15+25=40, Resulting Numbers: [32, 40] Generated Node #0,1,1: 87:[32, 40] Operation: 15+25=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[32, 10], Operations: ['75-50=25', '25-15=10'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[32, 40], Operations: ['75-50=25', '15+25=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,87 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: 87:[32, 75, 35], Operations: ['50-15=35'] Exploring Operation: 75-35=40, Resulting Numbers: [32, 40] Generated Node #0,0,0: 87:[32, 40] Operation: 75-35=40 Exploring Operation: 35-32=3, Resulting Numbers: [75, 3] Generated Node #0,0,1: 87:[75, 3] Operation: 35-32=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[75, 3], Operations: ['50-15=35', '35-32=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[32, 40], Operations: ['50-15=35', '75-35=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,87 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,87 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
[ 53, 84, 96, 44 ]
21
[ "84-53=31", "96-44=52", "52-31=21" ]
Current State: 21:[53, 84, 96, 44], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [96, 44, 31] Generated Node #2: [96, 44, 31] from Operation: 84-53=31 Current State: 21:[96, 44, 31], Operations: ['84-53=31'] Exploring Operation: 96-44=52, Resulting Numbers: [31, 52] Generated Node #3: [31, 52] from Operation: 96-44=52 Current State: 21:[31, 52], Operations: ['84-53=31', '96-44=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[53, 84, 96, 44], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [53, 96, 40] Generated Node #0,0: 21:[53, 96, 40] Operation: 84-44=40 Exploring Operation: 84-53=31, Resulting Numbers: [96, 44, 31] Generated Node #0,1: 21:[96, 44, 31] Operation: 84-53=31 Exploring Operation: 96-44=52, Resulting Numbers: [53, 84, 52] Generated Node #0,2: 21:[53, 84, 52] Operation: 96-44=52 Exploring Operation: 96-84=12, Resulting Numbers: [53, 44, 12] Generated Node #0,3: 21:[53, 44, 12] Operation: 96-84=12 Exploring Operation: 96-53=43, Resulting Numbers: [84, 44, 43] Generated Node #0,4: 21:[84, 44, 43] Operation: 96-53=43 Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[53, 44, 12], Operations: ['96-84=12'] Exploring Operation: 44-12=32, Resulting Numbers: [53, 32] Generated Node #0,3,0: 21:[53, 32] Operation: 44-12=32 Exploring Operation: 53-12=41, Resulting Numbers: [44, 41] Generated Node #0,3,1: 21:[44, 41] Operation: 53-12=41 Exploring Operation: 53-44=9, Resulting Numbers: [12, 9] Generated Node #0,3,2: 21:[12, 9] Operation: 53-44=9 Exploring Operation: 53+12=65, Resulting Numbers: [44, 65] Generated Node #0,3,3: 21:[44, 65] Operation: 53+12=65 Exploring Operation: 44+12=56, Resulting Numbers: [53, 56] Generated Node #0,3,4: 21:[53, 56] Operation: 44+12=56 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 21:[12, 9], Operations: ['96-84=12', '53-44=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,21 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[53, 84, 96, 44], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [53, 44, 12] Generated Node #0,3: 21:[53, 44, 12] Operation: 96-84=12 Moving to Node #0,3 Current State: 21:[53, 44, 12], Operations: ['96-84=12'] Exploring Operation: 53-44=9, Resulting Numbers: [12, 9] Generated Node #0,3,2: 21:[12, 9] Operation: 53-44=9 Moving to Node #0,3,2 Current State: 21:[12, 9], Operations: ['96-84=12', '53-44=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic