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
[ 93, 39, 4, 51 ]
96
[ "51-39=12", "12/4=3", "93+3=96" ]
Current State: 96:[93, 39, 4, 51], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [93, 4, 12] Generated Node #2: [93, 4, 12] from Operation: 51-39=12 Current State: 96:[93, 4, 12], Operations: ['51-39=12'] Exploring Operation: 12/4=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 12/4=3 Current State: 96:[93, 3], Operations: ['51-39=12', '12/4=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[93, 39, 4, 51], Operations: [] Exploring Operation: 93-39=54, Resulting Numbers: [4, 51, 54] Generated Node #0,0: 96:[4, 51, 54] Operation: 93-39=54 Exploring Operation: 51-39=12, Resulting Numbers: [93, 4, 12] Generated Node #0,1: 96:[93, 4, 12] Operation: 51-39=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[93, 4, 12], Operations: ['51-39=12'] Exploring Operation: 93+4=97, Resulting Numbers: [12, 97] Generated Node #0,1,0: 96:[12, 97] Operation: 93+4=97 Exploring Operation: 4+12=16, Resulting Numbers: [93, 16] Generated Node #0,1,1: 96:[93, 16] Operation: 4+12=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[12, 97], Operations: ['51-39=12', '93+4=97'] Exploring Operation: 12+97=109, Resulting Numbers: [109] 109,96 unequal: No Solution Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,96 unequal: No Solution No 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: 96:[93, 16], Operations: ['51-39=12', '4+12=16'] Exploring Operation: 93+16=109, Resulting Numbers: [109] 109,96 unequal: No Solution Exploring Operation: 93-16=77, Resulting Numbers: [77] 77,96 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: 96:[4, 51, 54], Operations: ['93-39=54'] Exploring Operation: 54-4=50, Resulting Numbers: [51, 50] Generated Node #0,0,0: 96:[51, 50] Operation: 54-4=50 Exploring Operation: 54-51=3, Resulting Numbers: [4, 3] Generated Node #0,0,1: 96:[4, 3] Operation: 54-51=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[4, 3], Operations: ['93-39=54', '54-51=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,96 unequal: No Solution No 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: 96:[51, 50], Operations: ['93-39=54', '54-4=50'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,96 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
[ 67, 14, 79, 55 ]
16
[ "79+55=134", "134/67=2", "14+2=16" ]
Current State: 16:[67, 14, 79, 55], Operations: [] Exploring Operation: 79+55=134, Resulting Numbers: [67, 14, 134] Generated Node #2: [67, 14, 134] from Operation: 79+55=134 Current State: 16:[67, 14, 134], Operations: ['79+55=134'] Exploring Operation: 134/67=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 134/67=2 Current State: 16:[14, 2], Operations: ['79+55=134', '134/67=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[67, 14, 79, 55], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [67, 14, 24] Generated Node #0,0: 16:[67, 14, 24] Operation: 79-55=24 Exploring Operation: 67-55=12, Resulting Numbers: [14, 79, 12] Generated Node #0,1: 16:[14, 79, 12] Operation: 67-55=12 Exploring Operation: 79-67=12, Resulting Numbers: [14, 55, 12] Generated Node #0,2: 16:[14, 55, 12] Operation: 79-67=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[14, 55, 12], Operations: ['79-67=12'] Exploring Operation: 55-14=41, Resulting Numbers: [12, 41] Generated Node #0,2,0: 16:[12, 41] Operation: 55-14=41 Exploring Operation: 55-12=43, Resulting Numbers: [14, 43] Generated Node #0,2,1: 16:[14, 43] Operation: 55-12=43 Exploring Operation: 14-12=2, Resulting Numbers: [55, 2] Generated Node #0,2,2: 16:[55, 2] Operation: 14-12=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[12, 41], Operations: ['79-67=12', '55-14=41'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,16 unequal: No Solution Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[14, 43], Operations: ['79-67=12', '55-12=43'] Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,16 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[55, 2], Operations: ['79-67=12', '14-12=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[67, 14, 24], Operations: ['79-55=24'] Exploring Operation: 67-24=43, Resulting Numbers: [14, 43] Generated Node #0,0,0: 16:[14, 43] Operation: 67-24=43 Exploring Operation: 24-14=10, Resulting Numbers: [67, 10] Generated Node #0,0,1: 16:[67, 10] Operation: 24-14=10 Exploring Operation: 67-14=53, Resulting Numbers: [24, 53] Generated Node #0,0,2: 16:[24, 53] Operation: 67-14=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[14, 43], Operations: ['79-55=24', '67-24=43'] Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,16 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[24, 53], Operations: ['79-55=24', '67-14=53'] Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,16 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[67, 10], Operations: ['79-55=24', '24-14=10'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,16 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[14, 79, 12], Operations: ['67-55=12'] Exploring Operation: 79-14=65, Resulting Numbers: [12, 65] Generated Node #0,1,0: 16:[12, 65] Operation: 79-14=65 Exploring Operation: 79-12=67, Resulting Numbers: [14, 67] Generated Node #0,1,1: 16:[14, 67] Operation: 79-12=67 Exploring Operation: 14-12=2, Resulting Numbers: [79, 2] Generated Node #0,1,2: 16:[79, 2] Operation: 14-12=2 Moving to Node #0,1,0 Current State: 16:[12, 65], Operations: ['67-55=12', '79-14=65'] Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,16 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[14, 67], Operations: ['67-55=12', '79-12=67'] Exploring Operation: 14*67=938, Resulting Numbers: [938] 938,16 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 14+67=81, Resulting Numbers: [81] 81,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[79, 2], Operations: ['67-55=12', '14-12=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,16 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
[ 47, 62, 6, 25 ]
70
[ "47-25=22", "6*22=132", "132-62=70" ]
Current State: 70:[47, 62, 6, 25], Operations: [] Exploring Operation: 47-25=22, Resulting Numbers: [62, 6, 22] Generated Node #2: [62, 6, 22] from Operation: 47-25=22 Current State: 70:[62, 6, 22], Operations: ['47-25=22'] Exploring Operation: 6*22=132, Resulting Numbers: [62, 132] Generated Node #3: [62, 132] from Operation: 6*22=132 Current State: 70:[62, 132], Operations: ['47-25=22', '6*22=132'] Exploring Operation: 132-62=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[47, 62, 6, 25], Operations: [] Exploring Operation: 47+25=72, Resulting Numbers: [62, 6, 72] Generated Node #0,0: 70:[62, 6, 72] Operation: 47+25=72 Moving to Node #0,0 Current State: 70:[62, 6, 72], Operations: ['47+25=72'] Exploring Operation: 72-62=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 70:[6, 10] Operation: 72-62=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[6, 10], Operations: ['47+25=72', '72-62=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 35, 3, 91, 49 ]
63
[ "35*3=105", "91-49=42", "105-42=63" ]
Current State: 63:[35, 3, 91, 49], Operations: [] Exploring Operation: 35*3=105, Resulting Numbers: [91, 49, 105] Generated Node #2: [91, 49, 105] from Operation: 35*3=105 Current State: 63:[91, 49, 105], Operations: ['35*3=105'] Exploring Operation: 91-49=42, Resulting Numbers: [105, 42] Generated Node #3: [105, 42] from Operation: 91-49=42 Current State: 63:[105, 42], Operations: ['35*3=105', '91-49=42'] Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[35, 3, 91, 49], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [3, 49, 56] Generated Node #0,0: 63:[3, 49, 56] Operation: 91-35=56 Exploring Operation: 49-35=14, Resulting Numbers: [3, 91, 14] Generated Node #0,1: 63:[3, 91, 14] Operation: 49-35=14 Exploring Operation: 91-49=42, Resulting Numbers: [35, 3, 42] Generated Node #0,2: 63:[35, 3, 42] Operation: 91-49=42 Moving to Node #0,0 Current State: 63:[3, 49, 56], Operations: ['91-35=56'] Exploring Operation: 3+56=59, Resulting Numbers: [49, 59] Generated Node #0,0,0: 63:[49, 59] Operation: 3+56=59 Exploring Operation: 56-49=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 63:[3, 7] Operation: 56-49=7 Exploring Operation: 3+49=52, Resulting Numbers: [56, 52] Generated Node #0,0,2: 63:[56, 52] Operation: 3+49=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[3, 7], Operations: ['91-35=56', '56-49=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[49, 59], Operations: ['91-35=56', '3+56=59'] Exploring Operation: 49+59=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 49*59=2891, Resulting Numbers: [2891] 2891,63 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[56, 52], Operations: ['91-35=56', '3+49=52'] Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,63 unequal: No Solution Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 63:[3, 91, 14], Operations: ['49-35=14'] Exploring Operation: 14-3=11, Resulting Numbers: [91, 11] Generated Node #0,1,0: 63:[91, 11] Operation: 14-3=11 Exploring Operation: 91-14=77, Resulting Numbers: [3, 77] Generated Node #0,1,1: 63:[3, 77] Operation: 91-14=77 Exploring Operation: 91-3=88, Resulting Numbers: [14, 88] Generated Node #0,1,2: 63:[14, 88] Operation: 91-3=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[3, 77], Operations: ['49-35=14', '91-14=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[91, 11], Operations: ['49-35=14', '14-3=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 91*11=1001, Resulting Numbers: [1001] 1001,63 unequal: No Solution Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[14, 88], Operations: ['49-35=14', '91-3=88'] Exploring Operation: 14+88=102, Resulting Numbers: [102] 102,63 unequal: No Solution Exploring Operation: 14*88=1232, Resulting Numbers: [1232] 1232,63 unequal: No Solution Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 63:[35, 3, 42], Operations: ['91-49=42'] Exploring Operation: 42-35=7, Resulting Numbers: [3, 7] Generated Node #0,2,0: 63:[3, 7] Operation: 42-35=7 Exploring Operation: 42/3=14, Resulting Numbers: [35, 14] Generated Node #0,2,1: 63:[35, 14] Operation: 42/3=14 Exploring Operation: 35+42=77, Resulting Numbers: [3, 77] Generated Node #0,2,2: 63:[3, 77] Operation: 35+42=77 Moving to Node #0,2,0 Current State: 63:[3, 7], Operations: ['91-49=42', '42-35=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[3, 77], Operations: ['91-49=42', '35+42=77'] Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,63 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[35, 14], Operations: ['91-49=42', '42/3=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,63 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 4, 24, 9, 78 ]
89
[ "24-4=20", "78-9=69", "20+69=89" ]
Current State: 89:[4, 24, 9, 78], Operations: [] Exploring Operation: 24-4=20, Resulting Numbers: [9, 78, 20] Generated Node #2: [9, 78, 20] from Operation: 24-4=20 Current State: 89:[9, 78, 20], Operations: ['24-4=20'] Exploring Operation: 78-9=69, Resulting Numbers: [20, 69] Generated Node #3: [20, 69] from Operation: 78-9=69 Current State: 89:[20, 69], Operations: ['24-4=20', '78-9=69'] Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[4, 24, 9, 78], Operations: [] Exploring Operation: 4*9=36, Resulting Numbers: [24, 78, 36] Generated Node #0,0: 89:[24, 78, 36] Operation: 4*9=36 Exploring Operation: 4*24=96, Resulting Numbers: [9, 78, 96] Generated Node #0,1: 89:[9, 78, 96] Operation: 4*24=96 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[9, 78, 96], Operations: ['4*24=96'] Exploring Operation: 9+78=87, Resulting Numbers: [96, 87] Generated Node #0,1,0: 89:[96, 87] Operation: 9+78=87 Exploring Operation: 96-9=87, Resulting Numbers: [78, 87] Generated Node #0,1,1: 89:[78, 87] Operation: 96-9=87 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[96, 87], Operations: ['4*24=96', '9+78=87'] Exploring Operation: 96+87=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[78, 87], Operations: ['4*24=96', '96-9=87'] Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 78+87=165, Resulting Numbers: [165] 165,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[24, 78, 36], Operations: ['4*9=36'] Exploring Operation: 24+36=60, Resulting Numbers: [78, 60] Generated Node #0,0,0: 89:[78, 60] Operation: 24+36=60 Exploring Operation: 24+78=102, Resulting Numbers: [36, 102] Generated Node #0,0,1: 89:[36, 102] Operation: 24+78=102 Moving to Node #0,0,0 Current State: 89:[78, 60], Operations: ['4*9=36', '24+36=60'] Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[36, 102], Operations: ['4*9=36', '24+78=102'] Exploring Operation: 102-36=66, Resulting Numbers: [66] 66,89 unequal: No Solution Exploring Operation: 36+102=138, Resulting Numbers: [138] 138,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 52, 8, 63 ]
44
[ "8-4=4", "63-52=11", "4*11=44" ]
Current State: 44:[4, 52, 8, 63], Operations: [] Exploring Operation: 8-4=4, Resulting Numbers: [52, 63, 4] Generated Node #2: [52, 63, 4] from Operation: 8-4=4 Current State: 44:[52, 63, 4], Operations: ['8-4=4'] Exploring Operation: 63-52=11, Resulting Numbers: [4, 11] Generated Node #3: [4, 11] from Operation: 63-52=11 Current State: 44:[4, 11], Operations: ['8-4=4', '63-52=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[4, 52, 8, 63], Operations: [] Exploring Operation: 52-8=44, Resulting Numbers: [4, 63, 44] Generated Node #0,0: 44:[4, 63, 44] Operation: 52-8=44 Exploring Operation: 63-8=55, Resulting Numbers: [4, 52, 55] Generated Node #0,1: 44:[4, 52, 55] Operation: 63-8=55 Exploring Operation: 52/4=13, Resulting Numbers: [8, 63, 13] Generated Node #0,2: 44:[8, 63, 13] Operation: 52/4=13 Exploring Operation: 63-52=11, Resulting Numbers: [4, 8, 11] Generated Node #0,3: 44:[4, 8, 11] Operation: 63-52=11 Moving to Node #0,3 Current State: 44:[4, 8, 11], Operations: ['63-52=11'] Exploring Operation: 8/4=2, Resulting Numbers: [11, 2] Generated Node #0,3,0: 44:[11, 2] Operation: 8/4=2 Exploring Operation: 4+8=12, Resulting Numbers: [11, 12] Generated Node #0,3,1: 44:[11, 12] Operation: 4+8=12 Exploring Operation: 8-4=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 44:[11, 4] Operation: 8-4=4 Exploring Operation: 11-8=3, Resulting Numbers: [4, 3] Generated Node #0,3,3: 44:[4, 3] Operation: 11-8=3 Moving to Node #0,1 Current State: 44:[4, 52, 55], Operations: ['63-8=55'] Exploring Operation: 55-52=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 44:[4, 3] Operation: 55-52=3 Exploring Operation: 55-4=51, Resulting Numbers: [52, 51] Generated Node #0,1,1: 44:[52, 51] Operation: 55-4=51 Exploring Operation: 52/4=13, Resulting Numbers: [55, 13] Generated Node #0,1,2: 44:[55, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [55, 48] Generated Node #0,1,3: 44:[55, 48] Operation: 52-4=48 Moving to Node #0,0 Current State: 44:[4, 63, 44], Operations: ['52-8=44'] Exploring Operation: 63-4=59, Resulting Numbers: [44, 59] Generated Node #0,0,0: 44:[44, 59] Operation: 63-4=59 Exploring Operation: 63-44=19, Resulting Numbers: [4, 19] Generated Node #0,0,1: 44:[4, 19] Operation: 63-44=19 Exploring Operation: 4+63=67, Resulting Numbers: [44, 67] Generated Node #0,0,2: 44:[44, 67] Operation: 4+63=67 Exploring Operation: 44/4=11, Resulting Numbers: [63, 11] Generated Node #0,0,3: 44:[63, 11] Operation: 44/4=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[4, 19], Operations: ['52-8=44', '63-44=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,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,0,0 Current State: 44:[44, 59], Operations: ['52-8=44', '63-4=59'] Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,44 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 44*59=2596, Resulting Numbers: [2596] 2596,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,0,3 Current State: 44:[63, 11], Operations: ['52-8=44', '44/4=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,44 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,44 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,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,0,2 Current State: 44:[44, 67], Operations: ['52-8=44', '4+63=67'] Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,44 unequal: No Solution Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,44 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: 44:[8, 63, 13], Operations: ['52/4=13'] Exploring Operation: 8+13=21, Resulting Numbers: [63, 21] Generated Node #0,2,0: 44:[63, 21] Operation: 8+13=21 Exploring Operation: 13-8=5, Resulting Numbers: [63, 5] Generated Node #0,2,1: 44:[63, 5] Operation: 13-8=5 Exploring Operation: 63-8=55, Resulting Numbers: [13, 55] Generated Node #0,2,2: 44:[13, 55] Operation: 63-8=55 Exploring Operation: 63-13=50, Resulting Numbers: [8, 50] Generated Node #0,2,3: 44:[8, 50] Operation: 63-13=50 Moving to Node #0,3,0 Current State: 44:[11, 2], Operations: ['63-52=11', '8/4=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[11, 4], Operations: ['63-52=11', '8-4=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[4, 52, 8, 63], Operations: [] Exploring Operation: 63-52=11, Resulting Numbers: [4, 8, 11] Generated Node #0,3: 44:[4, 8, 11] Operation: 63-52=11 Moving to Node #0,3 Current State: 44:[4, 8, 11], Operations: ['63-52=11'] Exploring Operation: 8-4=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 44:[11, 4] Operation: 8-4=4 Moving to Node #0,3,2 Current State: 44:[11, 4], Operations: ['63-52=11', '8-4=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.96441
hs_4
mult_heuristic
[ 87, 57, 11, 75 ]
94
[ "87-57=30", "75-11=64", "30+64=94" ]
Current State: 94:[87, 57, 11, 75], Operations: [] Exploring Operation: 87-57=30, Resulting Numbers: [11, 75, 30] Generated Node #2: [11, 75, 30] from Operation: 87-57=30 Current State: 94:[11, 75, 30], Operations: ['87-57=30'] Exploring Operation: 75-11=64, Resulting Numbers: [30, 64] Generated Node #3: [30, 64] from Operation: 75-11=64 Current State: 94:[30, 64], Operations: ['87-57=30', '75-11=64'] Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[87, 57, 11, 75], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [57, 11, 12] Generated Node #0,0: 94:[57, 11, 12] Operation: 87-75=12 Exploring Operation: 11+75=86, Resulting Numbers: [87, 57, 86] Generated Node #0,1: 94:[87, 57, 86] Operation: 11+75=86 Exploring Operation: 57-11=46, Resulting Numbers: [87, 75, 46] Generated Node #0,2: 94:[87, 75, 46] Operation: 57-11=46 Exploring Operation: 75-57=18, Resulting Numbers: [87, 11, 18] Generated Node #0,3: 94:[87, 11, 18] Operation: 75-57=18 Moving to Node #0,1 Current State: 94:[87, 57, 86], Operations: ['11+75=86'] Exploring Operation: 57+86=143, Resulting Numbers: [87, 143] Generated Node #0,1,0: 94:[87, 143] Operation: 57+86=143 Exploring Operation: 86-57=29, Resulting Numbers: [87, 29] Generated Node #0,1,1: 94:[87, 29] Operation: 86-57=29 Exploring Operation: 87-86=1, Resulting Numbers: [57, 1] Generated Node #0,1,2: 94:[57, 1] Operation: 87-86=1 Exploring Operation: 87-57=30, Resulting Numbers: [86, 30] Generated Node #0,1,3: 94:[86, 30] Operation: 87-57=30 Moving to Node #0,2 Current State: 94:[87, 75, 46], Operations: ['57-11=46'] Exploring Operation: 75-46=29, Resulting Numbers: [87, 29] Generated Node #0,2,0: 94:[87, 29] Operation: 75-46=29 Exploring Operation: 75+46=121, Resulting Numbers: [87, 121] Generated Node #0,2,1: 94:[87, 121] Operation: 75+46=121 Exploring Operation: 87-46=41, Resulting Numbers: [75, 41] Generated Node #0,2,2: 94:[75, 41] Operation: 87-46=41 Exploring Operation: 87-75=12, Resulting Numbers: [46, 12] Generated Node #0,2,3: 94:[46, 12] Operation: 87-75=12 Moving to Node #0,0 Current State: 94:[57, 11, 12], Operations: ['87-75=12'] Exploring Operation: 57-11=46, Resulting Numbers: [12, 46] Generated Node #0,0,0: 94:[12, 46] Operation: 57-11=46 Exploring Operation: 57-12=45, Resulting Numbers: [11, 45] Generated Node #0,0,1: 94:[11, 45] Operation: 57-12=45 Exploring Operation: 12-11=1, Resulting Numbers: [57, 1] Generated Node #0,0,2: 94:[57, 1] Operation: 12-11=1 Exploring Operation: 57+11=68, Resulting Numbers: [12, 68] Generated Node #0,0,3: 94:[12, 68] Operation: 57+11=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[12, 46], Operations: ['87-75=12', '57-11=46'] Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,94 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[11, 45], Operations: ['87-75=12', '57-12=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,94 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[57, 1], Operations: ['87-75=12', '12-11=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[12, 68], Operations: ['87-75=12', '57+11=68'] Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,94 unequal: No Solution Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 94:[87, 11, 18], Operations: ['75-57=18'] Exploring Operation: 87+18=105, Resulting Numbers: [11, 105] Generated Node #0,3,0: 94:[11, 105] Operation: 87+18=105 Exploring Operation: 11+18=29, Resulting Numbers: [87, 29] Generated Node #0,3,1: 94:[87, 29] Operation: 11+18=29 Exploring Operation: 18-11=7, Resulting Numbers: [87, 7] Generated Node #0,3,2: 94:[87, 7] Operation: 18-11=7 Exploring Operation: 87+11=98, Resulting Numbers: [18, 98] Generated Node #0,3,3: 94:[18, 98] Operation: 87+11=98 Moving to Node #0,1,2 Current State: 94:[57, 1], Operations: ['11+75=86', '87-86=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[46, 12], Operations: ['57-11=46', '87-75=12'] Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,94 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[87, 7], Operations: ['75-57=18', '18-11=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,94 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[87, 57, 11, 75], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [87, 11, 18] Generated Node #0,3: 94:[87, 11, 18] Operation: 75-57=18 Moving to Node #0,3 Current State: 94:[87, 11, 18], Operations: ['75-57=18'] Exploring Operation: 18-11=7, Resulting Numbers: [87, 7] Generated Node #0,3,2: 94:[87, 7] Operation: 18-11=7 Moving to Node #0,3,2 Current State: 94:[87, 7], Operations: ['75-57=18', '18-11=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.959201
hs_4
mult_heuristic
[ 53, 38, 92, 31 ]
31
[ "53+38=91", "92-91=1", "31*1=31" ]
Current State: 31:[53, 38, 92, 31], Operations: [] Exploring Operation: 53+38=91, Resulting Numbers: [92, 31, 91] Generated Node #2: [92, 31, 91] from Operation: 53+38=91 Current State: 31:[92, 31, 91], Operations: ['53+38=91'] Exploring Operation: 92-91=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 92-91=1 Current State: 31:[31, 1], Operations: ['53+38=91', '92-91=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[53, 38, 92, 31], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [53, 31, 54] Generated Node #0,0: 31:[53, 31, 54] Operation: 92-38=54 Exploring Operation: 53-38=15, Resulting Numbers: [92, 31, 15] Generated Node #0,1: 31:[92, 31, 15] Operation: 53-38=15 Exploring Operation: 92-53=39, Resulting Numbers: [38, 31, 39] Generated Node #0,2: 31:[38, 31, 39] Operation: 92-53=39 Exploring Operation: 92-31=61, Resulting Numbers: [53, 38, 61] Generated Node #0,3: 31:[53, 38, 61] Operation: 92-31=61 Exploring Operation: 53-31=22, Resulting Numbers: [38, 92, 22] Generated Node #0,4: 31:[38, 92, 22] Operation: 53-31=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[38, 31, 39], Operations: ['92-53=39'] Exploring Operation: 39-31=8, Resulting Numbers: [38, 8] Generated Node #0,2,0: 31:[38, 8] Operation: 39-31=8 Exploring Operation: 38+39=77, Resulting Numbers: [31, 77] Generated Node #0,2,1: 31:[31, 77] Operation: 38+39=77 Exploring Operation: 38-31=7, Resulting Numbers: [39, 7] Generated Node #0,2,2: 31:[39, 7] Operation: 38-31=7 Exploring Operation: 39-38=1, Resulting Numbers: [31, 1] Generated Node #0,2,3: 31:[31, 1] Operation: 39-38=1 Exploring Operation: 38+31=69, Resulting Numbers: [39, 69] Generated Node #0,2,4: 31:[39, 69] Operation: 38+31=69 Moving to Node #0,2,0 Current State: 31:[38, 8], Operations: ['92-53=39', '39-31=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,31 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[31, 1], Operations: ['92-53=39', '39-38=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[53, 38, 92, 31], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [38, 31, 39] Generated Node #0,2: 31:[38, 31, 39] Operation: 92-53=39 Moving to Node #0,2 Current State: 31:[38, 31, 39], Operations: ['92-53=39'] Exploring Operation: 39-38=1, Resulting Numbers: [31, 1] Generated Node #0,2,3: 31:[31, 1] Operation: 39-38=1 Moving to Node #0,2,3 Current State: 31:[31, 1], Operations: ['92-53=39', '39-38=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 7, 94, 45, 10 ]
21
[ "7*10=70", "94-45=49", "70-49=21" ]
Current State: 21:[7, 94, 45, 10], Operations: [] Exploring Operation: 7*10=70, Resulting Numbers: [94, 45, 70] Generated Node #2: [94, 45, 70] from Operation: 7*10=70 Current State: 21:[94, 45, 70], Operations: ['7*10=70'] Exploring Operation: 94-45=49, Resulting Numbers: [70, 49] Generated Node #3: [70, 49] from Operation: 94-45=49 Current State: 21:[70, 49], Operations: ['7*10=70', '94-45=49'] Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[7, 94, 45, 10], Operations: [] Exploring Operation: 94-45=49, Resulting Numbers: [7, 10, 49] Generated Node #0,0: 21:[7, 10, 49] Operation: 94-45=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[7, 10, 49], Operations: ['94-45=49'] Exploring Operation: 49/7=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 21:[10, 7] Operation: 49/7=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[10, 7], Operations: ['94-45=49', '49/7=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,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_1
sum_heuristic
[ 56, 8, 29, 31 ]
36
[ "31-29=2", "56/2=28", "8+28=36" ]
Current State: 36:[56, 8, 29, 31], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [56, 8, 2] Generated Node #2: [56, 8, 2] from Operation: 31-29=2 Current State: 36:[56, 8, 2], Operations: ['31-29=2'] Exploring Operation: 56/2=28, Resulting Numbers: [8, 28] Generated Node #3: [8, 28] from Operation: 56/2=28 Current State: 36:[8, 28], Operations: ['31-29=2', '56/2=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[56, 8, 29, 31], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [8, 31, 27] Generated Node #0,0: 36:[8, 31, 27] Operation: 56-29=27 Exploring Operation: 56-31=25, Resulting Numbers: [8, 29, 25] Generated Node #0,1: 36:[8, 29, 25] Operation: 56-31=25 Exploring Operation: 56/8=7, Resulting Numbers: [29, 31, 7] Generated Node #0,2: 36:[29, 31, 7] Operation: 56/8=7 Exploring Operation: 31-29=2, Resulting Numbers: [56, 8, 2] Generated Node #0,3: 36:[56, 8, 2] Operation: 31-29=2 Exploring Operation: 56-8=48, Resulting Numbers: [29, 31, 48] Generated Node #0,4: 36:[29, 31, 48] Operation: 56-8=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[29, 31, 7], Operations: ['56/8=7'] Exploring Operation: 31+7=38, Resulting Numbers: [29, 38] Generated Node #0,2,0: 36:[29, 38] Operation: 31+7=38 Exploring Operation: 29-7=22, Resulting Numbers: [31, 22] Generated Node #0,2,1: 36:[31, 22] Operation: 29-7=22 Exploring Operation: 31-7=24, Resulting Numbers: [29, 24] Generated Node #0,2,2: 36:[29, 24] Operation: 31-7=24 Exploring Operation: 29+7=36, Resulting Numbers: [31, 36] Generated Node #0,2,3: 36:[31, 36] Operation: 29+7=36 Exploring Operation: 31-29=2, Resulting Numbers: [7, 2] Generated Node #0,2,4: 36:[7, 2] Operation: 31-29=2 Moving to Node #0,2,4 Current State: 36:[7, 2], Operations: ['56/8=7', '31-29=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[31, 36], Operations: ['56/8=7', '29+7=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,36 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[29, 38], Operations: ['56/8=7', '31+7=38'] Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[31, 22], Operations: ['56/8=7', '29-7=22'] Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,36 unequal: No Solution Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[29, 24], Operations: ['56/8=7', '31-7=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[8, 31, 27], Operations: ['56-29=27'] Exploring Operation: 27-8=19, Resulting Numbers: [31, 19] Generated Node #0,0,0: 36:[31, 19] Operation: 27-8=19 Exploring Operation: 31-8=23, Resulting Numbers: [27, 23] Generated Node #0,0,1: 36:[27, 23] Operation: 31-8=23 Exploring Operation: 8+27=35, Resulting Numbers: [31, 35] Generated Node #0,0,2: 36:[31, 35] Operation: 8+27=35 Exploring Operation: 31-27=4, Resulting Numbers: [8, 4] Generated Node #0,0,3: 36:[8, 4] Operation: 31-27=4 Exploring Operation: 8+31=39, Resulting Numbers: [27, 39] Generated Node #0,0,4: 36:[27, 39] Operation: 8+31=39 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 36:[8, 4], Operations: ['56-29=27', '31-27=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,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:[31, 19], Operations: ['56-29=27', '27-8=19'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,36 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,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:[31, 35], Operations: ['56-29=27', '8+27=35'] Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,36 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,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:[27, 39], Operations: ['56-29=27', '8+31=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,36 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,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:[27, 23], Operations: ['56-29=27', '31-8=23'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,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:[8, 29, 25], Operations: ['56-31=25'] Exploring Operation: 29-25=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 36:[8, 4] Operation: 29-25=4 Exploring Operation: 25-8=17, Resulting Numbers: [29, 17] Generated Node #0,1,1: 36:[29, 17] Operation: 25-8=17 Exploring Operation: 29-8=21, Resulting Numbers: [25, 21] Generated Node #0,1,2: 36:[25, 21] Operation: 29-8=21 Exploring Operation: 8+25=33, Resulting Numbers: [29, 33] Generated Node #0,1,3: 36:[29, 33] Operation: 8+25=33 Exploring Operation: 8+29=37, Resulting Numbers: [25, 37] Generated Node #0,1,4: 36:[25, 37] Operation: 8+29=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[8, 4], Operations: ['56-31=25', '29-25=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,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:[29, 17], Operations: ['56-31=25', '25-8=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,36 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,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:[25, 37], Operations: ['56-31=25', '8+29=37'] Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,36 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,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,2 Current State: 36:[25, 21], Operations: ['56-31=25', '29-8=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,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:[29, 33], Operations: ['56-31=25', '8+25=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,36 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,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:[56, 8, 2], Operations: ['31-29=2'] Exploring Operation: 56/8=7, Resulting Numbers: [2, 7] Generated Node #0,3,0: 36:[2, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [2, 48] Generated Node #0,3,1: 36:[2, 48] Operation: 56-8=48 Exploring Operation: 56/2=28, Resulting Numbers: [8, 28] Generated Node #0,3,2: 36:[8, 28] Operation: 56/2=28 Exploring Operation: 8-2=6, Resulting Numbers: [56, 6] Generated Node #0,3,3: 36:[56, 6] Operation: 8-2=6 Exploring Operation: 56-2=54, Resulting Numbers: [8, 54] Generated Node #0,3,4: 36:[8, 54] Operation: 56-2=54 Moving to Node #0,3,0 Current State: 36:[2, 7], Operations: ['31-29=2', '56/8=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[8, 28], Operations: ['31-29=2', '56/2=28'] Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,36 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[56, 8, 29, 31], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [56, 8, 2] Generated Node #0,3: 36:[56, 8, 2] Operation: 31-29=2 Moving to Node #0,3 Current State: 36:[56, 8, 2], Operations: ['31-29=2'] Exploring Operation: 56/2=28, Resulting Numbers: [8, 28] Generated Node #0,3,2: 36:[8, 28] Operation: 56/2=28 Moving to Node #0,3,2 Current State: 36:[8, 28], Operations: ['31-29=2', '56/2=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.929688
hs_5
sum_heuristic
[ 18, 41, 66, 10 ]
45
[ "66-41=25", "18*25=450", "450/10=45" ]
Current State: 45:[18, 41, 66, 10], Operations: [] Exploring Operation: 66-41=25, Resulting Numbers: [18, 10, 25] Generated Node #2: [18, 10, 25] from Operation: 66-41=25 Current State: 45:[18, 10, 25], Operations: ['66-41=25'] Exploring Operation: 18*25=450, Resulting Numbers: [10, 450] Generated Node #3: [10, 450] from Operation: 18*25=450 Current State: 45:[10, 450], Operations: ['66-41=25', '18*25=450'] Exploring Operation: 450/10=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[18, 41, 66, 10], Operations: [] Exploring Operation: 66-18=48, Resulting Numbers: [41, 10, 48] Generated Node #0,0: 45:[41, 10, 48] Operation: 66-18=48 Exploring Operation: 66-41=25, Resulting Numbers: [18, 10, 25] Generated Node #0,1: 45:[18, 10, 25] Operation: 66-41=25 Exploring Operation: 66-10=56, Resulting Numbers: [18, 41, 56] Generated Node #0,2: 45:[18, 41, 56] Operation: 66-10=56 Moving to Node #0,0 Current State: 45:[41, 10, 48], Operations: ['66-18=48'] Exploring Operation: 48-10=38, Resulting Numbers: [41, 38] Generated Node #0,0,0: 45:[41, 38] Operation: 48-10=38 Exploring Operation: 48-41=7, Resulting Numbers: [10, 7] Generated Node #0,0,1: 45:[10, 7] Operation: 48-41=7 Exploring Operation: 41+10=51, Resulting Numbers: [48, 51] Generated Node #0,0,2: 45:[48, 51] Operation: 41+10=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[10, 7], Operations: ['66-18=48', '48-41=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[48, 51], Operations: ['66-18=48', '41+10=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,45 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[41, 38], Operations: ['66-18=48', '48-10=38'] Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,45 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,45 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 45:[18, 10, 25], Operations: ['66-41=25'] Exploring Operation: 25-18=7, Resulting Numbers: [10, 7] Generated Node #0,1,0: 45:[10, 7] Operation: 25-18=7 Exploring Operation: 18+25=43, Resulting Numbers: [10, 43] Generated Node #0,1,1: 45:[10, 43] Operation: 18+25=43 Exploring Operation: 25-10=15, Resulting Numbers: [18, 15] Generated Node #0,1,2: 45:[18, 15] Operation: 25-10=15 Moving to Node #0,2 Current State: 45:[18, 41, 56], Operations: ['66-10=56'] Exploring Operation: 56-41=15, Resulting Numbers: [18, 15] Generated Node #0,2,0: 45:[18, 15] Operation: 56-41=15 Exploring Operation: 56-18=38, Resulting Numbers: [41, 38] Generated Node #0,2,1: 45:[41, 38] Operation: 56-18=38 Exploring Operation: 41-18=23, Resulting Numbers: [56, 23] Generated Node #0,2,2: 45:[56, 23] Operation: 41-18=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[18, 15], Operations: ['66-10=56', '56-41=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[41, 38], Operations: ['66-10=56', '56-18=38'] Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,45 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[56, 23], Operations: ['66-10=56', '41-18=23'] Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,45 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,45 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: 45:[10, 7], Operations: ['66-41=25', '25-18=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[10, 43], Operations: ['66-41=25', '18+25=43'] Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,45 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[18, 15], Operations: ['66-41=25', '25-10=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,45 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 33, 55, 77, 93 ]
72
[ "33+55=88", "93-77=16", "88-16=72" ]
Current State: 72:[33, 55, 77, 93], Operations: [] Exploring Operation: 33+55=88, Resulting Numbers: [77, 93, 88] Generated Node #2: [77, 93, 88] from Operation: 33+55=88 Current State: 72:[77, 93, 88], Operations: ['33+55=88'] Exploring Operation: 93-77=16, Resulting Numbers: [88, 16] Generated Node #3: [88, 16] from Operation: 93-77=16 Current State: 72:[88, 16], Operations: ['33+55=88', '93-77=16'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[33, 55, 77, 93], Operations: [] Exploring Operation: 93-77=16, Resulting Numbers: [33, 55, 16] Generated Node #0,0: 72:[33, 55, 16] Operation: 93-77=16 Exploring Operation: 55-33=22, Resulting Numbers: [77, 93, 22] Generated Node #0,1: 72:[77, 93, 22] Operation: 55-33=22 Exploring Operation: 93-55=38, Resulting Numbers: [33, 77, 38] Generated Node #0,2: 72:[33, 77, 38] Operation: 93-55=38 Exploring Operation: 77-55=22, Resulting Numbers: [33, 93, 22] Generated Node #0,3: 72:[33, 93, 22] Operation: 77-55=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[33, 77, 38], Operations: ['93-55=38'] Exploring Operation: 77-38=39, Resulting Numbers: [33, 39] Generated Node #0,2,0: 72:[33, 39] Operation: 77-38=39 Exploring Operation: 77-33=44, Resulting Numbers: [38, 44] Generated Node #0,2,1: 72:[38, 44] Operation: 77-33=44 Exploring Operation: 38-33=5, Resulting Numbers: [77, 5] Generated Node #0,2,2: 72:[77, 5] Operation: 38-33=5 Exploring Operation: 33+38=71, Resulting Numbers: [77, 71] Generated Node #0,2,3: 72:[77, 71] Operation: 33+38=71 Moving to Node #0,2,0 Current State: 72:[33, 39], Operations: ['93-55=38', '77-38=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[33, 55, 77, 93], Operations: [] Exploring Operation: 93-55=38, Resulting Numbers: [33, 77, 38] Generated Node #0,2: 72:[33, 77, 38] Operation: 93-55=38 Moving to Node #0,2 Current State: 72:[33, 77, 38], Operations: ['93-55=38'] Exploring Operation: 77-38=39, Resulting Numbers: [33, 39] Generated Node #0,2,0: 72:[33, 39] Operation: 77-38=39 Moving to Node #0,2,0 Current State: 72:[33, 39], Operations: ['93-55=38', '77-38=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 35, 56, 54, 49 ]
36
[ "35+49=84", "56*54=3024", "3024/84=36" ]
Current State: 36:[35, 56, 54, 49], Operations: [] Exploring Operation: 35+49=84, Resulting Numbers: [56, 54, 84] Generated Node #2: [56, 54, 84] from Operation: 35+49=84 Current State: 36:[56, 54, 84], Operations: ['35+49=84'] Exploring Operation: 56*54=3024, Resulting Numbers: [84, 3024] Generated Node #3: [84, 3024] from Operation: 56*54=3024 Current State: 36:[84, 3024], Operations: ['35+49=84', '56*54=3024'] Exploring Operation: 3024/84=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[35, 56, 54, 49], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [35, 54, 7] Generated Node #0,0: 36:[35, 54, 7] Operation: 56-49=7 Exploring Operation: 56-54=2, Resulting Numbers: [35, 49, 2] Generated Node #0,1: 36:[35, 49, 2] Operation: 56-54=2 Exploring Operation: 54-49=5, Resulting Numbers: [35, 56, 5] Generated Node #0,2: 36:[35, 56, 5] Operation: 54-49=5 Exploring Operation: 56-35=21, Resulting Numbers: [54, 49, 21] Generated Node #0,3: 36:[54, 49, 21] Operation: 56-35=21 Moving to Node #0,1 Current State: 36:[35, 49, 2], Operations: ['56-54=2'] Exploring Operation: 35+2=37, Resulting Numbers: [49, 37] Generated Node #0,1,0: 36:[49, 37] Operation: 35+2=37 Exploring Operation: 49-2=47, Resulting Numbers: [35, 47] Generated Node #0,1,1: 36:[35, 47] Operation: 49-2=47 Exploring Operation: 35-2=33, Resulting Numbers: [49, 33] Generated Node #0,1,2: 36:[49, 33] Operation: 35-2=33 Exploring Operation: 49-35=14, Resulting Numbers: [2, 14] Generated Node #0,1,3: 36:[2, 14] Operation: 49-35=14 Moving to Node #0,0 Current State: 36:[35, 54, 7], Operations: ['56-49=7'] Exploring Operation: 54-35=19, Resulting Numbers: [7, 19] Generated Node #0,0,0: 36:[7, 19] Operation: 54-35=19 Exploring Operation: 54-7=47, Resulting Numbers: [35, 47] Generated Node #0,0,1: 36:[35, 47] Operation: 54-7=47 Exploring Operation: 35+7=42, Resulting Numbers: [54, 42] Generated Node #0,0,2: 36:[54, 42] Operation: 35+7=42 Exploring Operation: 35/7=5, Resulting Numbers: [54, 5] Generated Node #0,0,3: 36:[54, 5] Operation: 35/7=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[7, 19], Operations: ['56-49=7', '54-35=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,36 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[35, 47], Operations: ['56-49=7', '54-7=47'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,36 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[54, 5], Operations: ['56-49=7', '35/7=5'] Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,36 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[54, 42], Operations: ['56-49=7', '35+7=42'] Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,36 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 36:[35, 56, 5], Operations: ['54-49=5'] Exploring Operation: 56-5=51, Resulting Numbers: [35, 51] Generated Node #0,2,0: 36:[35, 51] Operation: 56-5=51 Exploring Operation: 35/5=7, Resulting Numbers: [56, 7] Generated Node #0,2,1: 36:[56, 7] Operation: 35/5=7 Exploring Operation: 35+5=40, Resulting Numbers: [56, 40] Generated Node #0,2,2: 36:[56, 40] Operation: 35+5=40 Exploring Operation: 56-35=21, Resulting Numbers: [5, 21] Generated Node #0,2,3: 36:[5, 21] Operation: 56-35=21 Moving to Node #0,3 Current State: 36:[54, 49, 21], Operations: ['56-35=21'] Exploring Operation: 54-21=33, Resulting Numbers: [49, 33] Generated Node #0,3,0: 36:[49, 33] Operation: 54-21=33 Exploring Operation: 54-49=5, Resulting Numbers: [21, 5] Generated Node #0,3,1: 36:[21, 5] Operation: 54-49=5 Exploring Operation: 54+21=75, Resulting Numbers: [49, 75] Generated Node #0,3,2: 36:[49, 75] Operation: 54+21=75 Exploring Operation: 49-21=28, Resulting Numbers: [54, 28] Generated Node #0,3,3: 36:[54, 28] Operation: 49-21=28 Moving to Node #0,1,3 Current State: 36:[2, 14], Operations: ['56-54=2', '49-35=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[5, 21], Operations: ['54-49=5', '56-35=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[21, 5], Operations: ['56-35=21', '54-49=5'] Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[35, 47], Operations: ['56-54=2', '49-2=47'] Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,36 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[49, 37], Operations: ['56-54=2', '35+2=37'] Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,36 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[35, 51], Operations: ['54-49=5', '56-5=51'] Exploring Operation: 35*51=1785, Resulting Numbers: [1785] 1785,36 unequal: No Solution Exploring Operation: 35+51=86, Resulting Numbers: [86] 86,36 unequal: No Solution Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[49, 33], Operations: ['56-35=21', '54-21=33'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,36 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[49, 33], Operations: ['56-54=2', '35-2=33'] Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,36 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[56, 7], Operations: ['54-49=5', '35/5=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,36 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[56, 40], Operations: ['54-49=5', '35+5=40'] Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,36 unequal: No Solution Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[54, 28], Operations: ['56-35=21', '49-21=28'] Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,36 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,36 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[49, 75], Operations: ['56-35=21', '54+21=75'] Exploring Operation: 49*75=3675, Resulting Numbers: [3675] 3675,36 unequal: No Solution Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 49+75=124, Resulting Numbers: [124] 124,36 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 33, 12, 1, 55 ]
19
[ "12*55=660", "660/33=20", "20-1=19" ]
Current State: 19:[33, 12, 1, 55], Operations: [] Exploring Operation: 12*55=660, Resulting Numbers: [33, 1, 660] Generated Node #2: [33, 1, 660] from Operation: 12*55=660 Current State: 19:[33, 1, 660], Operations: ['12*55=660'] Exploring Operation: 660/33=20, Resulting Numbers: [1, 20] Generated Node #3: [1, 20] from Operation: 660/33=20 Current State: 19:[1, 20], Operations: ['12*55=660', '660/33=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[33, 12, 1, 55], Operations: [] Exploring Operation: 55-33=22, Resulting Numbers: [12, 1, 22] Generated Node #0,0: 19:[12, 1, 22] Operation: 55-33=22 Exploring Operation: 33-12=21, Resulting Numbers: [1, 55, 21] Generated Node #0,1: 19:[1, 55, 21] Operation: 33-12=21 Moving to Node #0,0 Current State: 19:[12, 1, 22], Operations: ['55-33=22'] Exploring Operation: 22-1=21, Resulting Numbers: [12, 21] Generated Node #0,0,0: 19:[12, 21] Operation: 22-1=21 Exploring Operation: 12+1=13, Resulting Numbers: [22, 13] Generated Node #0,0,1: 19:[22, 13] Operation: 12+1=13 Moving to Node #0,1 Current State: 19:[1, 55, 21], Operations: ['33-12=21'] Exploring Operation: 55-1=54, Resulting Numbers: [21, 54] Generated Node #0,1,0: 19:[21, 54] Operation: 55-1=54 Exploring Operation: 55-21=34, Resulting Numbers: [1, 34] Generated Node #0,1,1: 19:[1, 34] Operation: 55-21=34 Moving to Node #0,0,0 Current State: 19:[12, 21], Operations: ['55-33=22', '22-1=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[22, 13], Operations: ['55-33=22', '12+1=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[1, 34], Operations: ['33-12=21', '55-21=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[21, 54], Operations: ['33-12=21', '55-1=54'] Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,19 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 15, 35, 2, 40 ]
10
[ "35-15=20", "40-20=20", "20/2=10" ]
Current State: 10:[15, 35, 2, 40], Operations: [] Exploring Operation: 35-15=20, Resulting Numbers: [2, 40, 20] Generated Node #2: [2, 40, 20] from Operation: 35-15=20 Current State: 10:[2, 40, 20], Operations: ['35-15=20'] Exploring Operation: 40-20=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 40-20=20 Current State: 10:[2, 20], Operations: ['35-15=20', '40-20=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 35, 2, 40], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [15, 2, 5] Generated Node #0,0: 10:[15, 2, 5] Operation: 40-35=5 Exploring Operation: 40-15=25, Resulting Numbers: [35, 2, 25] Generated Node #0,1: 10:[35, 2, 25] Operation: 40-15=25 Exploring Operation: 35-15=20, Resulting Numbers: [2, 40, 20] Generated Node #0,2: 10:[2, 40, 20] Operation: 35-15=20 Moving to Node #0,0 Current State: 10:[15, 2, 5], Operations: ['40-35=5'] Exploring Operation: 15/5=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 10:[2, 3] Operation: 15/5=3 Exploring Operation: 15-2=13, Resulting Numbers: [5, 13] Generated Node #0,0,1: 10:[5, 13] Operation: 15-2=13 Exploring Operation: 15-5=10, Resulting Numbers: [2, 10] Generated Node #0,0,2: 10:[2, 10] Operation: 15-5=10 Moving to Node #0,1 Current State: 10:[35, 2, 25], Operations: ['40-15=25'] Exploring Operation: 35-25=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 10:[2, 10] Operation: 35-25=10 Exploring Operation: 25-2=23, Resulting Numbers: [35, 23] Generated Node #0,1,1: 10:[35, 23] Operation: 25-2=23 Exploring Operation: 35-2=33, Resulting Numbers: [25, 33] Generated Node #0,1,2: 10:[25, 33] Operation: 35-2=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[2, 10], Operations: ['40-15=25', '35-25=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[35, 23], Operations: ['40-15=25', '25-2=23'] Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,10 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[25, 33], Operations: ['40-15=25', '35-2=33'] Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,10 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,10 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: 10:[2, 40, 20], Operations: ['35-15=20'] Exploring Operation: 40/2=20, Resulting Numbers: [20, 20] Generated Node #0,2,0: 10:[20, 20] Operation: 40/2=20 Exploring Operation: 40/20=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 10:[2, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [2, 20] Generated Node #0,2,2: 10:[2, 20] Operation: 40-20=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[2, 2], Operations: ['35-15=20', '40/20=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[2, 20], Operations: ['35-15=20', '40-20=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[15, 35, 2, 40], Operations: [] Exploring Operation: 35-15=20, Resulting Numbers: [2, 40, 20] Generated Node #0,2: 10:[2, 40, 20] Operation: 35-15=20 Moving to Node #0,2 Current State: 10:[2, 40, 20], Operations: ['35-15=20'] Exploring Operation: 40-20=20, Resulting Numbers: [2, 20] Generated Node #0,2,2: 10:[2, 20] Operation: 40-20=20 Moving to Node #0,2,2 Current State: 10:[2, 20], Operations: ['35-15=20', '40-20=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 47, 50, 50, 15 ]
95
[ "50-47=3", "15*3=45", "50+45=95" ]
Current State: 95:[47, 50, 50, 15], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [15, 3] Generated Node #2: [15, 3] from Operation: 50-47=3 Current State: 95:[15, 3], Operations: ['50-47=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,95 equal: Goal Reached Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[47, 50, 50, 15], Operations: [] Exploring Operation: 50/50=1, Resulting Numbers: [47, 15, 1] Generated Node #0,0: 95:[47, 15, 1] Operation: 50/50=1 Exploring Operation: 47+50=97, Resulting Numbers: [50, 15, 97] Generated Node #0,1: 95:[50, 15, 97] Operation: 47+50=97 Exploring Operation: 47+50=97, Resulting Numbers: [50, 15, 97] Generated Node #0,2: 95:[50, 15, 97] Operation: 47+50=97 Exploring Operation: 50-47=3, Resulting Numbers: [50, 15, 3] Generated Node #0,3: 95:[50, 15, 3] Operation: 50-47=3 Exploring Operation: 50-47=3, Resulting Numbers: [50, 15, 3] Generated Node #0,4: 95:[50, 15, 3] Operation: 50-47=3 Moving to Node #0,0 Current State: 95:[47, 15, 1], Operations: ['50/50=1'] Exploring Operation: 15+1=16, Resulting Numbers: [47, 16] Generated Node #0,0,0: 95:[47, 16] Operation: 15+1=16 Exploring Operation: 47-15=32, Resulting Numbers: [1, 32] Generated Node #0,0,1: 95:[1, 32] Operation: 47-15=32 Exploring Operation: 47*1=47, Resulting Numbers: [15, 47] Generated Node #0,0,2: 95:[15, 47] Operation: 47*1=47 Exploring Operation: 47-1=46, Resulting Numbers: [15, 46] Generated Node #0,0,3: 95:[15, 46] Operation: 47-1=46 Exploring Operation: 47/1=47, Resulting Numbers: [15, 47] Generated Node #0,0,4: 95:[15, 47] Operation: 47/1=47 Moving to Node #0,2 Current State: 95:[50, 15, 97], Operations: ['47+50=97'] Exploring Operation: 50+15=65, Resulting Numbers: [97, 65] Generated Node #0,2,0: 95:[97, 65] Operation: 50+15=65 Exploring Operation: 50-15=35, Resulting Numbers: [97, 35] Generated Node #0,2,1: 95:[97, 35] Operation: 50-15=35 Exploring Operation: 15+97=112, Resulting Numbers: [50, 112] Generated Node #0,2,2: 95:[50, 112] Operation: 15+97=112 Exploring Operation: 97-50=47, Resulting Numbers: [15, 47] Generated Node #0,2,3: 95:[15, 47] Operation: 97-50=47 Exploring Operation: 97-15=82, Resulting Numbers: [50, 82] Generated Node #0,2,4: 95:[50, 82] Operation: 97-15=82 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[97, 35], Operations: ['47+50=97', '50-15=35'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 97*35=3395, Resulting Numbers: [3395] 3395,95 unequal: No Solution Exploring Operation: 97+35=132, Resulting Numbers: [132] 132,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,2,0 Current State: 95:[97, 65], Operations: ['47+50=97', '50+15=65'] Exploring Operation: 97-65=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 97+65=162, Resulting Numbers: [162] 162,95 unequal: No Solution Exploring Operation: 97*65=6305, Resulting Numbers: [6305] 6305,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,2,3 Current State: 95:[15, 47], Operations: ['47+50=97', '97-50=47'] Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,95 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,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,2,4 Current State: 95:[50, 82], Operations: ['47+50=97', '97-15=82'] Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,95 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,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,2,2 Current State: 95:[50, 112], Operations: ['47+50=97', '15+97=112'] Exploring Operation: 112-50=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 50+112=162, Resulting Numbers: [162] 162,95 unequal: No Solution Exploring Operation: 50*112=5600, Resulting Numbers: [5600] 5600,95 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: 95:[50, 15, 3], Operations: ['50-47=3'] Exploring Operation: 15+3=18, Resulting Numbers: [50, 18] Generated Node #0,4,0: 95:[50, 18] Operation: 15+3=18 Exploring Operation: 50-15=35, Resulting Numbers: [3, 35] Generated Node #0,4,1: 95:[3, 35] Operation: 50-15=35 Exploring Operation: 50-3=47, Resulting Numbers: [15, 47] Generated Node #0,4,2: 95:[15, 47] Operation: 50-3=47 Exploring Operation: 15/3=5, Resulting Numbers: [50, 5] Generated Node #0,4,3: 95:[50, 5] Operation: 15/3=5 Exploring Operation: 50+15=65, Resulting Numbers: [3, 65] Generated Node #0,4,4: 95:[3, 65] Operation: 50+15=65 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[3, 35], Operations: ['50-47=3', '50-15=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,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,4,3 Current State: 95:[50, 5], Operations: ['50-47=3', '15/3=5'] Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,95 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,95 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,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,4,0 Current State: 95:[50, 18], Operations: ['50-47=3', '15+3=18'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,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,4,2 Current State: 95:[15, 47], Operations: ['50-47=3', '50-3=47'] Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,95 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,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,4,4 Current State: 95:[3, 65], Operations: ['50-47=3', '50+15=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,95 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: 95:[50, 15, 97], Operations: ['47+50=97'] Exploring Operation: 97-50=47, Resulting Numbers: [15, 47] Generated Node #0,1,0: 95:[15, 47] Operation: 97-50=47 Exploring Operation: 50-15=35, Resulting Numbers: [97, 35] Generated Node #0,1,1: 95:[97, 35] Operation: 50-15=35 Exploring Operation: 97-15=82, Resulting Numbers: [50, 82] Generated Node #0,1,2: 95:[50, 82] Operation: 97-15=82 Exploring Operation: 15+97=112, Resulting Numbers: [50, 112] Generated Node #0,1,3: 95:[50, 112] Operation: 15+97=112 Exploring Operation: 50+15=65, Resulting Numbers: [97, 65] Generated Node #0,1,4: 95:[97, 65] Operation: 50+15=65 Moving to Node #0,3 Current State: 95:[50, 15, 3], Operations: ['50-47=3'] Exploring Operation: 50-15=35, Resulting Numbers: [3, 35] Generated Node #0,3,0: 95:[3, 35] Operation: 50-15=35 Exploring Operation: 15+3=18, Resulting Numbers: [50, 18] Generated Node #0,3,1: 95:[50, 18] Operation: 15+3=18 Exploring Operation: 15/3=5, Resulting Numbers: [50, 5] Generated Node #0,3,2: 95:[50, 5] Operation: 15/3=5 Exploring Operation: 50+15=65, Resulting Numbers: [3, 65] Generated Node #0,3,3: 95:[3, 65] Operation: 50+15=65 Exploring Operation: 50-3=47, Resulting Numbers: [15, 47] Generated Node #0,3,4: 95:[15, 47] Operation: 50-3=47 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[3, 35], Operations: ['50-47=3', '50-15=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,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,3,2 Current State: 95:[50, 5], Operations: ['50-47=3', '15/3=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,95 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,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,3,1 Current State: 95:[50, 18], Operations: ['50-47=3', '15+3=18'] Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,95 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,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,3,3 Current State: 95:[3, 65], Operations: ['50-47=3', '50+15=65'] Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,95 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,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,3,4 Current State: 95:[15, 47], Operations: ['50-47=3', '50-3=47'] Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,95 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 95:[1, 32], Operations: ['50/50=1', '47-15=32'] Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[97, 35], Operations: ['47+50=97', '50-15=35'] Exploring Operation: 97*35=3395, Resulting Numbers: [3395] 3395,95 unequal: No Solution Exploring Operation: 97+35=132, Resulting Numbers: [132] 132,95 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[15, 46], Operations: ['50/50=1', '47-1=46'] Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[47, 16], Operations: ['50/50=1', '15+1=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,95 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[15, 47], Operations: ['47+50=97', '97-50=47'] Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,95 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[15, 47], Operations: ['50/50=1', '47/1=47'] Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,95 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[97, 65], Operations: ['47+50=97', '50+15=65'] Exploring Operation: 97*65=6305, Resulting Numbers: [6305] 6305,95 unequal: No Solution Exploring Operation: 97-65=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 97+65=162, Resulting Numbers: [162] 162,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[15, 47], Operations: ['50/50=1', '47*1=47'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[50, 82], Operations: ['47+50=97', '97-15=82'] Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,95 unequal: No Solution Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,95 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[50, 112], Operations: ['47+50=97', '15+97=112'] Exploring Operation: 112-50=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 50*112=5600, Resulting Numbers: [5600] 5600,95 unequal: No Solution Exploring Operation: 50+112=162, Resulting Numbers: [162] 162,95 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 52, 31, 35, 52 ]
67
[ "52/52=1", "31+35=66", "1+66=67" ]
Current State: 67:[52, 31, 35, 52], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [31, 35, 1] Generated Node #2: [31, 35, 1] from Operation: 52/52=1 Current State: 67:[31, 35, 1], Operations: ['52/52=1'] Exploring Operation: 31+35=66, Resulting Numbers: [1, 66] Generated Node #3: [1, 66] from Operation: 31+35=66 Current State: 67:[1, 66], Operations: ['52/52=1', '31+35=66'] Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[52, 31, 35, 52], Operations: [] Exploring Operation: 31+35=66, Resulting Numbers: [52, 52, 66] Generated Node #0,0: 67:[52, 52, 66] Operation: 31+35=66 Exploring Operation: 52+31=83, Resulting Numbers: [35, 52, 83] Generated Node #0,1: 67:[35, 52, 83] Operation: 52+31=83 Exploring Operation: 31+52=83, Resulting Numbers: [52, 35, 83] Generated Node #0,2: 67:[52, 35, 83] Operation: 31+52=83 Moving to Node #0,0 Current State: 67:[52, 52, 66], Operations: ['31+35=66'] Exploring Operation: 52+66=118, Resulting Numbers: [52, 118] Generated Node #0,0,0: 67:[52, 118] Operation: 52+66=118 Exploring Operation: 52+66=118, Resulting Numbers: [52, 118] Generated Node #0,0,1: 67:[52, 118] Operation: 52+66=118 Exploring Operation: 52+52=104, Resulting Numbers: [66, 104] Generated Node #0,0,2: 67:[66, 104] Operation: 52+52=104 Moving to Node #0,1 Current State: 67:[35, 52, 83], Operations: ['52+31=83'] Exploring Operation: 52-35=17, Resulting Numbers: [83, 17] Generated Node #0,1,0: 67:[83, 17] Operation: 52-35=17 Exploring Operation: 35+52=87, Resulting Numbers: [83, 87] Generated Node #0,1,1: 67:[83, 87] Operation: 35+52=87 Exploring Operation: 83-35=48, Resulting Numbers: [52, 48] Generated Node #0,1,2: 67:[52, 48] Operation: 83-35=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[52, 48], Operations: ['52+31=83', '83-35=48'] Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,67 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[83, 87], Operations: ['52+31=83', '35+52=87'] Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,67 unequal: No Solution Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[83, 17], Operations: ['52+31=83', '52-35=17'] Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,67 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[52, 35, 83], Operations: ['31+52=83'] Exploring Operation: 52+35=87, Resulting Numbers: [83, 87] Generated Node #0,2,0: 67:[83, 87] Operation: 52+35=87 Exploring Operation: 83-35=48, Resulting Numbers: [52, 48] Generated Node #0,2,1: 67:[52, 48] Operation: 83-35=48 Exploring Operation: 52-35=17, Resulting Numbers: [83, 17] Generated Node #0,2,2: 67:[83, 17] Operation: 52-35=17 Moving to Node #0,2,1 Current State: 67:[52, 48], Operations: ['31+52=83', '83-35=48'] Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,67 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[83, 87], Operations: ['31+52=83', '52+35=87'] Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,67 unequal: No Solution Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,67 unequal: No Solution Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[66, 104], Operations: ['31+35=66', '52+52=104'] Exploring Operation: 66+104=170, Resulting Numbers: [170] 170,67 unequal: No Solution Exploring Operation: 66*104=6864, Resulting Numbers: [6864] 6864,67 unequal: No Solution Exploring Operation: 104-66=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[52, 118], Operations: ['31+35=66', '52+66=118'] Exploring Operation: 52*118=6136, Resulting Numbers: [6136] 6136,67 unequal: No Solution Exploring Operation: 118-52=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 52+118=170, Resulting Numbers: [170] 170,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[52, 118], Operations: ['31+35=66', '52+66=118'] Exploring Operation: 52*118=6136, Resulting Numbers: [6136] 6136,67 unequal: No Solution Exploring Operation: 52+118=170, Resulting Numbers: [170] 170,67 unequal: No Solution Exploring Operation: 118-52=66, Resulting Numbers: [66] 66,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[83, 17], Operations: ['31+52=83', '52-35=17'] Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,67 unequal: No Solution Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,67 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 16, 6, 56, 11 ]
82
[ "16*56=896", "6+896=902", "902/11=82" ]
Current State: 82:[16, 6, 56, 11], Operations: [] Exploring Operation: 16*56=896, Resulting Numbers: [6, 11, 896] Generated Node #2: [6, 11, 896] from Operation: 16*56=896 Current State: 82:[6, 11, 896], Operations: ['16*56=896'] Exploring Operation: 6+896=902, Resulting Numbers: [11, 902] Generated Node #3: [11, 902] from Operation: 6+896=902 Current State: 82:[11, 902], Operations: ['16*56=896', '6+896=902'] Exploring Operation: 902/11=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[16, 6, 56, 11], Operations: [] Exploring Operation: 56-11=45, Resulting Numbers: [16, 6, 45] Generated Node #0,0: 82:[16, 6, 45] Operation: 56-11=45 Exploring Operation: 16+56=72, Resulting Numbers: [6, 11, 72] Generated Node #0,1: 82:[6, 11, 72] Operation: 16+56=72 Exploring Operation: 56-16=40, Resulting Numbers: [6, 11, 40] Generated Node #0,2: 82:[6, 11, 40] Operation: 56-16=40 Exploring Operation: 16-6=10, Resulting Numbers: [56, 11, 10] Generated Node #0,3: 82:[56, 11, 10] Operation: 16-6=10 Exploring Operation: 16-11=5, Resulting Numbers: [6, 56, 5] Generated Node #0,4: 82:[6, 56, 5] Operation: 16-11=5 Moving to Node #0,2 Current State: 82:[6, 11, 40], Operations: ['56-16=40'] Exploring Operation: 11-6=5, Resulting Numbers: [40, 5] Generated Node #0,2,0: 82:[40, 5] Operation: 11-6=5 Exploring Operation: 6+40=46, Resulting Numbers: [11, 46] Generated Node #0,2,1: 82:[11, 46] Operation: 6+40=46 Exploring Operation: 11+40=51, Resulting Numbers: [6, 51] Generated Node #0,2,2: 82:[6, 51] Operation: 11+40=51 Exploring Operation: 6+11=17, Resulting Numbers: [40, 17] Generated Node #0,2,3: 82:[40, 17] Operation: 6+11=17 Exploring Operation: 40-6=34, Resulting Numbers: [11, 34] Generated Node #0,2,4: 82:[11, 34] Operation: 40-6=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[40, 5], Operations: ['56-16=40', '11-6=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,82 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,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,2,1 Current State: 82:[11, 46], Operations: ['56-16=40', '6+40=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,82 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,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,2,2 Current State: 82:[6, 51], Operations: ['56-16=40', '11+40=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,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,2,3 Current State: 82:[40, 17], Operations: ['56-16=40', '6+11=17'] Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,82 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,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,2,4 Current State: 82:[11, 34], Operations: ['56-16=40', '40-6=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,82 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: 82:[6, 56, 5], Operations: ['16-11=5'] Exploring Operation: 6-5=1, Resulting Numbers: [56, 1] Generated Node #0,4,0: 82:[56, 1] Operation: 6-5=1 Exploring Operation: 56-6=50, Resulting Numbers: [5, 50] Generated Node #0,4,1: 82:[5, 50] Operation: 56-6=50 Exploring Operation: 6+5=11, Resulting Numbers: [56, 11] Generated Node #0,4,2: 82:[56, 11] Operation: 6+5=11 Exploring Operation: 6+56=62, Resulting Numbers: [5, 62] Generated Node #0,4,3: 82:[5, 62] Operation: 6+56=62 Exploring Operation: 56-5=51, Resulting Numbers: [6, 51] Generated Node #0,4,4: 82:[6, 51] Operation: 56-5=51 Moving to Node #0,0 Current State: 82:[16, 6, 45], Operations: ['56-11=45'] Exploring Operation: 45-16=29, Resulting Numbers: [6, 29] Generated Node #0,0,0: 82:[6, 29] Operation: 45-16=29 Exploring Operation: 45-6=39, Resulting Numbers: [16, 39] Generated Node #0,0,1: 82:[16, 39] Operation: 45-6=39 Exploring Operation: 16*6=96, Resulting Numbers: [45, 96] Generated Node #0,0,2: 82:[45, 96] Operation: 16*6=96 Exploring Operation: 16-6=10, Resulting Numbers: [45, 10] Generated Node #0,0,3: 82:[45, 10] Operation: 16-6=10 Exploring Operation: 16+6=22, Resulting Numbers: [45, 22] Generated Node #0,0,4: 82:[45, 22] Operation: 16+6=22 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[45, 10], Operations: ['56-11=45', '16-6=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,82 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,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,0,0 Current State: 82:[6, 29], Operations: ['56-11=45', '45-16=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,82 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,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,0,1 Current State: 82:[16, 39], Operations: ['56-11=45', '45-6=39'] Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,82 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,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,0,2 Current State: 82:[45, 96], Operations: ['56-11=45', '16*6=96'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,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,0,4 Current State: 82:[45, 22], Operations: ['56-11=45', '16+6=22'] Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,82 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: 82:[6, 11, 72], Operations: ['16+56=72'] Exploring Operation: 72/6=12, Resulting Numbers: [11, 12] Generated Node #0,1,0: 82:[11, 12] Operation: 72/6=12 Exploring Operation: 11-6=5, Resulting Numbers: [72, 5] Generated Node #0,1,1: 82:[72, 5] Operation: 11-6=5 Exploring Operation: 11+72=83, Resulting Numbers: [6, 83] Generated Node #0,1,2: 82:[6, 83] Operation: 11+72=83 Exploring Operation: 6+72=78, Resulting Numbers: [11, 78] Generated Node #0,1,3: 82:[11, 78] Operation: 6+72=78 Exploring Operation: 72-11=61, Resulting Numbers: [6, 61] Generated Node #0,1,4: 82:[6, 61] Operation: 72-11=61 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[6, 83], Operations: ['16+56=72', '11+72=83'] Exploring Operation: 6+83=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 6*83=498, Resulting Numbers: [498] 498,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,1,1 Current State: 82:[72, 5], Operations: ['16+56=72', '11-6=5'] Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,82 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,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,1,3 Current State: 82:[11, 78], Operations: ['16+56=72', '6+72=78'] Exploring Operation: 11*78=858, Resulting Numbers: [858] 858,82 unequal: No Solution Exploring Operation: 11+78=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,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,1,0 Current State: 82:[11, 12], Operations: ['16+56=72', '72/6=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,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,1,4 Current State: 82:[6, 61], Operations: ['16+56=72', '72-11=61'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,82 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,82 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: 82:[56, 11, 10], Operations: ['16-6=10'] Exploring Operation: 56-10=46, Resulting Numbers: [11, 46] Generated Node #0,3,0: 82:[11, 46] Operation: 56-10=46 Exploring Operation: 56-11=45, Resulting Numbers: [10, 45] Generated Node #0,3,1: 82:[10, 45] Operation: 56-11=45 Exploring Operation: 56+10=66, Resulting Numbers: [11, 66] Generated Node #0,3,2: 82:[11, 66] Operation: 56+10=66 Exploring Operation: 56+11=67, Resulting Numbers: [10, 67] Generated Node #0,3,3: 82:[10, 67] Operation: 56+11=67 Exploring Operation: 11-10=1, Resulting Numbers: [56, 1] Generated Node #0,3,4: 82:[56, 1] Operation: 11-10=1 Moving to Node #0,4,1 Current State: 82:[5, 50], Operations: ['16-11=5', '56-6=50'] Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,82 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[10, 45], Operations: ['16-6=10', '56-11=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,82 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[11, 46], Operations: ['16-6=10', '56-10=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,82 unequal: No Solution Moving to Node #0,4,4 Current State: 82:[6, 51], Operations: ['16-11=5', '56-5=51'] Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[56, 1], Operations: ['16-11=5', '6-5=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[56, 1], Operations: ['16-6=10', '11-10=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[10, 67], Operations: ['16-6=10', '56+11=67'] Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,82 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[5, 62], Operations: ['16-11=5', '6+56=62'] Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,82 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[56, 11], Operations: ['16-11=5', '6+5=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[11, 66], Operations: ['16-6=10', '56+10=66'] Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 11*66=726, Resulting Numbers: [726] 726,82 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 37, 37, 11, 77 ]
14
[ "37+37=74", "11+77=88", "88-74=14" ]
Current State: 14:[37, 37, 11, 77], Operations: [] Exploring Operation: 37+37=74, Resulting Numbers: [11, 77, 74] Generated Node #2: [11, 77, 74] from Operation: 37+37=74 Current State: 14:[11, 77, 74], Operations: ['37+37=74'] Exploring Operation: 11+77=88, Resulting Numbers: [74, 88] Generated Node #3: [74, 88] from Operation: 11+77=88 Current State: 14:[74, 88], Operations: ['37+37=74', '11+77=88'] Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[37, 37, 11, 77], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [37, 37, 7] Generated Node #0,0: 14:[37, 37, 7] Operation: 77/11=7 Exploring Operation: 77-37=40, Resulting Numbers: [37, 11, 40] Generated Node #0,1: 14:[37, 11, 40] Operation: 77-37=40 Exploring Operation: 77-37=40, Resulting Numbers: [37, 11, 40] Generated Node #0,2: 14:[37, 11, 40] Operation: 77-37=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[37, 37, 7], Operations: ['77/11=7'] Exploring Operation: 37-7=30, Resulting Numbers: [37, 30] Generated Node #0,0,0: 14:[37, 30] Operation: 37-7=30 Exploring Operation: 37/37=1, Resulting Numbers: [7, 1] Generated Node #0,0,1: 14:[7, 1] Operation: 37/37=1 Exploring Operation: 37-37=0, Resulting Numbers: [7, 0] Generated Node #0,0,2: 14:[7, 0] Operation: 37-37=0 Moving to Node #0,0,1 Current State: 14:[7, 1], Operations: ['77/11=7', '37/37=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[7, 0], Operations: ['77/11=7', '37-37=0'] Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[37, 30], Operations: ['77/11=7', '37-7=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[37, 11, 40], Operations: ['77-37=40'] Exploring Operation: 40-11=29, Resulting Numbers: [37, 29] Generated Node #0,1,0: 14:[37, 29] Operation: 40-11=29 Exploring Operation: 37-11=26, Resulting Numbers: [40, 26] Generated Node #0,1,1: 14:[40, 26] Operation: 37-11=26 Exploring Operation: 40-37=3, Resulting Numbers: [11, 3] Generated Node #0,1,2: 14:[11, 3] Operation: 40-37=3 Moving to Node #0,1,2 Current State: 14:[11, 3], Operations: ['77-37=40', '40-37=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[37, 37, 11, 77], Operations: [] Exploring Operation: 77-37=40, Resulting Numbers: [37, 11, 40] Generated Node #0,1: 14:[37, 11, 40] Operation: 77-37=40 Moving to Node #0,1 Current State: 14:[37, 11, 40], Operations: ['77-37=40'] Exploring Operation: 40-37=3, Resulting Numbers: [11, 3] Generated Node #0,1,2: 14:[11, 3] Operation: 40-37=3 Moving to Node #0,1,2 Current State: 14:[11, 3], Operations: ['77-37=40', '40-37=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 97, 6, 5, 47 ]
37
[ "6*47=282", "282-97=185", "185/5=37" ]
Current State: 37:[97, 6, 5, 47], Operations: [] Exploring Operation: 6*47=282, Resulting Numbers: [97, 5, 282] Generated Node #2: [97, 5, 282] from Operation: 6*47=282 Current State: 37:[97, 5, 282], Operations: ['6*47=282'] Exploring Operation: 282-97=185, Resulting Numbers: [5, 185] Generated Node #3: [5, 185] from Operation: 282-97=185 Current State: 37:[5, 185], Operations: ['6*47=282', '282-97=185'] Exploring Operation: 185/5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[97, 6, 5, 47], Operations: [] Exploring Operation: 97-47=50, Resulting Numbers: [6, 5, 50] Generated Node #0,0: 37:[6, 5, 50] Operation: 97-47=50 Moving to Node #0,0 Current State: 37:[6, 5, 50], Operations: ['97-47=50'] Exploring Operation: 6*5=30, Resulting Numbers: [50, 30] Generated Node #0,0,0: 37:[50, 30] Operation: 6*5=30 Moving to Node #0,0,0 Current State: 37:[50, 30], Operations: ['97-47=50', '6*5=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 8, 70, 45, 98 ]
65
[ "8+70=78", "45+98=143", "143-78=65" ]
Current State: 65:[8, 70, 45, 98], Operations: [] Exploring Operation: 8+70=78, Resulting Numbers: [45, 98, 78] Generated Node #2: [45, 98, 78] from Operation: 8+70=78 Current State: 65:[45, 98, 78], Operations: ['8+70=78'] Exploring Operation: 45+98=143, Resulting Numbers: [78, 143] Generated Node #3: [78, 143] from Operation: 45+98=143 Current State: 65:[78, 143], Operations: ['8+70=78', '45+98=143'] Exploring Operation: 143-78=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[8, 70, 45, 98], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [8, 45, 28] Generated Node #0,0: 65:[8, 45, 28] Operation: 98-70=28 Exploring Operation: 8+45=53, Resulting Numbers: [70, 98, 53] Generated Node #0,1: 65:[70, 98, 53] Operation: 8+45=53 Exploring Operation: 98-8=90, Resulting Numbers: [70, 45, 90] Generated Node #0,2: 65:[70, 45, 90] Operation: 98-8=90 Exploring Operation: 70-45=25, Resulting Numbers: [8, 98, 25] Generated Node #0,3: 65:[8, 98, 25] Operation: 70-45=25 Exploring Operation: 98-45=53, Resulting Numbers: [8, 70, 53] Generated Node #0,4: 65:[8, 70, 53] Operation: 98-45=53 Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[8, 70, 53], Operations: ['98-45=53'] Exploring Operation: 70-53=17, Resulting Numbers: [8, 17] Generated Node #0,4,0: 65:[8, 17] Operation: 70-53=17 Exploring Operation: 8+70=78, Resulting Numbers: [53, 78] Generated Node #0,4,1: 65:[53, 78] Operation: 8+70=78 Exploring Operation: 70-8=62, Resulting Numbers: [53, 62] Generated Node #0,4,2: 65:[53, 62] Operation: 70-8=62 Exploring Operation: 53-8=45, Resulting Numbers: [70, 45] Generated Node #0,4,3: 65:[70, 45] Operation: 53-8=45 Exploring Operation: 8+53=61, Resulting Numbers: [70, 61] Generated Node #0,4,4: 65:[70, 61] Operation: 8+53=61 Moving to Node #0,4,0 Current State: 65:[8, 17], Operations: ['98-45=53', '70-53=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,65 unequal: No Solution Moving to Node #0,4,4 Current State: 65:[70, 61], Operations: ['98-45=53', '8+53=61'] Exploring Operation: 70+61=131, Resulting Numbers: [131] 131,65 unequal: No Solution Exploring Operation: 70*61=4270, Resulting Numbers: [4270] 4270,65 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,65 unequal: No Solution Moving to Node #0,4,2 Current State: 65:[53, 62], Operations: ['98-45=53', '70-8=62'] Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,65 unequal: No Solution Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,65 unequal: No Solution Moving to Node #0,4,1 Current State: 65:[53, 78], Operations: ['98-45=53', '8+70=78'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 53*78=4134, Resulting Numbers: [4134] 4134,65 unequal: No Solution Exploring Operation: 53+78=131, Resulting Numbers: [131] 131,65 unequal: No Solution Moving to Node #0,4,3 Current State: 65:[70, 45], Operations: ['98-45=53', '53-8=45'] Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 70+45=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 70*45=3150, Resulting Numbers: [3150] 3150,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 Current State: 65:[8, 45, 28], Operations: ['98-70=28'] Exploring Operation: 8+45=53, Resulting Numbers: [28, 53] Generated Node #0,0,0: 65:[28, 53] Operation: 8+45=53 Exploring Operation: 45-8=37, Resulting Numbers: [28, 37] Generated Node #0,0,1: 65:[28, 37] Operation: 45-8=37 Exploring Operation: 45+28=73, Resulting Numbers: [8, 73] Generated Node #0,0,2: 65:[8, 73] Operation: 45+28=73 Exploring Operation: 28-8=20, Resulting Numbers: [45, 20] Generated Node #0,0,3: 65:[45, 20] Operation: 28-8=20 Exploring Operation: 45-28=17, Resulting Numbers: [8, 17] Generated Node #0,0,4: 65:[8, 17] Operation: 45-28=17 Moving to Node #0,0,4 Current State: 65:[8, 17], Operations: ['98-70=28', '45-28=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[8, 73], Operations: ['98-70=28', '45+28=73'] Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[8, 70, 45, 98], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [8, 45, 28] Generated Node #0,0: 65:[8, 45, 28] Operation: 98-70=28 Moving to Node #0,0 Current State: 65:[8, 45, 28], Operations: ['98-70=28'] Exploring Operation: 45+28=73, Resulting Numbers: [8, 73] Generated Node #0,0,2: 65:[8, 73] Operation: 45+28=73 Moving to Node #0,0,2 Current State: 65:[8, 73], Operations: ['98-70=28', '45+28=73'] Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 2, 23, 46, 34 ]
52
[ "34/2=17", "23+46=69", "69-17=52" ]
Current State: 52:[2, 23, 46, 34], Operations: [] Exploring Operation: 34/2=17, Resulting Numbers: [23, 46, 17] Generated Node #2: [23, 46, 17] from Operation: 34/2=17 Current State: 52:[23, 46, 17], Operations: ['34/2=17'] Exploring Operation: 23+46=69, Resulting Numbers: [17, 69] Generated Node #3: [17, 69] from Operation: 23+46=69 Current State: 52:[17, 69], Operations: ['34/2=17', '23+46=69'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[2, 23, 46, 34], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [2, 34, 2] Generated Node #0,0: 52:[2, 34, 2] Operation: 46/23=2 Exploring Operation: 46-34=12, Resulting Numbers: [2, 23, 12] Generated Node #0,1: 52:[2, 23, 12] Operation: 46-34=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[2, 23, 12], Operations: ['46-34=12'] Exploring Operation: 2+23=25, Resulting Numbers: [12, 25] Generated Node #0,1,0: 52:[12, 25] Operation: 2+23=25 Exploring Operation: 23-12=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 52:[2, 11] Operation: 23-12=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[12, 25], Operations: ['46-34=12', '2+23=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,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:[2, 11], Operations: ['46-34=12', '23-12=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[2, 34, 2], Operations: ['46/23=2'] Exploring Operation: 34/2=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 52:[2, 17] Operation: 34/2=17 Exploring Operation: 34/2=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 52:[2, 17] Operation: 34/2=17 Moving to Node #0,0,0 Current State: 52:[2, 17], Operations: ['46/23=2', '34/2=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[2, 17], Operations: ['46/23=2', '34/2=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 9, 45, 19, 20 ]
81
[ "45/9=5", "20*5=100", "100-19=81" ]
Current State: 81:[9, 45, 19, 20], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [19, 20, 5] Generated Node #2: [19, 20, 5] from Operation: 45/9=5 Current State: 81:[19, 20, 5], Operations: ['45/9=5'] Exploring Operation: 20*5=100, Resulting Numbers: [19, 100] Generated Node #3: [19, 100] from Operation: 20*5=100 Current State: 81:[19, 100], Operations: ['45/9=5', '20*5=100'] Exploring Operation: 100-19=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[9, 45, 19, 20], Operations: [] Exploring Operation: 45-20=25, Resulting Numbers: [9, 19, 25] Generated Node #0,0: 81:[9, 19, 25] Operation: 45-20=25 Exploring Operation: 45-19=26, Resulting Numbers: [9, 20, 26] Generated Node #0,1: 81:[9, 20, 26] Operation: 45-19=26 Exploring Operation: 45/9=5, Resulting Numbers: [19, 20, 5] Generated Node #0,2: 81:[19, 20, 5] Operation: 45/9=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[9, 20, 26], Operations: ['45-19=26'] Exploring Operation: 9+20=29, Resulting Numbers: [26, 29] Generated Node #0,1,0: 81:[26, 29] Operation: 9+20=29 Exploring Operation: 20-9=11, Resulting Numbers: [26, 11] Generated Node #0,1,1: 81:[26, 11] Operation: 20-9=11 Exploring Operation: 26-20=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 81:[9, 6] Operation: 26-20=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[26, 29], Operations: ['45-19=26', '9+20=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,81 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,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,1 Current State: 81:[26, 11], Operations: ['45-19=26', '20-9=11'] Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,81 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,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:[9, 6], Operations: ['45-19=26', '26-20=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,81 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,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,0 Current State: 81:[9, 19, 25], Operations: ['45-20=25'] Exploring Operation: 25-19=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 81:[9, 6] Operation: 25-19=6 Exploring Operation: 9+19=28, Resulting Numbers: [25, 28] Generated Node #0,0,1: 81:[25, 28] Operation: 9+19=28 Exploring Operation: 19-9=10, Resulting Numbers: [25, 10] Generated Node #0,0,2: 81:[25, 10] Operation: 19-9=10 Moving to Node #0,0,0 Current State: 81:[9, 6], Operations: ['45-20=25', '25-19=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,81 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[25, 28], Operations: ['45-20=25', '9+19=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,81 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[25, 10], Operations: ['45-20=25', '19-9=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[19, 20, 5], Operations: ['45/9=5'] Exploring Operation: 19+5=24, Resulting Numbers: [20, 24] Generated Node #0,2,0: 81:[20, 24] Operation: 19+5=24 Exploring Operation: 20/5=4, Resulting Numbers: [19, 4] Generated Node #0,2,1: 81:[19, 4] Operation: 20/5=4 Exploring Operation: 20-19=1, Resulting Numbers: [5, 1] Generated Node #0,2,2: 81:[5, 1] Operation: 20-19=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[5, 1], Operations: ['45/9=5', '20-19=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,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,2,1 Current State: 81:[19, 4], Operations: ['45/9=5', '20/5=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,81 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,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,2,0 Current State: 81:[20, 24], Operations: ['45/9=5', '19+5=24'] Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,81 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 20+24=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
mult_heuristic
[ 90, 58, 45, 40 ]
38
[ "90/45=2", "40/2=20", "58-20=38" ]
Current State: 38:[90, 58, 45, 40], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [58, 40, 2] Generated Node #2: [58, 40, 2] from Operation: 90/45=2 Current State: 38:[58, 40, 2], Operations: ['90/45=2'] Exploring Operation: 40/2=20, Resulting Numbers: [58, 20] Generated Node #3: [58, 20] from Operation: 40/2=20 Current State: 38:[58, 20], Operations: ['90/45=2', '40/2=20'] Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[90, 58, 45, 40], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [45, 40, 32] Generated Node #0,0: 38:[45, 40, 32] Operation: 90-58=32 Exploring Operation: 90/45=2, Resulting Numbers: [58, 40, 2] Generated Node #0,1: 38:[58, 40, 2] Operation: 90/45=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[45, 40, 32], Operations: ['90-58=32'] Exploring Operation: 45-32=13, Resulting Numbers: [40, 13] Generated Node #0,0,0: 38:[40, 13] Operation: 45-32=13 Exploring Operation: 45-40=5, Resulting Numbers: [32, 5] Generated Node #0,0,1: 38:[32, 5] Operation: 45-40=5 Moving to Node #0,0,0 Current State: 38:[40, 13], Operations: ['90-58=32', '45-32=13'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,38 unequal: No Solution Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[32, 5], Operations: ['90-58=32', '45-40=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[58, 40, 2], Operations: ['90/45=2'] Exploring Operation: 58/2=29, Resulting Numbers: [40, 29] Generated Node #0,1,0: 38:[40, 29] Operation: 58/2=29 Exploring Operation: 58-40=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 38:[2, 18] Operation: 58-40=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[2, 18], Operations: ['90/45=2', '58-40=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[40, 29], Operations: ['90/45=2', '58/2=29'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 65, 7, 55, 26 ]
39
[ "7+26=33", "65*33=2145", "2145/55=39" ]
Current State: 39:[65, 7, 55, 26], Operations: [] Exploring Operation: 7+26=33, Resulting Numbers: [65, 55, 33] Generated Node #2: [65, 55, 33] from Operation: 7+26=33 Current State: 39:[65, 55, 33], Operations: ['7+26=33'] Exploring Operation: 65*33=2145, Resulting Numbers: [55, 2145] Generated Node #3: [55, 2145] from Operation: 65*33=2145 Current State: 39:[55, 2145], Operations: ['7+26=33', '65*33=2145'] Exploring Operation: 2145/55=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[65, 7, 55, 26], Operations: [] Exploring Operation: 55-26=29, Resulting Numbers: [65, 7, 29] Generated Node #0,0: 39:[65, 7, 29] Operation: 55-26=29 Exploring Operation: 65-26=39, Resulting Numbers: [7, 55, 39] Generated Node #0,1: 39:[7, 55, 39] Operation: 65-26=39 Exploring Operation: 65-55=10, Resulting Numbers: [7, 26, 10] Generated Node #0,2: 39:[7, 26, 10] Operation: 65-55=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[7, 55, 39], Operations: ['65-26=39'] Exploring Operation: 7+55=62, Resulting Numbers: [39, 62] Generated Node #0,1,0: 39:[39, 62] Operation: 7+55=62 Exploring Operation: 55-7=48, Resulting Numbers: [39, 48] Generated Node #0,1,1: 39:[39, 48] Operation: 55-7=48 Exploring Operation: 55-39=16, Resulting Numbers: [7, 16] Generated Node #0,1,2: 39:[7, 16] Operation: 55-39=16 Moving to Node #0,1,2 Current State: 39:[7, 16], Operations: ['65-26=39', '55-39=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,39 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[39, 48], Operations: ['65-26=39', '55-7=48'] Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,39 unequal: No Solution Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,39 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[39, 62], Operations: ['65-26=39', '7+55=62'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,39 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[7, 26, 10], Operations: ['65-55=10'] Exploring Operation: 7+26=33, Resulting Numbers: [10, 33] Generated Node #0,2,0: 39:[10, 33] Operation: 7+26=33 Exploring Operation: 26-10=16, Resulting Numbers: [7, 16] Generated Node #0,2,1: 39:[7, 16] Operation: 26-10=16 Exploring Operation: 26+10=36, Resulting Numbers: [7, 36] Generated Node #0,2,2: 39:[7, 36] Operation: 26+10=36 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 39:[7, 16], Operations: ['65-55=10', '26-10=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,39 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[7, 36], Operations: ['65-55=10', '26+10=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,39 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,39 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[10, 33], Operations: ['65-55=10', '7+26=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,39 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[65, 7, 29], Operations: ['55-26=29'] Exploring Operation: 65-29=36, Resulting Numbers: [7, 36] Generated Node #0,0,0: 39:[7, 36] Operation: 65-29=36 Exploring Operation: 65-7=58, Resulting Numbers: [29, 58] Generated Node #0,0,1: 39:[29, 58] Operation: 65-7=58 Exploring Operation: 7+29=36, Resulting Numbers: [65, 36] Generated Node #0,0,2: 39:[65, 36] Operation: 7+29=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[7, 36], Operations: ['55-26=29', '65-29=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,39 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[29, 58], Operations: ['55-26=29', '65-7=58'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 29+58=87, Resulting Numbers: [87] 87,39 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[65, 36], Operations: ['55-26=29', '7+29=36'] Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,39 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 23, 21, 7, 82 ]
48
[ "23-21=2", "82/2=41", "7+41=48" ]
Current State: 48:[23, 21, 7, 82], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [7, 82, 2] Generated Node #2: [7, 82, 2] from Operation: 23-21=2 Current State: 48:[7, 82, 2], Operations: ['23-21=2'] Exploring Operation: 82/2=41, Resulting Numbers: [7, 41] Generated Node #3: [7, 41] from Operation: 82/2=41 Current State: 48:[7, 41], Operations: ['23-21=2', '82/2=41'] Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[23, 21, 7, 82], Operations: [] Exploring Operation: 82-23=59, Resulting Numbers: [21, 7, 59] Generated Node #0,0: 48:[21, 7, 59] Operation: 82-23=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[21, 7, 59], Operations: ['82-23=59'] Exploring Operation: 59-7=52, Resulting Numbers: [21, 52] Generated Node #0,0,0: 48:[21, 52] Operation: 59-7=52 Moving to Node #0,0,0 Current State: 48:[21, 52], Operations: ['82-23=59', '59-7=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,48 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
[ 22, 88, 4, 25 ]
95
[ "88-22=66", "4+25=29", "66+29=95" ]
Current State: 95:[22, 88, 4, 25], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [4, 25, 66] Generated Node #2: [4, 25, 66] from Operation: 88-22=66 Current State: 95:[4, 25, 66], Operations: ['88-22=66'] Exploring Operation: 4+25=29, Resulting Numbers: [66, 29] Generated Node #3: [66, 29] from Operation: 4+25=29 Current State: 95:[66, 29], Operations: ['88-22=66', '4+25=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[22, 88, 4, 25], Operations: [] Exploring Operation: 25-4=21, Resulting Numbers: [22, 88, 21] Generated Node #0,0: 95:[22, 88, 21] Operation: 25-4=21 Exploring Operation: 88+4=92, Resulting Numbers: [22, 25, 92] Generated Node #0,1: 95:[22, 25, 92] Operation: 88+4=92 Exploring Operation: 88/4=22, Resulting Numbers: [22, 25, 22] Generated Node #0,2: 95:[22, 25, 22] Operation: 88/4=22 Exploring Operation: 25-22=3, Resulting Numbers: [88, 4, 3] Generated Node #0,3: 95:[88, 4, 3] Operation: 25-22=3 Exploring Operation: 88/22=4, Resulting Numbers: [4, 25, 4] Generated Node #0,4: 95:[4, 25, 4] Operation: 88/22=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 95:[4, 25, 4], Operations: ['88/22=4'] Exploring Operation: 4*25=100, Resulting Numbers: [4, 100] Generated Node #0,4,0: 95:[4, 100] Operation: 4*25=100 Exploring Operation: 25*4=100, Resulting Numbers: [4, 100] Generated Node #0,4,1: 95:[4, 100] Operation: 25*4=100 Exploring Operation: 25-4=21, Resulting Numbers: [4, 21] Generated Node #0,4,2: 95:[4, 21] Operation: 25-4=21 Exploring Operation: 4+4=8, Resulting Numbers: [25, 8] Generated Node #0,4,3: 95:[25, 8] Operation: 4+4=8 Exploring Operation: 25-4=21, Resulting Numbers: [4, 21] Generated Node #0,4,4: 95:[4, 21] Operation: 25-4=21 Moving to Node #0,4,2 Current State: 95:[4, 21], Operations: ['88/22=4', '25-4=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[4, 21], Operations: ['88/22=4', '25-4=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,95 unequal: No Solution Moving to Node #0,4,0 Current State: 95:[4, 100], Operations: ['88/22=4', '4*25=100'] Exploring Operation: 4+100=104, Resulting Numbers: [104] 104,95 unequal: No Solution Exploring Operation: 4*100=400, Resulting Numbers: [400] 400,95 unequal: No Solution Exploring Operation: 100/4=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 100-4=96, Resulting Numbers: [96] 96,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[4, 100], Operations: ['88/22=4', '25*4=100'] Exploring Operation: 100-4=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 4*100=400, Resulting Numbers: [400] 400,95 unequal: No Solution Exploring Operation: 4+100=104, Resulting Numbers: [104] 104,95 unequal: No Solution Exploring Operation: 100/4=25, Resulting Numbers: [25] 25,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[25, 8], Operations: ['88/22=4', '4+4=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,95 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,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,3 Current State: 95:[88, 4, 3], Operations: ['25-22=3'] Exploring Operation: 4+3=7, Resulting Numbers: [88, 7] Generated Node #0,3,0: 95:[88, 7] Operation: 4+3=7 Exploring Operation: 88-3=85, Resulting Numbers: [4, 85] Generated Node #0,3,1: 95:[4, 85] Operation: 88-3=85 Exploring Operation: 88+3=91, Resulting Numbers: [4, 91] Generated Node #0,3,2: 95:[4, 91] Operation: 88+3=91 Exploring Operation: 88/4=22, Resulting Numbers: [3, 22] Generated Node #0,3,3: 95:[3, 22] Operation: 88/4=22 Exploring Operation: 88+4=92, Resulting Numbers: [3, 92] Generated Node #0,3,4: 95:[3, 92] Operation: 88+4=92 Moving to Node #0,3,2 Current State: 95:[4, 91], Operations: ['25-22=3', '88+3=91'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,95 unequal: No Solution Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[22, 88, 4, 25], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [88, 4, 3] Generated Node #0,3: 95:[88, 4, 3] Operation: 25-22=3 Moving to Node #0,3 Current State: 95:[88, 4, 3], Operations: ['25-22=3'] Exploring Operation: 88+3=91, Resulting Numbers: [4, 91] Generated Node #0,3,2: 95:[4, 91] Operation: 88+3=91 Moving to Node #0,3,2 Current State: 95:[4, 91], Operations: ['25-22=3', '88+3=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 4, 13, 45, 37 ]
73
[ "13-4=9", "45+37=82", "82-9=73" ]
Current State: 73:[4, 13, 45, 37], Operations: [] Exploring Operation: 13-4=9, Resulting Numbers: [45, 37, 9] Generated Node #2: [45, 37, 9] from Operation: 13-4=9 Current State: 73:[45, 37, 9], Operations: ['13-4=9'] Exploring Operation: 45+37=82, Resulting Numbers: [9, 82] Generated Node #3: [9, 82] from Operation: 45+37=82 Current State: 73:[9, 82], Operations: ['13-4=9', '45+37=82'] Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[4, 13, 45, 37], Operations: [] Exploring Operation: 4*13=52, Resulting Numbers: [45, 37, 52] Generated Node #0,0: 73:[45, 37, 52] Operation: 4*13=52 Moving to Node #0,0 Current State: 73:[45, 37, 52], Operations: ['4*13=52'] Exploring Operation: 45+37=82, Resulting Numbers: [52, 82] Generated Node #0,0,0: 73:[52, 82] Operation: 45+37=82 Moving to Node #0,0,0 Current State: 73:[52, 82], Operations: ['4*13=52', '45+37=82'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,73 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 17, 2, 95, 57 ]
96
[ "95-17=78", "78/2=39", "57+39=96" ]
Current State: 96:[17, 2, 95, 57], Operations: [] Exploring Operation: 95-17=78, Resulting Numbers: [2, 57, 78] Generated Node #2: [2, 57, 78] from Operation: 95-17=78 Current State: 96:[2, 57, 78], Operations: ['95-17=78'] Exploring Operation: 78/2=39, Resulting Numbers: [57, 39] Generated Node #3: [57, 39] from Operation: 78/2=39 Current State: 96:[57, 39], Operations: ['95-17=78', '78/2=39'] Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[17, 2, 95, 57], Operations: [] Exploring Operation: 95-57=38, Resulting Numbers: [17, 2, 38] Generated Node #0,0: 96:[17, 2, 38] Operation: 95-57=38 Exploring Operation: 57-2=55, Resulting Numbers: [17, 95, 55] Generated Node #0,1: 96:[17, 95, 55] Operation: 57-2=55 Exploring Operation: 17-2=15, Resulting Numbers: [95, 57, 15] Generated Node #0,2: 96:[95, 57, 15] Operation: 17-2=15 Exploring Operation: 57-17=40, Resulting Numbers: [2, 95, 40] Generated Node #0,3: 96:[2, 95, 40] Operation: 57-17=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[17, 2, 38], Operations: ['95-57=38'] Exploring Operation: 38/2=19, Resulting Numbers: [17, 19] Generated Node #0,0,0: 96:[17, 19] Operation: 38/2=19 Exploring Operation: 38-17=21, Resulting Numbers: [2, 21] Generated Node #0,0,1: 96:[2, 21] Operation: 38-17=21 Exploring Operation: 17-2=15, Resulting Numbers: [38, 15] Generated Node #0,0,2: 96:[38, 15] Operation: 17-2=15 Exploring Operation: 38-2=36, Resulting Numbers: [17, 36] Generated Node #0,0,3: 96:[17, 36] Operation: 38-2=36 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[2, 21], Operations: ['95-57=38', '38-17=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,96 unequal: No Solution No 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: 96:[17, 19], Operations: ['95-57=38', '38/2=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,96 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,96 unequal: No Solution No 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: 96:[17, 36], Operations: ['95-57=38', '38-2=36'] Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,96 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,96 unequal: No Solution No 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: 96:[38, 15], Operations: ['95-57=38', '17-2=15'] Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,96 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,96 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: 96:[17, 95, 55], Operations: ['57-2=55'] Exploring Operation: 95-55=40, Resulting Numbers: [17, 40] Generated Node #0,1,0: 96:[17, 40] Operation: 95-55=40 Exploring Operation: 17+95=112, Resulting Numbers: [55, 112] Generated Node #0,1,1: 96:[55, 112] Operation: 17+95=112 Exploring Operation: 55-17=38, Resulting Numbers: [95, 38] Generated Node #0,1,2: 96:[95, 38] Operation: 55-17=38 Exploring Operation: 95-17=78, Resulting Numbers: [55, 78] Generated Node #0,1,3: 96:[55, 78] Operation: 95-17=78 Moving to Node #0,1,2 Current State: 96:[95, 38], Operations: ['57-2=55', '55-17=38'] Exploring Operation: 95*38=3610, Resulting Numbers: [3610] 3610,96 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 95+38=133, Resulting Numbers: [133] 133,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[17, 40], Operations: ['57-2=55', '95-55=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[55, 112], Operations: ['57-2=55', '17+95=112'] Exploring Operation: 112-55=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 55*112=6160, Resulting Numbers: [6160] 6160,96 unequal: No Solution Exploring Operation: 55+112=167, Resulting Numbers: [167] 167,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[55, 78], Operations: ['57-2=55', '95-17=78'] Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,96 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,96 unequal: No Solution No 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: 96:[2, 95, 40], Operations: ['57-17=40'] Exploring Operation: 40/2=20, Resulting Numbers: [95, 20] Generated Node #0,3,0: 96:[95, 20] Operation: 40/2=20 Exploring Operation: 2+40=42, Resulting Numbers: [95, 42] Generated Node #0,3,1: 96:[95, 42] Operation: 2+40=42 Exploring Operation: 95-40=55, Resulting Numbers: [2, 55] Generated Node #0,3,2: 96:[2, 55] Operation: 95-40=55 Exploring Operation: 40-2=38, Resulting Numbers: [95, 38] Generated Node #0,3,3: 96:[95, 38] Operation: 40-2=38 Moving to Node #0,3,0 Current State: 96:[95, 20], Operations: ['57-17=40', '40/2=20'] Exploring Operation: 95+20=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 95*20=1900, Resulting Numbers: [1900] 1900,96 unequal: No Solution Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[2, 55], Operations: ['57-17=40', '95-40=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,96 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[95, 42], Operations: ['57-17=40', '2+40=42'] Exploring Operation: 95*42=3990, Resulting Numbers: [3990] 3990,96 unequal: No Solution Exploring Operation: 95+42=137, Resulting Numbers: [137] 137,96 unequal: No Solution Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[95, 38], Operations: ['57-17=40', '40-2=38'] Exploring Operation: 95*38=3610, Resulting Numbers: [3610] 3610,96 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 95+38=133, Resulting Numbers: [133] 133,96 unequal: No Solution No 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: 96:[95, 57, 15], Operations: ['17-2=15'] Exploring Operation: 95+15=110, Resulting Numbers: [57, 110] Generated Node #0,2,0: 96:[57, 110] Operation: 95+15=110 Exploring Operation: 57-15=42, Resulting Numbers: [95, 42] Generated Node #0,2,1: 96:[95, 42] Operation: 57-15=42 Exploring Operation: 95-57=38, Resulting Numbers: [15, 38] Generated Node #0,2,2: 96:[15, 38] Operation: 95-57=38 Exploring Operation: 95-15=80, Resulting Numbers: [57, 80] Generated Node #0,2,3: 96:[57, 80] Operation: 95-15=80 Moving to Node #0,2,1 Current State: 96:[95, 42], Operations: ['17-2=15', '57-15=42'] Exploring Operation: 95*42=3990, Resulting Numbers: [3990] 3990,96 unequal: No Solution Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 95+42=137, Resulting Numbers: [137] 137,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[15, 38], Operations: ['17-2=15', '95-57=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[57, 110], Operations: ['17-2=15', '95+15=110'] Exploring Operation: 110-57=53, Resulting Numbers: [53] 53,96 unequal: No Solution Exploring Operation: 57*110=6270, Resulting Numbers: [6270] 6270,96 unequal: No Solution Exploring Operation: 57+110=167, Resulting Numbers: [167] 167,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[57, 80], Operations: ['17-2=15', '95-15=80'] Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 57*80=4560, Resulting Numbers: [4560] 4560,96 unequal: No Solution Exploring Operation: 57+80=137, Resulting Numbers: [137] 137,96 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
[ 76, 1, 59, 2 ]
18
[ "76-1=75", "59-2=57", "75-57=18" ]
Current State: 18:[76, 1, 59, 2], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [59, 2, 75] Generated Node #2: [59, 2, 75] from Operation: 76-1=75 Current State: 18:[59, 2, 75], Operations: ['76-1=75'] Exploring Operation: 59-2=57, Resulting Numbers: [75, 57] Generated Node #3: [75, 57] from Operation: 59-2=57 Current State: 18:[75, 57], Operations: ['76-1=75', '59-2=57'] Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[76, 1, 59, 2], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [1, 2, 17] Generated Node #0,0: 18:[1, 2, 17] Operation: 76-59=17 Exploring Operation: 59-1=58, Resulting Numbers: [76, 2, 58] Generated Node #0,1: 18:[76, 2, 58] Operation: 59-1=58 Exploring Operation: 76-2=74, Resulting Numbers: [1, 59, 74] Generated Node #0,2: 18:[1, 59, 74] Operation: 76-2=74 Exploring Operation: 76-1=75, Resulting Numbers: [59, 2, 75] Generated Node #0,3: 18:[59, 2, 75] Operation: 76-1=75 Exploring Operation: 76/2=38, Resulting Numbers: [1, 59, 38] Generated Node #0,4: 18:[1, 59, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[1, 2, 17], Operations: ['76-59=17'] Exploring Operation: 1*2=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 18:[17, 2] Operation: 1*2=2 Exploring Operation: 1*17=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 18:[2, 17] Operation: 1*17=17 Exploring Operation: 2/1=2, Resulting Numbers: [17, 2] Generated Node #0,0,2: 18:[17, 2] Operation: 2/1=2 Exploring Operation: 1+2=3, Resulting Numbers: [17, 3] Generated Node #0,0,3: 18:[17, 3] Operation: 1+2=3 Exploring Operation: 1+17=18, Resulting Numbers: [2, 18] Generated Node #0,0,4: 18:[2, 18] Operation: 1+17=18 Moving to Node #0,0,4 Current State: 18:[2, 18], Operations: ['76-59=17', '1+17=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[2, 17], Operations: ['76-59=17', '1*17=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[17, 3], Operations: ['76-59=17', '1+2=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[17, 2], Operations: ['76-59=17', '1*2=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[17, 2], Operations: ['76-59=17', '2/1=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,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,4 Current State: 18:[1, 59, 38], Operations: ['76/2=38'] Exploring Operation: 1*59=59, Resulting Numbers: [38, 59] Generated Node #0,4,0: 18:[38, 59] Operation: 1*59=59 Exploring Operation: 59-1=58, Resulting Numbers: [38, 58] Generated Node #0,4,1: 18:[38, 58] Operation: 59-1=58 Exploring Operation: 59-38=21, Resulting Numbers: [1, 21] Generated Node #0,4,2: 18:[1, 21] Operation: 59-38=21 Exploring Operation: 38-1=37, Resulting Numbers: [59, 37] Generated Node #0,4,3: 18:[59, 37] Operation: 38-1=37 Exploring Operation: 59/1=59, Resulting Numbers: [38, 59] Generated Node #0,4,4: 18:[38, 59] Operation: 59/1=59 Moving to Node #0,4,2 Current State: 18:[1, 21], Operations: ['76/2=38', '59-38=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[59, 37], Operations: ['76/2=38', '38-1=37'] Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,18 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[38, 58], Operations: ['76/2=38', '59-1=58'] Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,18 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[38, 59], Operations: ['76/2=38', '1*59=59'] Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,18 unequal: No Solution Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,18 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[38, 59], Operations: ['76/2=38', '59/1=59'] Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,18 unequal: No Solution Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,18 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,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,1 Current State: 18:[76, 2, 58], Operations: ['59-1=58'] Exploring Operation: 76-2=74, Resulting Numbers: [58, 74] Generated Node #0,1,0: 18:[58, 74] Operation: 76-2=74 Exploring Operation: 58/2=29, Resulting Numbers: [76, 29] Generated Node #0,1,1: 18:[76, 29] Operation: 58/2=29 Exploring Operation: 58-2=56, Resulting Numbers: [76, 56] Generated Node #0,1,2: 18:[76, 56] Operation: 58-2=56 Exploring Operation: 76/2=38, Resulting Numbers: [58, 38] Generated Node #0,1,3: 18:[58, 38] Operation: 76/2=38 Exploring Operation: 76-58=18, Resulting Numbers: [2, 18] Generated Node #0,1,4: 18:[2, 18] Operation: 76-58=18 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 18:[2, 18], Operations: ['59-1=58', '76-58=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,18 unequal: No Solution No 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: 18:[58, 38], Operations: ['59-1=58', '76/2=38'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,18 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,18 unequal: No Solution No 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: 18:[76, 29], Operations: ['59-1=58', '58/2=29'] Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,18 unequal: No Solution Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,18 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,18 unequal: No Solution No 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: 18:[58, 74], Operations: ['59-1=58', '76-2=74'] Exploring Operation: 58+74=132, Resulting Numbers: [132] 132,18 unequal: No Solution Exploring Operation: 58*74=4292, Resulting Numbers: [4292] 4292,18 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,18 unequal: No Solution No 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: 18:[76, 56], Operations: ['59-1=58', '58-2=56'] Exploring Operation: 76*56=4256, Resulting Numbers: [4256] 4256,18 unequal: No Solution Exploring Operation: 76+56=132, Resulting Numbers: [132] 132,18 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[1, 59, 74], Operations: ['76-2=74'] Exploring Operation: 1*59=59, Resulting Numbers: [74, 59] Generated Node #0,2,0: 18:[74, 59] Operation: 1*59=59 Exploring Operation: 59/1=59, Resulting Numbers: [74, 59] Generated Node #0,2,1: 18:[74, 59] Operation: 59/1=59 Exploring Operation: 59-1=58, Resulting Numbers: [74, 58] Generated Node #0,2,2: 18:[74, 58] Operation: 59-1=58 Exploring Operation: 74-59=15, Resulting Numbers: [1, 15] Generated Node #0,2,3: 18:[1, 15] Operation: 74-59=15 Exploring Operation: 74-1=73, Resulting Numbers: [59, 73] Generated Node #0,2,4: 18:[59, 73] Operation: 74-1=73 Moving to Node #0,2,3 Current State: 18:[1, 15], Operations: ['76-2=74', '74-59=15'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[59, 73], Operations: ['76-2=74', '74-1=73'] Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 59*73=4307, Resulting Numbers: [4307] 4307,18 unequal: No Solution Exploring Operation: 59+73=132, Resulting Numbers: [132] 132,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[74, 58], Operations: ['76-2=74', '59-1=58'] Exploring Operation: 74+58=132, Resulting Numbers: [132] 132,18 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 74*58=4292, Resulting Numbers: [4292] 4292,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[74, 59], Operations: ['76-2=74', '1*59=59'] Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 74*59=4366, Resulting Numbers: [4366] 4366,18 unequal: No Solution Exploring Operation: 74+59=133, Resulting Numbers: [133] 133,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[74, 59], Operations: ['76-2=74', '59/1=59'] Exploring Operation: 74*59=4366, Resulting Numbers: [4366] 4366,18 unequal: No Solution Exploring Operation: 74+59=133, Resulting Numbers: [133] 133,18 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[59, 2, 75], Operations: ['76-1=75'] Exploring Operation: 59+2=61, Resulting Numbers: [75, 61] Generated Node #0,3,0: 18:[75, 61] Operation: 59+2=61 Exploring Operation: 2+75=77, Resulting Numbers: [59, 77] Generated Node #0,3,1: 18:[59, 77] Operation: 2+75=77 Exploring Operation: 59-2=57, Resulting Numbers: [75, 57] Generated Node #0,3,2: 18:[75, 57] Operation: 59-2=57 Exploring Operation: 75-59=16, Resulting Numbers: [2, 16] Generated Node #0,3,3: 18:[2, 16] Operation: 75-59=16 Exploring Operation: 75-2=73, Resulting Numbers: [59, 73] Generated Node #0,3,4: 18:[59, 73] Operation: 75-2=73 Moving to Node #0,3,3 Current State: 18:[2, 16], Operations: ['76-1=75', '75-59=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[76, 1, 59, 2], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [59, 2, 75] Generated Node #0,3: 18:[59, 2, 75] Operation: 76-1=75 Moving to Node #0,3 Current State: 18:[59, 2, 75], Operations: ['76-1=75'] Exploring Operation: 75-59=16, Resulting Numbers: [2, 16] Generated Node #0,3,3: 18:[2, 16] Operation: 75-59=16 Moving to Node #0,3,3 Current State: 18:[2, 16], Operations: ['76-1=75', '75-59=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.914063
hs_5
mult_heuristic
[ 88, 13, 15, 84 ]
40
[ "15-13=2", "88/2=44", "84-44=40" ]
Current State: 40:[88, 13, 15, 84], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [88, 84, 2] Generated Node #2: [88, 84, 2] from Operation: 15-13=2 Current State: 40:[88, 84, 2], Operations: ['15-13=2'] Exploring Operation: 88/2=44, Resulting Numbers: [84, 44] Generated Node #3: [84, 44] from Operation: 88/2=44 Current State: 40:[84, 44], Operations: ['15-13=2', '88/2=44'] Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[88, 13, 15, 84], Operations: [] Exploring Operation: 88-15=73, Resulting Numbers: [13, 84, 73] Generated Node #0,0: 40:[13, 84, 73] Operation: 88-15=73 Exploring Operation: 84-15=69, Resulting Numbers: [88, 13, 69] Generated Node #0,1: 40:[88, 13, 69] Operation: 84-15=69 Exploring Operation: 88-84=4, Resulting Numbers: [13, 15, 4] Generated Node #0,2: 40:[13, 15, 4] Operation: 88-84=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[13, 15, 4], Operations: ['88-84=4'] Exploring Operation: 15+4=19, Resulting Numbers: [13, 19] Generated Node #0,2,0: 40:[13, 19] Operation: 15+4=19 Exploring Operation: 15-13=2, Resulting Numbers: [4, 2] Generated Node #0,2,1: 40:[4, 2] Operation: 15-13=2 Exploring Operation: 15-4=11, Resulting Numbers: [13, 11] Generated Node #0,2,2: 40:[13, 11] Operation: 15-4=11 Moving to Node #0,2,1 Current State: 40:[4, 2], Operations: ['88-84=4', '15-13=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[13, 19], Operations: ['88-84=4', '15+4=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,40 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[13, 11], Operations: ['88-84=4', '15-4=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,40 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[13, 84, 73], Operations: ['88-15=73'] Exploring Operation: 84-13=71, Resulting Numbers: [73, 71] Generated Node #0,0,0: 40:[73, 71] Operation: 84-13=71 Exploring Operation: 73-13=60, Resulting Numbers: [84, 60] Generated Node #0,0,1: 40:[84, 60] Operation: 73-13=60 Exploring Operation: 84-73=11, Resulting Numbers: [13, 11] Generated Node #0,0,2: 40:[13, 11] Operation: 84-73=11 Moving to Node #0,0,2 Current State: 40:[13, 11], Operations: ['88-15=73', '84-73=11'] Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,40 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[73, 71], Operations: ['88-15=73', '84-13=71'] Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[84, 60], Operations: ['88-15=73', '73-13=60'] Exploring Operation: 84*60=5040, Resulting Numbers: [5040] 5040,40 unequal: No Solution Exploring Operation: 84+60=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[88, 13, 69], Operations: ['84-15=69'] Exploring Operation: 69-13=56, Resulting Numbers: [88, 56] Generated Node #0,1,0: 40:[88, 56] Operation: 69-13=56 Exploring Operation: 88-69=19, Resulting Numbers: [13, 19] Generated Node #0,1,1: 40:[13, 19] Operation: 88-69=19 Exploring Operation: 88-13=75, Resulting Numbers: [69, 75] Generated Node #0,1,2: 40:[69, 75] Operation: 88-13=75 Moving to Node #0,1,1 Current State: 40:[13, 19], Operations: ['84-15=69', '88-69=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,40 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[88, 56], Operations: ['84-15=69', '69-13=56'] Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,40 unequal: No Solution Exploring Operation: 88+56=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 88*56=4928, Resulting Numbers: [4928] 4928,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[69, 75], Operations: ['84-15=69', '88-13=75'] Exploring Operation: 69*75=5175, Resulting Numbers: [5175] 5175,40 unequal: No Solution Exploring Operation: 69+75=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,40 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
[ 29, 33, 3, 35 ]
53
[ "29+35=64", "33/3=11", "64-11=53" ]
Current State: 53:[29, 33, 3, 35], Operations: [] Exploring Operation: 29+35=64, Resulting Numbers: [33, 3, 64] Generated Node #2: [33, 3, 64] from Operation: 29+35=64 Current State: 53:[33, 3, 64], Operations: ['29+35=64'] Exploring Operation: 33/3=11, Resulting Numbers: [64, 11] Generated Node #3: [64, 11] from Operation: 33/3=11 Current State: 53:[64, 11], Operations: ['29+35=64', '33/3=11'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[29, 33, 3, 35], Operations: [] Exploring Operation: 29+3=32, Resulting Numbers: [33, 35, 32] Generated Node #0,0: 53:[33, 35, 32] Operation: 29+3=32 Exploring Operation: 33+3=36, Resulting Numbers: [29, 35, 36] Generated Node #0,1: 53:[29, 35, 36] Operation: 33+3=36 Moving to Node #0,0 Current State: 53:[33, 35, 32], Operations: ['29+3=32'] Exploring Operation: 33+32=65, Resulting Numbers: [35, 65] Generated Node #0,0,0: 53:[35, 65] Operation: 33+32=65 Exploring Operation: 35+32=67, Resulting Numbers: [33, 67] Generated Node #0,0,1: 53:[33, 67] Operation: 35+32=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[35, 65], Operations: ['29+3=32', '33+32=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[33, 67], Operations: ['29+3=32', '35+32=67'] Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,53 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: 53:[29, 35, 36], Operations: ['33+3=36'] Exploring Operation: 29+36=65, Resulting Numbers: [35, 65] Generated Node #0,1,0: 53:[35, 65] Operation: 29+36=65 Exploring Operation: 29+35=64, Resulting Numbers: [36, 64] Generated Node #0,1,1: 53:[36, 64] Operation: 29+35=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[36, 64], Operations: ['33+3=36', '29+35=64'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[35, 65], Operations: ['33+3=36', '29+36=65'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 19, 7, 31, 40 ]
97
[ "19+7=26", "31+40=71", "26+71=97" ]
Current State: 97:[19, 7, 31, 40], Operations: [] Exploring Operation: 19+7=26, Resulting Numbers: [31, 40, 26] Generated Node #2: [31, 40, 26] from Operation: 19+7=26 Current State: 97:[31, 40, 26], Operations: ['19+7=26'] Exploring Operation: 31+40=71, Resulting Numbers: [26, 71] Generated Node #3: [26, 71] from Operation: 31+40=71 Current State: 97:[26, 71], Operations: ['19+7=26', '31+40=71'] Exploring Operation: 26+71=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[19, 7, 31, 40], Operations: [] Exploring Operation: 19+40=59, Resulting Numbers: [7, 31, 59] Generated Node #0,0: 97:[7, 31, 59] Operation: 19+40=59 Exploring Operation: 19+7=26, Resulting Numbers: [31, 40, 26] Generated Node #0,1: 97:[31, 40, 26] Operation: 19+7=26 Exploring Operation: 19+31=50, Resulting Numbers: [7, 40, 50] Generated Node #0,2: 97:[7, 40, 50] Operation: 19+31=50 Exploring Operation: 7+31=38, Resulting Numbers: [19, 40, 38] Generated Node #0,3: 97:[19, 40, 38] Operation: 7+31=38 Exploring Operation: 19*7=133, Resulting Numbers: [31, 40, 133] Generated Node #0,4: 97:[31, 40, 133] Operation: 19*7=133 Moving to Node #0,4 Current State: 97:[31, 40, 133], Operations: ['19*7=133'] Exploring Operation: 40-31=9, Resulting Numbers: [133, 9] Generated Node #0,4,0: 97:[133, 9] Operation: 40-31=9 Exploring Operation: 133-40=93, Resulting Numbers: [31, 93] Generated Node #0,4,1: 97:[31, 93] Operation: 133-40=93 Exploring Operation: 31+133=164, Resulting Numbers: [40, 164] Generated Node #0,4,2: 97:[40, 164] Operation: 31+133=164 Exploring Operation: 133-31=102, Resulting Numbers: [40, 102] Generated Node #0,4,3: 97:[40, 102] Operation: 133-31=102 Exploring Operation: 31+40=71, Resulting Numbers: [133, 71] Generated Node #0,4,4: 97:[133, 71] Operation: 31+40=71 Moving to Node #0,1 Current State: 97:[31, 40, 26], Operations: ['19+7=26'] Exploring Operation: 40+26=66, Resulting Numbers: [31, 66] Generated Node #0,1,0: 97:[31, 66] Operation: 40+26=66 Exploring Operation: 31+26=57, Resulting Numbers: [40, 57] Generated Node #0,1,1: 97:[40, 57] Operation: 31+26=57 Exploring Operation: 40-26=14, Resulting Numbers: [31, 14] Generated Node #0,1,2: 97:[31, 14] Operation: 40-26=14 Exploring Operation: 31-26=5, Resulting Numbers: [40, 5] Generated Node #0,1,3: 97:[40, 5] Operation: 31-26=5 Exploring Operation: 31+40=71, Resulting Numbers: [26, 71] Generated Node #0,1,4: 97:[26, 71] Operation: 31+40=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[31, 66], Operations: ['19+7=26', '40+26=66'] Exploring Operation: 31*66=2046, Resulting Numbers: [2046] 2046,97 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,97 unequal: No Solution Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[19, 7, 31, 40], Operations: [] Exploring Operation: 19+7=26, Resulting Numbers: [31, 40, 26] Generated Node #0,1: 97:[31, 40, 26] Operation: 19+7=26 Moving to Node #0,1 Current State: 97:[31, 40, 26], Operations: ['19+7=26'] Exploring Operation: 40+26=66, Resulting Numbers: [31, 66] Generated Node #0,1,0: 97:[31, 66] Operation: 40+26=66 Moving to Node #0,1,0 Current State: 97:[31, 66], Operations: ['19+7=26', '40+26=66'] Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 68, 30, 42, 44 ]
36
[ "68-30=38", "44-42=2", "38-2=36" ]
Current State: 36:[68, 30, 42, 44], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [42, 44, 38] Generated Node #2: [42, 44, 38] from Operation: 68-30=38 Current State: 36:[42, 44, 38], Operations: ['68-30=38'] Exploring Operation: 44-42=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 44-42=2 Current State: 36:[38, 2], Operations: ['68-30=38', '44-42=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[68, 30, 42, 44], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [30, 42, 24] Generated Node #0,0: 36:[30, 42, 24] Operation: 68-44=24 Exploring Operation: 44-42=2, Resulting Numbers: [68, 30, 2] Generated Node #0,1: 36:[68, 30, 2] Operation: 44-42=2 Exploring Operation: 68-30=38, Resulting Numbers: [42, 44, 38] Generated Node #0,2: 36:[42, 44, 38] Operation: 68-30=38 Exploring Operation: 68-42=26, Resulting Numbers: [30, 44, 26] Generated Node #0,3: 36:[30, 44, 26] Operation: 68-42=26 Moving to Node #0,2 Current State: 36:[42, 44, 38], Operations: ['68-30=38'] Exploring Operation: 44-42=2, Resulting Numbers: [38, 2] Generated Node #0,2,0: 36:[38, 2] Operation: 44-42=2 Exploring Operation: 42+44=86, Resulting Numbers: [38, 86] Generated Node #0,2,1: 36:[38, 86] Operation: 42+44=86 Exploring Operation: 44-38=6, Resulting Numbers: [42, 6] Generated Node #0,2,2: 36:[42, 6] Operation: 44-38=6 Exploring Operation: 42-38=4, Resulting Numbers: [44, 4] Generated Node #0,2,3: 36:[44, 4] Operation: 42-38=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[38, 2], Operations: ['68-30=38', '44-42=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[68, 30, 42, 44], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [42, 44, 38] Generated Node #0,2: 36:[42, 44, 38] Operation: 68-30=38 Moving to Node #0,2 Current State: 36:[42, 44, 38], Operations: ['68-30=38'] Exploring Operation: 44-42=2, Resulting Numbers: [38, 2] Generated Node #0,2,0: 36:[38, 2] Operation: 44-42=2 Moving to Node #0,2,0 Current State: 36:[38, 2], Operations: ['68-30=38', '44-42=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 65, 30, 90, 4 ]
64
[ "65-4=61", "90/30=3", "61+3=64" ]
Current State: 64:[65, 30, 90, 4], Operations: [] Exploring Operation: 65-4=61, Resulting Numbers: [30, 90, 61] Generated Node #2: [30, 90, 61] from Operation: 65-4=61 Current State: 64:[30, 90, 61], Operations: ['65-4=61'] Exploring Operation: 90/30=3, Resulting Numbers: [61, 3] Generated Node #3: [61, 3] from Operation: 90/30=3 Current State: 64:[61, 3], Operations: ['65-4=61', '90/30=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[65, 30, 90, 4], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [65, 4, 3] Generated Node #0,0: 64:[65, 4, 3] Operation: 90/30=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[65, 4, 3], Operations: ['90/30=3'] Exploring Operation: 65-3=62, Resulting Numbers: [4, 62] Generated Node #0,0,0: 64:[4, 62] Operation: 65-3=62 Moving to Node #0,0,0 Current State: 64:[4, 62], Operations: ['90/30=3', '65-3=62'] Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,64 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
[ 24, 50, 69, 23 ]
28
[ "24+50=74", "69-23=46", "74-46=28" ]
Current State: 28:[24, 50, 69, 23], Operations: [] Exploring Operation: 24+50=74, Resulting Numbers: [69, 23, 74] Generated Node #2: [69, 23, 74] from Operation: 24+50=74 Current State: 28:[69, 23, 74], Operations: ['24+50=74'] Exploring Operation: 69-23=46, Resulting Numbers: [74, 46] Generated Node #3: [74, 46] from Operation: 69-23=46 Current State: 28:[74, 46], Operations: ['24+50=74', '69-23=46'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[24, 50, 69, 23], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [24, 50, 3] Generated Node #0,0: 28:[24, 50, 3] Operation: 69/23=3 Exploring Operation: 69-50=19, Resulting Numbers: [24, 23, 19] Generated Node #0,1: 28:[24, 23, 19] Operation: 69-50=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[24, 23, 19], Operations: ['69-50=19'] Exploring Operation: 24-23=1, Resulting Numbers: [19, 1] Generated Node #0,1,0: 28:[19, 1] Operation: 24-23=1 Exploring Operation: 23-19=4, Resulting Numbers: [24, 4] Generated Node #0,1,1: 28:[24, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[24, 4], Operations: ['69-50=19', '23-19=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[24, 50, 69, 23], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [24, 23, 19] Generated Node #0,1: 28:[24, 23, 19] Operation: 69-50=19 Moving to Node #0,1 Current State: 28:[24, 23, 19], Operations: ['69-50=19'] Exploring Operation: 23-19=4, Resulting Numbers: [24, 4] Generated Node #0,1,1: 28:[24, 4] Operation: 23-19=4 Moving to Node #0,1,1 Current State: 28:[24, 4], Operations: ['69-50=19', '23-19=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 18, 60, 26, 95 ]
98
[ "18+60=78", "78/26=3", "95+3=98" ]
Current State: 98:[18, 60, 26, 95], Operations: [] Exploring Operation: 18+60=78, Resulting Numbers: [26, 95, 78] Generated Node #2: [26, 95, 78] from Operation: 18+60=78 Current State: 98:[26, 95, 78], Operations: ['18+60=78'] Exploring Operation: 78/26=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 78/26=3 Current State: 98:[95, 3], Operations: ['18+60=78', '78/26=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[18, 60, 26, 95], Operations: [] Exploring Operation: 26-18=8, Resulting Numbers: [60, 95, 8] Generated Node #0,0: 98:[60, 95, 8] Operation: 26-18=8 Moving to Node #0,0 Current State: 98:[60, 95, 8], Operations: ['26-18=8'] Exploring Operation: 60-8=52, Resulting Numbers: [95, 52] Generated Node #0,0,0: 98:[95, 52] Operation: 60-8=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[95, 52], Operations: ['26-18=8', '60-8=52'] Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,98 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
[ 52, 32, 4, 6 ]
24
[ "52-4=48", "48/6=8", "32-8=24" ]
Current State: 24:[52, 32, 4, 6], Operations: [] Exploring Operation: 52-4=48, Resulting Numbers: [32, 6, 48] Generated Node #2: [32, 6, 48] from Operation: 52-4=48 Current State: 24:[32, 6, 48], Operations: ['52-4=48'] Exploring Operation: 48/6=8, Resulting Numbers: [32, 8] Generated Node #3: [32, 8] from Operation: 48/6=8 Current State: 24:[32, 8], Operations: ['52-4=48', '48/6=8'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[52, 32, 4, 6], Operations: [] Exploring Operation: 52-32=20, Resulting Numbers: [4, 6, 20] Generated Node #0,0: 24:[4, 6, 20] Operation: 52-32=20 Exploring Operation: 52/4=13, Resulting Numbers: [32, 6, 13] Generated Node #0,1: 24:[32, 6, 13] Operation: 52/4=13 Moving to Node #0,0 Current State: 24:[4, 6, 20], Operations: ['52-32=20'] Exploring Operation: 20/4=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 24:[6, 5] Operation: 20/4=5 Exploring Operation: 4+20=24, Resulting Numbers: [6, 24] Generated Node #0,0,1: 24:[6, 24] Operation: 4+20=24 Moving to Node #0,1 Current State: 24:[32, 6, 13], Operations: ['52/4=13'] Exploring Operation: 32-6=26, Resulting Numbers: [13, 26] Generated Node #0,1,0: 24:[13, 26] Operation: 32-6=26 Exploring Operation: 32-13=19, Resulting Numbers: [6, 19] Generated Node #0,1,1: 24:[6, 19] Operation: 32-13=19 Moving to Node #0,0,1 Current State: 24:[6, 24], Operations: ['52-32=20', '4+20=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[6, 5], Operations: ['52-32=20', '20/4=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[13, 26], Operations: ['52/4=13', '32-6=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[6, 19], Operations: ['52/4=13', '32-13=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,24 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 31, 34, 50, 59 ]
47
[ "34+59=93", "93/31=3", "50-3=47" ]
Current State: 47:[31, 34, 50, 59], Operations: [] Exploring Operation: 34+59=93, Resulting Numbers: [31, 50, 93] Generated Node #2: [31, 50, 93] from Operation: 34+59=93 Current State: 47:[31, 50, 93], Operations: ['34+59=93'] Exploring Operation: 93/31=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 93/31=3 Current State: 47:[50, 3], Operations: ['34+59=93', '93/31=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[31, 34, 50, 59], Operations: [] Exploring Operation: 31+34=65, Resulting Numbers: [50, 59, 65] Generated Node #0,0: 47:[50, 59, 65] Operation: 31+34=65 Exploring Operation: 59-34=25, Resulting Numbers: [31, 50, 25] Generated Node #0,1: 47:[31, 50, 25] Operation: 59-34=25 Exploring Operation: 59-31=28, Resulting Numbers: [34, 50, 28] Generated Node #0,2: 47:[34, 50, 28] Operation: 59-31=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[50, 59, 65], Operations: ['31+34=65'] Exploring Operation: 65-59=6, Resulting Numbers: [50, 6] Generated Node #0,0,0: 47:[50, 6] Operation: 65-59=6 Exploring Operation: 59-50=9, Resulting Numbers: [65, 9] Generated Node #0,0,1: 47:[65, 9] Operation: 59-50=9 Exploring Operation: 65-50=15, Resulting Numbers: [59, 15] Generated Node #0,0,2: 47:[59, 15] Operation: 65-50=15 Moving to Node #0,0,0 Current State: 47:[50, 6], Operations: ['31+34=65', '65-59=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,47 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[59, 15], Operations: ['31+34=65', '65-50=15'] Exploring Operation: 59*15=885, Resulting Numbers: [885] 885,47 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[65, 9], Operations: ['31+34=65', '59-50=9'] Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,47 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,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,2 Current State: 47:[34, 50, 28], Operations: ['59-31=28'] Exploring Operation: 34+28=62, Resulting Numbers: [50, 62] Generated Node #0,2,0: 47:[50, 62] Operation: 34+28=62 Exploring Operation: 34-28=6, Resulting Numbers: [50, 6] Generated Node #0,2,1: 47:[50, 6] Operation: 34-28=6 Exploring Operation: 50-28=22, Resulting Numbers: [34, 22] Generated Node #0,2,2: 47:[34, 22] Operation: 50-28=22 Moving to Node #0,2,0 Current State: 47:[50, 62], Operations: ['59-31=28', '34+28=62'] Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,47 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[34, 22], Operations: ['59-31=28', '50-28=22'] Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,47 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[50, 6], Operations: ['59-31=28', '34-28=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,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:[31, 50, 25], Operations: ['59-34=25'] Exploring Operation: 50-25=25, Resulting Numbers: [31, 25] Generated Node #0,1,0: 47:[31, 25] Operation: 50-25=25 Exploring Operation: 31+25=56, Resulting Numbers: [50, 56] Generated Node #0,1,1: 47:[50, 56] Operation: 31+25=56 Exploring Operation: 31-25=6, Resulting Numbers: [50, 6] Generated Node #0,1,2: 47:[50, 6] Operation: 31-25=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[50, 56], Operations: ['59-34=25', '31+25=56'] Exploring Operation: 50*56=2800, Resulting Numbers: [2800] 2800,47 unequal: No Solution Exploring Operation: 50+56=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,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:[31, 25], Operations: ['59-34=25', '50-25=25'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,47 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,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,2 Current State: 47:[50, 6], Operations: ['59-34=25', '31-25=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,47 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 50, 9, 9, 79 ]
48
[ "50+79=129", "9*9=81", "129-81=48" ]
Current State: 48:[50, 9, 9, 79], Operations: [] Exploring Operation: 50+79=129, Resulting Numbers: [9, 9, 129] Generated Node #2: [9, 9, 129] from Operation: 50+79=129 Current State: 48:[9, 9, 129], Operations: ['50+79=129'] Exploring Operation: 9*9=81, Resulting Numbers: [129, 81] Generated Node #3: [129, 81] from Operation: 9*9=81 Current State: 48:[129, 81], Operations: ['50+79=129', '9*9=81'] Exploring Operation: 129-81=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[50, 9, 9, 79], Operations: [] Exploring Operation: 79-9=70, Resulting Numbers: [50, 9, 70] Generated Node #0,0: 48:[50, 9, 70] Operation: 79-9=70 Exploring Operation: 79-50=29, Resulting Numbers: [9, 9, 29] Generated Node #0,1: 48:[9, 9, 29] Operation: 79-50=29 Exploring Operation: 79-9=70, Resulting Numbers: [50, 9, 70] Generated Node #0,2: 48:[50, 9, 70] Operation: 79-9=70 Moving to Node #0,1 Current State: 48:[9, 9, 29], Operations: ['79-50=29'] Exploring Operation: 29-9=20, Resulting Numbers: [9, 20] Generated Node #0,1,0: 48:[9, 20] Operation: 29-9=20 Exploring Operation: 9/9=1, Resulting Numbers: [29, 1] Generated Node #0,1,1: 48:[29, 1] Operation: 9/9=1 Exploring Operation: 29-9=20, Resulting Numbers: [9, 20] Generated Node #0,1,2: 48:[9, 20] Operation: 29-9=20 Moving to Node #0,0 Current State: 48:[50, 9, 70], Operations: ['79-9=70'] Exploring Operation: 70-50=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 48:[9, 20] Operation: 70-50=20 Exploring Operation: 70-9=61, Resulting Numbers: [50, 61] Generated Node #0,0,1: 48:[50, 61] Operation: 70-9=61 Exploring Operation: 50-9=41, Resulting Numbers: [70, 41] Generated Node #0,0,2: 48:[70, 41] Operation: 50-9=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[9, 20], Operations: ['79-9=70', '70-50=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,48 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[50, 61], Operations: ['79-9=70', '70-9=61'] Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,48 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[70, 41], Operations: ['79-9=70', '50-9=41'] Exploring Operation: 70*41=2870, Resulting Numbers: [2870] 2870,48 unequal: No Solution Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,48 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: 48:[50, 9, 70], Operations: ['79-9=70'] Exploring Operation: 50-9=41, Resulting Numbers: [70, 41] Generated Node #0,2,0: 48:[70, 41] Operation: 50-9=41 Exploring Operation: 70-9=61, Resulting Numbers: [50, 61] Generated Node #0,2,1: 48:[50, 61] Operation: 70-9=61 Exploring Operation: 70-50=20, Resulting Numbers: [9, 20] Generated Node #0,2,2: 48:[9, 20] Operation: 70-50=20 Moving to Node #0,1,0 Current State: 48:[9, 20], Operations: ['79-50=29', '29-9=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,48 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[9, 20], Operations: ['79-50=29', '29-9=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,48 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[9, 20], Operations: ['79-9=70', '70-50=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,48 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[29, 1], Operations: ['79-50=29', '9/9=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[50, 61], Operations: ['79-9=70', '70-9=61'] Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,48 unequal: No Solution Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,48 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[70, 41], Operations: ['79-9=70', '50-9=41'] Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 70*41=2870, Resulting Numbers: [2870] 2870,48 unequal: No Solution Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,48 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 89, 52, 68, 92 ]
88
[ "92-89=3", "52*3=156", "156-68=88" ]
Current State: 88:[89, 52, 68, 92], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [52, 68, 3] Generated Node #2: [52, 68, 3] from Operation: 92-89=3 Current State: 88:[52, 68, 3], Operations: ['92-89=3'] Exploring Operation: 52*3=156, Resulting Numbers: [68, 156] Generated Node #3: [68, 156] from Operation: 52*3=156 Current State: 88:[68, 156], Operations: ['92-89=3', '52*3=156'] Exploring Operation: 156-68=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[89, 52, 68, 92], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [52, 92, 21] Generated Node #0,0: 88:[52, 92, 21] Operation: 89-68=21 Exploring Operation: 92-68=24, Resulting Numbers: [89, 52, 24] Generated Node #0,1: 88:[89, 52, 24] Operation: 92-68=24 Exploring Operation: 68-52=16, Resulting Numbers: [89, 92, 16] Generated Node #0,2: 88:[89, 92, 16] Operation: 68-52=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[89, 92, 16], Operations: ['68-52=16'] Exploring Operation: 92-16=76, Resulting Numbers: [89, 76] Generated Node #0,2,0: 88:[89, 76] Operation: 92-16=76 Exploring Operation: 89-16=73, Resulting Numbers: [92, 73] Generated Node #0,2,1: 88:[92, 73] Operation: 89-16=73 Exploring Operation: 92-89=3, Resulting Numbers: [16, 3] Generated Node #0,2,2: 88:[16, 3] Operation: 92-89=3 Moving to Node #0,2,2 Current State: 88:[16, 3], Operations: ['68-52=16', '92-89=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[89, 76], Operations: ['68-52=16', '92-16=76'] Exploring Operation: 89+76=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 89*76=6764, Resulting Numbers: [6764] 6764,88 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[92, 73], Operations: ['68-52=16', '89-16=73'] Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,88 unequal: No Solution Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[89, 52, 24], Operations: ['92-68=24'] Exploring Operation: 89-52=37, Resulting Numbers: [24, 37] Generated Node #0,1,0: 88:[24, 37] Operation: 89-52=37 Exploring Operation: 52-24=28, Resulting Numbers: [89, 28] Generated Node #0,1,1: 88:[89, 28] Operation: 52-24=28 Exploring Operation: 52+24=76, Resulting Numbers: [89, 76] Generated Node #0,1,2: 88:[89, 76] Operation: 52+24=76 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[89, 28], Operations: ['92-68=24', '52-24=28'] Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,88 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,88 unequal: No Solution No 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: 88:[24, 37], Operations: ['92-68=24', '89-52=37'] Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,88 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,88 unequal: No Solution No 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: 88:[89, 76], Operations: ['92-68=24', '52+24=76'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 89+76=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 89*76=6764, Resulting Numbers: [6764] 6764,88 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: 88:[52, 92, 21], Operations: ['89-68=21'] Exploring Operation: 92-52=40, Resulting Numbers: [21, 40] Generated Node #0,0,0: 88:[21, 40] Operation: 92-52=40 Exploring Operation: 52-21=31, Resulting Numbers: [92, 31] Generated Node #0,0,1: 88:[92, 31] Operation: 52-21=31 Exploring Operation: 52+21=73, Resulting Numbers: [92, 73] Generated Node #0,0,2: 88:[92, 73] Operation: 52+21=73 Moving to Node #0,0,0 Current State: 88:[21, 40], Operations: ['89-68=21', '92-52=40'] Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[92, 31], Operations: ['89-68=21', '52-21=31'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 92+31=123, Resulting Numbers: [123] 123,88 unequal: No Solution Exploring Operation: 92*31=2852, Resulting Numbers: [2852] 2852,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[92, 73], Operations: ['89-68=21', '52+21=73'] Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,88 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
[ 28, 43, 72, 29 ]
29
[ "28+43=71", "72-71=1", "29*1=29" ]
Current State: 29:[28, 43, 72, 29], Operations: [] Exploring Operation: 28+43=71, Resulting Numbers: [72, 29, 71] Generated Node #2: [72, 29, 71] from Operation: 28+43=71 Current State: 29:[72, 29, 71], Operations: ['28+43=71'] Exploring Operation: 72-71=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 72-71=1 Current State: 29:[29, 1], Operations: ['28+43=71', '72-71=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[28, 43, 72, 29], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [43, 29, 44] Generated Node #0,0: 29:[43, 29, 44] Operation: 72-28=44 Exploring Operation: 72-43=29, Resulting Numbers: [28, 29, 29] Generated Node #0,1: 29:[28, 29, 29] Operation: 72-43=29 Exploring Operation: 43-29=14, Resulting Numbers: [28, 72, 14] Generated Node #0,2: 29:[28, 72, 14] Operation: 43-29=14 Exploring Operation: 72-29=43, Resulting Numbers: [28, 43, 43] Generated Node #0,3: 29:[28, 43, 43] Operation: 72-29=43 Exploring Operation: 43-28=15, Resulting Numbers: [72, 29, 15] Generated Node #0,4: 29:[72, 29, 15] Operation: 43-28=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[28, 29, 29], Operations: ['72-43=29'] Exploring Operation: 29/29=1, Resulting Numbers: [28, 1] Generated Node #0,1,0: 29:[28, 1] Operation: 29/29=1 Exploring Operation: 28+29=57, Resulting Numbers: [29, 57] Generated Node #0,1,1: 29:[29, 57] Operation: 28+29=57 Exploring Operation: 29-28=1, Resulting Numbers: [29, 1] Generated Node #0,1,2: 29:[29, 1] Operation: 29-28=1 Exploring Operation: 29-28=1, Resulting Numbers: [29, 1] Generated Node #0,1,3: 29:[29, 1] Operation: 29-28=1 Exploring Operation: 28+29=57, Resulting Numbers: [29, 57] Generated Node #0,1,4: 29:[29, 57] Operation: 28+29=57 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[29, 57], Operations: ['72-43=29', '28+29=57'] Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[29, 1], Operations: ['72-43=29', '29-28=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[28, 43, 72, 29], Operations: [] Exploring Operation: 72-43=29, Resulting Numbers: [28, 29, 29] Generated Node #0,1: 29:[28, 29, 29] Operation: 72-43=29 Moving to Node #0,1 Current State: 29:[28, 29, 29], Operations: ['72-43=29'] Exploring Operation: 29-28=1, Resulting Numbers: [29, 1] Generated Node #0,1,2: 29:[29, 1] Operation: 29-28=1 Moving to Node #0,1,2 Current State: 29:[29, 1], Operations: ['72-43=29', '29-28=1'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 65, 36, 41, 51 ]
91
[ "65+36=101", "51-41=10", "101-10=91" ]
Current State: 91:[65, 36, 41, 51], Operations: [] Exploring Operation: 65+36=101, Resulting Numbers: [41, 51, 101] Generated Node #2: [41, 51, 101] from Operation: 65+36=101 Current State: 91:[41, 51, 101], Operations: ['65+36=101'] Exploring Operation: 51-41=10, Resulting Numbers: [101, 10] Generated Node #3: [101, 10] from Operation: 51-41=10 Current State: 91:[101, 10], Operations: ['65+36=101', '51-41=10'] Exploring Operation: 101-10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[65, 36, 41, 51], Operations: [] Exploring Operation: 51-41=10, Resulting Numbers: [65, 36, 10] Generated Node #0,0: 91:[65, 36, 10] Operation: 51-41=10 Exploring Operation: 65-51=14, Resulting Numbers: [36, 41, 14] Generated Node #0,1: 91:[36, 41, 14] Operation: 65-51=14 Exploring Operation: 41+51=92, Resulting Numbers: [65, 36, 92] Generated Node #0,2: 91:[65, 36, 92] Operation: 41+51=92 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[65, 36, 92], Operations: ['41+51=92'] Exploring Operation: 92-65=27, Resulting Numbers: [36, 27] Generated Node #0,2,0: 91:[36, 27] Operation: 92-65=27 Exploring Operation: 65-36=29, Resulting Numbers: [92, 29] Generated Node #0,2,1: 91:[92, 29] Operation: 65-36=29 Exploring Operation: 65+36=101, Resulting Numbers: [92, 101] Generated Node #0,2,2: 91:[92, 101] Operation: 65+36=101 Moving to Node #0,2,2 Current State: 91:[92, 101], Operations: ['41+51=92', '65+36=101'] Exploring Operation: 101-92=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 92*101=9292, Resulting Numbers: [9292] 9292,91 unequal: No Solution Exploring Operation: 92+101=193, Resulting Numbers: [193] 193,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[92, 29], Operations: ['41+51=92', '65-36=29'] Exploring Operation: 92+29=121, Resulting Numbers: [121] 121,91 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,91 unequal: No Solution Exploring Operation: 92*29=2668, Resulting Numbers: [2668] 2668,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[36, 27], Operations: ['41+51=92', '92-65=27'] Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,91 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[65, 36, 10], Operations: ['51-41=10'] Exploring Operation: 65-36=29, Resulting Numbers: [10, 29] Generated Node #0,0,0: 91:[10, 29] Operation: 65-36=29 Exploring Operation: 65+10=75, Resulting Numbers: [36, 75] Generated Node #0,0,1: 91:[36, 75] Operation: 65+10=75 Exploring Operation: 65+36=101, Resulting Numbers: [10, 101] Generated Node #0,0,2: 91:[10, 101] Operation: 65+36=101 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[10, 101], Operations: ['51-41=10', '65+36=101'] Exploring Operation: 10+101=111, Resulting Numbers: [111] 111,91 unequal: No Solution Exploring Operation: 10*101=1010, Resulting Numbers: [1010] 1010,91 unequal: No Solution Exploring Operation: 101-10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[65, 36, 41, 51], Operations: [] Exploring Operation: 51-41=10, Resulting Numbers: [65, 36, 10] Generated Node #0,0: 91:[65, 36, 10] Operation: 51-41=10 Moving to Node #0,0 Current State: 91:[65, 36, 10], Operations: ['51-41=10'] Exploring Operation: 65+36=101, Resulting Numbers: [10, 101] Generated Node #0,0,2: 91:[10, 101] Operation: 65+36=101 Moving to Node #0,0,2 Current State: 91:[10, 101], Operations: ['51-41=10', '65+36=101'] Exploring Operation: 101-10=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 87, 4, 75, 98 ]
65
[ "87+75=162", "98+162=260", "260/4=65" ]
Current State: 65:[87, 4, 75, 98], Operations: [] Exploring Operation: 87+75=162, Resulting Numbers: [4, 98, 162] Generated Node #2: [4, 98, 162] from Operation: 87+75=162 Current State: 65:[4, 98, 162], Operations: ['87+75=162'] Exploring Operation: 98+162=260, Resulting Numbers: [4, 260] Generated Node #3: [4, 260] from Operation: 98+162=260 Current State: 65:[4, 260], Operations: ['87+75=162', '98+162=260'] Exploring Operation: 260/4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[87, 4, 75, 98], Operations: [] Exploring Operation: 98-87=11, Resulting Numbers: [4, 75, 11] Generated Node #0,0: 65:[4, 75, 11] Operation: 98-87=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[4, 75, 11], Operations: ['98-87=11'] Exploring Operation: 75-11=64, Resulting Numbers: [4, 64] Generated Node #0,0,0: 65:[4, 64] Operation: 75-11=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[4, 64], Operations: ['98-87=11', '75-11=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,65 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
[ 42, 75, 76, 89 ]
73
[ "89-75=14", "42/14=3", "76-3=73" ]
Current State: 73:[42, 75, 76, 89], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [42, 76, 14] Generated Node #2: [42, 76, 14] from Operation: 89-75=14 Current State: 73:[42, 76, 14], Operations: ['89-75=14'] Exploring Operation: 42/14=3, Resulting Numbers: [76, 3] Generated Node #3: [76, 3] from Operation: 42/14=3 Current State: 73:[76, 3], Operations: ['89-75=14', '42/14=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[42, 75, 76, 89], Operations: [] Exploring Operation: 89-42=47, Resulting Numbers: [75, 76, 47] Generated Node #0,0: 73:[75, 76, 47] Operation: 89-42=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[75, 76, 47], Operations: ['89-42=47'] Exploring Operation: 76-47=29, Resulting Numbers: [75, 29] Generated Node #0,0,0: 73:[75, 29] Operation: 76-47=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[75, 29], Operations: ['89-42=47', '76-47=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,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_1
sum_heuristic
[ 7, 92, 7, 35 ]
71
[ "7+92=99", "35-7=28", "99-28=71" ]
Current State: 71:[7, 92, 7, 35], Operations: [] Exploring Operation: 7+92=99, Resulting Numbers: [35, 99] Generated Node #2: [35, 99] from Operation: 7+92=99 Current State: 71:[35, 99], Operations: ['7+92=99'] Exploring Operation: 35-7=28, Resulting Numbers: [99, 28] Generated Node #3: [99, 28] from Operation: 35-7=28 Current State: 71:[99, 28], Operations: ['7+92=99', '35-7=28'] Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[7, 92, 7, 35], Operations: [] Exploring Operation: 7+35=42, Resulting Numbers: [92, 7, 42] Generated Node #0,0: 71:[92, 7, 42] Operation: 7+35=42 Exploring Operation: 7*7=49, Resulting Numbers: [92, 35, 49] Generated Node #0,1: 71:[92, 35, 49] Operation: 7*7=49 Exploring Operation: 7+7=14, Resulting Numbers: [92, 35, 14] Generated Node #0,2: 71:[92, 35, 14] Operation: 7+7=14 Exploring Operation: 92-7=85, Resulting Numbers: [7, 35, 85] Generated Node #0,3: 71:[7, 35, 85] Operation: 92-7=85 Exploring Operation: 92-7=85, Resulting Numbers: [7, 35, 85] Generated Node #0,4: 71:[7, 35, 85] Operation: 92-7=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[92, 35, 49], Operations: ['7*7=49'] Exploring Operation: 49-35=14, Resulting Numbers: [92, 14] Generated Node #0,1,0: 71:[92, 14] Operation: 49-35=14 Exploring Operation: 92+35=127, Resulting Numbers: [49, 127] Generated Node #0,1,1: 71:[49, 127] Operation: 92+35=127 Exploring Operation: 35+49=84, Resulting Numbers: [92, 84] Generated Node #0,1,2: 71:[92, 84] Operation: 35+49=84 Exploring Operation: 92-35=57, Resulting Numbers: [49, 57] Generated Node #0,1,3: 71:[49, 57] Operation: 92-35=57 Exploring Operation: 92-49=43, Resulting Numbers: [35, 43] Generated Node #0,1,4: 71:[35, 43] Operation: 92-49=43 Moving to Node #0,1,2 Current State: 71:[92, 84], Operations: ['7*7=49', '35+49=84'] Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 92*84=7728, Resulting Numbers: [7728] 7728,71 unequal: No Solution Exploring Operation: 92+84=176, Resulting Numbers: [176] 176,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[49, 57], Operations: ['7*7=49', '92-35=57'] Exploring Operation: 49*57=2793, Resulting Numbers: [2793] 2793,71 unequal: No Solution Exploring Operation: 49+57=106, Resulting Numbers: [106] 106,71 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[35, 43], Operations: ['7*7=49', '92-49=43'] Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[92, 14], Operations: ['7*7=49', '49-35=14'] Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,71 unequal: No Solution Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,71 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[49, 127], Operations: ['7*7=49', '92+35=127'] Exploring Operation: 127-49=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 49*127=6223, Resulting Numbers: [6223] 6223,71 unequal: No Solution Exploring Operation: 49+127=176, Resulting Numbers: [176] 176,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[92, 7, 42], Operations: ['7+35=42'] Exploring Operation: 7+42=49, Resulting Numbers: [92, 49] Generated Node #0,0,0: 71:[92, 49] Operation: 7+42=49 Exploring Operation: 92-42=50, Resulting Numbers: [7, 50] Generated Node #0,0,1: 71:[7, 50] Operation: 92-42=50 Exploring Operation: 42-7=35, Resulting Numbers: [92, 35] Generated Node #0,0,2: 71:[92, 35] Operation: 42-7=35 Exploring Operation: 92+7=99, Resulting Numbers: [42, 99] Generated Node #0,0,3: 71:[42, 99] Operation: 92+7=99 Exploring Operation: 92-7=85, Resulting Numbers: [42, 85] Generated Node #0,0,4: 71:[42, 85] Operation: 92-7=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[92, 49], Operations: ['7+35=42', '7+42=49'] Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,71 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[42, 85], Operations: ['7+35=42', '92-7=85'] Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,71 unequal: No Solution Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,71 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[92, 35], Operations: ['7+35=42', '42-7=35'] Exploring Operation: 92-35=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 92*35=3220, Resulting Numbers: [3220] 3220,71 unequal: No Solution Exploring Operation: 92+35=127, Resulting Numbers: [127] 127,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[42, 99], Operations: ['7+35=42', '92+7=99'] Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,71 unequal: No Solution Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[7, 50], Operations: ['7+35=42', '92-42=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,71 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,71 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[92, 35, 14], Operations: ['7+7=14'] Exploring Operation: 92-35=57, Resulting Numbers: [14, 57] Generated Node #0,2,0: 71:[14, 57] Operation: 92-35=57 Exploring Operation: 92+14=106, Resulting Numbers: [35, 106] Generated Node #0,2,1: 71:[35, 106] Operation: 92+14=106 Exploring Operation: 35-14=21, Resulting Numbers: [92, 21] Generated Node #0,2,2: 71:[92, 21] Operation: 35-14=21 Exploring Operation: 92-14=78, Resulting Numbers: [35, 78] Generated Node #0,2,3: 71:[35, 78] Operation: 92-14=78 Exploring Operation: 35+14=49, Resulting Numbers: [92, 49] Generated Node #0,2,4: 71:[92, 49] Operation: 35+14=49 Moving to Node #0,2,3 Current State: 71:[35, 78], Operations: ['7+7=14', '92-14=78'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,71 unequal: No Solution Exploring Operation: 35*78=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution Exploring Operation: 35+78=113, Resulting Numbers: [113] 113,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[92, 49], Operations: ['7+7=14', '35+14=49'] Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,71 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[14, 57], Operations: ['7+7=14', '92-35=57'] Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[7, 92, 7, 35], Operations: [] Exploring Operation: 7+7=14, Resulting Numbers: [92, 35, 14] Generated Node #0,2: 71:[92, 35, 14] Operation: 7+7=14 Moving to Node #0,2 Current State: 71:[92, 35, 14], Operations: ['7+7=14'] Exploring Operation: 92-35=57, Resulting Numbers: [14, 57] Generated Node #0,2,0: 71:[14, 57] Operation: 92-35=57 Moving to Node #0,2,0 Current State: 71:[14, 57], Operations: ['7+7=14', '92-35=57'] Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
sum_heuristic
[ 96, 75, 4, 27 ]
87
[ "96-75=21", "4*27=108", "108-21=87" ]
Current State: 87:[96, 75, 4, 27], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [4, 27, 21] Generated Node #2: [4, 27, 21] from Operation: 96-75=21 Current State: 87:[4, 27, 21], Operations: ['96-75=21'] Exploring Operation: 4*27=108, Resulting Numbers: [21, 108] Generated Node #3: [21, 108] from Operation: 4*27=108 Current State: 87:[21, 108], Operations: ['96-75=21', '4*27=108'] Exploring Operation: 108-21=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[96, 75, 4, 27], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [4, 27, 21] Generated Node #0,0: 87:[4, 27, 21] Operation: 96-75=21 Moving to Node #0,0 Current State: 87:[4, 27, 21], Operations: ['96-75=21'] Exploring Operation: 27-21=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 87:[4, 6] Operation: 27-21=6 Moving to Node #0,0,0 Current State: 87:[4, 6], Operations: ['96-75=21', '27-21=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,87 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 76, 94, 44, 2 ]
78
[ "76-44=32", "32/2=16", "94-16=78" ]
Current State: 78:[76, 94, 44, 2], Operations: [] Exploring Operation: 76-44=32, Resulting Numbers: [94, 2, 32] Generated Node #2: [94, 2, 32] from Operation: 76-44=32 Current State: 78:[94, 2, 32], Operations: ['76-44=32'] Exploring Operation: 32/2=16, Resulting Numbers: [94, 16] Generated Node #3: [94, 16] from Operation: 32/2=16 Current State: 78:[94, 16], Operations: ['76-44=32', '32/2=16'] Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[76, 94, 44, 2], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [76, 2, 50] Generated Node #0,0: 78:[76, 2, 50] Operation: 94-44=50 Exploring Operation: 94-76=18, Resulting Numbers: [44, 2, 18] Generated Node #0,1: 78:[44, 2, 18] Operation: 94-76=18 Moving to Node #0,1 Current State: 78:[44, 2, 18], Operations: ['94-76=18'] Exploring Operation: 44-2=42, Resulting Numbers: [18, 42] Generated Node #0,1,0: 78:[18, 42] Operation: 44-2=42 Exploring Operation: 44-18=26, Resulting Numbers: [2, 26] Generated Node #0,1,1: 78:[2, 26] Operation: 44-18=26 Moving to Node #0,0 Current State: 78:[76, 2, 50], Operations: ['94-44=50'] Exploring Operation: 76-50=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 78:[2, 26] Operation: 76-50=26 Exploring Operation: 50/2=25, Resulting Numbers: [76, 25] Generated Node #0,0,1: 78:[76, 25] Operation: 50/2=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[2, 26], Operations: ['94-44=50', '76-50=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,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,0,1 Current State: 78:[76, 25], Operations: ['94-44=50', '50/2=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 78:[2, 26], Operations: ['94-76=18', '44-18=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[18, 42], Operations: ['94-76=18', '44-2=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,78 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 41, 51, 95 ]
32
[ "41+95=136", "12*136=1632", "1632/51=32" ]
Current State: 32:[12, 41, 51, 95], Operations: [] Exploring Operation: 41+95=136, Resulting Numbers: [12, 51, 136] Generated Node #2: [12, 51, 136] from Operation: 41+95=136 Current State: 32:[12, 51, 136], Operations: ['41+95=136'] Exploring Operation: 12*136=1632, Resulting Numbers: [51, 1632] Generated Node #3: [51, 1632] from Operation: 12*136=1632 Current State: 32:[51, 1632], Operations: ['41+95=136', '12*136=1632'] Exploring Operation: 1632/51=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[12, 41, 51, 95], Operations: [] Exploring Operation: 51-41=10, Resulting Numbers: [12, 95, 10] Generated Node #0,0: 32:[12, 95, 10] Operation: 51-41=10 Exploring Operation: 95-51=44, Resulting Numbers: [12, 41, 44] Generated Node #0,1: 32:[12, 41, 44] Operation: 95-51=44 Exploring Operation: 95-41=54, Resulting Numbers: [12, 51, 54] Generated Node #0,2: 32:[12, 51, 54] Operation: 95-41=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[12, 41, 44], Operations: ['95-51=44'] Exploring Operation: 44-12=32, Resulting Numbers: [41, 32] Generated Node #0,1,0: 32:[41, 32] Operation: 44-12=32 Exploring Operation: 44-41=3, Resulting Numbers: [12, 3] Generated Node #0,1,1: 32:[12, 3] Operation: 44-41=3 Exploring Operation: 41-12=29, Resulting Numbers: [44, 29] Generated Node #0,1,2: 32:[44, 29] Operation: 41-12=29 Moving to Node #0,1,1 Current State: 32:[12, 3], Operations: ['95-51=44', '44-41=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[41, 32], Operations: ['95-51=44', '44-12=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[44, 29], Operations: ['95-51=44', '41-12=29'] Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,32 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,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,2 Current State: 32:[12, 51, 54], Operations: ['95-41=54'] Exploring Operation: 54-12=42, Resulting Numbers: [51, 42] Generated Node #0,2,0: 32:[51, 42] Operation: 54-12=42 Exploring Operation: 51-12=39, Resulting Numbers: [54, 39] Generated Node #0,2,1: 32:[54, 39] Operation: 51-12=39 Exploring Operation: 54-51=3, Resulting Numbers: [12, 3] Generated Node #0,2,2: 32:[12, 3] Operation: 54-51=3 Moving to Node #0,2,2 Current State: 32:[12, 3], Operations: ['95-41=54', '54-51=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[51, 42], Operations: ['95-41=54', '54-12=42'] Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,32 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[54, 39], Operations: ['95-41=54', '51-12=39'] Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,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:[12, 95, 10], Operations: ['51-41=10'] Exploring Operation: 95-12=83, Resulting Numbers: [10, 83] Generated Node #0,0,0: 32:[10, 83] Operation: 95-12=83 Exploring Operation: 12-10=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 32:[95, 2] Operation: 12-10=2 Exploring Operation: 95-10=85, Resulting Numbers: [12, 85] Generated Node #0,0,2: 32:[12, 85] Operation: 95-10=85 Moving to Node #0,0,0 Current State: 32:[10, 83], Operations: ['51-41=10', '95-12=83'] Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[12, 85], Operations: ['51-41=10', '95-10=85'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 12*85=1020, Resulting Numbers: [1020] 1020,32 unequal: No Solution Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[95, 2], Operations: ['51-41=10', '12-10=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,32 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,32 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,32 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
[ 55, 8, 7, 70 ]
97
[ "70-55=15", "7*15=105", "105-8=97" ]
Current State: 97:[55, 8, 7, 70], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [8, 7, 15] Generated Node #2: [8, 7, 15] from Operation: 70-55=15 Current State: 97:[8, 7, 15], Operations: ['70-55=15'] Exploring Operation: 7*15=105, Resulting Numbers: [8, 105] Generated Node #3: [8, 105] from Operation: 7*15=105 Current State: 97:[8, 105], Operations: ['70-55=15', '7*15=105'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[55, 8, 7, 70], Operations: [] Exploring Operation: 55+7=62, Resulting Numbers: [8, 70, 62] Generated Node #0,0: 97:[8, 70, 62] Operation: 55+7=62 Exploring Operation: 55+8=63, Resulting Numbers: [7, 70, 63] Generated Node #0,1: 97:[7, 70, 63] Operation: 55+8=63 Exploring Operation: 8*7=56, Resulting Numbers: [55, 70, 56] Generated Node #0,2: 97:[55, 70, 56] Operation: 8*7=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[55, 70, 56], Operations: ['8*7=56'] Exploring Operation: 70+56=126, Resulting Numbers: [55, 126] Generated Node #0,2,0: 97:[55, 126] Operation: 70+56=126 Exploring Operation: 55+56=111, Resulting Numbers: [70, 111] Generated Node #0,2,1: 97:[70, 111] Operation: 55+56=111 Exploring Operation: 55+70=125, Resulting Numbers: [56, 125] Generated Node #0,2,2: 97:[56, 125] Operation: 55+70=125 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[70, 111], Operations: ['8*7=56', '55+56=111'] Exploring Operation: 70+111=181, Resulting Numbers: [181] 181,97 unequal: No Solution Exploring Operation: 70*111=7770, Resulting Numbers: [7770] 7770,97 unequal: No Solution Exploring Operation: 111-70=41, Resulting Numbers: [41] 41,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[56, 125], Operations: ['8*7=56', '55+70=125'] Exploring Operation: 56*125=7000, Resulting Numbers: [7000] 7000,97 unequal: No Solution Exploring Operation: 125-56=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 56+125=181, Resulting Numbers: [181] 181,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[55, 126], Operations: ['8*7=56', '70+56=126'] Exploring Operation: 55*126=6930, Resulting Numbers: [6930] 6930,97 unequal: No Solution Exploring Operation: 126-55=71, Resulting Numbers: [71] 71,97 unequal: No Solution Exploring Operation: 55+126=181, Resulting Numbers: [181] 181,97 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: 97:[8, 70, 62], Operations: ['55+7=62'] Exploring Operation: 70-8=62, Resulting Numbers: [62, 62] Generated Node #0,0,0: 97:[62, 62] Operation: 70-8=62 Exploring Operation: 8+70=78, Resulting Numbers: [62, 78] Generated Node #0,0,1: 97:[62, 78] Operation: 8+70=78 Exploring Operation: 8+62=70, Resulting Numbers: [70, 70] Generated Node #0,0,2: 97:[70, 70] Operation: 8+62=70 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[62, 78], Operations: ['55+7=62', '8+70=78'] Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 62+78=140, Resulting Numbers: [140] 140,97 unequal: No Solution Exploring Operation: 62*78=4836, Resulting Numbers: [4836] 4836,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[70, 70], Operations: ['55+7=62', '8+62=70'] Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,97 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[62, 62], Operations: ['55+7=62', '70-8=62'] Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,97 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: 97:[7, 70, 63], Operations: ['55+8=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70, 70] Generated Node #0,1,0: 97:[70, 70] Operation: 7+63=70 Exploring Operation: 7+70=77, Resulting Numbers: [63, 77] Generated Node #0,1,1: 97:[63, 77] Operation: 7+70=77 Exploring Operation: 70-7=63, Resulting Numbers: [63, 63] Generated Node #0,1,2: 97:[63, 63] Operation: 70-7=63 Moving to Node #0,1,0 Current State: 97:[70, 70], Operations: ['55+8=63', '7+63=70'] Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,97 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[63, 77], Operations: ['55+8=63', '7+70=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 63*77=4851, Resulting Numbers: [4851] 4851,97 unequal: No Solution Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[63, 63], Operations: ['55+8=63', '70-7=63'] Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,97 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
[ 66, 11, 92, 4 ]
19
[ "66+11=77", "92+4=96", "96-77=19" ]
Current State: 19:[66, 11, 92, 4], Operations: [] Exploring Operation: 66+11=77, Resulting Numbers: [92, 4, 77] Generated Node #2: [92, 4, 77] from Operation: 66+11=77 Current State: 19:[92, 4, 77], Operations: ['66+11=77'] Exploring Operation: 92+4=96, Resulting Numbers: [77, 96] Generated Node #3: [77, 96] from Operation: 92+4=96 Current State: 19:[77, 96], Operations: ['66+11=77', '92+4=96'] Exploring Operation: 96-77=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[66, 11, 92, 4], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [66, 11, 23] Generated Node #0,0: 19:[66, 11, 23] Operation: 92/4=23 Exploring Operation: 92-66=26, Resulting Numbers: [11, 4, 26] Generated Node #0,1: 19:[11, 4, 26] Operation: 92-66=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[11, 4, 26], Operations: ['92-66=26'] Exploring Operation: 11+4=15, Resulting Numbers: [26, 15] Generated Node #0,1,0: 19:[26, 15] Operation: 11+4=15 Exploring Operation: 26-4=22, Resulting Numbers: [11, 22] Generated Node #0,1,1: 19:[11, 22] Operation: 26-4=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[26, 15], Operations: ['92-66=26', '11+4=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[11, 22], Operations: ['92-66=26', '26-4=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[66, 11, 23], Operations: ['92/4=23'] Exploring Operation: 66/11=6, Resulting Numbers: [23, 6] Generated Node #0,0,0: 19:[23, 6] Operation: 66/11=6 Exploring Operation: 66-23=43, Resulting Numbers: [11, 43] Generated Node #0,0,1: 19:[11, 43] Operation: 66-23=43 Moving to Node #0,0,0 Current State: 19:[23, 6], Operations: ['92/4=23', '66/11=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[11, 43], Operations: ['92/4=23', '66-23=43'] Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 63, 91, 95, 86 ]
82
[ "91-86=5", "95/5=19", "63+19=82" ]
Current State: 82:[63, 91, 95, 86], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [63, 95, 5] Generated Node #2: [63, 95, 5] from Operation: 91-86=5 Current State: 82:[63, 95, 5], Operations: ['91-86=5'] Exploring Operation: 95/5=19, Resulting Numbers: [63, 19] Generated Node #3: [63, 19] from Operation: 95/5=19 Current State: 82:[63, 19], Operations: ['91-86=5', '95/5=19'] Exploring Operation: 63+19=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[63, 91, 95, 86], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [95, 86, 28] Generated Node #0,0: 82:[95, 86, 28] Operation: 91-63=28 Exploring Operation: 91-86=5, Resulting Numbers: [63, 95, 5] Generated Node #0,1: 82:[63, 95, 5] Operation: 91-86=5 Exploring Operation: 95-91=4, Resulting Numbers: [63, 86, 4] Generated Node #0,2: 82:[63, 86, 4] Operation: 95-91=4 Exploring Operation: 95-63=32, Resulting Numbers: [91, 86, 32] Generated Node #0,3: 82:[91, 86, 32] Operation: 95-63=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[91, 86, 32], Operations: ['95-63=32'] Exploring Operation: 91-32=59, Resulting Numbers: [86, 59] Generated Node #0,3,0: 82:[86, 59] Operation: 91-32=59 Exploring Operation: 91-86=5, Resulting Numbers: [32, 5] Generated Node #0,3,1: 82:[32, 5] Operation: 91-86=5 Exploring Operation: 86-32=54, Resulting Numbers: [91, 54] Generated Node #0,3,2: 82:[91, 54] Operation: 86-32=54 Exploring Operation: 91+32=123, Resulting Numbers: [86, 123] Generated Node #0,3,3: 82:[86, 123] Operation: 91+32=123 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[32, 5], Operations: ['95-63=32', '91-86=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,82 unequal: No Solution No 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: 82:[86, 59], Operations: ['95-63=32', '91-32=59'] Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 86*59=5074, Resulting Numbers: [5074] 5074,82 unequal: No Solution Exploring Operation: 86+59=145, Resulting Numbers: [145] 145,82 unequal: No Solution No 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: 82:[91, 54], Operations: ['95-63=32', '86-32=54'] Exploring Operation: 91*54=4914, Resulting Numbers: [4914] 4914,82 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,82 unequal: No Solution No 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: 82:[86, 123], Operations: ['95-63=32', '91+32=123'] Exploring Operation: 123-86=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 86+123=209, Resulting Numbers: [209] 209,82 unequal: No Solution Exploring Operation: 86*123=10578, Resulting Numbers: [10578] 10578,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[63, 86, 4], Operations: ['95-91=4'] Exploring Operation: 63-4=59, Resulting Numbers: [86, 59] Generated Node #0,2,0: 82:[86, 59] Operation: 63-4=59 Exploring Operation: 63+4=67, Resulting Numbers: [86, 67] Generated Node #0,2,1: 82:[86, 67] Operation: 63+4=67 Exploring Operation: 86-63=23, Resulting Numbers: [4, 23] Generated Node #0,2,2: 82:[4, 23] Operation: 86-63=23 Exploring Operation: 86-4=82, Resulting Numbers: [63, 82] Generated Node #0,2,3: 82:[63, 82] Operation: 86-4=82 Moving to Node #0,2,1 Current State: 82:[86, 67], Operations: ['95-91=4', '63+4=67'] Exploring Operation: 86+67=153, Resulting Numbers: [153] 153,82 unequal: No Solution Exploring Operation: 86*67=5762, Resulting Numbers: [5762] 5762,82 unequal: No Solution Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[63, 82], Operations: ['95-91=4', '86-4=82'] Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 63*82=5166, Resulting Numbers: [5166] 5166,82 unequal: No Solution Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[4, 23], Operations: ['95-91=4', '86-63=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[86, 59], Operations: ['95-91=4', '63-4=59'] Exploring Operation: 86*59=5074, Resulting Numbers: [5074] 5074,82 unequal: No Solution Exploring Operation: 86+59=145, Resulting Numbers: [145] 145,82 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,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,0 Current State: 82:[95, 86, 28], Operations: ['91-63=28'] Exploring Operation: 95+28=123, Resulting Numbers: [86, 123] Generated Node #0,0,0: 82:[86, 123] Operation: 95+28=123 Exploring Operation: 95-28=67, Resulting Numbers: [86, 67] Generated Node #0,0,1: 82:[86, 67] Operation: 95-28=67 Exploring Operation: 95-86=9, Resulting Numbers: [28, 9] Generated Node #0,0,2: 82:[28, 9] Operation: 95-86=9 Exploring Operation: 86-28=58, Resulting Numbers: [95, 58] Generated Node #0,0,3: 82:[95, 58] Operation: 86-28=58 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[86, 67], Operations: ['91-63=28', '95-28=67'] Exploring Operation: 86*67=5762, Resulting Numbers: [5762] 5762,82 unequal: No Solution Exploring Operation: 86+67=153, Resulting Numbers: [153] 153,82 unequal: No Solution Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,82 unequal: No Solution No 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: 82:[28, 9], Operations: ['91-63=28', '95-86=9'] Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,82 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,82 unequal: No Solution No 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: 82:[95, 58], Operations: ['91-63=28', '86-28=58'] Exploring Operation: 95+58=153, Resulting Numbers: [153] 153,82 unequal: No Solution Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 95*58=5510, Resulting Numbers: [5510] 5510,82 unequal: No Solution No 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: 82:[86, 123], Operations: ['91-63=28', '95+28=123'] Exploring Operation: 86*123=10578, Resulting Numbers: [10578] 10578,82 unequal: No Solution Exploring Operation: 123-86=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 86+123=209, Resulting Numbers: [209] 209,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[63, 95, 5], Operations: ['91-86=5'] Exploring Operation: 95-63=32, Resulting Numbers: [5, 32] Generated Node #0,1,0: 82:[5, 32] Operation: 95-63=32 Exploring Operation: 63-5=58, Resulting Numbers: [95, 58] Generated Node #0,1,1: 82:[95, 58] Operation: 63-5=58 Exploring Operation: 95-5=90, Resulting Numbers: [63, 90] Generated Node #0,1,2: 82:[63, 90] Operation: 95-5=90 Exploring Operation: 63+5=68, Resulting Numbers: [95, 68] Generated Node #0,1,3: 82:[95, 68] Operation: 63+5=68 Moving to Node #0,1,0 Current State: 82:[5, 32], Operations: ['91-86=5', '95-63=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,82 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[95, 68], Operations: ['91-86=5', '63+5=68'] Exploring Operation: 95*68=6460, Resulting Numbers: [6460] 6460,82 unequal: No Solution Exploring Operation: 95+68=163, Resulting Numbers: [163] 163,82 unequal: No Solution Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[63, 90], Operations: ['91-86=5', '95-5=90'] Exploring Operation: 63+90=153, Resulting Numbers: [153] 153,82 unequal: No Solution Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 63*90=5670, Resulting Numbers: [5670] 5670,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[95, 58], Operations: ['91-86=5', '63-5=58'] Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 95+58=153, Resulting Numbers: [153] 153,82 unequal: No Solution Exploring Operation: 95*58=5510, Resulting Numbers: [5510] 5510,82 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
[ 62, 8, 46, 39 ]
61
[ "62-8=54", "46-39=7", "54+7=61" ]
Current State: 61:[62, 8, 46, 39], Operations: [] Exploring Operation: 62-8=54, Resulting Numbers: [46, 39, 54] Generated Node #2: [46, 39, 54] from Operation: 62-8=54 Current State: 61:[46, 39, 54], Operations: ['62-8=54'] Exploring Operation: 46-39=7, Resulting Numbers: [54, 7] Generated Node #3: [54, 7] from Operation: 46-39=7 Current State: 61:[54, 7], Operations: ['62-8=54', '46-39=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[62, 8, 46, 39], Operations: [] Exploring Operation: 8+39=47, Resulting Numbers: [62, 46, 47] Generated Node #0,0: 61:[62, 46, 47] Operation: 8+39=47 Exploring Operation: 62-8=54, Resulting Numbers: [46, 39, 54] Generated Node #0,1: 61:[46, 39, 54] Operation: 62-8=54 Exploring Operation: 46-8=38, Resulting Numbers: [62, 39, 38] Generated Node #0,2: 61:[62, 39, 38] Operation: 46-8=38 Exploring Operation: 8+46=54, Resulting Numbers: [62, 39, 54] Generated Node #0,3: 61:[62, 39, 54] Operation: 8+46=54 Exploring Operation: 62+8=70, Resulting Numbers: [46, 39, 70] Generated Node #0,4: 61:[46, 39, 70] Operation: 62+8=70 Moving to Node #0,0 Current State: 61:[62, 46, 47], Operations: ['8+39=47'] Exploring Operation: 46+47=93, Resulting Numbers: [62, 93] Generated Node #0,0,0: 61:[62, 93] Operation: 46+47=93 Exploring Operation: 62-46=16, Resulting Numbers: [47, 16] Generated Node #0,0,1: 61:[47, 16] Operation: 62-46=16 Exploring Operation: 62+46=108, Resulting Numbers: [47, 108] Generated Node #0,0,2: 61:[47, 108] Operation: 62+46=108 Exploring Operation: 47-46=1, Resulting Numbers: [62, 1] Generated Node #0,0,3: 61:[62, 1] Operation: 47-46=1 Exploring Operation: 62-47=15, Resulting Numbers: [46, 15] Generated Node #0,0,4: 61:[46, 15] Operation: 62-47=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[62, 93], Operations: ['8+39=47', '46+47=93'] Exploring Operation: 93-62=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 62*93=5766, Resulting Numbers: [5766] 5766,61 unequal: No Solution Exploring Operation: 62+93=155, Resulting Numbers: [155] 155,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,1 Current State: 61:[47, 16], Operations: ['8+39=47', '62-46=16'] Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,61 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,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:[47, 108], Operations: ['8+39=47', '62+46=108'] Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[62, 8, 46, 39], Operations: [] Exploring Operation: 8+39=47, Resulting Numbers: [62, 46, 47] Generated Node #0,0: 61:[62, 46, 47] Operation: 8+39=47 Moving to Node #0,0 Current State: 61:[62, 46, 47], Operations: ['8+39=47'] Exploring Operation: 62+46=108, Resulting Numbers: [47, 108] Generated Node #0,0,2: 61:[47, 108] Operation: 62+46=108 Moving to Node #0,0,2 Current State: 61:[47, 108], Operations: ['8+39=47', '62+46=108'] Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 53, 47, 43, 95 ]
47
[ "53+43=96", "96-95=1", "47*1=47" ]
Current State: 47:[53, 47, 43, 95], Operations: [] Exploring Operation: 53+43=96, Resulting Numbers: [47, 95, 96] Generated Node #2: [47, 95, 96] from Operation: 53+43=96 Current State: 47:[47, 95, 96], Operations: ['53+43=96'] Exploring Operation: 96-95=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 96-95=1 Current State: 47:[47, 1], Operations: ['53+43=96', '96-95=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[53, 47, 43, 95], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [47, 43, 42] Generated Node #0,0: 47:[47, 43, 42] Operation: 95-53=42 Exploring Operation: 95-47=48, Resulting Numbers: [53, 43, 48] Generated Node #0,1: 47:[53, 43, 48] Operation: 95-47=48 Moving to Node #0,0 Current State: 47:[47, 43, 42], Operations: ['95-53=42'] Exploring Operation: 43+42=85, Resulting Numbers: [47, 85] Generated Node #0,0,0: 47:[47, 85] Operation: 43+42=85 Exploring Operation: 47+42=89, Resulting Numbers: [43, 89] Generated Node #0,0,1: 47:[43, 89] Operation: 47+42=89 Moving to Node #0,1 Current State: 47:[53, 43, 48], Operations: ['95-47=48'] Exploring Operation: 53-48=5, Resulting Numbers: [43, 5] Generated Node #0,1,0: 47:[43, 5] Operation: 53-48=5 Exploring Operation: 53-43=10, Resulting Numbers: [48, 10] Generated Node #0,1,1: 47:[48, 10] Operation: 53-43=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[48, 10], Operations: ['95-47=48', '53-43=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,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,0 Current State: 47:[43, 5], Operations: ['95-47=48', '53-48=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,47 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: 47:[47, 85], Operations: ['95-53=42', '43+42=85'] Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[43, 89], Operations: ['95-53=42', '47+42=89'] Exploring Operation: 43+89=132, Resulting Numbers: [132] 132,47 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,47 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 97, 61, 53 ]
65
[ "61-53=8", "4*8=32", "97-32=65" ]
Current State: 65:[4, 97, 61, 53], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [4, 97, 8] Generated Node #2: [4, 97, 8] from Operation: 61-53=8 Current State: 65:[4, 97, 8], Operations: ['61-53=8'] Exploring Operation: 4*8=32, Resulting Numbers: [97, 32] Generated Node #3: [97, 32] from Operation: 4*8=32 Current State: 65:[97, 32], Operations: ['61-53=8', '4*8=32'] Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[4, 97, 61, 53], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [4, 61, 44] Generated Node #0,0: 65:[4, 61, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 65:[4, 61, 44], Operations: ['97-53=44'] Exploring Operation: 61-44=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 65:[4, 17] Operation: 61-44=17 Moving to Node #0,0,0 Current State: 65:[4, 17], Operations: ['97-53=44', '61-44=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,65 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 70, 49, 60, 30 ]
21
[ "60-30=30", "49*30=1470", "1470/70=21" ]
Current State: 21:[70, 49, 60, 30], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [70, 49, 30] Generated Node #2: [70, 49, 30] from Operation: 60-30=30 Current State: 21:[70, 49, 30], Operations: ['60-30=30'] Exploring Operation: 49*30=1470, Resulting Numbers: [70, 1470] Generated Node #3: [70, 1470] from Operation: 49*30=1470 Current State: 21:[70, 1470], Operations: ['60-30=30', '49*30=1470'] Exploring Operation: 1470/70=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[70, 49, 60, 30], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [70, 30, 11] Generated Node #0,0: 21:[70, 30, 11] Operation: 60-49=11 Exploring Operation: 70-49=21, Resulting Numbers: [60, 30, 21] Generated Node #0,1: 21:[60, 30, 21] Operation: 70-49=21 Exploring Operation: 70-60=10, Resulting Numbers: [49, 30, 10] Generated Node #0,2: 21:[49, 30, 10] Operation: 70-60=10 Exploring Operation: 60/30=2, Resulting Numbers: [70, 49, 2] Generated Node #0,3: 21:[70, 49, 2] Operation: 60/30=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[49, 30, 10], Operations: ['70-60=10'] Exploring Operation: 49-10=39, Resulting Numbers: [30, 39] Generated Node #0,2,0: 21:[30, 39] Operation: 49-10=39 Exploring Operation: 49-30=19, Resulting Numbers: [10, 19] Generated Node #0,2,1: 21:[10, 19] Operation: 49-30=19 Exploring Operation: 30/10=3, Resulting Numbers: [49, 3] Generated Node #0,2,2: 21:[49, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [49, 20] Generated Node #0,2,3: 21:[49, 20] Operation: 30-10=20 Moving to Node #0,2,1 Current State: 21:[10, 19], Operations: ['70-60=10', '49-30=19'] Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,21 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[30, 39], Operations: ['70-60=10', '49-10=39'] Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,21 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[49, 3], Operations: ['70-60=10', '30/10=3'] Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,21 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[49, 20], Operations: ['70-60=10', '30-10=20'] Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[60, 30, 21], Operations: ['70-49=21'] Exploring Operation: 60/30=2, Resulting Numbers: [21, 2] Generated Node #0,1,0: 21:[21, 2] Operation: 60/30=2 Exploring Operation: 60-21=39, Resulting Numbers: [30, 39] Generated Node #0,1,1: 21:[30, 39] Operation: 60-21=39 Exploring Operation: 60-30=30, Resulting Numbers: [21, 30] Generated Node #0,1,2: 21:[21, 30] Operation: 60-30=30 Exploring Operation: 30-21=9, Resulting Numbers: [60, 9] Generated Node #0,1,3: 21:[60, 9] Operation: 30-21=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[21, 2], Operations: ['70-49=21', '60/30=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,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:[21, 30], Operations: ['70-49=21', '60-30=30'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,21 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,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,1 Current State: 21:[30, 39], Operations: ['70-49=21', '60-21=39'] Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,21 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,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,3 Current State: 21:[60, 9], Operations: ['70-49=21', '30-21=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,21 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,21 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,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:[70, 30, 11], Operations: ['60-49=11'] Exploring Operation: 70-30=40, Resulting Numbers: [11, 40] Generated Node #0,0,0: 21:[11, 40] Operation: 70-30=40 Exploring Operation: 70-11=59, Resulting Numbers: [30, 59] Generated Node #0,0,1: 21:[30, 59] Operation: 70-11=59 Exploring Operation: 70+11=81, Resulting Numbers: [30, 81] Generated Node #0,0,2: 21:[30, 81] Operation: 70+11=81 Exploring Operation: 30-11=19, Resulting Numbers: [70, 19] Generated Node #0,0,3: 21:[70, 19] Operation: 30-11=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[11, 40], Operations: ['60-49=11', '70-30=40'] Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,21 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,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:[30, 59], Operations: ['60-49=11', '70-11=59'] Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,21 unequal: No Solution Exploring Operation: 30*59=1770, Resulting Numbers: [1770] 1770,21 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,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,3 Current State: 21:[70, 19], Operations: ['60-49=11', '30-11=19'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,21 unequal: No Solution Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,21 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,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:[30, 81], Operations: ['60-49=11', '70+11=81'] Exploring Operation: 30*81=2430, Resulting Numbers: [2430] 2430,21 unequal: No Solution Exploring Operation: 30+81=111, Resulting Numbers: [111] 111,21 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,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,3 Current State: 21:[70, 49, 2], Operations: ['60/30=2'] Exploring Operation: 70-49=21, Resulting Numbers: [2, 21] Generated Node #0,3,0: 21:[2, 21] Operation: 70-49=21 Exploring Operation: 70-2=68, Resulting Numbers: [49, 68] Generated Node #0,3,1: 21:[49, 68] Operation: 70-2=68 Exploring Operation: 70/2=35, Resulting Numbers: [49, 35] Generated Node #0,3,2: 21:[49, 35] Operation: 70/2=35 Exploring Operation: 49-2=47, Resulting Numbers: [70, 47] Generated Node #0,3,3: 21:[70, 47] Operation: 49-2=47 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 21:[2, 21], Operations: ['60/30=2', '70-49=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,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,3,2 Current State: 21:[49, 35], Operations: ['60/30=2', '70/2=35'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,21 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,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,3,1 Current State: 21:[49, 68], Operations: ['60/30=2', '70-2=68'] Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,21 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,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,3,3 Current State: 21:[70, 47], Operations: ['60/30=2', '49-2=47'] Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 70*47=3290, Resulting Numbers: [3290] 3290,21 unequal: No Solution Exploring Operation: 70+47=117, Resulting Numbers: [117] 117,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_4
sum_heuristic
[ 46, 4, 59, 21 ]
31
[ "59-46=13", "4*13=52", "52-21=31" ]
Current State: 31:[46, 4, 59, 21], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [4, 21, 13] Generated Node #2: [4, 21, 13] from Operation: 59-46=13 Current State: 31:[4, 21, 13], Operations: ['59-46=13'] Exploring Operation: 4*13=52, Resulting Numbers: [21, 52] Generated Node #3: [21, 52] from Operation: 4*13=52 Current State: 31:[21, 52], Operations: ['59-46=13', '4*13=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[46, 4, 59, 21], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [4, 21, 13] Generated Node #0,0: 31:[4, 21, 13] Operation: 59-46=13 Exploring Operation: 59-4=55, Resulting Numbers: [46, 21, 55] Generated Node #0,1: 31:[46, 21, 55] Operation: 59-4=55 Exploring Operation: 46-4=42, Resulting Numbers: [59, 21, 42] Generated Node #0,2: 31:[59, 21, 42] Operation: 46-4=42 Exploring Operation: 59-21=38, Resulting Numbers: [46, 4, 38] Generated Node #0,3: 31:[46, 4, 38] Operation: 59-21=38 Exploring Operation: 4+21=25, Resulting Numbers: [46, 59, 25] Generated Node #0,4: 31:[46, 59, 25] Operation: 4+21=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[46, 21, 55], Operations: ['59-4=55'] Exploring Operation: 46+21=67, Resulting Numbers: [55, 67] Generated Node #0,1,0: 31:[55, 67] Operation: 46+21=67 Exploring Operation: 55-46=9, Resulting Numbers: [21, 9] Generated Node #0,1,1: 31:[21, 9] Operation: 55-46=9 Exploring Operation: 55-21=34, Resulting Numbers: [46, 34] Generated Node #0,1,2: 31:[46, 34] Operation: 55-21=34 Exploring Operation: 46-21=25, Resulting Numbers: [55, 25] Generated Node #0,1,3: 31:[55, 25] Operation: 46-21=25 Exploring Operation: 21+55=76, Resulting Numbers: [46, 76] Generated Node #0,1,4: 31:[46, 76] Operation: 21+55=76 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[46, 34], Operations: ['59-4=55', '55-21=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,31 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,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:[55, 25], Operations: ['59-4=55', '46-21=25'] Exploring Operation: 55+25=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 55*25=1375, Resulting Numbers: [1375] 1375,31 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,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:[21, 9], Operations: ['59-4=55', '55-46=9'] Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,31 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,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:[55, 67], Operations: ['59-4=55', '46+21=67'] Exploring Operation: 55*67=3685, Resulting Numbers: [3685] 3685,31 unequal: No Solution Exploring Operation: 55+67=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 67-55=12, Resulting Numbers: [12] 12,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,4 Current State: 31:[46, 76], Operations: ['59-4=55', '21+55=76'] Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,31 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,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:[59, 21, 42], Operations: ['46-4=42'] Exploring Operation: 59-21=38, Resulting Numbers: [42, 38] Generated Node #0,2,0: 31:[42, 38] Operation: 59-21=38 Exploring Operation: 42-21=21, Resulting Numbers: [59, 21] Generated Node #0,2,1: 31:[59, 21] Operation: 42-21=21 Exploring Operation: 59+21=80, Resulting Numbers: [42, 80] Generated Node #0,2,2: 31:[42, 80] Operation: 59+21=80 Exploring Operation: 42/21=2, Resulting Numbers: [59, 2] Generated Node #0,2,3: 31:[59, 2] Operation: 42/21=2 Exploring Operation: 59-42=17, Resulting Numbers: [21, 17] Generated Node #0,2,4: 31:[21, 17] Operation: 59-42=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[42, 38], Operations: ['46-4=42', '59-21=38'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,31 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,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,2,4 Current State: 31:[21, 17], Operations: ['46-4=42', '59-42=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,31 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 21+17=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,2,1 Current State: 31:[59, 21], Operations: ['46-4=42', '42-21=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,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,2,3 Current State: 31:[59, 2], Operations: ['46-4=42', '42/21=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,31 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,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,2,2 Current State: 31:[42, 80], Operations: ['46-4=42', '59+21=80'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,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,3 Current State: 31:[46, 4, 38], Operations: ['59-21=38'] Exploring Operation: 38-4=34, Resulting Numbers: [46, 34] Generated Node #0,3,0: 31:[46, 34] Operation: 38-4=34 Exploring Operation: 46-38=8, Resulting Numbers: [4, 8] Generated Node #0,3,1: 31:[4, 8] Operation: 46-38=8 Exploring Operation: 46-4=42, Resulting Numbers: [38, 42] Generated Node #0,3,2: 31:[38, 42] Operation: 46-4=42 Exploring Operation: 46+4=50, Resulting Numbers: [38, 50] Generated Node #0,3,3: 31:[38, 50] Operation: 46+4=50 Exploring Operation: 4+38=42, Resulting Numbers: [46, 42] Generated Node #0,3,4: 31:[46, 42] Operation: 4+38=42 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[46, 34], Operations: ['59-21=38', '38-4=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[38, 42], Operations: ['59-21=38', '46-4=42'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,31 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,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:[38, 50], Operations: ['59-21=38', '46+4=50'] Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,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,4 Current State: 31:[46, 42], Operations: ['59-21=38', '4+38=42'] Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,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:[4, 8], Operations: ['59-21=38', '46-38=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,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,4 Current State: 31:[46, 59, 25], Operations: ['4+21=25'] Exploring Operation: 59+25=84, Resulting Numbers: [46, 84] Generated Node #0,4,0: 31:[46, 84] Operation: 59+25=84 Exploring Operation: 46-25=21, Resulting Numbers: [59, 21] Generated Node #0,4,1: 31:[59, 21] Operation: 46-25=21 Exploring Operation: 59-46=13, Resulting Numbers: [25, 13] Generated Node #0,4,2: 31:[25, 13] Operation: 59-46=13 Exploring Operation: 59-25=34, Resulting Numbers: [46, 34] Generated Node #0,4,3: 31:[46, 34] Operation: 59-25=34 Exploring Operation: 46+25=71, Resulting Numbers: [59, 71] Generated Node #0,4,4: 31:[59, 71] Operation: 46+25=71 Moving to Node #0,4,3 Current State: 31:[46, 34], Operations: ['4+21=25', '59-25=34'] Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,31 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,31 unequal: No Solution Moving to Node #0,4,2 Current State: 31:[25, 13], Operations: ['4+21=25', '59-46=13'] Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,31 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,31 unequal: No Solution Moving to Node #0,4,1 Current State: 31:[59, 21], Operations: ['4+21=25', '46-25=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,31 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,31 unequal: No Solution Moving to Node #0,4,0 Current State: 31:[46, 84], Operations: ['4+21=25', '59+25=84'] Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,31 unequal: No Solution Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,31 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,31 unequal: No Solution Moving to Node #0,4,4 Current State: 31:[59, 71], Operations: ['4+21=25', '46+25=71'] Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 59+71=130, Resulting Numbers: [130] 130,31 unequal: No Solution Exploring Operation: 59*71=4189, Resulting Numbers: [4189] 4189,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:[4, 21, 13], Operations: ['59-46=13'] Exploring Operation: 4+21=25, Resulting Numbers: [13, 25] Generated Node #0,0,0: 31:[13, 25] Operation: 4+21=25 Exploring Operation: 21-4=17, Resulting Numbers: [13, 17] Generated Node #0,0,1: 31:[13, 17] Operation: 21-4=17 Exploring Operation: 21+13=34, Resulting Numbers: [4, 34] Generated Node #0,0,2: 31:[4, 34] Operation: 21+13=34 Exploring Operation: 4*13=52, Resulting Numbers: [21, 52] Generated Node #0,0,3: 31:[21, 52] Operation: 4*13=52 Exploring Operation: 4+13=17, Resulting Numbers: [21, 17] Generated Node #0,0,4: 31:[21, 17] Operation: 4+13=17 Moving to Node #0,0,0 Current State: 31:[13, 25], Operations: ['59-46=13', '4+21=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[21, 17], Operations: ['59-46=13', '4+13=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,31 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[4, 34], Operations: ['59-46=13', '21+13=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,31 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[21, 52], Operations: ['59-46=13', '4*13=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[46, 4, 59, 21], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [4, 21, 13] Generated Node #0,0: 31:[4, 21, 13] Operation: 59-46=13 Moving to Node #0,0 Current State: 31:[4, 21, 13], Operations: ['59-46=13'] Exploring Operation: 4*13=52, Resulting Numbers: [21, 52] Generated Node #0,0,3: 31:[21, 52] Operation: 4*13=52 Moving to Node #0,0,3 Current State: 31:[21, 52], Operations: ['59-46=13', '4*13=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.908854
hs_5
mult_heuristic
[ 86, 79, 29, 32 ]
55
[ "86+79=165", "32-29=3", "165/3=55" ]
Current State: 55:[86, 79, 29, 32], Operations: [] Exploring Operation: 86+79=165, Resulting Numbers: [29, 32, 165] Generated Node #2: [29, 32, 165] from Operation: 86+79=165 Current State: 55:[29, 32, 165], Operations: ['86+79=165'] Exploring Operation: 32-29=3, Resulting Numbers: [165, 3] Generated Node #3: [165, 3] from Operation: 32-29=3 Current State: 55:[165, 3], Operations: ['86+79=165', '32-29=3'] Exploring Operation: 165/3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[86, 79, 29, 32], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [79, 32, 57] Generated Node #0,0: 55:[79, 32, 57] Operation: 86-29=57 Exploring Operation: 86-32=54, Resulting Numbers: [79, 29, 54] Generated Node #0,1: 55:[79, 29, 54] Operation: 86-32=54 Exploring Operation: 86-79=7, Resulting Numbers: [29, 32, 7] Generated Node #0,2: 55:[29, 32, 7] Operation: 86-79=7 Exploring Operation: 79-29=50, Resulting Numbers: [86, 32, 50] Generated Node #0,3: 55:[86, 32, 50] Operation: 79-29=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[29, 32, 7], Operations: ['86-79=7'] Exploring Operation: 29+32=61, Resulting Numbers: [7, 61] Generated Node #0,2,0: 55:[7, 61] Operation: 29+32=61 Exploring Operation: 32-29=3, Resulting Numbers: [7, 3] Generated Node #0,2,1: 55:[7, 3] Operation: 32-29=3 Exploring Operation: 32-7=25, Resulting Numbers: [29, 25] Generated Node #0,2,2: 55:[29, 25] Operation: 32-7=25 Exploring Operation: 29-7=22, Resulting Numbers: [32, 22] Generated Node #0,2,3: 55:[32, 22] Operation: 29-7=22 Moving to Node #0,2,1 Current State: 55:[7, 3], Operations: ['86-79=7', '32-29=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[7, 61], Operations: ['86-79=7', '29+32=61'] Exploring Operation: 7*61=427, Resulting Numbers: [427] 427,55 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 7+61=68, Resulting Numbers: [68] 68,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[32, 22], Operations: ['86-79=7', '29-7=22'] Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[29, 25], Operations: ['86-79=7', '32-7=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[79, 29, 54], Operations: ['86-32=54'] Exploring Operation: 29+54=83, Resulting Numbers: [79, 83] Generated Node #0,1,0: 55:[79, 83] Operation: 29+54=83 Exploring Operation: 79-54=25, Resulting Numbers: [29, 25] Generated Node #0,1,1: 55:[29, 25] Operation: 79-54=25 Exploring Operation: 79-29=50, Resulting Numbers: [54, 50] Generated Node #0,1,2: 55:[54, 50] Operation: 79-29=50 Exploring Operation: 54-29=25, Resulting Numbers: [79, 25] Generated Node #0,1,3: 55:[79, 25] Operation: 54-29=25 Moving to Node #0,1,2 Current State: 55:[54, 50], Operations: ['86-32=54', '79-29=50'] Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[29, 25], Operations: ['86-32=54', '79-54=25'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[79, 25], Operations: ['86-32=54', '54-29=25'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[79, 83], Operations: ['86-32=54', '29+54=83'] Exploring Operation: 79+83=162, Resulting Numbers: [162] 162,55 unequal: No Solution Exploring Operation: 79*83=6557, Resulting Numbers: [6557] 6557,55 unequal: No Solution Exploring Operation: 83-79=4, Resulting Numbers: [4] 4,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[79, 32, 57], Operations: ['86-29=57'] Exploring Operation: 79-32=47, Resulting Numbers: [57, 47] Generated Node #0,0,0: 55:[57, 47] Operation: 79-32=47 Exploring Operation: 79+32=111, Resulting Numbers: [57, 111] Generated Node #0,0,1: 55:[57, 111] Operation: 79+32=111 Exploring Operation: 79-57=22, Resulting Numbers: [32, 22] Generated Node #0,0,2: 55:[32, 22] Operation: 79-57=22 Exploring Operation: 57-32=25, Resulting Numbers: [79, 25] Generated Node #0,0,3: 55:[79, 25] Operation: 57-32=25 Moving to Node #0,0,0 Current State: 55:[57, 47], Operations: ['86-29=57', '79-32=47'] Exploring Operation: 57+47=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 57*47=2679, Resulting Numbers: [2679] 2679,55 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[32, 22], Operations: ['86-29=57', '79-57=22'] Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,55 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[79, 25], Operations: ['86-29=57', '57-32=25'] Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,55 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[57, 111], Operations: ['86-29=57', '79+32=111'] Exploring Operation: 111-57=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 57+111=168, Resulting Numbers: [168] 168,55 unequal: No Solution Exploring Operation: 57*111=6327, Resulting Numbers: [6327] 6327,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[86, 32, 50], Operations: ['79-29=50'] Exploring Operation: 86-50=36, Resulting Numbers: [32, 36] Generated Node #0,3,0: 55:[32, 36] Operation: 86-50=36 Exploring Operation: 32+50=82, Resulting Numbers: [86, 82] Generated Node #0,3,1: 55:[86, 82] Operation: 32+50=82 Exploring Operation: 50-32=18, Resulting Numbers: [86, 18] Generated Node #0,3,2: 55:[86, 18] Operation: 50-32=18 Exploring Operation: 86-32=54, Resulting Numbers: [50, 54] Generated Node #0,3,3: 55:[50, 54] Operation: 86-32=54 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[50, 54], Operations: ['79-29=50', '86-32=54'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 50*54=2700, Resulting Numbers: [2700] 2700,55 unequal: No Solution Exploring Operation: 50+54=104, Resulting Numbers: [104] 104,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[86, 18], Operations: ['79-29=50', '50-32=18'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,55 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[32, 36], Operations: ['79-29=50', '86-50=36'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,55 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 55:[86, 82], Operations: ['79-29=50', '32+50=82'] Exploring Operation: 86*82=7052, Resulting Numbers: [7052] 7052,55 unequal: No Solution Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 86+82=168, Resulting Numbers: [168] 168,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 10, 12, 20, 80 ]
20
[ "10*12=120", "20+80=100", "120-100=20" ]
Current State: 20:[10, 12, 20, 80], Operations: [] Exploring Operation: 10*12=120, Resulting Numbers: [20, 80, 120] Generated Node #2: [20, 80, 120] from Operation: 10*12=120 Current State: 20:[20, 80, 120], Operations: ['10*12=120'] Exploring Operation: 20+80=100, Resulting Numbers: [120, 100] Generated Node #3: [120, 100] from Operation: 20+80=100 Current State: 20:[120, 100], Operations: ['10*12=120', '20+80=100'] Exploring Operation: 120-100=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[10, 12, 20, 80], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [10, 12, 4] Generated Node #0,0: 20:[10, 12, 4] Operation: 80/20=4 Exploring Operation: 80/10=8, Resulting Numbers: [12, 20, 8] Generated Node #0,1: 20:[12, 20, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[10, 12, 4], Operations: ['80/20=4'] Exploring Operation: 12-10=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 20:[4, 2] Operation: 12-10=2 Exploring Operation: 12/4=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 20:[10, 3] Operation: 12/4=3 Moving to Node #0,0,0 Current State: 20:[4, 2], Operations: ['80/20=4', '12-10=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[10, 3], Operations: ['80/20=4', '12/4=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[12, 20, 8], Operations: ['80/10=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20, 20] Generated Node #0,1,0: 20:[20, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 20:[20, 4] Operation: 12-8=4 Moving to Node #0,1,0 Current State: 20:[20, 20], Operations: ['80/10=8', '12+8=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[20, 4], Operations: ['80/10=8', '12-8=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,20 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
[ 24, 32, 97, 96 ]
25
[ "24*96=2304", "2304/32=72", "97-72=25" ]
Current State: 25:[24, 32, 97, 96], Operations: [] Exploring Operation: 24*96=2304, Resulting Numbers: [32, 97, 2304] Generated Node #2: [32, 97, 2304] from Operation: 24*96=2304 Current State: 25:[32, 97, 2304], Operations: ['24*96=2304'] Exploring Operation: 2304/32=72, Resulting Numbers: [97, 72] Generated Node #3: [97, 72] from Operation: 2304/32=72 Current State: 25:[97, 72], Operations: ['24*96=2304', '2304/32=72'] Exploring Operation: 97-72=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[24, 32, 97, 96], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [24, 32, 1] Generated Node #0,0: 25:[24, 32, 1] Operation: 97-96=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[24, 32, 1], Operations: ['97-96=1'] Exploring Operation: 32-24=8, Resulting Numbers: [1, 8] Generated Node #0,0,0: 25:[1, 8] Operation: 32-24=8 Moving to Node #0,0,0 Current State: 25:[1, 8], Operations: ['97-96=1', '32-24=8'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,25 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
[ 41, 58, 33, 88 ]
22
[ "41+58=99", "33+88=121", "121-99=22" ]
Current State: 22:[41, 58, 33, 88], Operations: [] Exploring Operation: 41+58=99, Resulting Numbers: [33, 88, 99] Generated Node #2: [33, 88, 99] from Operation: 41+58=99 Current State: 22:[33, 88, 99], Operations: ['41+58=99'] Exploring Operation: 33+88=121, Resulting Numbers: [99, 121] Generated Node #3: [99, 121] from Operation: 33+88=121 Current State: 22:[99, 121], Operations: ['41+58=99', '33+88=121'] Exploring Operation: 121-99=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[41, 58, 33, 88], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [41, 33, 30] Generated Node #0,0: 22:[41, 33, 30] Operation: 88-58=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[41, 33, 30], Operations: ['88-58=30'] Exploring Operation: 41-33=8, Resulting Numbers: [30, 8] Generated Node #0,0,0: 22:[30, 8] Operation: 41-33=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[30, 8], Operations: ['88-58=30', '41-33=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[41, 58, 33, 88], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [41, 33, 30] Generated Node #0,0: 22:[41, 33, 30] Operation: 88-58=30 Moving to Node #0,0 Current State: 22:[41, 33, 30], Operations: ['88-58=30'] Exploring Operation: 41-33=8, Resulting Numbers: [30, 8] Generated Node #0,0,0: 22:[30, 8] Operation: 41-33=8 Moving to Node #0,0,0 Current State: 22:[30, 8], Operations: ['88-58=30', '41-33=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 33, 26, 48, 84 ]
23
[ "33+26=59", "84-48=36", "59-36=23" ]
Current State: 23:[33, 26, 48, 84], Operations: [] Exploring Operation: 33+26=59, Resulting Numbers: [48, 84, 59] Generated Node #2: [48, 84, 59] from Operation: 33+26=59 Current State: 23:[48, 84, 59], Operations: ['33+26=59'] Exploring Operation: 84-48=36, Resulting Numbers: [59, 36] Generated Node #3: [59, 36] from Operation: 84-48=36 Current State: 23:[59, 36], Operations: ['33+26=59', '84-48=36'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[33, 26, 48, 84], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [33, 26, 36] Generated Node #0,0: 23:[33, 26, 36] Operation: 84-48=36 Exploring Operation: 84-33=51, Resulting Numbers: [26, 48, 51] Generated Node #0,1: 23:[26, 48, 51] Operation: 84-33=51 Moving to Node #0,0 Current State: 23:[33, 26, 36], Operations: ['84-48=36'] Exploring Operation: 36-26=10, Resulting Numbers: [33, 10] Generated Node #0,0,0: 23:[33, 10] Operation: 36-26=10 Exploring Operation: 36-33=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 23:[26, 3] Operation: 36-33=3 Moving to Node #0,1 Current State: 23:[26, 48, 51], Operations: ['84-33=51'] Exploring Operation: 51-26=25, Resulting Numbers: [48, 25] Generated Node #0,1,0: 23:[48, 25] Operation: 51-26=25 Exploring Operation: 51-48=3, Resulting Numbers: [26, 3] Generated Node #0,1,1: 23:[26, 3] Operation: 51-48=3 Moving to Node #0,0,0 Current State: 23:[33, 10], Operations: ['84-48=36', '36-26=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[33, 26, 48, 84], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [33, 26, 36] Generated Node #0,0: 23:[33, 26, 36] Operation: 84-48=36 Moving to Node #0,0 Current State: 23:[33, 26, 36], Operations: ['84-48=36'] Exploring Operation: 36-26=10, Resulting Numbers: [33, 10] Generated Node #0,0,0: 23:[33, 10] Operation: 36-26=10 Moving to Node #0,0,0 Current State: 23:[33, 10], Operations: ['84-48=36', '36-26=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 48, 86, 64, 1 ]
27
[ "86-48=38", "64+1=65", "65-38=27" ]
Current State: 27:[48, 86, 64, 1], Operations: [] Exploring Operation: 86-48=38, Resulting Numbers: [64, 1, 38] Generated Node #2: [64, 1, 38] from Operation: 86-48=38 Current State: 27:[64, 1, 38], Operations: ['86-48=38'] Exploring Operation: 64+1=65, Resulting Numbers: [38, 65] Generated Node #3: [38, 65] from Operation: 64+1=65 Current State: 27:[38, 65], Operations: ['86-48=38', '64+1=65'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[48, 86, 64, 1], Operations: [] Exploring Operation: 48-1=47, Resulting Numbers: [86, 64, 47] Generated Node #0,0: 27:[86, 64, 47] Operation: 48-1=47 Exploring Operation: 64-48=16, Resulting Numbers: [86, 1, 16] Generated Node #0,1: 27:[86, 1, 16] Operation: 64-48=16 Exploring Operation: 86-1=85, Resulting Numbers: [48, 64, 85] Generated Node #0,2: 27:[48, 64, 85] Operation: 86-1=85 Exploring Operation: 86-48=38, Resulting Numbers: [64, 1, 38] Generated Node #0,3: 27:[64, 1, 38] Operation: 86-48=38 Exploring Operation: 86-64=22, Resulting Numbers: [48, 1, 22] Generated Node #0,4: 27:[48, 1, 22] Operation: 86-64=22 Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[48, 1, 22], Operations: ['86-64=22'] Exploring Operation: 48/1=48, Resulting Numbers: [22, 48] Generated Node #0,4,0: 27:[22, 48] Operation: 48/1=48 Exploring Operation: 1+22=23, Resulting Numbers: [48, 23] Generated Node #0,4,1: 27:[48, 23] Operation: 1+22=23 Exploring Operation: 48-22=26, Resulting Numbers: [1, 26] Generated Node #0,4,2: 27:[1, 26] Operation: 48-22=26 Exploring Operation: 48-1=47, Resulting Numbers: [22, 47] Generated Node #0,4,3: 27:[22, 47] Operation: 48-1=47 Exploring Operation: 48*1=48, Resulting Numbers: [22, 48] Generated Node #0,4,4: 27:[22, 48] Operation: 48*1=48 Moving to Node #0,4,2 Current State: 27:[1, 26], Operations: ['86-64=22', '48-22=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[48, 86, 64, 1], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [48, 1, 22] Generated Node #0,4: 27:[48, 1, 22] Operation: 86-64=22 Moving to Node #0,4 Current State: 27:[48, 1, 22], Operations: ['86-64=22'] Exploring Operation: 48-22=26, Resulting Numbers: [1, 26] Generated Node #0,4,2: 27:[1, 26] Operation: 48-22=26 Moving to Node #0,4,2 Current State: 27:[1, 26], Operations: ['86-64=22', '48-22=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 36, 94, 15, 12 ]
49
[ "36*15=540", "540/12=45", "94-45=49" ]
Current State: 49:[36, 94, 15, 12], Operations: [] Exploring Operation: 36*15=540, Resulting Numbers: [94, 12, 540] Generated Node #2: [94, 12, 540] from Operation: 36*15=540 Current State: 49:[94, 12, 540], Operations: ['36*15=540'] Exploring Operation: 540/12=45, Resulting Numbers: [94, 45] Generated Node #3: [94, 45] from Operation: 540/12=45 Current State: 49:[94, 45], Operations: ['36*15=540', '540/12=45'] Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[36, 94, 15, 12], Operations: [] Exploring Operation: 94-36=58, Resulting Numbers: [15, 12, 58] Generated Node #0,0: 49:[15, 12, 58] Operation: 94-36=58 Moving to Node #0,0 Current State: 49:[15, 12, 58], Operations: ['94-36=58'] Exploring Operation: 58-15=43, Resulting Numbers: [12, 43] Generated Node #0,0,0: 49:[12, 43] Operation: 58-15=43 Moving to Node #0,0,0 Current State: 49:[12, 43], Operations: ['94-36=58', '58-15=43'] Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 84, 32, 68, 73 ]
89
[ "84-32=52", "68+73=141", "141-52=89" ]
Current State: 89:[84, 32, 68, 73], Operations: [] Exploring Operation: 84-32=52, Resulting Numbers: [68, 73, 52] Generated Node #2: [68, 73, 52] from Operation: 84-32=52 Current State: 89:[68, 73, 52], Operations: ['84-32=52'] Exploring Operation: 68+73=141, Resulting Numbers: [52, 141] Generated Node #3: [52, 141] from Operation: 68+73=141 Current State: 89:[52, 141], Operations: ['84-32=52', '68+73=141'] Exploring Operation: 141-52=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[84, 32, 68, 73], Operations: [] Exploring Operation: 32+73=105, Resulting Numbers: [84, 68, 105] Generated Node #0,0: 89:[84, 68, 105] Operation: 32+73=105 Exploring Operation: 84+32=116, Resulting Numbers: [68, 73, 116] Generated Node #0,1: 89:[68, 73, 116] Operation: 84+32=116 Exploring Operation: 32+68=100, Resulting Numbers: [84, 73, 100] Generated Node #0,2: 89:[84, 73, 100] Operation: 32+68=100 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[84, 73, 100], Operations: ['32+68=100'] Exploring Operation: 84-73=11, Resulting Numbers: [100, 11] Generated Node #0,2,0: 89:[100, 11] Operation: 84-73=11 Exploring Operation: 84+73=157, Resulting Numbers: [100, 157] Generated Node #0,2,1: 89:[100, 157] Operation: 84+73=157 Exploring Operation: 100-73=27, Resulting Numbers: [84, 27] Generated Node #0,2,2: 89:[84, 27] Operation: 100-73=27 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[84, 27], Operations: ['32+68=100', '100-73=27'] Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 84*27=2268, Resulting Numbers: [2268] 2268,89 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[100, 157], Operations: ['32+68=100', '84+73=157'] Exploring Operation: 100*157=15700, Resulting Numbers: [15700] 15700,89 unequal: No Solution Exploring Operation: 100+157=257, Resulting Numbers: [257] 257,89 unequal: No Solution Exploring Operation: 157-100=57, Resulting Numbers: [57] 57,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[100, 11], Operations: ['32+68=100', '84-73=11'] Exploring Operation: 100+11=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 100*11=1100, Resulting Numbers: [1100] 1100,89 unequal: No Solution Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[84, 32, 68, 73], Operations: [] Exploring Operation: 32+68=100, Resulting Numbers: [84, 73, 100] Generated Node #0,2: 89:[84, 73, 100] Operation: 32+68=100 Moving to Node #0,2 Current State: 89:[84, 73, 100], Operations: ['32+68=100'] Exploring Operation: 84-73=11, Resulting Numbers: [100, 11] Generated Node #0,2,0: 89:[100, 11] Operation: 84-73=11 Moving to Node #0,2,0 Current State: 89:[100, 11], Operations: ['32+68=100', '84-73=11'] Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 72, 52, 8, 18 ]
98
[ "72+52=124", "8+18=26", "124-26=98" ]
Current State: 98:[72, 52, 8, 18], Operations: [] Exploring Operation: 72+52=124, Resulting Numbers: [8, 18, 124] Generated Node #2: [8, 18, 124] from Operation: 72+52=124 Current State: 98:[8, 18, 124], Operations: ['72+52=124'] Exploring Operation: 8+18=26, Resulting Numbers: [124, 26] Generated Node #3: [124, 26] from Operation: 8+18=26 Current State: 98:[124, 26], Operations: ['72+52=124', '8+18=26'] Exploring Operation: 124-26=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[72, 52, 8, 18], Operations: [] Exploring Operation: 72-18=54, Resulting Numbers: [52, 8, 54] Generated Node #0,0: 98:[52, 8, 54] Operation: 72-18=54 Exploring Operation: 72/18=4, Resulting Numbers: [52, 8, 4] Generated Node #0,1: 98:[52, 8, 4] Operation: 72/18=4 Exploring Operation: 72+18=90, Resulting Numbers: [52, 8, 90] Generated Node #0,2: 98:[52, 8, 90] Operation: 72+18=90 Exploring Operation: 72-52=20, Resulting Numbers: [8, 18, 20] Generated Node #0,3: 98:[8, 18, 20] Operation: 72-52=20 Exploring Operation: 72/8=9, Resulting Numbers: [52, 18, 9] Generated Node #0,4: 98:[52, 18, 9] Operation: 72/8=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[52, 8, 4], Operations: ['72/18=4'] Exploring Operation: 8-4=4, Resulting Numbers: [52, 4] Generated Node #0,1,0: 98:[52, 4] Operation: 8-4=4 Exploring Operation: 52/4=13, Resulting Numbers: [8, 13] Generated Node #0,1,1: 98:[8, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [8, 48] Generated Node #0,1,2: 98:[8, 48] Operation: 52-4=48 Exploring Operation: 8+4=12, Resulting Numbers: [52, 12] Generated Node #0,1,3: 98:[52, 12] Operation: 8+4=12 Exploring Operation: 8/4=2, Resulting Numbers: [52, 2] Generated Node #0,1,4: 98:[52, 2] Operation: 8/4=2 Moving to Node #0,1,1 Current State: 98:[8, 13], Operations: ['72/18=4', '52/4=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[8, 48], Operations: ['72/18=4', '52-4=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,98 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[52, 2], Operations: ['72/18=4', '8/4=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,98 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[52, 4], Operations: ['72/18=4', '8-4=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,98 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[52, 12], Operations: ['72/18=4', '8+4=12'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,98 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,98 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[52, 8, 54], Operations: ['72-18=54'] Exploring Operation: 52+54=106, Resulting Numbers: [8, 106] Generated Node #0,0,0: 98:[8, 106] Operation: 52+54=106 Exploring Operation: 54-52=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 98:[8, 2] Operation: 54-52=2 Exploring Operation: 54-8=46, Resulting Numbers: [52, 46] Generated Node #0,0,2: 98:[52, 46] Operation: 54-8=46 Exploring Operation: 52+8=60, Resulting Numbers: [54, 60] Generated Node #0,0,3: 98:[54, 60] Operation: 52+8=60 Exploring Operation: 52-8=44, Resulting Numbers: [54, 44] Generated Node #0,0,4: 98:[54, 44] Operation: 52-8=44 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[8, 2], Operations: ['72-18=54', '54-52=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[52, 46], Operations: ['72-18=54', '54-8=46'] Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,98 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[72, 52, 8, 18], Operations: [] Exploring Operation: 72-18=54, Resulting Numbers: [52, 8, 54] Generated Node #0,0: 98:[52, 8, 54] Operation: 72-18=54 Moving to Node #0,0 Current State: 98:[52, 8, 54], Operations: ['72-18=54'] Exploring Operation: 54-8=46, Resulting Numbers: [52, 46] Generated Node #0,0,2: 98:[52, 46] Operation: 54-8=46 Moving to Node #0,0,2 Current State: 98:[52, 46], Operations: ['72-18=54', '54-8=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.962674
hs_5
sum_heuristic
[ 82, 93, 34, 42 ]
88
[ "93-82=11", "42-34=8", "11*8=88" ]
Current State: 88:[82, 93, 34, 42], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [34, 42, 11] Generated Node #2: [34, 42, 11] from Operation: 93-82=11 Current State: 88:[34, 42, 11], Operations: ['93-82=11'] Exploring Operation: 42-34=8, Resulting Numbers: [11, 8] Generated Node #3: [11, 8] from Operation: 42-34=8 Current State: 88:[11, 8], Operations: ['93-82=11', '42-34=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[82, 93, 34, 42], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [34, 42, 11] Generated Node #0,0: 88:[34, 42, 11] Operation: 93-82=11 Exploring Operation: 82-42=40, Resulting Numbers: [93, 34, 40] Generated Node #0,1: 88:[93, 34, 40] Operation: 82-42=40 Exploring Operation: 42-34=8, Resulting Numbers: [82, 93, 8] Generated Node #0,2: 88:[82, 93, 8] Operation: 42-34=8 Exploring Operation: 82-34=48, Resulting Numbers: [93, 42, 48] Generated Node #0,3: 88:[93, 42, 48] Operation: 82-34=48 Exploring Operation: 93-34=59, Resulting Numbers: [82, 42, 59] Generated Node #0,4: 88:[82, 42, 59] Operation: 93-34=59 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[82, 93, 8], Operations: ['42-34=8'] Exploring Operation: 93+8=101, Resulting Numbers: [82, 101] Generated Node #0,2,0: 88:[82, 101] Operation: 93+8=101 Exploring Operation: 93-8=85, Resulting Numbers: [82, 85] Generated Node #0,2,1: 88:[82, 85] Operation: 93-8=85 Exploring Operation: 82-8=74, Resulting Numbers: [93, 74] Generated Node #0,2,2: 88:[93, 74] Operation: 82-8=74 Exploring Operation: 93-82=11, Resulting Numbers: [8, 11] Generated Node #0,2,3: 88:[8, 11] Operation: 93-82=11 Exploring Operation: 82+8=90, Resulting Numbers: [93, 90] Generated Node #0,2,4: 88:[93, 90] Operation: 82+8=90 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[8, 11], Operations: ['42-34=8', '93-82=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[82, 93, 34, 42], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [82, 93, 8] Generated Node #0,2: 88:[82, 93, 8] Operation: 42-34=8 Moving to Node #0,2 Current State: 88:[82, 93, 8], Operations: ['42-34=8'] Exploring Operation: 93-82=11, Resulting Numbers: [8, 11] Generated Node #0,2,3: 88:[8, 11] Operation: 93-82=11 Moving to Node #0,2,3 Current State: 88:[8, 11], Operations: ['42-34=8', '93-82=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 31, 2, 75, 72 ]
59
[ "31*2=62", "75-72=3", "62-3=59" ]
Current State: 59:[31, 2, 75, 72], Operations: [] Exploring Operation: 31*2=62, Resulting Numbers: [75, 72, 62] Generated Node #2: [75, 72, 62] from Operation: 31*2=62 Current State: 59:[75, 72, 62], Operations: ['31*2=62'] Exploring Operation: 75-72=3, Resulting Numbers: [62, 3] Generated Node #3: [62, 3] from Operation: 75-72=3 Current State: 59:[62, 3], Operations: ['31*2=62', '75-72=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[31, 2, 75, 72], Operations: [] Exploring Operation: 31*2=62, Resulting Numbers: [75, 72, 62] Generated Node #0,0: 59:[75, 72, 62] Operation: 31*2=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[75, 72, 62], Operations: ['31*2=62'] Exploring Operation: 75-72=3, Resulting Numbers: [62, 3] Generated Node #0,0,0: 59:[62, 3] Operation: 75-72=3 Moving to Node #0,0,0 Current State: 59:[62, 3], Operations: ['31*2=62', '75-72=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[31, 2, 75, 72], Operations: [] Exploring Operation: 31*2=62, Resulting Numbers: [75, 72, 62] Generated Node #0,0: 59:[75, 72, 62] Operation: 31*2=62 Moving to Node #0,0 Current State: 59:[75, 72, 62], Operations: ['31*2=62'] Exploring Operation: 75-72=3, Resulting Numbers: [62, 3] Generated Node #0,0,0: 59:[62, 3] Operation: 75-72=3 Moving to Node #0,0,0 Current State: 59:[62, 3], Operations: ['31*2=62', '75-72=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 3, 18, 9, 14 ]
13
[ "14-3=11", "18/9=2", "11+2=13" ]
Current State: 13:[3, 18, 9, 14], Operations: [] Exploring Operation: 14-3=11, Resulting Numbers: [18, 9, 11] Generated Node #2: [18, 9, 11] from Operation: 14-3=11 Current State: 13:[18, 9, 11], Operations: ['14-3=11'] Exploring Operation: 18/9=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 18/9=2 Current State: 13:[11, 2], Operations: ['14-3=11', '18/9=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[3, 18, 9, 14], Operations: [] Exploring Operation: 18-3=15, Resulting Numbers: [9, 14, 15] Generated Node #0,0: 13:[9, 14, 15] Operation: 18-3=15 Exploring Operation: 3+9=12, Resulting Numbers: [18, 14, 12] Generated Node #0,1: 13:[18, 14, 12] Operation: 3+9=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[9, 14, 15], Operations: ['18-3=15'] Exploring Operation: 15-9=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 13:[14, 6] Operation: 15-9=6 Exploring Operation: 14-9=5, Resulting Numbers: [15, 5] Generated Node #0,0,1: 13:[15, 5] Operation: 14-9=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[14, 6], Operations: ['18-3=15', '15-9=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[15, 5], Operations: ['18-3=15', '14-9=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[18, 14, 12], Operations: ['3+9=12'] Exploring Operation: 18-12=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 13:[14, 6] Operation: 18-12=6 Exploring Operation: 18-14=4, Resulting Numbers: [12, 4] Generated Node #0,1,1: 13:[12, 4] Operation: 18-14=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[14, 6], Operations: ['3+9=12', '18-12=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[12, 4], Operations: ['3+9=12', '18-14=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 98, 26, 43, 6 ]
39
[ "98+6=104", "104/26=4", "43-4=39" ]
Current State: 39:[98, 26, 43, 6], Operations: [] Exploring Operation: 98+6=104, Resulting Numbers: [26, 43, 104] Generated Node #2: [26, 43, 104] from Operation: 98+6=104 Current State: 39:[26, 43, 104], Operations: ['98+6=104'] Exploring Operation: 104/26=4, Resulting Numbers: [43, 4] Generated Node #3: [43, 4] from Operation: 104/26=4 Current State: 39:[43, 4], Operations: ['98+6=104', '104/26=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[98, 26, 43, 6], Operations: [] Exploring Operation: 98-43=55, Resulting Numbers: [26, 6, 55] Generated Node #0,0: 39:[26, 6, 55] Operation: 98-43=55 Exploring Operation: 98-26=72, Resulting Numbers: [43, 6, 72] Generated Node #0,1: 39:[43, 6, 72] Operation: 98-26=72 Exploring Operation: 43-26=17, Resulting Numbers: [98, 6, 17] Generated Node #0,2: 39:[98, 6, 17] Operation: 43-26=17 Exploring Operation: 98-6=92, Resulting Numbers: [26, 43, 92] Generated Node #0,3: 39:[26, 43, 92] Operation: 98-6=92 Moving to Node #0,0 Current State: 39:[26, 6, 55], Operations: ['98-43=55'] Exploring Operation: 55-6=49, Resulting Numbers: [26, 49] Generated Node #0,0,0: 39:[26, 49] Operation: 55-6=49 Exploring Operation: 55-26=29, Resulting Numbers: [6, 29] Generated Node #0,0,1: 39:[6, 29] Operation: 55-26=29 Exploring Operation: 26+6=32, Resulting Numbers: [55, 32] Generated Node #0,0,2: 39:[55, 32] Operation: 26+6=32 Exploring Operation: 26-6=20, Resulting Numbers: [55, 20] Generated Node #0,0,3: 39:[55, 20] Operation: 26-6=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[6, 29], Operations: ['98-43=55', '55-26=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[26, 49], Operations: ['98-43=55', '55-6=49'] Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,39 unequal: No Solution Exploring Operation: 26*49=1274, Resulting Numbers: [1274] 1274,39 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[55, 32], Operations: ['98-43=55', '26+6=32'] Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,39 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[55, 20], Operations: ['98-43=55', '26-6=20'] Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,39 unequal: No Solution Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,39 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,39 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: 39:[43, 6, 72], Operations: ['98-26=72'] Exploring Operation: 72-6=66, Resulting Numbers: [43, 66] Generated Node #0,1,0: 39:[43, 66] Operation: 72-6=66 Exploring Operation: 72-43=29, Resulting Numbers: [6, 29] Generated Node #0,1,1: 39:[6, 29] Operation: 72-43=29 Exploring Operation: 72/6=12, Resulting Numbers: [43, 12] Generated Node #0,1,2: 39:[43, 12] Operation: 72/6=12 Exploring Operation: 43-6=37, Resulting Numbers: [72, 37] Generated Node #0,1,3: 39:[72, 37] Operation: 43-6=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[43, 12], Operations: ['98-26=72', '72/6=12'] Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,39 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,39 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[6, 29], Operations: ['98-26=72', '72-43=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,39 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[43, 66], Operations: ['98-26=72', '72-6=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,39 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,39 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[72, 37], Operations: ['98-26=72', '43-6=37'] Exploring Operation: 72*37=2664, Resulting Numbers: [2664] 2664,39 unequal: No Solution Exploring Operation: 72+37=109, Resulting Numbers: [109] 109,39 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 39:[98, 6, 17], Operations: ['43-26=17'] Exploring Operation: 98-17=81, Resulting Numbers: [6, 81] Generated Node #0,2,0: 39:[6, 81] Operation: 98-17=81 Exploring Operation: 98+6=104, Resulting Numbers: [17, 104] Generated Node #0,2,1: 39:[17, 104] Operation: 98+6=104 Exploring Operation: 17-6=11, Resulting Numbers: [98, 11] Generated Node #0,2,2: 39:[98, 11] Operation: 17-6=11 Exploring Operation: 98-6=92, Resulting Numbers: [17, 92] Generated Node #0,2,3: 39:[17, 92] Operation: 98-6=92 Moving to Node #0,3 Current State: 39:[26, 43, 92], Operations: ['98-6=92'] Exploring Operation: 26+43=69, Resulting Numbers: [92, 69] Generated Node #0,3,0: 39:[92, 69] Operation: 26+43=69 Exploring Operation: 43-26=17, Resulting Numbers: [92, 17] Generated Node #0,3,1: 39:[92, 17] Operation: 43-26=17 Exploring Operation: 92-26=66, Resulting Numbers: [43, 66] Generated Node #0,3,2: 39:[43, 66] Operation: 92-26=66 Exploring Operation: 92-43=49, Resulting Numbers: [26, 49] Generated Node #0,3,3: 39:[26, 49] Operation: 92-43=49 Moving to Node #0,3,3 Current State: 39:[26, 49], Operations: ['98-6=92', '92-43=49'] Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,39 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 26*49=1274, Resulting Numbers: [1274] 1274,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[43, 66], Operations: ['98-6=92', '92-26=66'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,39 unequal: No Solution Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[6, 81], Operations: ['43-26=17', '98-17=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,39 unequal: No Solution Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,39 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[92, 17], Operations: ['98-6=92', '43-26=17'] Exploring Operation: 92+17=109, Resulting Numbers: [109] 109,39 unequal: No Solution Exploring Operation: 92*17=1564, Resulting Numbers: [1564] 1564,39 unequal: No Solution Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[17, 92], Operations: ['43-26=17', '98-6=92'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,39 unequal: No Solution Exploring Operation: 17*92=1564, Resulting Numbers: [1564] 1564,39 unequal: No Solution Exploring Operation: 17+92=109, Resulting Numbers: [109] 109,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[98, 11], Operations: ['43-26=17', '17-6=11'] Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,39 unequal: No Solution Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,39 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[17, 104], Operations: ['43-26=17', '98+6=104'] Exploring Operation: 104-17=87, Resulting Numbers: [87] 87,39 unequal: No Solution Exploring Operation: 17+104=121, Resulting Numbers: [121] 121,39 unequal: No Solution Exploring Operation: 17*104=1768, Resulting Numbers: [1768] 1768,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[92, 69], Operations: ['98-6=92', '26+43=69'] Exploring Operation: 92+69=161, Resulting Numbers: [161] 161,39 unequal: No Solution Exploring Operation: 92*69=6348, Resulting Numbers: [6348] 6348,39 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,39 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 47, 63, 84, 83 ]
17
[ "63-47=16", "84-83=1", "16+1=17" ]
Current State: 17:[47, 63, 84, 83], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [84, 83, 16] Generated Node #2: [84, 83, 16] from Operation: 63-47=16 Current State: 17:[84, 83, 16], Operations: ['63-47=16'] Exploring Operation: 84-83=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 84-83=1 Current State: 17:[16, 1], Operations: ['63-47=16', '84-83=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[47, 63, 84, 83], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [47, 63, 1] Generated Node #0,0: 17:[47, 63, 1] Operation: 84-83=1 Exploring Operation: 83-63=20, Resulting Numbers: [47, 84, 20] Generated Node #0,1: 17:[47, 84, 20] Operation: 83-63=20 Exploring Operation: 84-63=21, Resulting Numbers: [47, 83, 21] Generated Node #0,2: 17:[47, 83, 21] Operation: 84-63=21 Moving to Node #0,0 Current State: 17:[47, 63, 1], Operations: ['84-83=1'] Exploring Operation: 63-1=62, Resulting Numbers: [47, 62] Generated Node #0,0,0: 17:[47, 62] Operation: 63-1=62 Exploring Operation: 47-1=46, Resulting Numbers: [63, 46] Generated Node #0,0,1: 17:[63, 46] Operation: 47-1=46 Exploring Operation: 63-47=16, Resulting Numbers: [1, 16] Generated Node #0,0,2: 17:[1, 16] Operation: 63-47=16 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[1, 16], Operations: ['84-83=1', '63-47=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[47, 63, 84, 83], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [47, 63, 1] Generated Node #0,0: 17:[47, 63, 1] Operation: 84-83=1 Moving to Node #0,0 Current State: 17:[47, 63, 1], Operations: ['84-83=1'] Exploring Operation: 63-47=16, Resulting Numbers: [1, 16] Generated Node #0,0,2: 17:[1, 16] Operation: 63-47=16 Moving to Node #0,0,2 Current State: 17:[1, 16], Operations: ['84-83=1', '63-47=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 49, 9, 91, 22 ]
58
[ "49+91=140", "9*22=198", "198-140=58" ]
Current State: 58:[49, 9, 91, 22], Operations: [] Exploring Operation: 49+91=140, Resulting Numbers: [9, 22, 140] Generated Node #2: [9, 22, 140] from Operation: 49+91=140 Current State: 58:[9, 22, 140], Operations: ['49+91=140'] Exploring Operation: 9*22=198, Resulting Numbers: [140, 198] Generated Node #3: [140, 198] from Operation: 9*22=198 Current State: 58:[140, 198], Operations: ['49+91=140', '9*22=198'] Exploring Operation: 198-140=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[49, 9, 91, 22], Operations: [] Exploring Operation: 91-22=69, Resulting Numbers: [49, 9, 69] Generated Node #0,0: 58:[49, 9, 69] Operation: 91-22=69 Exploring Operation: 49-22=27, Resulting Numbers: [9, 91, 27] Generated Node #0,1: 58:[9, 91, 27] Operation: 49-22=27 Exploring Operation: 91-49=42, Resulting Numbers: [9, 22, 42] Generated Node #0,2: 58:[9, 22, 42] Operation: 91-49=42 Exploring Operation: 91-9=82, Resulting Numbers: [49, 22, 82] Generated Node #0,3: 58:[49, 22, 82] Operation: 91-9=82 Exploring Operation: 49+9=58, Resulting Numbers: [91, 22, 58] Generated Node #0,4: 58:[91, 22, 58] Operation: 49+9=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[49, 9, 69], Operations: ['91-22=69'] Exploring Operation: 69-49=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 58:[9, 20] Operation: 69-49=20 Exploring Operation: 69-9=60, Resulting Numbers: [49, 60] Generated Node #0,0,1: 58:[49, 60] Operation: 69-9=60 Exploring Operation: 9+69=78, Resulting Numbers: [49, 78] Generated Node #0,0,2: 58:[49, 78] Operation: 9+69=78 Exploring Operation: 49-9=40, Resulting Numbers: [69, 40] Generated Node #0,0,3: 58:[69, 40] Operation: 49-9=40 Exploring Operation: 49+9=58, Resulting Numbers: [69, 58] Generated Node #0,0,4: 58:[69, 58] Operation: 49+9=58 Moving to Node #0,0,1 Current State: 58:[49, 60], Operations: ['91-22=69', '69-9=60'] Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,58 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,58 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,58 unequal: No Solution Moving to Node #0,0,4 Current State: 58:[69, 58], Operations: ['91-22=69', '49+9=58'] Exploring Operation: 69*58=4002, Resulting Numbers: [4002] 4002,58 unequal: No Solution Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[9, 20], Operations: ['91-22=69', '69-49=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,58 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[69, 40], Operations: ['91-22=69', '49-9=40'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,58 unequal: No Solution Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[49, 78], Operations: ['91-22=69', '9+69=78'] Exploring Operation: 49*78=3822, Resulting Numbers: [3822] 3822,58 unequal: No Solution Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 49+78=127, Resulting Numbers: [127] 127,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 Current State: 58:[9, 22, 42], Operations: ['91-49=42'] Exploring Operation: 22+42=64, Resulting Numbers: [9, 64] Generated Node #0,2,0: 58:[9, 64] Operation: 22+42=64 Exploring Operation: 42-9=33, Resulting Numbers: [22, 33] Generated Node #0,2,1: 58:[22, 33] Operation: 42-9=33 Exploring Operation: 9+22=31, Resulting Numbers: [42, 31] Generated Node #0,2,2: 58:[42, 31] Operation: 9+22=31 Exploring Operation: 42-22=20, Resulting Numbers: [9, 20] Generated Node #0,2,3: 58:[9, 20] Operation: 42-22=20 Exploring Operation: 9+42=51, Resulting Numbers: [22, 51] Generated Node #0,2,4: 58:[22, 51] Operation: 9+42=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[22, 33], Operations: ['91-49=42', '42-9=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,58 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,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,2,0 Current State: 58:[9, 64], Operations: ['91-49=42', '22+42=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,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,2,4 Current State: 58:[22, 51], Operations: ['91-49=42', '9+42=51'] Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,58 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,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,2,2 Current State: 58:[42, 31], Operations: ['91-49=42', '9+22=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,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,2,3 Current State: 58:[9, 20], Operations: ['91-49=42', '42-22=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,58 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,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,3 Current State: 58:[49, 22, 82], Operations: ['91-9=82'] Exploring Operation: 49+22=71, Resulting Numbers: [82, 71] Generated Node #0,3,0: 58:[82, 71] Operation: 49+22=71 Exploring Operation: 82-49=33, Resulting Numbers: [22, 33] Generated Node #0,3,1: 58:[22, 33] Operation: 82-49=33 Exploring Operation: 82-22=60, Resulting Numbers: [49, 60] Generated Node #0,3,2: 58:[49, 60] Operation: 82-22=60 Exploring Operation: 22+82=104, Resulting Numbers: [49, 104] Generated Node #0,3,3: 58:[49, 104] Operation: 22+82=104 Exploring Operation: 49-22=27, Resulting Numbers: [82, 27] Generated Node #0,3,4: 58:[82, 27] Operation: 49-22=27 Moving to Node #0,3,1 Current State: 58:[22, 33], Operations: ['91-9=82', '82-49=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,58 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[49, 60], Operations: ['91-9=82', '82-22=60'] Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,58 unequal: No Solution Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,58 unequal: No Solution Moving to Node #0,3,4 Current State: 58:[82, 27], Operations: ['91-9=82', '49-22=27'] Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,58 unequal: No Solution Exploring Operation: 82*27=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,3,0 Current State: 58:[82, 71], Operations: ['91-9=82', '49+22=71'] Exploring Operation: 82*71=5822, Resulting Numbers: [5822] 5822,58 unequal: No Solution Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 82+71=153, Resulting Numbers: [153] 153,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[49, 104], Operations: ['91-9=82', '22+82=104'] Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 49*104=5096, Resulting Numbers: [5096] 5096,58 unequal: No Solution Exploring Operation: 49+104=153, Resulting Numbers: [153] 153,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,4 Current State: 58:[91, 22, 58], Operations: ['49+9=58'] Exploring Operation: 91-58=33, Resulting Numbers: [22, 33] Generated Node #0,4,0: 58:[22, 33] Operation: 91-58=33 Exploring Operation: 58-22=36, Resulting Numbers: [91, 36] Generated Node #0,4,1: 58:[91, 36] Operation: 58-22=36 Exploring Operation: 22+58=80, Resulting Numbers: [91, 80] Generated Node #0,4,2: 58:[91, 80] Operation: 22+58=80 Exploring Operation: 91+22=113, Resulting Numbers: [58, 113] Generated Node #0,4,3: 58:[58, 113] Operation: 91+22=113 Exploring Operation: 91-22=69, Resulting Numbers: [58, 69] Generated Node #0,4,4: 58:[58, 69] Operation: 91-22=69 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 58:[22, 33], Operations: ['49+9=58', '91-58=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,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,4,4 Current State: 58:[58, 69], Operations: ['49+9=58', '91-22=69'] Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 58*69=4002, Resulting Numbers: [4002] 4002,58 unequal: No Solution Exploring Operation: 58+69=127, Resulting Numbers: [127] 127,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,4,1 Current State: 58:[91, 36], Operations: ['49+9=58', '58-22=36'] Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,58 unequal: No Solution Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,58 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,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,4,2 Current State: 58:[91, 80], Operations: ['49+9=58', '22+58=80'] Exploring Operation: 91+80=171, Resulting Numbers: [171] 171,58 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 91*80=7280, Resulting Numbers: [7280] 7280,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,4,3 Current State: 58:[58, 113], Operations: ['49+9=58', '91+22=113'] Exploring Operation: 58*113=6554, Resulting Numbers: [6554] 6554,58 unequal: No Solution Exploring Operation: 58+113=171, Resulting Numbers: [171] 171,58 unequal: No Solution Exploring Operation: 113-58=55, Resulting Numbers: [55] 55,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,1 Current State: 58:[9, 91, 27], Operations: ['49-22=27'] Exploring Operation: 91-27=64, Resulting Numbers: [9, 64] Generated Node #0,1,0: 58:[9, 64] Operation: 91-27=64 Exploring Operation: 9+91=100, Resulting Numbers: [27, 100] Generated Node #0,1,1: 58:[27, 100] Operation: 9+91=100 Exploring Operation: 27/9=3, Resulting Numbers: [91, 3] Generated Node #0,1,2: 58:[91, 3] Operation: 27/9=3 Exploring Operation: 91-9=82, Resulting Numbers: [27, 82] Generated Node #0,1,3: 58:[27, 82] Operation: 91-9=82 Exploring Operation: 9+27=36, Resulting Numbers: [91, 36] Generated Node #0,1,4: 58:[91, 36] Operation: 9+27=36 Moving to Node #0,1,0 Current State: 58:[9, 64], Operations: ['49-22=27', '91-27=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,58 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[27, 82], Operations: ['49-22=27', '91-9=82'] Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 27*82=2214, Resulting Numbers: [2214] 2214,58 unequal: No Solution Exploring Operation: 27+82=109, Resulting Numbers: [109] 109,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[91, 3], Operations: ['49-22=27', '27/9=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[91, 36], Operations: ['49-22=27', '9+27=36'] Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,58 unequal: No Solution Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,58 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[27, 100], Operations: ['49-22=27', '9+91=100'] Exploring Operation: 100-27=73, Resulting Numbers: [73] 73,58 unequal: No Solution Exploring Operation: 27*100=2700, Resulting Numbers: [2700] 2700,58 unequal: No Solution Exploring Operation: 27+100=127, Resulting Numbers: [127] 127,58 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
[ 27, 5, 11, 54 ]
36
[ "11-5=6", "54/6=9", "27+9=36" ]
Current State: 36:[27, 5, 11, 54], Operations: [] Exploring Operation: 11-5=6, Resulting Numbers: [27, 54, 6] Generated Node #2: [27, 54, 6] from Operation: 11-5=6 Current State: 36:[27, 54, 6], Operations: ['11-5=6'] Exploring Operation: 54/6=9, Resulting Numbers: [27, 9] Generated Node #3: [27, 9] from Operation: 54/6=9 Current State: 36:[27, 9], Operations: ['11-5=6', '54/6=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[27, 5, 11, 54], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [5, 11, 27] Generated Node #0,0: 36:[5, 11, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [5, 11, 2] Generated Node #0,1: 36:[5, 11, 2] Operation: 54/27=2 Moving to Node #0,1 Current State: 36:[5, 11, 2], Operations: ['54/27=2'] Exploring Operation: 5-2=3, Resulting Numbers: [11, 3] Generated Node #0,1,0: 36:[11, 3] Operation: 5-2=3 Exploring Operation: 11-5=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 36:[2, 6] Operation: 11-5=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[2, 6], Operations: ['54/27=2', '11-5=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[11, 3], Operations: ['54/27=2', '5-2=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 36:[5, 11, 27], Operations: ['54-27=27'] Exploring Operation: 27-11=16, Resulting Numbers: [5, 16] Generated Node #0,0,0: 36:[5, 16] Operation: 27-11=16 Exploring Operation: 11+27=38, Resulting Numbers: [5, 38] Generated Node #0,0,1: 36:[5, 38] Operation: 11+27=38 Moving to Node #0,0,0 Current State: 36:[5, 16], Operations: ['54-27=27', '27-11=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[5, 38], Operations: ['54-27=27', '11+27=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,36 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 52, 9, 17 ]
13
[ "65-52=13", "9+17=26", "26-13=13" ]
Current State: 13:[65, 52, 9, 17], Operations: [] Exploring Operation: 65-52=13, Resulting Numbers: [9, 17, 13] Generated Node #2: [9, 17, 13] from Operation: 65-52=13 Current State: 13:[9, 17, 13], Operations: ['65-52=13'] Exploring Operation: 9+17=26, Resulting Numbers: [13, 26] Generated Node #3: [13, 26] from Operation: 9+17=26 Current State: 13:[13, 26], Operations: ['65-52=13', '9+17=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[65, 52, 9, 17], Operations: [] Exploring Operation: 65-17=48, Resulting Numbers: [52, 9, 48] Generated Node #0,0: 13:[52, 9, 48] Operation: 65-17=48 Exploring Operation: 65-52=13, Resulting Numbers: [9, 17, 13] Generated Node #0,1: 13:[9, 17, 13] Operation: 65-52=13 Exploring Operation: 52-17=35, Resulting Numbers: [65, 9, 35] Generated Node #0,2: 13:[65, 9, 35] Operation: 52-17=35 Moving to Node #0,1 Current State: 13:[9, 17, 13], Operations: ['65-52=13'] Exploring Operation: 9+13=22, Resulting Numbers: [17, 22] Generated Node #0,1,0: 13:[17, 22] Operation: 9+13=22 Exploring Operation: 17-9=8, Resulting Numbers: [13, 8] Generated Node #0,1,1: 13:[13, 8] Operation: 17-9=8 Exploring Operation: 9+17=26, Resulting Numbers: [13, 26] Generated Node #0,1,2: 13:[13, 26] Operation: 9+17=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[13, 8], Operations: ['65-52=13', '17-9=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[17, 22], Operations: ['65-52=13', '9+13=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,13 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[13, 26], Operations: ['65-52=13', '9+17=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[65, 52, 9, 17], Operations: [] Exploring Operation: 65-52=13, Resulting Numbers: [9, 17, 13] Generated Node #0,1: 13:[9, 17, 13] Operation: 65-52=13 Moving to Node #0,1 Current State: 13:[9, 17, 13], Operations: ['65-52=13'] Exploring Operation: 9+17=26, Resulting Numbers: [13, 26] Generated Node #0,1,2: 13:[13, 26] Operation: 9+17=26 Moving to Node #0,1,2 Current State: 13:[13, 26], Operations: ['65-52=13', '9+17=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 27, 14, 87, 1 ]
47
[ "27+14=41", "87+1=88", "88-41=47" ]
Current State: 47:[27, 14, 87, 1], Operations: [] Exploring Operation: 27+14=41, Resulting Numbers: [87, 1, 41] Generated Node #2: [87, 1, 41] from Operation: 27+14=41 Current State: 47:[87, 1, 41], Operations: ['27+14=41'] Exploring Operation: 87+1=88, Resulting Numbers: [41, 88] Generated Node #3: [41, 88] from Operation: 87+1=88 Current State: 47:[41, 88], Operations: ['27+14=41', '87+1=88'] Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[27, 14, 87, 1], Operations: [] Exploring Operation: 87-27=60, Resulting Numbers: [14, 1, 60] Generated Node #0,0: 47:[14, 1, 60] Operation: 87-27=60 Exploring Operation: 27+1=28, Resulting Numbers: [14, 87, 28] Generated Node #0,1: 47:[14, 87, 28] Operation: 27+1=28 Exploring Operation: 27+14=41, Resulting Numbers: [87, 1, 41] Generated Node #0,2: 47:[87, 1, 41] Operation: 27+14=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[14, 1, 60], Operations: ['87-27=60'] Exploring Operation: 14*1=14, Resulting Numbers: [60, 14] Generated Node #0,0,0: 47:[60, 14] Operation: 14*1=14 Exploring Operation: 14+1=15, Resulting Numbers: [60, 15] Generated Node #0,0,1: 47:[60, 15] Operation: 14+1=15 Exploring Operation: 60-1=59, Resulting Numbers: [14, 59] Generated Node #0,0,2: 47:[14, 59] Operation: 60-1=59 Moving to Node #0,0,1 Current State: 47:[60, 15], Operations: ['87-27=60', '14+1=15'] Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[14, 59], Operations: ['87-27=60', '60-1=59'] Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,47 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[60, 14], Operations: ['87-27=60', '14*1=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,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:[14, 87, 28], Operations: ['27+1=28'] Exploring Operation: 14+28=42, Resulting Numbers: [87, 42] Generated Node #0,1,0: 47:[87, 42] Operation: 14+28=42 Exploring Operation: 87-14=73, Resulting Numbers: [28, 73] Generated Node #0,1,1: 47:[28, 73] Operation: 87-14=73 Exploring Operation: 87-28=59, Resulting Numbers: [14, 59] Generated Node #0,1,2: 47:[14, 59] Operation: 87-28=59 Moving to Node #0,1,0 Current State: 47:[87, 42], Operations: ['27+1=28', '14+28=42'] Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,47 unequal: No Solution Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[28, 73], Operations: ['27+1=28', '87-14=73'] Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,47 unequal: No Solution Exploring Operation: 28*73=2044, Resulting Numbers: [2044] 2044,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[14, 59], Operations: ['27+1=28', '87-28=59'] Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,47 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,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,2 Current State: 47:[87, 1, 41], Operations: ['27+14=41'] Exploring Operation: 87-1=86, Resulting Numbers: [41, 86] Generated Node #0,2,0: 47:[41, 86] Operation: 87-1=86 Exploring Operation: 1+41=42, Resulting Numbers: [87, 42] Generated Node #0,2,1: 47:[87, 42] Operation: 1+41=42 Exploring Operation: 87*1=87, Resulting Numbers: [41, 87] Generated Node #0,2,2: 47:[41, 87] Operation: 87*1=87 Moving to Node #0,2,0 Current State: 47:[41, 86], Operations: ['27+14=41', '87-1=86'] Exploring Operation: 41*86=3526, Resulting Numbers: [3526] 3526,47 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 41+86=127, Resulting Numbers: [127] 127,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[87, 42], Operations: ['27+14=41', '1+41=42'] Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,47 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[41, 87], Operations: ['27+14=41', '87*1=87'] Exploring Operation: 41*87=3567, Resulting Numbers: [3567] 3567,47 unequal: No Solution Exploring Operation: 41+87=128, Resulting Numbers: [128] 128,47 unequal: No Solution Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,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
mult_heuristic
[ 81, 79, 93, 27 ]
60
[ "81-79=2", "93+27=120", "120/2=60" ]
Current State: 60:[81, 79, 93, 27], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [93, 27, 2] Generated Node #2: [93, 27, 2] from Operation: 81-79=2 Current State: 60:[93, 27, 2], Operations: ['81-79=2'] Exploring Operation: 93+27=120, Resulting Numbers: [2, 120] Generated Node #3: [2, 120] from Operation: 93+27=120 Current State: 60:[2, 120], Operations: ['81-79=2', '93+27=120'] Exploring Operation: 120/2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[81, 79, 93, 27], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [81, 27, 14] Generated Node #0,0: 60:[81, 27, 14] Operation: 93-79=14 Exploring Operation: 93-81=12, Resulting Numbers: [79, 27, 12] Generated Node #0,1: 60:[79, 27, 12] Operation: 93-81=12 Moving to Node #0,1 Current State: 60:[79, 27, 12], Operations: ['93-81=12'] Exploring Operation: 79-12=67, Resulting Numbers: [27, 67] Generated Node #0,1,0: 60:[27, 67] Operation: 79-12=67 Exploring Operation: 79-27=52, Resulting Numbers: [12, 52] Generated Node #0,1,1: 60:[12, 52] Operation: 79-27=52 Moving to Node #0,0 Current State: 60:[81, 27, 14], Operations: ['93-79=14'] Exploring Operation: 81/27=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 60:[14, 3] Operation: 81/27=3 Exploring Operation: 81-27=54, Resulting Numbers: [14, 54] Generated Node #0,0,1: 60:[14, 54] Operation: 81-27=54 Moving to Node #0,0,0 Current State: 60:[14, 3], Operations: ['93-79=14', '81/27=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[14, 54], Operations: ['93-79=14', '81-27=54'] Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[12, 52], Operations: ['93-81=12', '79-27=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[27, 67], Operations: ['93-81=12', '79-12=67'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 27+67=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 86, 66, 9, 2 ]
90
[ "86-66=20", "9*20=180", "180/2=90" ]
Current State: 90:[86, 66, 9, 2], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [9, 2, 20] Generated Node #2: [9, 2, 20] from Operation: 86-66=20 Current State: 90:[9, 2, 20], Operations: ['86-66=20'] Exploring Operation: 9*20=180, Resulting Numbers: [2, 180] Generated Node #3: [2, 180] from Operation: 9*20=180 Current State: 90:[2, 180], Operations: ['86-66=20', '9*20=180'] Exploring Operation: 180/2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[86, 66, 9, 2], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [9, 2, 20] Generated Node #0,0: 90:[9, 2, 20] Operation: 86-66=20 Exploring Operation: 66-9=57, Resulting Numbers: [86, 2, 57] Generated Node #0,1: 90:[86, 2, 57] Operation: 66-9=57 Exploring Operation: 66/2=33, Resulting Numbers: [86, 9, 33] Generated Node #0,2: 90:[86, 9, 33] Operation: 66/2=33 Exploring Operation: 66+9=75, Resulting Numbers: [86, 2, 75] Generated Node #0,3: 90:[86, 2, 75] Operation: 66+9=75 Moving to Node #0,0 Current State: 90:[9, 2, 20], Operations: ['86-66=20'] Exploring Operation: 9+20=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 90:[2, 29] Operation: 9+20=29 Exploring Operation: 20/2=10, Resulting Numbers: [9, 10] Generated Node #0,0,1: 90:[9, 10] Operation: 20/2=10 Exploring Operation: 20-2=18, Resulting Numbers: [9, 18] Generated Node #0,0,2: 90:[9, 18] Operation: 20-2=18 Exploring Operation: 20-9=11, Resulting Numbers: [2, 11] Generated Node #0,0,3: 90:[2, 11] Operation: 20-9=11 Moving to Node #0,2 Current State: 90:[86, 9, 33], Operations: ['66/2=33'] Exploring Operation: 33-9=24, Resulting Numbers: [86, 24] Generated Node #0,2,0: 90:[86, 24] Operation: 33-9=24 Exploring Operation: 9+33=42, Resulting Numbers: [86, 42] Generated Node #0,2,1: 90:[86, 42] Operation: 9+33=42 Exploring Operation: 86+9=95, Resulting Numbers: [33, 95] Generated Node #0,2,2: 90:[33, 95] Operation: 86+9=95 Exploring Operation: 86-33=53, Resulting Numbers: [9, 53] Generated Node #0,2,3: 90:[9, 53] Operation: 86-33=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[86, 42], Operations: ['66/2=33', '9+33=42'] Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,90 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,90 unequal: No Solution No 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: 90:[33, 95], Operations: ['66/2=33', '86+9=95'] Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 33+95=128, Resulting Numbers: [128] 128,90 unequal: No Solution Exploring Operation: 33*95=3135, Resulting Numbers: [3135] 3135,90 unequal: No Solution No 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: 90:[9, 53], Operations: ['66/2=33', '86-33=53'] Exploring Operation: 9*53=477, Resulting Numbers: [477] 477,90 unequal: No Solution Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,90 unequal: No Solution No 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: 90:[86, 24], Operations: ['66/2=33', '33-9=24'] Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,90 unequal: No Solution Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,90 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,90 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: 90:[86, 2, 57], Operations: ['66-9=57'] Exploring Operation: 57-2=55, Resulting Numbers: [86, 55] Generated Node #0,1,0: 90:[86, 55] Operation: 57-2=55 Exploring Operation: 86+2=88, Resulting Numbers: [57, 88] Generated Node #0,1,1: 90:[57, 88] Operation: 86+2=88 Exploring Operation: 86-57=29, Resulting Numbers: [2, 29] Generated Node #0,1,2: 90:[2, 29] Operation: 86-57=29 Exploring Operation: 86/2=43, Resulting Numbers: [57, 43] Generated Node #0,1,3: 90:[57, 43] Operation: 86/2=43 Moving to Node #0,3 Current State: 90:[86, 2, 75], Operations: ['66+9=75'] Exploring Operation: 86/2=43, Resulting Numbers: [75, 43] Generated Node #0,3,0: 90:[75, 43] Operation: 86/2=43 Exploring Operation: 2+75=77, Resulting Numbers: [86, 77] Generated Node #0,3,1: 90:[86, 77] Operation: 2+75=77 Exploring Operation: 86+2=88, Resulting Numbers: [75, 88] Generated Node #0,3,2: 90:[75, 88] Operation: 86+2=88 Exploring Operation: 86-75=11, Resulting Numbers: [2, 11] Generated Node #0,3,3: 90:[2, 11] Operation: 86-75=11 Moving to Node #0,0,1 Current State: 90:[9, 10], Operations: ['86-66=20', '20/2=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[86, 66, 9, 2], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [9, 2, 20] Generated Node #0,0: 90:[9, 2, 20] Operation: 86-66=20 Moving to Node #0,0 Current State: 90:[9, 2, 20], Operations: ['86-66=20'] Exploring Operation: 20/2=10, Resulting Numbers: [9, 10] Generated Node #0,0,1: 90:[9, 10] Operation: 20/2=10 Moving to Node #0,0,1 Current State: 90:[9, 10], Operations: ['86-66=20', '20/2=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.967882
hs_4
sum_heuristic
[ 10, 48, 35, 46 ]
30
[ "10+46=56", "48*35=1680", "1680/56=30" ]
Current State: 30:[10, 48, 35, 46], Operations: [] Exploring Operation: 10+46=56, Resulting Numbers: [48, 35, 56] Generated Node #2: [48, 35, 56] from Operation: 10+46=56 Current State: 30:[48, 35, 56], Operations: ['10+46=56'] Exploring Operation: 48*35=1680, Resulting Numbers: [56, 1680] Generated Node #3: [56, 1680] from Operation: 48*35=1680 Current State: 30:[56, 1680], Operations: ['10+46=56', '48*35=1680'] Exploring Operation: 1680/56=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[10, 48, 35, 46], Operations: [] Exploring Operation: 48-10=38, Resulting Numbers: [35, 46, 38] Generated Node #0,0: 30:[35, 46, 38] Operation: 48-10=38 Exploring Operation: 46-35=11, Resulting Numbers: [10, 48, 11] Generated Node #0,1: 30:[10, 48, 11] Operation: 46-35=11 Exploring Operation: 48-35=13, Resulting Numbers: [10, 46, 13] Generated Node #0,2: 30:[10, 46, 13] Operation: 48-35=13 Exploring Operation: 48-46=2, Resulting Numbers: [10, 35, 2] Generated Node #0,3: 30:[10, 35, 2] Operation: 48-46=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[10, 35, 2], Operations: ['48-46=2'] Exploring Operation: 10/2=5, Resulting Numbers: [35, 5] Generated Node #0,3,0: 30:[35, 5] Operation: 10/2=5 Exploring Operation: 10+2=12, Resulting Numbers: [35, 12] Generated Node #0,3,1: 30:[35, 12] Operation: 10+2=12 Exploring Operation: 35-2=33, Resulting Numbers: [10, 33] Generated Node #0,3,2: 30:[10, 33] Operation: 35-2=33 Exploring Operation: 35-10=25, Resulting Numbers: [2, 25] Generated Node #0,3,3: 30:[2, 25] Operation: 35-10=25 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 30:[10, 33], Operations: ['48-46=2', '35-2=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 30:[35, 5], Operations: ['48-46=2', '10/2=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[10, 48, 35, 46], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [10, 35, 2] Generated Node #0,3: 30:[10, 35, 2] Operation: 48-46=2 Moving to Node #0,3 Current State: 30:[10, 35, 2], Operations: ['48-46=2'] Exploring Operation: 10/2=5, Resulting Numbers: [35, 5] Generated Node #0,3,0: 30:[35, 5] Operation: 10/2=5 Moving to Node #0,3,0 Current State: 30:[35, 5], Operations: ['48-46=2', '10/2=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 3, 4, 40, 45 ]
59
[ "45/3=15", "4+40=44", "15+44=59" ]
Current State: 59:[3, 4, 40, 45], Operations: [] Exploring Operation: 45/3=15, Resulting Numbers: [4, 40, 15] Generated Node #2: [4, 40, 15] from Operation: 45/3=15 Current State: 59:[4, 40, 15], Operations: ['45/3=15'] Exploring Operation: 4+40=44, Resulting Numbers: [15, 44] Generated Node #3: [15, 44] from Operation: 4+40=44 Current State: 59:[15, 44], Operations: ['45/3=15', '4+40=44'] Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[3, 4, 40, 45], Operations: [] Exploring Operation: 3*4=12, Resulting Numbers: [40, 45, 12] Generated Node #0,0: 59:[40, 45, 12] Operation: 3*4=12 Exploring Operation: 3+40=43, Resulting Numbers: [4, 45, 43] Generated Node #0,1: 59:[4, 45, 43] Operation: 3+40=43 Exploring Operation: 3+4=7, Resulting Numbers: [40, 45, 7] Generated Node #0,2: 59:[40, 45, 7] Operation: 3+4=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[40, 45, 12], Operations: ['3*4=12'] Exploring Operation: 45+12=57, Resulting Numbers: [40, 57] Generated Node #0,0,0: 59:[40, 57] Operation: 45+12=57 Exploring Operation: 40-12=28, Resulting Numbers: [45, 28] Generated Node #0,0,1: 59:[45, 28] Operation: 40-12=28 Exploring Operation: 40+12=52, Resulting Numbers: [45, 52] Generated Node #0,0,2: 59:[45, 52] Operation: 40+12=52 Moving to Node #0,0,0 Current State: 59:[40, 57], Operations: ['3*4=12', '45+12=57'] Exploring Operation: 40*57=2280, Resulting Numbers: [2280] 2280,59 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 40+57=97, Resulting Numbers: [97] 97,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[45, 52], Operations: ['3*4=12', '40+12=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,59 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[45, 28], Operations: ['3*4=12', '40-12=28'] Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,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 Current State: 59:[4, 45, 43], Operations: ['3+40=43'] Exploring Operation: 45-4=41, Resulting Numbers: [43, 41] Generated Node #0,1,0: 59:[43, 41] Operation: 45-4=41 Exploring Operation: 4+45=49, Resulting Numbers: [43, 49] Generated Node #0,1,1: 59:[43, 49] Operation: 4+45=49 Exploring Operation: 4+43=47, Resulting Numbers: [45, 47] Generated Node #0,1,2: 59:[45, 47] Operation: 4+43=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[43, 49], Operations: ['3+40=43', '4+45=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,59 unequal: No Solution No 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: 59:[45, 47], Operations: ['3+40=43', '4+43=47'] Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,59 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,59 unequal: No Solution No 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: 59:[43, 41], Operations: ['3+40=43', '45-4=41'] Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,59 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,59 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: 59:[40, 45, 7], Operations: ['3+4=7'] Exploring Operation: 45+7=52, Resulting Numbers: [40, 52] Generated Node #0,2,0: 59:[40, 52] Operation: 45+7=52 Exploring Operation: 40+7=47, Resulting Numbers: [45, 47] Generated Node #0,2,1: 59:[45, 47] Operation: 40+7=47 Exploring Operation: 40-7=33, Resulting Numbers: [45, 33] Generated Node #0,2,2: 59:[45, 33] Operation: 40-7=33 Moving to Node #0,2,0 Current State: 59:[40, 52], Operations: ['3+4=7', '45+7=52'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[45, 47], Operations: ['3+4=7', '40+7=47'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[45, 33], Operations: ['3+4=7', '40-7=33'] Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,59 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
[ 67, 2, 75, 4 ]
83
[ "4-2=2", "75*2=150", "150-67=83" ]
Current State: 83:[67, 2, 75, 4], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [67, 75, 2] Generated Node #2: [67, 75, 2] from Operation: 4-2=2 Current State: 83:[67, 75, 2], Operations: ['4-2=2'] Exploring Operation: 75*2=150, Resulting Numbers: [67, 150] Generated Node #3: [67, 150] from Operation: 75*2=150 Current State: 83:[67, 150], Operations: ['4-2=2', '75*2=150'] Exploring Operation: 150-67=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[67, 2, 75, 4], Operations: [] Exploring Operation: 67+2=69, Resulting Numbers: [75, 4, 69] Generated Node #0,0: 83:[75, 4, 69] Operation: 67+2=69 Exploring Operation: 2*4=8, Resulting Numbers: [67, 75, 8] Generated Node #0,1: 83:[67, 75, 8] Operation: 2*4=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[67, 75, 8], Operations: ['2*4=8'] Exploring Operation: 75+8=83, Resulting Numbers: [67, 83] Generated Node #0,1,0: 83:[67, 83] Operation: 75+8=83 Exploring Operation: 67+8=75, Resulting Numbers: [75, 75] Generated Node #0,1,1: 83:[75, 75] Operation: 67+8=75 Moving to Node #0,1,0 Current State: 83:[67, 83], Operations: ['2*4=8', '75+8=83'] Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,83 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[75, 75], Operations: ['2*4=8', '67+8=75'] Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[75, 4, 69], Operations: ['67+2=69'] Exploring Operation: 4+69=73, Resulting Numbers: [75, 73] Generated Node #0,0,0: 83:[75, 73] Operation: 4+69=73 Exploring Operation: 75+4=79, Resulting Numbers: [69, 79] Generated Node #0,0,1: 83:[69, 79] Operation: 75+4=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[75, 73], Operations: ['67+2=69', '4+69=73'] Exploring Operation: 75+73=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[69, 79], Operations: ['67+2=69', '75+4=79'] Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 69+79=148, Resulting Numbers: [148] 148,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 39, 27, 54, 37 ]
78
[ "39+37=76", "54/27=2", "76+2=78" ]
Current State: 78:[39, 27, 54, 37], Operations: [] Exploring Operation: 39+37=76, Resulting Numbers: [27, 54, 76] Generated Node #2: [27, 54, 76] from Operation: 39+37=76 Current State: 78:[27, 54, 76], Operations: ['39+37=76'] Exploring Operation: 54/27=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 54/27=2 Current State: 78:[76, 2], Operations: ['39+37=76', '54/27=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[39, 27, 54, 37], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [27, 37, 15] Generated Node #0,0: 78:[27, 37, 15] Operation: 54-39=15 Exploring Operation: 54/27=2, Resulting Numbers: [39, 37, 2] Generated Node #0,1: 78:[39, 37, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [39, 37, 27] Generated Node #0,2: 78:[39, 37, 27] Operation: 54-27=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[39, 37, 2], Operations: ['54/27=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39, 39] Generated Node #0,1,0: 78:[39, 39] Operation: 37+2=39 Exploring Operation: 39+37=76, Resulting Numbers: [2, 76] Generated Node #0,1,1: 78:[2, 76] Operation: 39+37=76 Exploring Operation: 39-37=2, Resulting Numbers: [2, 2] Generated Node #0,1,2: 78:[2, 2] Operation: 39-37=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[39, 39], Operations: ['54/27=2', '37+2=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[39, 27, 54, 37], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [39, 37, 2] Generated Node #0,1: 78:[39, 37, 2] Operation: 54/27=2 Moving to Node #0,1 Current State: 78:[39, 37, 2], Operations: ['54/27=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39, 39] Generated Node #0,1,0: 78:[39, 39] Operation: 37+2=39 Moving to Node #0,1,0 Current State: 78:[39, 39], Operations: ['54/27=2', '37+2=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 78, 77, 63, 91 ]
65
[ "78*63=4914", "91+4914=5005", "5005/77=65" ]
Current State: 65:[78, 77, 63, 91], Operations: [] Exploring Operation: 78*63=4914, Resulting Numbers: [77, 91, 4914] Generated Node #2: [77, 91, 4914] from Operation: 78*63=4914 Current State: 65:[77, 91, 4914], Operations: ['78*63=4914'] Exploring Operation: 91+4914=5005, Resulting Numbers: [77, 5005] Generated Node #3: [77, 5005] from Operation: 91+4914=5005 Current State: 65:[77, 5005], Operations: ['78*63=4914', '91+4914=5005'] Exploring Operation: 5005/77=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[78, 77, 63, 91], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [77, 63, 13] Generated Node #0,0: 65:[77, 63, 13] Operation: 91-78=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[77, 63, 13], Operations: ['91-78=13'] Exploring Operation: 77-63=14, Resulting Numbers: [13, 14] Generated Node #0,0,0: 65:[13, 14] Operation: 77-63=14 Moving to Node #0,0,0 Current State: 65:[13, 14], Operations: ['91-78=13', '77-63=14'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,65 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
[ 59, 66, 60, 18 ]
49
[ "66-59=7", "60-18=42", "7+42=49" ]
Current State: 49:[59, 66, 60, 18], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [60, 18, 7] Generated Node #2: [60, 18, 7] from Operation: 66-59=7 Current State: 49:[60, 18, 7], Operations: ['66-59=7'] Exploring Operation: 60-18=42, Resulting Numbers: [7, 42] Generated Node #3: [7, 42] from Operation: 60-18=42 Current State: 49:[7, 42], Operations: ['66-59=7', '60-18=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[59, 66, 60, 18], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [66, 18, 1] Generated Node #0,0: 49:[66, 18, 1] Operation: 60-59=1 Exploring Operation: 66-60=6, Resulting Numbers: [59, 18, 6] Generated Node #0,1: 49:[59, 18, 6] Operation: 66-60=6 Exploring Operation: 66-59=7, Resulting Numbers: [60, 18, 7] Generated Node #0,2: 49:[60, 18, 7] Operation: 66-59=7 Exploring Operation: 66-18=48, Resulting Numbers: [59, 60, 48] Generated Node #0,3: 49:[59, 60, 48] Operation: 66-18=48 Moving to Node #0,1 Current State: 49:[59, 18, 6], Operations: ['66-60=6'] Exploring Operation: 18/6=3, Resulting Numbers: [59, 3] Generated Node #0,1,0: 49:[59, 3] Operation: 18/6=3 Exploring Operation: 59-18=41, Resulting Numbers: [6, 41] Generated Node #0,1,1: 49:[6, 41] Operation: 59-18=41 Exploring Operation: 59-6=53, Resulting Numbers: [18, 53] Generated Node #0,1,2: 49:[18, 53] Operation: 59-6=53 Exploring Operation: 18-6=12, Resulting Numbers: [59, 12] Generated Node #0,1,3: 49:[59, 12] Operation: 18-6=12 Moving to Node #0,3 Current State: 49:[59, 60, 48], Operations: ['66-18=48'] Exploring Operation: 60-59=1, Resulting Numbers: [48, 1] Generated Node #0,3,0: 49:[48, 1] Operation: 60-59=1 Exploring Operation: 59+48=107, Resulting Numbers: [60, 107] Generated Node #0,3,1: 49:[60, 107] Operation: 59+48=107 Exploring Operation: 60-48=12, Resulting Numbers: [59, 12] Generated Node #0,3,2: 49:[59, 12] Operation: 60-48=12 Exploring Operation: 59-48=11, Resulting Numbers: [60, 11] Generated Node #0,3,3: 49:[60, 11] Operation: 59-48=11 Moving to Node #0,2 Current State: 49:[60, 18, 7], Operations: ['66-59=7'] Exploring Operation: 60-18=42, Resulting Numbers: [7, 42] Generated Node #0,2,0: 49:[7, 42] Operation: 60-18=42 Exploring Operation: 18-7=11, Resulting Numbers: [60, 11] Generated Node #0,2,1: 49:[60, 11] Operation: 18-7=11 Exploring Operation: 60-7=53, Resulting Numbers: [18, 53] Generated Node #0,2,2: 49:[18, 53] Operation: 60-7=53 Exploring Operation: 60+18=78, Resulting Numbers: [7, 78] Generated Node #0,2,3: 49:[7, 78] Operation: 60+18=78 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[7, 42], Operations: ['66-59=7', '60-18=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[59, 66, 60, 18], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [60, 18, 7] Generated Node #0,2: 49:[60, 18, 7] Operation: 66-59=7 Moving to Node #0,2 Current State: 49:[60, 18, 7], Operations: ['66-59=7'] Exploring Operation: 60-18=42, Resulting Numbers: [7, 42] Generated Node #0,2,0: 49:[7, 42] Operation: 60-18=42 Moving to Node #0,2,0 Current State: 49:[7, 42], Operations: ['66-59=7', '60-18=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 95, 98, 84, 78 ]
31
[ "95+98=193", "84+78=162", "193-162=31" ]
Current State: 31:[95, 98, 84, 78], Operations: [] Exploring Operation: 95+98=193, Resulting Numbers: [84, 78, 193] Generated Node #2: [84, 78, 193] from Operation: 95+98=193 Current State: 31:[84, 78, 193], Operations: ['95+98=193'] Exploring Operation: 84+78=162, Resulting Numbers: [193, 162] Generated Node #3: [193, 162] from Operation: 84+78=162 Current State: 31:[193, 162], Operations: ['95+98=193', '84+78=162'] Exploring Operation: 193-162=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[95, 98, 84, 78], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [95, 78, 14] Generated Node #0,0: 31:[95, 78, 14] Operation: 98-84=14 Exploring Operation: 98-95=3, Resulting Numbers: [84, 78, 3] Generated Node #0,1: 31:[84, 78, 3] Operation: 98-95=3 Exploring Operation: 98-78=20, Resulting Numbers: [95, 84, 20] Generated Node #0,2: 31:[95, 84, 20] Operation: 98-78=20 Exploring Operation: 95-78=17, Resulting Numbers: [98, 84, 17] Generated Node #0,3: 31:[98, 84, 17] Operation: 95-78=17 Exploring Operation: 95-84=11, Resulting Numbers: [98, 78, 11] Generated Node #0,4: 31:[98, 78, 11] Operation: 95-84=11 Moving to Node #0,0 Current State: 31:[95, 78, 14], Operations: ['98-84=14'] Exploring Operation: 95+14=109, Resulting Numbers: [78, 109] Generated Node #0,0,0: 31:[78, 109] Operation: 95+14=109 Exploring Operation: 78-14=64, Resulting Numbers: [95, 64] Generated Node #0,0,1: 31:[95, 64] Operation: 78-14=64 Exploring Operation: 78+14=92, Resulting Numbers: [95, 92] Generated Node #0,0,2: 31:[95, 92] Operation: 78+14=92 Exploring Operation: 95-78=17, Resulting Numbers: [14, 17] Generated Node #0,0,3: 31:[14, 17] Operation: 95-78=17 Exploring Operation: 95-14=81, Resulting Numbers: [78, 81] Generated Node #0,0,4: 31:[78, 81] Operation: 95-14=81 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[14, 17], Operations: ['98-84=14', '95-78=17'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[95, 98, 84, 78], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [95, 78, 14] Generated Node #0,0: 31:[95, 78, 14] Operation: 98-84=14 Moving to Node #0,0 Current State: 31:[95, 78, 14], Operations: ['98-84=14'] Exploring Operation: 95-78=17, Resulting Numbers: [14, 17] Generated Node #0,0,3: 31:[14, 17] Operation: 95-78=17 Moving to Node #0,0,3 Current State: 31:[14, 17], Operations: ['98-84=14', '95-78=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 61, 37, 35, 81 ]
18
[ "61+37=98", "35+81=116", "116-98=18" ]
Current State: 18:[61, 37, 35, 81], Operations: [] Exploring Operation: 61+37=98, Resulting Numbers: [35, 81, 98] Generated Node #2: [35, 81, 98] from Operation: 61+37=98 Current State: 18:[35, 81, 98], Operations: ['61+37=98'] Exploring Operation: 35+81=116, Resulting Numbers: [98, 116] Generated Node #3: [98, 116] from Operation: 35+81=116 Current State: 18:[98, 116], Operations: ['61+37=98', '35+81=116'] Exploring Operation: 116-98=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[61, 37, 35, 81], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [35, 81, 24] Generated Node #0,0: 18:[35, 81, 24] Operation: 61-37=24 Exploring Operation: 81-61=20, Resulting Numbers: [37, 35, 20] Generated Node #0,1: 18:[37, 35, 20] Operation: 81-61=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[37, 35, 20], Operations: ['81-61=20'] Exploring Operation: 37-20=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 18:[35, 17] Operation: 37-20=17 Exploring Operation: 37-35=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 18:[20, 2] Operation: 37-35=2 Moving to Node #0,1,1 Current State: 18:[20, 2], Operations: ['81-61=20', '37-35=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[61, 37, 35, 81], Operations: [] Exploring Operation: 81-61=20, Resulting Numbers: [37, 35, 20] Generated Node #0,1: 18:[37, 35, 20] Operation: 81-61=20 Moving to Node #0,1 Current State: 18:[37, 35, 20], Operations: ['81-61=20'] Exploring Operation: 37-35=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 18:[20, 2] Operation: 37-35=2 Moving to Node #0,1,1 Current State: 18:[20, 2], Operations: ['81-61=20', '37-35=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 4, 5, 84, 36 ]
100
[ "4*5=20", "84+36=120", "120-20=100" ]
Current State: 100:[4, 5, 84, 36], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [84, 36, 20] Generated Node #2: [84, 36, 20] from Operation: 4*5=20 Current State: 100:[84, 36, 20], Operations: ['4*5=20'] Exploring Operation: 84+36=120, Resulting Numbers: [20, 120] Generated Node #3: [20, 120] from Operation: 84+36=120 Current State: 100:[20, 120], Operations: ['4*5=20', '84+36=120'] Exploring Operation: 120-20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[4, 5, 84, 36], Operations: [] Exploring Operation: 84-36=48, Resulting Numbers: [4, 5, 48] Generated Node #0,0: 100:[4, 5, 48] Operation: 84-36=48 Moving to Node #0,0 Current State: 100:[4, 5, 48], Operations: ['84-36=48'] Exploring Operation: 4*5=20, Resulting Numbers: [48, 20] Generated Node #0,0,0: 100:[48, 20] Operation: 4*5=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[48, 20], Operations: ['84-36=48', '4*5=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,100 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
[ 72, 92, 94, 38 ]
17
[ "72-38=34", "94-92=2", "34/2=17" ]
Current State: 17:[72, 92, 94, 38], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [92, 94, 34] Generated Node #2: [92, 94, 34] from Operation: 72-38=34 Current State: 17:[92, 94, 34], Operations: ['72-38=34'] Exploring Operation: 94-92=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 94-92=2 Current State: 17:[34, 2], Operations: ['72-38=34', '94-92=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[72, 92, 94, 38], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [92, 38, 22] Generated Node #0,0: 17:[92, 38, 22] Operation: 94-72=22 Exploring Operation: 94-92=2, Resulting Numbers: [72, 38, 2] Generated Node #0,1: 17:[72, 38, 2] Operation: 94-92=2 Exploring Operation: 92-72=20, Resulting Numbers: [94, 38, 20] Generated Node #0,2: 17:[94, 38, 20] Operation: 92-72=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[72, 38, 2], Operations: ['94-92=2'] Exploring Operation: 38/2=19, Resulting Numbers: [72, 19] Generated Node #0,1,0: 17:[72, 19] Operation: 38/2=19 Exploring Operation: 72-38=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 17:[2, 34] Operation: 72-38=34 Exploring Operation: 72/2=36, Resulting Numbers: [38, 36] Generated Node #0,1,2: 17:[38, 36] Operation: 72/2=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[2, 34], Operations: ['94-92=2', '72-38=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[72, 92, 94, 38], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [72, 38, 2] Generated Node #0,1: 17:[72, 38, 2] Operation: 94-92=2 Moving to Node #0,1 Current State: 17:[72, 38, 2], Operations: ['94-92=2'] Exploring Operation: 72-38=34, Resulting Numbers: [2, 34] Generated Node #0,1,1: 17:[2, 34] Operation: 72-38=34 Moving to Node #0,1,1 Current State: 17:[2, 34], Operations: ['94-92=2', '72-38=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 51, 91, 84, 42 ]
45
[ "91-84=7", "42/7=6", "51-6=45" ]
Current State: 45:[51, 91, 84, 42], Operations: [] Exploring Operation: 91-84=7, Resulting Numbers: [51, 42, 7] Generated Node #2: [51, 42, 7] from Operation: 91-84=7 Current State: 45:[51, 42, 7], Operations: ['91-84=7'] Exploring Operation: 42/7=6, Resulting Numbers: [51, 6] Generated Node #3: [51, 6] from Operation: 42/7=6 Current State: 45:[51, 6], Operations: ['91-84=7', '42/7=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[51, 91, 84, 42], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [84, 42, 40] Generated Node #0,0: 45:[84, 42, 40] Operation: 91-51=40 Exploring Operation: 91-84=7, Resulting Numbers: [51, 42, 7] Generated Node #0,1: 45:[51, 42, 7] Operation: 91-84=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[51, 42, 7], Operations: ['91-84=7'] Exploring Operation: 51-7=44, Resulting Numbers: [42, 44] Generated Node #0,1,0: 45:[42, 44] Operation: 51-7=44 Exploring Operation: 51-42=9, Resulting Numbers: [7, 9] Generated Node #0,1,1: 45:[7, 9] Operation: 51-42=9 Moving to Node #0,1,1 Current State: 45:[7, 9], Operations: ['91-84=7', '51-42=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[42, 44], Operations: ['91-84=7', '51-7=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[84, 42, 40], Operations: ['91-51=40'] Exploring Operation: 84-40=44, Resulting Numbers: [42, 44] Generated Node #0,0,0: 45:[42, 44] Operation: 84-40=44 Exploring Operation: 84/42=2, Resulting Numbers: [40, 2] Generated Node #0,0,1: 45:[40, 2] Operation: 84/42=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[42, 44], Operations: ['91-51=40', '84-40=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,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,1 Current State: 45:[40, 2], Operations: ['91-51=40', '84/42=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 55, 45, 28, 49 ]
11
[ "55-45=10", "49-28=21", "21-10=11" ]
Current State: 11:[55, 45, 28, 49], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [28, 49, 10] Generated Node #2: [28, 49, 10] from Operation: 55-45=10 Current State: 11:[28, 49, 10], Operations: ['55-45=10'] Exploring Operation: 49-28=21, Resulting Numbers: [10, 21] Generated Node #3: [10, 21] from Operation: 49-28=21 Current State: 11:[10, 21], Operations: ['55-45=10', '49-28=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[55, 45, 28, 49], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [55, 49, 17] Generated Node #0,0: 11:[55, 49, 17] Operation: 45-28=17 Exploring Operation: 55-49=6, Resulting Numbers: [45, 28, 6] Generated Node #0,1: 11:[45, 28, 6] Operation: 55-49=6 Exploring Operation: 55-28=27, Resulting Numbers: [45, 49, 27] Generated Node #0,2: 11:[45, 49, 27] Operation: 55-28=27 Exploring Operation: 55-45=10, Resulting Numbers: [28, 49, 10] Generated Node #0,3: 11:[28, 49, 10] Operation: 55-45=10 Exploring Operation: 49-45=4, Resulting Numbers: [55, 28, 4] Generated Node #0,4: 11:[55, 28, 4] Operation: 49-45=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[45, 28, 6], Operations: ['55-49=6'] Exploring Operation: 28-6=22, Resulting Numbers: [45, 22] Generated Node #0,1,0: 11:[45, 22] Operation: 28-6=22 Exploring Operation: 28+6=34, Resulting Numbers: [45, 34] Generated Node #0,1,1: 11:[45, 34] Operation: 28+6=34 Exploring Operation: 45-6=39, Resulting Numbers: [28, 39] Generated Node #0,1,2: 11:[28, 39] Operation: 45-6=39 Exploring Operation: 45-28=17, Resulting Numbers: [6, 17] Generated Node #0,1,3: 11:[6, 17] Operation: 45-28=17 Exploring Operation: 45+6=51, Resulting Numbers: [28, 51] Generated Node #0,1,4: 11:[28, 51] Operation: 45+6=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 11:[6, 17], Operations: ['55-49=6', '45-28=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,11 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[55, 45, 28, 49], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [45, 28, 6] Generated Node #0,1: 11:[45, 28, 6] Operation: 55-49=6 Moving to Node #0,1 Current State: 11:[45, 28, 6], Operations: ['55-49=6'] Exploring Operation: 45-28=17, Resulting Numbers: [6, 17] Generated Node #0,1,3: 11:[6, 17] Operation: 45-28=17 Moving to Node #0,1,3 Current State: 11:[6, 17], Operations: ['55-49=6', '45-28=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 37, 63, 28, 70 ]
39
[ "63-28=35", "70/35=2", "37+2=39" ]
Current State: 39:[37, 63, 28, 70], Operations: [] Exploring Operation: 63-28=35, Resulting Numbers: [37, 70, 35] Generated Node #2: [37, 70, 35] from Operation: 63-28=35 Current State: 39:[37, 70, 35], Operations: ['63-28=35'] Exploring Operation: 70/35=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 70/35=2 Current State: 39:[37, 2], Operations: ['63-28=35', '70/35=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[37, 63, 28, 70], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [37, 28, 7] Generated Node #0,0: 39:[37, 28, 7] Operation: 70-63=7 Moving to Node #0,0 Current State: 39:[37, 28, 7], Operations: ['70-63=7'] Exploring Operation: 28/7=4, Resulting Numbers: [37, 4] Generated Node #0,0,0: 39:[37, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[37, 4], Operations: ['70-63=7', '28/7=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,39 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
[ 24, 10, 47, 12 ]
55
[ "24/12=2", "10+47=57", "57-2=55" ]
Current State: 55:[24, 10, 47, 12], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [10, 47, 2] Generated Node #2: [10, 47, 2] from Operation: 24/12=2 Current State: 55:[10, 47, 2], Operations: ['24/12=2'] Exploring Operation: 10+47=57, Resulting Numbers: [2, 57] Generated Node #3: [2, 57] from Operation: 10+47=57 Current State: 55:[2, 57], Operations: ['24/12=2', '10+47=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[24, 10, 47, 12], Operations: [] Exploring Operation: 24-10=14, Resulting Numbers: [47, 12, 14] Generated Node #0,0: 55:[47, 12, 14] Operation: 24-10=14 Exploring Operation: 24-12=12, Resulting Numbers: [10, 47, 12] Generated Node #0,1: 55:[10, 47, 12] Operation: 24-12=12 Moving to Node #0,1 Current State: 55:[10, 47, 12], Operations: ['24-12=12'] Exploring Operation: 10+47=57, Resulting Numbers: [12, 57] Generated Node #0,1,0: 55:[12, 57] Operation: 10+47=57 Exploring Operation: 47+12=59, Resulting Numbers: [10, 59] Generated Node #0,1,1: 55:[10, 59] Operation: 47+12=59 Moving to Node #0,0 Current State: 55:[47, 12, 14], Operations: ['24-10=14'] Exploring Operation: 47+14=61, Resulting Numbers: [12, 61] Generated Node #0,0,0: 55:[12, 61] Operation: 47+14=61 Exploring Operation: 47+12=59, Resulting Numbers: [14, 59] Generated Node #0,0,1: 55:[14, 59] Operation: 47+12=59 Moving to Node #0,1,0 Current State: 55:[12, 57], Operations: ['24-12=12', '10+47=57'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[10, 59], Operations: ['24-12=12', '47+12=59'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[14, 59], Operations: ['24-10=14', '47+12=59'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[12, 61], Operations: ['24-10=14', '47+14=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,55 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 6, 63, 3, 47 ]
28
[ "63-6=57", "57/3=19", "47-19=28" ]
Current State: 28:[6, 63, 3, 47], Operations: [] Exploring Operation: 63-6=57, Resulting Numbers: [3, 47, 57] Generated Node #2: [3, 47, 57] from Operation: 63-6=57 Current State: 28:[3, 47, 57], Operations: ['63-6=57'] Exploring Operation: 57/3=19, Resulting Numbers: [47, 19] Generated Node #3: [47, 19] from Operation: 57/3=19 Current State: 28:[47, 19], Operations: ['63-6=57', '57/3=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[6, 63, 3, 47], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [6, 47, 21] Generated Node #0,0: 28:[6, 47, 21] Operation: 63/3=21 Exploring Operation: 63-47=16, Resulting Numbers: [6, 3, 16] Generated Node #0,1: 28:[6, 3, 16] Operation: 63-47=16 Exploring Operation: 47-6=41, Resulting Numbers: [63, 3, 41] Generated Node #0,2: 28:[63, 3, 41] Operation: 47-6=41 Exploring Operation: 63-6=57, Resulting Numbers: [3, 47, 57] Generated Node #0,3: 28:[3, 47, 57] Operation: 63-6=57 Moving to Node #0,1 Current State: 28:[6, 3, 16], Operations: ['63-47=16'] Exploring Operation: 6-3=3, Resulting Numbers: [16, 3] Generated Node #0,1,0: 28:[16, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 28:[16, 2] Operation: 6/3=2 Exploring Operation: 16-3=13, Resulting Numbers: [6, 13] Generated Node #0,1,2: 28:[6, 13] Operation: 16-3=13 Exploring Operation: 6+3=9, Resulting Numbers: [16, 9] Generated Node #0,1,3: 28:[16, 9] Operation: 6+3=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[16, 2], Operations: ['63-47=16', '6/3=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[6, 13], Operations: ['63-47=16', '16-3=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,28 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[16, 3], Operations: ['63-47=16', '6-3=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[16, 9], Operations: ['63-47=16', '6+3=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,28 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,28 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: 28:[6, 47, 21], Operations: ['63/3=21'] Exploring Operation: 21-6=15, Resulting Numbers: [47, 15] Generated Node #0,0,0: 28:[47, 15] Operation: 21-6=15 Exploring Operation: 47-6=41, Resulting Numbers: [21, 41] Generated Node #0,0,1: 28:[21, 41] Operation: 47-6=41 Exploring Operation: 6+21=27, Resulting Numbers: [47, 27] Generated Node #0,0,2: 28:[47, 27] Operation: 6+21=27 Exploring Operation: 47-21=26, Resulting Numbers: [6, 26] Generated Node #0,0,3: 28:[6, 26] Operation: 47-21=26 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[6, 26], Operations: ['63/3=21', '47-21=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,28 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[47, 15], Operations: ['63/3=21', '21-6=15'] Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,28 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[21, 41], Operations: ['63/3=21', '47-6=41'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[47, 27], Operations: ['63/3=21', '6+21=27'] Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,28 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,28 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: 28:[3, 47, 57], Operations: ['63-6=57'] Exploring Operation: 47-3=44, Resulting Numbers: [57, 44] Generated Node #0,3,0: 28:[57, 44] Operation: 47-3=44 Exploring Operation: 57/3=19, Resulting Numbers: [47, 19] Generated Node #0,3,1: 28:[47, 19] Operation: 57/3=19 Exploring Operation: 57-47=10, Resulting Numbers: [3, 10] Generated Node #0,3,2: 28:[3, 10] Operation: 57-47=10 Exploring Operation: 57-3=54, Resulting Numbers: [47, 54] Generated Node #0,3,3: 28:[47, 54] Operation: 57-3=54 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 28:[3, 10], Operations: ['63-6=57', '57-47=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[47, 19], Operations: ['63-6=57', '57/3=19'] Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,28 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[6, 63, 3, 47], Operations: [] Exploring Operation: 63-6=57, Resulting Numbers: [3, 47, 57] Generated Node #0,3: 28:[3, 47, 57] Operation: 63-6=57 Moving to Node #0,3 Current State: 28:[3, 47, 57], Operations: ['63-6=57'] Exploring Operation: 57/3=19, Resulting Numbers: [47, 19] Generated Node #0,3,1: 28:[47, 19] Operation: 57/3=19 Moving to Node #0,3,1 Current State: 28:[47, 19], Operations: ['63-6=57', '57/3=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 72, 70, 14, 2 ]
23
[ "72-14=58", "70/2=35", "58-35=23" ]
Current State: 23:[72, 70, 14, 2], Operations: [] Exploring Operation: 72-14=58, Resulting Numbers: [70, 2, 58] Generated Node #2: [70, 2, 58] from Operation: 72-14=58 Current State: 23:[70, 2, 58], Operations: ['72-14=58'] Exploring Operation: 70/2=35, Resulting Numbers: [58, 35] Generated Node #3: [58, 35] from Operation: 70/2=35 Current State: 23:[58, 35], Operations: ['72-14=58', '70/2=35'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[72, 70, 14, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [72, 14, 35] Generated Node #0,0: 23:[72, 14, 35] Operation: 70/2=35 Exploring Operation: 72/2=36, Resulting Numbers: [70, 14, 36] Generated Node #0,1: 23:[70, 14, 36] Operation: 72/2=36 Exploring Operation: 72-70=2, Resulting Numbers: [14, 2, 2] Generated Node #0,2: 23:[14, 2, 2] Operation: 72-70=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[14, 2, 2], Operations: ['72-70=2'] Exploring Operation: 14+2=16, Resulting Numbers: [2, 16] Generated Node #0,2,0: 23:[2, 16] Operation: 14+2=16 Exploring Operation: 14*2=28, Resulting Numbers: [2, 28] Generated Node #0,2,1: 23:[2, 28] Operation: 14*2=28 Exploring Operation: 14*2=28, Resulting Numbers: [2, 28] Generated Node #0,2,2: 23:[2, 28] Operation: 14*2=28 Moving to Node #0,2,1 Current State: 23:[2, 28], Operations: ['72-70=2', '14*2=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[2, 28], Operations: ['72-70=2', '14*2=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[2, 16], Operations: ['72-70=2', '14+2=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,23 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[70, 14, 36], Operations: ['72/2=36'] Exploring Operation: 70/14=5, Resulting Numbers: [36, 5] Generated Node #0,1,0: 23:[36, 5] Operation: 70/14=5 Exploring Operation: 70-14=56, Resulting Numbers: [36, 56] Generated Node #0,1,1: 23:[36, 56] Operation: 70-14=56 Exploring Operation: 70-36=34, Resulting Numbers: [14, 34] Generated Node #0,1,2: 23:[14, 34] Operation: 70-36=34 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[14, 34], Operations: ['72/2=36', '70-36=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,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,0 Current State: 23:[36, 5], Operations: ['72/2=36', '70/14=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,23 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,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:[36, 56], Operations: ['72/2=36', '70-14=56'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 36*56=2016, Resulting Numbers: [2016] 2016,23 unequal: No Solution Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[72, 14, 35], Operations: ['70/2=35'] Exploring Operation: 35-14=21, Resulting Numbers: [72, 21] Generated Node #0,0,0: 23:[72, 21] Operation: 35-14=21 Exploring Operation: 72-14=58, Resulting Numbers: [35, 58] Generated Node #0,0,1: 23:[35, 58] Operation: 72-14=58 Exploring Operation: 72-35=37, Resulting Numbers: [14, 37] Generated Node #0,0,2: 23:[14, 37] Operation: 72-35=37 Moving to Node #0,0,2 Current State: 23:[14, 37], Operations: ['70/2=35', '72-35=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[72, 70, 14, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [72, 14, 35] Generated Node #0,0: 23:[72, 14, 35] Operation: 70/2=35 Moving to Node #0,0 Current State: 23:[72, 14, 35], Operations: ['70/2=35'] Exploring Operation: 72-35=37, Resulting Numbers: [14, 37] Generated Node #0,0,2: 23:[14, 37] Operation: 72-35=37 Moving to Node #0,0,2 Current State: 23:[14, 37], Operations: ['70/2=35', '72-35=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 10, 4, 89, 19 ]
94
[ "10+4=14", "89+19=108", "108-14=94" ]
Current State: 94:[10, 4, 89, 19], Operations: [] Exploring Operation: 10+4=14, Resulting Numbers: [89, 19, 14] Generated Node #2: [89, 19, 14] from Operation: 10+4=14 Current State: 94:[89, 19, 14], Operations: ['10+4=14'] Exploring Operation: 89+19=108, Resulting Numbers: [14, 108] Generated Node #3: [14, 108] from Operation: 89+19=108 Current State: 94:[14, 108], Operations: ['10+4=14', '89+19=108'] Exploring Operation: 108-14=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[10, 4, 89, 19], Operations: [] Exploring Operation: 10+89=99, Resulting Numbers: [4, 19, 99] Generated Node #0,0: 94:[4, 19, 99] Operation: 10+89=99 Exploring Operation: 19-10=9, Resulting Numbers: [4, 89, 9] Generated Node #0,1: 94:[4, 89, 9] Operation: 19-10=9 Exploring Operation: 89+19=108, Resulting Numbers: [10, 4, 108] Generated Node #0,2: 94:[10, 4, 108] Operation: 89+19=108 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[4, 89, 9], Operations: ['19-10=9'] Exploring Operation: 4+89=93, Resulting Numbers: [9, 93] Generated Node #0,1,0: 94:[9, 93] Operation: 4+89=93 Exploring Operation: 89+9=98, Resulting Numbers: [4, 98] Generated Node #0,1,1: 94:[4, 98] Operation: 89+9=98 Exploring Operation: 9-4=5, Resulting Numbers: [89, 5] Generated Node #0,1,2: 94:[89, 5] Operation: 9-4=5 Moving to Node #0,1,1 Current State: 94:[4, 98], Operations: ['19-10=9', '89+9=98'] Exploring Operation: 4+98=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 4*98=392, Resulting Numbers: [392] 392,94 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[10, 4, 89, 19], Operations: [] Exploring Operation: 19-10=9, Resulting Numbers: [4, 89, 9] Generated Node #0,1: 94:[4, 89, 9] Operation: 19-10=9 Moving to Node #0,1 Current State: 94:[4, 89, 9], Operations: ['19-10=9'] Exploring Operation: 89+9=98, Resulting Numbers: [4, 98] Generated Node #0,1,1: 94:[4, 98] Operation: 89+9=98 Moving to Node #0,1,1 Current State: 94:[4, 98], Operations: ['19-10=9', '89+9=98'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 74, 13, 26, 37 ]
69
[ "37-26=11", "13*11=143", "143-74=69" ]
Current State: 69:[74, 13, 26, 37], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [74, 13, 11] Generated Node #2: [74, 13, 11] from Operation: 37-26=11 Current State: 69:[74, 13, 11], Operations: ['37-26=11'] Exploring Operation: 13*11=143, Resulting Numbers: [74, 143] Generated Node #3: [74, 143] from Operation: 13*11=143 Current State: 69:[74, 143], Operations: ['37-26=11', '13*11=143'] Exploring Operation: 143-74=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[74, 13, 26, 37], Operations: [] Exploring Operation: 26+37=63, Resulting Numbers: [74, 13, 63] Generated Node #0,0: 69:[74, 13, 63] Operation: 26+37=63 Exploring Operation: 74/37=2, Resulting Numbers: [13, 26, 2] Generated Node #0,1: 69:[13, 26, 2] Operation: 74/37=2 Exploring Operation: 37-26=11, Resulting Numbers: [74, 13, 11] Generated Node #0,2: 69:[74, 13, 11] Operation: 37-26=11 Exploring Operation: 26/13=2, Resulting Numbers: [74, 37, 2] Generated Node #0,3: 69:[74, 37, 2] Operation: 26/13=2 Exploring Operation: 37-13=24, Resulting Numbers: [74, 26, 24] Generated Node #0,4: 69:[74, 26, 24] Operation: 37-13=24 Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[74, 26, 24], Operations: ['37-13=24'] Exploring Operation: 74-26=48, Resulting Numbers: [24, 48] Generated Node #0,4,0: 69:[24, 48] Operation: 74-26=48 Exploring Operation: 26+24=50, Resulting Numbers: [74, 50] Generated Node #0,4,1: 69:[74, 50] Operation: 26+24=50 Exploring Operation: 74+26=100, Resulting Numbers: [24, 100] Generated Node #0,4,2: 69:[24, 100] Operation: 74+26=100 Exploring Operation: 74-24=50, Resulting Numbers: [26, 50] Generated Node #0,4,3: 69:[26, 50] Operation: 74-24=50 Exploring Operation: 26-24=2, Resulting Numbers: [74, 2] Generated Node #0,4,4: 69:[74, 2] Operation: 26-24=2 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 69:[74, 2], Operations: ['37-13=24', '26-24=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,69 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,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,0 Current State: 69:[24, 48], Operations: ['37-13=24', '74-26=48'] Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,69 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,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:[26, 50], Operations: ['37-13=24', '74-24=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,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:[74, 50], Operations: ['37-13=24', '26+24=50'] Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,69 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,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:[24, 100], Operations: ['37-13=24', '74+26=100'] Exploring Operation: 100-24=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 24*100=2400, Resulting Numbers: [2400] 2400,69 unequal: No Solution Exploring Operation: 24+100=124, Resulting Numbers: [124] 124,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:[13, 26, 2], Operations: ['74/37=2'] Exploring Operation: 13-2=11, Resulting Numbers: [26, 11] Generated Node #0,1,0: 69:[26, 11] Operation: 13-2=11 Exploring Operation: 26/13=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 69:[2, 2] Operation: 26/13=2 Exploring Operation: 13+2=15, Resulting Numbers: [26, 15] Generated Node #0,1,2: 69:[26, 15] Operation: 13+2=15 Exploring Operation: 13*2=26, Resulting Numbers: [26, 26] Generated Node #0,1,3: 69:[26, 26] Operation: 13*2=26 Exploring Operation: 26-13=13, Resulting Numbers: [2, 13] Generated Node #0,1,4: 69:[2, 13] Operation: 26-13=13 Moving to Node #0,1,1 Current State: 69:[2, 2], Operations: ['74/37=2', '26/13=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[26, 26], Operations: ['74/37=2', '13*2=26'] Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,69 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[26, 11], Operations: ['74/37=2', '13-2=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[26, 15], Operations: ['74/37=2', '13+2=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,69 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[2, 13], Operations: ['74/37=2', '26-13=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,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:[74, 37, 2], Operations: ['26/13=2'] Exploring Operation: 37-2=35, Resulting Numbers: [74, 35] Generated Node #0,3,0: 69:[74, 35] Operation: 37-2=35 Exploring Operation: 74/37=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 69:[2, 2] Operation: 74/37=2 Exploring Operation: 74-37=37, Resulting Numbers: [2, 37] Generated Node #0,3,2: 69:[2, 37] Operation: 74-37=37 Exploring Operation: 74-2=72, Resulting Numbers: [37, 72] Generated Node #0,3,3: 69:[37, 72] Operation: 74-2=72 Exploring Operation: 37*2=74, Resulting Numbers: [74, 74] Generated Node #0,3,4: 69:[74, 74] Operation: 37*2=74 Moving to Node #0,3,1 Current State: 69:[2, 2], Operations: ['26/13=2', '74/37=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[74, 74], Operations: ['26/13=2', '37*2=74'] Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,69 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,69 unequal: No Solution Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[2, 37], Operations: ['26/13=2', '74-37=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,69 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[74, 35], Operations: ['26/13=2', '37-2=35'] Exploring Operation: 74+35=109, Resulting Numbers: [109] 109,69 unequal: No Solution Exploring Operation: 74*35=2590, Resulting Numbers: [2590] 2590,69 unequal: No Solution Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[37, 72], Operations: ['26/13=2', '74-2=72'] Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,69 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,69 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[74, 13, 63], Operations: ['26+37=63'] Exploring Operation: 13+63=76, Resulting Numbers: [74, 76] Generated Node #0,0,0: 69:[74, 76] Operation: 13+63=76 Exploring Operation: 63-13=50, Resulting Numbers: [74, 50] Generated Node #0,0,1: 69:[74, 50] Operation: 63-13=50 Exploring Operation: 74-63=11, Resulting Numbers: [13, 11] Generated Node #0,0,2: 69:[13, 11] Operation: 74-63=11 Exploring Operation: 74+13=87, Resulting Numbers: [63, 87] Generated Node #0,0,3: 69:[63, 87] Operation: 74+13=87 Exploring Operation: 74-13=61, Resulting Numbers: [63, 61] Generated Node #0,0,4: 69:[63, 61] Operation: 74-13=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[74, 76], Operations: ['26+37=63', '13+63=76'] Exploring Operation: 74*76=5624, Resulting Numbers: [5624] 5624,69 unequal: No Solution Exploring Operation: 74+76=150, Resulting Numbers: [150] 150,69 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,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:[63, 61], Operations: ['26+37=63', '74-13=61'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 63*61=3843, Resulting Numbers: [3843] 3843,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,2 Current State: 69:[13, 11], Operations: ['26+37=63', '74-63=11'] Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,69 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,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:[74, 50], Operations: ['26+37=63', '63-13=50'] Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,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:[63, 87], Operations: ['26+37=63', '74+13=87'] Exploring Operation: 63+87=150, Resulting Numbers: [150] 150,69 unequal: No Solution Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 63*87=5481, Resulting Numbers: [5481] 5481,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:[74, 13, 11], Operations: ['37-26=11'] Exploring Operation: 74+13=87, Resulting Numbers: [11, 87] Generated Node #0,2,0: 69:[11, 87] Operation: 74+13=87 Exploring Operation: 13-11=2, Resulting Numbers: [74, 2] Generated Node #0,2,1: 69:[74, 2] Operation: 13-11=2 Exploring Operation: 74-13=61, Resulting Numbers: [11, 61] Generated Node #0,2,2: 69:[11, 61] Operation: 74-13=61 Exploring Operation: 74-11=63, Resulting Numbers: [13, 63] Generated Node #0,2,3: 69:[13, 63] Operation: 74-11=63 Exploring Operation: 13+11=24, Resulting Numbers: [74, 24] Generated Node #0,2,4: 69:[74, 24] Operation: 13+11=24 Moving to Node #0,2,1 Current State: 69:[74, 2], Operations: ['37-26=11', '13-11=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[74, 24], Operations: ['37-26=11', '13+11=24'] Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,69 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[11, 61], Operations: ['37-26=11', '74-13=61'] Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,69 unequal: No Solution Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[13, 63], Operations: ['37-26=11', '74-11=63'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 13*63=819, Resulting Numbers: [819] 819,69 unequal: No Solution Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[11, 87], Operations: ['37-26=11', '74+13=87'] Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 11+87=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 11*87=957, Resulting Numbers: [957] 957,69 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
[ 24, 94, 54, 10 ]
28
[ "94-54=40", "40/10=4", "24+4=28" ]
Current State: 28:[24, 94, 54, 10], Operations: [] Exploring Operation: 94-54=40, Resulting Numbers: [24, 10, 40] Generated Node #2: [24, 10, 40] from Operation: 94-54=40 Current State: 28:[24, 10, 40], Operations: ['94-54=40'] Exploring Operation: 40/10=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 40/10=4 Current State: 28:[24, 4], Operations: ['94-54=40', '40/10=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[24, 94, 54, 10], Operations: [] Exploring Operation: 94-54=40, Resulting Numbers: [24, 10, 40] Generated Node #0,0: 28:[24, 10, 40] Operation: 94-54=40 Exploring Operation: 94-24=70, Resulting Numbers: [54, 10, 70] Generated Node #0,1: 28:[54, 10, 70] Operation: 94-24=70 Moving to Node #0,0 Current State: 28:[24, 10, 40], Operations: ['94-54=40'] Exploring Operation: 40/10=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 28:[24, 4] Operation: 40/10=4 Exploring Operation: 40-24=16, Resulting Numbers: [10, 16] Generated Node #0,0,1: 28:[10, 16] Operation: 40-24=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[24, 4], Operations: ['94-54=40', '40/10=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[24, 94, 54, 10], Operations: [] Exploring Operation: 94-54=40, Resulting Numbers: [24, 10, 40] Generated Node #0,0: 28:[24, 10, 40] Operation: 94-54=40 Moving to Node #0,0 Current State: 28:[24, 10, 40], Operations: ['94-54=40'] Exploring Operation: 40/10=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 28:[24, 4] Operation: 40/10=4 Moving to Node #0,0,0 Current State: 28:[24, 4], Operations: ['94-54=40', '40/10=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 8, 38, 25, 2 ]
52
[ "8+25=33", "38/2=19", "33+19=52" ]
Current State: 52:[8, 38, 25, 2], Operations: [] Exploring Operation: 8+25=33, Resulting Numbers: [38, 2, 33] Generated Node #2: [38, 2, 33] from Operation: 8+25=33 Current State: 52:[38, 2, 33], Operations: ['8+25=33'] Exploring Operation: 38/2=19, Resulting Numbers: [33, 19] Generated Node #3: [33, 19] from Operation: 38/2=19 Current State: 52:[33, 19], Operations: ['8+25=33', '38/2=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[8, 38, 25, 2], Operations: [] Exploring Operation: 38-25=13, Resulting Numbers: [8, 2, 13] Generated Node #0,0: 52:[8, 2, 13] Operation: 38-25=13 Moving to Node #0,0 Current State: 52:[8, 2, 13], Operations: ['38-25=13'] Exploring Operation: 8/2=4, Resulting Numbers: [13, 4] Generated Node #0,0,0: 52:[13, 4] Operation: 8/2=4 Moving to Node #0,0,0 Current State: 52:[13, 4], Operations: ['38-25=13', '8/2=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[8, 38, 25, 2], Operations: [] Exploring Operation: 38-25=13, Resulting Numbers: [8, 2, 13] Generated Node #0,0: 52:[8, 2, 13] Operation: 38-25=13 Moving to Node #0,0 Current State: 52:[8, 2, 13], Operations: ['38-25=13'] Exploring Operation: 8/2=4, Resulting Numbers: [13, 4] Generated Node #0,0,0: 52:[13, 4] Operation: 8/2=4 Moving to Node #0,0,0 Current State: 52:[13, 4], Operations: ['38-25=13', '8/2=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 50, 68, 13, 17 ]
85
[ "68-50=18", "18-13=5", "17*5=85" ]
Current State: 85:[50, 68, 13, 17], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [13, 17, 18] Generated Node #2: [13, 17, 18] from Operation: 68-50=18 Current State: 85:[13, 17, 18], Operations: ['68-50=18'] Exploring Operation: 18-13=5, Resulting Numbers: [17, 5] Generated Node #3: [17, 5] from Operation: 18-13=5 Current State: 85:[17, 5], Operations: ['68-50=18', '18-13=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[50, 68, 13, 17], Operations: [] Exploring Operation: 50+68=118, Resulting Numbers: [13, 17, 118] Generated Node #0,0: 85:[13, 17, 118] Operation: 50+68=118 Exploring Operation: 68-50=18, Resulting Numbers: [13, 17, 18] Generated Node #0,1: 85:[13, 17, 18] Operation: 68-50=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[13, 17, 18], Operations: ['68-50=18'] Exploring Operation: 17-13=4, Resulting Numbers: [18, 4] Generated Node #0,1,0: 85:[18, 4] Operation: 17-13=4 Exploring Operation: 18-13=5, Resulting Numbers: [17, 5] Generated Node #0,1,1: 85:[17, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[17, 5], Operations: ['68-50=18', '18-13=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[50, 68, 13, 17], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [13, 17, 18] Generated Node #0,1: 85:[13, 17, 18] Operation: 68-50=18 Moving to Node #0,1 Current State: 85:[13, 17, 18], Operations: ['68-50=18'] Exploring Operation: 18-13=5, Resulting Numbers: [17, 5] Generated Node #0,1,1: 85:[17, 5] Operation: 18-13=5 Moving to Node #0,1,1 Current State: 85:[17, 5], Operations: ['68-50=18', '18-13=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 80, 82, 84, 41 ]
76
[ "80*82=6560", "6560/41=160", "160-84=76" ]
Current State: 76:[80, 82, 84, 41], Operations: [] Exploring Operation: 80*82=6560, Resulting Numbers: [84, 41, 6560] Generated Node #2: [84, 41, 6560] from Operation: 80*82=6560 Current State: 76:[84, 41, 6560], Operations: ['80*82=6560'] Exploring Operation: 6560/41=160, Resulting Numbers: [84, 160] Generated Node #3: [84, 160] from Operation: 6560/41=160 Current State: 76:[84, 160], Operations: ['80*82=6560', '6560/41=160'] Exploring Operation: 160-84=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[80, 82, 84, 41], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [80, 41, 2] Generated Node #0,0: 76:[80, 41, 2] Operation: 84-82=2 Exploring Operation: 84-80=4, Resulting Numbers: [82, 41, 4] Generated Node #0,1: 76:[82, 41, 4] Operation: 84-80=4 Exploring Operation: 82/41=2, Resulting Numbers: [80, 84, 2] Generated Node #0,2: 76:[80, 84, 2] Operation: 82/41=2 Exploring Operation: 82-80=2, Resulting Numbers: [84, 41, 2] Generated Node #0,3: 76:[84, 41, 2] Operation: 82-80=2 Exploring Operation: 80-41=39, Resulting Numbers: [82, 84, 39] Generated Node #0,4: 76:[82, 84, 39] Operation: 80-41=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[80, 41, 2], Operations: ['84-82=2'] Exploring Operation: 80+2=82, Resulting Numbers: [41, 82] Generated Node #0,0,0: 76:[41, 82] Operation: 80+2=82 Exploring Operation: 41-2=39, Resulting Numbers: [80, 39] Generated Node #0,0,1: 76:[80, 39] Operation: 41-2=39 Exploring Operation: 80-2=78, Resulting Numbers: [41, 78] Generated Node #0,0,2: 76:[41, 78] Operation: 80-2=78 Exploring Operation: 80/2=40, Resulting Numbers: [41, 40] Generated Node #0,0,3: 76:[41, 40] Operation: 80/2=40 Exploring Operation: 80-41=39, Resulting Numbers: [2, 39] Generated Node #0,0,4: 76:[2, 39] Operation: 80-41=39 Moving to Node #0,0,4 Current State: 76:[2, 39], Operations: ['84-82=2', '80-41=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[41, 78], Operations: ['84-82=2', '80-2=78'] Exploring Operation: 41+78=119, Resulting Numbers: [119] 119,76 unequal: No Solution Exploring Operation: 41*78=3198, Resulting Numbers: [3198] 3198,76 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[80, 39], Operations: ['84-82=2', '41-2=39'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 80+39=119, Resulting Numbers: [119] 119,76 unequal: No Solution Exploring Operation: 80*39=3120, Resulting Numbers: [3120] 3120,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[41, 40], Operations: ['84-82=2', '80/2=40'] Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[41, 82], Operations: ['84-82=2', '80+2=82'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 41*82=3362, Resulting Numbers: [3362] 3362,76 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[82, 41, 4], Operations: ['84-80=4'] Exploring Operation: 82-4=78, Resulting Numbers: [41, 78] Generated Node #0,1,0: 76:[41, 78] Operation: 82-4=78 Exploring Operation: 41-4=37, Resulting Numbers: [82, 37] Generated Node #0,1,1: 76:[82, 37] Operation: 41-4=37 Exploring Operation: 82+4=86, Resulting Numbers: [41, 86] Generated Node #0,1,2: 76:[41, 86] Operation: 82+4=86 Exploring Operation: 82-41=41, Resulting Numbers: [4, 41] Generated Node #0,1,3: 76:[4, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [4, 2] Generated Node #0,1,4: 76:[4, 2] Operation: 82/41=2 Moving to Node #0,1,4 Current State: 76:[4, 2], Operations: ['84-80=4', '82/41=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[4, 41], Operations: ['84-80=4', '82-41=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[41, 78], Operations: ['84-80=4', '82-4=78'] Exploring Operation: 41*78=3198, Resulting Numbers: [3198] 3198,76 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 41+78=119, Resulting Numbers: [119] 119,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[82, 37], Operations: ['84-80=4', '41-4=37'] Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,76 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[41, 86], Operations: ['84-80=4', '82+4=86'] Exploring Operation: 41+86=127, Resulting Numbers: [127] 127,76 unequal: No Solution Exploring Operation: 41*86=3526, Resulting Numbers: [3526] 3526,76 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[84, 41, 2], Operations: ['82-80=2'] Exploring Operation: 84-41=43, Resulting Numbers: [2, 43] Generated Node #0,3,0: 76:[2, 43] Operation: 84-41=43 Exploring Operation: 84/2=42, Resulting Numbers: [41, 42] Generated Node #0,3,1: 76:[41, 42] Operation: 84/2=42 Exploring Operation: 41-2=39, Resulting Numbers: [84, 39] Generated Node #0,3,2: 76:[84, 39] Operation: 41-2=39 Exploring Operation: 84-2=82, Resulting Numbers: [41, 82] Generated Node #0,3,3: 76:[41, 82] Operation: 84-2=82 Exploring Operation: 84+2=86, Resulting Numbers: [41, 86] Generated Node #0,3,4: 76:[41, 86] Operation: 84+2=86 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[2, 43], Operations: ['82-80=2', '84-41=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,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,3,1 Current State: 76:[41, 42], Operations: ['82-80=2', '84/2=42'] Exploring Operation: 41*42=1722, Resulting Numbers: [1722] 1722,76 unequal: No Solution Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,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,3,2 Current State: 76:[84, 39], Operations: ['82-80=2', '41-2=39'] Exploring Operation: 84+39=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 84*39=3276, Resulting Numbers: [3276] 3276,76 unequal: No Solution Exploring Operation: 84-39=45, Resulting Numbers: [45] 45,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,3,3 Current State: 76:[41, 82], Operations: ['82-80=2', '84-2=82'] Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 41+82=123, Resulting Numbers: [123] 123,76 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 41*82=3362, Resulting Numbers: [3362] 3362,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,3,4 Current State: 76:[41, 86], Operations: ['82-80=2', '84+2=86'] Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 41+86=127, Resulting Numbers: [127] 127,76 unequal: No Solution Exploring Operation: 41*86=3526, Resulting Numbers: [3526] 3526,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:[80, 84, 2], Operations: ['82/41=2'] Exploring Operation: 84/2=42, Resulting Numbers: [80, 42] Generated Node #0,2,0: 76:[80, 42] Operation: 84/2=42 Exploring Operation: 84-2=82, Resulting Numbers: [80, 82] Generated Node #0,2,1: 76:[80, 82] Operation: 84-2=82 Exploring Operation: 80-2=78, Resulting Numbers: [84, 78] Generated Node #0,2,2: 76:[84, 78] Operation: 80-2=78 Exploring Operation: 80/2=40, Resulting Numbers: [84, 40] Generated Node #0,2,3: 76:[84, 40] Operation: 80/2=40 Exploring Operation: 84-80=4, Resulting Numbers: [2, 4] Generated Node #0,2,4: 76:[2, 4] Operation: 84-80=4 Moving to Node #0,2,4 Current State: 76:[2, 4], Operations: ['82/41=2', '84-80=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[80, 42], Operations: ['82/41=2', '84/2=42'] Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,76 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,76 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[80, 82], Operations: ['82/41=2', '84-2=82'] Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 80*82=6560, Resulting Numbers: [6560] 6560,76 unequal: No Solution Exploring Operation: 80+82=162, Resulting Numbers: [162] 162,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[84, 78], Operations: ['82/41=2', '80-2=78'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,76 unequal: No Solution Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[84, 40], Operations: ['82/41=2', '80/2=40'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,76 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,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,4 Current State: 76:[82, 84, 39], Operations: ['80-41=39'] Exploring Operation: 82-39=43, Resulting Numbers: [84, 43] Generated Node #0,4,0: 76:[84, 43] Operation: 82-39=43 Exploring Operation: 82+39=121, Resulting Numbers: [84, 121] Generated Node #0,4,1: 76:[84, 121] Operation: 82+39=121 Exploring Operation: 84+39=123, Resulting Numbers: [82, 123] Generated Node #0,4,2: 76:[82, 123] Operation: 84+39=123 Exploring Operation: 84-82=2, Resulting Numbers: [39, 2] Generated Node #0,4,3: 76:[39, 2] Operation: 84-82=2 Exploring Operation: 84-39=45, Resulting Numbers: [82, 45] Generated Node #0,4,4: 76:[82, 45] Operation: 84-39=45 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 76:[39, 2], Operations: ['80-41=39', '84-82=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 39+2=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,4,0 Current State: 76:[84, 43], Operations: ['80-41=39', '82-39=43'] Exploring Operation: 84*43=3612, Resulting Numbers: [3612] 3612,76 unequal: No Solution Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 84+43=127, Resulting Numbers: [127] 127,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,4,4 Current State: 76:[82, 45], Operations: ['80-41=39', '84-39=45'] Exploring Operation: 82*45=3690, Resulting Numbers: [3690] 3690,76 unequal: No Solution Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,76 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,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,4,1 Current State: 76:[84, 121], Operations: ['80-41=39', '82+39=121'] Exploring Operation: 84*121=10164, Resulting Numbers: [10164] 10164,76 unequal: No Solution Exploring Operation: 84+121=205, Resulting Numbers: [205] 205,76 unequal: No Solution Exploring Operation: 121-84=37, Resulting Numbers: [37] 37,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,4,2 Current State: 76:[82, 123], Operations: ['80-41=39', '84+39=123'] Exploring Operation: 82*123=10086, Resulting Numbers: [10086] 10086,76 unequal: No Solution Exploring Operation: 82+123=205, Resulting Numbers: [205] 205,76 unequal: No Solution Exploring Operation: 123-82=41, Resulting Numbers: [41] 41,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 No solution found.
0
hs_5
mult_heuristic
[ 19, 36, 49, 72 ]
40
[ "36-19=17", "72-49=23", "17+23=40" ]
Current State: 40:[19, 36, 49, 72], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [49, 72, 17] Generated Node #2: [49, 72, 17] from Operation: 36-19=17 Current State: 40:[49, 72, 17], Operations: ['36-19=17'] Exploring Operation: 72-49=23, Resulting Numbers: [17, 23] Generated Node #3: [17, 23] from Operation: 72-49=23 Current State: 40:[17, 23], Operations: ['36-19=17', '72-49=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[19, 36, 49, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [19, 49, 2] Generated Node #0,0: 40:[19, 49, 2] Operation: 72/36=2 Exploring Operation: 72-19=53, Resulting Numbers: [36, 49, 53] Generated Node #0,1: 40:[36, 49, 53] Operation: 72-19=53 Exploring Operation: 72-36=36, Resulting Numbers: [19, 49, 36] Generated Node #0,2: 40:[19, 49, 36] Operation: 72-36=36 Exploring Operation: 49-36=13, Resulting Numbers: [19, 72, 13] Generated Node #0,3: 40:[19, 72, 13] Operation: 49-36=13 Exploring Operation: 72-49=23, Resulting Numbers: [19, 36, 23] Generated Node #0,4: 40:[19, 36, 23] Operation: 72-49=23 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[19, 36, 23], Operations: ['72-49=23'] Exploring Operation: 36-23=13, Resulting Numbers: [19, 13] Generated Node #0,4,0: 40:[19, 13] Operation: 36-23=13 Exploring Operation: 36-19=17, Resulting Numbers: [23, 17] Generated Node #0,4,1: 40:[23, 17] Operation: 36-19=17 Exploring Operation: 19+36=55, Resulting Numbers: [23, 55] Generated Node #0,4,2: 40:[23, 55] Operation: 19+36=55 Exploring Operation: 19+23=42, Resulting Numbers: [36, 42] Generated Node #0,4,3: 40:[36, 42] Operation: 19+23=42 Exploring Operation: 23-19=4, Resulting Numbers: [36, 4] Generated Node #0,4,4: 40:[36, 4] Operation: 23-19=4 Moving to Node #0,4,0 Current State: 40:[19, 13], Operations: ['72-49=23', '36-23=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,40 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,40 unequal: No Solution Moving to Node #0,4,4 Current State: 40:[36, 4], Operations: ['72-49=23', '23-19=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[19, 36, 49, 72], Operations: [] Exploring Operation: 72-49=23, Resulting Numbers: [19, 36, 23] Generated Node #0,4: 40:[19, 36, 23] Operation: 72-49=23 Moving to Node #0,4 Current State: 40:[19, 36, 23], Operations: ['72-49=23'] Exploring Operation: 23-19=4, Resulting Numbers: [36, 4] Generated Node #0,4,4: 40:[36, 4] Operation: 23-19=4 Moving to Node #0,4,4 Current State: 40:[36, 4], Operations: ['72-49=23', '23-19=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic