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
[ 60, 11, 3, 98 ]
52
[ "60-11=49", "3+98=101", "101-49=52" ]
Current State: 52:[60, 11, 3, 98], Operations: [] Exploring Operation: 60-11=49, Resulting Numbers: [3, 98, 49] Generated Node #2: [3, 98, 49] from Operation: 60-11=49 Current State: 52:[3, 98, 49], Operations: ['60-11=49'] Exploring Operation: 3+98=101, Resulting Numbers: [49, 101] Generated Node #3: [49, 101] from Operation: 3+98=101 Current State: 52:[49, 101], Operations: ['60-11=49', '3+98=101'] Exploring Operation: 101-49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[60, 11, 3, 98], Operations: [] Exploring Operation: 98-11=87, Resulting Numbers: [60, 3, 87] Generated Node #0,0: 52:[60, 3, 87] Operation: 98-11=87 Exploring Operation: 98-60=38, Resulting Numbers: [11, 3, 38] Generated Node #0,1: 52:[11, 3, 38] Operation: 98-60=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[11, 3, 38], Operations: ['98-60=38'] Exploring Operation: 38-11=27, Resulting Numbers: [3, 27] Generated Node #0,1,0: 52:[3, 27] Operation: 38-11=27 Exploring Operation: 11+38=49, Resulting Numbers: [3, 49] Generated Node #0,1,1: 52:[3, 49] Operation: 11+38=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[3, 27], Operations: ['98-60=38', '38-11=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[3, 49], Operations: ['98-60=38', '11+38=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[60, 11, 3, 98], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [11, 3, 38] Generated Node #0,1: 52:[11, 3, 38] Operation: 98-60=38 Moving to Node #0,1 Current State: 52:[11, 3, 38], Operations: ['98-60=38'] Exploring Operation: 11+38=49, Resulting Numbers: [3, 49] Generated Node #0,1,1: 52:[3, 49] Operation: 11+38=49 Moving to Node #0,1,1 Current State: 52:[3, 49], Operations: ['98-60=38', '11+38=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 50, 81, 74, 55 ]
15
[ "50+55=105", "81-74=7", "105/7=15" ]
Current State: 15:[50, 81, 74, 55], Operations: [] Exploring Operation: 50+55=105, Resulting Numbers: [81, 74, 105] Generated Node #2: [81, 74, 105] from Operation: 50+55=105 Current State: 15:[81, 74, 105], Operations: ['50+55=105'] Exploring Operation: 81-74=7, Resulting Numbers: [105, 7] Generated Node #3: [105, 7] from Operation: 81-74=7 Current State: 15:[105, 7], Operations: ['50+55=105', '81-74=7'] Exploring Operation: 105/7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[50, 81, 74, 55], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [50, 55, 7] Generated Node #0,0: 15:[50, 55, 7] Operation: 81-74=7 Moving to Node #0,0 Current State: 15:[50, 55, 7], Operations: ['81-74=7'] Exploring Operation: 55-50=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 15:[7, 5] Operation: 55-50=5 Moving to Node #0,0,0 Current State: 15:[7, 5], Operations: ['81-74=7', '55-50=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 12, 54, 2, 71 ]
23
[ "12/2=6", "71-54=17", "6+17=23" ]
Current State: 23:[12, 54, 2, 71], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [54, 71, 6] Generated Node #2: [54, 71, 6] from Operation: 12/2=6 Current State: 23:[54, 71, 6], Operations: ['12/2=6'] Exploring Operation: 71-54=17, Resulting Numbers: [6, 17] Generated Node #3: [6, 17] from Operation: 71-54=17 Current State: 23:[6, 17], Operations: ['12/2=6', '71-54=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[12, 54, 2, 71], Operations: [] Exploring Operation: 12*2=24, Resulting Numbers: [54, 71, 24] Generated Node #0,0: 23:[54, 71, 24] Operation: 12*2=24 Exploring Operation: 71-54=17, Resulting Numbers: [12, 2, 17] Generated Node #0,1: 23:[12, 2, 17] Operation: 71-54=17 Exploring Operation: 54/2=27, Resulting Numbers: [12, 71, 27] Generated Node #0,2: 23:[12, 71, 27] Operation: 54/2=27 Exploring Operation: 54-12=42, Resulting Numbers: [2, 71, 42] Generated Node #0,3: 23:[2, 71, 42] Operation: 54-12=42 Exploring Operation: 12+2=14, Resulting Numbers: [54, 71, 14] Generated Node #0,4: 23:[54, 71, 14] Operation: 12+2=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[12, 2, 17], Operations: ['71-54=17'] Exploring Operation: 12*2=24, Resulting Numbers: [17, 24] Generated Node #0,1,0: 23:[17, 24] Operation: 12*2=24 Exploring Operation: 17-2=15, Resulting Numbers: [12, 15] Generated Node #0,1,1: 23:[12, 15] Operation: 17-2=15 Exploring Operation: 12-2=10, Resulting Numbers: [17, 10] Generated Node #0,1,2: 23:[17, 10] Operation: 12-2=10 Exploring Operation: 12+2=14, Resulting Numbers: [17, 14] Generated Node #0,1,3: 23:[17, 14] Operation: 12+2=14 Exploring Operation: 2+17=19, Resulting Numbers: [12, 19] Generated Node #0,1,4: 23:[12, 19] Operation: 2+17=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[17, 24], Operations: ['71-54=17', '12*2=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,23 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,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,1,3 Current State: 23:[17, 14], Operations: ['71-54=17', '12+2=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,23 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,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,1,4 Current State: 23:[12, 19], Operations: ['71-54=17', '2+17=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,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,1,1 Current State: 23:[12, 15], Operations: ['71-54=17', '17-2=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,23 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,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,1,2 Current State: 23:[17, 10], Operations: ['71-54=17', '12-2=10'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,23 unequal: No Solution Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,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,2 Current State: 23:[12, 71, 27], Operations: ['54/2=27'] Exploring Operation: 12+27=39, Resulting Numbers: [71, 39] Generated Node #0,2,0: 23:[71, 39] Operation: 12+27=39 Exploring Operation: 12+71=83, Resulting Numbers: [27, 83] Generated Node #0,2,1: 23:[27, 83] Operation: 12+71=83 Exploring Operation: 71-12=59, Resulting Numbers: [27, 59] Generated Node #0,2,2: 23:[27, 59] Operation: 71-12=59 Exploring Operation: 27-12=15, Resulting Numbers: [71, 15] Generated Node #0,2,3: 23:[71, 15] Operation: 27-12=15 Exploring Operation: 71-27=44, Resulting Numbers: [12, 44] Generated Node #0,2,4: 23:[12, 44] Operation: 71-27=44 Moving to Node #0,2,4 Current State: 23:[12, 44], Operations: ['54/2=27', '71-27=44'] Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[27, 59], Operations: ['54/2=27', '71-12=59'] Exploring Operation: 27*59=1593, Resulting Numbers: [1593] 1593,23 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 27+59=86, Resulting Numbers: [86] 86,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[71, 15], Operations: ['54/2=27', '27-12=15'] Exploring Operation: 71*15=1065, Resulting Numbers: [1065] 1065,23 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 71+15=86, Resulting Numbers: [86] 86,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[71, 39], Operations: ['54/2=27', '12+27=39'] Exploring Operation: 71+39=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 71*39=2769, Resulting Numbers: [2769] 2769,23 unequal: No Solution Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[27, 83], Operations: ['54/2=27', '12+71=83'] Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,23 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[54, 71, 24], Operations: ['12*2=24'] Exploring Operation: 71-54=17, Resulting Numbers: [24, 17] Generated Node #0,0,0: 23:[24, 17] Operation: 71-54=17 Exploring Operation: 54+71=125, Resulting Numbers: [24, 125] Generated Node #0,0,1: 23:[24, 125] Operation: 54+71=125 Exploring Operation: 54+24=78, Resulting Numbers: [71, 78] Generated Node #0,0,2: 23:[71, 78] Operation: 54+24=78 Exploring Operation: 71-24=47, Resulting Numbers: [54, 47] Generated Node #0,0,3: 23:[54, 47] Operation: 71-24=47 Exploring Operation: 54-24=30, Resulting Numbers: [71, 30] Generated Node #0,0,4: 23:[71, 30] Operation: 54-24=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[24, 17], Operations: ['12*2=24', '71-54=17'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,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,3 Current State: 23:[54, 47], Operations: ['12*2=24', '71-24=47'] Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,23 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,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,4 Current State: 23:[71, 30], Operations: ['12*2=24', '54-24=30'] Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,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, 125], Operations: ['12*2=24', '54+71=125'] Exploring Operation: 24*125=3000, Resulting Numbers: [3000] 3000,23 unequal: No Solution Exploring Operation: 125-24=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 24+125=149, Resulting Numbers: [149] 149,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,2 Current State: 23:[71, 78], Operations: ['12*2=24', '54+24=78'] Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,23 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,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,3 Current State: 23:[2, 71, 42], Operations: ['54-12=42'] Exploring Operation: 71-2=69, Resulting Numbers: [42, 69] Generated Node #0,3,0: 23:[42, 69] Operation: 71-2=69 Exploring Operation: 2+71=73, Resulting Numbers: [42, 73] Generated Node #0,3,1: 23:[42, 73] Operation: 2+71=73 Exploring Operation: 71-42=29, Resulting Numbers: [2, 29] Generated Node #0,3,2: 23:[2, 29] Operation: 71-42=29 Exploring Operation: 42/2=21, Resulting Numbers: [71, 21] Generated Node #0,3,3: 23:[71, 21] Operation: 42/2=21 Exploring Operation: 42-2=40, Resulting Numbers: [71, 40] Generated Node #0,3,4: 23:[71, 40] Operation: 42-2=40 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[2, 29], Operations: ['54-12=42', '71-42=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 23:[71, 21], Operations: ['54-12=42', '42/2=21'] Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,23 unequal: No Solution Exploring Operation: 71*21=1491, Resulting Numbers: [1491] 1491,23 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 23:[42, 69], Operations: ['54-12=42', '71-2=69'] Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,23 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 23:[71, 40], Operations: ['54-12=42', '42-2=40'] Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,23 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[42, 73], Operations: ['54-12=42', '2+71=73'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 42+73=115, Resulting Numbers: [115] 115,23 unequal: No Solution Exploring Operation: 42*73=3066, Resulting Numbers: [3066] 3066,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,4 Current State: 23:[54, 71, 14], Operations: ['12+2=14'] Exploring Operation: 71-14=57, Resulting Numbers: [54, 57] Generated Node #0,4,0: 23:[54, 57] Operation: 71-14=57 Exploring Operation: 54+14=68, Resulting Numbers: [71, 68] Generated Node #0,4,1: 23:[71, 68] Operation: 54+14=68 Exploring Operation: 71+14=85, Resulting Numbers: [54, 85] Generated Node #0,4,2: 23:[54, 85] Operation: 71+14=85 Exploring Operation: 71-54=17, Resulting Numbers: [14, 17] Generated Node #0,4,3: 23:[14, 17] Operation: 71-54=17 Exploring Operation: 54-14=40, Resulting Numbers: [71, 40] Generated Node #0,4,4: 23:[71, 40] Operation: 54-14=40 Moving to Node #0,4,3 Current State: 23:[14, 17], Operations: ['12+2=14', '71-54=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[71, 40], Operations: ['12+2=14', '54-14=40'] Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,23 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,23 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,23 unequal: No Solution Moving to Node #0,4,0 Current State: 23:[54, 57], Operations: ['12+2=14', '71-14=57'] Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,23 unequal: No Solution Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,23 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[71, 68], Operations: ['12+2=14', '54+14=68'] Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,23 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[54, 85], Operations: ['12+2=14', '71+14=85'] Exploring Operation: 54+85=139, Resulting Numbers: [139] 139,23 unequal: No Solution Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 54*85=4590, Resulting Numbers: [4590] 4590,23 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
[ 83, 77, 78, 27 ]
58
[ "83-78=5", "27*5=135", "135-77=58" ]
Current State: 58:[83, 77, 78, 27], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [77, 27, 5] Generated Node #2: [77, 27, 5] from Operation: 83-78=5 Current State: 58:[77, 27, 5], Operations: ['83-78=5'] Exploring Operation: 27*5=135, Resulting Numbers: [77, 135] Generated Node #3: [77, 135] from Operation: 27*5=135 Current State: 58:[77, 135], Operations: ['83-78=5', '27*5=135'] Exploring Operation: 135-77=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[83, 77, 78, 27], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [78, 27, 6] Generated Node #0,0: 58:[78, 27, 6] Operation: 83-77=6 Exploring Operation: 83-78=5, Resulting Numbers: [77, 27, 5] Generated Node #0,1: 58:[77, 27, 5] Operation: 83-78=5 Exploring Operation: 78-77=1, Resulting Numbers: [83, 27, 1] Generated Node #0,2: 58:[83, 27, 1] Operation: 78-77=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[77, 27, 5], Operations: ['83-78=5'] Exploring Operation: 77-27=50, Resulting Numbers: [5, 50] Generated Node #0,1,0: 58:[5, 50] Operation: 77-27=50 Exploring Operation: 27+5=32, Resulting Numbers: [77, 32] Generated Node #0,1,1: 58:[77, 32] Operation: 27+5=32 Exploring Operation: 77-5=72, Resulting Numbers: [27, 72] Generated Node #0,1,2: 58:[27, 72] Operation: 77-5=72 Moving to Node #0,1,0 Current State: 58:[5, 50], Operations: ['83-78=5', '77-27=50'] Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,58 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[27, 72], Operations: ['83-78=5', '77-5=72'] Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,58 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,58 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[77, 32], Operations: ['83-78=5', '27+5=32'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,58 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,58 unequal: No Solution Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,58 unequal: No Solution No 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: 58:[78, 27, 6], Operations: ['83-77=6'] Exploring Operation: 78-6=72, Resulting Numbers: [27, 72] Generated Node #0,0,0: 58:[27, 72] Operation: 78-6=72 Exploring Operation: 78/6=13, Resulting Numbers: [27, 13] Generated Node #0,0,1: 58:[27, 13] Operation: 78/6=13 Exploring Operation: 78-27=51, Resulting Numbers: [6, 51] Generated Node #0,0,2: 58:[6, 51] Operation: 78-27=51 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[6, 51], Operations: ['83-77=6', '78-27=51'] Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,58 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,58 unequal: No Solution No 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: 58:[27, 13], Operations: ['83-77=6', '78/6=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,58 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,58 unequal: No Solution No 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: 58:[27, 72], Operations: ['83-77=6', '78-6=72'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,58 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,58 unequal: No Solution Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,58 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: 58:[83, 27, 1], Operations: ['78-77=1'] Exploring Operation: 83-1=82, Resulting Numbers: [27, 82] Generated Node #0,2,0: 58:[27, 82] Operation: 83-1=82 Exploring Operation: 27+1=28, Resulting Numbers: [83, 28] Generated Node #0,2,1: 58:[83, 28] Operation: 27+1=28 Exploring Operation: 83-27=56, Resulting Numbers: [1, 56] Generated Node #0,2,2: 58:[1, 56] Operation: 83-27=56 Moving to Node #0,2,2 Current State: 58:[1, 56], Operations: ['78-77=1', '83-27=56'] Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[27, 82], Operations: ['78-77=1', '83-1=82'] Exploring Operation: 27+82=109, Resulting Numbers: [109] 109,58 unequal: No Solution Exploring Operation: 27*82=2214, Resulting Numbers: [2214] 2214,58 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[83, 28], Operations: ['78-77=1', '27+1=28'] Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,58 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,58 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
[ 15, 22, 46, 75 ]
84
[ "15+22=37", "46+75=121", "121-37=84" ]
Current State: 84:[15, 22, 46, 75], Operations: [] Exploring Operation: 15+22=37, Resulting Numbers: [46, 75, 37] Generated Node #2: [46, 75, 37] from Operation: 15+22=37 Current State: 84:[46, 75, 37], Operations: ['15+22=37'] Exploring Operation: 46+75=121, Resulting Numbers: [37, 121] Generated Node #3: [37, 121] from Operation: 46+75=121 Current State: 84:[37, 121], Operations: ['15+22=37', '46+75=121'] Exploring Operation: 121-37=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[15, 22, 46, 75], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [15, 22, 29] Generated Node #0,0: 84:[15, 22, 29] Operation: 75-46=29 Moving to Node #0,0 Current State: 84:[15, 22, 29], Operations: ['75-46=29'] Exploring Operation: 22-15=7, Resulting Numbers: [29, 7] Generated Node #0,0,0: 84:[29, 7] Operation: 22-15=7 Moving to Node #0,0,0 Current State: 84:[29, 7], Operations: ['75-46=29', '22-15=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 82, 97, 78, 99 ]
43
[ "99-97=2", "78/2=39", "82-39=43" ]
Current State: 43:[82, 97, 78, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [82, 78, 2] Generated Node #2: [82, 78, 2] from Operation: 99-97=2 Current State: 43:[82, 78, 2], Operations: ['99-97=2'] Exploring Operation: 78/2=39, Resulting Numbers: [82, 39] Generated Node #3: [82, 39] from Operation: 78/2=39 Current State: 43:[82, 39], Operations: ['99-97=2', '78/2=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[82, 97, 78, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [82, 78, 2] Generated Node #0,0: 43:[82, 78, 2] Operation: 99-97=2 Exploring Operation: 99-78=21, Resulting Numbers: [82, 97, 21] Generated Node #0,1: 43:[82, 97, 21] Operation: 99-78=21 Exploring Operation: 97-78=19, Resulting Numbers: [82, 99, 19] Generated Node #0,2: 43:[82, 99, 19] Operation: 97-78=19 Exploring Operation: 99-82=17, Resulting Numbers: [97, 78, 17] Generated Node #0,3: 43:[97, 78, 17] Operation: 99-82=17 Exploring Operation: 97-82=15, Resulting Numbers: [78, 99, 15] Generated Node #0,4: 43:[78, 99, 15] Operation: 97-82=15 Moving to Node #0,0 Current State: 43:[82, 78, 2], Operations: ['99-97=2'] Exploring Operation: 78/2=39, Resulting Numbers: [82, 39] Generated Node #0,0,0: 43:[82, 39] Operation: 78/2=39 Exploring Operation: 82-2=80, Resulting Numbers: [78, 80] Generated Node #0,0,1: 43:[78, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [78, 41] Generated Node #0,0,2: 43:[78, 41] Operation: 82/2=41 Exploring Operation: 78-2=76, Resulting Numbers: [82, 76] Generated Node #0,0,3: 43:[82, 76] Operation: 78-2=76 Exploring Operation: 82+2=84, Resulting Numbers: [78, 84] Generated Node #0,0,4: 43:[78, 84] Operation: 82+2=84 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[78, 41], Operations: ['99-97=2', '82/2=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,43 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,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:[82, 39], Operations: ['99-97=2', '78/2=39'] Exploring Operation: 82*39=3198, Resulting Numbers: [3198] 3198,43 unequal: No Solution Exploring Operation: 82+39=121, Resulting Numbers: [121] 121,43 unequal: No Solution Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[82, 97, 78, 99], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [82, 78, 2] Generated Node #0,0: 43:[82, 78, 2] Operation: 99-97=2 Moving to Node #0,0 Current State: 43:[82, 78, 2], Operations: ['99-97=2'] Exploring Operation: 78/2=39, Resulting Numbers: [82, 39] Generated Node #0,0,0: 43:[82, 39] Operation: 78/2=39 Moving to Node #0,0,0 Current State: 43:[82, 39], Operations: ['99-97=2', '78/2=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 35, 52, 65, 61 ]
21
[ "52-35=17", "65-61=4", "17+4=21" ]
Current State: 21:[35, 52, 65, 61], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [65, 61, 17] Generated Node #2: [65, 61, 17] from Operation: 52-35=17 Current State: 21:[65, 61, 17], Operations: ['52-35=17'] Exploring Operation: 65-61=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 65-61=4 Current State: 21:[17, 4], Operations: ['52-35=17', '65-61=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[35, 52, 65, 61], Operations: [] Exploring Operation: 65-61=4, Resulting Numbers: [35, 52, 4] Generated Node #0,0: 21:[35, 52, 4] Operation: 65-61=4 Exploring Operation: 61-52=9, Resulting Numbers: [35, 65, 9] Generated Node #0,1: 21:[35, 65, 9] Operation: 61-52=9 Exploring Operation: 65-52=13, Resulting Numbers: [35, 61, 13] Generated Node #0,2: 21:[35, 61, 13] Operation: 65-52=13 Exploring Operation: 65-35=30, Resulting Numbers: [52, 61, 30] Generated Node #0,3: 21:[52, 61, 30] Operation: 65-35=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[35, 52, 4], Operations: ['65-61=4'] Exploring Operation: 52-4=48, Resulting Numbers: [35, 48] Generated Node #0,0,0: 21:[35, 48] Operation: 52-4=48 Exploring Operation: 35-4=31, Resulting Numbers: [52, 31] Generated Node #0,0,1: 21:[52, 31] Operation: 35-4=31 Exploring Operation: 52-35=17, Resulting Numbers: [4, 17] Generated Node #0,0,2: 21:[4, 17] Operation: 52-35=17 Exploring Operation: 52/4=13, Resulting Numbers: [35, 13] Generated Node #0,0,3: 21:[35, 13] Operation: 52/4=13 Moving to Node #0,0,2 Current State: 21:[4, 17], Operations: ['65-61=4', '52-35=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[35, 52, 65, 61], Operations: [] Exploring Operation: 65-61=4, Resulting Numbers: [35, 52, 4] Generated Node #0,0: 21:[35, 52, 4] Operation: 65-61=4 Moving to Node #0,0 Current State: 21:[35, 52, 4], Operations: ['65-61=4'] Exploring Operation: 52-35=17, Resulting Numbers: [4, 17] Generated Node #0,0,2: 21:[4, 17] Operation: 52-35=17 Moving to Node #0,0,2 Current State: 21:[4, 17], Operations: ['65-61=4', '52-35=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 28, 56, 94, 69 ]
50
[ "56/28=2", "94-69=25", "2*25=50" ]
Current State: 50:[28, 56, 94, 69], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [94, 69, 2] Generated Node #2: [94, 69, 2] from Operation: 56/28=2 Current State: 50:[94, 69, 2], Operations: ['56/28=2'] Exploring Operation: 94-69=25, Resulting Numbers: [2, 25] Generated Node #3: [2, 25] from Operation: 94-69=25 Current State: 50:[2, 25], Operations: ['56/28=2', '94-69=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[28, 56, 94, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [28, 56, 25] Generated Node #0,0: 50:[28, 56, 25] Operation: 94-69=25 Exploring Operation: 94-56=38, Resulting Numbers: [28, 69, 38] Generated Node #0,1: 50:[28, 69, 38] Operation: 94-56=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[28, 56, 25], Operations: ['94-69=25'] Exploring Operation: 56-28=28, Resulting Numbers: [25, 28] Generated Node #0,0,0: 50:[25, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 50:[25, 2] Operation: 56/28=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 50:[25, 2], Operations: ['94-69=25', '56/28=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[28, 56, 94, 69], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [28, 56, 25] Generated Node #0,0: 50:[28, 56, 25] Operation: 94-69=25 Moving to Node #0,0 Current State: 50:[28, 56, 25], Operations: ['94-69=25'] Exploring Operation: 56/28=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 50:[25, 2] Operation: 56/28=2 Moving to Node #0,0,1 Current State: 50:[25, 2], Operations: ['94-69=25', '56/28=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 88, 87, 45, 10 ]
36
[ "88-87=1", "45-10=35", "1+35=36" ]
Current State: 36:[88, 87, 45, 10], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [45, 10, 1] Generated Node #2: [45, 10, 1] from Operation: 88-87=1 Current State: 36:[45, 10, 1], Operations: ['88-87=1'] Exploring Operation: 45-10=35, Resulting Numbers: [1, 35] Generated Node #3: [1, 35] from Operation: 45-10=35 Current State: 36:[1, 35], Operations: ['88-87=1', '45-10=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[88, 87, 45, 10], Operations: [] Exploring Operation: 88-45=43, Resulting Numbers: [87, 10, 43] Generated Node #0,0: 36:[87, 10, 43] Operation: 88-45=43 Exploring Operation: 88-87=1, Resulting Numbers: [45, 10, 1] Generated Node #0,1: 36:[45, 10, 1] Operation: 88-87=1 Moving to Node #0,1 Current State: 36:[45, 10, 1], Operations: ['88-87=1'] Exploring Operation: 45-10=35, Resulting Numbers: [1, 35] Generated Node #0,1,0: 36:[1, 35] Operation: 45-10=35 Exploring Operation: 45-1=44, Resulting Numbers: [10, 44] Generated Node #0,1,1: 36:[10, 44] Operation: 45-1=44 Moving to Node #0,0 Current State: 36:[87, 10, 43], Operations: ['88-45=43'] Exploring Operation: 87-43=44, Resulting Numbers: [10, 44] Generated Node #0,0,0: 36:[10, 44] Operation: 87-43=44 Exploring Operation: 87-10=77, Resulting Numbers: [43, 77] Generated Node #0,0,1: 36:[43, 77] Operation: 87-10=77 Moving to Node #0,1,0 Current State: 36:[1, 35], Operations: ['88-87=1', '45-10=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[88, 87, 45, 10], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [45, 10, 1] Generated Node #0,1: 36:[45, 10, 1] Operation: 88-87=1 Moving to Node #0,1 Current State: 36:[45, 10, 1], Operations: ['88-87=1'] Exploring Operation: 45-10=35, Resulting Numbers: [1, 35] Generated Node #0,1,0: 36:[1, 35] Operation: 45-10=35 Moving to Node #0,1,0 Current State: 36:[1, 35], Operations: ['88-87=1', '45-10=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 37, 49, 39, 78 ]
47
[ "37+49=86", "78-39=39", "86-39=47" ]
Current State: 47:[37, 49, 39, 78], Operations: [] Exploring Operation: 37+49=86, Resulting Numbers: [39, 78, 86] Generated Node #2: [39, 78, 86] from Operation: 37+49=86 Current State: 47:[39, 78, 86], Operations: ['37+49=86'] Exploring Operation: 78-39=39, Resulting Numbers: [86, 39] Generated Node #3: [86, 39] from Operation: 78-39=39 Current State: 47:[86, 39], Operations: ['37+49=86', '78-39=39'] Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[37, 49, 39, 78], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [49, 39, 41] Generated Node #0,0: 47:[49, 39, 41] Operation: 78-37=41 Exploring Operation: 78-39=39, Resulting Numbers: [37, 49, 39] Generated Node #0,1: 47:[37, 49, 39] Operation: 78-39=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[49, 39, 41], Operations: ['78-37=41'] Exploring Operation: 49-39=10, Resulting Numbers: [41, 10] Generated Node #0,0,0: 47:[41, 10] Operation: 49-39=10 Exploring Operation: 39+41=80, Resulting Numbers: [49, 80] Generated Node #0,0,1: 47:[49, 80] Operation: 39+41=80 Moving to Node #0,0,1 Current State: 47:[49, 80], Operations: ['78-37=41', '39+41=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[41, 10], Operations: ['78-37=41', '49-39=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,47 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[37, 49, 39], Operations: ['78-39=39'] Exploring Operation: 49-37=12, Resulting Numbers: [39, 12] Generated Node #0,1,0: 47:[39, 12] Operation: 49-37=12 Exploring Operation: 37+39=76, Resulting Numbers: [49, 76] Generated Node #0,1,1: 47:[49, 76] Operation: 37+39=76 Moving to Node #0,1,1 Current State: 47:[49, 76], Operations: ['78-39=39', '37+39=76'] Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 49+76=125, Resulting Numbers: [125] 125,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[39, 12], Operations: ['78-39=39', '49-37=12'] Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,47 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
[ 82, 92, 61, 82 ]
11
[ "92-82=10", "82-61=21", "21-10=11" ]
Current State: 11:[82, 92, 61, 82], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [61, 10] Generated Node #2: [61, 10] from Operation: 92-82=10 Current State: 11:[61, 10], Operations: ['92-82=10'] Exploring Operation: 82-61=21, Resulting Numbers: [10, 21] Generated Node #3: [10, 21] from Operation: 82-61=21 Current State: 11:[10, 21], Operations: ['92-82=10', '82-61=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[82, 92, 61, 82], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [92, 61, 1] Generated Node #0,0: 11:[92, 61, 1] Operation: 82/82=1 Exploring Operation: 92-82=10, Resulting Numbers: [61, 82, 10] Generated Node #0,1: 11:[61, 82, 10] Operation: 92-82=10 Exploring Operation: 82-82=0, Resulting Numbers: [92, 61, 0] Generated Node #0,2: 11:[92, 61, 0] Operation: 82-82=0 Exploring Operation: 92-82=10, Resulting Numbers: [82, 61, 10] Generated Node #0,3: 11:[82, 61, 10] Operation: 92-82=10 Moving to Node #0,1 Current State: 11:[61, 82, 10], Operations: ['92-82=10'] Exploring Operation: 82-61=21, Resulting Numbers: [10, 21] Generated Node #0,1,0: 11:[10, 21] Operation: 82-61=21 Exploring Operation: 61+10=71, Resulting Numbers: [82, 71] Generated Node #0,1,1: 11:[82, 71] Operation: 61+10=71 Exploring Operation: 61-10=51, Resulting Numbers: [82, 51] Generated Node #0,1,2: 11:[82, 51] Operation: 61-10=51 Exploring Operation: 82-10=72, Resulting Numbers: [61, 72] Generated Node #0,1,3: 11:[61, 72] Operation: 82-10=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[10, 21], Operations: ['92-82=10', '82-61=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[82, 92, 61, 82], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [61, 82, 10] Generated Node #0,1: 11:[61, 82, 10] Operation: 92-82=10 Moving to Node #0,1 Current State: 11:[61, 82, 10], Operations: ['92-82=10'] Exploring Operation: 82-61=21, Resulting Numbers: [10, 21] Generated Node #0,1,0: 11:[10, 21] Operation: 82-61=21 Moving to Node #0,1,0 Current State: 11:[10, 21], Operations: ['92-82=10', '82-61=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 80, 59, 26, 55 ]
59
[ "80-26=54", "55-54=1", "59*1=59" ]
Current State: 59:[80, 59, 26, 55], Operations: [] Exploring Operation: 80-26=54, Resulting Numbers: [59, 55, 54] Generated Node #2: [59, 55, 54] from Operation: 80-26=54 Current State: 59:[59, 55, 54], Operations: ['80-26=54'] Exploring Operation: 55-54=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 55-54=1 Current State: 59:[59, 1], Operations: ['80-26=54', '55-54=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[80, 59, 26, 55], Operations: [] Exploring Operation: 80+26=106, Resulting Numbers: [59, 55, 106] Generated Node #0,0: 59:[59, 55, 106] Operation: 80+26=106 Exploring Operation: 80-26=54, Resulting Numbers: [59, 55, 54] Generated Node #0,1: 59:[59, 55, 54] Operation: 80-26=54 Exploring Operation: 26+55=81, Resulting Numbers: [80, 59, 81] Generated Node #0,2: 59:[80, 59, 81] Operation: 26+55=81 Moving to Node #0,1 Current State: 59:[59, 55, 54], Operations: ['80-26=54'] Exploring Operation: 59+54=113, Resulting Numbers: [55, 113] Generated Node #0,1,0: 59:[55, 113] Operation: 59+54=113 Exploring Operation: 59-54=5, Resulting Numbers: [55, 5] Generated Node #0,1,1: 59:[55, 5] Operation: 59-54=5 Exploring Operation: 55+54=109, Resulting Numbers: [59, 109] Generated Node #0,1,2: 59:[59, 109] Operation: 55+54=109 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[59, 109], Operations: ['80-26=54', '55+54=109'] Exploring Operation: 59+109=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 109-59=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 59*109=6431, Resulting Numbers: [6431] 6431,59 unequal: No Solution No 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: 59:[55, 113], Operations: ['80-26=54', '59+54=113'] Exploring Operation: 55*113=6215, Resulting Numbers: [6215] 6215,59 unequal: No Solution Exploring Operation: 55+113=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 113-55=58, Resulting Numbers: [58] 58,59 unequal: No Solution No 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: 59:[55, 5], Operations: ['80-26=54', '59-54=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,59 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: 59:[80, 59, 81], Operations: ['26+55=81'] Exploring Operation: 81-80=1, Resulting Numbers: [59, 1] Generated Node #0,2,0: 59:[59, 1] Operation: 81-80=1 Exploring Operation: 81-59=22, Resulting Numbers: [80, 22] Generated Node #0,2,1: 59:[80, 22] Operation: 81-59=22 Exploring Operation: 80-59=21, Resulting Numbers: [81, 21] Generated Node #0,2,2: 59:[81, 21] Operation: 80-59=21 Moving to Node #0,0 Current State: 59:[59, 55, 106], Operations: ['80+26=106'] Exploring Operation: 106-55=51, Resulting Numbers: [59, 51] Generated Node #0,0,0: 59:[59, 51] Operation: 106-55=51 Exploring Operation: 59+55=114, Resulting Numbers: [106, 114] Generated Node #0,0,1: 59:[106, 114] Operation: 59+55=114 Exploring Operation: 106-59=47, Resulting Numbers: [55, 47] Generated Node #0,0,2: 59:[55, 47] Operation: 106-59=47 Moving to Node #0,0,0 Current State: 59:[59, 51], Operations: ['80+26=106', '106-55=51'] Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,59 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[55, 47], Operations: ['80+26=106', '106-59=47'] Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 55+47=102, Resulting Numbers: [102] 102,59 unequal: No Solution Exploring Operation: 55*47=2585, Resulting Numbers: [2585] 2585,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[59, 1], Operations: ['26+55=81', '81-80=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[80, 59, 26, 55], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [80, 59, 81] Generated Node #0,2: 59:[80, 59, 81] Operation: 26+55=81 Moving to Node #0,2 Current State: 59:[80, 59, 81], Operations: ['26+55=81'] Exploring Operation: 81-80=1, Resulting Numbers: [59, 1] Generated Node #0,2,0: 59:[59, 1] Operation: 81-80=1 Moving to Node #0,2,0 Current State: 59:[59, 1], Operations: ['26+55=81', '81-80=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.972222
hs_3
sum_heuristic
[ 29, 70, 39, 8 ]
56
[ "39-29=10", "70*8=560", "560/10=56" ]
Current State: 56:[29, 70, 39, 8], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [70, 8, 10] Generated Node #2: [70, 8, 10] from Operation: 39-29=10 Current State: 56:[70, 8, 10], Operations: ['39-29=10'] Exploring Operation: 70*8=560, Resulting Numbers: [10, 560] Generated Node #3: [10, 560] from Operation: 70*8=560 Current State: 56:[10, 560], Operations: ['39-29=10', '70*8=560'] Exploring Operation: 560/10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[29, 70, 39, 8], Operations: [] Exploring Operation: 70-8=62, Resulting Numbers: [29, 39, 62] Generated Node #0,0: 56:[29, 39, 62] Operation: 70-8=62 Exploring Operation: 70-39=31, Resulting Numbers: [29, 8, 31] Generated Node #0,1: 56:[29, 8, 31] Operation: 70-39=31 Exploring Operation: 39-29=10, Resulting Numbers: [70, 8, 10] Generated Node #0,2: 56:[70, 8, 10] Operation: 39-29=10 Exploring Operation: 39-8=31, Resulting Numbers: [29, 70, 31] Generated Node #0,3: 56:[29, 70, 31] Operation: 39-8=31 Moving to Node #0,1 Current State: 56:[29, 8, 31], Operations: ['70-39=31'] Exploring Operation: 31-8=23, Resulting Numbers: [29, 23] Generated Node #0,1,0: 56:[29, 23] Operation: 31-8=23 Exploring Operation: 31-29=2, Resulting Numbers: [8, 2] Generated Node #0,1,1: 56:[8, 2] Operation: 31-29=2 Exploring Operation: 29-8=21, Resulting Numbers: [31, 21] Generated Node #0,1,2: 56:[31, 21] Operation: 29-8=21 Exploring Operation: 29+31=60, Resulting Numbers: [8, 60] Generated Node #0,1,3: 56:[8, 60] Operation: 29+31=60 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[8, 2], Operations: ['70-39=31', '31-29=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,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,3 Current State: 56:[8, 60], Operations: ['70-39=31', '29+31=60'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,56 unequal: No Solution Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,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,0 Current State: 56:[29, 23], Operations: ['70-39=31', '31-8=23'] Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,56 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,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,2 Current State: 56:[31, 21], Operations: ['70-39=31', '29-8=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,56 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 56:[70, 8, 10], Operations: ['39-29=10'] Exploring Operation: 10-8=2, Resulting Numbers: [70, 2] Generated Node #0,2,0: 56:[70, 2] Operation: 10-8=2 Exploring Operation: 70-10=60, Resulting Numbers: [8, 60] Generated Node #0,2,1: 56:[8, 60] Operation: 70-10=60 Exploring Operation: 70/10=7, Resulting Numbers: [8, 7] Generated Node #0,2,2: 56:[8, 7] Operation: 70/10=7 Exploring Operation: 70-8=62, Resulting Numbers: [10, 62] Generated Node #0,2,3: 56:[10, 62] Operation: 70-8=62 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[8, 7], Operations: ['39-29=10', '70/10=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[29, 70, 39, 8], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [70, 8, 10] Generated Node #0,2: 56:[70, 8, 10] Operation: 39-29=10 Moving to Node #0,2 Current State: 56:[70, 8, 10], Operations: ['39-29=10'] Exploring Operation: 70/10=7, Resulting Numbers: [8, 7] Generated Node #0,2,2: 56:[8, 7] Operation: 70/10=7 Moving to Node #0,2,2 Current State: 56:[8, 7], Operations: ['39-29=10', '70/10=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 18, 42, 11, 64 ]
99
[ "42-18=24", "11+64=75", "24+75=99" ]
Current State: 99:[18, 42, 11, 64], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [11, 64, 24] Generated Node #2: [11, 64, 24] from Operation: 42-18=24 Current State: 99:[11, 64, 24], Operations: ['42-18=24'] Exploring Operation: 11+64=75, Resulting Numbers: [24, 75] Generated Node #3: [24, 75] from Operation: 11+64=75 Current State: 99:[24, 75], Operations: ['42-18=24', '11+64=75'] Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[18, 42, 11, 64], Operations: [] Exploring Operation: 64-11=53, Resulting Numbers: [18, 42, 53] Generated Node #0,0: 99:[18, 42, 53] Operation: 64-11=53 Exploring Operation: 64-18=46, Resulting Numbers: [42, 11, 46] Generated Node #0,1: 99:[42, 11, 46] Operation: 64-18=46 Exploring Operation: 18+64=82, Resulting Numbers: [42, 11, 82] Generated Node #0,2: 99:[42, 11, 82] Operation: 18+64=82 Exploring Operation: 64-42=22, Resulting Numbers: [18, 11, 22] Generated Node #0,3: 99:[18, 11, 22] Operation: 64-42=22 Exploring Operation: 42+64=106, Resulting Numbers: [18, 11, 106] Generated Node #0,4: 99:[18, 11, 106] Operation: 42+64=106 Moving to Node #0,4 Current State: 99:[18, 11, 106], Operations: ['42+64=106'] Exploring Operation: 18+11=29, Resulting Numbers: [106, 29] Generated Node #0,4,0: 99:[106, 29] Operation: 18+11=29 Exploring Operation: 106-11=95, Resulting Numbers: [18, 95] Generated Node #0,4,1: 99:[18, 95] Operation: 106-11=95 Exploring Operation: 106-18=88, Resulting Numbers: [11, 88] Generated Node #0,4,2: 99:[11, 88] Operation: 106-18=88 Exploring Operation: 18+106=124, Resulting Numbers: [11, 124] Generated Node #0,4,3: 99:[11, 124] Operation: 18+106=124 Exploring Operation: 18-11=7, Resulting Numbers: [106, 7] Generated Node #0,4,4: 99:[106, 7] Operation: 18-11=7 Moving to Node #0,3 Current State: 99:[18, 11, 22], Operations: ['64-42=22'] Exploring Operation: 18+22=40, Resulting Numbers: [11, 40] Generated Node #0,3,0: 99:[11, 40] Operation: 18+22=40 Exploring Operation: 22-11=11, Resulting Numbers: [18, 11] Generated Node #0,3,1: 99:[18, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [18, 2] Generated Node #0,3,2: 99:[18, 2] Operation: 22/11=2 Exploring Operation: 22-18=4, Resulting Numbers: [11, 4] Generated Node #0,3,3: 99:[11, 4] Operation: 22-18=4 Exploring Operation: 11+22=33, Resulting Numbers: [18, 33] Generated Node #0,3,4: 99:[18, 33] Operation: 11+22=33 Moving to Node #0,1 Current State: 99:[42, 11, 46], Operations: ['64-18=46'] Exploring Operation: 46-11=35, Resulting Numbers: [42, 35] Generated Node #0,1,0: 99:[42, 35] Operation: 46-11=35 Exploring Operation: 42+11=53, Resulting Numbers: [46, 53] Generated Node #0,1,1: 99:[46, 53] Operation: 42+11=53 Exploring Operation: 46-42=4, Resulting Numbers: [11, 4] Generated Node #0,1,2: 99:[11, 4] Operation: 46-42=4 Exploring Operation: 42-11=31, Resulting Numbers: [46, 31] Generated Node #0,1,3: 99:[46, 31] Operation: 42-11=31 Exploring Operation: 42+46=88, Resulting Numbers: [11, 88] Generated Node #0,1,4: 99:[11, 88] Operation: 42+46=88 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[11, 4], Operations: ['64-18=46', '46-42=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[42, 35], Operations: ['64-18=46', '46-11=35'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 42*35=1470, Resulting Numbers: [1470] 1470,99 unequal: No Solution Exploring Operation: 42+35=77, Resulting Numbers: [77] 77,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 99:[11, 88], Operations: ['64-18=46', '42+46=88'] Exploring Operation: 11+88=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[18, 42, 11, 64], Operations: [] Exploring Operation: 64-18=46, Resulting Numbers: [42, 11, 46] Generated Node #0,1: 99:[42, 11, 46] Operation: 64-18=46 Moving to Node #0,1 Current State: 99:[42, 11, 46], Operations: ['64-18=46'] Exploring Operation: 42+46=88, Resulting Numbers: [11, 88] Generated Node #0,1,4: 99:[11, 88] Operation: 42+46=88 Moving to Node #0,1,4 Current State: 99:[11, 88], Operations: ['64-18=46', '42+46=88'] Exploring Operation: 11+88=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
mult_heuristic
[ 62, 46, 36, 30 ]
18
[ "62+46=108", "36-30=6", "108/6=18" ]
Current State: 18:[62, 46, 36, 30], Operations: [] Exploring Operation: 62+46=108, Resulting Numbers: [36, 30, 108] Generated Node #2: [36, 30, 108] from Operation: 62+46=108 Current State: 18:[36, 30, 108], Operations: ['62+46=108'] Exploring Operation: 36-30=6, Resulting Numbers: [108, 6] Generated Node #3: [108, 6] from Operation: 36-30=6 Current State: 18:[108, 6], Operations: ['62+46=108', '36-30=6'] Exploring Operation: 108/6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[62, 46, 36, 30], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [62, 30, 10] Generated Node #0,0: 18:[62, 30, 10] Operation: 46-36=10 Exploring Operation: 62-46=16, Resulting Numbers: [36, 30, 16] Generated Node #0,1: 18:[36, 30, 16] Operation: 62-46=16 Exploring Operation: 62-36=26, Resulting Numbers: [46, 30, 26] Generated Node #0,2: 18:[46, 30, 26] Operation: 62-36=26 Moving to Node #0,1 Current State: 18:[36, 30, 16], Operations: ['62-46=16'] Exploring Operation: 30-16=14, Resulting Numbers: [36, 14] Generated Node #0,1,0: 18:[36, 14] Operation: 30-16=14 Exploring Operation: 36-30=6, Resulting Numbers: [16, 6] Generated Node #0,1,1: 18:[16, 6] Operation: 36-30=6 Exploring Operation: 36-16=20, Resulting Numbers: [30, 20] Generated Node #0,1,2: 18:[30, 20] Operation: 36-16=20 Moving to Node #0,2 Current State: 18:[46, 30, 26], Operations: ['62-36=26'] Exploring Operation: 46-30=16, Resulting Numbers: [26, 16] Generated Node #0,2,0: 18:[26, 16] Operation: 46-30=16 Exploring Operation: 30-26=4, Resulting Numbers: [46, 4] Generated Node #0,2,1: 18:[46, 4] Operation: 30-26=4 Exploring Operation: 46-26=20, Resulting Numbers: [30, 20] Generated Node #0,2,2: 18:[30, 20] Operation: 46-26=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[26, 16], Operations: ['62-36=26', '46-30=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[30, 20], Operations: ['62-36=26', '46-26=20'] Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,18 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[46, 4], Operations: ['62-36=26', '30-26=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,18 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,18 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: 18:[62, 30, 10], Operations: ['46-36=10'] Exploring Operation: 62-30=32, Resulting Numbers: [10, 32] Generated Node #0,0,0: 18:[10, 32] Operation: 62-30=32 Exploring Operation: 62-10=52, Resulting Numbers: [30, 52] Generated Node #0,0,1: 18:[30, 52] Operation: 62-10=52 Exploring Operation: 30/10=3, Resulting Numbers: [62, 3] Generated Node #0,0,2: 18:[62, 3] Operation: 30/10=3 Moving to Node #0,1,1 Current State: 18:[16, 6], Operations: ['62-46=16', '36-30=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[30, 20], Operations: ['62-46=16', '36-16=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[10, 32], Operations: ['46-36=10', '62-30=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,18 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[36, 14], Operations: ['62-46=16', '30-16=14'] Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,18 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[62, 3], Operations: ['46-36=10', '30/10=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,18 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,18 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[30, 52], Operations: ['46-36=10', '62-10=52'] Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,18 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,18 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 64, 56, 61, 2 ]
31
[ "64-61=3", "56/2=28", "3+28=31" ]
Current State: 31:[64, 56, 61, 2], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [56, 2, 3] Generated Node #2: [56, 2, 3] from Operation: 64-61=3 Current State: 31:[56, 2, 3], Operations: ['64-61=3'] Exploring Operation: 56/2=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 56/2=28 Current State: 31:[3, 28], Operations: ['64-61=3', '56/2=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[64, 56, 61, 2], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [64, 61, 28] Generated Node #0,0: 31:[64, 61, 28] Operation: 56/2=28 Exploring Operation: 64-61=3, Resulting Numbers: [56, 2, 3] Generated Node #0,1: 31:[56, 2, 3] Operation: 64-61=3 Exploring Operation: 64-56=8, Resulting Numbers: [61, 2, 8] Generated Node #0,2: 31:[61, 2, 8] Operation: 64-56=8 Exploring Operation: 64/2=32, Resulting Numbers: [56, 61, 32] Generated Node #0,3: 31:[56, 61, 32] Operation: 64/2=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[56, 61, 32], Operations: ['64/2=32'] Exploring Operation: 61-32=29, Resulting Numbers: [56, 29] Generated Node #0,3,0: 31:[56, 29] Operation: 61-32=29 Exploring Operation: 61-56=5, Resulting Numbers: [32, 5] Generated Node #0,3,1: 31:[32, 5] Operation: 61-56=5 Exploring Operation: 56+61=117, Resulting Numbers: [32, 117] Generated Node #0,3,2: 31:[32, 117] Operation: 56+61=117 Exploring Operation: 56-32=24, Resulting Numbers: [61, 24] Generated Node #0,3,3: 31:[61, 24] Operation: 56-32=24 Moving to Node #0,3,0 Current State: 31:[56, 29], Operations: ['64/2=32', '61-32=29'] Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,31 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,31 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[32, 5], Operations: ['64/2=32', '61-56=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,31 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,31 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[61, 24], Operations: ['64/2=32', '56-32=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[32, 117], Operations: ['64/2=32', '56+61=117'] Exploring Operation: 117-32=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 32*117=3744, Resulting Numbers: [3744] 3744,31 unequal: No Solution Exploring Operation: 32+117=149, Resulting Numbers: [149] 149,31 unequal: No Solution No 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: 31:[64, 61, 28], Operations: ['56/2=28'] Exploring Operation: 64-28=36, Resulting Numbers: [61, 36] Generated Node #0,0,0: 31:[61, 36] Operation: 64-28=36 Exploring Operation: 61-28=33, Resulting Numbers: [64, 33] Generated Node #0,0,1: 31:[64, 33] Operation: 61-28=33 Exploring Operation: 64-61=3, Resulting Numbers: [28, 3] Generated Node #0,0,2: 31:[28, 3] Operation: 64-61=3 Exploring Operation: 64+28=92, Resulting Numbers: [61, 92] Generated Node #0,0,3: 31:[61, 92] Operation: 64+28=92 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[28, 3], Operations: ['56/2=28', '64-61=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:[64, 56, 61, 2], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [64, 61, 28] Generated Node #0,0: 31:[64, 61, 28] Operation: 56/2=28 Moving to Node #0,0 Current State: 31:[64, 61, 28], Operations: ['56/2=28'] Exploring Operation: 64-61=3, Resulting Numbers: [28, 3] Generated Node #0,0,2: 31:[28, 3] Operation: 64-61=3 Moving to Node #0,0,2 Current State: 31:[28, 3], Operations: ['56/2=28', '64-61=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 89, 44, 24, 61 ]
82
[ "89-44=45", "61-24=37", "45+37=82" ]
Current State: 82:[89, 44, 24, 61], Operations: [] Exploring Operation: 89-44=45, Resulting Numbers: [24, 61, 45] Generated Node #2: [24, 61, 45] from Operation: 89-44=45 Current State: 82:[24, 61, 45], Operations: ['89-44=45'] Exploring Operation: 61-24=37, Resulting Numbers: [45, 37] Generated Node #3: [45, 37] from Operation: 61-24=37 Current State: 82:[45, 37], Operations: ['89-44=45', '61-24=37'] Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[89, 44, 24, 61], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [44, 24, 28] Generated Node #0,0: 82:[44, 24, 28] Operation: 89-61=28 Exploring Operation: 24+61=85, Resulting Numbers: [89, 44, 85] Generated Node #0,1: 82:[89, 44, 85] Operation: 24+61=85 Exploring Operation: 89-24=65, Resulting Numbers: [44, 61, 65] Generated Node #0,2: 82:[44, 61, 65] Operation: 89-24=65 Exploring Operation: 61-44=17, Resulting Numbers: [89, 24, 17] Generated Node #0,3: 82:[89, 24, 17] Operation: 61-44=17 Exploring Operation: 61-24=37, Resulting Numbers: [89, 44, 37] Generated Node #0,4: 82:[89, 44, 37] Operation: 61-24=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[89, 44, 85], Operations: ['24+61=85'] Exploring Operation: 89+44=133, Resulting Numbers: [85, 133] Generated Node #0,1,0: 82:[85, 133] Operation: 89+44=133 Exploring Operation: 89-85=4, Resulting Numbers: [44, 4] Generated Node #0,1,1: 82:[44, 4] Operation: 89-85=4 Exploring Operation: 85-44=41, Resulting Numbers: [89, 41] Generated Node #0,1,2: 82:[89, 41] Operation: 85-44=41 Exploring Operation: 89-44=45, Resulting Numbers: [85, 45] Generated Node #0,1,3: 82:[85, 45] Operation: 89-44=45 Exploring Operation: 44+85=129, Resulting Numbers: [89, 129] Generated Node #0,1,4: 82:[89, 129] Operation: 44+85=129 Moving to Node #0,1,1 Current State: 82:[44, 4], Operations: ['24+61=85', '89-85=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,82 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[85, 45], Operations: ['24+61=85', '89-44=45'] Exploring Operation: 85*45=3825, Resulting Numbers: [3825] 3825,82 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 85+45=130, Resulting Numbers: [130] 130,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[89, 41], Operations: ['24+61=85', '85-44=41'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 89*41=3649, Resulting Numbers: [3649] 3649,82 unequal: No Solution Exploring Operation: 89+41=130, Resulting Numbers: [130] 130,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[85, 133], Operations: ['24+61=85', '89+44=133'] Exploring Operation: 85+133=218, Resulting Numbers: [218] 218,82 unequal: No Solution Exploring Operation: 85*133=11305, Resulting Numbers: [11305] 11305,82 unequal: No Solution Exploring Operation: 133-85=48, Resulting Numbers: [48] 48,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[89, 129], Operations: ['24+61=85', '44+85=129'] Exploring Operation: 89+129=218, Resulting Numbers: [218] 218,82 unequal: No Solution Exploring Operation: 89*129=11481, Resulting Numbers: [11481] 11481,82 unequal: No Solution Exploring Operation: 129-89=40, Resulting Numbers: [40] 40,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[89, 44, 37], Operations: ['61-24=37'] Exploring Operation: 89-44=45, Resulting Numbers: [37, 45] Generated Node #0,4,0: 82:[37, 45] Operation: 89-44=45 Exploring Operation: 89+37=126, Resulting Numbers: [44, 126] Generated Node #0,4,1: 82:[44, 126] Operation: 89+37=126 Exploring Operation: 44-37=7, Resulting Numbers: [89, 7] Generated Node #0,4,2: 82:[89, 7] Operation: 44-37=7 Exploring Operation: 44+37=81, Resulting Numbers: [89, 81] Generated Node #0,4,3: 82:[89, 81] Operation: 44+37=81 Exploring Operation: 89-37=52, Resulting Numbers: [44, 52] Generated Node #0,4,4: 82:[44, 52] Operation: 89-37=52 Moving to Node #0,4,0 Current State: 82:[37, 45], Operations: ['61-24=37', '89-44=45'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,82 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[89, 44, 24, 61], Operations: [] Exploring Operation: 61-24=37, Resulting Numbers: [89, 44, 37] Generated Node #0,4: 82:[89, 44, 37] Operation: 61-24=37 Moving to Node #0,4 Current State: 82:[89, 44, 37], Operations: ['61-24=37'] Exploring Operation: 89-44=45, Resulting Numbers: [37, 45] Generated Node #0,4,0: 82:[37, 45] Operation: 89-44=45 Moving to Node #0,4,0 Current State: 82:[37, 45], Operations: ['61-24=37', '89-44=45'] Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 98, 40, 48, 24 ]
94
[ "48-40=8", "24*8=192", "192-98=94" ]
Current State: 94:[98, 40, 48, 24], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [98, 24, 8] Generated Node #2: [98, 24, 8] from Operation: 48-40=8 Current State: 94:[98, 24, 8], Operations: ['48-40=8'] Exploring Operation: 24*8=192, Resulting Numbers: [98, 192] Generated Node #3: [98, 192] from Operation: 24*8=192 Current State: 94:[98, 192], Operations: ['48-40=8', '24*8=192'] Exploring Operation: 192-98=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[98, 40, 48, 24], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [98, 40, 2] Generated Node #0,0: 94:[98, 40, 2] Operation: 48/24=2 Exploring Operation: 40-24=16, Resulting Numbers: [98, 48, 16] Generated Node #0,1: 94:[98, 48, 16] Operation: 40-24=16 Moving to Node #0,0 Current State: 94:[98, 40, 2], Operations: ['48/24=2'] Exploring Operation: 98/2=49, Resulting Numbers: [40, 49] Generated Node #0,0,0: 94:[40, 49] Operation: 98/2=49 Exploring Operation: 98-2=96, Resulting Numbers: [40, 96] Generated Node #0,0,1: 94:[40, 96] Operation: 98-2=96 Moving to Node #0,1 Current State: 94:[98, 48, 16], Operations: ['40-24=16'] Exploring Operation: 48/16=3, Resulting Numbers: [98, 3] Generated Node #0,1,0: 94:[98, 3] Operation: 48/16=3 Exploring Operation: 98-16=82, Resulting Numbers: [48, 82] Generated Node #0,1,1: 94:[48, 82] Operation: 98-16=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[98, 3], Operations: ['40-24=16', '48/16=3'] Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[48, 82], Operations: ['40-24=16', '98-16=82'] Exploring Operation: 48+82=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,94 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: 94:[40, 49], Operations: ['48/24=2', '98/2=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[40, 96], Operations: ['48/24=2', '98-2=96'] Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,94 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 57, 5, 73, 33 ]
47
[ "73-57=16", "5*16=80", "80-33=47" ]
Current State: 47:[57, 5, 73, 33], Operations: [] Exploring Operation: 73-57=16, Resulting Numbers: [5, 33, 16] Generated Node #2: [5, 33, 16] from Operation: 73-57=16 Current State: 47:[5, 33, 16], Operations: ['73-57=16'] Exploring Operation: 5*16=80, Resulting Numbers: [33, 80] Generated Node #3: [33, 80] from Operation: 5*16=80 Current State: 47:[33, 80], Operations: ['73-57=16', '5*16=80'] Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[57, 5, 73, 33], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [73, 33, 52] Generated Node #0,0: 47:[73, 33, 52] Operation: 57-5=52 Exploring Operation: 73-5=68, Resulting Numbers: [57, 33, 68] Generated Node #0,1: 47:[57, 33, 68] Operation: 73-5=68 Exploring Operation: 5+33=38, Resulting Numbers: [57, 73, 38] Generated Node #0,2: 47:[57, 73, 38] Operation: 5+33=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[73, 33, 52], Operations: ['57-5=52'] Exploring Operation: 73-52=21, Resulting Numbers: [33, 21] Generated Node #0,0,0: 47:[33, 21] Operation: 73-52=21 Exploring Operation: 73-33=40, Resulting Numbers: [52, 40] Generated Node #0,0,1: 47:[52, 40] Operation: 73-33=40 Exploring Operation: 52-33=19, Resulting Numbers: [73, 19] Generated Node #0,0,2: 47:[73, 19] Operation: 52-33=19 Moving to Node #0,0,1 Current State: 47:[52, 40], Operations: ['57-5=52', '73-33=40'] Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,47 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[33, 21], Operations: ['57-5=52', '73-52=21'] Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,47 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[73, 19], Operations: ['57-5=52', '52-33=19'] Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[57, 33, 68], Operations: ['73-5=68'] Exploring Operation: 68-57=11, Resulting Numbers: [33, 11] Generated Node #0,1,0: 47:[33, 11] Operation: 68-57=11 Exploring Operation: 57-33=24, Resulting Numbers: [68, 24] Generated Node #0,1,1: 47:[68, 24] Operation: 57-33=24 Exploring Operation: 68-33=35, Resulting Numbers: [57, 35] Generated Node #0,1,2: 47:[57, 35] Operation: 68-33=35 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[57, 35], Operations: ['73-5=68', '68-33=35'] Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[68, 24], Operations: ['73-5=68', '57-33=24'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[33, 11], Operations: ['73-5=68', '68-57=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[57, 73, 38], Operations: ['5+33=38'] Exploring Operation: 57-38=19, Resulting Numbers: [73, 19] Generated Node #0,2,0: 47:[73, 19] Operation: 57-38=19 Exploring Operation: 73-57=16, Resulting Numbers: [38, 16] Generated Node #0,2,1: 47:[38, 16] Operation: 73-57=16 Exploring Operation: 73-38=35, Resulting Numbers: [57, 35] Generated Node #0,2,2: 47:[57, 35] Operation: 73-38=35 Moving to Node #0,2,2 Current State: 47:[57, 35], Operations: ['5+33=38', '73-38=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,47 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[38, 16], Operations: ['5+33=38', '73-57=16'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,47 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[73, 19], Operations: ['5+33=38', '57-38=19'] Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,47 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
[ 21, 68, 90, 32 ]
75
[ "68-21=47", "90+32=122", "122-47=75" ]
Current State: 75:[21, 68, 90, 32], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [90, 32, 47] Generated Node #2: [90, 32, 47] from Operation: 68-21=47 Current State: 75:[90, 32, 47], Operations: ['68-21=47'] Exploring Operation: 90+32=122, Resulting Numbers: [47, 122] Generated Node #3: [47, 122] from Operation: 90+32=122 Current State: 75:[47, 122], Operations: ['68-21=47', '90+32=122'] Exploring Operation: 122-47=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[21, 68, 90, 32], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [21, 32, 22] Generated Node #0,0: 75:[21, 32, 22] Operation: 90-68=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[21, 32, 22], Operations: ['90-68=22'] Exploring Operation: 32-21=11, Resulting Numbers: [22, 11] Generated Node #0,0,0: 75:[22, 11] Operation: 32-21=11 Moving to Node #0,0,0 Current State: 75:[22, 11], Operations: ['90-68=22', '32-21=11'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 95, 39, 99, 97 ]
58
[ "95-39=56", "99-97=2", "56+2=58" ]
Current State: 58:[95, 39, 99, 97], Operations: [] Exploring Operation: 95-39=56, Resulting Numbers: [99, 97, 56] Generated Node #2: [99, 97, 56] from Operation: 95-39=56 Current State: 58:[99, 97, 56], Operations: ['95-39=56'] Exploring Operation: 99-97=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 99-97=2 Current State: 58:[56, 2], Operations: ['95-39=56', '99-97=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[95, 39, 99, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [95, 39, 2] Generated Node #0,0: 58:[95, 39, 2] Operation: 99-97=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[95, 39, 2], Operations: ['99-97=2'] Exploring Operation: 95-39=56, Resulting Numbers: [2, 56] Generated Node #0,0,0: 58:[2, 56] Operation: 95-39=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[2, 56], Operations: ['99-97=2', '95-39=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[95, 39, 99, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [95, 39, 2] Generated Node #0,0: 58:[95, 39, 2] Operation: 99-97=2 Moving to Node #0,0 Current State: 58:[95, 39, 2], Operations: ['99-97=2'] Exploring Operation: 95-39=56, Resulting Numbers: [2, 56] Generated Node #0,0,0: 58:[2, 56] Operation: 95-39=56 Moving to Node #0,0,0 Current State: 58:[2, 56], Operations: ['99-97=2', '95-39=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 48, 3, 4, 88 ]
26
[ "48/3=16", "88+16=104", "104/4=26" ]
Current State: 26:[48, 3, 4, 88], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [4, 88, 16] Generated Node #2: [4, 88, 16] from Operation: 48/3=16 Current State: 26:[4, 88, 16], Operations: ['48/3=16'] Exploring Operation: 88+16=104, Resulting Numbers: [4, 104] Generated Node #3: [4, 104] from Operation: 88+16=104 Current State: 26:[4, 104], Operations: ['48/3=16', '88+16=104'] Exploring Operation: 104/4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[48, 3, 4, 88], Operations: [] Exploring Operation: 48/4=12, Resulting Numbers: [3, 88, 12] Generated Node #0,0: 26:[3, 88, 12] Operation: 48/4=12 Exploring Operation: 88/4=22, Resulting Numbers: [48, 3, 22] Generated Node #0,1: 26:[48, 3, 22] Operation: 88/4=22 Exploring Operation: 88-48=40, Resulting Numbers: [3, 4, 40] Generated Node #0,2: 26:[3, 4, 40] Operation: 88-48=40 Moving to Node #0,2 Current State: 26:[3, 4, 40], Operations: ['88-48=40'] Exploring Operation: 40-4=36, Resulting Numbers: [3, 36] Generated Node #0,2,0: 26:[3, 36] Operation: 40-4=36 Exploring Operation: 40/4=10, Resulting Numbers: [3, 10] Generated Node #0,2,1: 26:[3, 10] Operation: 40/4=10 Exploring Operation: 40-3=37, Resulting Numbers: [4, 37] Generated Node #0,2,2: 26:[4, 37] Operation: 40-3=37 Moving to Node #0,1 Current State: 26:[48, 3, 22], Operations: ['88/4=22'] Exploring Operation: 48-22=26, Resulting Numbers: [3, 26] Generated Node #0,1,0: 26:[3, 26] Operation: 48-22=26 Exploring Operation: 48/3=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 26:[22, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [22, 45] Generated Node #0,1,2: 26:[22, 45] Operation: 48-3=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[3, 26], Operations: ['88/4=22', '48-22=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[22, 16], Operations: ['88/4=22', '48/3=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,26 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[22, 45], Operations: ['88/4=22', '48-3=45'] Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,26 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,26 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: 26:[3, 88, 12], Operations: ['48/4=12'] Exploring Operation: 88-3=85, Resulting Numbers: [12, 85] Generated Node #0,0,0: 26:[12, 85] Operation: 88-3=85 Exploring Operation: 88-12=76, Resulting Numbers: [3, 76] Generated Node #0,0,1: 26:[3, 76] Operation: 88-12=76 Exploring Operation: 3+12=15, Resulting Numbers: [88, 15] Generated Node #0,0,2: 26:[88, 15] Operation: 3+12=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[3, 76], Operations: ['48/4=12', '88-12=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,26 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 3*76=228, Resulting Numbers: [228] 228,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[12, 85], Operations: ['48/4=12', '88-3=85'] Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,26 unequal: No Solution Exploring Operation: 12*85=1020, Resulting Numbers: [1020] 1020,26 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[88, 15], Operations: ['48/4=12', '3+12=15'] Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,26 unequal: No Solution Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,26 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 26:[3, 10], Operations: ['88-48=40', '40/4=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[3, 36], Operations: ['88-48=40', '40-4=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[4, 37], Operations: ['88-48=40', '40-3=37'] Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,26 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,26 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 26, 21, 63, 98 ]
24
[ "98-26=72", "63/21=3", "72/3=24" ]
Current State: 24:[26, 21, 63, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [21, 63, 72] Generated Node #2: [21, 63, 72] from Operation: 98-26=72 Current State: 24:[21, 63, 72], Operations: ['98-26=72'] Exploring Operation: 63/21=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 63/21=3 Current State: 24:[72, 3], Operations: ['98-26=72', '63/21=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[26, 21, 63, 98], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [26, 21, 35] Generated Node #0,0: 24:[26, 21, 35] Operation: 98-63=35 Exploring Operation: 63/21=3, Resulting Numbers: [26, 98, 3] Generated Node #0,1: 24:[26, 98, 3] Operation: 63/21=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[26, 21, 35], Operations: ['98-63=35'] Exploring Operation: 35-21=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 24:[26, 14] Operation: 35-21=14 Exploring Operation: 35-26=9, Resulting Numbers: [21, 9] Generated Node #0,0,1: 24:[21, 9] Operation: 35-26=9 Moving to Node #0,0,0 Current State: 24:[26, 14], Operations: ['98-63=35', '35-21=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[21, 9], Operations: ['98-63=35', '35-26=9'] Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,24 unequal: No Solution No 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: 24:[26, 98, 3], Operations: ['63/21=3'] Exploring Operation: 98-26=72, Resulting Numbers: [3, 72] Generated Node #0,1,0: 24:[3, 72] Operation: 98-26=72 Exploring Operation: 98-3=95, Resulting Numbers: [26, 95] Generated Node #0,1,1: 24:[26, 95] Operation: 98-3=95 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 24:[3, 72], Operations: ['63/21=3', '98-26=72'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[26, 21, 63, 98], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [26, 98, 3] Generated Node #0,1: 24:[26, 98, 3] Operation: 63/21=3 Moving to Node #0,1 Current State: 24:[26, 98, 3], Operations: ['63/21=3'] Exploring Operation: 98-26=72, Resulting Numbers: [3, 72] Generated Node #0,1,0: 24:[3, 72] Operation: 98-26=72 Moving to Node #0,1,0 Current State: 24:[3, 72], Operations: ['63/21=3', '98-26=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 36, 1, 4, 31 ]
89
[ "36-1=35", "4*31=124", "124-35=89" ]
Current State: 89:[36, 1, 4, 31], Operations: [] Exploring Operation: 36-1=35, Resulting Numbers: [4, 31, 35] Generated Node #2: [4, 31, 35] from Operation: 36-1=35 Current State: 89:[4, 31, 35], Operations: ['36-1=35'] Exploring Operation: 4*31=124, Resulting Numbers: [35, 124] Generated Node #3: [35, 124] from Operation: 4*31=124 Current State: 89:[35, 124], Operations: ['36-1=35', '4*31=124'] Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[36, 1, 4, 31], Operations: [] Exploring Operation: 4*31=124, Resulting Numbers: [36, 1, 124] Generated Node #0,0: 89:[36, 1, 124] Operation: 4*31=124 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[36, 1, 124], Operations: ['4*31=124'] Exploring Operation: 36+1=37, Resulting Numbers: [124, 37] Generated Node #0,0,0: 89:[124, 37] Operation: 36+1=37 Moving to Node #0,0,0 Current State: 89:[124, 37], Operations: ['4*31=124', '36+1=37'] Exploring Operation: 124-37=87, Resulting Numbers: [87] 87,89 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
[ 90, 19, 14, 10 ]
69
[ "90-19=71", "14*10=140", "140-71=69" ]
Current State: 69:[90, 19, 14, 10], Operations: [] Exploring Operation: 90-19=71, Resulting Numbers: [14, 10, 71] Generated Node #2: [14, 10, 71] from Operation: 90-19=71 Current State: 69:[14, 10, 71], Operations: ['90-19=71'] Exploring Operation: 14*10=140, Resulting Numbers: [71, 140] Generated Node #3: [71, 140] from Operation: 14*10=140 Current State: 69:[71, 140], Operations: ['90-19=71', '14*10=140'] Exploring Operation: 140-71=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[90, 19, 14, 10], Operations: [] Exploring Operation: 90-19=71, Resulting Numbers: [14, 10, 71] Generated Node #0,0: 69:[14, 10, 71] Operation: 90-19=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[14, 10, 71], Operations: ['90-19=71'] Exploring Operation: 14+10=24, Resulting Numbers: [71, 24] Generated Node #0,0,0: 69:[71, 24] Operation: 14+10=24 Moving to Node #0,0,0 Current State: 69:[71, 24], Operations: ['90-19=71', '14+10=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,69 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
[ 30, 34, 3, 36 ]
80
[ "30/3=10", "34+36=70", "10+70=80" ]
Current State: 80:[30, 34, 3, 36], Operations: [] Exploring Operation: 30/3=10, Resulting Numbers: [34, 36, 10] Generated Node #2: [34, 36, 10] from Operation: 30/3=10 Current State: 80:[34, 36, 10], Operations: ['30/3=10'] Exploring Operation: 34+36=70, Resulting Numbers: [10, 70] Generated Node #3: [10, 70] from Operation: 34+36=70 Current State: 80:[10, 70], Operations: ['30/3=10', '34+36=70'] Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[30, 34, 3, 36], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [34, 3, 6] Generated Node #0,0: 80:[34, 3, 6] Operation: 36-30=6 Exploring Operation: 36-34=2, Resulting Numbers: [30, 3, 2] Generated Node #0,1: 80:[30, 3, 2] Operation: 36-34=2 Exploring Operation: 30/3=10, Resulting Numbers: [34, 36, 10] Generated Node #0,2: 80:[34, 36, 10] Operation: 30/3=10 Exploring Operation: 34-30=4, Resulting Numbers: [3, 36, 4] Generated Node #0,3: 80:[3, 36, 4] Operation: 34-30=4 Exploring Operation: 30+3=33, Resulting Numbers: [34, 36, 33] Generated Node #0,4: 80:[34, 36, 33] Operation: 30+3=33 Moving to Node #0,3 Current State: 80:[3, 36, 4], Operations: ['34-30=4'] Exploring Operation: 3+4=7, Resulting Numbers: [36, 7] Generated Node #0,3,0: 80:[36, 7] Operation: 3+4=7 Exploring Operation: 36+4=40, Resulting Numbers: [3, 40] Generated Node #0,3,1: 80:[3, 40] Operation: 36+4=40 Exploring Operation: 36/3=12, Resulting Numbers: [4, 12] Generated Node #0,3,2: 80:[4, 12] Operation: 36/3=12 Exploring Operation: 36/4=9, Resulting Numbers: [3, 9] Generated Node #0,3,3: 80:[3, 9] Operation: 36/4=9 Exploring Operation: 3+36=39, Resulting Numbers: [4, 39] Generated Node #0,3,4: 80:[4, 39] Operation: 3+36=39 Moving to Node #0,0 Current State: 80:[34, 3, 6], Operations: ['36-30=6'] Exploring Operation: 6/3=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 80:[34, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [34, 3] Generated Node #0,0,1: 80:[34, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [34, 9] Generated Node #0,0,2: 80:[34, 9] Operation: 3+6=9 Exploring Operation: 34+6=40, Resulting Numbers: [3, 40] Generated Node #0,0,3: 80:[3, 40] Operation: 34+6=40 Exploring Operation: 34+3=37, Resulting Numbers: [6, 37] Generated Node #0,0,4: 80:[6, 37] Operation: 34+3=37 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[3, 40], Operations: ['36-30=6', '34+6=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,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,4 Current State: 80:[6, 37], Operations: ['36-30=6', '34+3=37'] Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,80 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,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,0 Current State: 80:[34, 2], Operations: ['36-30=6', '6/3=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,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,1 Current State: 80:[34, 3], Operations: ['36-30=6', '6-3=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,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,2 Current State: 80:[34, 9], Operations: ['36-30=6', '3+6=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,80 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,80 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: 80:[34, 36, 10], Operations: ['30/3=10'] Exploring Operation: 34-10=24, Resulting Numbers: [36, 24] Generated Node #0,2,0: 80:[36, 24] Operation: 34-10=24 Exploring Operation: 34+10=44, Resulting Numbers: [36, 44] Generated Node #0,2,1: 80:[36, 44] Operation: 34+10=44 Exploring Operation: 36-34=2, Resulting Numbers: [10, 2] Generated Node #0,2,2: 80:[10, 2] Operation: 36-34=2 Exploring Operation: 36+10=46, Resulting Numbers: [34, 46] Generated Node #0,2,3: 80:[34, 46] Operation: 36+10=46 Exploring Operation: 34+36=70, Resulting Numbers: [10, 70] Generated Node #0,2,4: 80:[10, 70] Operation: 34+36=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[10, 2], Operations: ['30/3=10', '36-34=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[36, 24], Operations: ['30/3=10', '34-10=24'] Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,80 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[36, 44], Operations: ['30/3=10', '34+10=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[30, 34, 3, 36], Operations: [] Exploring Operation: 30/3=10, Resulting Numbers: [34, 36, 10] Generated Node #0,2: 80:[34, 36, 10] Operation: 30/3=10 Moving to Node #0,2 Current State: 80:[34, 36, 10], Operations: ['30/3=10'] Exploring Operation: 34+10=44, Resulting Numbers: [36, 44] Generated Node #0,2,1: 80:[36, 44] Operation: 34+10=44 Moving to Node #0,2,1 Current State: 80:[36, 44], Operations: ['30/3=10', '34+10=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
mult_heuristic
[ 13, 6, 83, 6 ]
34
[ "83-13=70", "6*6=36", "70-36=34" ]
Current State: 34:[13, 6, 83, 6], Operations: [] Exploring Operation: 83-13=70, Resulting Numbers: [6, 6, 70] Generated Node #2: [6, 6, 70] from Operation: 83-13=70 Current State: 34:[6, 6, 70], Operations: ['83-13=70'] Exploring Operation: 6*6=36, Resulting Numbers: [70, 36] Generated Node #3: [70, 36] from Operation: 6*6=36 Current State: 34:[70, 36], Operations: ['83-13=70', '6*6=36'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[13, 6, 83, 6], Operations: [] Exploring Operation: 83-13=70, Resulting Numbers: [6, 6, 70] Generated Node #0,0: 34:[6, 6, 70] Operation: 83-13=70 Moving to Node #0,0 Current State: 34:[6, 6, 70], Operations: ['83-13=70'] Exploring Operation: 70-6=64, Resulting Numbers: [6, 64] Generated Node #0,0,0: 34:[6, 64] Operation: 70-6=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[6, 64], Operations: ['83-13=70', '70-6=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,34 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
[ 56, 68, 22, 10 ]
20
[ "68-56=12", "22+10=32", "32-12=20" ]
Current State: 20:[56, 68, 22, 10], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [22, 10, 12] Generated Node #2: [22, 10, 12] from Operation: 68-56=12 Current State: 20:[22, 10, 12], Operations: ['68-56=12'] Exploring Operation: 22+10=32, Resulting Numbers: [12, 32] Generated Node #3: [12, 32] from Operation: 22+10=32 Current State: 20:[12, 32], Operations: ['68-56=12', '22+10=32'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[56, 68, 22, 10], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [22, 10, 12] Generated Node #0,0: 20:[22, 10, 12] Operation: 68-56=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[22, 10, 12], Operations: ['68-56=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10, 10] Generated Node #0,0,0: 20:[10, 10] Operation: 22-12=10 Moving to Node #0,0,0 Current State: 20:[10, 10], Operations: ['68-56=12', '22-12=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[56, 68, 22, 10], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [22, 10, 12] Generated Node #0,0: 20:[22, 10, 12] Operation: 68-56=12 Moving to Node #0,0 Current State: 20:[22, 10, 12], Operations: ['68-56=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10, 10] Generated Node #0,0,0: 20:[10, 10] Operation: 22-12=10 Moving to Node #0,0,0 Current State: 20:[10, 10], Operations: ['68-56=12', '22-12=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 75, 86, 40, 23 ]
81
[ "75+40=115", "115/23=5", "86-5=81" ]
Current State: 81:[75, 86, 40, 23], Operations: [] Exploring Operation: 75+40=115, Resulting Numbers: [86, 23, 115] Generated Node #2: [86, 23, 115] from Operation: 75+40=115 Current State: 81:[86, 23, 115], Operations: ['75+40=115'] Exploring Operation: 115/23=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 115/23=5 Current State: 81:[86, 5], Operations: ['75+40=115', '115/23=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[75, 86, 40, 23], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [40, 23, 11] Generated Node #0,0: 81:[40, 23, 11] Operation: 86-75=11 Exploring Operation: 40-23=17, Resulting Numbers: [75, 86, 17] Generated Node #0,1: 81:[75, 86, 17] Operation: 40-23=17 Exploring Operation: 75-40=35, Resulting Numbers: [86, 23, 35] Generated Node #0,2: 81:[86, 23, 35] Operation: 75-40=35 Moving to Node #0,2 Current State: 81:[86, 23, 35], Operations: ['75-40=35'] Exploring Operation: 35-23=12, Resulting Numbers: [86, 12] Generated Node #0,2,0: 81:[86, 12] Operation: 35-23=12 Exploring Operation: 86-23=63, Resulting Numbers: [35, 63] Generated Node #0,2,1: 81:[35, 63] Operation: 86-23=63 Exploring Operation: 86-35=51, Resulting Numbers: [23, 51] Generated Node #0,2,2: 81:[23, 51] Operation: 86-35=51 Moving to Node #0,0 Current State: 81:[40, 23, 11], Operations: ['86-75=11'] Exploring Operation: 40-23=17, Resulting Numbers: [11, 17] Generated Node #0,0,0: 81:[11, 17] Operation: 40-23=17 Exploring Operation: 40-11=29, Resulting Numbers: [23, 29] Generated Node #0,0,1: 81:[23, 29] Operation: 40-11=29 Exploring Operation: 23-11=12, Resulting Numbers: [40, 12] Generated Node #0,0,2: 81:[40, 12] Operation: 23-11=12 Moving to Node #0,1 Current State: 81:[75, 86, 17], Operations: ['40-23=17'] Exploring Operation: 86-75=11, Resulting Numbers: [17, 11] Generated Node #0,1,0: 81:[17, 11] Operation: 86-75=11 Exploring Operation: 75+17=92, Resulting Numbers: [86, 92] Generated Node #0,1,1: 81:[86, 92] Operation: 75+17=92 Exploring Operation: 86-17=69, Resulting Numbers: [75, 69] Generated Node #0,1,2: 81:[75, 69] Operation: 86-17=69 Moving to Node #0,0,1 Current State: 81:[23, 29], Operations: ['86-75=11', '40-11=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,81 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[86, 12], Operations: ['75-40=35', '35-23=12'] Exploring Operation: 86*12=1032, Resulting Numbers: [1032] 1032,81 unequal: No Solution Exploring Operation: 86+12=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[17, 11], Operations: ['40-23=17', '86-75=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,81 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[11, 17], Operations: ['86-75=11', '40-23=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[40, 12], Operations: ['86-75=11', '23-11=12'] Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,81 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[86, 92], Operations: ['40-23=17', '75+17=92'] Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 86*92=7912, Resulting Numbers: [7912] 7912,81 unequal: No Solution Exploring Operation: 86+92=178, Resulting Numbers: [178] 178,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[75, 69], Operations: ['40-23=17', '86-17=69'] Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[35, 63], Operations: ['75-40=35', '86-23=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[23, 51], Operations: ['75-40=35', '86-35=51'] Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,81 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,81 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 9, 57, 20, 43 ]
43
[ "9+57=66", "43-20=23", "66-23=43" ]
Current State: 43:[9, 57, 20, 43], Operations: [] Exploring Operation: 9+57=66, Resulting Numbers: [20, 43, 66] Generated Node #2: [20, 43, 66] from Operation: 9+57=66 Current State: 43:[20, 43, 66], Operations: ['9+57=66'] Exploring Operation: 43-20=23, Resulting Numbers: [66, 23] Generated Node #3: [66, 23] from Operation: 43-20=23 Current State: 43:[66, 23], Operations: ['9+57=66', '43-20=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[9, 57, 20, 43], Operations: [] Exploring Operation: 20-9=11, Resulting Numbers: [57, 43, 11] Generated Node #0,0: 43:[57, 43, 11] Operation: 20-9=11 Exploring Operation: 57-9=48, Resulting Numbers: [20, 43, 48] Generated Node #0,1: 43:[20, 43, 48] Operation: 57-9=48 Exploring Operation: 9+57=66, Resulting Numbers: [20, 43, 66] Generated Node #0,2: 43:[20, 43, 66] Operation: 9+57=66 Exploring Operation: 9+20=29, Resulting Numbers: [57, 43, 29] Generated Node #0,3: 43:[57, 43, 29] Operation: 9+20=29 Exploring Operation: 57-20=37, Resulting Numbers: [9, 43, 37] Generated Node #0,4: 43:[9, 43, 37] Operation: 57-20=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[20, 43, 48], Operations: ['57-9=48'] Exploring Operation: 43-20=23, Resulting Numbers: [48, 23] Generated Node #0,1,0: 43:[48, 23] Operation: 43-20=23 Exploring Operation: 48-20=28, Resulting Numbers: [43, 28] Generated Node #0,1,1: 43:[43, 28] Operation: 48-20=28 Exploring Operation: 20+43=63, Resulting Numbers: [48, 63] Generated Node #0,1,2: 43:[48, 63] Operation: 20+43=63 Exploring Operation: 48-43=5, Resulting Numbers: [20, 5] Generated Node #0,1,3: 43:[20, 5] Operation: 48-43=5 Exploring Operation: 20+48=68, Resulting Numbers: [43, 68] Generated Node #0,1,4: 43:[43, 68] Operation: 20+48=68 Moving to Node #0,1,1 Current State: 43:[43, 28], Operations: ['57-9=48', '48-20=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[48, 63], Operations: ['57-9=48', '20+43=63'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,43 unequal: No Solution Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[48, 23], Operations: ['57-9=48', '43-20=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,43 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[43, 68], Operations: ['57-9=48', '20+48=68'] Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,43 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[20, 5], Operations: ['57-9=48', '48-43=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,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,3 Current State: 43:[57, 43, 29], Operations: ['9+20=29'] Exploring Operation: 57-43=14, Resulting Numbers: [29, 14] Generated Node #0,3,0: 43:[29, 14] Operation: 57-43=14 Exploring Operation: 57-29=28, Resulting Numbers: [43, 28] Generated Node #0,3,1: 43:[43, 28] Operation: 57-29=28 Exploring Operation: 57+29=86, Resulting Numbers: [43, 86] Generated Node #0,3,2: 43:[43, 86] Operation: 57+29=86 Exploring Operation: 43+29=72, Resulting Numbers: [57, 72] Generated Node #0,3,3: 43:[57, 72] Operation: 43+29=72 Exploring Operation: 43-29=14, Resulting Numbers: [57, 14] Generated Node #0,3,4: 43:[57, 14] Operation: 43-29=14 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[43, 28], Operations: ['9+20=29', '57-29=28'] Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,43 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 43:[29, 14], Operations: ['9+20=29', '57-43=14'] Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,43 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[9, 57, 20, 43], Operations: [] Exploring Operation: 9+20=29, Resulting Numbers: [57, 43, 29] Generated Node #0,3: 43:[57, 43, 29] Operation: 9+20=29 Moving to Node #0,3 Current State: 43:[57, 43, 29], Operations: ['9+20=29'] Exploring Operation: 57-43=14, Resulting Numbers: [29, 14] Generated Node #0,3,0: 43:[29, 14] Operation: 57-43=14 Moving to Node #0,3,0 Current State: 43:[29, 14], Operations: ['9+20=29', '57-43=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 26, 83, 56, 42 ]
76
[ "83-26=57", "56*57=3192", "3192/42=76" ]
Current State: 76:[26, 83, 56, 42], Operations: [] Exploring Operation: 83-26=57, Resulting Numbers: [56, 42, 57] Generated Node #2: [56, 42, 57] from Operation: 83-26=57 Current State: 76:[56, 42, 57], Operations: ['83-26=57'] Exploring Operation: 56*57=3192, Resulting Numbers: [42, 3192] Generated Node #3: [42, 3192] from Operation: 56*57=3192 Current State: 76:[42, 3192], Operations: ['83-26=57', '56*57=3192'] Exploring Operation: 3192/42=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[26, 83, 56, 42], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [26, 83, 14] Generated Node #0,0: 76:[26, 83, 14] Operation: 56-42=14 Exploring Operation: 26+56=82, Resulting Numbers: [83, 42, 82] Generated Node #0,1: 76:[83, 42, 82] Operation: 26+56=82 Exploring Operation: 56-26=30, Resulting Numbers: [83, 42, 30] Generated Node #0,2: 76:[83, 42, 30] Operation: 56-26=30 Exploring Operation: 83-56=27, Resulting Numbers: [26, 42, 27] Generated Node #0,3: 76:[26, 42, 27] Operation: 83-56=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[83, 42, 82], Operations: ['26+56=82'] Exploring Operation: 83-82=1, Resulting Numbers: [42, 1] Generated Node #0,1,0: 76:[42, 1] Operation: 83-82=1 Exploring Operation: 83+42=125, Resulting Numbers: [82, 125] Generated Node #0,1,1: 76:[82, 125] Operation: 83+42=125 Exploring Operation: 83-42=41, Resulting Numbers: [82, 41] Generated Node #0,1,2: 76:[82, 41] Operation: 83-42=41 Exploring Operation: 82-42=40, Resulting Numbers: [83, 40] Generated Node #0,1,3: 76:[83, 40] Operation: 82-42=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[42, 1], Operations: ['26+56=82', '83-82=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,76 unequal: No Solution No 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: 76:[82, 41], Operations: ['26+56=82', '83-42=41'] Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 82*41=3362, Resulting Numbers: [3362] 3362,76 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,76 unequal: No Solution No 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: 76:[83, 40], Operations: ['26+56=82', '82-42=40'] Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,76 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,76 unequal: No Solution No 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: 76:[82, 125], Operations: ['26+56=82', '83+42=125'] Exploring Operation: 82*125=10250, Resulting Numbers: [10250] 10250,76 unequal: No Solution Exploring Operation: 82+125=207, Resulting Numbers: [207] 207,76 unequal: No Solution Exploring Operation: 125-82=43, Resulting Numbers: [43] 43,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[26, 83, 14], Operations: ['56-42=14'] Exploring Operation: 83-26=57, Resulting Numbers: [14, 57] Generated Node #0,0,0: 76:[14, 57] Operation: 83-26=57 Exploring Operation: 26+14=40, Resulting Numbers: [83, 40] Generated Node #0,0,1: 76:[83, 40] Operation: 26+14=40 Exploring Operation: 26-14=12, Resulting Numbers: [83, 12] Generated Node #0,0,2: 76:[83, 12] Operation: 26-14=12 Exploring Operation: 83-14=69, Resulting Numbers: [26, 69] Generated Node #0,0,3: 76:[26, 69] Operation: 83-14=69 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[83, 40], Operations: ['56-42=14', '26+14=40'] Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,76 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,76 unequal: No Solution No 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: 76:[83, 12], Operations: ['56-42=14', '26-14=12'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,76 unequal: No Solution No 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: 76:[26, 69], Operations: ['56-42=14', '83-14=69'] Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,76 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,76 unequal: No Solution No 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: 76:[14, 57], Operations: ['56-42=14', '83-26=57'] Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,76 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[83, 42, 30], Operations: ['56-26=30'] Exploring Operation: 83-30=53, Resulting Numbers: [42, 53] Generated Node #0,2,0: 76:[42, 53] Operation: 83-30=53 Exploring Operation: 42-30=12, Resulting Numbers: [83, 12] Generated Node #0,2,1: 76:[83, 12] Operation: 42-30=12 Exploring Operation: 42+30=72, Resulting Numbers: [83, 72] Generated Node #0,2,2: 76:[83, 72] Operation: 42+30=72 Exploring Operation: 83-42=41, Resulting Numbers: [30, 41] Generated Node #0,2,3: 76:[30, 41] Operation: 83-42=41 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[83, 72], Operations: ['56-26=30', '42+30=72'] Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 83*72=5976, Resulting Numbers: [5976] 5976,76 unequal: No Solution Exploring Operation: 83+72=155, Resulting Numbers: [155] 155,76 unequal: No Solution No 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: 76:[30, 41], Operations: ['56-26=30', '83-42=41'] Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,76 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,76 unequal: No Solution No 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: 76:[83, 12], Operations: ['56-26=30', '42-30=12'] Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,76 unequal: No Solution Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,76 unequal: No Solution No 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: 76:[42, 53], Operations: ['56-26=30', '83-30=53'] Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 42*53=2226, Resulting Numbers: [2226] 2226,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[26, 42, 27], Operations: ['83-56=27'] Exploring Operation: 27-26=1, Resulting Numbers: [42, 1] Generated Node #0,3,0: 76:[42, 1] Operation: 27-26=1 Exploring Operation: 42-27=15, Resulting Numbers: [26, 15] Generated Node #0,3,1: 76:[26, 15] Operation: 42-27=15 Exploring Operation: 42+27=69, Resulting Numbers: [26, 69] Generated Node #0,3,2: 76:[26, 69] Operation: 42+27=69 Exploring Operation: 42-26=16, Resulting Numbers: [27, 16] Generated Node #0,3,3: 76:[27, 16] Operation: 42-26=16 Moving to Node #0,3,0 Current State: 76:[42, 1], Operations: ['83-56=27', '27-26=1'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[27, 16], Operations: ['83-56=27', '42-26=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,76 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[26, 15], Operations: ['83-56=27', '42-27=15'] Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,76 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[26, 69], Operations: ['83-56=27', '42+27=69'] Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,76 unequal: No Solution Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,76 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
[ 2, 51, 14, 12 ]
76
[ "2*51=102", "14+12=26", "102-26=76" ]
Current State: 76:[2, 51, 14, 12], Operations: [] Exploring Operation: 2*51=102, Resulting Numbers: [14, 12, 102] Generated Node #2: [14, 12, 102] from Operation: 2*51=102 Current State: 76:[14, 12, 102], Operations: ['2*51=102'] Exploring Operation: 14+12=26, Resulting Numbers: [102, 26] Generated Node #3: [102, 26] from Operation: 14+12=26 Current State: 76:[102, 26], Operations: ['2*51=102', '14+12=26'] Exploring Operation: 102-26=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 51, 14, 12], Operations: [] Exploring Operation: 14-12=2, Resulting Numbers: [2, 51, 2] Generated Node #0,0: 76:[2, 51, 2] Operation: 14-12=2 Exploring Operation: 51-12=39, Resulting Numbers: [2, 14, 39] Generated Node #0,1: 76:[2, 14, 39] Operation: 51-12=39 Exploring Operation: 51-14=37, Resulting Numbers: [2, 12, 37] Generated Node #0,2: 76:[2, 12, 37] Operation: 51-14=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[2, 14, 39], Operations: ['51-12=39'] Exploring Operation: 2+14=16, Resulting Numbers: [39, 16] Generated Node #0,1,0: 76:[39, 16] Operation: 2+14=16 Exploring Operation: 39-2=37, Resulting Numbers: [14, 37] Generated Node #0,1,1: 76:[14, 37] Operation: 39-2=37 Exploring Operation: 14/2=7, Resulting Numbers: [39, 7] Generated Node #0,1,2: 76:[39, 7] Operation: 14/2=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[39, 16], Operations: ['51-12=39', '2+14=16'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,76 unequal: No Solution No 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: 76:[39, 7], Operations: ['51-12=39', '14/2=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,76 unequal: No Solution No 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: 76:[14, 37], Operations: ['51-12=39', '39-2=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[2, 12, 37], Operations: ['51-14=37'] Exploring Operation: 2*12=24, Resulting Numbers: [37, 24] Generated Node #0,2,0: 76:[37, 24] Operation: 2*12=24 Exploring Operation: 2+12=14, Resulting Numbers: [37, 14] Generated Node #0,2,1: 76:[37, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [37, 6] Generated Node #0,2,2: 76:[37, 6] Operation: 12/2=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[37, 6], Operations: ['51-14=37', '12/2=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,76 unequal: No Solution No 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: 76:[37, 24], Operations: ['51-14=37', '2*12=24'] Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,76 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,76 unequal: No Solution No 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: 76:[37, 14], Operations: ['51-14=37', '2+12=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[2, 51, 2], Operations: ['14-12=2'] Exploring Operation: 51-2=49, Resulting Numbers: [2, 49] Generated Node #0,0,0: 76:[2, 49] Operation: 51-2=49 Exploring Operation: 51-2=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 76:[2, 49] Operation: 51-2=49 Exploring Operation: 2+2=4, Resulting Numbers: [51, 4] Generated Node #0,0,2: 76:[51, 4] Operation: 2+2=4 Moving to Node #0,0,0 Current State: 76:[2, 49], Operations: ['14-12=2', '51-2=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[2, 49], Operations: ['14-12=2', '51-2=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[51, 4], Operations: ['14-12=2', '2+2=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 45, 29, 46, 93 ]
63
[ "45-29=16", "93-46=47", "16+47=63" ]
Current State: 63:[45, 29, 46, 93], Operations: [] Exploring Operation: 45-29=16, Resulting Numbers: [46, 93, 16] Generated Node #2: [46, 93, 16] from Operation: 45-29=16 Current State: 63:[46, 93, 16], Operations: ['45-29=16'] Exploring Operation: 93-46=47, Resulting Numbers: [16, 47] Generated Node #3: [16, 47] from Operation: 93-46=47 Current State: 63:[16, 47], Operations: ['45-29=16', '93-46=47'] Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[45, 29, 46, 93], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [29, 93, 1] Generated Node #0,0: 63:[29, 93, 1] Operation: 46-45=1 Exploring Operation: 93-29=64, Resulting Numbers: [45, 46, 64] Generated Node #0,1: 63:[45, 46, 64] Operation: 93-29=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[45, 46, 64], Operations: ['93-29=64'] Exploring Operation: 64-45=19, Resulting Numbers: [46, 19] Generated Node #0,1,0: 63:[46, 19] Operation: 64-45=19 Exploring Operation: 46-45=1, Resulting Numbers: [64, 1] Generated Node #0,1,1: 63:[64, 1] Operation: 46-45=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[64, 1], Operations: ['93-29=64', '46-45=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[45, 29, 46, 93], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [45, 46, 64] Generated Node #0,1: 63:[45, 46, 64] Operation: 93-29=64 Moving to Node #0,1 Current State: 63:[45, 46, 64], Operations: ['93-29=64'] Exploring Operation: 46-45=1, Resulting Numbers: [64, 1] Generated Node #0,1,1: 63:[64, 1] Operation: 46-45=1 Moving to Node #0,1,1 Current State: 63:[64, 1], Operations: ['93-29=64', '46-45=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 59, 39, 50, 16 ]
54
[ "59-39=20", "50-16=34", "20+34=54" ]
Current State: 54:[59, 39, 50, 16], Operations: [] Exploring Operation: 59-39=20, Resulting Numbers: [50, 16, 20] Generated Node #2: [50, 16, 20] from Operation: 59-39=20 Current State: 54:[50, 16, 20], Operations: ['59-39=20'] Exploring Operation: 50-16=34, Resulting Numbers: [20, 34] Generated Node #3: [20, 34] from Operation: 50-16=34 Current State: 54:[20, 34], Operations: ['59-39=20', '50-16=34'] Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[59, 39, 50, 16], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [39, 16, 9] Generated Node #0,0: 54:[39, 16, 9] Operation: 59-50=9 Exploring Operation: 59-39=20, Resulting Numbers: [50, 16, 20] Generated Node #0,1: 54:[50, 16, 20] Operation: 59-39=20 Exploring Operation: 39-16=23, Resulting Numbers: [59, 50, 23] Generated Node #0,2: 54:[59, 50, 23] Operation: 39-16=23 Exploring Operation: 50-39=11, Resulting Numbers: [59, 16, 11] Generated Node #0,3: 54:[59, 16, 11] Operation: 50-39=11 Exploring Operation: 39+16=55, Resulting Numbers: [59, 50, 55] Generated Node #0,4: 54:[59, 50, 55] Operation: 39+16=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[50, 16, 20], Operations: ['59-39=20'] Exploring Operation: 16+20=36, Resulting Numbers: [50, 36] Generated Node #0,1,0: 54:[50, 36] Operation: 16+20=36 Exploring Operation: 50-16=34, Resulting Numbers: [20, 34] Generated Node #0,1,1: 54:[20, 34] Operation: 50-16=34 Exploring Operation: 20-16=4, Resulting Numbers: [50, 4] Generated Node #0,1,2: 54:[50, 4] Operation: 20-16=4 Exploring Operation: 50-20=30, Resulting Numbers: [16, 30] Generated Node #0,1,3: 54:[16, 30] Operation: 50-20=30 Exploring Operation: 50+16=66, Resulting Numbers: [20, 66] Generated Node #0,1,4: 54:[20, 66] Operation: 50+16=66 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 54:[50, 4], Operations: ['59-39=20', '20-16=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[59, 39, 50, 16], Operations: [] Exploring Operation: 59-39=20, Resulting Numbers: [50, 16, 20] Generated Node #0,1: 54:[50, 16, 20] Operation: 59-39=20 Moving to Node #0,1 Current State: 54:[50, 16, 20], Operations: ['59-39=20'] Exploring Operation: 20-16=4, Resulting Numbers: [50, 4] Generated Node #0,1,2: 54:[50, 4] Operation: 20-16=4 Moving to Node #0,1,2 Current State: 54:[50, 4], Operations: ['59-39=20', '20-16=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 53, 23, 70, 5 ]
45
[ "53-23=30", "70+5=75", "75-30=45" ]
Current State: 45:[53, 23, 70, 5], Operations: [] Exploring Operation: 53-23=30, Resulting Numbers: [70, 5, 30] Generated Node #2: [70, 5, 30] from Operation: 53-23=30 Current State: 45:[70, 5, 30], Operations: ['53-23=30'] Exploring Operation: 70+5=75, Resulting Numbers: [30, 75] Generated Node #3: [30, 75] from Operation: 70+5=75 Current State: 45:[30, 75], Operations: ['53-23=30', '70+5=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[53, 23, 70, 5], Operations: [] Exploring Operation: 70-53=17, Resulting Numbers: [23, 5, 17] Generated Node #0,0: 45:[23, 5, 17] Operation: 70-53=17 Exploring Operation: 70/5=14, Resulting Numbers: [53, 23, 14] Generated Node #0,1: 45:[53, 23, 14] Operation: 70/5=14 Exploring Operation: 70-23=47, Resulting Numbers: [53, 5, 47] Generated Node #0,2: 45:[53, 5, 47] Operation: 70-23=47 Exploring Operation: 23-5=18, Resulting Numbers: [53, 70, 18] Generated Node #0,3: 45:[53, 70, 18] Operation: 23-5=18 Exploring Operation: 53-5=48, Resulting Numbers: [23, 70, 48] Generated Node #0,4: 45:[23, 70, 48] Operation: 53-5=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[23, 5, 17], Operations: ['70-53=17'] Exploring Operation: 23-5=18, Resulting Numbers: [17, 18] Generated Node #0,0,0: 45:[17, 18] Operation: 23-5=18 Exploring Operation: 17-5=12, Resulting Numbers: [23, 12] Generated Node #0,0,1: 45:[23, 12] Operation: 17-5=12 Exploring Operation: 23+17=40, Resulting Numbers: [5, 40] Generated Node #0,0,2: 45:[5, 40] Operation: 23+17=40 Exploring Operation: 23+5=28, Resulting Numbers: [17, 28] Generated Node #0,0,3: 45:[17, 28] Operation: 23+5=28 Exploring Operation: 23-17=6, Resulting Numbers: [5, 6] Generated Node #0,0,4: 45:[5, 6] Operation: 23-17=6 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 45:[5, 6], Operations: ['70-53=17', '23-17=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,45 unequal: No Solution No 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: 45:[17, 18], Operations: ['70-53=17', '23-5=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,45 unequal: No Solution No 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: 45:[5, 40], Operations: ['70-53=17', '23+17=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[53, 23, 70, 5], Operations: [] Exploring Operation: 70-53=17, Resulting Numbers: [23, 5, 17] Generated Node #0,0: 45:[23, 5, 17] Operation: 70-53=17 Moving to Node #0,0 Current State: 45:[23, 5, 17], Operations: ['70-53=17'] Exploring Operation: 23+17=40, Resulting Numbers: [5, 40] Generated Node #0,0,2: 45:[5, 40] Operation: 23+17=40 Moving to Node #0,0,2 Current State: 45:[5, 40], Operations: ['70-53=17', '23+17=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 90, 61, 95, 94 ]
31
[ "95-90=5", "61+94=155", "155/5=31" ]
Current State: 31:[90, 61, 95, 94], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [61, 94, 5] Generated Node #2: [61, 94, 5] from Operation: 95-90=5 Current State: 31:[61, 94, 5], Operations: ['95-90=5'] Exploring Operation: 61+94=155, Resulting Numbers: [5, 155] Generated Node #3: [5, 155] from Operation: 61+94=155 Current State: 31:[5, 155], Operations: ['95-90=5', '61+94=155'] Exploring Operation: 155/5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[90, 61, 95, 94], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [61, 94, 5] Generated Node #0,0: 31:[61, 94, 5] Operation: 95-90=5 Exploring Operation: 95-61=34, Resulting Numbers: [90, 94, 34] Generated Node #0,1: 31:[90, 94, 34] Operation: 95-61=34 Exploring Operation: 95-94=1, Resulting Numbers: [90, 61, 1] Generated Node #0,2: 31:[90, 61, 1] Operation: 95-94=1 Exploring Operation: 94-90=4, Resulting Numbers: [61, 95, 4] Generated Node #0,3: 31:[61, 95, 4] Operation: 94-90=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[61, 94, 5], Operations: ['95-90=5'] Exploring Operation: 61+5=66, Resulting Numbers: [94, 66] Generated Node #0,0,0: 31:[94, 66] Operation: 61+5=66 Exploring Operation: 94-61=33, Resulting Numbers: [5, 33] Generated Node #0,0,1: 31:[5, 33] Operation: 94-61=33 Exploring Operation: 61-5=56, Resulting Numbers: [94, 56] Generated Node #0,0,2: 31:[94, 56] Operation: 61-5=56 Exploring Operation: 94-5=89, Resulting Numbers: [61, 89] Generated Node #0,0,3: 31:[61, 89] Operation: 94-5=89 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[5, 33], Operations: ['95-90=5', '94-61=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,31 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[94, 56], Operations: ['95-90=5', '61-5=56'] Exploring Operation: 94+56=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 94*56=5264, Resulting Numbers: [5264] 5264,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[61, 89], Operations: ['95-90=5', '94-5=89'] Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,31 unequal: No Solution Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[94, 66], Operations: ['95-90=5', '61+5=66'] Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,31 unequal: No Solution Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[90, 61, 1], Operations: ['95-94=1'] Exploring Operation: 90*1=90, Resulting Numbers: [61, 90] Generated Node #0,2,0: 31:[61, 90] Operation: 90*1=90 Exploring Operation: 90-1=89, Resulting Numbers: [61, 89] Generated Node #0,2,1: 31:[61, 89] Operation: 90-1=89 Exploring Operation: 90-61=29, Resulting Numbers: [1, 29] Generated Node #0,2,2: 31:[1, 29] Operation: 90-61=29 Exploring Operation: 61-1=60, Resulting Numbers: [90, 60] Generated Node #0,2,3: 31:[90, 60] Operation: 61-1=60 Moving to Node #0,2,2 Current State: 31:[1, 29], Operations: ['95-94=1', '90-61=29'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[90, 60], Operations: ['95-94=1', '61-1=60'] Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,31 unequal: No Solution Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[61, 89], Operations: ['95-94=1', '90-1=89'] Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[61, 90], Operations: ['95-94=1', '90*1=90'] Exploring Operation: 61+90=151, Resulting Numbers: [151] 151,31 unequal: No Solution Exploring Operation: 61*90=5490, Resulting Numbers: [5490] 5490,31 unequal: No Solution Exploring Operation: 90-61=29, Resulting Numbers: [29] 29,31 unequal: No Solution No 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: 31:[61, 95, 4], Operations: ['94-90=4'] Exploring Operation: 61+4=65, Resulting Numbers: [95, 65] Generated Node #0,3,0: 31:[95, 65] Operation: 61+4=65 Exploring Operation: 61-4=57, Resulting Numbers: [95, 57] Generated Node #0,3,1: 31:[95, 57] Operation: 61-4=57 Exploring Operation: 95-61=34, Resulting Numbers: [4, 34] Generated Node #0,3,2: 31:[4, 34] Operation: 95-61=34 Exploring Operation: 95-4=91, Resulting Numbers: [61, 91] Generated Node #0,3,3: 31:[61, 91] Operation: 95-4=91 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[4, 34], Operations: ['94-90=4', '95-61=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[95, 57], Operations: ['94-90=4', '61-4=57'] Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,31 unequal: No Solution Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,31 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[61, 91], Operations: ['94-90=4', '95-4=91'] Exploring Operation: 61*91=5551, Resulting Numbers: [5551] 5551,31 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 61+91=152, Resulting Numbers: [152] 152,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[95, 65], Operations: ['94-90=4', '61+4=65'] Exploring Operation: 95+65=160, Resulting Numbers: [160] 160,31 unequal: No Solution Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 95*65=6175, Resulting Numbers: [6175] 6175,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[90, 94, 34], Operations: ['95-61=34'] Exploring Operation: 90+94=184, Resulting Numbers: [34, 184] Generated Node #0,1,0: 31:[34, 184] Operation: 90+94=184 Exploring Operation: 90-34=56, Resulting Numbers: [94, 56] Generated Node #0,1,1: 31:[94, 56] Operation: 90-34=56 Exploring Operation: 94-90=4, Resulting Numbers: [34, 4] Generated Node #0,1,2: 31:[34, 4] Operation: 94-90=4 Exploring Operation: 94-34=60, Resulting Numbers: [90, 60] Generated Node #0,1,3: 31:[90, 60] Operation: 94-34=60 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[34, 4], Operations: ['95-61=34', '94-90=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,31 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[94, 56], Operations: ['95-61=34', '90-34=56'] Exploring Operation: 94+56=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 94*56=5264, Resulting Numbers: [5264] 5264,31 unequal: No Solution Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 31:[90, 60], Operations: ['95-61=34', '94-34=60'] Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,31 unequal: No Solution Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[34, 184], Operations: ['95-61=34', '90+94=184'] Exploring Operation: 184-34=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 34*184=6256, Resulting Numbers: [6256] 6256,31 unequal: No Solution Exploring Operation: 34+184=218, Resulting Numbers: [218] 218,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 15, 5, 57, 18 ]
18
[ "15+57=72", "5*18=90", "90-72=18" ]
Current State: 18:[15, 5, 57, 18], Operations: [] Exploring Operation: 15+57=72, Resulting Numbers: [5, 18, 72] Generated Node #2: [5, 18, 72] from Operation: 15+57=72 Current State: 18:[5, 18, 72], Operations: ['15+57=72'] Exploring Operation: 5*18=90, Resulting Numbers: [72, 90] Generated Node #3: [72, 90] from Operation: 5*18=90 Current State: 18:[72, 90], Operations: ['15+57=72', '5*18=90'] Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[15, 5, 57, 18], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [5, 18, 42] Generated Node #0,0: 18:[5, 18, 42] Operation: 57-15=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[5, 18, 42], Operations: ['57-15=42'] Exploring Operation: 42-18=24, Resulting Numbers: [5, 24] Generated Node #0,0,0: 18:[5, 24] Operation: 42-18=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[5, 24], Operations: ['57-15=42', '42-18=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,18 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
[ 97, 91, 96, 70 ]
32
[ "97-91=6", "96-70=26", "6+26=32" ]
Current State: 32:[97, 91, 96, 70], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [96, 70, 6] Generated Node #2: [96, 70, 6] from Operation: 97-91=6 Current State: 32:[96, 70, 6], Operations: ['97-91=6'] Exploring Operation: 96-70=26, Resulting Numbers: [6, 26] Generated Node #3: [6, 26] from Operation: 96-70=26 Current State: 32:[6, 26], Operations: ['97-91=6', '96-70=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[97, 91, 96, 70], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [96, 70, 6] Generated Node #0,0: 32:[96, 70, 6] Operation: 97-91=6 Exploring Operation: 97-96=1, Resulting Numbers: [91, 70, 1] Generated Node #0,1: 32:[91, 70, 1] Operation: 97-96=1 Exploring Operation: 97-70=27, Resulting Numbers: [91, 96, 27] Generated Node #0,2: 32:[91, 96, 27] Operation: 97-70=27 Exploring Operation: 96-91=5, Resulting Numbers: [97, 70, 5] Generated Node #0,3: 32:[97, 70, 5] Operation: 96-91=5 Exploring Operation: 96-70=26, Resulting Numbers: [97, 91, 26] Generated Node #0,4: 32:[97, 91, 26] Operation: 96-70=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[91, 70, 1], Operations: ['97-96=1'] Exploring Operation: 91/1=91, Resulting Numbers: [70, 91] Generated Node #0,1,0: 32:[70, 91] Operation: 91/1=91 Exploring Operation: 91*1=91, Resulting Numbers: [70, 91] Generated Node #0,1,1: 32:[70, 91] Operation: 91*1=91 Exploring Operation: 70-1=69, Resulting Numbers: [91, 69] Generated Node #0,1,2: 32:[91, 69] Operation: 70-1=69 Exploring Operation: 91-1=90, Resulting Numbers: [70, 90] Generated Node #0,1,3: 32:[70, 90] Operation: 91-1=90 Exploring Operation: 91-70=21, Resulting Numbers: [1, 21] Generated Node #0,1,4: 32:[1, 21] Operation: 91-70=21 Moving to Node #0,1,4 Current State: 32:[1, 21], Operations: ['97-96=1', '91-70=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[70, 90], Operations: ['97-96=1', '91-1=90'] Exploring Operation: 70+90=160, Resulting Numbers: [160] 160,32 unequal: No Solution Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 70*90=6300, Resulting Numbers: [6300] 6300,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[91, 69], Operations: ['97-96=1', '70-1=69'] Exploring Operation: 91-69=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 91+69=160, Resulting Numbers: [160] 160,32 unequal: No Solution Exploring Operation: 91*69=6279, Resulting Numbers: [6279] 6279,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[70, 91], Operations: ['97-96=1', '91/1=91'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,32 unequal: No Solution Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[70, 91], Operations: ['97-96=1', '91*1=91'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,32 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,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 Current State: 32:[96, 70, 6], Operations: ['97-91=6'] Exploring Operation: 96-70=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 32:[6, 26] Operation: 96-70=26 Exploring Operation: 96-6=90, Resulting Numbers: [70, 90] Generated Node #0,0,1: 32:[70, 90] Operation: 96-6=90 Exploring Operation: 96/6=16, Resulting Numbers: [70, 16] Generated Node #0,0,2: 32:[70, 16] Operation: 96/6=16 Exploring Operation: 70-6=64, Resulting Numbers: [96, 64] Generated Node #0,0,3: 32:[96, 64] Operation: 70-6=64 Exploring Operation: 96+6=102, Resulting Numbers: [70, 102] Generated Node #0,0,4: 32:[70, 102] Operation: 96+6=102 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[6, 26], Operations: ['97-91=6', '96-70=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[97, 91, 96, 70], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [96, 70, 6] Generated Node #0,0: 32:[96, 70, 6] Operation: 97-91=6 Moving to Node #0,0 Current State: 32:[96, 70, 6], Operations: ['97-91=6'] Exploring Operation: 96-70=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 32:[6, 26] Operation: 96-70=26 Moving to Node #0,0,0 Current State: 32:[6, 26], Operations: ['97-91=6', '96-70=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 39, 60, 73, 70 ]
67
[ "73-60=13", "39/13=3", "70-3=67" ]
Current State: 67:[39, 60, 73, 70], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [39, 70, 13] Generated Node #2: [39, 70, 13] from Operation: 73-60=13 Current State: 67:[39, 70, 13], Operations: ['73-60=13'] Exploring Operation: 39/13=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 39/13=3 Current State: 67:[70, 3], Operations: ['73-60=13', '39/13=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[39, 60, 73, 70], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [73, 70, 21] Generated Node #0,0: 67:[73, 70, 21] Operation: 60-39=21 Exploring Operation: 73-39=34, Resulting Numbers: [60, 70, 34] Generated Node #0,1: 67:[60, 70, 34] Operation: 73-39=34 Exploring Operation: 70-39=31, Resulting Numbers: [60, 73, 31] Generated Node #0,2: 67:[60, 73, 31] Operation: 70-39=31 Exploring Operation: 39+60=99, Resulting Numbers: [73, 70, 99] Generated Node #0,3: 67:[73, 70, 99] Operation: 39+60=99 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[73, 70, 99], Operations: ['39+60=99'] Exploring Operation: 99-73=26, Resulting Numbers: [70, 26] Generated Node #0,3,0: 67:[70, 26] Operation: 99-73=26 Exploring Operation: 73+70=143, Resulting Numbers: [99, 143] Generated Node #0,3,1: 67:[99, 143] Operation: 73+70=143 Exploring Operation: 73-70=3, Resulting Numbers: [99, 3] Generated Node #0,3,2: 67:[99, 3] Operation: 73-70=3 Exploring Operation: 99-70=29, Resulting Numbers: [73, 29] Generated Node #0,3,3: 67:[73, 29] Operation: 99-70=29 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[70, 26], Operations: ['39+60=99', '99-73=26'] Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,67 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[73, 29], Operations: ['39+60=99', '99-70=29'] Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[99, 3], Operations: ['39+60=99', '73-70=3'] Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 99*3=297, Resulting Numbers: [297] 297,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[99, 143], Operations: ['39+60=99', '73+70=143'] Exploring Operation: 99*143=14157, Resulting Numbers: [14157] 14157,67 unequal: No Solution Exploring Operation: 99+143=242, Resulting Numbers: [242] 242,67 unequal: No Solution Exploring Operation: 143-99=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[60, 70, 34], Operations: ['73-39=34'] Exploring Operation: 60-34=26, Resulting Numbers: [70, 26] Generated Node #0,1,0: 67:[70, 26] Operation: 60-34=26 Exploring Operation: 70+34=104, Resulting Numbers: [60, 104] Generated Node #0,1,1: 67:[60, 104] Operation: 70+34=104 Exploring Operation: 70-34=36, Resulting Numbers: [60, 36] Generated Node #0,1,2: 67:[60, 36] Operation: 70-34=36 Exploring Operation: 60+34=94, Resulting Numbers: [70, 94] Generated Node #0,1,3: 67:[70, 94] Operation: 60+34=94 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[70, 94], Operations: ['73-39=34', '60+34=94'] Exploring Operation: 70*94=6580, Resulting Numbers: [6580] 6580,67 unequal: No Solution Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 70+94=164, Resulting Numbers: [164] 164,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[60, 36], Operations: ['73-39=34', '70-34=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[70, 26], Operations: ['73-39=34', '60-34=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,67 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[60, 104], Operations: ['73-39=34', '70+34=104'] Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[60, 73, 31], Operations: ['70-39=31'] Exploring Operation: 73-31=42, Resulting Numbers: [60, 42] Generated Node #0,2,0: 67:[60, 42] Operation: 73-31=42 Exploring Operation: 73+31=104, Resulting Numbers: [60, 104] Generated Node #0,2,1: 67:[60, 104] Operation: 73+31=104 Exploring Operation: 60+31=91, Resulting Numbers: [73, 91] Generated Node #0,2,2: 67:[73, 91] Operation: 60+31=91 Exploring Operation: 60-31=29, Resulting Numbers: [73, 29] Generated Node #0,2,3: 67:[73, 29] Operation: 60-31=29 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[73, 91], Operations: ['70-39=31', '60+31=91'] Exploring Operation: 73+91=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 73*91=6643, Resulting Numbers: [6643] 6643,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[60, 42], Operations: ['70-39=31', '73-31=42'] Exploring Operation: 60*42=2520, Resulting Numbers: [2520] 2520,67 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 60+42=102, Resulting Numbers: [102] 102,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[60, 104], Operations: ['70-39=31', '73+31=104'] Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,67 unequal: No Solution Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[73, 29], Operations: ['70-39=31', '60-31=29'] Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,67 unequal: No Solution Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[73, 70, 21], Operations: ['60-39=21'] Exploring Operation: 70+21=91, Resulting Numbers: [73, 91] Generated Node #0,0,0: 67:[73, 91] Operation: 70+21=91 Exploring Operation: 70-21=49, Resulting Numbers: [73, 49] Generated Node #0,0,1: 67:[73, 49] Operation: 70-21=49 Exploring Operation: 73+21=94, Resulting Numbers: [70, 94] Generated Node #0,0,2: 67:[70, 94] Operation: 73+21=94 Exploring Operation: 73-21=52, Resulting Numbers: [70, 52] Generated Node #0,0,3: 67:[70, 52] Operation: 73-21=52 Moving to Node #0,0,3 Current State: 67:[70, 52], Operations: ['60-39=21', '73-21=52'] Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,67 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[73, 49], Operations: ['60-39=21', '70-21=49'] Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,67 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[70, 94], Operations: ['60-39=21', '73+21=94'] Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 70*94=6580, Resulting Numbers: [6580] 6580,67 unequal: No Solution Exploring Operation: 70+94=164, Resulting Numbers: [164] 164,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[73, 91], Operations: ['60-39=21', '70+21=91'] Exploring Operation: 73+91=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 73*91=6643, Resulting Numbers: [6643] 6643,67 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
[ 77, 35, 83, 58 ]
99
[ "77-35=42", "83+58=141", "141-42=99" ]
Current State: 99:[77, 35, 83, 58], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [83, 58, 42] Generated Node #2: [83, 58, 42] from Operation: 77-35=42 Current State: 99:[83, 58, 42], Operations: ['77-35=42'] Exploring Operation: 83+58=141, Resulting Numbers: [42, 141] Generated Node #3: [42, 141] from Operation: 83+58=141 Current State: 99:[42, 141], Operations: ['77-35=42', '83+58=141'] Exploring Operation: 141-42=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[77, 35, 83, 58], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [35, 58, 6] Generated Node #0,0: 99:[35, 58, 6] Operation: 83-77=6 Exploring Operation: 83-58=25, Resulting Numbers: [77, 35, 25] Generated Node #0,1: 99:[77, 35, 25] Operation: 83-58=25 Exploring Operation: 35+58=93, Resulting Numbers: [77, 83, 93] Generated Node #0,2: 99:[77, 83, 93] Operation: 35+58=93 Exploring Operation: 77-58=19, Resulting Numbers: [35, 83, 19] Generated Node #0,3: 99:[35, 83, 19] Operation: 77-58=19 Exploring Operation: 58-35=23, Resulting Numbers: [77, 83, 23] Generated Node #0,4: 99:[77, 83, 23] Operation: 58-35=23 Moving to Node #0,3 Current State: 99:[35, 83, 19], Operations: ['77-58=19'] Exploring Operation: 35+83=118, Resulting Numbers: [19, 118] Generated Node #0,3,0: 99:[19, 118] Operation: 35+83=118 Exploring Operation: 83-19=64, Resulting Numbers: [35, 64] Generated Node #0,3,1: 99:[35, 64] Operation: 83-19=64 Exploring Operation: 83+19=102, Resulting Numbers: [35, 102] Generated Node #0,3,2: 99:[35, 102] Operation: 83+19=102 Exploring Operation: 35-19=16, Resulting Numbers: [83, 16] Generated Node #0,3,3: 99:[83, 16] Operation: 35-19=16 Exploring Operation: 83-35=48, Resulting Numbers: [19, 48] Generated Node #0,3,4: 99:[19, 48] Operation: 83-35=48 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[35, 102], Operations: ['77-58=19', '83+19=102'] Exploring Operation: 35*102=3570, Resulting Numbers: [3570] 3570,99 unequal: No Solution Exploring Operation: 35+102=137, Resulting Numbers: [137] 137,99 unequal: No Solution Exploring Operation: 102-35=67, Resulting Numbers: [67] 67,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[83, 16], Operations: ['77-58=19', '35-19=16'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,99 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,99 unequal: No Solution Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[77, 35, 83, 58], Operations: [] Exploring Operation: 77-58=19, Resulting Numbers: [35, 83, 19] Generated Node #0,3: 99:[35, 83, 19] Operation: 77-58=19 Moving to Node #0,3 Current State: 99:[35, 83, 19], Operations: ['77-58=19'] Exploring Operation: 35-19=16, Resulting Numbers: [83, 16] Generated Node #0,3,3: 99:[83, 16] Operation: 35-19=16 Moving to Node #0,3,3 Current State: 99:[83, 16], Operations: ['77-58=19', '35-19=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 49, 2, 37, 24 ]
23
[ "37-24=13", "2*13=26", "49-26=23" ]
Current State: 23:[49, 2, 37, 24], Operations: [] Exploring Operation: 37-24=13, Resulting Numbers: [49, 2, 13] Generated Node #2: [49, 2, 13] from Operation: 37-24=13 Current State: 23:[49, 2, 13], Operations: ['37-24=13'] Exploring Operation: 2*13=26, Resulting Numbers: [49, 26] Generated Node #3: [49, 26] from Operation: 2*13=26 Current State: 23:[49, 26], Operations: ['37-24=13', '2*13=26'] Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[49, 2, 37, 24], Operations: [] Exploring Operation: 49-24=25, Resulting Numbers: [2, 37, 25] Generated Node #0,0: 23:[2, 37, 25] Operation: 49-24=25 Exploring Operation: 49-37=12, Resulting Numbers: [2, 24, 12] Generated Node #0,1: 23:[2, 24, 12] Operation: 49-37=12 Exploring Operation: 49-2=47, Resulting Numbers: [37, 24, 47] Generated Node #0,2: 23:[37, 24, 47] Operation: 49-2=47 Exploring Operation: 37-2=35, Resulting Numbers: [49, 24, 35] Generated Node #0,3: 23:[49, 24, 35] Operation: 37-2=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[2, 24, 12], Operations: ['49-37=12'] Exploring Operation: 24-2=22, Resulting Numbers: [12, 22] Generated Node #0,1,0: 23:[12, 22] Operation: 24-2=22 Exploring Operation: 2+12=14, Resulting Numbers: [24, 14] Generated Node #0,1,1: 23:[24, 14] Operation: 2+12=14 Exploring Operation: 2*12=24, Resulting Numbers: [24, 24] Generated Node #0,1,2: 23:[24, 24] Operation: 2*12=24 Exploring Operation: 2+24=26, Resulting Numbers: [12, 26] Generated Node #0,1,3: 23:[12, 26] Operation: 2+24=26 Moving to Node #0,1,2 Current State: 23:[24, 24], Operations: ['49-37=12', '2*12=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,23 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[24, 14], Operations: ['49-37=12', '2+12=14'] Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,23 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[12, 22], Operations: ['49-37=12', '24-2=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,23 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[12, 26], Operations: ['49-37=12', '2+24=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,23 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[2, 37, 25], Operations: ['49-24=25'] Exploring Operation: 37-2=35, Resulting Numbers: [25, 35] Generated Node #0,0,0: 23:[25, 35] Operation: 37-2=35 Exploring Operation: 2+37=39, Resulting Numbers: [25, 39] Generated Node #0,0,1: 23:[25, 39] Operation: 2+37=39 Exploring Operation: 25-2=23, Resulting Numbers: [37, 23] Generated Node #0,0,2: 23:[37, 23] Operation: 25-2=23 Exploring Operation: 2+25=27, Resulting Numbers: [37, 27] Generated Node #0,0,3: 23:[37, 27] Operation: 2+25=27 Moving to Node #0,0,0 Current State: 23:[25, 35], Operations: ['49-24=25', '37-2=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[37, 23], Operations: ['49-24=25', '25-2=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,23 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[37, 27], Operations: ['49-24=25', '2+25=27'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 37+27=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 37*27=999, Resulting Numbers: [999] 999,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[25, 39], Operations: ['49-24=25', '2+37=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,23 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[37, 24, 47], Operations: ['49-2=47'] Exploring Operation: 47-24=23, Resulting Numbers: [37, 23] Generated Node #0,2,0: 23:[37, 23] Operation: 47-24=23 Exploring Operation: 47-37=10, Resulting Numbers: [24, 10] Generated Node #0,2,1: 23:[24, 10] Operation: 47-37=10 Exploring Operation: 37+24=61, Resulting Numbers: [47, 61] Generated Node #0,2,2: 23:[47, 61] Operation: 37+24=61 Exploring Operation: 37-24=13, Resulting Numbers: [47, 13] Generated Node #0,2,3: 23:[47, 13] Operation: 37-24=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[37, 23], Operations: ['49-2=47', '47-24=23'] Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[24, 10], Operations: ['49-2=47', '47-37=10'] Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,23 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 23:[47, 13], Operations: ['49-2=47', '37-24=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,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:[47, 61], Operations: ['49-2=47', '37+24=61'] Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,23 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,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,3 Current State: 23:[49, 24, 35], Operations: ['37-2=35'] Exploring Operation: 49-24=25, Resulting Numbers: [35, 25] Generated Node #0,3,0: 23:[35, 25] Operation: 49-24=25 Exploring Operation: 49+24=73, Resulting Numbers: [35, 73] Generated Node #0,3,1: 23:[35, 73] Operation: 49+24=73 Exploring Operation: 49-35=14, Resulting Numbers: [24, 14] Generated Node #0,3,2: 23:[24, 14] Operation: 49-35=14 Exploring Operation: 35-24=11, Resulting Numbers: [49, 11] Generated Node #0,3,3: 23:[49, 11] Operation: 35-24=11 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[24, 14], Operations: ['37-2=35', '49-35=14'] Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,23 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 23:[35, 25], Operations: ['37-2=35', '49-24=25'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,23 unequal: No Solution Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 23:[49, 11], Operations: ['37-2=35', '35-24=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[35, 73], Operations: ['37-2=35', '49+24=73'] Exploring Operation: 35*73=2555, Resulting Numbers: [2555] 2555,23 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 35+73=108, Resulting Numbers: [108] 108,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 23, 3, 36, 27 ]
96
[ "23+36=59", "59-27=32", "3*32=96" ]
Current State: 96:[23, 3, 36, 27], Operations: [] Exploring Operation: 23+36=59, Resulting Numbers: [3, 27, 59] Generated Node #2: [3, 27, 59] from Operation: 23+36=59 Current State: 96:[3, 27, 59], Operations: ['23+36=59'] Exploring Operation: 59-27=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 59-27=32 Current State: 96:[3, 32], Operations: ['23+36=59', '59-27=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[23, 3, 36, 27], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [23, 3, 9] Generated Node #0,0: 96:[23, 3, 9] Operation: 36-27=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[23, 3, 9], Operations: ['36-27=9'] Exploring Operation: 23+9=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 96:[3, 32] Operation: 23+9=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[3, 32], Operations: ['36-27=9', '23+9=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[23, 3, 36, 27], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [23, 3, 9] Generated Node #0,0: 96:[23, 3, 9] Operation: 36-27=9 Moving to Node #0,0 Current State: 96:[23, 3, 9], Operations: ['36-27=9'] Exploring Operation: 23+9=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 96:[3, 32] Operation: 23+9=32 Moving to Node #0,0,0 Current State: 96:[3, 32], Operations: ['36-27=9', '23+9=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 3, 13, 6, 90 ]
58
[ "6/3=2", "90/2=45", "13+45=58" ]
Current State: 58:[3, 13, 6, 90], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [13, 90, 2] Generated Node #2: [13, 90, 2] from Operation: 6/3=2 Current State: 58:[13, 90, 2], Operations: ['6/3=2'] Exploring Operation: 90/2=45, Resulting Numbers: [13, 45] Generated Node #3: [13, 45] from Operation: 90/2=45 Current State: 58:[13, 45], Operations: ['6/3=2', '90/2=45'] Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[3, 13, 6, 90], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [3, 13, 15] Generated Node #0,0: 58:[3, 13, 15] Operation: 90/6=15 Exploring Operation: 90/3=30, Resulting Numbers: [13, 6, 30] Generated Node #0,1: 58:[13, 6, 30] Operation: 90/3=30 Exploring Operation: 90-13=77, Resulting Numbers: [3, 6, 77] Generated Node #0,2: 58:[3, 6, 77] Operation: 90-13=77 Moving to Node #0,1 Current State: 58:[13, 6, 30], Operations: ['90/3=30'] Exploring Operation: 30/6=5, Resulting Numbers: [13, 5] Generated Node #0,1,0: 58:[13, 5] Operation: 30/6=5 Exploring Operation: 13-6=7, Resulting Numbers: [30, 7] Generated Node #0,1,1: 58:[30, 7] Operation: 13-6=7 Exploring Operation: 13+6=19, Resulting Numbers: [30, 19] Generated Node #0,1,2: 58:[30, 19] Operation: 13+6=19 Moving to Node #0,2 Current State: 58:[3, 6, 77], Operations: ['90-13=77'] Exploring Operation: 6-3=3, Resulting Numbers: [77, 3] Generated Node #0,2,0: 58:[77, 3] Operation: 6-3=3 Exploring Operation: 77-6=71, Resulting Numbers: [3, 71] Generated Node #0,2,1: 58:[3, 71] Operation: 77-6=71 Exploring Operation: 6/3=2, Resulting Numbers: [77, 2] Generated Node #0,2,2: 58:[77, 2] Operation: 6/3=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[3, 71], Operations: ['90-13=77', '77-6=71'] Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,58 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,58 unequal: No Solution No 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: 58:[77, 2], Operations: ['90-13=77', '6/3=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,58 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,58 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,58 unequal: No Solution No 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: 58:[77, 3], Operations: ['90-13=77', '6-3=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,58 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,58 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,58 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: 58:[3, 13, 15], Operations: ['90/6=15'] Exploring Operation: 15-13=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 58:[3, 2] Operation: 15-13=2 Exploring Operation: 15/3=5, Resulting Numbers: [13, 5] Generated Node #0,0,1: 58:[13, 5] Operation: 15/3=5 Exploring Operation: 13+15=28, Resulting Numbers: [3, 28] Generated Node #0,0,2: 58:[3, 28] Operation: 13+15=28 Moving to Node #0,0,0 Current State: 58:[3, 2], Operations: ['90/6=15', '15-13=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[3, 28], Operations: ['90/6=15', '13+15=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[30, 7], Operations: ['90/3=30', '13-6=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,58 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[30, 19], Operations: ['90/3=30', '13+6=19'] Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[13, 5], Operations: ['90/6=15', '15/3=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[13, 5], Operations: ['90/3=30', '30/6=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,58 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 42, 9, 6, 44 ]
52
[ "44-42=2", "9*6=54", "54-2=52" ]
Current State: 52:[42, 9, 6, 44], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [9, 6, 2] Generated Node #2: [9, 6, 2] from Operation: 44-42=2 Current State: 52:[9, 6, 2], Operations: ['44-42=2'] Exploring Operation: 9*6=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 9*6=54 Current State: 52:[2, 54], Operations: ['44-42=2', '9*6=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[42, 9, 6, 44], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [9, 6, 2] Generated Node #0,0: 52:[9, 6, 2] Operation: 44-42=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[9, 6, 2], Operations: ['44-42=2'] Exploring Operation: 9-6=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 52:[2, 3] Operation: 9-6=3 Moving to Node #0,0,0 Current State: 52:[2, 3], Operations: ['44-42=2', '9-6=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 49, 8, 69, 11 ]
72
[ "69-49=20", "20-11=9", "8*9=72" ]
Current State: 72:[49, 8, 69, 11], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [8, 11, 20] Generated Node #2: [8, 11, 20] from Operation: 69-49=20 Current State: 72:[8, 11, 20], Operations: ['69-49=20'] Exploring Operation: 20-11=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 20-11=9 Current State: 72:[8, 9], Operations: ['69-49=20', '20-11=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[49, 8, 69, 11], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [8, 11, 20] Generated Node #0,0: 72:[8, 11, 20] Operation: 69-49=20 Exploring Operation: 49-8=41, Resulting Numbers: [69, 11, 41] Generated Node #0,1: 72:[69, 11, 41] Operation: 49-8=41 Exploring Operation: 49-11=38, Resulting Numbers: [8, 69, 38] Generated Node #0,2: 72:[8, 69, 38] Operation: 49-11=38 Exploring Operation: 49+11=60, Resulting Numbers: [8, 69, 60] Generated Node #0,3: 72:[8, 69, 60] Operation: 49+11=60 Moving to Node #0,0 Current State: 72:[8, 11, 20], Operations: ['69-49=20'] Exploring Operation: 20-11=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 72:[8, 9] Operation: 20-11=9 Exploring Operation: 8+11=19, Resulting Numbers: [20, 19] Generated Node #0,0,1: 72:[20, 19] Operation: 8+11=19 Exploring Operation: 11-8=3, Resulting Numbers: [20, 3] Generated Node #0,0,2: 72:[20, 3] Operation: 11-8=3 Exploring Operation: 20-8=12, Resulting Numbers: [11, 12] Generated Node #0,0,3: 72:[11, 12] Operation: 20-8=12 Moving to Node #0,2 Current State: 72:[8, 69, 38], Operations: ['49-11=38'] Exploring Operation: 69-38=31, Resulting Numbers: [8, 31] Generated Node #0,2,0: 72:[8, 31] Operation: 69-38=31 Exploring Operation: 8+69=77, Resulting Numbers: [38, 77] Generated Node #0,2,1: 72:[38, 77] Operation: 8+69=77 Exploring Operation: 69-8=61, Resulting Numbers: [38, 61] Generated Node #0,2,2: 72:[38, 61] Operation: 69-8=61 Exploring Operation: 38-8=30, Resulting Numbers: [69, 30] Generated Node #0,2,3: 72:[69, 30] Operation: 38-8=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[8, 31], Operations: ['49-11=38', '69-38=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,72 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[38, 77], Operations: ['49-11=38', '8+69=77'] Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,72 unequal: No Solution Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,72 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[69, 30], Operations: ['49-11=38', '38-8=30'] Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[38, 61], Operations: ['49-11=38', '69-8=61'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 38+61=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 38*61=2318, Resulting Numbers: [2318] 2318,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 72:[69, 11, 41], Operations: ['49-8=41'] Exploring Operation: 69-11=58, Resulting Numbers: [41, 58] Generated Node #0,1,0: 72:[41, 58] Operation: 69-11=58 Exploring Operation: 69+11=80, Resulting Numbers: [41, 80] Generated Node #0,1,1: 72:[41, 80] Operation: 69+11=80 Exploring Operation: 69-41=28, Resulting Numbers: [11, 28] Generated Node #0,1,2: 72:[11, 28] Operation: 69-41=28 Exploring Operation: 41-11=30, Resulting Numbers: [69, 30] Generated Node #0,1,3: 72:[69, 30] Operation: 41-11=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[11, 28], Operations: ['49-8=41', '69-41=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,72 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[69, 30], Operations: ['49-8=41', '41-11=30'] Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,72 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,72 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[41, 80], Operations: ['49-8=41', '69+11=80'] Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,72 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[41, 58], Operations: ['49-8=41', '69-11=58'] Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,72 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: 72:[8, 69, 60], Operations: ['49+11=60'] Exploring Operation: 8+69=77, Resulting Numbers: [60, 77] Generated Node #0,3,0: 72:[60, 77] Operation: 8+69=77 Exploring Operation: 69-60=9, Resulting Numbers: [8, 9] Generated Node #0,3,1: 72:[8, 9] Operation: 69-60=9 Exploring Operation: 8+60=68, Resulting Numbers: [69, 68] Generated Node #0,3,2: 72:[69, 68] Operation: 8+60=68 Exploring Operation: 60-8=52, Resulting Numbers: [69, 52] Generated Node #0,3,3: 72:[69, 52] Operation: 60-8=52 Moving to Node #0,0,0 Current State: 72:[8, 9], Operations: ['69-49=20', '20-11=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[49, 8, 69, 11], Operations: [] Exploring Operation: 69-49=20, Resulting Numbers: [8, 11, 20] Generated Node #0,0: 72:[8, 11, 20] Operation: 69-49=20 Moving to Node #0,0 Current State: 72:[8, 11, 20], Operations: ['69-49=20'] Exploring Operation: 20-11=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 72:[8, 9] Operation: 20-11=9 Moving to Node #0,0,0 Current State: 72:[8, 9], Operations: ['69-49=20', '20-11=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 2, 51, 36, 68 ]
50
[ "36*68=2448", "2448/51=48", "2+48=50" ]
Current State: 50:[2, 51, 36, 68], Operations: [] Exploring Operation: 36*68=2448, Resulting Numbers: [2, 51, 2448] Generated Node #2: [2, 51, 2448] from Operation: 36*68=2448 Current State: 50:[2, 51, 2448], Operations: ['36*68=2448'] Exploring Operation: 2448/51=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 2448/51=48 Current State: 50:[2, 48], Operations: ['36*68=2448', '2448/51=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[2, 51, 36, 68], Operations: [] Exploring Operation: 68-36=32, Resulting Numbers: [2, 51, 32] Generated Node #0,0: 50:[2, 51, 32] Operation: 68-36=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[2, 51, 32], Operations: ['68-36=32'] Exploring Operation: 32-2=30, Resulting Numbers: [51, 30] Generated Node #0,0,0: 50:[51, 30] Operation: 32-2=30 Moving to Node #0,0,0 Current State: 50:[51, 30], Operations: ['68-36=32', '32-2=30'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,50 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
[ 31, 32, 88, 62 ]
58
[ "62/31=2", "88-32=56", "2+56=58" ]
Current State: 58:[31, 32, 88, 62], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [32, 88, 2] Generated Node #2: [32, 88, 2] from Operation: 62/31=2 Current State: 58:[32, 88, 2], Operations: ['62/31=2'] Exploring Operation: 88-32=56, Resulting Numbers: [2, 56] Generated Node #3: [2, 56] from Operation: 88-32=56 Current State: 58:[2, 56], Operations: ['62/31=2', '88-32=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[31, 32, 88, 62], Operations: [] Exploring Operation: 88-31=57, Resulting Numbers: [32, 62, 57] Generated Node #0,0: 58:[32, 62, 57] Operation: 88-31=57 Exploring Operation: 88-32=56, Resulting Numbers: [31, 62, 56] Generated Node #0,1: 58:[31, 62, 56] Operation: 88-32=56 Moving to Node #0,0 Current State: 58:[32, 62, 57], Operations: ['88-31=57'] Exploring Operation: 62-32=30, Resulting Numbers: [57, 30] Generated Node #0,0,0: 58:[57, 30] Operation: 62-32=30 Exploring Operation: 62-57=5, Resulting Numbers: [32, 5] Generated Node #0,0,1: 58:[32, 5] Operation: 62-57=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[57, 30], Operations: ['88-31=57', '62-32=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,58 unequal: No Solution No 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: 58:[32, 5], Operations: ['88-31=57', '62-57=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,58 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: 58:[31, 62, 56], Operations: ['88-32=56'] Exploring Operation: 62/31=2, Resulting Numbers: [56, 2] Generated Node #0,1,0: 58:[56, 2] Operation: 62/31=2 Exploring Operation: 62-31=31, Resulting Numbers: [56, 31] Generated Node #0,1,1: 58:[56, 31] Operation: 62-31=31 Moving to Node #0,1,0 Current State: 58:[56, 2], Operations: ['88-32=56', '62/31=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[31, 32, 88, 62], Operations: [] Exploring Operation: 88-32=56, Resulting Numbers: [31, 62, 56] Generated Node #0,1: 58:[31, 62, 56] Operation: 88-32=56 Moving to Node #0,1 Current State: 58:[31, 62, 56], Operations: ['88-32=56'] Exploring Operation: 62/31=2, Resulting Numbers: [56, 2] Generated Node #0,1,0: 58:[56, 2] Operation: 62/31=2 Moving to Node #0,1,0 Current State: 58:[56, 2], Operations: ['88-32=56', '62/31=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 14, 17, 16, 84 ]
36
[ "17-14=3", "16*3=48", "84-48=36" ]
Current State: 36:[14, 17, 16, 84], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [16, 84, 3] Generated Node #2: [16, 84, 3] from Operation: 17-14=3 Current State: 36:[16, 84, 3], Operations: ['17-14=3'] Exploring Operation: 16*3=48, Resulting Numbers: [84, 48] Generated Node #3: [84, 48] from Operation: 16*3=48 Current State: 36:[84, 48], Operations: ['17-14=3', '16*3=48'] Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[14, 17, 16, 84], Operations: [] Exploring Operation: 84-17=67, Resulting Numbers: [14, 16, 67] Generated Node #0,0: 36:[14, 16, 67] Operation: 84-17=67 Exploring Operation: 84-14=70, Resulting Numbers: [17, 16, 70] Generated Node #0,1: 36:[17, 16, 70] Operation: 84-14=70 Exploring Operation: 84-16=68, Resulting Numbers: [14, 17, 68] Generated Node #0,2: 36:[14, 17, 68] Operation: 84-16=68 Exploring Operation: 16-14=2, Resulting Numbers: [17, 84, 2] Generated Node #0,3: 36:[17, 84, 2] Operation: 16-14=2 Exploring Operation: 84/14=6, Resulting Numbers: [17, 16, 6] Generated Node #0,4: 36:[17, 16, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[17, 16, 6], Operations: ['84/14=6'] Exploring Operation: 17-6=11, Resulting Numbers: [16, 11] Generated Node #0,4,0: 36:[16, 11] Operation: 17-6=11 Exploring Operation: 17-16=1, Resulting Numbers: [6, 1] Generated Node #0,4,1: 36:[6, 1] Operation: 17-16=1 Exploring Operation: 16+6=22, Resulting Numbers: [17, 22] Generated Node #0,4,2: 36:[17, 22] Operation: 16+6=22 Exploring Operation: 17+16=33, Resulting Numbers: [6, 33] Generated Node #0,4,3: 36:[6, 33] Operation: 17+16=33 Exploring Operation: 16-6=10, Resulting Numbers: [17, 10] Generated Node #0,4,4: 36:[17, 10] Operation: 16-6=10 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 36:[6, 1], Operations: ['84/14=6', '17-16=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,36 unequal: No Solution No 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: 36:[17, 10], Operations: ['84/14=6', '16-6=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,36 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,36 unequal: No Solution No 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: 36:[16, 11], Operations: ['84/14=6', '17-6=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,36 unequal: No Solution No 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: 36:[6, 33], Operations: ['84/14=6', '17+16=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,36 unequal: No Solution No 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: 36:[17, 22], Operations: ['84/14=6', '16+6=22'] Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,36 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,36 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: 36:[14, 16, 67], Operations: ['84-17=67'] Exploring Operation: 67-14=53, Resulting Numbers: [16, 53] Generated Node #0,0,0: 36:[16, 53] Operation: 67-14=53 Exploring Operation: 16-14=2, Resulting Numbers: [67, 2] Generated Node #0,0,1: 36:[67, 2] Operation: 16-14=2 Exploring Operation: 14+16=30, Resulting Numbers: [67, 30] Generated Node #0,0,2: 36:[67, 30] Operation: 14+16=30 Exploring Operation: 67-16=51, Resulting Numbers: [14, 51] Generated Node #0,0,3: 36:[14, 51] Operation: 67-16=51 Exploring Operation: 14+67=81, Resulting Numbers: [16, 81] Generated Node #0,0,4: 36:[16, 81] Operation: 14+67=81 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 36:[14, 51], Operations: ['84-17=67', '67-16=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,36 unequal: No Solution Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,36 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,36 unequal: No Solution No 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: 36:[16, 53], Operations: ['84-17=67', '67-14=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,36 unequal: No Solution No 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: 36:[67, 2], Operations: ['84-17=67', '16-14=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,36 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,36 unequal: No Solution No 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: 36:[67, 30], Operations: ['84-17=67', '14+16=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,36 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,36 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,36 unequal: No Solution No 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: 36:[16, 81], Operations: ['84-17=67', '14+67=81'] Exploring Operation: 16+81=97, Resulting Numbers: [97] 97,36 unequal: No Solution Exploring Operation: 16*81=1296, Resulting Numbers: [1296] 1296,36 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,36 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: 36:[14, 17, 68], Operations: ['84-16=68'] Exploring Operation: 68/17=4, Resulting Numbers: [14, 4] Generated Node #0,2,0: 36:[14, 4] Operation: 68/17=4 Exploring Operation: 17-14=3, Resulting Numbers: [68, 3] Generated Node #0,2,1: 36:[68, 3] Operation: 17-14=3 Exploring Operation: 14+17=31, Resulting Numbers: [68, 31] Generated Node #0,2,2: 36:[68, 31] Operation: 14+17=31 Exploring Operation: 68-17=51, Resulting Numbers: [14, 51] Generated Node #0,2,3: 36:[14, 51] Operation: 68-17=51 Exploring Operation: 68-14=54, Resulting Numbers: [17, 54] Generated Node #0,2,4: 36:[17, 54] Operation: 68-14=54 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[14, 4], Operations: ['84-16=68', '68/17=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,36 unequal: No Solution No 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: 36:[14, 51], Operations: ['84-16=68', '68-17=51'] Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,36 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,36 unequal: No Solution No 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: 36:[17, 54], Operations: ['84-16=68', '68-14=54'] Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,36 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,36 unequal: No Solution No 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: 36:[68, 3], Operations: ['84-16=68', '17-14=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,36 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,36 unequal: No Solution No 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: 36:[68, 31], Operations: ['84-16=68', '14+17=31'] Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,36 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,36 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: 36:[17, 16, 70], Operations: ['84-14=70'] Exploring Operation: 17+16=33, Resulting Numbers: [70, 33] Generated Node #0,1,0: 36:[70, 33] Operation: 17+16=33 Exploring Operation: 17-16=1, Resulting Numbers: [70, 1] Generated Node #0,1,1: 36:[70, 1] Operation: 17-16=1 Exploring Operation: 70-16=54, Resulting Numbers: [17, 54] Generated Node #0,1,2: 36:[17, 54] Operation: 70-16=54 Exploring Operation: 16+70=86, Resulting Numbers: [17, 86] Generated Node #0,1,3: 36:[17, 86] Operation: 16+70=86 Exploring Operation: 70-17=53, Resulting Numbers: [16, 53] Generated Node #0,1,4: 36:[16, 53] Operation: 70-17=53 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[17, 54], Operations: ['84-14=70', '70-16=54'] Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,36 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,36 unequal: No Solution No 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: 36:[16, 53], Operations: ['84-14=70', '70-17=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,36 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,36 unequal: No Solution No 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: 36:[70, 1], Operations: ['84-14=70', '17-16=1'] Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 70+1=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,36 unequal: No Solution No 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: 36:[70, 33], Operations: ['84-14=70', '17+16=33'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,36 unequal: No Solution Exploring Operation: 70*33=2310, Resulting Numbers: [2310] 2310,36 unequal: No Solution No 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: 36:[17, 86], Operations: ['84-14=70', '16+70=86'] Exploring Operation: 17+86=103, Resulting Numbers: [103] 103,36 unequal: No Solution Exploring Operation: 17*86=1462, Resulting Numbers: [1462] 1462,36 unequal: No Solution Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,36 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: 36:[17, 84, 2], Operations: ['16-14=2'] Exploring Operation: 84/2=42, Resulting Numbers: [17, 42] Generated Node #0,3,0: 36:[17, 42] Operation: 84/2=42 Exploring Operation: 17*2=34, Resulting Numbers: [84, 34] Generated Node #0,3,1: 36:[84, 34] Operation: 17*2=34 Exploring Operation: 84-2=82, Resulting Numbers: [17, 82] Generated Node #0,3,2: 36:[17, 82] Operation: 84-2=82 Exploring Operation: 17+2=19, Resulting Numbers: [84, 19] Generated Node #0,3,3: 36:[84, 19] Operation: 17+2=19 Exploring Operation: 84-17=67, Resulting Numbers: [2, 67] Generated Node #0,3,4: 36:[2, 67] Operation: 84-17=67 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 36:[17, 42], Operations: ['16-14=2', '84/2=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,36 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,36 unequal: No Solution No 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: 36:[2, 67], Operations: ['16-14=2', '84-17=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,36 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,36 unequal: No Solution No 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: 36:[17, 82], Operations: ['16-14=2', '84-2=82'] Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,36 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,36 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,36 unequal: No Solution No 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: 36:[84, 19], Operations: ['16-14=2', '17+2=19'] Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,36 unequal: No Solution Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,36 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,36 unequal: No Solution No 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: 36:[84, 34], Operations: ['16-14=2', '17*2=34'] Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,36 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,36 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
[ 81, 37, 38, 3 ]
78
[ "81-3=78", "38-37=1", "78*1=78" ]
Current State: 78:[81, 37, 38, 3], Operations: [] Exploring Operation: 81-3=78, Resulting Numbers: [37, 38, 78] Generated Node #2: [37, 38, 78] from Operation: 81-3=78 Current State: 78:[37, 38, 78], Operations: ['81-3=78'] Exploring Operation: 38-37=1, Resulting Numbers: [78, 1] Generated Node #3: [78, 1] from Operation: 38-37=1 Current State: 78:[78, 1], Operations: ['81-3=78', '38-37=1'] Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[81, 37, 38, 3], Operations: [] Exploring Operation: 38-37=1, Resulting Numbers: [81, 3, 1] Generated Node #0,0: 78:[81, 3, 1] Operation: 38-37=1 Exploring Operation: 81-3=78, Resulting Numbers: [37, 38, 78] Generated Node #0,1: 78:[37, 38, 78] Operation: 81-3=78 Exploring Operation: 81/3=27, Resulting Numbers: [37, 38, 27] Generated Node #0,2: 78:[37, 38, 27] Operation: 81/3=27 Moving to Node #0,1 Current State: 78:[37, 38, 78], Operations: ['81-3=78'] Exploring Operation: 38-37=1, Resulting Numbers: [78, 1] Generated Node #0,1,0: 78:[78, 1] Operation: 38-37=1 Exploring Operation: 78-37=41, Resulting Numbers: [38, 41] Generated Node #0,1,1: 78:[38, 41] Operation: 78-37=41 Exploring Operation: 37+38=75, Resulting Numbers: [78, 75] Generated Node #0,1,2: 78:[78, 75] Operation: 37+38=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[78, 1], Operations: ['81-3=78', '38-37=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[81, 37, 38, 3], Operations: [] Exploring Operation: 81-3=78, Resulting Numbers: [37, 38, 78] Generated Node #0,1: 78:[37, 38, 78] Operation: 81-3=78 Moving to Node #0,1 Current State: 78:[37, 38, 78], Operations: ['81-3=78'] Exploring Operation: 38-37=1, Resulting Numbers: [78, 1] Generated Node #0,1,0: 78:[78, 1] Operation: 38-37=1 Moving to Node #0,1,0 Current State: 78:[78, 1], Operations: ['81-3=78', '38-37=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 35, 20, 71, 14 ]
21
[ "35*20=700", "700/14=50", "71-50=21" ]
Current State: 21:[35, 20, 71, 14], Operations: [] Exploring Operation: 35*20=700, Resulting Numbers: [71, 14, 700] Generated Node #2: [71, 14, 700] from Operation: 35*20=700 Current State: 21:[71, 14, 700], Operations: ['35*20=700'] Exploring Operation: 700/14=50, Resulting Numbers: [71, 50] Generated Node #3: [71, 50] from Operation: 700/14=50 Current State: 21:[71, 50], Operations: ['35*20=700', '700/14=50'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[35, 20, 71, 14], Operations: [] Exploring Operation: 35-14=21, Resulting Numbers: [20, 71, 21] Generated Node #0,0: 21:[20, 71, 21] Operation: 35-14=21 Exploring Operation: 71-20=51, Resulting Numbers: [35, 14, 51] Generated Node #0,1: 21:[35, 14, 51] Operation: 71-20=51 Exploring Operation: 71-35=36, Resulting Numbers: [20, 14, 36] Generated Node #0,2: 21:[20, 14, 36] Operation: 71-35=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[20, 14, 36], Operations: ['71-35=36'] Exploring Operation: 20-14=6, Resulting Numbers: [36, 6] Generated Node #0,2,0: 21:[36, 6] Operation: 20-14=6 Exploring Operation: 36-20=16, Resulting Numbers: [14, 16] Generated Node #0,2,1: 21:[14, 16] Operation: 36-20=16 Exploring Operation: 36-14=22, Resulting Numbers: [20, 22] Generated Node #0,2,2: 21:[20, 22] Operation: 36-14=22 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[20, 22], Operations: ['71-35=36', '36-14=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,21 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,21 unequal: No Solution No 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: 21:[14, 16], Operations: ['71-35=36', '36-20=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,21 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,21 unequal: No Solution No 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: 21:[36, 6], Operations: ['71-35=36', '20-14=6'] Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,21 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: 21:[20, 71, 21], Operations: ['35-14=21'] Exploring Operation: 71-20=51, Resulting Numbers: [21, 51] Generated Node #0,0,0: 21:[21, 51] Operation: 71-20=51 Exploring Operation: 21-20=1, Resulting Numbers: [71, 1] Generated Node #0,0,1: 21:[71, 1] Operation: 21-20=1 Exploring Operation: 71-21=50, Resulting Numbers: [20, 50] Generated Node #0,0,2: 21:[20, 50] Operation: 71-21=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[21, 51], Operations: ['35-14=21', '71-20=51'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,21 unequal: No Solution Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,21 unequal: No Solution No 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: 21:[20, 50], Operations: ['35-14=21', '71-21=50'] Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,21 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,21 unequal: No Solution No 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: 21:[71, 1], Operations: ['35-14=21', '21-20=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,21 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,21 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: 21:[35, 14, 51], Operations: ['71-20=51'] Exploring Operation: 51-14=37, Resulting Numbers: [35, 37] Generated Node #0,1,0: 21:[35, 37] Operation: 51-14=37 Exploring Operation: 51-35=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 21:[14, 16] Operation: 51-35=16 Exploring Operation: 35-14=21, Resulting Numbers: [51, 21] Generated Node #0,1,2: 21:[51, 21] Operation: 35-14=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[14, 16], Operations: ['71-20=51', '51-35=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,21 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,21 unequal: No Solution No 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: 21:[35, 37], Operations: ['71-20=51', '51-14=37'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,21 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,21 unequal: No Solution No 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: 21:[51, 21], Operations: ['71-20=51', '35-14=21'] Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,21 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,21 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
[ 72, 46, 64, 34 ]
58
[ "46-34=12", "72/12=6", "64-6=58" ]
Current State: 58:[72, 46, 64, 34], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [72, 64, 12] Generated Node #2: [72, 64, 12] from Operation: 46-34=12 Current State: 58:[72, 64, 12], Operations: ['46-34=12'] Exploring Operation: 72/12=6, Resulting Numbers: [64, 6] Generated Node #3: [64, 6] from Operation: 72/12=6 Current State: 58:[64, 6], Operations: ['46-34=12', '72/12=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[72, 46, 64, 34], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [46, 34, 8] Generated Node #0,0: 58:[46, 34, 8] Operation: 72-64=8 Exploring Operation: 72-34=38, Resulting Numbers: [46, 64, 38] Generated Node #0,1: 58:[46, 64, 38] Operation: 72-34=38 Exploring Operation: 72-46=26, Resulting Numbers: [64, 34, 26] Generated Node #0,2: 58:[64, 34, 26] Operation: 72-46=26 Moving to Node #0,2 Current State: 58:[64, 34, 26], Operations: ['72-46=26'] Exploring Operation: 64-34=30, Resulting Numbers: [26, 30] Generated Node #0,2,0: 58:[26, 30] Operation: 64-34=30 Exploring Operation: 34+26=60, Resulting Numbers: [64, 60] Generated Node #0,2,1: 58:[64, 60] Operation: 34+26=60 Exploring Operation: 34-26=8, Resulting Numbers: [64, 8] Generated Node #0,2,2: 58:[64, 8] Operation: 34-26=8 Moving to Node #0,0 Current State: 58:[46, 34, 8], Operations: ['72-64=8'] Exploring Operation: 34-8=26, Resulting Numbers: [46, 26] Generated Node #0,0,0: 58:[46, 26] Operation: 34-8=26 Exploring Operation: 46+8=54, Resulting Numbers: [34, 54] Generated Node #0,0,1: 58:[34, 54] Operation: 46+8=54 Exploring Operation: 46-8=38, Resulting Numbers: [34, 38] Generated Node #0,0,2: 58:[34, 38] Operation: 46-8=38 Moving to Node #0,1 Current State: 58:[46, 64, 38], Operations: ['72-34=38'] Exploring Operation: 64-46=18, Resulting Numbers: [38, 18] Generated Node #0,1,0: 58:[38, 18] Operation: 64-46=18 Exploring Operation: 46-38=8, Resulting Numbers: [64, 8] Generated Node #0,1,1: 58:[64, 8] Operation: 46-38=8 Exploring Operation: 64-38=26, Resulting Numbers: [46, 26] Generated Node #0,1,2: 58:[46, 26] Operation: 64-38=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[64, 8], Operations: ['72-34=38', '46-38=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,58 unequal: No Solution No 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: 58:[46, 26], Operations: ['72-34=38', '64-38=26'] Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,58 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,58 unequal: No Solution No 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: 58:[38, 18], Operations: ['72-34=38', '64-46=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 58:[26, 30], Operations: ['72-46=26', '64-34=30'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,58 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[64, 60], Operations: ['72-46=26', '34+26=60'] Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,58 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,58 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[34, 54], Operations: ['72-64=8', '46+8=54'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,58 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[64, 8], Operations: ['72-46=26', '34-26=8'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,58 unequal: No Solution Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[34, 38], Operations: ['72-64=8', '46-8=38'] Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[46, 26], Operations: ['72-64=8', '34-8=26'] Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,58 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 60, 83, 18, 3 ]
81
[ "60/3=20", "83+18=101", "101-20=81" ]
Current State: 81:[60, 83, 18, 3], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [83, 18, 20] Generated Node #2: [83, 18, 20] from Operation: 60/3=20 Current State: 81:[83, 18, 20], Operations: ['60/3=20'] Exploring Operation: 83+18=101, Resulting Numbers: [20, 101] Generated Node #3: [20, 101] from Operation: 83+18=101 Current State: 81:[20, 101], Operations: ['60/3=20', '83+18=101'] Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[60, 83, 18, 3], Operations: [] Exploring Operation: 60+18=78, Resulting Numbers: [83, 3, 78] Generated Node #0,0: 81:[83, 3, 78] Operation: 60+18=78 Exploring Operation: 60-18=42, Resulting Numbers: [83, 3, 42] Generated Node #0,1: 81:[83, 3, 42] Operation: 60-18=42 Exploring Operation: 83-60=23, Resulting Numbers: [18, 3, 23] Generated Node #0,2: 81:[18, 3, 23] Operation: 83-60=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[83, 3, 78], Operations: ['60+18=78'] Exploring Operation: 78/3=26, Resulting Numbers: [83, 26] Generated Node #0,0,0: 81:[83, 26] Operation: 78/3=26 Exploring Operation: 3+78=81, Resulting Numbers: [83, 81] Generated Node #0,0,1: 81:[83, 81] Operation: 3+78=81 Exploring Operation: 83-78=5, Resulting Numbers: [3, 5] Generated Node #0,0,2: 81:[3, 5] Operation: 83-78=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[83, 81], Operations: ['60+18=78', '3+78=81'] Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,81 unequal: No Solution Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[3, 5], Operations: ['60+18=78', '83-78=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,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,0 Current State: 81:[83, 26], Operations: ['60+18=78', '78/3=26'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,81 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[18, 3, 23], Operations: ['83-60=23'] Exploring Operation: 18+3=21, Resulting Numbers: [23, 21] Generated Node #0,2,0: 81:[23, 21] Operation: 18+3=21 Exploring Operation: 23-18=5, Resulting Numbers: [3, 5] Generated Node #0,2,1: 81:[3, 5] Operation: 23-18=5 Exploring Operation: 18/3=6, Resulting Numbers: [23, 6] Generated Node #0,2,2: 81:[23, 6] Operation: 18/3=6 Moving to Node #0,2,1 Current State: 81:[3, 5], Operations: ['83-60=23', '23-18=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[23, 6], Operations: ['83-60=23', '18/3=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,81 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[23, 21], Operations: ['83-60=23', '18+3=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,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 Current State: 81:[83, 3, 42], Operations: ['60-18=42'] Exploring Operation: 42-3=39, Resulting Numbers: [83, 39] Generated Node #0,1,0: 81:[83, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [83, 14] Generated Node #0,1,1: 81:[83, 14] Operation: 42/3=14 Exploring Operation: 83-42=41, Resulting Numbers: [3, 41] Generated Node #0,1,2: 81:[3, 41] Operation: 83-42=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[83, 14], Operations: ['60-18=42', '42/3=14'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,81 unequal: No Solution Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,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,1,0 Current State: 81:[83, 39], Operations: ['60-18=42', '42-3=39'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,81 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,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,1,2 Current State: 81:[3, 41], Operations: ['60-18=42', '83-42=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,81 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,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_3
sum_heuristic
[ 13, 93, 15, 39 ]
52
[ "13+93=106", "15+39=54", "106-54=52" ]
Current State: 52:[13, 93, 15, 39], Operations: [] Exploring Operation: 13+93=106, Resulting Numbers: [15, 39, 106] Generated Node #2: [15, 39, 106] from Operation: 13+93=106 Current State: 52:[15, 39, 106], Operations: ['13+93=106'] Exploring Operation: 15+39=54, Resulting Numbers: [106, 54] Generated Node #3: [106, 54] from Operation: 15+39=54 Current State: 52:[106, 54], Operations: ['13+93=106', '15+39=54'] Exploring Operation: 106-54=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[13, 93, 15, 39], Operations: [] Exploring Operation: 93-15=78, Resulting Numbers: [13, 39, 78] Generated Node #0,0: 52:[13, 39, 78] Operation: 93-15=78 Exploring Operation: 93-39=54, Resulting Numbers: [13, 15, 54] Generated Node #0,1: 52:[13, 15, 54] Operation: 93-39=54 Moving to Node #0,1 Current State: 52:[13, 15, 54], Operations: ['93-39=54'] Exploring Operation: 13+15=28, Resulting Numbers: [54, 28] Generated Node #0,1,0: 52:[54, 28] Operation: 13+15=28 Exploring Operation: 15-13=2, Resulting Numbers: [54, 2] Generated Node #0,1,1: 52:[54, 2] Operation: 15-13=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[54, 2], Operations: ['93-39=54', '15-13=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[13, 93, 15, 39], Operations: [] Exploring Operation: 93-39=54, Resulting Numbers: [13, 15, 54] Generated Node #0,1: 52:[13, 15, 54] Operation: 93-39=54 Moving to Node #0,1 Current State: 52:[13, 15, 54], Operations: ['93-39=54'] Exploring Operation: 15-13=2, Resulting Numbers: [54, 2] Generated Node #0,1,1: 52:[54, 2] Operation: 15-13=2 Moving to Node #0,1,1 Current State: 52:[54, 2], Operations: ['93-39=54', '15-13=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 89, 94, 4, 93 ]
69
[ "89+94=183", "93+183=276", "276/4=69" ]
Current State: 69:[89, 94, 4, 93], Operations: [] Exploring Operation: 89+94=183, Resulting Numbers: [4, 93, 183] Generated Node #2: [4, 93, 183] from Operation: 89+94=183 Current State: 69:[4, 93, 183], Operations: ['89+94=183'] Exploring Operation: 93+183=276, Resulting Numbers: [4, 276] Generated Node #3: [4, 276] from Operation: 93+183=276 Current State: 69:[4, 276], Operations: ['89+94=183', '93+183=276'] Exploring Operation: 276/4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[89, 94, 4, 93], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [94, 4, 4] Generated Node #0,0: 69:[94, 4, 4] Operation: 93-89=4 Exploring Operation: 94-89=5, Resulting Numbers: [4, 93, 5] Generated Node #0,1: 69:[4, 93, 5] Operation: 94-89=5 Exploring Operation: 89-4=85, Resulting Numbers: [94, 93, 85] Generated Node #0,2: 69:[94, 93, 85] Operation: 89-4=85 Exploring Operation: 94-4=90, Resulting Numbers: [89, 93, 90] Generated Node #0,3: 69:[89, 93, 90] Operation: 94-4=90 Exploring Operation: 94-93=1, Resulting Numbers: [89, 4, 1] Generated Node #0,4: 69:[89, 4, 1] Operation: 94-93=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[89, 4, 1], Operations: ['94-93=1'] Exploring Operation: 89-4=85, Resulting Numbers: [1, 85] Generated Node #0,4,0: 69:[1, 85] Operation: 89-4=85 Exploring Operation: 89*1=89, Resulting Numbers: [4, 89] Generated Node #0,4,1: 69:[4, 89] Operation: 89*1=89 Exploring Operation: 89/1=89, Resulting Numbers: [4, 89] Generated Node #0,4,2: 69:[4, 89] Operation: 89/1=89 Exploring Operation: 4-1=3, Resulting Numbers: [89, 3] Generated Node #0,4,3: 69:[89, 3] Operation: 4-1=3 Exploring Operation: 89-1=88, Resulting Numbers: [4, 88] Generated Node #0,4,4: 69:[4, 88] Operation: 89-1=88 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 69:[1, 85], Operations: ['94-93=1', '89-4=85'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,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,4,3 Current State: 69:[89, 3], Operations: ['94-93=1', '4-1=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,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,4,4 Current State: 69:[4, 88], Operations: ['94-93=1', '89-1=88'] Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 4*88=352, Resulting Numbers: [352] 352,69 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,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,4,1 Current State: 69:[4, 89], Operations: ['94-93=1', '89*1=89'] Exploring Operation: 4+89=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 4*89=356, Resulting Numbers: [356] 356,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,4,2 Current State: 69:[4, 89], Operations: ['94-93=1', '89/1=89'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 4+89=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 4*89=356, Resulting Numbers: [356] 356,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[94, 4, 4], Operations: ['93-89=4'] Exploring Operation: 94+4=98, Resulting Numbers: [4, 98] Generated Node #0,0,0: 69:[4, 98] Operation: 94+4=98 Exploring Operation: 4-4=0, Resulting Numbers: [94, 0] Generated Node #0,0,1: 69:[94, 0] Operation: 4-4=0 Exploring Operation: 94-4=90, Resulting Numbers: [4, 90] Generated Node #0,0,2: 69:[4, 90] Operation: 94-4=90 Exploring Operation: 94-4=90, Resulting Numbers: [4, 90] Generated Node #0,0,3: 69:[4, 90] Operation: 94-4=90 Exploring Operation: 4/4=1, Resulting Numbers: [94, 1] Generated Node #0,0,4: 69:[94, 1] Operation: 4/4=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[4, 90], Operations: ['93-89=4', '94-4=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,69 unequal: No Solution Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,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,0,3 Current State: 69:[4, 90], Operations: ['93-89=4', '94-4=90'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,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,0,4 Current State: 69:[94, 1], Operations: ['93-89=4', '4/4=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,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,0,1 Current State: 69:[94, 0], Operations: ['93-89=4', '4-4=0'] Exploring Operation: 94*0=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 94-0=94, Resulting Numbers: [94] 94,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,0,0 Current State: 69:[4, 98], Operations: ['93-89=4', '94+4=98'] Exploring Operation: 4*98=392, Resulting Numbers: [392] 392,69 unequal: No Solution Exploring Operation: 4+98=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[4, 93, 5], Operations: ['94-89=5'] Exploring Operation: 93-5=88, Resulting Numbers: [4, 88] Generated Node #0,1,0: 69:[4, 88] Operation: 93-5=88 Exploring Operation: 5-4=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 69:[93, 1] Operation: 5-4=1 Exploring Operation: 4+93=97, Resulting Numbers: [5, 97] Generated Node #0,1,2: 69:[5, 97] Operation: 4+93=97 Exploring Operation: 93-4=89, Resulting Numbers: [5, 89] Generated Node #0,1,3: 69:[5, 89] Operation: 93-4=89 Exploring Operation: 4*5=20, Resulting Numbers: [93, 20] Generated Node #0,1,4: 69:[93, 20] Operation: 4*5=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[4, 88], Operations: ['94-89=5', '93-5=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 4*88=352, Resulting Numbers: [352] 352,69 unequal: No Solution Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,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,3 Current State: 69:[5, 89], Operations: ['94-89=5', '93-4=89'] Exploring Operation: 5+89=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 5*89=445, Resulting Numbers: [445] 445,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,1 Current State: 69:[93, 1], Operations: ['94-89=5', '5-4=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,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,4 Current State: 69:[93, 20], Operations: ['94-89=5', '4*5=20'] Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,69 unequal: No Solution Exploring Operation: 93*20=1860, Resulting Numbers: [1860] 1860,69 unequal: No Solution Exploring Operation: 93+20=113, Resulting Numbers: [113] 113,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,2 Current State: 69:[5, 97], Operations: ['94-89=5', '4+93=97'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 5*97=485, Resulting Numbers: [485] 485,69 unequal: No Solution Exploring Operation: 5+97=102, Resulting Numbers: [102] 102,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[94, 93, 85], Operations: ['89-4=85'] Exploring Operation: 94-85=9, Resulting Numbers: [93, 9] Generated Node #0,2,0: 69:[93, 9] Operation: 94-85=9 Exploring Operation: 93-85=8, Resulting Numbers: [94, 8] Generated Node #0,2,1: 69:[94, 8] Operation: 93-85=8 Exploring Operation: 94+85=179, Resulting Numbers: [93, 179] Generated Node #0,2,2: 69:[93, 179] Operation: 94+85=179 Exploring Operation: 94-93=1, Resulting Numbers: [85, 1] Generated Node #0,2,3: 69:[85, 1] Operation: 94-93=1 Exploring Operation: 94+93=187, Resulting Numbers: [85, 187] Generated Node #0,2,4: 69:[85, 187] Operation: 94+93=187 Moving to Node #0,2,3 Current State: 69:[85, 1], Operations: ['89-4=85', '94-93=1'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[94, 8], Operations: ['89-4=85', '93-85=8'] Exploring Operation: 94*8=752, Resulting Numbers: [752] 752,69 unequal: No Solution Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 94+8=102, Resulting Numbers: [102] 102,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[93, 9], Operations: ['89-4=85', '94-85=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[93, 179], Operations: ['89-4=85', '94+85=179'] Exploring Operation: 179-93=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 93*179=16647, Resulting Numbers: [16647] 16647,69 unequal: No Solution Exploring Operation: 93+179=272, Resulting Numbers: [272] 272,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[85, 187], Operations: ['89-4=85', '94+93=187'] Exploring Operation: 187-85=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 85*187=15895, Resulting Numbers: [15895] 15895,69 unequal: No Solution Exploring Operation: 85+187=272, Resulting Numbers: [272] 272,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,3 Current State: 69:[89, 93, 90], Operations: ['94-4=90'] Exploring Operation: 90-89=1, Resulting Numbers: [93, 1] Generated Node #0,3,0: 69:[93, 1] Operation: 90-89=1 Exploring Operation: 89+93=182, Resulting Numbers: [90, 182] Generated Node #0,3,1: 69:[90, 182] Operation: 89+93=182 Exploring Operation: 93-89=4, Resulting Numbers: [90, 4] Generated Node #0,3,2: 69:[90, 4] Operation: 93-89=4 Exploring Operation: 93-90=3, Resulting Numbers: [89, 3] Generated Node #0,3,3: 69:[89, 3] Operation: 93-90=3 Exploring Operation: 89+90=179, Resulting Numbers: [93, 179] Generated Node #0,3,4: 69:[93, 179] Operation: 89+90=179 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 69:[89, 3], Operations: ['94-4=90', '93-90=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,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,3,2 Current State: 69:[90, 4], Operations: ['94-4=90', '93-89=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,69 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,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,3,0 Current State: 69:[93, 1], Operations: ['94-4=90', '90-89=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,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,3,1 Current State: 69:[90, 182], Operations: ['94-4=90', '89+93=182'] Exploring Operation: 182-90=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 90+182=272, Resulting Numbers: [272] 272,69 unequal: No Solution Exploring Operation: 90*182=16380, Resulting Numbers: [16380] 16380,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,3,4 Current State: 69:[93, 179], Operations: ['94-4=90', '89+90=179'] Exploring Operation: 179-93=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 93*179=16647, Resulting Numbers: [16647] 16647,69 unequal: No Solution Exploring Operation: 93+179=272, Resulting Numbers: [272] 272,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_5
mult_heuristic
[ 40, 43, 92, 51 ]
75
[ "43-40=3", "51/3=17", "92-17=75" ]
Current State: 75:[40, 43, 92, 51], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [92, 51, 3] Generated Node #2: [92, 51, 3] from Operation: 43-40=3 Current State: 75:[92, 51, 3], Operations: ['43-40=3'] Exploring Operation: 51/3=17, Resulting Numbers: [92, 17] Generated Node #3: [92, 17] from Operation: 51/3=17 Current State: 75:[92, 17], Operations: ['43-40=3', '51/3=17'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[40, 43, 92, 51], Operations: [] Exploring Operation: 51-43=8, Resulting Numbers: [40, 92, 8] Generated Node #0,0: 75:[40, 92, 8] Operation: 51-43=8 Moving to Node #0,0 Current State: 75:[40, 92, 8], Operations: ['51-43=8'] Exploring Operation: 40/8=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 75:[92, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[92, 5], Operations: ['51-43=8', '40/8=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,75 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
[ 70, 74, 8, 66 ]
64
[ "74-70=4", "8/4=2", "66-2=64" ]
Current State: 64:[70, 74, 8, 66], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [8, 66, 4] Generated Node #2: [8, 66, 4] from Operation: 74-70=4 Current State: 64:[8, 66, 4], Operations: ['74-70=4'] Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 8/4=2 Current State: 64:[66, 2], Operations: ['74-70=4', '8/4=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[70, 74, 8, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [70, 8, 8] Generated Node #0,0: 64:[70, 8, 8] Operation: 74-66=8 Exploring Operation: 74-70=4, Resulting Numbers: [8, 66, 4] Generated Node #0,1: 64:[8, 66, 4] Operation: 74-70=4 Exploring Operation: 74-8=66, Resulting Numbers: [70, 66, 66] Generated Node #0,2: 64:[70, 66, 66] Operation: 74-8=66 Exploring Operation: 70-8=62, Resulting Numbers: [74, 66, 62] Generated Node #0,3: 64:[74, 66, 62] Operation: 70-8=62 Exploring Operation: 70-66=4, Resulting Numbers: [74, 8, 4] Generated Node #0,4: 64:[74, 8, 4] Operation: 70-66=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[8, 66, 4], Operations: ['74-70=4'] Exploring Operation: 8*4=32, Resulting Numbers: [66, 32] Generated Node #0,1,0: 64:[66, 32] Operation: 8*4=32 Exploring Operation: 66-4=62, Resulting Numbers: [8, 62] Generated Node #0,1,1: 64:[8, 62] Operation: 66-4=62 Exploring Operation: 8-4=4, Resulting Numbers: [66, 4] Generated Node #0,1,2: 64:[66, 4] Operation: 8-4=4 Exploring Operation: 66-8=58, Resulting Numbers: [4, 58] Generated Node #0,1,3: 64:[4, 58] Operation: 66-8=58 Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #0,1,4: 64:[66, 2] Operation: 8/4=2 Moving to Node #0,1,0 Current State: 64:[66, 32], Operations: ['74-70=4', '8*4=32'] Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,64 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[66, 4], Operations: ['74-70=4', '8-4=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,64 unequal: No Solution Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[8, 62], Operations: ['74-70=4', '66-4=62'] Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[66, 2], Operations: ['74-70=4', '8/4=2'] Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[70, 74, 8, 66], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [8, 66, 4] Generated Node #0,1: 64:[8, 66, 4] Operation: 74-70=4 Moving to Node #0,1 Current State: 64:[8, 66, 4], Operations: ['74-70=4'] Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #0,1,4: 64:[66, 2] Operation: 8/4=2 Moving to Node #0,1,4 Current State: 64:[66, 2], Operations: ['74-70=4', '8/4=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 19, 11, 84, 93 ]
80
[ "93-84=9", "11*9=99", "99-19=80" ]
Current State: 80:[19, 11, 84, 93], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [19, 11, 9] Generated Node #2: [19, 11, 9] from Operation: 93-84=9 Current State: 80:[19, 11, 9], Operations: ['93-84=9'] Exploring Operation: 11*9=99, Resulting Numbers: [19, 99] Generated Node #3: [19, 99] from Operation: 11*9=99 Current State: 80:[19, 99], Operations: ['93-84=9', '11*9=99'] Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[19, 11, 84, 93], Operations: [] Exploring Operation: 93-11=82, Resulting Numbers: [19, 84, 82] Generated Node #0,0: 80:[19, 84, 82] Operation: 93-11=82 Exploring Operation: 93-84=9, Resulting Numbers: [19, 11, 9] Generated Node #0,1: 80:[19, 11, 9] Operation: 93-84=9 Moving to Node #0,1 Current State: 80:[19, 11, 9], Operations: ['93-84=9'] Exploring Operation: 19-9=10, Resulting Numbers: [11, 10] Generated Node #0,1,0: 80:[11, 10] Operation: 19-9=10 Exploring Operation: 19-11=8, Resulting Numbers: [9, 8] Generated Node #0,1,1: 80:[9, 8] Operation: 19-11=8 Moving to Node #0,0 Current State: 80:[19, 84, 82], Operations: ['93-11=82'] Exploring Operation: 84-82=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 80:[19, 2] Operation: 84-82=2 Exploring Operation: 84-19=65, Resulting Numbers: [82, 65] Generated Node #0,0,1: 80:[82, 65] Operation: 84-19=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[19, 2], Operations: ['93-11=82', '84-82=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,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,1 Current State: 80:[82, 65], Operations: ['93-11=82', '84-19=65'] Exploring Operation: 82-65=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 82+65=147, Resulting Numbers: [147] 147,80 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: 80:[11, 10], Operations: ['93-84=9', '19-9=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[9, 8], Operations: ['93-84=9', '19-11=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 2, 28, 95 ]
19
[ "95-62=33", "28/2=14", "33-14=19" ]
Current State: 19:[62, 2, 28, 95], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [2, 28, 33] Generated Node #2: [2, 28, 33] from Operation: 95-62=33 Current State: 19:[2, 28, 33], Operations: ['95-62=33'] Exploring Operation: 28/2=14, Resulting Numbers: [33, 14] Generated Node #3: [33, 14] from Operation: 28/2=14 Current State: 19:[33, 14], Operations: ['95-62=33', '28/2=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[62, 2, 28, 95], Operations: [] Exploring Operation: 62/2=31, Resulting Numbers: [28, 95, 31] Generated Node #0,0: 19:[28, 95, 31] Operation: 62/2=31 Exploring Operation: 28/2=14, Resulting Numbers: [62, 95, 14] Generated Node #0,1: 19:[62, 95, 14] Operation: 28/2=14 Exploring Operation: 95-28=67, Resulting Numbers: [62, 2, 67] Generated Node #0,2: 19:[62, 2, 67] Operation: 95-28=67 Exploring Operation: 62-28=34, Resulting Numbers: [2, 95, 34] Generated Node #0,3: 19:[2, 95, 34] Operation: 62-28=34 Exploring Operation: 95-62=33, Resulting Numbers: [2, 28, 33] Generated Node #0,4: 19:[2, 28, 33] Operation: 95-62=33 Moving to Node #0,4 Current State: 19:[2, 28, 33], Operations: ['95-62=33'] Exploring Operation: 28-2=26, Resulting Numbers: [33, 26] Generated Node #0,4,0: 19:[33, 26] Operation: 28-2=26 Exploring Operation: 2+33=35, Resulting Numbers: [28, 35] Generated Node #0,4,1: 19:[28, 35] Operation: 2+33=35 Exploring Operation: 33-2=31, Resulting Numbers: [28, 31] Generated Node #0,4,2: 19:[28, 31] Operation: 33-2=31 Exploring Operation: 2+28=30, Resulting Numbers: [33, 30] Generated Node #0,4,3: 19:[33, 30] Operation: 2+28=30 Exploring Operation: 28/2=14, Resulting Numbers: [33, 14] Generated Node #0,4,4: 19:[33, 14] Operation: 28/2=14 Moving to Node #0,0 Current State: 19:[28, 95, 31], Operations: ['62/2=31'] Exploring Operation: 95-31=64, Resulting Numbers: [28, 64] Generated Node #0,0,0: 19:[28, 64] Operation: 95-31=64 Exploring Operation: 28+31=59, Resulting Numbers: [95, 59] Generated Node #0,0,1: 19:[95, 59] Operation: 28+31=59 Exploring Operation: 95-28=67, Resulting Numbers: [31, 67] Generated Node #0,0,2: 19:[31, 67] Operation: 95-28=67 Exploring Operation: 28+95=123, Resulting Numbers: [31, 123] Generated Node #0,0,3: 19:[31, 123] Operation: 28+95=123 Exploring Operation: 31-28=3, Resulting Numbers: [95, 3] Generated Node #0,0,4: 19:[95, 3] Operation: 31-28=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[28, 64], Operations: ['62/2=31', '95-31=64'] Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,19 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[31, 67], Operations: ['62/2=31', '95-28=67'] Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,19 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 19:[95, 3], Operations: ['62/2=31', '31-28=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,19 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[95, 59], Operations: ['62/2=31', '28+31=59'] Exploring Operation: 95-59=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 95*59=5605, Resulting Numbers: [5605] 5605,19 unequal: No Solution Exploring Operation: 95+59=154, Resulting Numbers: [154] 154,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 19:[31, 123], Operations: ['62/2=31', '28+95=123'] Exploring Operation: 31+123=154, Resulting Numbers: [154] 154,19 unequal: No Solution Exploring Operation: 31*123=3813, Resulting Numbers: [3813] 3813,19 unequal: No Solution Exploring Operation: 123-31=92, Resulting Numbers: [92] 92,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 19:[62, 2, 67], Operations: ['95-28=67'] Exploring Operation: 62/2=31, Resulting Numbers: [67, 31] Generated Node #0,2,0: 19:[67, 31] Operation: 62/2=31 Exploring Operation: 67-2=65, Resulting Numbers: [62, 65] Generated Node #0,2,1: 19:[62, 65] Operation: 67-2=65 Exploring Operation: 62+2=64, Resulting Numbers: [67, 64] Generated Node #0,2,2: 19:[67, 64] Operation: 62+2=64 Exploring Operation: 62-2=60, Resulting Numbers: [67, 60] Generated Node #0,2,3: 19:[67, 60] Operation: 62-2=60 Exploring Operation: 67-62=5, Resulting Numbers: [2, 5] Generated Node #0,2,4: 19:[2, 5] Operation: 67-62=5 Moving to Node #0,3 Current State: 19:[2, 95, 34], Operations: ['62-28=34'] Exploring Operation: 95-2=93, Resulting Numbers: [34, 93] Generated Node #0,3,0: 19:[34, 93] Operation: 95-2=93 Exploring Operation: 34-2=32, Resulting Numbers: [95, 32] Generated Node #0,3,1: 19:[95, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [95, 17] Generated Node #0,3,2: 19:[95, 17] Operation: 34/2=17 Exploring Operation: 2+95=97, Resulting Numbers: [34, 97] Generated Node #0,3,3: 19:[34, 97] Operation: 2+95=97 Exploring Operation: 95-34=61, Resulting Numbers: [2, 61] Generated Node #0,3,4: 19:[2, 61] Operation: 95-34=61 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 19:[2, 61], Operations: ['62-28=34', '95-34=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 19:[95, 17], Operations: ['62-28=34', '34/2=17'] Exploring Operation: 95*17=1615, Resulting Numbers: [1615] 1615,19 unequal: No Solution Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,19 unequal: No Solution Exploring Operation: 95+17=112, Resulting Numbers: [112] 112,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 19:[34, 93], Operations: ['62-28=34', '95-2=93'] Exploring Operation: 34*93=3162, Resulting Numbers: [3162] 3162,19 unequal: No Solution Exploring Operation: 93-34=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 34+93=127, Resulting Numbers: [127] 127,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 19:[95, 32], Operations: ['62-28=34', '34-2=32'] Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 95+32=127, Resulting Numbers: [127] 127,19 unequal: No Solution Exploring Operation: 95*32=3040, Resulting Numbers: [3040] 3040,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 19:[34, 97], Operations: ['62-28=34', '2+95=97'] Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 34+97=131, Resulting Numbers: [131] 131,19 unequal: No Solution Exploring Operation: 34*97=3298, Resulting Numbers: [3298] 3298,19 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: 19:[62, 95, 14], Operations: ['28/2=14'] Exploring Operation: 62-14=48, Resulting Numbers: [95, 48] Generated Node #0,1,0: 19:[95, 48] Operation: 62-14=48 Exploring Operation: 95-62=33, Resulting Numbers: [14, 33] Generated Node #0,1,1: 19:[14, 33] Operation: 95-62=33 Exploring Operation: 95-14=81, Resulting Numbers: [62, 81] Generated Node #0,1,2: 19:[62, 81] Operation: 95-14=81 Exploring Operation: 62+14=76, Resulting Numbers: [95, 76] Generated Node #0,1,3: 19:[95, 76] Operation: 62+14=76 Exploring Operation: 95+14=109, Resulting Numbers: [62, 109] Generated Node #0,1,4: 19:[62, 109] Operation: 95+14=109 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[14, 33], Operations: ['28/2=14', '95-62=33'] Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,19 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[62, 2, 28, 95], Operations: [] Exploring Operation: 28/2=14, Resulting Numbers: [62, 95, 14] Generated Node #0,1: 19:[62, 95, 14] Operation: 28/2=14 Moving to Node #0,1 Current State: 19:[62, 95, 14], Operations: ['28/2=14'] Exploring Operation: 95-62=33, Resulting Numbers: [14, 33] Generated Node #0,1,1: 19:[14, 33] Operation: 95-62=33 Moving to Node #0,1,1 Current State: 19:[14, 33], Operations: ['28/2=14', '95-62=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_5
mult_heuristic
[ 26, 99, 90, 18 ]
72
[ "26-18=8", "99-90=9", "8*9=72" ]
Current State: 72:[26, 99, 90, 18], Operations: [] Exploring Operation: 26-18=8, Resulting Numbers: [99, 90, 8] Generated Node #2: [99, 90, 8] from Operation: 26-18=8 Current State: 72:[99, 90, 8], Operations: ['26-18=8'] Exploring Operation: 99-90=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 99-90=9 Current State: 72:[8, 9], Operations: ['26-18=8', '99-90=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[26, 99, 90, 18], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [26, 18, 9] Generated Node #0,0: 72:[26, 18, 9] Operation: 99-90=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[26, 18, 9], Operations: ['99-90=9'] Exploring Operation: 26-18=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 72:[9, 8] Operation: 26-18=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[9, 8], Operations: ['99-90=9', '26-18=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[26, 99, 90, 18], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [26, 18, 9] Generated Node #0,0: 72:[26, 18, 9] Operation: 99-90=9 Moving to Node #0,0 Current State: 72:[26, 18, 9], Operations: ['99-90=9'] Exploring Operation: 26-18=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 72:[9, 8] Operation: 26-18=8 Moving to Node #0,0,0 Current State: 72:[9, 8], Operations: ['99-90=9', '26-18=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 74, 99, 35, 74 ]
65
[ "74/74=1", "99-35=64", "1+64=65" ]
Current State: 65:[74, 99, 35, 74], Operations: [] Exploring Operation: 74/74=1, Resulting Numbers: [99, 35, 1] Generated Node #2: [99, 35, 1] from Operation: 74/74=1 Current State: 65:[99, 35, 1], Operations: ['74/74=1'] Exploring Operation: 99-35=64, Resulting Numbers: [1, 64] Generated Node #3: [1, 64] from Operation: 99-35=64 Current State: 65:[1, 64], Operations: ['74/74=1', '99-35=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[74, 99, 35, 74], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [74, 35, 25] Generated Node #0,0: 65:[74, 35, 25] Operation: 99-74=25 Exploring Operation: 99-74=25, Resulting Numbers: [35, 74, 25] Generated Node #0,1: 65:[35, 74, 25] Operation: 99-74=25 Exploring Operation: 99-35=64, Resulting Numbers: [74, 74, 64] Generated Node #0,2: 65:[74, 74, 64] Operation: 99-35=64 Exploring Operation: 74/74=1, Resulting Numbers: [99, 35, 1] Generated Node #0,3: 65:[99, 35, 1] Operation: 74/74=1 Moving to Node #0,2 Current State: 65:[74, 74, 64], Operations: ['99-35=64'] Exploring Operation: 74-74=0, Resulting Numbers: [64, 0] Generated Node #0,2,0: 65:[64, 0] Operation: 74-74=0 Exploring Operation: 74/74=1, Resulting Numbers: [64, 1] Generated Node #0,2,1: 65:[64, 1] Operation: 74/74=1 Exploring Operation: 74-64=10, Resulting Numbers: [74, 10] Generated Node #0,2,2: 65:[74, 10] Operation: 74-64=10 Exploring Operation: 74-64=10, Resulting Numbers: [74, 10] Generated Node #0,2,3: 65:[74, 10] Operation: 74-64=10 Moving to Node #0,1 Current State: 65:[35, 74, 25], Operations: ['99-74=25'] Exploring Operation: 35-25=10, Resulting Numbers: [74, 10] Generated Node #0,1,0: 65:[74, 10] Operation: 35-25=10 Exploring Operation: 74-25=49, Resulting Numbers: [35, 49] Generated Node #0,1,1: 65:[35, 49] Operation: 74-25=49 Exploring Operation: 74-35=39, Resulting Numbers: [25, 39] Generated Node #0,1,2: 65:[25, 39] Operation: 74-35=39 Exploring Operation: 35+25=60, Resulting Numbers: [74, 60] Generated Node #0,1,3: 65:[74, 60] Operation: 35+25=60 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[74, 10], Operations: ['99-74=25', '35-25=10'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,65 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[74, 60], Operations: ['99-74=25', '35+25=60'] Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,65 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,65 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[35, 49], Operations: ['99-74=25', '74-25=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,65 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[25, 39], Operations: ['99-74=25', '74-35=39'] Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,65 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,65 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: 65:[74, 35, 25], Operations: ['99-74=25'] Exploring Operation: 35+25=60, Resulting Numbers: [74, 60] Generated Node #0,0,0: 65:[74, 60] Operation: 35+25=60 Exploring Operation: 35-25=10, Resulting Numbers: [74, 10] Generated Node #0,0,1: 65:[74, 10] Operation: 35-25=10 Exploring Operation: 74-25=49, Resulting Numbers: [35, 49] Generated Node #0,0,2: 65:[35, 49] Operation: 74-25=49 Exploring Operation: 74-35=39, Resulting Numbers: [25, 39] Generated Node #0,0,3: 65:[25, 39] Operation: 74-35=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[74, 10], Operations: ['99-74=25', '35-25=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,65 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,65 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[74, 60], Operations: ['99-74=25', '35+25=60'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,65 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[35, 49], Operations: ['99-74=25', '74-25=49'] Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,65 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 65:[25, 39], Operations: ['99-74=25', '74-35=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,65 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: 65:[99, 35, 1], Operations: ['74/74=1'] Exploring Operation: 35-1=34, Resulting Numbers: [99, 34] Generated Node #0,3,0: 65:[99, 34] Operation: 35-1=34 Exploring Operation: 99-35=64, Resulting Numbers: [1, 64] Generated Node #0,3,1: 65:[1, 64] Operation: 99-35=64 Exploring Operation: 99*1=99, Resulting Numbers: [35, 99] Generated Node #0,3,2: 65:[35, 99] Operation: 99*1=99 Exploring Operation: 99-1=98, Resulting Numbers: [35, 98] Generated Node #0,3,3: 65:[35, 98] Operation: 99-1=98 Moving to Node #0,2,1 Current State: 65:[64, 1], Operations: ['99-35=64', '74/74=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[74, 99, 35, 74], Operations: [] Exploring Operation: 99-35=64, Resulting Numbers: [74, 74, 64] Generated Node #0,2: 65:[74, 74, 64] Operation: 99-35=64 Moving to Node #0,2 Current State: 65:[74, 74, 64], Operations: ['99-35=64'] Exploring Operation: 74/74=1, Resulting Numbers: [64, 1] Generated Node #0,2,1: 65:[64, 1] Operation: 74/74=1 Moving to Node #0,2,1 Current State: 65:[64, 1], Operations: ['99-35=64', '74/74=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 67, 81, 81, 2 ]
97
[ "81-67=14", "81+2=83", "14+83=97" ]
Current State: 97:[67, 81, 81, 2], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [2, 14] Generated Node #2: [2, 14] from Operation: 81-67=14 Current State: 97:[2, 14], Operations: ['81-67=14'] Exploring Operation: 81+2=83, Resulting Numbers: [14, 83] Generated Node #3: [14, 83] from Operation: 81+2=83 Current State: 97:[14, 83], Operations: ['81-67=14', '81+2=83'] Exploring Operation: 14+83=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[67, 81, 81, 2], Operations: [] Exploring Operation: 67+2=69, Resulting Numbers: [81, 81, 69] Generated Node #0,0: 97:[81, 81, 69] Operation: 67+2=69 Moving to Node #0,0 Current State: 97:[81, 81, 69], Operations: ['67+2=69'] Exploring Operation: 81+69=150, Resulting Numbers: [81, 150] Generated Node #0,0,0: 97:[81, 150] Operation: 81+69=150 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[81, 150], Operations: ['67+2=69', '81+69=150'] Exploring Operation: 150-81=69, Resulting Numbers: [69] 69,97 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
[ 35, 74, 61, 86 ]
84
[ "35+74=109", "86-61=25", "109-25=84" ]
Current State: 84:[35, 74, 61, 86], Operations: [] Exploring Operation: 35+74=109, Resulting Numbers: [61, 86, 109] Generated Node #2: [61, 86, 109] from Operation: 35+74=109 Current State: 84:[61, 86, 109], Operations: ['35+74=109'] Exploring Operation: 86-61=25, Resulting Numbers: [109, 25] Generated Node #3: [109, 25] from Operation: 86-61=25 Current State: 84:[109, 25], Operations: ['35+74=109', '86-61=25'] Exploring Operation: 109-25=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[35, 74, 61, 86], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [74, 86, 26] Generated Node #0,0: 84:[74, 86, 26] Operation: 61-35=26 Exploring Operation: 74-61=13, Resulting Numbers: [35, 86, 13] Generated Node #0,1: 84:[35, 86, 13] Operation: 74-61=13 Exploring Operation: 74-35=39, Resulting Numbers: [61, 86, 39] Generated Node #0,2: 84:[61, 86, 39] Operation: 74-35=39 Exploring Operation: 86-61=25, Resulting Numbers: [35, 74, 25] Generated Node #0,3: 84:[35, 74, 25] Operation: 86-61=25 Moving to Node #0,1 Current State: 84:[35, 86, 13], Operations: ['74-61=13'] Exploring Operation: 86-35=51, Resulting Numbers: [13, 51] Generated Node #0,1,0: 84:[13, 51] Operation: 86-35=51 Exploring Operation: 35+13=48, Resulting Numbers: [86, 48] Generated Node #0,1,1: 84:[86, 48] Operation: 35+13=48 Exploring Operation: 86-13=73, Resulting Numbers: [35, 73] Generated Node #0,1,2: 84:[35, 73] Operation: 86-13=73 Exploring Operation: 35-13=22, Resulting Numbers: [86, 22] Generated Node #0,1,3: 84:[86, 22] Operation: 35-13=22 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[86, 22], Operations: ['74-61=13', '35-13=22'] Exploring Operation: 86*22=1892, Resulting Numbers: [1892] 1892,84 unequal: No Solution Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 86+22=108, Resulting Numbers: [108] 108,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[86, 48], Operations: ['74-61=13', '35+13=48'] Exploring Operation: 86+48=134, Resulting Numbers: [134] 134,84 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 86*48=4128, Resulting Numbers: [4128] 4128,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[13, 51], Operations: ['74-61=13', '86-35=51'] Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,84 unequal: No Solution Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[35, 73], Operations: ['74-61=13', '86-13=73'] Exploring Operation: 35*73=2555, Resulting Numbers: [2555] 2555,84 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 35+73=108, Resulting Numbers: [108] 108,84 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: 84:[74, 86, 26], Operations: ['61-35=26'] Exploring Operation: 86-74=12, Resulting Numbers: [26, 12] Generated Node #0,0,0: 84:[26, 12] Operation: 86-74=12 Exploring Operation: 74+26=100, Resulting Numbers: [86, 100] Generated Node #0,0,1: 84:[86, 100] Operation: 74+26=100 Exploring Operation: 74-26=48, Resulting Numbers: [86, 48] Generated Node #0,0,2: 84:[86, 48] Operation: 74-26=48 Exploring Operation: 86-26=60, Resulting Numbers: [74, 60] Generated Node #0,0,3: 84:[74, 60] Operation: 86-26=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[26, 12], Operations: ['61-35=26', '86-74=12'] Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,84 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,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,2 Current State: 84:[86, 48], Operations: ['61-35=26', '74-26=48'] Exploring Operation: 86+48=134, Resulting Numbers: [134] 134,84 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 86*48=4128, Resulting Numbers: [4128] 4128,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,1 Current State: 84:[86, 100], Operations: ['61-35=26', '74+26=100'] Exploring Operation: 86*100=8600, Resulting Numbers: [8600] 8600,84 unequal: No Solution Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 86+100=186, Resulting Numbers: [186] 186,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,3 Current State: 84:[74, 60], Operations: ['61-35=26', '86-26=60'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,84 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,84 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: 84:[35, 74, 25], Operations: ['86-61=25'] Exploring Operation: 35-25=10, Resulting Numbers: [74, 10] Generated Node #0,3,0: 84:[74, 10] Operation: 35-25=10 Exploring Operation: 74+25=99, Resulting Numbers: [35, 99] Generated Node #0,3,1: 84:[35, 99] Operation: 74+25=99 Exploring Operation: 74-35=39, Resulting Numbers: [25, 39] Generated Node #0,3,2: 84:[25, 39] Operation: 74-35=39 Exploring Operation: 74-25=49, Resulting Numbers: [35, 49] Generated Node #0,3,3: 84:[35, 49] Operation: 74-25=49 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[25, 39], Operations: ['86-61=25', '74-35=39'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,84 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[74, 10], Operations: ['86-61=25', '35-25=10'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,84 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[35, 74, 61, 86], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [35, 74, 25] Generated Node #0,3: 84:[35, 74, 25] Operation: 86-61=25 Moving to Node #0,3 Current State: 84:[35, 74, 25], Operations: ['86-61=25'] Exploring Operation: 35-25=10, Resulting Numbers: [74, 10] Generated Node #0,3,0: 84:[74, 10] Operation: 35-25=10 Moving to Node #0,3,0 Current State: 84:[74, 10], Operations: ['86-61=25', '35-25=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 2, 19, 41, 23 ]
97
[ "19+41=60", "2*60=120", "120-23=97" ]
Current State: 97:[2, 19, 41, 23], Operations: [] Exploring Operation: 19+41=60, Resulting Numbers: [2, 23, 60] Generated Node #2: [2, 23, 60] from Operation: 19+41=60 Current State: 97:[2, 23, 60], Operations: ['19+41=60'] Exploring Operation: 2*60=120, Resulting Numbers: [23, 120] Generated Node #3: [23, 120] from Operation: 2*60=120 Current State: 97:[23, 120], Operations: ['19+41=60', '2*60=120'] Exploring Operation: 120-23=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[2, 19, 41, 23], Operations: [] Exploring Operation: 2*23=46, Resulting Numbers: [19, 41, 46] Generated Node #0,0: 97:[19, 41, 46] Operation: 2*23=46 Exploring Operation: 2+19=21, Resulting Numbers: [41, 23, 21] Generated Node #0,1: 97:[41, 23, 21] Operation: 2+19=21 Exploring Operation: 2*19=38, Resulting Numbers: [41, 23, 38] Generated Node #0,2: 97:[41, 23, 38] Operation: 2*19=38 Exploring Operation: 2+41=43, Resulting Numbers: [19, 23, 43] Generated Node #0,3: 97:[19, 23, 43] Operation: 2+41=43 Exploring Operation: 2*41=82, Resulting Numbers: [19, 23, 82] Generated Node #0,4: 97:[19, 23, 82] Operation: 2*41=82 Moving to Node #0,4 Current State: 97:[19, 23, 82], Operations: ['2*41=82'] Exploring Operation: 19+82=101, Resulting Numbers: [23, 101] Generated Node #0,4,0: 97:[23, 101] Operation: 19+82=101 Exploring Operation: 19+23=42, Resulting Numbers: [82, 42] Generated Node #0,4,1: 97:[82, 42] Operation: 19+23=42 Exploring Operation: 23-19=4, Resulting Numbers: [82, 4] Generated Node #0,4,2: 97:[82, 4] Operation: 23-19=4 Exploring Operation: 82-19=63, Resulting Numbers: [23, 63] Generated Node #0,4,3: 97:[23, 63] Operation: 82-19=63 Exploring Operation: 23+82=105, Resulting Numbers: [19, 105] Generated Node #0,4,4: 97:[19, 105] Operation: 23+82=105 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 97:[82, 42], Operations: ['2*41=82', '19+23=42'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 82+42=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 82*42=3444, Resulting Numbers: [3444] 3444,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,4,0 Current State: 97:[23, 101], Operations: ['2*41=82', '19+82=101'] Exploring Operation: 23*101=2323, Resulting Numbers: [2323] 2323,97 unequal: No Solution Exploring Operation: 23+101=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 101-23=78, Resulting Numbers: [78] 78,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,4,4 Current State: 97:[19, 105], Operations: ['2*41=82', '23+82=105'] Exploring Operation: 105-19=86, Resulting Numbers: [86] 86,97 unequal: No Solution Exploring Operation: 19+105=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 19*105=1995, Resulting Numbers: [1995] 1995,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,4,2 Current State: 97:[82, 4], Operations: ['2*41=82', '23-19=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,97 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,97 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,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,4,3 Current State: 97:[23, 63], Operations: ['2*41=82', '82-19=63'] Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,97 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,97 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: 97:[19, 41, 46], Operations: ['2*23=46'] Exploring Operation: 19+41=60, Resulting Numbers: [46, 60] Generated Node #0,0,0: 97:[46, 60] Operation: 19+41=60 Exploring Operation: 41+46=87, Resulting Numbers: [19, 87] Generated Node #0,0,1: 97:[19, 87] Operation: 41+46=87 Exploring Operation: 41-19=22, Resulting Numbers: [46, 22] Generated Node #0,0,2: 97:[46, 22] Operation: 41-19=22 Exploring Operation: 19+46=65, Resulting Numbers: [41, 65] Generated Node #0,0,3: 97:[41, 65] Operation: 19+46=65 Exploring Operation: 46-19=27, Resulting Numbers: [41, 27] Generated Node #0,0,4: 97:[41, 27] Operation: 46-19=27 Moving to Node #0,2 Current State: 97:[41, 23, 38], Operations: ['2*19=38'] Exploring Operation: 23+38=61, Resulting Numbers: [41, 61] Generated Node #0,2,0: 97:[41, 61] Operation: 23+38=61 Exploring Operation: 41-23=18, Resulting Numbers: [38, 18] Generated Node #0,2,1: 97:[38, 18] Operation: 41-23=18 Exploring Operation: 41+38=79, Resulting Numbers: [23, 79] Generated Node #0,2,2: 97:[23, 79] Operation: 41+38=79 Exploring Operation: 38-23=15, Resulting Numbers: [41, 15] Generated Node #0,2,3: 97:[41, 15] Operation: 38-23=15 Exploring Operation: 41+23=64, Resulting Numbers: [38, 64] Generated Node #0,2,4: 97:[38, 64] Operation: 41+23=64 Moving to Node #0,1 Current State: 97:[41, 23, 21], Operations: ['2+19=21'] Exploring Operation: 41+21=62, Resulting Numbers: [23, 62] Generated Node #0,1,0: 97:[23, 62] Operation: 41+21=62 Exploring Operation: 41+23=64, Resulting Numbers: [21, 64] Generated Node #0,1,1: 97:[21, 64] Operation: 41+23=64 Exploring Operation: 23+21=44, Resulting Numbers: [41, 44] Generated Node #0,1,2: 97:[41, 44] Operation: 23+21=44 Exploring Operation: 41-21=20, Resulting Numbers: [23, 20] Generated Node #0,1,3: 97:[23, 20] Operation: 41-21=20 Exploring Operation: 23-21=2, Resulting Numbers: [41, 2] Generated Node #0,1,4: 97:[41, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[23, 62], Operations: ['2+19=21', '41+21=62'] Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,97 unequal: No Solution Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[21, 64], Operations: ['2+19=21', '41+23=64'] Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,97 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[41, 44], Operations: ['2+19=21', '23+21=44'] Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[23, 20], Operations: ['2+19=21', '41-21=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,97 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 97:[41, 2], Operations: ['2+19=21', '23-21=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 97:[19, 23, 43], Operations: ['2+41=43'] Exploring Operation: 23-19=4, Resulting Numbers: [43, 4] Generated Node #0,3,0: 97:[43, 4] Operation: 23-19=4 Exploring Operation: 43-19=24, Resulting Numbers: [23, 24] Generated Node #0,3,1: 97:[23, 24] Operation: 43-19=24 Exploring Operation: 23+43=66, Resulting Numbers: [19, 66] Generated Node #0,3,2: 97:[19, 66] Operation: 23+43=66 Exploring Operation: 19+23=42, Resulting Numbers: [43, 42] Generated Node #0,3,3: 97:[43, 42] Operation: 19+23=42 Exploring Operation: 19+43=62, Resulting Numbers: [23, 62] Generated Node #0,3,4: 97:[23, 62] Operation: 19+43=62 Moving to Node #0,0,0 Current State: 97:[46, 60], Operations: ['2*23=46', '19+41=60'] Exploring Operation: 46+60=106, Resulting Numbers: [106] 106,97 unequal: No Solution Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 46*60=2760, Resulting Numbers: [2760] 2760,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[41, 65], Operations: ['2*23=46', '19+46=65'] Exploring Operation: 41*65=2665, Resulting Numbers: [2665] 2665,97 unequal: No Solution Exploring Operation: 41+65=106, Resulting Numbers: [106] 106,97 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[19, 87], Operations: ['2*23=46', '41+46=87'] Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 19+87=106, Resulting Numbers: [106] 106,97 unequal: No Solution Exploring Operation: 19*87=1653, Resulting Numbers: [1653] 1653,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[23, 79], Operations: ['2*19=38', '41+38=79'] Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 23+79=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 23*79=1817, Resulting Numbers: [1817] 1817,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[41, 61], Operations: ['2*19=38', '23+38=61'] Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 41+61=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 41*61=2501, Resulting Numbers: [2501] 2501,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[38, 64], Operations: ['2*19=38', '41+23=64'] Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 38*64=2432, Resulting Numbers: [2432] 2432,97 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[43, 42], Operations: ['2+41=43', '19+23=42'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[23, 62], Operations: ['2+41=43', '19+43=62'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[19, 66], Operations: ['2+41=43', '23+43=66'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,97 unequal: No Solution Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[41, 27], Operations: ['2*23=46', '46-19=27'] Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,97 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[46, 22], Operations: ['2*23=46', '41-19=22'] Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,97 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[41, 15], Operations: ['2*19=38', '38-23=15'] Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,97 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[38, 18], Operations: ['2*19=38', '41-23=18'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[43, 4], Operations: ['2+41=43', '23-19=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,97 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[23, 24], Operations: ['2+41=43', '43-19=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,97 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,97 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 41, 6, 76, 97 ]
73
[ "41*6=246", "76+97=173", "246-173=73" ]
Current State: 73:[41, 6, 76, 97], Operations: [] Exploring Operation: 41*6=246, Resulting Numbers: [76, 97, 246] Generated Node #2: [76, 97, 246] from Operation: 41*6=246 Current State: 73:[76, 97, 246], Operations: ['41*6=246'] Exploring Operation: 76+97=173, Resulting Numbers: [246, 173] Generated Node #3: [246, 173] from Operation: 76+97=173 Current State: 73:[246, 173], Operations: ['41*6=246', '76+97=173'] Exploring Operation: 246-173=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[41, 6, 76, 97], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [41, 76, 91] Generated Node #0,0: 73:[41, 76, 91] Operation: 97-6=91 Exploring Operation: 6+76=82, Resulting Numbers: [41, 97, 82] Generated Node #0,1: 73:[41, 97, 82] Operation: 6+76=82 Exploring Operation: 76-6=70, Resulting Numbers: [41, 97, 70] Generated Node #0,2: 73:[41, 97, 70] Operation: 76-6=70 Exploring Operation: 41-6=35, Resulting Numbers: [76, 97, 35] Generated Node #0,3: 73:[76, 97, 35] Operation: 41-6=35 Exploring Operation: 41+6=47, Resulting Numbers: [76, 97, 47] Generated Node #0,4: 73:[76, 97, 47] Operation: 41+6=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[41, 76, 91], Operations: ['97-6=91'] Exploring Operation: 91-76=15, Resulting Numbers: [41, 15] Generated Node #0,0,0: 73:[41, 15] Operation: 91-76=15 Exploring Operation: 76-41=35, Resulting Numbers: [91, 35] Generated Node #0,0,1: 73:[91, 35] Operation: 76-41=35 Exploring Operation: 91-41=50, Resulting Numbers: [76, 50] Generated Node #0,0,2: 73:[76, 50] Operation: 91-41=50 Exploring Operation: 41+76=117, Resulting Numbers: [91, 117] Generated Node #0,0,3: 73:[91, 117] Operation: 41+76=117 Exploring Operation: 41+91=132, Resulting Numbers: [76, 132] Generated Node #0,0,4: 73:[76, 132] Operation: 41+91=132 Moving to Node #0,0,2 Current State: 73:[76, 50], Operations: ['97-6=91', '91-41=50'] Exploring Operation: 76+50=126, Resulting Numbers: [126] 126,73 unequal: No Solution Exploring Operation: 76*50=3800, Resulting Numbers: [3800] 3800,73 unequal: No Solution Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[91, 35], Operations: ['97-6=91', '76-41=35'] Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,73 unequal: No Solution Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,73 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[91, 117], Operations: ['97-6=91', '41+76=117'] Exploring Operation: 91+117=208, Resulting Numbers: [208] 208,73 unequal: No Solution Exploring Operation: 117-91=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 91*117=10647, Resulting Numbers: [10647] 10647,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[76, 132], Operations: ['97-6=91', '41+91=132'] Exploring Operation: 76+132=208, Resulting Numbers: [208] 208,73 unequal: No Solution Exploring Operation: 132-76=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 76*132=10032, Resulting Numbers: [10032] 10032,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[41, 15], Operations: ['97-6=91', '91-76=15'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[76, 97, 47], Operations: ['41+6=47'] Exploring Operation: 76-47=29, Resulting Numbers: [97, 29] Generated Node #0,4,0: 73:[97, 29] Operation: 76-47=29 Exploring Operation: 97+47=144, Resulting Numbers: [76, 144] Generated Node #0,4,1: 73:[76, 144] Operation: 97+47=144 Exploring Operation: 97-76=21, Resulting Numbers: [47, 21] Generated Node #0,4,2: 73:[47, 21] Operation: 97-76=21 Exploring Operation: 76+47=123, Resulting Numbers: [97, 123] Generated Node #0,4,3: 73:[97, 123] Operation: 76+47=123 Exploring Operation: 97-47=50, Resulting Numbers: [76, 50] Generated Node #0,4,4: 73:[76, 50] Operation: 97-47=50 Moving to Node #0,4,4 Current State: 73:[76, 50], Operations: ['41+6=47', '97-47=50'] Exploring Operation: 76*50=3800, Resulting Numbers: [3800] 3800,73 unequal: No Solution Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 76+50=126, Resulting Numbers: [126] 126,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[97, 29], Operations: ['41+6=47', '76-47=29'] Exploring Operation: 97+29=126, Resulting Numbers: [126] 126,73 unequal: No Solution Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 97*29=2813, Resulting Numbers: [2813] 2813,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[76, 144], Operations: ['41+6=47', '97+47=144'] Exploring Operation: 76*144=10944, Resulting Numbers: [10944] 10944,73 unequal: No Solution Exploring Operation: 76+144=220, Resulting Numbers: [220] 220,73 unequal: No Solution Exploring Operation: 144-76=68, Resulting Numbers: [68] 68,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[97, 123], Operations: ['41+6=47', '76+47=123'] Exploring Operation: 123-97=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 97+123=220, Resulting Numbers: [220] 220,73 unequal: No Solution Exploring Operation: 97*123=11931, Resulting Numbers: [11931] 11931,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[47, 21], Operations: ['41+6=47', '97-76=21'] Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,73 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[41, 97, 70], Operations: ['76-6=70'] Exploring Operation: 97-70=27, Resulting Numbers: [41, 27] Generated Node #0,2,0: 73:[41, 27] Operation: 97-70=27 Exploring Operation: 41+70=111, Resulting Numbers: [97, 111] Generated Node #0,2,1: 73:[97, 111] Operation: 41+70=111 Exploring Operation: 70-41=29, Resulting Numbers: [97, 29] Generated Node #0,2,2: 73:[97, 29] Operation: 70-41=29 Exploring Operation: 41+97=138, Resulting Numbers: [70, 138] Generated Node #0,2,3: 73:[70, 138] Operation: 41+97=138 Exploring Operation: 97-41=56, Resulting Numbers: [70, 56] Generated Node #0,2,4: 73:[70, 56] Operation: 97-41=56 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 73:[70, 56], Operations: ['76-6=70', '97-41=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,73 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[97, 111], Operations: ['76-6=70', '41+70=111'] Exploring Operation: 97*111=10767, Resulting Numbers: [10767] 10767,73 unequal: No Solution Exploring Operation: 111-97=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 97+111=208, Resulting Numbers: [208] 208,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[97, 29], Operations: ['76-6=70', '70-41=29'] Exploring Operation: 97+29=126, Resulting Numbers: [126] 126,73 unequal: No Solution Exploring Operation: 97*29=2813, Resulting Numbers: [2813] 2813,73 unequal: No Solution Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 73:[70, 138], Operations: ['76-6=70', '41+97=138'] Exploring Operation: 138-70=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 70*138=9660, Resulting Numbers: [9660] 9660,73 unequal: No Solution Exploring Operation: 70+138=208, Resulting Numbers: [208] 208,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[41, 27], Operations: ['76-6=70', '97-70=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,73 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[41, 97, 82], Operations: ['6+76=82'] Exploring Operation: 41+97=138, Resulting Numbers: [82, 138] Generated Node #0,1,0: 73:[82, 138] Operation: 41+97=138 Exploring Operation: 97-82=15, Resulting Numbers: [41, 15] Generated Node #0,1,1: 73:[41, 15] Operation: 97-82=15 Exploring Operation: 97-41=56, Resulting Numbers: [82, 56] Generated Node #0,1,2: 73:[82, 56] Operation: 97-41=56 Exploring Operation: 82-41=41, Resulting Numbers: [97, 41] Generated Node #0,1,3: 73:[97, 41] Operation: 82-41=41 Exploring Operation: 41+82=123, Resulting Numbers: [97, 123] Generated Node #0,1,4: 73:[97, 123] Operation: 41+82=123 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[82, 56], Operations: ['6+76=82', '97-41=56'] Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 82+56=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 82*56=4592, Resulting Numbers: [4592] 4592,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 73:[97, 41], Operations: ['6+76=82', '82-41=41'] Exploring Operation: 97+41=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 97*41=3977, Resulting Numbers: [3977] 3977,73 unequal: No Solution Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[82, 138], Operations: ['6+76=82', '41+97=138'] Exploring Operation: 138-82=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 82+138=220, Resulting Numbers: [220] 220,73 unequal: No Solution Exploring Operation: 82*138=11316, Resulting Numbers: [11316] 11316,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 73:[97, 123], Operations: ['6+76=82', '41+82=123'] Exploring Operation: 123-97=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 97+123=220, Resulting Numbers: [220] 220,73 unequal: No Solution Exploring Operation: 97*123=11931, Resulting Numbers: [11931] 11931,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[41, 15], Operations: ['6+76=82', '97-82=15'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,73 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[76, 97, 35], Operations: ['41-6=35'] Exploring Operation: 76+35=111, Resulting Numbers: [97, 111] Generated Node #0,3,0: 73:[97, 111] Operation: 76+35=111 Exploring Operation: 76-35=41, Resulting Numbers: [97, 41] Generated Node #0,3,1: 73:[97, 41] Operation: 76-35=41 Exploring Operation: 97-35=62, Resulting Numbers: [76, 62] Generated Node #0,3,2: 73:[76, 62] Operation: 97-35=62 Exploring Operation: 97+35=132, Resulting Numbers: [76, 132] Generated Node #0,3,3: 73:[76, 132] Operation: 97+35=132 Exploring Operation: 97-76=21, Resulting Numbers: [35, 21] Generated Node #0,3,4: 73:[35, 21] Operation: 97-76=21 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 73:[76, 62], Operations: ['41-6=35', '97-35=62'] Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 76*62=4712, Resulting Numbers: [4712] 4712,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 73:[97, 41], Operations: ['41-6=35', '76-35=41'] Exploring Operation: 97*41=3977, Resulting Numbers: [3977] 3977,73 unequal: No Solution Exploring Operation: 97+41=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[97, 111], Operations: ['41-6=35', '76+35=111'] Exploring Operation: 111-97=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 97*111=10767, Resulting Numbers: [10767] 10767,73 unequal: No Solution Exploring Operation: 97+111=208, Resulting Numbers: [208] 208,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 73:[76, 132], Operations: ['41-6=35', '97+35=132'] Exploring Operation: 76*132=10032, Resulting Numbers: [10032] 10032,73 unequal: No Solution Exploring Operation: 76+132=208, Resulting Numbers: [208] 208,73 unequal: No Solution Exploring Operation: 132-76=56, Resulting Numbers: [56] 56,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 73:[35, 21], Operations: ['41-6=35', '97-76=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 43, 35, 42, 27 ]
93
[ "43+35=78", "42-27=15", "78+15=93" ]
Current State: 93:[43, 35, 42, 27], Operations: [] Exploring Operation: 43+35=78, Resulting Numbers: [42, 27, 78] Generated Node #2: [42, 27, 78] from Operation: 43+35=78 Current State: 93:[42, 27, 78], Operations: ['43+35=78'] Exploring Operation: 42-27=15, Resulting Numbers: [78, 15] Generated Node #3: [78, 15] from Operation: 42-27=15 Current State: 93:[78, 15], Operations: ['43+35=78', '42-27=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[43, 35, 42, 27], Operations: [] Exploring Operation: 43-42=1, Resulting Numbers: [35, 27, 1] Generated Node #0,0: 93:[35, 27, 1] Operation: 43-42=1 Moving to Node #0,0 Current State: 93:[35, 27, 1], Operations: ['43-42=1'] Exploring Operation: 35-27=8, Resulting Numbers: [1, 8] Generated Node #0,0,0: 93:[1, 8] Operation: 35-27=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[1, 8], Operations: ['43-42=1', '35-27=8'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,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
mult_heuristic
[ 21, 87, 46, 23 ]
68
[ "87-21=66", "46/23=2", "66+2=68" ]
Current State: 68:[21, 87, 46, 23], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [46, 23, 66] Generated Node #2: [46, 23, 66] from Operation: 87-21=66 Current State: 68:[46, 23, 66], Operations: ['87-21=66'] Exploring Operation: 46/23=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 46/23=2 Current State: 68:[66, 2], Operations: ['87-21=66', '46/23=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[21, 87, 46, 23], Operations: [] Exploring Operation: 87-46=41, Resulting Numbers: [21, 23, 41] Generated Node #0,0: 68:[21, 23, 41] Operation: 87-46=41 Exploring Operation: 87-21=66, Resulting Numbers: [46, 23, 66] Generated Node #0,1: 68:[46, 23, 66] Operation: 87-21=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[21, 23, 41], Operations: ['87-46=41'] Exploring Operation: 23-21=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 68:[41, 2] Operation: 23-21=2 Exploring Operation: 41-23=18, Resulting Numbers: [21, 18] Generated Node #0,0,1: 68:[21, 18] Operation: 41-23=18 Moving to Node #0,0,1 Current State: 68:[21, 18], Operations: ['87-46=41', '41-23=18'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[41, 2], Operations: ['87-46=41', '23-21=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,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 Current State: 68:[46, 23, 66], Operations: ['87-21=66'] Exploring Operation: 46+23=69, Resulting Numbers: [66, 69] Generated Node #0,1,0: 68:[66, 69] Operation: 46+23=69 Exploring Operation: 46/23=2, Resulting Numbers: [66, 2] Generated Node #0,1,1: 68:[66, 2] Operation: 46/23=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[66, 2], Operations: ['87-21=66', '46/23=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[21, 87, 46, 23], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [46, 23, 66] Generated Node #0,1: 68:[46, 23, 66] Operation: 87-21=66 Moving to Node #0,1 Current State: 68:[46, 23, 66], Operations: ['87-21=66'] Exploring Operation: 46/23=2, Resulting Numbers: [66, 2] Generated Node #0,1,1: 68:[66, 2] Operation: 46/23=2 Moving to Node #0,1,1 Current State: 68:[66, 2], Operations: ['87-21=66', '46/23=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 4, 66, 87, 15 ]
93
[ "4*15=60", "66+87=153", "153-60=93" ]
Current State: 93:[4, 66, 87, 15], Operations: [] Exploring Operation: 4*15=60, Resulting Numbers: [66, 87, 60] Generated Node #2: [66, 87, 60] from Operation: 4*15=60 Current State: 93:[66, 87, 60], Operations: ['4*15=60'] Exploring Operation: 66+87=153, Resulting Numbers: [60, 153] Generated Node #3: [60, 153] from Operation: 66+87=153 Current State: 93:[60, 153], Operations: ['4*15=60', '66+87=153'] Exploring Operation: 153-60=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[4, 66, 87, 15], Operations: [] Exploring Operation: 66+15=81, Resulting Numbers: [4, 87, 81] Generated Node #0,0: 93:[4, 87, 81] Operation: 66+15=81 Moving to Node #0,0 Current State: 93:[4, 87, 81], Operations: ['66+15=81'] Exploring Operation: 87-81=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 93:[4, 6] Operation: 87-81=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[4, 6], Operations: ['66+15=81', '87-81=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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
[ 50, 33, 63, 59 ]
13
[ "50-33=17", "63-59=4", "17-4=13" ]
Current State: 13:[50, 33, 63, 59], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [63, 59, 17] Generated Node #2: [63, 59, 17] from Operation: 50-33=17 Current State: 13:[63, 59, 17], Operations: ['50-33=17'] Exploring Operation: 63-59=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 63-59=4 Current State: 13:[17, 4], Operations: ['50-33=17', '63-59=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[50, 33, 63, 59], Operations: [] Exploring Operation: 63-50=13, Resulting Numbers: [33, 59, 13] Generated Node #0,0: 13:[33, 59, 13] Operation: 63-50=13 Exploring Operation: 63-59=4, Resulting Numbers: [50, 33, 4] Generated Node #0,1: 13:[50, 33, 4] Operation: 63-59=4 Exploring Operation: 50-33=17, Resulting Numbers: [63, 59, 17] Generated Node #0,2: 13:[63, 59, 17] Operation: 50-33=17 Exploring Operation: 59-50=9, Resulting Numbers: [33, 63, 9] Generated Node #0,3: 13:[33, 63, 9] Operation: 59-50=9 Moving to Node #0,0 Current State: 13:[33, 59, 13], Operations: ['63-50=13'] Exploring Operation: 59-33=26, Resulting Numbers: [13, 26] Generated Node #0,0,0: 13:[13, 26] Operation: 59-33=26 Exploring Operation: 33+59=92, Resulting Numbers: [13, 92] Generated Node #0,0,1: 13:[13, 92] Operation: 33+59=92 Exploring Operation: 33-13=20, Resulting Numbers: [59, 20] Generated Node #0,0,2: 13:[59, 20] Operation: 33-13=20 Exploring Operation: 59-13=46, Resulting Numbers: [33, 46] Generated Node #0,0,3: 13:[33, 46] Operation: 59-13=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[13, 26], Operations: ['63-50=13', '59-33=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,13 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[50, 33, 63, 59], Operations: [] Exploring Operation: 63-50=13, Resulting Numbers: [33, 59, 13] Generated Node #0,0: 13:[33, 59, 13] Operation: 63-50=13 Moving to Node #0,0 Current State: 13:[33, 59, 13], Operations: ['63-50=13'] Exploring Operation: 59-33=26, Resulting Numbers: [13, 26] Generated Node #0,0,0: 13:[13, 26] Operation: 59-33=26 Moving to Node #0,0,0 Current State: 13:[13, 26], Operations: ['63-50=13', '59-33=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 97, 41, 76, 60 ]
72
[ "97-41=56", "76-60=16", "56+16=72" ]
Current State: 72:[97, 41, 76, 60], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [76, 60, 56] Generated Node #2: [76, 60, 56] from Operation: 97-41=56 Current State: 72:[76, 60, 56], Operations: ['97-41=56'] Exploring Operation: 76-60=16, Resulting Numbers: [56, 16] Generated Node #3: [56, 16] from Operation: 76-60=16 Current State: 72:[56, 16], Operations: ['97-41=56', '76-60=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[97, 41, 76, 60], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [41, 60, 21] Generated Node #0,0: 72:[41, 60, 21] Operation: 97-76=21 Exploring Operation: 60-41=19, Resulting Numbers: [97, 76, 19] Generated Node #0,1: 72:[97, 76, 19] Operation: 60-41=19 Exploring Operation: 97-60=37, Resulting Numbers: [41, 76, 37] Generated Node #0,2: 72:[41, 76, 37] Operation: 97-60=37 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[41, 76, 37], Operations: ['97-60=37'] Exploring Operation: 76-41=35, Resulting Numbers: [37, 35] Generated Node #0,2,0: 72:[37, 35] Operation: 76-41=35 Exploring Operation: 76-37=39, Resulting Numbers: [41, 39] Generated Node #0,2,1: 72:[41, 39] Operation: 76-37=39 Exploring Operation: 41-37=4, Resulting Numbers: [76, 4] Generated Node #0,2,2: 72:[76, 4] Operation: 41-37=4 Moving to Node #0,2,0 Current State: 72:[37, 35], Operations: ['97-60=37', '76-41=35'] Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,72 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[97, 41, 76, 60], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [41, 76, 37] Generated Node #0,2: 72:[41, 76, 37] Operation: 97-60=37 Moving to Node #0,2 Current State: 72:[41, 76, 37], Operations: ['97-60=37'] Exploring Operation: 76-41=35, Resulting Numbers: [37, 35] Generated Node #0,2,0: 72:[37, 35] Operation: 76-41=35 Moving to Node #0,2,0 Current State: 72:[37, 35], Operations: ['97-60=37', '76-41=35'] Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 99, 12, 16, 3 ]
90
[ "99+3=102", "12*16=192", "192-102=90" ]
Current State: 90:[99, 12, 16, 3], Operations: [] Exploring Operation: 99+3=102, Resulting Numbers: [12, 16, 102] Generated Node #2: [12, 16, 102] from Operation: 99+3=102 Current State: 90:[12, 16, 102], Operations: ['99+3=102'] Exploring Operation: 12*16=192, Resulting Numbers: [102, 192] Generated Node #3: [102, 192] from Operation: 12*16=192 Current State: 90:[102, 192], Operations: ['99+3=102', '12*16=192'] Exploring Operation: 192-102=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[99, 12, 16, 3], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [12, 16, 33] Generated Node #0,0: 90:[12, 16, 33] Operation: 99/3=33 Exploring Operation: 99-12=87, Resulting Numbers: [16, 3, 87] Generated Node #0,1: 90:[16, 3, 87] Operation: 99-12=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[16, 3, 87], Operations: ['99-12=87'] Exploring Operation: 3+87=90, Resulting Numbers: [16, 90] Generated Node #0,1,0: 90:[16, 90] Operation: 3+87=90 Exploring Operation: 87/3=29, Resulting Numbers: [16, 29] Generated Node #0,1,1: 90:[16, 29] Operation: 87/3=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[16, 90], Operations: ['99-12=87', '3+87=90'] Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,90 unequal: No Solution Exploring Operation: 16+90=106, Resulting Numbers: [106] 106,90 unequal: No Solution No 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: 90:[16, 29], Operations: ['99-12=87', '87/3=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,90 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: 90:[12, 16, 33], Operations: ['99/3=33'] Exploring Operation: 12+33=45, Resulting Numbers: [16, 45] Generated Node #0,0,0: 90:[16, 45] Operation: 12+33=45 Exploring Operation: 33-16=17, Resulting Numbers: [12, 17] Generated Node #0,0,1: 90:[12, 17] Operation: 33-16=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[16, 45], Operations: ['99/3=33', '12+33=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,90 unequal: No Solution No 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: 90:[12, 17], Operations: ['99/3=33', '33-16=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 1, 35, 58, 50 ]
28
[ "1+35=36", "58-50=8", "36-8=28" ]
Current State: 28:[1, 35, 58, 50], Operations: [] Exploring Operation: 1+35=36, Resulting Numbers: [58, 50, 36] Generated Node #2: [58, 50, 36] from Operation: 1+35=36 Current State: 28:[58, 50, 36], Operations: ['1+35=36'] Exploring Operation: 58-50=8, Resulting Numbers: [36, 8] Generated Node #3: [36, 8] from Operation: 58-50=8 Current State: 28:[36, 8], Operations: ['1+35=36', '58-50=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[1, 35, 58, 50], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [1, 50, 23] Generated Node #0,0: 28:[1, 50, 23] Operation: 58-35=23 Exploring Operation: 35-1=34, Resulting Numbers: [58, 50, 34] Generated Node #0,1: 28:[58, 50, 34] Operation: 35-1=34 Exploring Operation: 50-35=15, Resulting Numbers: [1, 58, 15] Generated Node #0,2: 28:[1, 58, 15] Operation: 50-35=15 Exploring Operation: 58-50=8, Resulting Numbers: [1, 35, 8] Generated Node #0,3: 28:[1, 35, 8] Operation: 58-50=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[1, 35, 8], Operations: ['58-50=8'] Exploring Operation: 35-8=27, Resulting Numbers: [1, 27] Generated Node #0,3,0: 28:[1, 27] Operation: 35-8=27 Exploring Operation: 8-1=7, Resulting Numbers: [35, 7] Generated Node #0,3,1: 28:[35, 7] Operation: 8-1=7 Exploring Operation: 35-1=34, Resulting Numbers: [8, 34] Generated Node #0,3,2: 28:[8, 34] Operation: 35-1=34 Exploring Operation: 1*35=35, Resulting Numbers: [8, 35] Generated Node #0,3,3: 28:[8, 35] Operation: 1*35=35 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[1, 27], Operations: ['58-50=8', '35-8=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[1, 35, 58, 50], Operations: [] Exploring Operation: 58-50=8, Resulting Numbers: [1, 35, 8] Generated Node #0,3: 28:[1, 35, 8] Operation: 58-50=8 Moving to Node #0,3 Current State: 28:[1, 35, 8], Operations: ['58-50=8'] Exploring Operation: 35-8=27, Resulting Numbers: [1, 27] Generated Node #0,3,0: 28:[1, 27] Operation: 35-8=27 Moving to Node #0,3,0 Current State: 28:[1, 27], Operations: ['58-50=8', '35-8=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 87, 45, 79, 24 ]
97
[ "87-45=42", "79-24=55", "42+55=97" ]
Current State: 97:[87, 45, 79, 24], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [79, 24, 42] Generated Node #2: [79, 24, 42] from Operation: 87-45=42 Current State: 97:[79, 24, 42], Operations: ['87-45=42'] Exploring Operation: 79-24=55, Resulting Numbers: [42, 55] Generated Node #3: [42, 55] from Operation: 79-24=55 Current State: 97:[42, 55], Operations: ['87-45=42', '79-24=55'] Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[87, 45, 79, 24], Operations: [] Exploring Operation: 79+24=103, Resulting Numbers: [87, 45, 103] Generated Node #0,0: 97:[87, 45, 103] Operation: 79+24=103 Exploring Operation: 45+24=69, Resulting Numbers: [87, 79, 69] Generated Node #0,1: 97:[87, 79, 69] Operation: 45+24=69 Exploring Operation: 87-24=63, Resulting Numbers: [45, 79, 63] Generated Node #0,2: 97:[45, 79, 63] Operation: 87-24=63 Exploring Operation: 87+24=111, Resulting Numbers: [45, 79, 111] Generated Node #0,3: 97:[45, 79, 111] Operation: 87+24=111 Moving to Node #0,1 Current State: 97:[87, 79, 69], Operations: ['45+24=69'] Exploring Operation: 87+79=166, Resulting Numbers: [69, 166] Generated Node #0,1,0: 97:[69, 166] Operation: 87+79=166 Exploring Operation: 87+69=156, Resulting Numbers: [79, 156] Generated Node #0,1,1: 97:[79, 156] Operation: 87+69=156 Exploring Operation: 87-69=18, Resulting Numbers: [79, 18] Generated Node #0,1,2: 97:[79, 18] Operation: 87-69=18 Exploring Operation: 79+69=148, Resulting Numbers: [87, 148] Generated Node #0,1,3: 97:[87, 148] Operation: 79+69=148 Moving to Node #0,0 Current State: 97:[87, 45, 103], Operations: ['79+24=103'] Exploring Operation: 87+45=132, Resulting Numbers: [103, 132] Generated Node #0,0,0: 97:[103, 132] Operation: 87+45=132 Exploring Operation: 103-45=58, Resulting Numbers: [87, 58] Generated Node #0,0,1: 97:[87, 58] Operation: 103-45=58 Exploring Operation: 45+103=148, Resulting Numbers: [87, 148] Generated Node #0,0,2: 97:[87, 148] Operation: 45+103=148 Exploring Operation: 87-45=42, Resulting Numbers: [103, 42] Generated Node #0,0,3: 97:[103, 42] Operation: 87-45=42 Moving to Node #0,3 Current State: 97:[45, 79, 111], Operations: ['87+24=111'] Exploring Operation: 45+111=156, Resulting Numbers: [79, 156] Generated Node #0,3,0: 97:[79, 156] Operation: 45+111=156 Exploring Operation: 45+79=124, Resulting Numbers: [111, 124] Generated Node #0,3,1: 97:[111, 124] Operation: 45+79=124 Exploring Operation: 79-45=34, Resulting Numbers: [111, 34] Generated Node #0,3,2: 97:[111, 34] Operation: 79-45=34 Exploring Operation: 111-45=66, Resulting Numbers: [79, 66] Generated Node #0,3,3: 97:[79, 66] Operation: 111-45=66 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[111, 124], Operations: ['87+24=111', '45+79=124'] Exploring Operation: 124-111=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 111+124=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 111*124=13764, Resulting Numbers: [13764] 13764,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[79, 66], Operations: ['87+24=111', '111-45=66'] Exploring Operation: 79+66=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 79*66=5214, Resulting Numbers: [5214] 5214,97 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[79, 156], Operations: ['87+24=111', '45+111=156'] Exploring Operation: 156-79=77, Resulting Numbers: [77] 77,97 unequal: No Solution Exploring Operation: 79+156=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 79*156=12324, Resulting Numbers: [12324] 12324,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[111, 34], Operations: ['87+24=111', '79-45=34'] Exploring Operation: 111-34=77, Resulting Numbers: [77] 77,97 unequal: No Solution Exploring Operation: 111*34=3774, Resulting Numbers: [3774] 3774,97 unequal: No Solution Exploring Operation: 111+34=145, Resulting Numbers: [145] 145,97 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: 97:[45, 79, 63], Operations: ['87-24=63'] Exploring Operation: 45+79=124, Resulting Numbers: [63, 124] Generated Node #0,2,0: 97:[63, 124] Operation: 45+79=124 Exploring Operation: 63-45=18, Resulting Numbers: [79, 18] Generated Node #0,2,1: 97:[79, 18] Operation: 63-45=18 Exploring Operation: 45+63=108, Resulting Numbers: [79, 108] Generated Node #0,2,2: 97:[79, 108] Operation: 45+63=108 Exploring Operation: 79-45=34, Resulting Numbers: [63, 34] Generated Node #0,2,3: 97:[63, 34] Operation: 79-45=34 Moving to Node #0,2,2 Current State: 97:[79, 108], Operations: ['87-24=63', '45+63=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,97 unequal: No Solution Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[103, 132], Operations: ['79+24=103', '87+45=132'] Exploring Operation: 103+132=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 132-103=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 103*132=13596, Resulting Numbers: [13596] 13596,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[87, 58], Operations: ['79+24=103', '103-45=58'] Exploring Operation: 87+58=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 87*58=5046, Resulting Numbers: [5046] 5046,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[87, 148], Operations: ['79+24=103', '45+103=148'] Exploring Operation: 87+148=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 148-87=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 87*148=12876, Resulting Numbers: [12876] 12876,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[63, 124], Operations: ['87-24=63', '45+79=124'] Exploring Operation: 63*124=7812, Resulting Numbers: [7812] 7812,97 unequal: No Solution Exploring Operation: 124-63=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 63+124=187, Resulting Numbers: [187] 187,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[87, 148], Operations: ['45+24=69', '79+69=148'] Exploring Operation: 148-87=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 87*148=12876, Resulting Numbers: [12876] 12876,97 unequal: No Solution Exploring Operation: 87+148=235, Resulting Numbers: [235] 235,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[103, 42], Operations: ['79+24=103', '87-45=42'] Exploring Operation: 103+42=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 103*42=4326, Resulting Numbers: [4326] 4326,97 unequal: No Solution Exploring Operation: 103-42=61, Resulting Numbers: [61] 61,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[79, 156], Operations: ['45+24=69', '87+69=156'] Exploring Operation: 79+156=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 156-79=77, Resulting Numbers: [77] 77,97 unequal: No Solution Exploring Operation: 79*156=12324, Resulting Numbers: [12324] 12324,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[79, 18], Operations: ['87-24=63', '63-45=18'] Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,97 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[87, 45, 79, 24], Operations: [] Exploring Operation: 87-24=63, Resulting Numbers: [45, 79, 63] Generated Node #0,2: 97:[45, 79, 63] Operation: 87-24=63 Moving to Node #0,2 Current State: 97:[45, 79, 63], Operations: ['87-24=63'] Exploring Operation: 63-45=18, Resulting Numbers: [79, 18] Generated Node #0,2,1: 97:[79, 18] Operation: 63-45=18 Moving to Node #0,2,1 Current State: 97:[79, 18], Operations: ['87-24=63', '63-45=18'] Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 52, 6, 43, 66 ]
44
[ "52-43=9", "6*66=396", "396/9=44" ]
Current State: 44:[52, 6, 43, 66], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [6, 66, 9] Generated Node #2: [6, 66, 9] from Operation: 52-43=9 Current State: 44:[6, 66, 9], Operations: ['52-43=9'] Exploring Operation: 6*66=396, Resulting Numbers: [9, 396] Generated Node #3: [9, 396] from Operation: 6*66=396 Current State: 44:[9, 396], Operations: ['52-43=9', '6*66=396'] Exploring Operation: 396/9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[52, 6, 43, 66], Operations: [] Exploring Operation: 66-6=60, Resulting Numbers: [52, 43, 60] Generated Node #0,0: 44:[52, 43, 60] Operation: 66-6=60 Exploring Operation: 66-43=23, Resulting Numbers: [52, 6, 23] Generated Node #0,1: 44:[52, 6, 23] Operation: 66-43=23 Exploring Operation: 66/6=11, Resulting Numbers: [52, 43, 11] Generated Node #0,2: 44:[52, 43, 11] Operation: 66/6=11 Exploring Operation: 66-52=14, Resulting Numbers: [6, 43, 14] Generated Node #0,3: 44:[6, 43, 14] Operation: 66-52=14 Exploring Operation: 52-6=46, Resulting Numbers: [43, 66, 46] Generated Node #0,4: 44:[43, 66, 46] Operation: 52-6=46 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[6, 43, 14], Operations: ['66-52=14'] Exploring Operation: 6+43=49, Resulting Numbers: [14, 49] Generated Node #0,3,0: 44:[14, 49] Operation: 6+43=49 Exploring Operation: 43-6=37, Resulting Numbers: [14, 37] Generated Node #0,3,1: 44:[14, 37] Operation: 43-6=37 Exploring Operation: 6+14=20, Resulting Numbers: [43, 20] Generated Node #0,3,2: 44:[43, 20] Operation: 6+14=20 Exploring Operation: 14-6=8, Resulting Numbers: [43, 8] Generated Node #0,3,3: 44:[43, 8] Operation: 14-6=8 Exploring Operation: 43-14=29, Resulting Numbers: [6, 29] Generated Node #0,3,4: 44:[6, 29] Operation: 43-14=29 Moving to Node #0,3,2 Current State: 44:[43, 20], Operations: ['66-52=14', '6+14=20'] Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,44 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[43, 8], Operations: ['66-52=14', '14-6=8'] Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,44 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[14, 49], Operations: ['66-52=14', '6+43=49'] Exploring Operation: 14*49=686, Resulting Numbers: [686] 686,44 unequal: No Solution Exploring Operation: 14+49=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[6, 29], Operations: ['66-52=14', '43-14=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[14, 37], Operations: ['66-52=14', '43-6=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[52, 43, 11], Operations: ['66/6=11'] Exploring Operation: 52+11=63, Resulting Numbers: [43, 63] Generated Node #0,2,0: 44:[43, 63] Operation: 52+11=63 Exploring Operation: 43+11=54, Resulting Numbers: [52, 54] Generated Node #0,2,1: 44:[52, 54] Operation: 43+11=54 Exploring Operation: 43-11=32, Resulting Numbers: [52, 32] Generated Node #0,2,2: 44:[52, 32] Operation: 43-11=32 Exploring Operation: 52-43=9, Resulting Numbers: [11, 9] Generated Node #0,2,3: 44:[11, 9] Operation: 52-43=9 Exploring Operation: 52-11=41, Resulting Numbers: [43, 41] Generated Node #0,2,4: 44:[43, 41] Operation: 52-11=41 Moving to Node #0,2,3 Current State: 44:[11, 9], Operations: ['66/6=11', '52-43=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[43, 41], Operations: ['66/6=11', '52-11=41'] Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,44 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[52, 54], Operations: ['66/6=11', '43+11=54'] Exploring Operation: 54-52=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 52*54=2808, Resulting Numbers: [2808] 2808,44 unequal: No Solution Exploring Operation: 52+54=106, Resulting Numbers: [106] 106,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[52, 32], Operations: ['66/6=11', '43-11=32'] Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,44 unequal: No Solution Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[43, 63], Operations: ['66/6=11', '52+11=63'] Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,44 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,44 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[52, 6, 23], Operations: ['66-43=23'] Exploring Operation: 52-23=29, Resulting Numbers: [6, 29] Generated Node #0,1,0: 44:[6, 29] Operation: 52-23=29 Exploring Operation: 23-6=17, Resulting Numbers: [52, 17] Generated Node #0,1,1: 44:[52, 17] Operation: 23-6=17 Exploring Operation: 6+23=29, Resulting Numbers: [52, 29] Generated Node #0,1,2: 44:[52, 29] Operation: 6+23=29 Exploring Operation: 52+6=58, Resulting Numbers: [23, 58] Generated Node #0,1,3: 44:[23, 58] Operation: 52+6=58 Exploring Operation: 52-6=46, Resulting Numbers: [23, 46] Generated Node #0,1,4: 44:[23, 46] Operation: 52-6=46 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 44:[23, 46], Operations: ['66-43=23', '52-6=46'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 23*46=1058, Resulting Numbers: [1058] 1058,44 unequal: No Solution Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[6, 29], Operations: ['66-43=23', '52-23=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[52, 17], Operations: ['66-43=23', '23-6=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,44 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[52, 29], Operations: ['66-43=23', '6+23=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,44 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[23, 58], Operations: ['66-43=23', '52+6=58'] Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,44 unequal: No Solution Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[52, 43, 60], Operations: ['66-6=60'] Exploring Operation: 60-43=17, Resulting Numbers: [52, 17] Generated Node #0,0,0: 44:[52, 17] Operation: 60-43=17 Exploring Operation: 52+43=95, Resulting Numbers: [60, 95] Generated Node #0,0,1: 44:[60, 95] Operation: 52+43=95 Exploring Operation: 60-52=8, Resulting Numbers: [43, 8] Generated Node #0,0,2: 44:[43, 8] Operation: 60-52=8 Exploring Operation: 43+60=103, Resulting Numbers: [52, 103] Generated Node #0,0,3: 44:[52, 103] Operation: 43+60=103 Exploring Operation: 52-43=9, Resulting Numbers: [60, 9] Generated Node #0,0,4: 44:[60, 9] Operation: 52-43=9 Moving to Node #0,0,2 Current State: 44:[43, 8], Operations: ['66-6=60', '60-52=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[52, 17], Operations: ['66-6=60', '60-43=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,44 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,44 unequal: No Solution Moving to Node #0,0,4 Current State: 44:[60, 9], Operations: ['66-6=60', '52-43=9'] Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,44 unequal: No Solution Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[60, 95], Operations: ['66-6=60', '52+43=95'] Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 60*95=5700, Resulting Numbers: [5700] 5700,44 unequal: No Solution Exploring Operation: 60+95=155, Resulting Numbers: [155] 155,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[52, 103], Operations: ['66-6=60', '43+60=103'] Exploring Operation: 103-52=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 52*103=5356, Resulting Numbers: [5356] 5356,44 unequal: No Solution Exploring Operation: 52+103=155, Resulting Numbers: [155] 155,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 44:[43, 66, 46], Operations: ['52-6=46'] Exploring Operation: 66-43=23, Resulting Numbers: [46, 23] Generated Node #0,4,0: 44:[46, 23] Operation: 66-43=23 Exploring Operation: 66-46=20, Resulting Numbers: [43, 20] Generated Node #0,4,1: 44:[43, 20] Operation: 66-46=20 Exploring Operation: 43+46=89, Resulting Numbers: [66, 89] Generated Node #0,4,2: 44:[66, 89] Operation: 43+46=89 Exploring Operation: 46-43=3, Resulting Numbers: [66, 3] Generated Node #0,4,3: 44:[66, 3] Operation: 46-43=3 Exploring Operation: 43+66=109, Resulting Numbers: [46, 109] Generated Node #0,4,4: 44:[46, 109] Operation: 43+66=109 Moving to Node #0,4,0 Current State: 44:[46, 23], Operations: ['52-6=46', '66-43=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 46*23=1058, Resulting Numbers: [1058] 1058,44 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[43, 20], Operations: ['52-6=46', '66-46=20'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,44 unequal: No Solution Moving to Node #0,4,3 Current State: 44:[66, 3], Operations: ['52-6=46', '46-43=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,44 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,44 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,44 unequal: No Solution Moving to Node #0,4,2 Current State: 44:[66, 89], Operations: ['52-6=46', '43+46=89'] Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,44 unequal: No Solution Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,44 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,4,4 Current State: 44:[46, 109], Operations: ['52-6=46', '43+66=109'] Exploring Operation: 109-46=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 46+109=155, Resulting Numbers: [155] 155,44 unequal: No Solution Exploring Operation: 46*109=5014, Resulting Numbers: [5014] 5014,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 33, 2, 48, 7 ]
20
[ "33+2=35", "48+7=55", "55-35=20" ]
Current State: 20:[33, 2, 48, 7], Operations: [] Exploring Operation: 33+2=35, Resulting Numbers: [48, 7, 35] Generated Node #2: [48, 7, 35] from Operation: 33+2=35 Current State: 20:[48, 7, 35], Operations: ['33+2=35'] Exploring Operation: 48+7=55, Resulting Numbers: [35, 55] Generated Node #3: [35, 55] from Operation: 48+7=55 Current State: 20:[35, 55], Operations: ['33+2=35', '48+7=55'] Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[33, 2, 48, 7], Operations: [] Exploring Operation: 48-33=15, Resulting Numbers: [2, 7, 15] Generated Node #0,0: 20:[2, 7, 15] Operation: 48-33=15 Exploring Operation: 48-7=41, Resulting Numbers: [33, 2, 41] Generated Node #0,1: 20:[33, 2, 41] Operation: 48-7=41 Exploring Operation: 48/2=24, Resulting Numbers: [33, 7, 24] Generated Node #0,2: 20:[33, 7, 24] Operation: 48/2=24 Exploring Operation: 33-7=26, Resulting Numbers: [2, 48, 26] Generated Node #0,3: 20:[2, 48, 26] Operation: 33-7=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[2, 7, 15], Operations: ['48-33=15'] Exploring Operation: 7+15=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 20:[2, 22] Operation: 7+15=22 Exploring Operation: 7-2=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 20:[15, 5] Operation: 7-2=5 Exploring Operation: 15-7=8, Resulting Numbers: [2, 8] Generated Node #0,0,2: 20:[2, 8] Operation: 15-7=8 Exploring Operation: 2+15=17, Resulting Numbers: [7, 17] Generated Node #0,0,3: 20:[7, 17] Operation: 2+15=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[2, 22], Operations: ['48-33=15', '7+15=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[33, 2, 48, 7], Operations: [] Exploring Operation: 48-33=15, Resulting Numbers: [2, 7, 15] Generated Node #0,0: 20:[2, 7, 15] Operation: 48-33=15 Moving to Node #0,0 Current State: 20:[2, 7, 15], Operations: ['48-33=15'] Exploring Operation: 7+15=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 20:[2, 22] Operation: 7+15=22 Moving to Node #0,0,0 Current State: 20:[2, 22], Operations: ['48-33=15', '7+15=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 59, 84, 80, 80 ]
84
[ "80-59=21", "84-80=4", "21*4=84" ]
Current State: 84:[59, 84, 80, 80], Operations: [] Exploring Operation: 80-59=21, Resulting Numbers: [84, 21] Generated Node #2: [84, 21] from Operation: 80-59=21 Current State: 84:[84, 21], Operations: ['80-59=21'] Exploring Operation: 84-80=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 84-80=4 Current State: 84:[21, 4], Operations: ['80-59=21', '84-80=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[59, 84, 80, 80], Operations: [] Exploring Operation: 80-59=21, Resulting Numbers: [84, 80, 21] Generated Node #0,0: 84:[84, 80, 21] Operation: 80-59=21 Moving to Node #0,0 Current State: 84:[84, 80, 21], Operations: ['80-59=21'] Exploring Operation: 84-80=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 84:[21, 4] Operation: 84-80=4 Moving to Node #0,0,0 Current State: 84:[21, 4], Operations: ['80-59=21', '84-80=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[59, 84, 80, 80], Operations: [] Exploring Operation: 80-59=21, Resulting Numbers: [84, 80, 21] Generated Node #0,0: 84:[84, 80, 21] Operation: 80-59=21 Moving to Node #0,0 Current State: 84:[84, 80, 21], Operations: ['80-59=21'] Exploring Operation: 84-80=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 84:[21, 4] Operation: 84-80=4 Moving to Node #0,0,0 Current State: 84:[21, 4], Operations: ['80-59=21', '84-80=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 31, 33, 29, 49 ]
76
[ "33-31=2", "29+49=78", "78-2=76" ]
Current State: 76:[31, 33, 29, 49], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [29, 49, 2] Generated Node #2: [29, 49, 2] from Operation: 33-31=2 Current State: 76:[29, 49, 2], Operations: ['33-31=2'] Exploring Operation: 29+49=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 29+49=78 Current State: 76:[2, 78], Operations: ['33-31=2', '29+49=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[31, 33, 29, 49], Operations: [] Exploring Operation: 29+49=78, Resulting Numbers: [31, 33, 78] Generated Node #0,0: 76:[31, 33, 78] Operation: 29+49=78 Exploring Operation: 49-31=18, Resulting Numbers: [33, 29, 18] Generated Node #0,1: 76:[33, 29, 18] Operation: 49-31=18 Exploring Operation: 49-29=20, Resulting Numbers: [31, 33, 20] Generated Node #0,2: 76:[31, 33, 20] Operation: 49-29=20 Exploring Operation: 31+49=80, Resulting Numbers: [33, 29, 80] Generated Node #0,3: 76:[33, 29, 80] Operation: 31+49=80 Exploring Operation: 31-29=2, Resulting Numbers: [33, 49, 2] Generated Node #0,4: 76:[33, 49, 2] Operation: 31-29=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[31, 33, 20], Operations: ['49-29=20'] Exploring Operation: 31-20=11, Resulting Numbers: [33, 11] Generated Node #0,2,0: 76:[33, 11] Operation: 31-20=11 Exploring Operation: 31+33=64, Resulting Numbers: [20, 64] Generated Node #0,2,1: 76:[20, 64] Operation: 31+33=64 Exploring Operation: 33-20=13, Resulting Numbers: [31, 13] Generated Node #0,2,2: 76:[31, 13] Operation: 33-20=13 Exploring Operation: 33-31=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 76:[20, 2] Operation: 33-31=2 Exploring Operation: 31+20=51, Resulting Numbers: [33, 51] Generated Node #0,2,4: 76:[33, 51] Operation: 31+20=51 Moving to Node #0,2,3 Current State: 76:[20, 2], Operations: ['49-29=20', '33-31=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[33, 11], Operations: ['49-29=20', '31-20=11'] Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,76 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[20, 64], Operations: ['49-29=20', '31+33=64'] Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,76 unequal: No Solution Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[31, 13], Operations: ['49-29=20', '33-20=13'] Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,76 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,76 unequal: No Solution Moving to Node #0,2,4 Current State: 76:[33, 51], Operations: ['49-29=20', '31+20=51'] Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,76 unequal: No Solution Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,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,0 Current State: 76:[31, 33, 78], Operations: ['29+49=78'] Exploring Operation: 31+33=64, Resulting Numbers: [78, 64] Generated Node #0,0,0: 76:[78, 64] Operation: 31+33=64 Exploring Operation: 78-31=47, Resulting Numbers: [33, 47] Generated Node #0,0,1: 76:[33, 47] Operation: 78-31=47 Exploring Operation: 33-31=2, Resulting Numbers: [78, 2] Generated Node #0,0,2: 76:[78, 2] Operation: 33-31=2 Exploring Operation: 31+78=109, Resulting Numbers: [33, 109] Generated Node #0,0,3: 76:[33, 109] Operation: 31+78=109 Exploring Operation: 78-33=45, Resulting Numbers: [31, 45] Generated Node #0,0,4: 76:[31, 45] Operation: 78-33=45 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 76:[78, 2], Operations: ['29+49=78', '33-31=2'] Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[31, 33, 29, 49], Operations: [] Exploring Operation: 29+49=78, Resulting Numbers: [31, 33, 78] Generated Node #0,0: 76:[31, 33, 78] Operation: 29+49=78 Moving to Node #0,0 Current State: 76:[31, 33, 78], Operations: ['29+49=78'] Exploring Operation: 33-31=2, Resulting Numbers: [78, 2] Generated Node #0,0,2: 76:[78, 2] Operation: 33-31=2 Moving to Node #0,0,2 Current State: 76:[78, 2], Operations: ['29+49=78', '33-31=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 3, 44, 19, 4 ]
24
[ "3+44=47", "19+4=23", "47-23=24" ]
Current State: 24:[3, 44, 19, 4], Operations: [] Exploring Operation: 3+44=47, Resulting Numbers: [19, 4, 47] Generated Node #2: [19, 4, 47] from Operation: 3+44=47 Current State: 24:[19, 4, 47], Operations: ['3+44=47'] Exploring Operation: 19+4=23, Resulting Numbers: [47, 23] Generated Node #3: [47, 23] from Operation: 19+4=23 Current State: 24:[47, 23], Operations: ['3+44=47', '19+4=23'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[3, 44, 19, 4], Operations: [] Exploring Operation: 44-4=40, Resulting Numbers: [3, 19, 40] Generated Node #0,0: 24:[3, 19, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [3, 19, 11] Generated Node #0,1: 24:[3, 19, 11] Operation: 44/4=11 Exploring Operation: 44-19=25, Resulting Numbers: [3, 4, 25] Generated Node #0,2: 24:[3, 4, 25] Operation: 44-19=25 Moving to Node #0,2 Current State: 24:[3, 4, 25], Operations: ['44-19=25'] Exploring Operation: 3*4=12, Resulting Numbers: [25, 12] Generated Node #0,2,0: 24:[25, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [25, 7] Generated Node #0,2,1: 24:[25, 7] Operation: 3+4=7 Exploring Operation: 4-3=1, Resulting Numbers: [25, 1] Generated Node #0,2,2: 24:[25, 1] Operation: 4-3=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[25, 12], Operations: ['44-19=25', '3*4=12'] Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,24 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,24 unequal: No Solution No 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: 24:[25, 7], Operations: ['44-19=25', '3+4=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,24 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,24 unequal: No Solution No 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: 24:[25, 1], Operations: ['44-19=25', '4-3=1'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[3, 44, 19, 4], Operations: [] Exploring Operation: 44-19=25, Resulting Numbers: [3, 4, 25] Generated Node #0,2: 24:[3, 4, 25] Operation: 44-19=25 Moving to Node #0,2 Current State: 24:[3, 4, 25], Operations: ['44-19=25'] Exploring Operation: 4-3=1, Resulting Numbers: [25, 1] Generated Node #0,2,2: 24:[25, 1] Operation: 4-3=1 Moving to Node #0,2,2 Current State: 24:[25, 1], Operations: ['44-19=25', '4-3=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 30, 9, 11, 48 ]
21
[ "30+48=78", "9*11=99", "99-78=21" ]
Current State: 21:[30, 9, 11, 48], Operations: [] Exploring Operation: 30+48=78, Resulting Numbers: [9, 11, 78] Generated Node #2: [9, 11, 78] from Operation: 30+48=78 Current State: 21:[9, 11, 78], Operations: ['30+48=78'] Exploring Operation: 9*11=99, Resulting Numbers: [78, 99] Generated Node #3: [78, 99] from Operation: 9*11=99 Current State: 21:[78, 99], Operations: ['30+48=78', '9*11=99'] Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[30, 9, 11, 48], Operations: [] Exploring Operation: 48-30=18, Resulting Numbers: [9, 11, 18] Generated Node #0,0: 21:[9, 11, 18] Operation: 48-30=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[9, 11, 18], Operations: ['48-30=18'] Exploring Operation: 18-11=7, Resulting Numbers: [9, 7] Generated Node #0,0,0: 21:[9, 7] Operation: 18-11=7 Moving to Node #0,0,0 Current State: 21:[9, 7], Operations: ['48-30=18', '18-11=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,21 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
[ 43, 4, 96, 86 ]
12
[ "43*96=4128", "4*86=344", "4128/344=12" ]
Current State: 12:[43, 4, 96, 86], Operations: [] Exploring Operation: 43*96=4128, Resulting Numbers: [4, 86, 4128] Generated Node #2: [4, 86, 4128] from Operation: 43*96=4128 Current State: 12:[4, 86, 4128], Operations: ['43*96=4128'] Exploring Operation: 4*86=344, Resulting Numbers: [4128, 344] Generated Node #3: [4128, 344] from Operation: 4*86=344 Current State: 12:[4128, 344], Operations: ['43*96=4128', '4*86=344'] Exploring Operation: 4128/344=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[43, 4, 96, 86], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [43, 86, 24] Generated Node #0,0: 12:[43, 86, 24] Operation: 96/4=24 Exploring Operation: 86-43=43, Resulting Numbers: [4, 96, 43] Generated Node #0,1: 12:[4, 96, 43] Operation: 86-43=43 Exploring Operation: 96-43=53, Resulting Numbers: [4, 86, 53] Generated Node #0,2: 12:[4, 86, 53] Operation: 96-43=53 Exploring Operation: 86/43=2, Resulting Numbers: [4, 96, 2] Generated Node #0,3: 12:[4, 96, 2] Operation: 86/43=2 Exploring Operation: 96-86=10, Resulting Numbers: [43, 4, 10] Generated Node #0,4: 12:[43, 4, 10] Operation: 96-86=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[43, 4, 10], Operations: ['96-86=10'] Exploring Operation: 10-4=6, Resulting Numbers: [43, 6] Generated Node #0,4,0: 12:[43, 6] Operation: 10-4=6 Exploring Operation: 43+4=47, Resulting Numbers: [10, 47] Generated Node #0,4,1: 12:[10, 47] Operation: 43+4=47 Exploring Operation: 4+10=14, Resulting Numbers: [43, 14] Generated Node #0,4,2: 12:[43, 14] Operation: 4+10=14 Exploring Operation: 43-10=33, Resulting Numbers: [4, 33] Generated Node #0,4,3: 12:[4, 33] Operation: 43-10=33 Exploring Operation: 43-4=39, Resulting Numbers: [10, 39] Generated Node #0,4,4: 12:[10, 39] Operation: 43-4=39 Moving to Node #0,4,3 Current State: 12:[4, 33], Operations: ['96-86=10', '43-10=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,12 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[10, 39], Operations: ['96-86=10', '43-4=39'] Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,12 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[43, 6], Operations: ['96-86=10', '10-4=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,12 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[43, 14], Operations: ['96-86=10', '4+10=14'] Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[10, 47], Operations: ['96-86=10', '43+4=47'] Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,12 unequal: No Solution Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[4, 96, 2], Operations: ['86/43=2'] Exploring Operation: 4+2=6, Resulting Numbers: [96, 6] Generated Node #0,3,0: 12:[96, 6] Operation: 4+2=6 Exploring Operation: 96/4=24, Resulting Numbers: [2, 24] Generated Node #0,3,1: 12:[2, 24] Operation: 96/4=24 Exploring Operation: 96-2=94, Resulting Numbers: [4, 94] Generated Node #0,3,2: 12:[4, 94] Operation: 96-2=94 Exploring Operation: 96-4=92, Resulting Numbers: [2, 92] Generated Node #0,3,3: 12:[2, 92] Operation: 96-4=92 Exploring Operation: 96/2=48, Resulting Numbers: [4, 48] Generated Node #0,3,4: 12:[4, 48] Operation: 96/2=48 Moving to Node #0,3,1 Current State: 12:[2, 24], Operations: ['86/43=2', '96/4=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[43, 4, 96, 86], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [4, 96, 2] Generated Node #0,3: 12:[4, 96, 2] Operation: 86/43=2 Moving to Node #0,3 Current State: 12:[4, 96, 2], Operations: ['86/43=2'] Exploring Operation: 96/4=24, Resulting Numbers: [2, 24] Generated Node #0,3,1: 12:[2, 24] Operation: 96/4=24 Moving to Node #0,3,1 Current State: 12:[2, 24], Operations: ['86/43=2', '96/4=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 13, 76, 60, 80 ]
51
[ "13+76=89", "60+80=140", "140-89=51" ]
Current State: 51:[13, 76, 60, 80], Operations: [] Exploring Operation: 13+76=89, Resulting Numbers: [60, 80, 89] Generated Node #2: [60, 80, 89] from Operation: 13+76=89 Current State: 51:[60, 80, 89], Operations: ['13+76=89'] Exploring Operation: 60+80=140, Resulting Numbers: [89, 140] Generated Node #3: [89, 140] from Operation: 60+80=140 Current State: 51:[89, 140], Operations: ['13+76=89', '60+80=140'] Exploring Operation: 140-89=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[13, 76, 60, 80], Operations: [] Exploring Operation: 76-13=63, Resulting Numbers: [60, 80, 63] Generated Node #0,0: 51:[60, 80, 63] Operation: 76-13=63 Exploring Operation: 80-60=20, Resulting Numbers: [13, 76, 20] Generated Node #0,1: 51:[13, 76, 20] Operation: 80-60=20 Exploring Operation: 80-76=4, Resulting Numbers: [13, 60, 4] Generated Node #0,2: 51:[13, 60, 4] Operation: 80-76=4 Exploring Operation: 76-60=16, Resulting Numbers: [13, 80, 16] Generated Node #0,3: 51:[13, 80, 16] Operation: 76-60=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[13, 60, 4], Operations: ['80-76=4'] Exploring Operation: 60-13=47, Resulting Numbers: [4, 47] Generated Node #0,2,0: 51:[4, 47] Operation: 60-13=47 Exploring Operation: 60-4=56, Resulting Numbers: [13, 56] Generated Node #0,2,1: 51:[13, 56] Operation: 60-4=56 Exploring Operation: 13+4=17, Resulting Numbers: [60, 17] Generated Node #0,2,2: 51:[60, 17] Operation: 13+4=17 Exploring Operation: 60/4=15, Resulting Numbers: [13, 15] Generated Node #0,2,3: 51:[13, 15] Operation: 60/4=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[4, 47], Operations: ['80-76=4', '60-13=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,51 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[13, 76, 60, 80], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [13, 60, 4] Generated Node #0,2: 51:[13, 60, 4] Operation: 80-76=4 Moving to Node #0,2 Current State: 51:[13, 60, 4], Operations: ['80-76=4'] Exploring Operation: 60-13=47, Resulting Numbers: [4, 47] Generated Node #0,2,0: 51:[4, 47] Operation: 60-13=47 Moving to Node #0,2,0 Current State: 51:[4, 47], Operations: ['80-76=4', '60-13=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 63, 12, 52, 2 ]
43
[ "52-12=40", "40/2=20", "63-20=43" ]
Current State: 43:[63, 12, 52, 2], Operations: [] Exploring Operation: 52-12=40, Resulting Numbers: [63, 2, 40] Generated Node #2: [63, 2, 40] from Operation: 52-12=40 Current State: 43:[63, 2, 40], Operations: ['52-12=40'] Exploring Operation: 40/2=20, Resulting Numbers: [63, 20] Generated Node #3: [63, 20] from Operation: 40/2=20 Current State: 43:[63, 20], Operations: ['52-12=40', '40/2=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[63, 12, 52, 2], Operations: [] Exploring Operation: 12*2=24, Resulting Numbers: [63, 52, 24] Generated Node #0,0: 43:[63, 52, 24] Operation: 12*2=24 Exploring Operation: 63-2=61, Resulting Numbers: [12, 52, 61] Generated Node #0,1: 43:[12, 52, 61] Operation: 63-2=61 Exploring Operation: 63-12=51, Resulting Numbers: [52, 2, 51] Generated Node #0,2: 43:[52, 2, 51] Operation: 63-12=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[63, 52, 24], Operations: ['12*2=24'] Exploring Operation: 52-24=28, Resulting Numbers: [63, 28] Generated Node #0,0,0: 43:[63, 28] Operation: 52-24=28 Exploring Operation: 63-52=11, Resulting Numbers: [24, 11] Generated Node #0,0,1: 43:[24, 11] Operation: 63-52=11 Exploring Operation: 63-24=39, Resulting Numbers: [52, 39] Generated Node #0,0,2: 43:[52, 39] Operation: 63-24=39 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 43:[52, 39], Operations: ['12*2=24', '63-24=39'] Exploring Operation: 52*39=2028, Resulting Numbers: [2028] 2028,43 unequal: No Solution Exploring Operation: 52+39=91, Resulting Numbers: [91] 91,43 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[63, 28], Operations: ['12*2=24', '52-24=28'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,43 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[24, 11], Operations: ['12*2=24', '63-52=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[12, 52, 61], Operations: ['63-2=61'] Exploring Operation: 61-12=49, Resulting Numbers: [52, 49] Generated Node #0,1,0: 43:[52, 49] Operation: 61-12=49 Exploring Operation: 52-12=40, Resulting Numbers: [61, 40] Generated Node #0,1,1: 43:[61, 40] Operation: 52-12=40 Exploring Operation: 12+52=64, Resulting Numbers: [61, 64] Generated Node #0,1,2: 43:[61, 64] Operation: 12+52=64 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[52, 49], Operations: ['63-2=61', '61-12=49'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,43 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[61, 40], Operations: ['63-2=61', '52-12=40'] Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,43 unequal: No Solution Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,43 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[61, 64], Operations: ['63-2=61', '12+52=64'] Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 61+64=125, Resulting Numbers: [125] 125,43 unequal: No Solution Exploring Operation: 61*64=3904, Resulting Numbers: [3904] 3904,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[52, 2, 51], Operations: ['63-12=51'] Exploring Operation: 52+2=54, Resulting Numbers: [51, 54] Generated Node #0,2,0: 43:[51, 54] Operation: 52+2=54 Exploring Operation: 51-2=49, Resulting Numbers: [52, 49] Generated Node #0,2,1: 43:[52, 49] Operation: 51-2=49 Exploring Operation: 52-2=50, Resulting Numbers: [51, 50] Generated Node #0,2,2: 43:[51, 50] Operation: 52-2=50 Moving to Node #0,2,1 Current State: 43:[52, 49], Operations: ['63-12=51', '51-2=49'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,43 unequal: No Solution Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[51, 50], Operations: ['63-12=51', '52-2=50'] Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,43 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,43 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[51, 54], Operations: ['63-12=51', '52+2=54'] Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,43 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 19, 65, 16, 84 ]
37
[ "19-16=3", "84/3=28", "65-28=37" ]
Current State: 37:[19, 65, 16, 84], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [65, 84, 3] Generated Node #2: [65, 84, 3] from Operation: 19-16=3 Current State: 37:[65, 84, 3], Operations: ['19-16=3'] Exploring Operation: 84/3=28, Resulting Numbers: [65, 28] Generated Node #3: [65, 28] from Operation: 84/3=28 Current State: 37:[65, 28], Operations: ['19-16=3', '84/3=28'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[19, 65, 16, 84], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [19, 16, 19] Generated Node #0,0: 37:[19, 16, 19] Operation: 84-65=19 Exploring Operation: 19+16=35, Resulting Numbers: [65, 84, 35] Generated Node #0,1: 37:[65, 84, 35] Operation: 19+16=35 Exploring Operation: 65-19=46, Resulting Numbers: [16, 84, 46] Generated Node #0,2: 37:[16, 84, 46] Operation: 65-19=46 Moving to Node #0,0 Current State: 37:[19, 16, 19], Operations: ['84-65=19'] Exploring Operation: 16+19=35, Resulting Numbers: [19, 35] Generated Node #0,0,0: 37:[19, 35] Operation: 16+19=35 Exploring Operation: 19+16=35, Resulting Numbers: [19, 35] Generated Node #0,0,1: 37:[19, 35] Operation: 19+16=35 Exploring Operation: 19+19=38, Resulting Numbers: [16, 38] Generated Node #0,0,2: 37:[16, 38] Operation: 19+19=38 Moving to Node #0,1 Current State: 37:[65, 84, 35], Operations: ['19+16=35'] Exploring Operation: 84-65=19, Resulting Numbers: [35, 19] Generated Node #0,1,0: 37:[35, 19] Operation: 84-65=19 Exploring Operation: 84-35=49, Resulting Numbers: [65, 49] Generated Node #0,1,1: 37:[65, 49] Operation: 84-35=49 Exploring Operation: 65-35=30, Resulting Numbers: [84, 30] Generated Node #0,1,2: 37:[84, 30] Operation: 65-35=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[35, 19], Operations: ['19+16=35', '84-65=19'] Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,37 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[65, 49], Operations: ['19+16=35', '84-35=49'] Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,37 unequal: No Solution Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[84, 30], Operations: ['19+16=35', '65-35=30'] Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 84*30=2520, Resulting Numbers: [2520] 2520,37 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: 37:[16, 84, 46], Operations: ['65-19=46'] Exploring Operation: 84-16=68, Resulting Numbers: [46, 68] Generated Node #0,2,0: 37:[46, 68] Operation: 84-16=68 Exploring Operation: 84-46=38, Resulting Numbers: [16, 38] Generated Node #0,2,1: 37:[16, 38] Operation: 84-46=38 Exploring Operation: 46-16=30, Resulting Numbers: [84, 30] Generated Node #0,2,2: 37:[84, 30] Operation: 46-16=30 Moving to Node #0,0,0 Current State: 37:[19, 35], Operations: ['84-65=19', '16+19=35'] Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,37 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[19, 35], Operations: ['84-65=19', '19+16=35'] Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,37 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[16, 38], Operations: ['84-65=19', '19+19=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,37 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[16, 38], Operations: ['65-19=46', '84-46=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,37 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[46, 68], Operations: ['65-19=46', '84-16=68'] Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,37 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[84, 30], Operations: ['65-19=46', '46-16=30'] Exploring Operation: 84*30=2520, Resulting Numbers: [2520] 2520,37 unequal: No Solution Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,37 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 82, 6, 63, 11 ]
48
[ "82-63=19", "19-11=8", "6*8=48" ]
Current State: 48:[82, 6, 63, 11], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [6, 11, 19] Generated Node #2: [6, 11, 19] from Operation: 82-63=19 Current State: 48:[6, 11, 19], Operations: ['82-63=19'] Exploring Operation: 19-11=8, Resulting Numbers: [6, 8] Generated Node #3: [6, 8] from Operation: 19-11=8 Current State: 48:[6, 8], Operations: ['82-63=19', '19-11=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[82, 6, 63, 11], Operations: [] Exploring Operation: 63-11=52, Resulting Numbers: [82, 6, 52] Generated Node #0,0: 48:[82, 6, 52] Operation: 63-11=52 Exploring Operation: 82-11=71, Resulting Numbers: [6, 63, 71] Generated Node #0,1: 48:[6, 63, 71] Operation: 82-11=71 Exploring Operation: 82-6=76, Resulting Numbers: [63, 11, 76] Generated Node #0,2: 48:[63, 11, 76] Operation: 82-6=76 Exploring Operation: 82-63=19, Resulting Numbers: [6, 11, 19] Generated Node #0,3: 48:[6, 11, 19] Operation: 82-63=19 Moving to Node #0,3 Current State: 48:[6, 11, 19], Operations: ['82-63=19'] Exploring Operation: 6+19=25, Resulting Numbers: [11, 25] Generated Node #0,3,0: 48:[11, 25] Operation: 6+19=25 Exploring Operation: 6+11=17, Resulting Numbers: [19, 17] Generated Node #0,3,1: 48:[19, 17] Operation: 6+11=17 Exploring Operation: 19-6=13, Resulting Numbers: [11, 13] Generated Node #0,3,2: 48:[11, 13] Operation: 19-6=13 Exploring Operation: 19-11=8, Resulting Numbers: [6, 8] Generated Node #0,3,3: 48:[6, 8] Operation: 19-11=8 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[6, 8], Operations: ['82-63=19', '19-11=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[82, 6, 63, 11], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [6, 11, 19] Generated Node #0,3: 48:[6, 11, 19] Operation: 82-63=19 Moving to Node #0,3 Current State: 48:[6, 11, 19], Operations: ['82-63=19'] Exploring Operation: 19-11=8, Resulting Numbers: [6, 8] Generated Node #0,3,3: 48:[6, 8] Operation: 19-11=8 Moving to Node #0,3,3 Current State: 48:[6, 8], Operations: ['82-63=19', '19-11=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 86, 30, 60, 72 ]
61
[ "30*60=1800", "1800/72=25", "86-25=61" ]
Current State: 61:[86, 30, 60, 72], Operations: [] Exploring Operation: 30*60=1800, Resulting Numbers: [86, 72, 1800] Generated Node #2: [86, 72, 1800] from Operation: 30*60=1800 Current State: 61:[86, 72, 1800], Operations: ['30*60=1800'] Exploring Operation: 1800/72=25, Resulting Numbers: [86, 25] Generated Node #3: [86, 25] from Operation: 1800/72=25 Current State: 61:[86, 25], Operations: ['30*60=1800', '1800/72=25'] Exploring Operation: 86-25=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[86, 30, 60, 72], Operations: [] Exploring Operation: 72-30=42, Resulting Numbers: [86, 60, 42] Generated Node #0,0: 61:[86, 60, 42] Operation: 72-30=42 Exploring Operation: 30+60=90, Resulting Numbers: [86, 72, 90] Generated Node #0,1: 61:[86, 72, 90] Operation: 30+60=90 Exploring Operation: 60-30=30, Resulting Numbers: [86, 72, 30] Generated Node #0,2: 61:[86, 72, 30] Operation: 60-30=30 Exploring Operation: 86+30=116, Resulting Numbers: [60, 72, 116] Generated Node #0,3: 61:[60, 72, 116] Operation: 86+30=116 Exploring Operation: 86-30=56, Resulting Numbers: [60, 72, 56] Generated Node #0,4: 61:[60, 72, 56] Operation: 86-30=56 Moving to Node #0,4 Current State: 61:[60, 72, 56], Operations: ['86-30=56'] Exploring Operation: 72-56=16, Resulting Numbers: [60, 16] Generated Node #0,4,0: 61:[60, 16] Operation: 72-56=16 Exploring Operation: 72+56=128, Resulting Numbers: [60, 128] Generated Node #0,4,1: 61:[60, 128] Operation: 72+56=128 Exploring Operation: 72-60=12, Resulting Numbers: [56, 12] Generated Node #0,4,2: 61:[56, 12] Operation: 72-60=12 Exploring Operation: 60+56=116, Resulting Numbers: [72, 116] Generated Node #0,4,3: 61:[72, 116] Operation: 60+56=116 Exploring Operation: 60-56=4, Resulting Numbers: [72, 4] Generated Node #0,4,4: 61:[72, 4] Operation: 60-56=4 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 61:[60, 16], Operations: ['86-30=56', '72-56=16'] Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[56, 12], Operations: ['86-30=56', '72-60=12'] Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,61 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 61:[72, 116], Operations: ['86-30=56', '60+56=116'] Exploring Operation: 116-72=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 72*116=8352, Resulting Numbers: [8352] 8352,61 unequal: No Solution Exploring Operation: 72+116=188, Resulting Numbers: [188] 188,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 61:[60, 128], Operations: ['86-30=56', '72+56=128'] Exploring Operation: 128-60=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 60+128=188, Resulting Numbers: [188] 188,61 unequal: No Solution Exploring Operation: 60*128=7680, Resulting Numbers: [7680] 7680,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 61:[72, 4], Operations: ['86-30=56', '60-56=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,61 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,61 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: 61:[86, 60, 42], Operations: ['72-30=42'] Exploring Operation: 86+42=128, Resulting Numbers: [60, 128] Generated Node #0,0,0: 61:[60, 128] Operation: 86+42=128 Exploring Operation: 86-42=44, Resulting Numbers: [60, 44] Generated Node #0,0,1: 61:[60, 44] Operation: 86-42=44 Exploring Operation: 86-60=26, Resulting Numbers: [42, 26] Generated Node #0,0,2: 61:[42, 26] Operation: 86-60=26 Exploring Operation: 60+42=102, Resulting Numbers: [86, 102] Generated Node #0,0,3: 61:[86, 102] Operation: 60+42=102 Exploring Operation: 60-42=18, Resulting Numbers: [86, 18] Generated Node #0,0,4: 61:[86, 18] Operation: 60-42=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[60, 44], Operations: ['72-30=42', '86-42=44'] Exploring Operation: 60+44=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 60*44=2640, Resulting Numbers: [2640] 2640,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[42, 26], Operations: ['72-30=42', '86-60=26'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 42*26=1092, Resulting Numbers: [1092] 1092,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[86, 102], Operations: ['72-30=42', '60+42=102'] Exploring Operation: 86*102=8772, Resulting Numbers: [8772] 8772,61 unequal: No Solution Exploring Operation: 86+102=188, Resulting Numbers: [188] 188,61 unequal: No Solution Exploring Operation: 102-86=16, Resulting Numbers: [16] 16,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[60, 128], Operations: ['72-30=42', '86+42=128'] Exploring Operation: 60*128=7680, Resulting Numbers: [7680] 7680,61 unequal: No Solution Exploring Operation: 128-60=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 60+128=188, Resulting Numbers: [188] 188,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[86, 18], Operations: ['72-30=42', '60-42=18'] Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,61 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,61 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: 61:[86, 72, 90], Operations: ['30+60=90'] Exploring Operation: 86-72=14, Resulting Numbers: [90, 14] Generated Node #0,1,0: 61:[90, 14] Operation: 86-72=14 Exploring Operation: 90-86=4, Resulting Numbers: [72, 4] Generated Node #0,1,1: 61:[72, 4] Operation: 90-86=4 Exploring Operation: 86+72=158, Resulting Numbers: [90, 158] Generated Node #0,1,2: 61:[90, 158] Operation: 86+72=158 Exploring Operation: 90-72=18, Resulting Numbers: [86, 18] Generated Node #0,1,3: 61:[86, 18] Operation: 90-72=18 Exploring Operation: 86+90=176, Resulting Numbers: [72, 176] Generated Node #0,1,4: 61:[72, 176] Operation: 86+90=176 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[72, 4], Operations: ['30+60=90', '90-86=4'] Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,61 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[86, 18], Operations: ['30+60=90', '90-72=18'] Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,61 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[90, 14], Operations: ['30+60=90', '86-72=14'] Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,61 unequal: No Solution Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[90, 158], Operations: ['30+60=90', '86+72=158'] Exploring Operation: 90*158=14220, Resulting Numbers: [14220] 14220,61 unequal: No Solution Exploring Operation: 90+158=248, Resulting Numbers: [248] 248,61 unequal: No Solution Exploring Operation: 158-90=68, Resulting Numbers: [68] 68,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[72, 176], Operations: ['30+60=90', '86+90=176'] Exploring Operation: 176-72=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 72+176=248, Resulting Numbers: [248] 248,61 unequal: No Solution Exploring Operation: 72*176=12672, Resulting Numbers: [12672] 12672,61 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: 61:[86, 72, 30], Operations: ['60-30=30'] Exploring Operation: 72+30=102, Resulting Numbers: [86, 102] Generated Node #0,2,0: 61:[86, 102] Operation: 72+30=102 Exploring Operation: 86-72=14, Resulting Numbers: [30, 14] Generated Node #0,2,1: 61:[30, 14] Operation: 86-72=14 Exploring Operation: 72-30=42, Resulting Numbers: [86, 42] Generated Node #0,2,2: 61:[86, 42] Operation: 72-30=42 Exploring Operation: 86+30=116, Resulting Numbers: [72, 116] Generated Node #0,2,3: 61:[72, 116] Operation: 86+30=116 Exploring Operation: 86-30=56, Resulting Numbers: [72, 56] Generated Node #0,2,4: 61:[72, 56] Operation: 86-30=56 Moving to Node #0,3 Current State: 61:[60, 72, 116], Operations: ['86+30=116'] Exploring Operation: 60+72=132, Resulting Numbers: [116, 132] Generated Node #0,3,0: 61:[116, 132] Operation: 60+72=132 Exploring Operation: 72-60=12, Resulting Numbers: [116, 12] Generated Node #0,3,1: 61:[116, 12] Operation: 72-60=12 Exploring Operation: 60+116=176, Resulting Numbers: [72, 176] Generated Node #0,3,2: 61:[72, 176] Operation: 60+116=176 Exploring Operation: 116-60=56, Resulting Numbers: [72, 56] Generated Node #0,3,3: 61:[72, 56] Operation: 116-60=56 Exploring Operation: 116-72=44, Resulting Numbers: [60, 44] Generated Node #0,3,4: 61:[60, 44] Operation: 116-72=44 Moving to Node #0,2,4 Current State: 61:[72, 56], Operations: ['60-30=30', '86-30=56'] Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 72+56=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 72*56=4032, Resulting Numbers: [4032] 4032,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[72, 56], Operations: ['86+30=116', '116-60=56'] Exploring Operation: 72*56=4032, Resulting Numbers: [4032] 4032,61 unequal: No Solution Exploring Operation: 72+56=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,61 unequal: No Solution Moving to Node #0,3,4 Current State: 61:[60, 44], Operations: ['86+30=116', '116-72=44'] Exploring Operation: 60+44=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 60*44=2640, Resulting Numbers: [2640] 2640,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[86, 42], Operations: ['60-30=30', '72-30=42'] Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[86, 102], Operations: ['60-30=30', '72+30=102'] Exploring Operation: 102-86=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 86+102=188, Resulting Numbers: [188] 188,61 unequal: No Solution Exploring Operation: 86*102=8772, Resulting Numbers: [8772] 8772,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[72, 116], Operations: ['60-30=30', '86+30=116'] Exploring Operation: 72*116=8352, Resulting Numbers: [8352] 8352,61 unequal: No Solution Exploring Operation: 116-72=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 72+116=188, Resulting Numbers: [188] 188,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[30, 14], Operations: ['60-30=30', '86-72=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,61 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[116, 12], Operations: ['86+30=116', '72-60=12'] Exploring Operation: 116*12=1392, Resulting Numbers: [1392] 1392,61 unequal: No Solution Exploring Operation: 116-12=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 116+12=128, Resulting Numbers: [128] 128,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[72, 176], Operations: ['86+30=116', '60+116=176'] Exploring Operation: 176-72=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 72*176=12672, Resulting Numbers: [12672] 12672,61 unequal: No Solution Exploring Operation: 72+176=248, Resulting Numbers: [248] 248,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[116, 132], Operations: ['86+30=116', '60+72=132'] Exploring Operation: 116+132=248, Resulting Numbers: [248] 248,61 unequal: No Solution Exploring Operation: 132-116=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 116*132=15312, Resulting Numbers: [15312] 15312,61 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 66, 88, 30, 55 ]
95
[ "88*30=2640", "2640/66=40", "55+40=95" ]
Current State: 95:[66, 88, 30, 55], Operations: [] Exploring Operation: 88*30=2640, Resulting Numbers: [66, 55, 2640] Generated Node #2: [66, 55, 2640] from Operation: 88*30=2640 Current State: 95:[66, 55, 2640], Operations: ['88*30=2640'] Exploring Operation: 2640/66=40, Resulting Numbers: [55, 40] Generated Node #3: [55, 40] from Operation: 2640/66=40 Current State: 95:[55, 40], Operations: ['88*30=2640', '2640/66=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[66, 88, 30, 55], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [66, 88, 25] Generated Node #0,0: 95:[66, 88, 25] Operation: 55-30=25 Exploring Operation: 66-55=11, Resulting Numbers: [88, 30, 11] Generated Node #0,1: 95:[88, 30, 11] Operation: 66-55=11 Moving to Node #0,1 Current State: 95:[88, 30, 11], Operations: ['66-55=11'] Exploring Operation: 30-11=19, Resulting Numbers: [88, 19] Generated Node #0,1,0: 95:[88, 19] Operation: 30-11=19 Exploring Operation: 88/11=8, Resulting Numbers: [30, 8] Generated Node #0,1,1: 95:[30, 8] Operation: 88/11=8 Moving to Node #0,0 Current State: 95:[66, 88, 25], Operations: ['55-30=25'] Exploring Operation: 88-66=22, Resulting Numbers: [25, 22] Generated Node #0,0,0: 95:[25, 22] Operation: 88-66=22 Exploring Operation: 66+25=91, Resulting Numbers: [88, 91] Generated Node #0,0,1: 95:[88, 91] Operation: 66+25=91 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[25, 22], Operations: ['55-30=25', '88-66=22'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,95 unequal: No Solution No 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: 95:[88, 91], Operations: ['55-30=25', '66+25=91'] Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,95 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: 95:[88, 19], Operations: ['66-55=11', '30-11=19'] Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,95 unequal: No Solution Exploring Operation: 88+19=107, Resulting Numbers: [107] 107,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[30, 8], Operations: ['66-55=11', '88/11=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 20, 51, 76, 2 ]
66
[ "20+51=71", "2*71=142", "142-76=66" ]
Current State: 66:[20, 51, 76, 2], Operations: [] Exploring Operation: 20+51=71, Resulting Numbers: [76, 2, 71] Generated Node #2: [76, 2, 71] from Operation: 20+51=71 Current State: 66:[76, 2, 71], Operations: ['20+51=71'] Exploring Operation: 2*71=142, Resulting Numbers: [76, 142] Generated Node #3: [76, 142] from Operation: 2*71=142 Current State: 66:[76, 142], Operations: ['20+51=71', '2*71=142'] Exploring Operation: 142-76=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[20, 51, 76, 2], Operations: [] Exploring Operation: 20+51=71, Resulting Numbers: [76, 2, 71] Generated Node #0,0: 66:[76, 2, 71] Operation: 20+51=71 Exploring Operation: 76-51=25, Resulting Numbers: [20, 2, 25] Generated Node #0,1: 66:[20, 2, 25] Operation: 76-51=25 Exploring Operation: 51-20=31, Resulting Numbers: [76, 2, 31] Generated Node #0,2: 66:[76, 2, 31] Operation: 51-20=31 Exploring Operation: 76/2=38, Resulting Numbers: [20, 51, 38] Generated Node #0,3: 66:[20, 51, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[20, 2, 25], Operations: ['76-51=25'] Exploring Operation: 25-2=23, Resulting Numbers: [20, 23] Generated Node #0,1,0: 66:[20, 23] Operation: 25-2=23 Exploring Operation: 25-20=5, Resulting Numbers: [2, 5] Generated Node #0,1,1: 66:[2, 5] Operation: 25-20=5 Exploring Operation: 20/2=10, Resulting Numbers: [25, 10] Generated Node #0,1,2: 66:[25, 10] Operation: 20/2=10 Exploring Operation: 20+2=22, Resulting Numbers: [25, 22] Generated Node #0,1,3: 66:[25, 22] Operation: 20+2=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[2, 5], Operations: ['76-51=25', '25-20=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[20, 23], Operations: ['76-51=25', '25-2=23'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,66 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 66:[25, 22], Operations: ['76-51=25', '20+2=22'] Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[25, 10], Operations: ['76-51=25', '20/2=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,66 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[76, 2, 31], Operations: ['51-20=31'] Exploring Operation: 76/2=38, Resulting Numbers: [31, 38] Generated Node #0,2,0: 66:[31, 38] Operation: 76/2=38 Exploring Operation: 76-31=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 66:[2, 45] Operation: 76-31=45 Exploring Operation: 2+31=33, Resulting Numbers: [76, 33] Generated Node #0,2,2: 66:[76, 33] Operation: 2+31=33 Exploring Operation: 76-2=74, Resulting Numbers: [31, 74] Generated Node #0,2,3: 66:[31, 74] Operation: 76-2=74 Moving to Node #0,2,0 Current State: 66:[31, 38], Operations: ['51-20=31', '76/2=38'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[31, 74], Operations: ['51-20=31', '76-2=74'] Exploring Operation: 31+74=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,66 unequal: No Solution Exploring Operation: 31*74=2294, Resulting Numbers: [2294] 2294,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[76, 33], Operations: ['51-20=31', '2+31=33'] Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,66 unequal: No Solution Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[2, 45], Operations: ['51-20=31', '76-31=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[76, 2, 71], Operations: ['20+51=71'] Exploring Operation: 76/2=38, Resulting Numbers: [71, 38] Generated Node #0,0,0: 66:[71, 38] Operation: 76/2=38 Exploring Operation: 76-2=74, Resulting Numbers: [71, 74] Generated Node #0,0,1: 66:[71, 74] Operation: 76-2=74 Exploring Operation: 71-2=69, Resulting Numbers: [76, 69] Generated Node #0,0,2: 66:[76, 69] Operation: 71-2=69 Exploring Operation: 76-71=5, Resulting Numbers: [2, 5] Generated Node #0,0,3: 66:[2, 5] Operation: 76-71=5 Moving to Node #0,0,3 Current State: 66:[2, 5], Operations: ['20+51=71', '76-71=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[71, 38], Operations: ['20+51=71', '76/2=38'] Exploring Operation: 71+38=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 71*38=2698, Resulting Numbers: [2698] 2698,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[76, 69], Operations: ['20+51=71', '71-2=69'] Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 76+69=145, Resulting Numbers: [145] 145,66 unequal: No Solution Exploring Operation: 76*69=5244, Resulting Numbers: [5244] 5244,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[71, 74], Operations: ['20+51=71', '76-2=74'] Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,66 unequal: No Solution Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,66 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[20, 51, 38], Operations: ['76/2=38'] Exploring Operation: 20+51=71, Resulting Numbers: [38, 71] Generated Node #0,3,0: 66:[38, 71] Operation: 20+51=71 Exploring Operation: 38-20=18, Resulting Numbers: [51, 18] Generated Node #0,3,1: 66:[51, 18] Operation: 38-20=18 Exploring Operation: 51-20=31, Resulting Numbers: [38, 31] Generated Node #0,3,2: 66:[38, 31] Operation: 51-20=31 Exploring Operation: 51-38=13, Resulting Numbers: [20, 13] Generated Node #0,3,3: 66:[20, 13] Operation: 51-38=13 Moving to Node #0,3,3 Current State: 66:[20, 13], Operations: ['76/2=38', '51-38=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[38, 31], Operations: ['76/2=38', '51-20=31'] Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,66 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[38, 71], Operations: ['76/2=38', '20+51=71'] Exploring Operation: 38*71=2698, Resulting Numbers: [2698] 2698,66 unequal: No Solution Exploring Operation: 38+71=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[51, 18], Operations: ['76/2=38', '38-20=18'] Exploring Operation: 51+18=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 51*18=918, Resulting Numbers: [918] 918,66 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
[ 74, 90, 6, 51 ]
76
[ "51-6=45", "90/45=2", "74+2=76" ]
Current State: 76:[74, 90, 6, 51], Operations: [] Exploring Operation: 51-6=45, Resulting Numbers: [74, 90, 45] Generated Node #2: [74, 90, 45] from Operation: 51-6=45 Current State: 76:[74, 90, 45], Operations: ['51-6=45'] Exploring Operation: 90/45=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 90/45=2 Current State: 76:[74, 2], Operations: ['51-6=45', '90/45=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[74, 90, 6, 51], Operations: [] Exploring Operation: 90-51=39, Resulting Numbers: [74, 6, 39] Generated Node #0,0: 76:[74, 6, 39] Operation: 90-51=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[74, 6, 39], Operations: ['90-51=39'] Exploring Operation: 74+6=80, Resulting Numbers: [39, 80] Generated Node #0,0,0: 76:[39, 80] Operation: 74+6=80 Moving to Node #0,0,0 Current State: 76:[39, 80], Operations: ['90-51=39', '74+6=80'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,76 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
[ 65, 54, 67, 82 ]
56
[ "67-65=2", "82-54=28", "2*28=56" ]
Current State: 56:[65, 54, 67, 82], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [54, 82, 2] Generated Node #2: [54, 82, 2] from Operation: 67-65=2 Current State: 56:[54, 82, 2], Operations: ['67-65=2'] Exploring Operation: 82-54=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 82-54=28 Current State: 56:[2, 28], Operations: ['67-65=2', '82-54=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[65, 54, 67, 82], Operations: [] Exploring Operation: 82-67=15, Resulting Numbers: [65, 54, 15] Generated Node #0,0: 56:[65, 54, 15] Operation: 82-67=15 Exploring Operation: 82-65=17, Resulting Numbers: [54, 67, 17] Generated Node #0,1: 56:[54, 67, 17] Operation: 82-65=17 Exploring Operation: 82-54=28, Resulting Numbers: [65, 67, 28] Generated Node #0,2: 56:[65, 67, 28] Operation: 82-54=28 Moving to Node #0,0 Current State: 56:[65, 54, 15], Operations: ['82-67=15'] Exploring Operation: 65-15=50, Resulting Numbers: [54, 50] Generated Node #0,0,0: 56:[54, 50] Operation: 65-15=50 Exploring Operation: 54-15=39, Resulting Numbers: [65, 39] Generated Node #0,0,1: 56:[65, 39] Operation: 54-15=39 Exploring Operation: 65-54=11, Resulting Numbers: [15, 11] Generated Node #0,0,2: 56:[15, 11] Operation: 65-54=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[15, 11], Operations: ['82-67=15', '65-54=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,56 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[54, 50], Operations: ['82-67=15', '65-15=50'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,56 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[65, 39], Operations: ['82-67=15', '54-15=39'] Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 65*39=2535, Resulting Numbers: [2535] 2535,56 unequal: No Solution Exploring Operation: 65+39=104, Resulting Numbers: [104] 104,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[54, 67, 17], Operations: ['82-65=17'] Exploring Operation: 67-17=50, Resulting Numbers: [54, 50] Generated Node #0,1,0: 56:[54, 50] Operation: 67-17=50 Exploring Operation: 67-54=13, Resulting Numbers: [17, 13] Generated Node #0,1,1: 56:[17, 13] Operation: 67-54=13 Exploring Operation: 54-17=37, Resulting Numbers: [67, 37] Generated Node #0,1,2: 56:[67, 37] Operation: 54-17=37 Moving to Node #0,2 Current State: 56:[65, 67, 28], Operations: ['82-54=28'] Exploring Operation: 67-28=39, Resulting Numbers: [65, 39] Generated Node #0,2,0: 56:[65, 39] Operation: 67-28=39 Exploring Operation: 67-65=2, Resulting Numbers: [28, 2] Generated Node #0,2,1: 56:[28, 2] Operation: 67-65=2 Exploring Operation: 65-28=37, Resulting Numbers: [67, 37] Generated Node #0,2,2: 56:[67, 37] Operation: 65-28=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[28, 2], Operations: ['82-54=28', '67-65=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[65, 54, 67, 82], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [65, 67, 28] Generated Node #0,2: 56:[65, 67, 28] Operation: 82-54=28 Moving to Node #0,2 Current State: 56:[65, 67, 28], Operations: ['82-54=28'] Exploring Operation: 67-65=2, Resulting Numbers: [28, 2] Generated Node #0,2,1: 56:[28, 2] Operation: 67-65=2 Moving to Node #0,2,1 Current State: 56:[28, 2], Operations: ['82-54=28', '67-65=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 15, 71, 41, 57 ]
59
[ "71-41=30", "30/15=2", "57+2=59" ]
Current State: 59:[15, 71, 41, 57], Operations: [] Exploring Operation: 71-41=30, Resulting Numbers: [15, 57, 30] Generated Node #2: [15, 57, 30] from Operation: 71-41=30 Current State: 59:[15, 57, 30], Operations: ['71-41=30'] Exploring Operation: 30/15=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 30/15=2 Current State: 59:[57, 2], Operations: ['71-41=30', '30/15=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[15, 71, 41, 57], Operations: [] Exploring Operation: 71-15=56, Resulting Numbers: [41, 57, 56] Generated Node #0,0: 59:[41, 57, 56] Operation: 71-15=56 Exploring Operation: 15+41=56, Resulting Numbers: [71, 57, 56] Generated Node #0,1: 59:[71, 57, 56] Operation: 15+41=56 Moving to Node #0,1 Current State: 59:[71, 57, 56], Operations: ['15+41=56'] Exploring Operation: 71-56=15, Resulting Numbers: [57, 15] Generated Node #0,1,0: 59:[57, 15] Operation: 71-56=15 Exploring Operation: 71-57=14, Resulting Numbers: [56, 14] Generated Node #0,1,1: 59:[56, 14] Operation: 71-57=14 Moving to Node #0,0 Current State: 59:[41, 57, 56], Operations: ['71-15=56'] Exploring Operation: 41+57=98, Resulting Numbers: [56, 98] Generated Node #0,0,0: 59:[56, 98] Operation: 41+57=98 Exploring Operation: 41+56=97, Resulting Numbers: [57, 97] Generated Node #0,0,1: 59:[57, 97] Operation: 41+56=97 Moving to Node #0,0,1 Current State: 59:[57, 97], Operations: ['71-15=56', '41+56=97'] Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 57+97=154, Resulting Numbers: [154] 154,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[56, 98], Operations: ['71-15=56', '41+57=98'] Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 56+98=154, Resulting Numbers: [154] 154,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[57, 15], Operations: ['15+41=56', '71-56=15'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[56, 14], Operations: ['15+41=56', '71-57=14'] Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,59 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,59 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 76, 1, 71, 95 ]
52
[ "76*1=76", "95-71=24", "76-24=52" ]
Current State: 52:[76, 1, 71, 95], Operations: [] Exploring Operation: 76*1=76, Resulting Numbers: [71, 95, 76] Generated Node #2: [71, 95, 76] from Operation: 76*1=76 Current State: 52:[71, 95, 76], Operations: ['76*1=76'] Exploring Operation: 95-71=24, Resulting Numbers: [76, 24] Generated Node #3: [76, 24] from Operation: 95-71=24 Current State: 52:[76, 24], Operations: ['76*1=76', '95-71=24'] Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[76, 1, 71, 95], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [1, 71, 19] Generated Node #0,0: 52:[1, 71, 19] Operation: 95-76=19 Exploring Operation: 95-71=24, Resulting Numbers: [76, 1, 24] Generated Node #0,1: 52:[76, 1, 24] Operation: 95-71=24 Moving to Node #0,0 Current State: 52:[1, 71, 19], Operations: ['95-76=19'] Exploring Operation: 71-1=70, Resulting Numbers: [19, 70] Generated Node #0,0,0: 52:[19, 70] Operation: 71-1=70 Exploring Operation: 71-19=52, Resulting Numbers: [1, 52] Generated Node #0,0,1: 52:[1, 52] Operation: 71-19=52 Moving to Node #0,1 Current State: 52:[76, 1, 24], Operations: ['95-71=24'] Exploring Operation: 76-24=52, Resulting Numbers: [1, 52] Generated Node #0,1,0: 52:[1, 52] Operation: 76-24=52 Exploring Operation: 76-1=75, Resulting Numbers: [24, 75] Generated Node #0,1,1: 52:[24, 75] Operation: 76-1=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[1, 52], Operations: ['95-71=24', '76-24=52'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[76, 1, 71, 95], Operations: [] Exploring Operation: 95-71=24, Resulting Numbers: [76, 1, 24] Generated Node #0,1: 52:[76, 1, 24] Operation: 95-71=24 Moving to Node #0,1 Current State: 52:[76, 1, 24], Operations: ['95-71=24'] Exploring Operation: 76-24=52, Resulting Numbers: [1, 52] Generated Node #0,1,0: 52:[1, 52] Operation: 76-24=52 Moving to Node #0,1,0 Current State: 52:[1, 52], Operations: ['95-71=24', '76-24=52'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 80, 17, 2, 35 ]
73
[ "80-35=45", "2*45=90", "90-17=73" ]
Current State: 73:[80, 17, 2, 35], Operations: [] Exploring Operation: 80-35=45, Resulting Numbers: [17, 2, 45] Generated Node #2: [17, 2, 45] from Operation: 80-35=45 Current State: 73:[17, 2, 45], Operations: ['80-35=45'] Exploring Operation: 2*45=90, Resulting Numbers: [17, 90] Generated Node #3: [17, 90] from Operation: 2*45=90 Current State: 73:[17, 90], Operations: ['80-35=45', '2*45=90'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[80, 17, 2, 35], Operations: [] Exploring Operation: 17*2=34, Resulting Numbers: [80, 35, 34] Generated Node #0,0: 73:[80, 35, 34] Operation: 17*2=34 Exploring Operation: 80-2=78, Resulting Numbers: [17, 35, 78] Generated Node #0,1: 73:[17, 35, 78] Operation: 80-2=78 Exploring Operation: 2*35=70, Resulting Numbers: [80, 17, 70] Generated Node #0,2: 73:[80, 17, 70] Operation: 2*35=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[80, 17, 70], Operations: ['2*35=70'] Exploring Operation: 80+17=97, Resulting Numbers: [70, 97] Generated Node #0,2,0: 73:[70, 97] Operation: 80+17=97 Exploring Operation: 80-17=63, Resulting Numbers: [70, 63] Generated Node #0,2,1: 73:[70, 63] Operation: 80-17=63 Exploring Operation: 17+70=87, Resulting Numbers: [80, 87] Generated Node #0,2,2: 73:[80, 87] Operation: 17+70=87 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[70, 63], Operations: ['2*35=70', '80-17=63'] Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,73 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[80, 87], Operations: ['2*35=70', '17+70=87'] Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,73 unequal: No Solution Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,73 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[70, 97], Operations: ['2*35=70', '80+17=97'] Exploring Operation: 70*97=6790, Resulting Numbers: [6790] 6790,73 unequal: No Solution Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 70+97=167, Resulting Numbers: [167] 167,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[80, 35, 34], Operations: ['17*2=34'] Exploring Operation: 35+34=69, Resulting Numbers: [80, 69] Generated Node #0,0,0: 73:[80, 69] Operation: 35+34=69 Exploring Operation: 80-35=45, Resulting Numbers: [34, 45] Generated Node #0,0,1: 73:[34, 45] Operation: 80-35=45 Exploring Operation: 80-34=46, Resulting Numbers: [35, 46] Generated Node #0,0,2: 73:[35, 46] Operation: 80-34=46 Moving to Node #0,0,0 Current State: 73:[80, 69], Operations: ['17*2=34', '35+34=69'] Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,73 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[35, 46], Operations: ['17*2=34', '80-34=46'] Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,73 unequal: No Solution Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[34, 45], Operations: ['17*2=34', '80-35=45'] Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,73 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[17, 35, 78], Operations: ['80-2=78'] Exploring Operation: 17+35=52, Resulting Numbers: [78, 52] Generated Node #0,1,0: 73:[78, 52] Operation: 17+35=52 Exploring Operation: 78-17=61, Resulting Numbers: [35, 61] Generated Node #0,1,1: 73:[35, 61] Operation: 78-17=61 Exploring Operation: 35-17=18, Resulting Numbers: [78, 18] Generated Node #0,1,2: 73:[78, 18] Operation: 35-17=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[78, 52], Operations: ['80-2=78', '17+35=52'] Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,73 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[35, 61], Operations: ['80-2=78', '78-17=61'] Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[78, 18], Operations: ['80-2=78', '35-17=18'] Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,73 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 39, 1, 40, 73 ]
73
[ "39+1=40", "40+73=113", "113-40=73" ]
Current State: 73:[39, 1, 40, 73], Operations: [] Exploring Operation: 39+1=40, Resulting Numbers: [40, 73, 40] Generated Node #2: [40, 73, 40] from Operation: 39+1=40 Current State: 73:[40, 73, 40], Operations: ['39+1=40'] Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,73 equal: Goal Reached Exploring Operation: 113-40=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[39, 1, 40, 73], Operations: [] Exploring Operation: 39/1=39, Resulting Numbers: [40, 73, 39] Generated Node #0,0: 73:[40, 73, 39] Operation: 39/1=39 Exploring Operation: 39*1=39, Resulting Numbers: [40, 73, 39] Generated Node #0,1: 73:[40, 73, 39] Operation: 39*1=39 Exploring Operation: 1+40=41, Resulting Numbers: [39, 73, 41] Generated Node #0,2: 73:[39, 73, 41] Operation: 1+40=41 Exploring Operation: 39+1=40, Resulting Numbers: [40, 73, 40] Generated Node #0,3: 73:[40, 73, 40] Operation: 39+1=40 Moving to Node #0,2 Current State: 73:[39, 73, 41], Operations: ['1+40=41'] Exploring Operation: 73-39=34, Resulting Numbers: [41, 34] Generated Node #0,2,0: 73:[41, 34] Operation: 73-39=34 Exploring Operation: 39+41=80, Resulting Numbers: [73, 80] Generated Node #0,2,1: 73:[73, 80] Operation: 39+41=80 Exploring Operation: 39+73=112, Resulting Numbers: [41, 112] Generated Node #0,2,2: 73:[41, 112] Operation: 39+73=112 Exploring Operation: 41-39=2, Resulting Numbers: [73, 2] Generated Node #0,2,3: 73:[73, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[73, 80], Operations: ['1+40=41', '39+41=80'] Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 73+80=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 73*80=5840, Resulting Numbers: [5840] 5840,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[41, 34], Operations: ['1+40=41', '73-39=34'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,73 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[41, 112], Operations: ['1+40=41', '39+73=112'] Exploring Operation: 112-41=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 41*112=4592, Resulting Numbers: [4592] 4592,73 unequal: No Solution Exploring Operation: 41+112=153, Resulting Numbers: [153] 153,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[73, 2], Operations: ['1+40=41', '41-39=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,73 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: 73:[40, 73, 40], Operations: ['39+1=40'] Exploring Operation: 40+73=113, Resulting Numbers: [40, 113] Generated Node #0,3,0: 73:[40, 113] Operation: 40+73=113 Exploring Operation: 73-40=33, Resulting Numbers: [40, 33] Generated Node #0,3,1: 73:[40, 33] Operation: 73-40=33 Exploring Operation: 40+40=80, Resulting Numbers: [73, 80] Generated Node #0,3,2: 73:[73, 80] Operation: 40+40=80 Exploring Operation: 40/40=1, Resulting Numbers: [73, 1] Generated Node #0,3,3: 73:[73, 1] Operation: 40/40=1 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[73, 80], Operations: ['39+1=40', '40+40=80'] Exploring Operation: 73*80=5840, Resulting Numbers: [5840] 5840,73 unequal: No Solution Exploring Operation: 73+80=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[73, 1], Operations: ['39+1=40', '40/40=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[39, 1, 40, 73], Operations: [] Exploring Operation: 39+1=40, Resulting Numbers: [40, 73, 40] Generated Node #0,3: 73:[40, 73, 40] Operation: 39+1=40 Moving to Node #0,3 Current State: 73:[40, 73, 40], Operations: ['39+1=40'] Exploring Operation: 40/40=1, Resulting Numbers: [73, 1] Generated Node #0,3,3: 73:[73, 1] Operation: 40/40=1 Moving to Node #0,3,3 Current State: 73:[73, 1], Operations: ['39+1=40', '40/40=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 9, 5, 60, 43 ]
21
[ "9-5=4", "60-43=17", "4+17=21" ]
Current State: 21:[9, 5, 60, 43], Operations: [] Exploring Operation: 9-5=4, Resulting Numbers: [60, 43, 4] Generated Node #2: [60, 43, 4] from Operation: 9-5=4 Current State: 21:[60, 43, 4], Operations: ['9-5=4'] Exploring Operation: 60-43=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 60-43=17 Current State: 21:[4, 17], Operations: ['9-5=4', '60-43=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[9, 5, 60, 43], Operations: [] Exploring Operation: 60-43=17, Resulting Numbers: [9, 5, 17] Generated Node #0,0: 21:[9, 5, 17] Operation: 60-43=17 Exploring Operation: 60-9=51, Resulting Numbers: [5, 43, 51] Generated Node #0,1: 21:[5, 43, 51] Operation: 60-9=51 Exploring Operation: 60/5=12, Resulting Numbers: [9, 43, 12] Generated Node #0,2: 21:[9, 43, 12] Operation: 60/5=12 Exploring Operation: 43-9=34, Resulting Numbers: [5, 60, 34] Generated Node #0,3: 21:[5, 60, 34] Operation: 43-9=34 Exploring Operation: 60-5=55, Resulting Numbers: [9, 43, 55] Generated Node #0,4: 21:[9, 43, 55] Operation: 60-5=55 Moving to Node #0,0 Current State: 21:[9, 5, 17], Operations: ['60-43=17'] Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 21:[5, 8] Operation: 17-9=8 Exploring Operation: 17-5=12, Resulting Numbers: [9, 12] Generated Node #0,0,1: 21:[9, 12] Operation: 17-5=12 Exploring Operation: 5+17=22, Resulting Numbers: [9, 22] Generated Node #0,0,2: 21:[9, 22] Operation: 5+17=22 Exploring Operation: 9+17=26, Resulting Numbers: [5, 26] Generated Node #0,0,3: 21:[5, 26] Operation: 9+17=26 Exploring Operation: 9-5=4, Resulting Numbers: [17, 4] Generated Node #0,0,4: 21:[17, 4] Operation: 9-5=4 Moving to Node #0,2 Current State: 21:[9, 43, 12], Operations: ['60/5=12'] Exploring Operation: 9+12=21, Resulting Numbers: [43, 21] Generated Node #0,2,0: 21:[43, 21] Operation: 9+12=21 Exploring Operation: 9+43=52, Resulting Numbers: [12, 52] Generated Node #0,2,1: 21:[12, 52] Operation: 9+43=52 Exploring Operation: 43-12=31, Resulting Numbers: [9, 31] Generated Node #0,2,2: 21:[9, 31] Operation: 43-12=31 Exploring Operation: 43-9=34, Resulting Numbers: [12, 34] Generated Node #0,2,3: 21:[12, 34] Operation: 43-9=34 Exploring Operation: 12-9=3, Resulting Numbers: [43, 3] Generated Node #0,2,4: 21:[43, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[9, 31], Operations: ['60/5=12', '43-12=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[12, 34], Operations: ['60/5=12', '43-9=34'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[43, 21], Operations: ['60/5=12', '9+12=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,21 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 21:[43, 3], Operations: ['60/5=12', '12-9=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,21 unequal: No Solution Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[12, 52], Operations: ['60/5=12', '9+43=52'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 12*52=624, Resulting Numbers: [624] 624,21 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: 21:[5, 43, 51], Operations: ['60-9=51'] Exploring Operation: 51-5=46, Resulting Numbers: [43, 46] Generated Node #0,1,0: 21:[43, 46] Operation: 51-5=46 Exploring Operation: 5+51=56, Resulting Numbers: [43, 56] Generated Node #0,1,1: 21:[43, 56] Operation: 5+51=56 Exploring Operation: 51-43=8, Resulting Numbers: [5, 8] Generated Node #0,1,2: 21:[5, 8] Operation: 51-43=8 Exploring Operation: 5+43=48, Resulting Numbers: [51, 48] Generated Node #0,1,3: 21:[51, 48] Operation: 5+43=48 Exploring Operation: 43-5=38, Resulting Numbers: [51, 38] Generated Node #0,1,4: 21:[51, 38] Operation: 43-5=38 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[5, 8], Operations: ['60-9=51', '51-43=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[43, 46], Operations: ['60-9=51', '51-5=46'] Exploring Operation: 43*46=1978, Resulting Numbers: [1978] 1978,21 unequal: No Solution Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,21 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 21:[51, 38], Operations: ['60-9=51', '43-5=38'] Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,21 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,21 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[43, 56], Operations: ['60-9=51', '5+51=56'] Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 43*56=2408, Resulting Numbers: [2408] 2408,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 21:[51, 48], Operations: ['60-9=51', '5+43=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,21 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,21 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,21 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: 21:[5, 60, 34], Operations: ['43-9=34'] Exploring Operation: 60/5=12, Resulting Numbers: [34, 12] Generated Node #0,3,0: 21:[34, 12] Operation: 60/5=12 Exploring Operation: 5+60=65, Resulting Numbers: [34, 65] Generated Node #0,3,1: 21:[34, 65] Operation: 5+60=65 Exploring Operation: 60-5=55, Resulting Numbers: [34, 55] Generated Node #0,3,2: 21:[34, 55] Operation: 60-5=55 Exploring Operation: 34-5=29, Resulting Numbers: [60, 29] Generated Node #0,3,3: 21:[60, 29] Operation: 34-5=29 Exploring Operation: 60-34=26, Resulting Numbers: [5, 26] Generated Node #0,3,4: 21:[5, 26] Operation: 60-34=26 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 21:[5, 26], Operations: ['43-9=34', '60-34=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[9, 5, 60, 43], Operations: [] Exploring Operation: 43-9=34, Resulting Numbers: [5, 60, 34] Generated Node #0,3: 21:[5, 60, 34] Operation: 43-9=34 Moving to Node #0,3 Current State: 21:[5, 60, 34], Operations: ['43-9=34'] Exploring Operation: 60-34=26, Resulting Numbers: [5, 26] Generated Node #0,3,4: 21:[5, 26] Operation: 60-34=26 Moving to Node #0,3,4 Current State: 21:[5, 26], Operations: ['43-9=34', '60-34=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 12, 49, 89, 2 ]
92
[ "89-49=40", "2*40=80", "12+80=92" ]
Current State: 92:[12, 49, 89, 2], Operations: [] Exploring Operation: 89-49=40, Resulting Numbers: [12, 2, 40] Generated Node #2: [12, 2, 40] from Operation: 89-49=40 Current State: 92:[12, 2, 40], Operations: ['89-49=40'] Exploring Operation: 2*40=80, Resulting Numbers: [12, 80] Generated Node #3: [12, 80] from Operation: 2*40=80 Current State: 92:[12, 80], Operations: ['89-49=40', '2*40=80'] Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[12, 49, 89, 2], Operations: [] Exploring Operation: 12*2=24, Resulting Numbers: [49, 89, 24] Generated Node #0,0: 92:[49, 89, 24] Operation: 12*2=24 Exploring Operation: 12/2=6, Resulting Numbers: [49, 89, 6] Generated Node #0,1: 92:[49, 89, 6] Operation: 12/2=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[49, 89, 24], Operations: ['12*2=24'] Exploring Operation: 89-49=40, Resulting Numbers: [24, 40] Generated Node #0,0,0: 92:[24, 40] Operation: 89-49=40 Exploring Operation: 49-24=25, Resulting Numbers: [89, 25] Generated Node #0,0,1: 92:[89, 25] Operation: 49-24=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[89, 25], Operations: ['12*2=24', '49-24=25'] Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,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,0 Current State: 92:[24, 40], Operations: ['12*2=24', '89-49=40'] Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,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:[49, 89, 6], Operations: ['12/2=6'] Exploring Operation: 89+6=95, Resulting Numbers: [49, 95] Generated Node #0,1,0: 92:[49, 95] Operation: 89+6=95 Exploring Operation: 49-6=43, Resulting Numbers: [89, 43] Generated Node #0,1,1: 92:[89, 43] Operation: 49-6=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[49, 95], Operations: ['12/2=6', '89+6=95'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,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:[89, 43], Operations: ['12/2=6', '49-6=43'] Exploring Operation: 89+43=132, Resulting Numbers: [132] 132,92 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,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
[ 89, 53, 50, 63 ]
78
[ "89-63=26", "53-50=3", "26*3=78" ]
Current State: 78:[89, 53, 50, 63], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [53, 50, 26] Generated Node #2: [53, 50, 26] from Operation: 89-63=26 Current State: 78:[53, 50, 26], Operations: ['89-63=26'] Exploring Operation: 53-50=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 53-50=3 Current State: 78:[26, 3], Operations: ['89-63=26', '53-50=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[89, 53, 50, 63], Operations: [] Exploring Operation: 63-53=10, Resulting Numbers: [89, 50, 10] Generated Node #0,0: 78:[89, 50, 10] Operation: 63-53=10 Exploring Operation: 89-63=26, Resulting Numbers: [53, 50, 26] Generated Node #0,1: 78:[53, 50, 26] Operation: 89-63=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[89, 50, 10], Operations: ['63-53=10'] Exploring Operation: 89-50=39, Resulting Numbers: [10, 39] Generated Node #0,0,0: 78:[10, 39] Operation: 89-50=39 Exploring Operation: 89-10=79, Resulting Numbers: [50, 79] Generated Node #0,0,1: 78:[50, 79] Operation: 89-10=79 Moving to Node #0,0,0 Current State: 78:[10, 39], Operations: ['63-53=10', '89-50=39'] Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[50, 79], Operations: ['63-53=10', '89-10=79'] Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 50+79=129, Resulting Numbers: [129] 129,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[53, 50, 26], Operations: ['89-63=26'] Exploring Operation: 53-50=3, Resulting Numbers: [26, 3] Generated Node #0,1,0: 78:[26, 3] Operation: 53-50=3 Exploring Operation: 53+26=79, Resulting Numbers: [50, 79] Generated Node #0,1,1: 78:[50, 79] Operation: 53+26=79 Moving to Node #0,1,0 Current State: 78:[26, 3], Operations: ['89-63=26', '53-50=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[89, 53, 50, 63], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [53, 50, 26] Generated Node #0,1: 78:[53, 50, 26] Operation: 89-63=26 Moving to Node #0,1 Current State: 78:[53, 50, 26], Operations: ['89-63=26'] Exploring Operation: 53-50=3, Resulting Numbers: [26, 3] Generated Node #0,1,0: 78:[26, 3] Operation: 53-50=3 Moving to Node #0,1,0 Current State: 78:[26, 3], Operations: ['89-63=26', '53-50=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 60, 6, 49, 47 ]
15
[ "49-6=43", "47-43=4", "60/4=15" ]
Current State: 15:[60, 6, 49, 47], Operations: [] Exploring Operation: 49-6=43, Resulting Numbers: [60, 47, 43] Generated Node #2: [60, 47, 43] from Operation: 49-6=43 Current State: 15:[60, 47, 43], Operations: ['49-6=43'] Exploring Operation: 47-43=4, Resulting Numbers: [60, 4] Generated Node #3: [60, 4] from Operation: 47-43=4 Current State: 15:[60, 4], Operations: ['49-6=43', '47-43=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[60, 6, 49, 47], Operations: [] Exploring Operation: 60-6=54, Resulting Numbers: [49, 47, 54] Generated Node #0,0: 15:[49, 47, 54] Operation: 60-6=54 Exploring Operation: 60-49=11, Resulting Numbers: [6, 47, 11] Generated Node #0,1: 15:[6, 47, 11] Operation: 60-49=11 Exploring Operation: 60/6=10, Resulting Numbers: [49, 47, 10] Generated Node #0,2: 15:[49, 47, 10] Operation: 60/6=10 Exploring Operation: 49-47=2, Resulting Numbers: [60, 6, 2] Generated Node #0,3: 15:[60, 6, 2] Operation: 49-47=2 Exploring Operation: 60-47=13, Resulting Numbers: [6, 49, 13] Generated Node #0,4: 15:[6, 49, 13] Operation: 60-47=13 Moving to Node #0,1 Current State: 15:[6, 47, 11], Operations: ['60-49=11'] Exploring Operation: 6+11=17, Resulting Numbers: [47, 17] Generated Node #0,1,0: 15:[47, 17] Operation: 6+11=17 Exploring Operation: 6+47=53, Resulting Numbers: [11, 53] Generated Node #0,1,1: 15:[11, 53] Operation: 6+47=53 Exploring Operation: 47-6=41, Resulting Numbers: [11, 41] Generated Node #0,1,2: 15:[11, 41] Operation: 47-6=41 Exploring Operation: 11-6=5, Resulting Numbers: [47, 5] Generated Node #0,1,3: 15:[47, 5] Operation: 11-6=5 Exploring Operation: 47-11=36, Resulting Numbers: [6, 36] Generated Node #0,1,4: 15:[6, 36] Operation: 47-11=36 Moving to Node #0,4 Current State: 15:[6, 49, 13], Operations: ['60-47=13'] Exploring Operation: 49-13=36, Resulting Numbers: [6, 36] Generated Node #0,4,0: 15:[6, 36] Operation: 49-13=36 Exploring Operation: 13-6=7, Resulting Numbers: [49, 7] Generated Node #0,4,1: 15:[49, 7] Operation: 13-6=7 Exploring Operation: 6+49=55, Resulting Numbers: [13, 55] Generated Node #0,4,2: 15:[13, 55] Operation: 6+49=55 Exploring Operation: 6+13=19, Resulting Numbers: [49, 19] Generated Node #0,4,3: 15:[49, 19] Operation: 6+13=19 Exploring Operation: 49-6=43, Resulting Numbers: [13, 43] Generated Node #0,4,4: 15:[13, 43] Operation: 49-6=43 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 15:[6, 36], Operations: ['60-47=13', '49-13=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,15 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,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,4,4 Current State: 15:[13, 43], Operations: ['60-47=13', '49-6=43'] Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,15 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,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,4,1 Current State: 15:[49, 7], Operations: ['60-47=13', '13-6=7'] Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,15 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,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,4,3 Current State: 15:[49, 19], Operations: ['60-47=13', '6+13=19'] Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,15 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 49*19=931, Resulting Numbers: [931] 931,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,4,2 Current State: 15:[13, 55], Operations: ['60-47=13', '6+49=55'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 13*55=715, Resulting Numbers: [715] 715,15 unequal: No Solution Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,15 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: 15:[60, 6, 2], Operations: ['49-47=2'] Exploring Operation: 60-2=58, Resulting Numbers: [6, 58] Generated Node #0,3,0: 15:[6, 58] Operation: 60-2=58 Exploring Operation: 6/2=3, Resulting Numbers: [60, 3] Generated Node #0,3,1: 15:[60, 3] Operation: 6/2=3 Exploring Operation: 60/6=10, Resulting Numbers: [2, 10] Generated Node #0,3,2: 15:[2, 10] Operation: 60/6=10 Exploring Operation: 60-6=54, Resulting Numbers: [2, 54] Generated Node #0,3,3: 15:[2, 54] Operation: 60-6=54 Exploring Operation: 60/2=30, Resulting Numbers: [6, 30] Generated Node #0,3,4: 15:[6, 30] Operation: 60/2=30 Moving to Node #0,2 Current State: 15:[49, 47, 10], Operations: ['60/6=10'] Exploring Operation: 47-10=37, Resulting Numbers: [49, 37] Generated Node #0,2,0: 15:[49, 37] Operation: 47-10=37 Exploring Operation: 49-10=39, Resulting Numbers: [47, 39] Generated Node #0,2,1: 15:[47, 39] Operation: 49-10=39 Exploring Operation: 49-47=2, Resulting Numbers: [10, 2] Generated Node #0,2,2: 15:[10, 2] Operation: 49-47=2 Exploring Operation: 49+10=59, Resulting Numbers: [47, 59] Generated Node #0,2,3: 15:[47, 59] Operation: 49+10=59 Exploring Operation: 47+10=57, Resulting Numbers: [49, 57] Generated Node #0,2,4: 15:[49, 57] Operation: 47+10=57 Moving to Node #0,0 Current State: 15:[49, 47, 54], Operations: ['60-6=54'] Exploring Operation: 54-49=5, Resulting Numbers: [47, 5] Generated Node #0,0,0: 15:[47, 5] Operation: 54-49=5 Exploring Operation: 49+47=96, Resulting Numbers: [54, 96] Generated Node #0,0,1: 15:[54, 96] Operation: 49+47=96 Exploring Operation: 49-47=2, Resulting Numbers: [54, 2] Generated Node #0,0,2: 15:[54, 2] Operation: 49-47=2 Exploring Operation: 49+54=103, Resulting Numbers: [47, 103] Generated Node #0,0,3: 15:[47, 103] Operation: 49+54=103 Exploring Operation: 54-47=7, Resulting Numbers: [49, 7] Generated Node #0,0,4: 15:[49, 7] Operation: 54-47=7 Moving to Node #0,3,2 Current State: 15:[2, 10], Operations: ['49-47=2', '60/6=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[10, 2], Operations: ['60/6=10', '49-47=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[6, 30], Operations: ['49-47=2', '60/2=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[6, 36], Operations: ['60-49=11', '47-11=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,15 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[11, 41], Operations: ['60-49=11', '47-6=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[47, 5], Operations: ['60-49=11', '11-6=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[47, 5], Operations: ['60-6=54', '54-49=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[47, 17], Operations: ['60-49=11', '6+11=17'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,15 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[49, 7], Operations: ['60-6=54', '54-47=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,15 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[2, 54], Operations: ['49-47=2', '60-6=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[54, 2], Operations: ['60-6=54', '49-47=2'] Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,15 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[11, 53], Operations: ['60-49=11', '6+47=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,15 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[6, 58], Operations: ['49-47=2', '60-2=58'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[60, 3], Operations: ['49-47=2', '6/2=3'] Exploring Operation: 60*3=180, Resulting Numbers: [180] 180,15 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 60+3=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[49, 37], Operations: ['60/6=10', '47-10=37'] Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,15 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[47, 39], Operations: ['60/6=10', '49-10=39'] Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 47+39=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 47*39=1833, Resulting Numbers: [1833] 1833,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[47, 59], Operations: ['60/6=10', '49+10=59'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,15 unequal: No Solution Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[49, 57], Operations: ['60/6=10', '47+10=57'] Exploring Operation: 49*57=2793, Resulting Numbers: [2793] 2793,15 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 49+57=106, Resulting Numbers: [106] 106,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[54, 96], Operations: ['60-6=54', '49+47=96'] Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,15 unequal: No Solution Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,15 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[47, 103], Operations: ['60-6=54', '49+54=103'] Exploring Operation: 47+103=150, Resulting Numbers: [150] 150,15 unequal: No Solution Exploring Operation: 47*103=4841, Resulting Numbers: [4841] 4841,15 unequal: No Solution Exploring Operation: 103-47=56, Resulting Numbers: [56] 56,15 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 21, 29, 21, 58 ]
63
[ "21*58=1218", "1218/29=42", "21+42=63" ]
Current State: 63:[21, 29, 21, 58], Operations: [] Exploring Operation: 21*58=1218, Resulting Numbers: [29, 1218] Generated Node #2: [29, 1218] from Operation: 21*58=1218 Current State: 63:[29, 1218], Operations: ['21*58=1218'] Exploring Operation: 1218/29=42, Resulting Numbers: [42] 42,63 equal: Goal Reached Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 29, 21, 58], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [21, 21, 2] Generated Node #0,0: 63:[21, 21, 2] Operation: 58/29=2 Exploring Operation: 29-21=8, Resulting Numbers: [21, 58, 8] Generated Node #0,1: 63:[21, 58, 8] Operation: 29-21=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[21, 21, 2], Operations: ['58/29=2'] Exploring Operation: 21-2=19, Resulting Numbers: [21, 19] Generated Node #0,0,0: 63:[21, 19] Operation: 21-2=19 Exploring Operation: 21+2=23, Resulting Numbers: [21, 23] Generated Node #0,0,1: 63:[21, 23] Operation: 21+2=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[21, 19], Operations: ['58/29=2', '21-2=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[21, 23], Operations: ['58/29=2', '21+2=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[21, 58, 8], Operations: ['29-21=8'] Exploring Operation: 21-8=13, Resulting Numbers: [58, 13] Generated Node #0,1,0: 63:[58, 13] Operation: 21-8=13 Exploring Operation: 58+8=66, Resulting Numbers: [21, 66] Generated Node #0,1,1: 63:[21, 66] Operation: 58+8=66 Moving to Node #0,1,1 Current State: 63:[21, 66], Operations: ['29-21=8', '58+8=66'] Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[58, 13], Operations: ['29-21=8', '21-8=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,63 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
[ 23, 27, 6, 4 ]
79
[ "23+6=29", "27*4=108", "108-29=79" ]
Current State: 79:[23, 27, 6, 4], Operations: [] Exploring Operation: 23+6=29, Resulting Numbers: [27, 4, 29] Generated Node #2: [27, 4, 29] from Operation: 23+6=29 Current State: 79:[27, 4, 29], Operations: ['23+6=29'] Exploring Operation: 27*4=108, Resulting Numbers: [29, 108] Generated Node #3: [29, 108] from Operation: 27*4=108 Current State: 79:[29, 108], Operations: ['23+6=29', '27*4=108'] Exploring Operation: 108-29=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[23, 27, 6, 4], Operations: [] Exploring Operation: 6*4=24, Resulting Numbers: [23, 27, 24] Generated Node #0,0: 79:[23, 27, 24] Operation: 6*4=24 Exploring Operation: 23*4=92, Resulting Numbers: [27, 6, 92] Generated Node #0,1: 79:[27, 6, 92] Operation: 23*4=92 Exploring Operation: 27*4=108, Resulting Numbers: [23, 6, 108] Generated Node #0,2: 79:[23, 6, 108] Operation: 27*4=108 Moving to Node #0,1 Current State: 79:[27, 6, 92], Operations: ['23*4=92'] Exploring Operation: 27+6=33, Resulting Numbers: [92, 33] Generated Node #0,1,0: 79:[92, 33] Operation: 27+6=33 Exploring Operation: 92-6=86, Resulting Numbers: [27, 86] Generated Node #0,1,1: 79:[27, 86] Operation: 92-6=86 Exploring Operation: 27-6=21, Resulting Numbers: [92, 21] Generated Node #0,1,2: 79:[92, 21] Operation: 27-6=21 Moving to Node #0,2 Current State: 79:[23, 6, 108], Operations: ['27*4=108'] Exploring Operation: 108-6=102, Resulting Numbers: [23, 102] Generated Node #0,2,0: 79:[23, 102] Operation: 108-6=102 Exploring Operation: 108-23=85, Resulting Numbers: [6, 85] Generated Node #0,2,1: 79:[6, 85] Operation: 108-23=85 Exploring Operation: 23+6=29, Resulting Numbers: [108, 29] Generated Node #0,2,2: 79:[108, 29] Operation: 23+6=29 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[23, 102], Operations: ['27*4=108', '108-6=102'] Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[23, 27, 6, 4], Operations: [] Exploring Operation: 27*4=108, Resulting Numbers: [23, 6, 108] Generated Node #0,2: 79:[23, 6, 108] Operation: 27*4=108 Moving to Node #0,2 Current State: 79:[23, 6, 108], Operations: ['27*4=108'] Exploring Operation: 108-6=102, Resulting Numbers: [23, 102] Generated Node #0,2,0: 79:[23, 102] Operation: 108-6=102 Moving to Node #0,2,0 Current State: 79:[23, 102], Operations: ['27*4=108', '108-6=102'] Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 31, 67, 3, 58 ]
93
[ "67-58=9", "31*9=279", "279/3=93" ]
Current State: 93:[31, 67, 3, 58], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [31, 3, 9] Generated Node #2: [31, 3, 9] from Operation: 67-58=9 Current State: 93:[31, 3, 9], Operations: ['67-58=9'] Exploring Operation: 31*9=279, Resulting Numbers: [3, 279] Generated Node #3: [3, 279] from Operation: 31*9=279 Current State: 93:[3, 279], Operations: ['67-58=9', '31*9=279'] Exploring Operation: 279/3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[31, 67, 3, 58], Operations: [] Exploring Operation: 31+67=98, Resulting Numbers: [3, 58, 98] Generated Node #0,0: 93:[3, 58, 98] Operation: 31+67=98 Exploring Operation: 67-31=36, Resulting Numbers: [3, 58, 36] Generated Node #0,1: 93:[3, 58, 36] Operation: 67-31=36 Exploring Operation: 58-31=27, Resulting Numbers: [67, 3, 27] Generated Node #0,2: 93:[67, 3, 27] Operation: 58-31=27 Exploring Operation: 67-58=9, Resulting Numbers: [31, 3, 9] Generated Node #0,3: 93:[31, 3, 9] Operation: 67-58=9 Exploring Operation: 31+58=89, Resulting Numbers: [67, 3, 89] Generated Node #0,4: 93:[67, 3, 89] Operation: 31+58=89 Moving to Node #0,3 Current State: 93:[31, 3, 9], Operations: ['67-58=9'] Exploring Operation: 9/3=3, Resulting Numbers: [31, 3] Generated Node #0,3,0: 93:[31, 3] Operation: 9/3=3 Exploring Operation: 31+3=34, Resulting Numbers: [9, 34] Generated Node #0,3,1: 93:[9, 34] Operation: 31+3=34 Exploring Operation: 9-3=6, Resulting Numbers: [31, 6] Generated Node #0,3,2: 93:[31, 6] Operation: 9-3=6 Exploring Operation: 31*3=93, Resulting Numbers: [9, 93] Generated Node #0,3,3: 93:[9, 93] Operation: 31*3=93 Exploring Operation: 3*9=27, Resulting Numbers: [31, 27] Generated Node #0,3,4: 93:[31, 27] Operation: 3*9=27 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[31, 3], Operations: ['67-58=9', '9/3=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[31, 67, 3, 58], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [31, 3, 9] Generated Node #0,3: 93:[31, 3, 9] Operation: 67-58=9 Moving to Node #0,3 Current State: 93:[31, 3, 9], Operations: ['67-58=9'] Exploring Operation: 9/3=3, Resulting Numbers: [31, 3] Generated Node #0,3,0: 93:[31, 3] Operation: 9/3=3 Moving to Node #0,3,0 Current State: 93:[31, 3], Operations: ['67-58=9', '9/3=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 9, 69, 46, 58 ]
52
[ "9*46=414", "414/69=6", "58-6=52" ]
Current State: 52:[9, 69, 46, 58], Operations: [] Exploring Operation: 9*46=414, Resulting Numbers: [69, 58, 414] Generated Node #2: [69, 58, 414] from Operation: 9*46=414 Current State: 52:[69, 58, 414], Operations: ['9*46=414'] Exploring Operation: 414/69=6, Resulting Numbers: [58, 6] Generated Node #3: [58, 6] from Operation: 414/69=6 Current State: 52:[58, 6], Operations: ['9*46=414', '414/69=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[9, 69, 46, 58], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [9, 46, 11] Generated Node #0,0: 52:[9, 46, 11] Operation: 69-58=11 Exploring Operation: 58-46=12, Resulting Numbers: [9, 69, 12] Generated Node #0,1: 52:[9, 69, 12] Operation: 58-46=12 Exploring Operation: 9+46=55, Resulting Numbers: [69, 58, 55] Generated Node #0,2: 52:[69, 58, 55] Operation: 9+46=55 Exploring Operation: 69-9=60, Resulting Numbers: [46, 58, 60] Generated Node #0,3: 52:[46, 58, 60] Operation: 69-9=60 Exploring Operation: 69-46=23, Resulting Numbers: [9, 58, 23] Generated Node #0,4: 52:[9, 58, 23] Operation: 69-46=23 Moving to Node #0,0 Current State: 52:[9, 46, 11], Operations: ['69-58=11'] Exploring Operation: 46+11=57, Resulting Numbers: [9, 57] Generated Node #0,0,0: 52:[9, 57] Operation: 46+11=57 Exploring Operation: 9+11=20, Resulting Numbers: [46, 20] Generated Node #0,0,1: 52:[46, 20] Operation: 9+11=20 Exploring Operation: 46-9=37, Resulting Numbers: [11, 37] Generated Node #0,0,2: 52:[11, 37] Operation: 46-9=37 Exploring Operation: 11-9=2, Resulting Numbers: [46, 2] Generated Node #0,0,3: 52:[46, 2] Operation: 11-9=2 Exploring Operation: 9+46=55, Resulting Numbers: [11, 55] Generated Node #0,0,4: 52:[11, 55] Operation: 9+46=55 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 52:[11, 55], Operations: ['69-58=11', '9+46=55'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,52 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[46, 2], Operations: ['69-58=11', '11-9=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,52 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[9, 57], Operations: ['69-58=11', '46+11=57'] Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,52 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[46, 20], Operations: ['69-58=11', '9+11=20'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,52 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[11, 37], Operations: ['69-58=11', '46-9=37'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,52 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: 52:[9, 58, 23], Operations: ['69-46=23'] Exploring Operation: 9+23=32, Resulting Numbers: [58, 32] Generated Node #0,4,0: 52:[58, 32] Operation: 9+23=32 Exploring Operation: 9+58=67, Resulting Numbers: [23, 67] Generated Node #0,4,1: 52:[23, 67] Operation: 9+58=67 Exploring Operation: 58-23=35, Resulting Numbers: [9, 35] Generated Node #0,4,2: 52:[9, 35] Operation: 58-23=35 Exploring Operation: 23-9=14, Resulting Numbers: [58, 14] Generated Node #0,4,3: 52:[58, 14] Operation: 23-9=14 Exploring Operation: 58-9=49, Resulting Numbers: [23, 49] Generated Node #0,4,4: 52:[23, 49] Operation: 58-9=49 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 52:[23, 49], Operations: ['69-46=23', '58-9=49'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,52 unequal: No Solution Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 52:[58, 14], Operations: ['69-46=23', '23-9=14'] Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,52 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 52:[58, 32], Operations: ['69-46=23', '9+23=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,52 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 52:[9, 35], Operations: ['69-46=23', '58-23=35'] Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,52 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 52:[23, 67], Operations: ['69-46=23', '9+58=67'] Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,52 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,52 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: 52:[46, 58, 60], Operations: ['69-9=60'] Exploring Operation: 60-58=2, Resulting Numbers: [46, 2] Generated Node #0,3,0: 52:[46, 2] Operation: 60-58=2 Exploring Operation: 46+58=104, Resulting Numbers: [60, 104] Generated Node #0,3,1: 52:[60, 104] Operation: 46+58=104 Exploring Operation: 60-46=14, Resulting Numbers: [58, 14] Generated Node #0,3,2: 52:[58, 14] Operation: 60-46=14 Exploring Operation: 46+60=106, Resulting Numbers: [58, 106] Generated Node #0,3,3: 52:[58, 106] Operation: 46+60=106 Exploring Operation: 58-46=12, Resulting Numbers: [60, 12] Generated Node #0,3,4: 52:[60, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[46, 2], Operations: ['69-9=60', '60-58=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[58, 14], Operations: ['69-9=60', '60-46=14'] Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,52 unequal: No Solution Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 52:[60, 12], Operations: ['69-9=60', '58-46=12'] Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 60*12=720, Resulting Numbers: [720] 720,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[60, 104], Operations: ['69-9=60', '46+58=104'] Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,52 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[58, 106], Operations: ['69-9=60', '46+60=106'] Exploring Operation: 58+106=164, Resulting Numbers: [164] 164,52 unequal: No Solution Exploring Operation: 106-58=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 58*106=6148, Resulting Numbers: [6148] 6148,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 52:[9, 69, 12], Operations: ['58-46=12'] Exploring Operation: 9+12=21, Resulting Numbers: [69, 21] Generated Node #0,1,0: 52:[69, 21] Operation: 9+12=21 Exploring Operation: 9+69=78, Resulting Numbers: [12, 78] Generated Node #0,1,1: 52:[12, 78] Operation: 9+69=78 Exploring Operation: 69-12=57, Resulting Numbers: [9, 57] Generated Node #0,1,2: 52:[9, 57] Operation: 69-12=57 Exploring Operation: 69-9=60, Resulting Numbers: [12, 60] Generated Node #0,1,3: 52:[12, 60] Operation: 69-9=60 Exploring Operation: 12-9=3, Resulting Numbers: [69, 3] Generated Node #0,1,4: 52:[69, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[9, 57], Operations: ['58-46=12', '69-12=57'] Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,52 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[12, 60], Operations: ['58-46=12', '69-9=60'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 12*60=720, Resulting Numbers: [720] 720,52 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 52:[69, 3], Operations: ['58-46=12', '12-9=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,52 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[69, 21], Operations: ['58-46=12', '9+12=21'] Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,52 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[12, 78], Operations: ['58-46=12', '9+69=78'] Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,52 unequal: No Solution Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,52 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,52 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: 52:[69, 58, 55], Operations: ['9+46=55'] Exploring Operation: 69+58=127, Resulting Numbers: [55, 127] Generated Node #0,2,0: 52:[55, 127] Operation: 69+58=127 Exploring Operation: 69-58=11, Resulting Numbers: [55, 11] Generated Node #0,2,1: 52:[55, 11] Operation: 69-58=11 Exploring Operation: 69+55=124, Resulting Numbers: [58, 124] Generated Node #0,2,2: 52:[58, 124] Operation: 69+55=124 Exploring Operation: 69-55=14, Resulting Numbers: [58, 14] Generated Node #0,2,3: 52:[58, 14] Operation: 69-55=14 Exploring Operation: 58-55=3, Resulting Numbers: [69, 3] Generated Node #0,2,4: 52:[69, 3] Operation: 58-55=3 Moving to Node #0,2,1 Current State: 52:[55, 11], Operations: ['9+46=55', '69-58=11'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,52 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[58, 14], Operations: ['9+46=55', '69-55=14'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[69, 3], Operations: ['9+46=55', '58-55=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[55, 127], Operations: ['9+46=55', '69+58=127'] Exploring Operation: 55+127=182, Resulting Numbers: [182] 182,52 unequal: No Solution Exploring Operation: 55*127=6985, Resulting Numbers: [6985] 6985,52 unequal: No Solution Exploring Operation: 127-55=72, Resulting Numbers: [72] 72,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[58, 124], Operations: ['9+46=55', '69+55=124'] Exploring Operation: 58+124=182, Resulting Numbers: [182] 182,52 unequal: No Solution Exploring Operation: 124-58=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 58*124=7192, Resulting Numbers: [7192] 7192,52 unequal: No Solution No solution found.
0
hs_5
mult_heuristic