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
[ 26, 12, 3, 27 ]
69
[ "26-12=14", "3*14=42", "27+42=69" ]
Current State: 69:[26, 12, 3, 27], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [3, 27, 14] Generated Node #2: [3, 27, 14] from Operation: 26-12=14 Current State: 69:[3, 27, 14], Operations: ['26-12=14'] Exploring Operation: 3*14=42, Resulting Numbers: [27, 42] Generated Node #3: [27, 42] from Operation: 3*14=42 Current State: 69:[27, 42], Operations: ['26-12=14', '3*14=42'] Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[26, 12, 3, 27], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [12, 3, 1] Generated Node #0,0: 69:[12, 3, 1] Operation: 27-26=1 Exploring Operation: 12/3=4, Resulting Numbers: [26, 27, 4] Generated Node #0,1: 69:[26, 27, 4] Operation: 12/3=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[26, 27, 4], Operations: ['12/3=4'] Exploring Operation: 27-26=1, Resulting Numbers: [4, 1] Generated Node #0,1,0: 69:[4, 1] Operation: 27-26=1 Exploring Operation: 27-4=23, Resulting Numbers: [26, 23] Generated Node #0,1,1: 69:[26, 23] Operation: 27-4=23 Moving to Node #0,1,0 Current State: 69:[4, 1], Operations: ['12/3=4', '27-26=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[26, 23], Operations: ['12/3=4', '27-4=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,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:[12, 3, 1], Operations: ['27-26=1'] Exploring Operation: 12/3=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 69:[1, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [1, 9] Generated Node #0,0,1: 69:[1, 9] Operation: 12-3=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[1, 4], Operations: ['27-26=1', '12/3=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,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:[1, 9], Operations: ['27-26=1', '12-3=9'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 69, 4, 52, 31 ]
44
[ "69-4=65", "52-31=21", "65-21=44" ]
Current State: 44:[69, 4, 52, 31], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [52, 31, 65] Generated Node #2: [52, 31, 65] from Operation: 69-4=65 Current State: 44:[52, 31, 65], Operations: ['69-4=65'] Exploring Operation: 52-31=21, Resulting Numbers: [65, 21] Generated Node #3: [65, 21] from Operation: 52-31=21 Current State: 44:[65, 21], Operations: ['69-4=65', '52-31=21'] Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[69, 4, 52, 31], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [4, 52, 38] Generated Node #0,0: 44:[4, 52, 38] Operation: 69-31=38 Exploring Operation: 69-52=17, Resulting Numbers: [4, 31, 17] Generated Node #0,1: 44:[4, 31, 17] Operation: 69-52=17 Exploring Operation: 52/4=13, Resulting Numbers: [69, 31, 13] Generated Node #0,2: 44:[69, 31, 13] Operation: 52/4=13 Exploring Operation: 52-31=21, Resulting Numbers: [69, 4, 21] Generated Node #0,3: 44:[69, 4, 21] Operation: 52-31=21 Exploring Operation: 69-4=65, Resulting Numbers: [52, 31, 65] Generated Node #0,4: 44:[52, 31, 65] Operation: 69-4=65 Moving to Node #0,0 Current State: 44:[4, 52, 38], Operations: ['69-31=38'] Exploring Operation: 52-38=14, Resulting Numbers: [4, 14] Generated Node #0,0,0: 44:[4, 14] Operation: 52-38=14 Exploring Operation: 52/4=13, Resulting Numbers: [38, 13] Generated Node #0,0,1: 44:[38, 13] Operation: 52/4=13 Exploring Operation: 4+38=42, Resulting Numbers: [52, 42] Generated Node #0,0,2: 44:[52, 42] Operation: 4+38=42 Exploring Operation: 52-4=48, Resulting Numbers: [38, 48] Generated Node #0,0,3: 44:[38, 48] Operation: 52-4=48 Exploring Operation: 4+52=56, Resulting Numbers: [38, 56] Generated Node #0,0,4: 44:[38, 56] Operation: 4+52=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[4, 14], Operations: ['69-31=38', '52-38=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,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,1 Current State: 44:[38, 13], Operations: ['69-31=38', '52/4=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,44 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,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:[52, 42], Operations: ['69-31=38', '4+38=42'] Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,44 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,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:[38, 48], Operations: ['69-31=38', '52-4=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,44 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,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,4 Current State: 44:[38, 56], Operations: ['69-31=38', '4+52=56'] Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,44 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,44 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,44 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: 44:[4, 31, 17], Operations: ['69-52=17'] Exploring Operation: 31-4=27, Resulting Numbers: [17, 27] Generated Node #0,1,0: 44:[17, 27] Operation: 31-4=27 Exploring Operation: 31-17=14, Resulting Numbers: [4, 14] Generated Node #0,1,1: 44:[4, 14] Operation: 31-17=14 Exploring Operation: 17-4=13, Resulting Numbers: [31, 13] Generated Node #0,1,2: 44:[31, 13] Operation: 17-4=13 Exploring Operation: 31+17=48, Resulting Numbers: [4, 48] Generated Node #0,1,3: 44:[4, 48] Operation: 31+17=48 Exploring Operation: 4+17=21, Resulting Numbers: [31, 21] Generated Node #0,1,4: 44:[31, 21] Operation: 4+17=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[4, 14], Operations: ['69-52=17', '31-17=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[4, 48], Operations: ['69-52=17', '31+17=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[69, 4, 52, 31], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [4, 31, 17] Generated Node #0,1: 44:[4, 31, 17] Operation: 69-52=17 Moving to Node #0,1 Current State: 44:[4, 31, 17], Operations: ['69-52=17'] Exploring Operation: 31+17=48, Resulting Numbers: [4, 48] Generated Node #0,1,3: 44:[4, 48] Operation: 31+17=48 Moving to Node #0,1,3 Current State: 44:[4, 48], Operations: ['69-52=17', '31+17=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 45, 63, 10, 13 ]
48
[ "13-10=3", "45/3=15", "63-15=48" ]
Current State: 48:[45, 63, 10, 13], Operations: [] Exploring Operation: 13-10=3, Resulting Numbers: [45, 63, 3] Generated Node #2: [45, 63, 3] from Operation: 13-10=3 Current State: 48:[45, 63, 3], Operations: ['13-10=3'] Exploring Operation: 45/3=15, Resulting Numbers: [63, 15] Generated Node #3: [63, 15] from Operation: 45/3=15 Current State: 48:[63, 15], Operations: ['13-10=3', '45/3=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[45, 63, 10, 13], Operations: [] Exploring Operation: 63-45=18, Resulting Numbers: [10, 13, 18] Generated Node #0,0: 48:[10, 13, 18] Operation: 63-45=18 Exploring Operation: 63-10=53, Resulting Numbers: [45, 13, 53] Generated Node #0,1: 48:[45, 13, 53] Operation: 63-10=53 Exploring Operation: 63-13=50, Resulting Numbers: [45, 10, 50] Generated Node #0,2: 48:[45, 10, 50] Operation: 63-13=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[10, 13, 18], Operations: ['63-45=18'] Exploring Operation: 13-10=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 48:[18, 3] Operation: 13-10=3 Exploring Operation: 10+13=23, Resulting Numbers: [18, 23] Generated Node #0,0,1: 48:[18, 23] Operation: 10+13=23 Exploring Operation: 18-10=8, Resulting Numbers: [13, 8] Generated Node #0,0,2: 48:[13, 8] Operation: 18-10=8 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[13, 8], Operations: ['63-45=18', '18-10=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[18, 3], Operations: ['63-45=18', '13-10=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[18, 23], Operations: ['63-45=18', '10+13=23'] Exploring Operation: 18*23=414, Resulting Numbers: [414] 414,48 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[45, 10, 50], Operations: ['63-13=50'] Exploring Operation: 50-45=5, Resulting Numbers: [10, 5] Generated Node #0,2,0: 48:[10, 5] Operation: 50-45=5 Exploring Operation: 50/10=5, Resulting Numbers: [45, 5] Generated Node #0,2,1: 48:[45, 5] Operation: 50/10=5 Exploring Operation: 45+10=55, Resulting Numbers: [50, 55] Generated Node #0,2,2: 48:[50, 55] Operation: 45+10=55 Moving to Node #0,2,0 Current State: 48:[10, 5], Operations: ['63-13=50', '50-45=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[45, 5], Operations: ['63-13=50', '50/10=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[50, 55], Operations: ['63-13=50', '45+10=55'] Exploring Operation: 50*55=2750, Resulting Numbers: [2750] 2750,48 unequal: No Solution Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 50+55=105, Resulting Numbers: [105] 105,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,1 Current State: 48:[45, 13, 53], Operations: ['63-10=53'] Exploring Operation: 45-13=32, Resulting Numbers: [53, 32] Generated Node #0,1,0: 48:[53, 32] Operation: 45-13=32 Exploring Operation: 53-13=40, Resulting Numbers: [45, 40] Generated Node #0,1,1: 48:[45, 40] Operation: 53-13=40 Exploring Operation: 53-45=8, Resulting Numbers: [13, 8] Generated Node #0,1,2: 48:[13, 8] Operation: 53-45=8 Moving to Node #0,1,2 Current State: 48:[13, 8], Operations: ['63-10=53', '53-45=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[45, 40], Operations: ['63-10=53', '53-13=40'] Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,48 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,48 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[53, 32], Operations: ['63-10=53', '45-13=32'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,48 unequal: No Solution Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,48 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
[ 69, 38, 10, 73 ]
94
[ "69-38=31", "73-10=63", "31+63=94" ]
Current State: 94:[69, 38, 10, 73], Operations: [] Exploring Operation: 69-38=31, Resulting Numbers: [10, 73, 31] Generated Node #2: [10, 73, 31] from Operation: 69-38=31 Current State: 94:[10, 73, 31], Operations: ['69-38=31'] Exploring Operation: 73-10=63, Resulting Numbers: [31, 63] Generated Node #3: [31, 63] from Operation: 73-10=63 Current State: 94:[31, 63], Operations: ['69-38=31', '73-10=63'] Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[69, 38, 10, 73], Operations: [] Exploring Operation: 69+38=107, Resulting Numbers: [10, 73, 107] Generated Node #0,0: 94:[10, 73, 107] Operation: 69+38=107 Exploring Operation: 73-69=4, Resulting Numbers: [38, 10, 4] Generated Node #0,1: 94:[38, 10, 4] Operation: 73-69=4 Exploring Operation: 69-10=59, Resulting Numbers: [38, 73, 59] Generated Node #0,2: 94:[38, 73, 59] Operation: 69-10=59 Exploring Operation: 73-38=35, Resulting Numbers: [69, 10, 35] Generated Node #0,3: 94:[69, 10, 35] Operation: 73-38=35 Exploring Operation: 10+73=83, Resulting Numbers: [69, 38, 83] Generated Node #0,4: 94:[69, 38, 83] Operation: 10+73=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[38, 10, 4], Operations: ['73-69=4'] Exploring Operation: 38-10=28, Resulting Numbers: [4, 28] Generated Node #0,1,0: 94:[4, 28] Operation: 38-10=28 Exploring Operation: 38+4=42, Resulting Numbers: [10, 42] Generated Node #0,1,1: 94:[10, 42] Operation: 38+4=42 Exploring Operation: 10*4=40, Resulting Numbers: [38, 40] Generated Node #0,1,2: 94:[38, 40] Operation: 10*4=40 Exploring Operation: 10-4=6, Resulting Numbers: [38, 6] Generated Node #0,1,3: 94:[38, 6] Operation: 10-4=6 Exploring Operation: 38+10=48, Resulting Numbers: [4, 48] Generated Node #0,1,4: 94:[4, 48] Operation: 38+10=48 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 94:[4, 48], Operations: ['73-69=4', '38+10=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[10, 42], Operations: ['73-69=4', '38+4=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,94 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 94:[38, 6], Operations: ['73-69=4', '10-4=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,94 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[38, 40], Operations: ['73-69=4', '10*4=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,94 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[4, 28], Operations: ['73-69=4', '38-10=28'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[10, 73, 107], Operations: ['69+38=107'] Exploring Operation: 107-10=97, Resulting Numbers: [73, 97] Generated Node #0,0,0: 94:[73, 97] Operation: 107-10=97 Exploring Operation: 10+107=117, Resulting Numbers: [73, 117] Generated Node #0,0,1: 94:[73, 117] Operation: 10+107=117 Exploring Operation: 107-73=34, Resulting Numbers: [10, 34] Generated Node #0,0,2: 94:[10, 34] Operation: 107-73=34 Exploring Operation: 10+73=83, Resulting Numbers: [107, 83] Generated Node #0,0,3: 94:[107, 83] Operation: 10+73=83 Exploring Operation: 73-10=63, Resulting Numbers: [107, 63] Generated Node #0,0,4: 94:[107, 63] Operation: 73-10=63 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[10, 34], Operations: ['69+38=107', '107-73=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,94 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[73, 97], Operations: ['69+38=107', '107-10=97'] Exploring Operation: 73*97=7081, Resulting Numbers: [7081] 7081,94 unequal: No Solution Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 73+97=170, Resulting Numbers: [170] 170,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[107, 83], Operations: ['69+38=107', '10+73=83'] Exploring Operation: 107*83=8881, Resulting Numbers: [8881] 8881,94 unequal: No Solution Exploring Operation: 107+83=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 107-83=24, Resulting Numbers: [24] 24,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 94:[107, 63], Operations: ['69+38=107', '73-10=63'] Exploring Operation: 107-63=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 107+63=170, Resulting Numbers: [170] 170,94 unequal: No Solution Exploring Operation: 107*63=6741, Resulting Numbers: [6741] 6741,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[73, 117], Operations: ['69+38=107', '10+107=117'] Exploring Operation: 73*117=8541, Resulting Numbers: [8541] 8541,94 unequal: No Solution Exploring Operation: 73+117=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 117-73=44, Resulting Numbers: [44] 44,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[38, 73, 59], Operations: ['69-10=59'] Exploring Operation: 38+59=97, Resulting Numbers: [73, 97] Generated Node #0,2,0: 94:[73, 97] Operation: 38+59=97 Exploring Operation: 73-59=14, Resulting Numbers: [38, 14] Generated Node #0,2,1: 94:[38, 14] Operation: 73-59=14 Exploring Operation: 59-38=21, Resulting Numbers: [73, 21] Generated Node #0,2,2: 94:[73, 21] Operation: 59-38=21 Exploring Operation: 38+73=111, Resulting Numbers: [59, 111] Generated Node #0,2,3: 94:[59, 111] Operation: 38+73=111 Exploring Operation: 73-38=35, Resulting Numbers: [59, 35] Generated Node #0,2,4: 94:[59, 35] Operation: 73-38=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[38, 14], Operations: ['69-10=59', '73-59=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,94 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[73, 97], Operations: ['69-10=59', '38+59=97'] Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 73+97=170, Resulting Numbers: [170] 170,94 unequal: No Solution Exploring Operation: 73*97=7081, Resulting Numbers: [7081] 7081,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 94:[59, 35], Operations: ['69-10=59', '73-38=35'] Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,94 unequal: No Solution Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[69, 38, 10, 73], Operations: [] Exploring Operation: 69-10=59, Resulting Numbers: [38, 73, 59] Generated Node #0,2: 94:[38, 73, 59] Operation: 69-10=59 Moving to Node #0,2 Current State: 94:[38, 73, 59], Operations: ['69-10=59'] Exploring Operation: 73-38=35, Resulting Numbers: [59, 35] Generated Node #0,2,4: 94:[59, 35] Operation: 73-38=35 Moving to Node #0,2,4 Current State: 94:[59, 35], Operations: ['69-10=59', '73-38=35'] Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.944444
hs_5
mult_heuristic
[ 69, 9, 14, 89 ]
86
[ "9+14=23", "69/23=3", "89-3=86" ]
Current State: 86:[69, 9, 14, 89], Operations: [] Exploring Operation: 9+14=23, Resulting Numbers: [69, 89, 23] Generated Node #2: [69, 89, 23] from Operation: 9+14=23 Current State: 86:[69, 89, 23], Operations: ['9+14=23'] Exploring Operation: 69/23=3, Resulting Numbers: [89, 3] Generated Node #3: [89, 3] from Operation: 69/23=3 Current State: 86:[89, 3], Operations: ['9+14=23', '69/23=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[69, 9, 14, 89], Operations: [] Exploring Operation: 69+14=83, Resulting Numbers: [9, 89, 83] Generated Node #0,0: 86:[9, 89, 83] Operation: 69+14=83 Exploring Operation: 69-14=55, Resulting Numbers: [9, 89, 55] Generated Node #0,1: 86:[9, 89, 55] Operation: 69-14=55 Exploring Operation: 69+9=78, Resulting Numbers: [14, 89, 78] Generated Node #0,2: 86:[14, 89, 78] Operation: 69+9=78 Moving to Node #0,0 Current State: 86:[9, 89, 83], Operations: ['69+14=83'] Exploring Operation: 9+83=92, Resulting Numbers: [89, 92] Generated Node #0,0,0: 86:[89, 92] Operation: 9+83=92 Exploring Operation: 89-9=80, Resulting Numbers: [83, 80] Generated Node #0,0,1: 86:[83, 80] Operation: 89-9=80 Exploring Operation: 89-83=6, Resulting Numbers: [9, 6] Generated Node #0,0,2: 86:[9, 6] Operation: 89-83=6 Moving to Node #0,1 Current State: 86:[9, 89, 55], Operations: ['69-14=55'] Exploring Operation: 89-9=80, Resulting Numbers: [55, 80] Generated Node #0,1,0: 86:[55, 80] Operation: 89-9=80 Exploring Operation: 55-9=46, Resulting Numbers: [89, 46] Generated Node #0,1,1: 86:[89, 46] Operation: 55-9=46 Exploring Operation: 89-55=34, Resulting Numbers: [9, 34] Generated Node #0,1,2: 86:[9, 34] Operation: 89-55=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[89, 46], Operations: ['69-14=55', '55-9=46'] Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,86 unequal: No Solution Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[9, 34], Operations: ['69-14=55', '89-55=34'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,86 unequal: No Solution Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,86 unequal: No Solution Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[55, 80], Operations: ['69-14=55', '89-9=80'] Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,86 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,86 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,86 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: 86:[14, 89, 78], Operations: ['69+9=78'] Exploring Operation: 89-14=75, Resulting Numbers: [78, 75] Generated Node #0,2,0: 86:[78, 75] Operation: 89-14=75 Exploring Operation: 14+78=92, Resulting Numbers: [89, 92] Generated Node #0,2,1: 86:[89, 92] Operation: 14+78=92 Exploring Operation: 89-78=11, Resulting Numbers: [14, 11] Generated Node #0,2,2: 86:[14, 11] Operation: 89-78=11 Moving to Node #0,0,0 Current State: 86:[89, 92], Operations: ['69+14=83', '9+83=92'] Exploring Operation: 89*92=8188, Resulting Numbers: [8188] 8188,86 unequal: No Solution Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 89+92=181, Resulting Numbers: [181] 181,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[83, 80], Operations: ['69+14=83', '89-9=80'] Exploring Operation: 83+80=163, Resulting Numbers: [163] 163,86 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 83*80=6640, Resulting Numbers: [6640] 6640,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[89, 92], Operations: ['69+9=78', '14+78=92'] Exploring Operation: 89*92=8188, Resulting Numbers: [8188] 8188,86 unequal: No Solution Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 89+92=181, Resulting Numbers: [181] 181,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[9, 6], Operations: ['69+14=83', '89-83=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[78, 75], Operations: ['69+9=78', '89-14=75'] Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 78*75=5850, Resulting Numbers: [5850] 5850,86 unequal: No Solution Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[14, 11], Operations: ['69+9=78', '89-78=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,86 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,86 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 21, 7, 16, 26 ]
14
[ "21+7=28", "16+26=42", "42-28=14" ]
Current State: 14:[21, 7, 16, 26], Operations: [] Exploring Operation: 21+7=28, Resulting Numbers: [16, 26, 28] Generated Node #2: [16, 26, 28] from Operation: 21+7=28 Current State: 14:[16, 26, 28], Operations: ['21+7=28'] Exploring Operation: 16+26=42, Resulting Numbers: [28, 42] Generated Node #3: [28, 42] from Operation: 16+26=42 Current State: 14:[28, 42], Operations: ['21+7=28', '16+26=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[21, 7, 16, 26], Operations: [] Exploring Operation: 26-16=10, Resulting Numbers: [21, 7, 10] Generated Node #0,0: 14:[21, 7, 10] Operation: 26-16=10 Exploring Operation: 26-21=5, Resulting Numbers: [7, 16, 5] Generated Node #0,1: 14:[7, 16, 5] Operation: 26-21=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[7, 16, 5], Operations: ['26-21=5'] Exploring Operation: 16-5=11, Resulting Numbers: [7, 11] Generated Node #0,1,0: 14:[7, 11] Operation: 16-5=11 Exploring Operation: 7-5=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 14:[16, 2] Operation: 7-5=2 Moving to Node #0,1,1 Current State: 14:[16, 2], Operations: ['26-21=5', '7-5=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[21, 7, 16, 26], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [7, 16, 5] Generated Node #0,1: 14:[7, 16, 5] Operation: 26-21=5 Moving to Node #0,1 Current State: 14:[7, 16, 5], Operations: ['26-21=5'] Exploring Operation: 7-5=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 14:[16, 2] Operation: 7-5=2 Moving to Node #0,1,1 Current State: 14:[16, 2], Operations: ['26-21=5', '7-5=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 64, 19, 5, 78 ]
89
[ "78-64=14", "5*14=70", "19+70=89" ]
Current State: 89:[64, 19, 5, 78], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [19, 5, 14] Generated Node #2: [19, 5, 14] from Operation: 78-64=14 Current State: 89:[19, 5, 14], Operations: ['78-64=14'] Exploring Operation: 5*14=70, Resulting Numbers: [19, 70] Generated Node #3: [19, 70] from Operation: 5*14=70 Current State: 89:[19, 70], Operations: ['78-64=14', '5*14=70'] Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[64, 19, 5, 78], Operations: [] Exploring Operation: 19*5=95, Resulting Numbers: [64, 78, 95] Generated Node #0,0: 89:[64, 78, 95] Operation: 19*5=95 Moving to Node #0,0 Current State: 89:[64, 78, 95], Operations: ['19*5=95'] Exploring Operation: 64+78=142, Resulting Numbers: [95, 142] Generated Node #0,0,0: 89:[95, 142] Operation: 64+78=142 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[95, 142], Operations: ['19*5=95', '64+78=142'] Exploring Operation: 142-95=47, Resulting Numbers: [47] 47,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 45, 44, 31, 34 ]
59
[ "34-31=3", "45/3=15", "44+15=59" ]
Current State: 59:[45, 44, 31, 34], Operations: [] Exploring Operation: 34-31=3, Resulting Numbers: [45, 44, 3] Generated Node #2: [45, 44, 3] from Operation: 34-31=3 Current State: 59:[45, 44, 3], Operations: ['34-31=3'] Exploring Operation: 45/3=15, Resulting Numbers: [44, 15] Generated Node #3: [44, 15] from Operation: 45/3=15 Current State: 59:[44, 15], Operations: ['34-31=3', '45/3=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[45, 44, 31, 34], Operations: [] Exploring Operation: 45+31=76, Resulting Numbers: [44, 34, 76] Generated Node #0,0: 59:[44, 34, 76] Operation: 45+31=76 Exploring Operation: 45+34=79, Resulting Numbers: [44, 31, 79] Generated Node #0,1: 59:[44, 31, 79] Operation: 45+34=79 Exploring Operation: 31+34=65, Resulting Numbers: [45, 44, 65] Generated Node #0,2: 59:[45, 44, 65] Operation: 31+34=65 Exploring Operation: 44+34=78, Resulting Numbers: [45, 31, 78] Generated Node #0,3: 59:[45, 31, 78] Operation: 44+34=78 Exploring Operation: 44+31=75, Resulting Numbers: [45, 34, 75] Generated Node #0,4: 59:[45, 34, 75] Operation: 44+31=75 Moving to Node #0,2 Current State: 59:[45, 44, 65], Operations: ['31+34=65'] Exploring Operation: 65-44=21, Resulting Numbers: [45, 21] Generated Node #0,2,0: 59:[45, 21] Operation: 65-44=21 Exploring Operation: 45+44=89, Resulting Numbers: [65, 89] Generated Node #0,2,1: 59:[65, 89] Operation: 45+44=89 Exploring Operation: 65-45=20, Resulting Numbers: [44, 20] Generated Node #0,2,2: 59:[44, 20] Operation: 65-45=20 Exploring Operation: 44+65=109, Resulting Numbers: [45, 109] Generated Node #0,2,3: 59:[45, 109] Operation: 44+65=109 Exploring Operation: 45-44=1, Resulting Numbers: [65, 1] Generated Node #0,2,4: 59:[65, 1] Operation: 45-44=1 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[65, 89], Operations: ['31+34=65', '45+44=89'] Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 65*89=5785, Resulting Numbers: [5785] 5785,59 unequal: No Solution Exploring Operation: 65+89=154, Resulting Numbers: [154] 154,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,2,0 Current State: 59:[45, 21], Operations: ['31+34=65', '65-44=21'] Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,59 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,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,2,2 Current State: 59:[44, 20], Operations: ['31+34=65', '65-45=20'] Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,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,2,3 Current State: 59:[45, 109], Operations: ['31+34=65', '44+65=109'] Exploring Operation: 45+109=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 109-45=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 45*109=4905, Resulting Numbers: [4905] 4905,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,2,4 Current State: 59:[65, 1], Operations: ['31+34=65', '45-44=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,59 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,59 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,59 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: 59:[45, 34, 75], Operations: ['44+31=75'] Exploring Operation: 75-34=41, Resulting Numbers: [45, 41] Generated Node #0,4,0: 59:[45, 41] Operation: 75-34=41 Exploring Operation: 75-45=30, Resulting Numbers: [34, 30] Generated Node #0,4,1: 59:[34, 30] Operation: 75-45=30 Exploring Operation: 45+34=79, Resulting Numbers: [75, 79] Generated Node #0,4,2: 59:[75, 79] Operation: 45+34=79 Exploring Operation: 34+75=109, Resulting Numbers: [45, 109] Generated Node #0,4,3: 59:[45, 109] Operation: 34+75=109 Exploring Operation: 45-34=11, Resulting Numbers: [75, 11] Generated Node #0,4,4: 59:[75, 11] Operation: 45-34=11 Moving to Node #0,0 Current State: 59:[44, 34, 76], Operations: ['45+31=76'] Exploring Operation: 44+34=78, Resulting Numbers: [76, 78] Generated Node #0,0,0: 59:[76, 78] Operation: 44+34=78 Exploring Operation: 76-34=42, Resulting Numbers: [44, 42] Generated Node #0,0,1: 59:[44, 42] Operation: 76-34=42 Exploring Operation: 76-44=32, Resulting Numbers: [34, 32] Generated Node #0,0,2: 59:[34, 32] Operation: 76-44=32 Exploring Operation: 34+76=110, Resulting Numbers: [44, 110] Generated Node #0,0,3: 59:[44, 110] Operation: 34+76=110 Exploring Operation: 44-34=10, Resulting Numbers: [76, 10] Generated Node #0,0,4: 59:[76, 10] Operation: 44-34=10 Moving to Node #0,3 Current State: 59:[45, 31, 78], Operations: ['44+34=78'] Exploring Operation: 78-45=33, Resulting Numbers: [31, 33] Generated Node #0,3,0: 59:[31, 33] Operation: 78-45=33 Exploring Operation: 78-31=47, Resulting Numbers: [45, 47] Generated Node #0,3,1: 59:[45, 47] Operation: 78-31=47 Exploring Operation: 31+78=109, Resulting Numbers: [45, 109] Generated Node #0,3,2: 59:[45, 109] Operation: 31+78=109 Exploring Operation: 45-31=14, Resulting Numbers: [78, 14] Generated Node #0,3,3: 59:[78, 14] Operation: 45-31=14 Exploring Operation: 45+31=76, Resulting Numbers: [78, 76] Generated Node #0,3,4: 59:[78, 76] Operation: 45+31=76 Moving to Node #0,1 Current State: 59:[44, 31, 79], Operations: ['45+34=79'] Exploring Operation: 44+31=75, Resulting Numbers: [79, 75] Generated Node #0,1,0: 59:[79, 75] Operation: 44+31=75 Exploring Operation: 44-31=13, Resulting Numbers: [79, 13] Generated Node #0,1,1: 59:[79, 13] Operation: 44-31=13 Exploring Operation: 79-31=48, Resulting Numbers: [44, 48] Generated Node #0,1,2: 59:[44, 48] Operation: 79-31=48 Exploring Operation: 79-44=35, Resulting Numbers: [31, 35] Generated Node #0,1,3: 59:[31, 35] Operation: 79-44=35 Exploring Operation: 31+79=110, Resulting Numbers: [44, 110] Generated Node #0,1,4: 59:[44, 110] Operation: 31+79=110 Moving to Node #0,3,1 Current State: 59:[45, 47], Operations: ['44+34=78', '78-31=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,1,2 Current State: 59:[44, 48], Operations: ['45+34=79', '79-31=48'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[44, 42], Operations: ['45+31=76', '76-34=42'] Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,59 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[45, 41], Operations: ['44+31=75', '75-34=41'] Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,59 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,59 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[76, 78], Operations: ['45+31=76', '44+34=78'] Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,59 unequal: No Solution Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[78, 76], Operations: ['44+34=78', '45+31=76'] Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,59 unequal: No Solution Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[75, 79], Operations: ['44+31=75', '45+34=79'] Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,59 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[79, 75], Operations: ['45+34=79', '44+31=75'] Exploring Operation: 79*75=5925, Resulting Numbers: [5925] 5925,59 unequal: No Solution Exploring Operation: 79+75=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[31, 35], Operations: ['45+34=79', '79-44=35'] Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,59 unequal: No Solution Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[34, 32], Operations: ['45+31=76', '76-44=32'] Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,59 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[31, 33], Operations: ['44+34=78', '78-45=33'] Exploring Operation: 31*33=1023, Resulting Numbers: [1023] 1023,59 unequal: No Solution Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[34, 30], Operations: ['44+31=75', '75-45=30'] Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[78, 14], Operations: ['44+34=78', '45-31=14'] Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,59 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[75, 11], Operations: ['44+31=75', '45-34=11'] Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,59 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[45, 109], Operations: ['44+31=75', '34+75=109'] Exploring Operation: 109-45=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 45+109=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 45*109=4905, Resulting Numbers: [4905] 4905,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[45, 109], Operations: ['44+34=78', '31+78=109'] Exploring Operation: 45*109=4905, Resulting Numbers: [4905] 4905,59 unequal: No Solution Exploring Operation: 45+109=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 109-45=64, Resulting Numbers: [64] 64,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[76, 10], Operations: ['45+31=76', '44-34=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,59 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[44, 110], Operations: ['45+31=76', '34+76=110'] Exploring Operation: 44*110=4840, Resulting Numbers: [4840] 4840,59 unequal: No Solution Exploring Operation: 44+110=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 110-44=66, Resulting Numbers: [66] 66,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[44, 110], Operations: ['45+34=79', '31+79=110'] Exploring Operation: 44+110=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 44*110=4840, Resulting Numbers: [4840] 4840,59 unequal: No Solution Exploring Operation: 110-44=66, Resulting Numbers: [66] 66,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[79, 13], Operations: ['45+34=79', '44-31=13'] Exploring Operation: 79-13=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 79*13=1027, Resulting Numbers: [1027] 1027,59 unequal: No Solution Exploring Operation: 79+13=92, Resulting Numbers: [92] 92,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 90, 30, 52, 66 ]
10
[ "90+66=156", "30*52=1560", "1560/156=10" ]
Current State: 10:[90, 30, 52, 66], Operations: [] Exploring Operation: 90+66=156, Resulting Numbers: [30, 52, 156] Generated Node #2: [30, 52, 156] from Operation: 90+66=156 Current State: 10:[30, 52, 156], Operations: ['90+66=156'] Exploring Operation: 30*52=1560, Resulting Numbers: [156, 1560] Generated Node #3: [156, 1560] from Operation: 30*52=1560 Current State: 10:[156, 1560], Operations: ['90+66=156', '30*52=1560'] Exploring Operation: 1560/156=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[90, 30, 52, 66], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [30, 66, 38] Generated Node #0,0: 10:[30, 66, 38] Operation: 90-52=38 Exploring Operation: 90/30=3, Resulting Numbers: [52, 66, 3] Generated Node #0,1: 10:[52, 66, 3] Operation: 90/30=3 Exploring Operation: 90-66=24, Resulting Numbers: [30, 52, 24] Generated Node #0,2: 10:[30, 52, 24] Operation: 90-66=24 Moving to Node #0,2 Current State: 10:[30, 52, 24], Operations: ['90-66=24'] Exploring Operation: 52-30=22, Resulting Numbers: [24, 22] Generated Node #0,2,0: 10:[24, 22] Operation: 52-30=22 Exploring Operation: 30-24=6, Resulting Numbers: [52, 6] Generated Node #0,2,1: 10:[52, 6] Operation: 30-24=6 Exploring Operation: 52-24=28, Resulting Numbers: [30, 28] Generated Node #0,2,2: 10:[30, 28] Operation: 52-24=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[24, 22], Operations: ['90-66=24', '52-30=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,10 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,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:[30, 28], Operations: ['90-66=24', '52-24=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,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,1 Current State: 10:[52, 6], Operations: ['90-66=24', '30-24=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,10 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,10 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: 10:[52, 66, 3], Operations: ['90/30=3'] Exploring Operation: 66/3=22, Resulting Numbers: [52, 22] Generated Node #0,1,0: 10:[52, 22] Operation: 66/3=22 Exploring Operation: 52-3=49, Resulting Numbers: [66, 49] Generated Node #0,1,1: 10:[66, 49] Operation: 52-3=49 Exploring Operation: 66-52=14, Resulting Numbers: [3, 14] Generated Node #0,1,2: 10:[3, 14] Operation: 66-52=14 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[3, 14], Operations: ['90/30=3', '66-52=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,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,0 Current State: 10:[52, 22], Operations: ['90/30=3', '66/3=22'] Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,10 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,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:[66, 49], Operations: ['90/30=3', '52-3=49'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,10 unequal: No Solution Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,10 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: 10:[30, 66, 38], Operations: ['90-52=38'] Exploring Operation: 66-30=36, Resulting Numbers: [38, 36] Generated Node #0,0,0: 10:[38, 36] Operation: 66-30=36 Exploring Operation: 38-30=8, Resulting Numbers: [66, 8] Generated Node #0,0,1: 10:[66, 8] Operation: 38-30=8 Exploring Operation: 66-38=28, Resulting Numbers: [30, 28] Generated Node #0,0,2: 10:[30, 28] Operation: 66-38=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[30, 28], Operations: ['90-52=38', '66-38=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[38, 36], Operations: ['90-52=38', '66-30=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,10 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[66, 8], Operations: ['90-52=38', '38-30=8'] Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 69, 60, 97, 50 ]
56
[ "69-60=9", "97-50=47", "9+47=56" ]
Current State: 56:[69, 60, 97, 50], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [97, 50, 9] Generated Node #2: [97, 50, 9] from Operation: 69-60=9 Current State: 56:[97, 50, 9], Operations: ['69-60=9'] Exploring Operation: 97-50=47, Resulting Numbers: [9, 47] Generated Node #3: [9, 47] from Operation: 97-50=47 Current State: 56:[9, 47], Operations: ['69-60=9', '97-50=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[69, 60, 97, 50], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [60, 50, 28] Generated Node #0,0: 56:[60, 50, 28] Operation: 97-69=28 Exploring Operation: 97-50=47, Resulting Numbers: [69, 60, 47] Generated Node #0,1: 56:[69, 60, 47] Operation: 97-50=47 Moving to Node #0,0 Current State: 56:[60, 50, 28], Operations: ['97-69=28'] Exploring Operation: 60-50=10, Resulting Numbers: [28, 10] Generated Node #0,0,0: 56:[28, 10] Operation: 60-50=10 Exploring Operation: 60-28=32, Resulting Numbers: [50, 32] Generated Node #0,0,1: 56:[50, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[28, 10], Operations: ['97-69=28', '60-50=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,56 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[50, 32], Operations: ['97-69=28', '60-28=32'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[69, 60, 47], Operations: ['97-50=47'] Exploring Operation: 69-47=22, Resulting Numbers: [60, 22] Generated Node #0,1,0: 56:[60, 22] Operation: 69-47=22 Exploring Operation: 69-60=9, Resulting Numbers: [47, 9] Generated Node #0,1,1: 56:[47, 9] Operation: 69-60=9 Moving to Node #0,1,0 Current State: 56:[60, 22], Operations: ['97-50=47', '69-47=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,56 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[47, 9], Operations: ['97-50=47', '69-60=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,56 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[69, 60, 97, 50], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [69, 60, 47] Generated Node #0,1: 56:[69, 60, 47] Operation: 97-50=47 Moving to Node #0,1 Current State: 56:[69, 60, 47], Operations: ['97-50=47'] Exploring Operation: 69-60=9, Resulting Numbers: [47, 9] Generated Node #0,1,1: 56:[47, 9] Operation: 69-60=9 Moving to Node #0,1,1 Current State: 56:[47, 9], Operations: ['97-50=47', '69-60=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 65, 99, 22, 9 ]
67
[ "99/9=11", "22/11=2", "65+2=67" ]
Current State: 67:[65, 99, 22, 9], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [65, 22, 11] Generated Node #2: [65, 22, 11] from Operation: 99/9=11 Current State: 67:[65, 22, 11], Operations: ['99/9=11'] Exploring Operation: 22/11=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 22/11=2 Current State: 67:[65, 2], Operations: ['99/9=11', '22/11=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[65, 99, 22, 9], Operations: [] Exploring Operation: 22+9=31, Resulting Numbers: [65, 99, 31] Generated Node #0,0: 67:[65, 99, 31] Operation: 22+9=31 Exploring Operation: 99-22=77, Resulting Numbers: [65, 9, 77] Generated Node #0,1: 67:[65, 9, 77] Operation: 99-22=77 Exploring Operation: 99-9=90, Resulting Numbers: [65, 22, 90] Generated Node #0,2: 67:[65, 22, 90] Operation: 99-9=90 Exploring Operation: 65+9=74, Resulting Numbers: [99, 22, 74] Generated Node #0,3: 67:[99, 22, 74] Operation: 65+9=74 Exploring Operation: 65-9=56, Resulting Numbers: [99, 22, 56] Generated Node #0,4: 67:[99, 22, 56] Operation: 65-9=56 Moving to Node #0,0 Current State: 67:[65, 99, 31], Operations: ['22+9=31'] Exploring Operation: 65+31=96, Resulting Numbers: [99, 96] Generated Node #0,0,0: 67:[99, 96] Operation: 65+31=96 Exploring Operation: 99+31=130, Resulting Numbers: [65, 130] Generated Node #0,0,1: 67:[65, 130] Operation: 99+31=130 Exploring Operation: 99-65=34, Resulting Numbers: [31, 34] Generated Node #0,0,2: 67:[31, 34] Operation: 99-65=34 Exploring Operation: 99-31=68, Resulting Numbers: [65, 68] Generated Node #0,0,3: 67:[65, 68] Operation: 99-31=68 Exploring Operation: 65-31=34, Resulting Numbers: [99, 34] Generated Node #0,0,4: 67:[99, 34] Operation: 65-31=34 Moving to Node #0,2 Current State: 67:[65, 22, 90], Operations: ['99-9=90'] Exploring Operation: 65-22=43, Resulting Numbers: [90, 43] Generated Node #0,2,0: 67:[90, 43] Operation: 65-22=43 Exploring Operation: 22+90=112, Resulting Numbers: [65, 112] Generated Node #0,2,1: 67:[65, 112] Operation: 22+90=112 Exploring Operation: 90-22=68, Resulting Numbers: [65, 68] Generated Node #0,2,2: 67:[65, 68] Operation: 90-22=68 Exploring Operation: 90-65=25, Resulting Numbers: [22, 25] Generated Node #0,2,3: 67:[22, 25] Operation: 90-65=25 Exploring Operation: 65+22=87, Resulting Numbers: [90, 87] Generated Node #0,2,4: 67:[90, 87] Operation: 65+22=87 Moving to Node #0,1 Current State: 67:[65, 9, 77], Operations: ['99-22=77'] Exploring Operation: 65+9=74, Resulting Numbers: [77, 74] Generated Node #0,1,0: 67:[77, 74] Operation: 65+9=74 Exploring Operation: 65-9=56, Resulting Numbers: [77, 56] Generated Node #0,1,1: 67:[77, 56] Operation: 65-9=56 Exploring Operation: 9+77=86, Resulting Numbers: [65, 86] Generated Node #0,1,2: 67:[65, 86] Operation: 9+77=86 Exploring Operation: 77-65=12, Resulting Numbers: [9, 12] Generated Node #0,1,3: 67:[9, 12] Operation: 77-65=12 Exploring Operation: 77-9=68, Resulting Numbers: [65, 68] Generated Node #0,1,4: 67:[65, 68] Operation: 77-9=68 Moving to Node #0,3 Current State: 67:[99, 22, 74], Operations: ['65+9=74'] Exploring Operation: 99-74=25, Resulting Numbers: [22, 25] Generated Node #0,3,0: 67:[22, 25] Operation: 99-74=25 Exploring Operation: 74-22=52, Resulting Numbers: [99, 52] Generated Node #0,3,1: 67:[99, 52] Operation: 74-22=52 Exploring Operation: 22+74=96, Resulting Numbers: [99, 96] Generated Node #0,3,2: 67:[99, 96] Operation: 22+74=96 Exploring Operation: 99-22=77, Resulting Numbers: [74, 77] Generated Node #0,3,3: 67:[74, 77] Operation: 99-22=77 Exploring Operation: 99+22=121, Resulting Numbers: [74, 121] Generated Node #0,3,4: 67:[74, 121] Operation: 99+22=121 Moving to Node #0,4 Current State: 67:[99, 22, 56], Operations: ['65-9=56'] Exploring Operation: 22+56=78, Resulting Numbers: [99, 78] Generated Node #0,4,0: 67:[99, 78] Operation: 22+56=78 Exploring Operation: 99-56=43, Resulting Numbers: [22, 43] Generated Node #0,4,1: 67:[22, 43] Operation: 99-56=43 Exploring Operation: 99+22=121, Resulting Numbers: [56, 121] Generated Node #0,4,2: 67:[56, 121] Operation: 99+22=121 Exploring Operation: 99-22=77, Resulting Numbers: [56, 77] Generated Node #0,4,3: 67:[56, 77] Operation: 99-22=77 Exploring Operation: 56-22=34, Resulting Numbers: [99, 34] Generated Node #0,4,4: 67:[99, 34] Operation: 56-22=34 Moving to Node #0,0,3 Current State: 67:[65, 68], Operations: ['22+9=31', '99-31=68'] Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 65+68=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 65*68=4420, Resulting Numbers: [4420] 4420,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[65, 68], Operations: ['99-9=90', '90-22=68'] Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 65*68=4420, Resulting Numbers: [4420] 4420,67 unequal: No Solution Exploring Operation: 65+68=133, Resulting Numbers: [133] 133,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[65, 68], Operations: ['99-22=77', '77-9=68'] Exploring Operation: 65+68=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 65*68=4420, Resulting Numbers: [4420] 4420,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[77, 74], Operations: ['99-22=77', '65+9=74'] Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 77*74=5698, Resulting Numbers: [5698] 5698,67 unequal: No Solution Exploring Operation: 77+74=151, Resulting Numbers: [151] 151,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[74, 77], Operations: ['65+9=74', '99-22=77'] Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 74+77=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 74*77=5698, Resulting Numbers: [5698] 5698,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[65, 86], Operations: ['99-22=77', '9+77=86'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,67 unequal: No Solution Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,67 unequal: No Solution Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[77, 56], Operations: ['99-22=77', '65-9=56'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,67 unequal: No Solution Exploring Operation: 77+56=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 77*56=4312, Resulting Numbers: [4312] 4312,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[56, 77], Operations: ['65-9=56', '99-22=77'] Exploring Operation: 56*77=4312, Resulting Numbers: [4312] 4312,67 unequal: No Solution Exploring Operation: 56+77=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[90, 87], Operations: ['99-9=90', '65+22=87'] Exploring Operation: 90+87=177, Resulting Numbers: [177] 177,67 unequal: No Solution Exploring Operation: 90*87=7830, Resulting Numbers: [7830] 7830,67 unequal: No Solution Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[99, 78], Operations: ['65-9=56', '22+56=78'] Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,67 unequal: No Solution Exploring Operation: 99*78=7722, Resulting Numbers: [7722] 7722,67 unequal: No Solution Exploring Operation: 99+78=177, Resulting Numbers: [177] 177,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[90, 43], Operations: ['99-9=90', '65-22=43'] Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 90+43=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 90*43=3870, Resulting Numbers: [3870] 3870,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[65, 112], Operations: ['99-9=90', '22+90=112'] Exploring Operation: 112-65=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 65*112=7280, Resulting Numbers: [7280] 7280,67 unequal: No Solution Exploring Operation: 65+112=177, Resulting Numbers: [177] 177,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[99, 52], Operations: ['65+9=74', '74-22=52'] Exploring Operation: 99+52=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 99*52=5148, Resulting Numbers: [5148] 5148,67 unequal: No Solution Exploring Operation: 99-52=47, Resulting Numbers: [47] 47,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[99, 96], Operations: ['65+9=74', '22+74=96'] Exploring Operation: 99*96=9504, Resulting Numbers: [9504] 9504,67 unequal: No Solution Exploring Operation: 99-96=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 99+96=195, Resulting Numbers: [195] 195,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[74, 121], Operations: ['65+9=74', '99+22=121'] Exploring Operation: 74+121=195, Resulting Numbers: [195] 195,67 unequal: No Solution Exploring Operation: 121-74=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 74*121=8954, Resulting Numbers: [8954] 8954,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[99, 96], Operations: ['22+9=31', '65+31=96'] Exploring Operation: 99+96=195, Resulting Numbers: [195] 195,67 unequal: No Solution Exploring Operation: 99*96=9504, Resulting Numbers: [9504] 9504,67 unequal: No Solution Exploring Operation: 99-96=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[56, 121], Operations: ['65-9=56', '99+22=121'] Exploring Operation: 56+121=177, Resulting Numbers: [177] 177,67 unequal: No Solution Exploring Operation: 121-56=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 56*121=6776, Resulting Numbers: [6776] 6776,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[65, 130], Operations: ['22+9=31', '99+31=130'] Exploring Operation: 65+130=195, Resulting Numbers: [195] 195,67 unequal: No Solution Exploring Operation: 65*130=8450, Resulting Numbers: [8450] 8450,67 unequal: No Solution Exploring Operation: 130-65=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 130/65=2, Resulting Numbers: [2] 2,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[99, 34], Operations: ['65-9=56', '56-22=34'] Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 99+34=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 99*34=3366, Resulting Numbers: [3366] 3366,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[99, 34], Operations: ['22+9=31', '65-31=34'] Exploring Operation: 99*34=3366, Resulting Numbers: [3366] 3366,67 unequal: No Solution Exploring Operation: 99+34=133, Resulting Numbers: [133] 133,67 unequal: No Solution Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[22, 43], Operations: ['65-9=56', '99-56=43'] Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,67 unequal: No Solution Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[31, 34], Operations: ['22+9=31', '99-65=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[22, 25], Operations: ['65+9=74', '99-74=25'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[22, 25], Operations: ['99-9=90', '90-65=25'] Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,67 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[9, 12], Operations: ['99-22=77', '77-65=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,67 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 98, 61, 71, 86 ]
22
[ "98-61=37", "86-71=15", "37-15=22" ]
Current State: 22:[98, 61, 71, 86], Operations: [] Exploring Operation: 98-61=37, Resulting Numbers: [71, 86, 37] Generated Node #2: [71, 86, 37] from Operation: 98-61=37 Current State: 22:[71, 86, 37], Operations: ['98-61=37'] Exploring Operation: 86-71=15, Resulting Numbers: [37, 15] Generated Node #3: [37, 15] from Operation: 86-71=15 Current State: 22:[37, 15], Operations: ['98-61=37', '86-71=15'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[98, 61, 71, 86], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [61, 71, 12] Generated Node #0,0: 22:[61, 71, 12] Operation: 98-86=12 Exploring Operation: 86-71=15, Resulting Numbers: [98, 61, 15] Generated Node #0,1: 22:[98, 61, 15] Operation: 86-71=15 Exploring Operation: 98-71=27, Resulting Numbers: [61, 86, 27] Generated Node #0,2: 22:[61, 86, 27] Operation: 98-71=27 Moving to Node #0,0 Current State: 22:[61, 71, 12], Operations: ['98-86=12'] Exploring Operation: 61-12=49, Resulting Numbers: [71, 49] Generated Node #0,0,0: 22:[71, 49] Operation: 61-12=49 Exploring Operation: 71-61=10, Resulting Numbers: [12, 10] Generated Node #0,0,1: 22:[12, 10] Operation: 71-61=10 Exploring Operation: 71-12=59, Resulting Numbers: [61, 59] Generated Node #0,0,2: 22:[61, 59] Operation: 71-12=59 Moving to Node #0,2 Current State: 22:[61, 86, 27], Operations: ['98-71=27'] Exploring Operation: 61-27=34, Resulting Numbers: [86, 34] Generated Node #0,2,0: 22:[86, 34] Operation: 61-27=34 Exploring Operation: 86-61=25, Resulting Numbers: [27, 25] Generated Node #0,2,1: 22:[27, 25] Operation: 86-61=25 Exploring Operation: 86-27=59, Resulting Numbers: [61, 59] Generated Node #0,2,2: 22:[61, 59] Operation: 86-27=59 Moving to Node #0,1 Current State: 22:[98, 61, 15], Operations: ['86-71=15'] Exploring Operation: 61-15=46, Resulting Numbers: [98, 46] Generated Node #0,1,0: 22:[98, 46] Operation: 61-15=46 Exploring Operation: 98-61=37, Resulting Numbers: [15, 37] Generated Node #0,1,1: 22:[15, 37] Operation: 98-61=37 Exploring Operation: 98-15=83, Resulting Numbers: [61, 83] Generated Node #0,1,2: 22:[61, 83] Operation: 98-15=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[15, 37], Operations: ['86-71=15', '98-61=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[98, 61, 71, 86], Operations: [] Exploring Operation: 86-71=15, Resulting Numbers: [98, 61, 15] Generated Node #0,1: 22:[98, 61, 15] Operation: 86-71=15 Moving to Node #0,1 Current State: 22:[98, 61, 15], Operations: ['86-71=15'] Exploring Operation: 98-61=37, Resulting Numbers: [15, 37] Generated Node #0,1,1: 22:[15, 37] Operation: 98-61=37 Moving to Node #0,1,1 Current State: 22:[15, 37], Operations: ['86-71=15', '98-61=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 2, 34, 19, 12 ]
30
[ "34-12=22", "22/2=11", "19+11=30" ]
Current State: 30:[2, 34, 19, 12], Operations: [] Exploring Operation: 34-12=22, Resulting Numbers: [2, 19, 22] Generated Node #2: [2, 19, 22] from Operation: 34-12=22 Current State: 30:[2, 19, 22], Operations: ['34-12=22'] Exploring Operation: 22/2=11, Resulting Numbers: [19, 11] Generated Node #3: [19, 11] from Operation: 22/2=11 Current State: 30:[19, 11], Operations: ['34-12=22', '22/2=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[2, 34, 19, 12], Operations: [] Exploring Operation: 34/2=17, Resulting Numbers: [19, 12, 17] Generated Node #0,0: 30:[19, 12, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [19, 12, 32] Generated Node #0,1: 30:[19, 12, 32] Operation: 34-2=32 Exploring Operation: 34-19=15, Resulting Numbers: [2, 12, 15] Generated Node #0,2: 30:[2, 12, 15] Operation: 34-19=15 Exploring Operation: 19-12=7, Resulting Numbers: [2, 34, 7] Generated Node #0,3: 30:[2, 34, 7] Operation: 19-12=7 Exploring Operation: 19+12=31, Resulting Numbers: [2, 34, 31] Generated Node #0,4: 30:[2, 34, 31] Operation: 19+12=31 Moving to Node #0,2 Current State: 30:[2, 12, 15], Operations: ['34-19=15'] Exploring Operation: 15-12=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 30:[2, 3] Operation: 15-12=3 Exploring Operation: 12-2=10, Resulting Numbers: [15, 10] Generated Node #0,2,1: 30:[15, 10] Operation: 12-2=10 Exploring Operation: 12/2=6, Resulting Numbers: [15, 6] Generated Node #0,2,2: 30:[15, 6] Operation: 12/2=6 Exploring Operation: 2+12=14, Resulting Numbers: [15, 14] Generated Node #0,2,3: 30:[15, 14] Operation: 2+12=14 Exploring Operation: 2*15=30, Resulting Numbers: [12, 30] Generated Node #0,2,4: 30:[12, 30] Operation: 2*15=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[2, 3], Operations: ['34-19=15', '15-12=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[15, 10], Operations: ['34-19=15', '12-2=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[15, 6], Operations: ['34-19=15', '12/2=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 30:[15, 14], Operations: ['34-19=15', '2+12=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,30 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 30:[12, 30], Operations: ['34-19=15', '2*15=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,30 unequal: No Solution Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,30 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: 30:[2, 34, 31], Operations: ['19+12=31'] Exploring Operation: 34/2=17, Resulting Numbers: [31, 17] Generated Node #0,4,0: 30:[31, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [31, 32] Generated Node #0,4,1: 30:[31, 32] Operation: 34-2=32 Exploring Operation: 34-31=3, Resulting Numbers: [2, 3] Generated Node #0,4,2: 30:[2, 3] Operation: 34-31=3 Exploring Operation: 2+34=36, Resulting Numbers: [31, 36] Generated Node #0,4,3: 30:[31, 36] Operation: 2+34=36 Exploring Operation: 31-2=29, Resulting Numbers: [34, 29] Generated Node #0,4,4: 30:[34, 29] Operation: 31-2=29 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 30:[2, 3], Operations: ['19+12=31', '34-31=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 30:[31, 17], Operations: ['19+12=31', '34/2=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 30:[31, 32], Operations: ['19+12=31', '34-2=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 30:[34, 29], Operations: ['19+12=31', '31-2=29'] Exploring Operation: 34*29=986, Resulting Numbers: [986] 986,30 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 30:[31, 36], Operations: ['19+12=31', '2+34=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,30 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,30 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: 30:[2, 34, 7], Operations: ['19-12=7'] Exploring Operation: 34/2=17, Resulting Numbers: [7, 17] Generated Node #0,3,0: 30:[7, 17] Operation: 34/2=17 Exploring Operation: 2+7=9, Resulting Numbers: [34, 9] Generated Node #0,3,1: 30:[34, 9] Operation: 2+7=9 Exploring Operation: 34-2=32, Resulting Numbers: [7, 32] Generated Node #0,3,2: 30:[7, 32] Operation: 34-2=32 Exploring Operation: 7-2=5, Resulting Numbers: [34, 5] Generated Node #0,3,3: 30:[34, 5] Operation: 7-2=5 Exploring Operation: 34-7=27, Resulting Numbers: [2, 27] Generated Node #0,3,4: 30:[2, 27] Operation: 34-7=27 Moving to Node #0,0 Current State: 30:[19, 12, 17], Operations: ['34/2=17'] Exploring Operation: 19-12=7, Resulting Numbers: [17, 7] Generated Node #0,0,0: 30:[17, 7] Operation: 19-12=7 Exploring Operation: 12+17=29, Resulting Numbers: [19, 29] Generated Node #0,0,1: 30:[19, 29] Operation: 12+17=29 Exploring Operation: 17-12=5, Resulting Numbers: [19, 5] Generated Node #0,0,2: 30:[19, 5] Operation: 17-12=5 Exploring Operation: 19+12=31, Resulting Numbers: [17, 31] Generated Node #0,0,3: 30:[17, 31] Operation: 19+12=31 Exploring Operation: 19-17=2, Resulting Numbers: [12, 2] Generated Node #0,0,4: 30:[12, 2] Operation: 19-17=2 Moving to Node #0,1 Current State: 30:[19, 12, 32], Operations: ['34-2=32'] Exploring Operation: 32-19=13, Resulting Numbers: [12, 13] Generated Node #0,1,0: 30:[12, 13] Operation: 32-19=13 Exploring Operation: 12+32=44, Resulting Numbers: [19, 44] Generated Node #0,1,1: 30:[19, 44] Operation: 12+32=44 Exploring Operation: 19-12=7, Resulting Numbers: [32, 7] Generated Node #0,1,2: 30:[32, 7] Operation: 19-12=7 Exploring Operation: 19+12=31, Resulting Numbers: [32, 31] Generated Node #0,1,3: 30:[32, 31] Operation: 19+12=31 Exploring Operation: 32-12=20, Resulting Numbers: [19, 20] Generated Node #0,1,4: 30:[19, 20] Operation: 32-12=20 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[32, 7], Operations: ['34-2=32', '19-12=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 30:[32, 31], Operations: ['34-2=32', '19+12=31'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[12, 13], Operations: ['34-2=32', '32-19=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 30:[19, 20], Operations: ['34-2=32', '32-12=20'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,30 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[19, 44], Operations: ['34-2=32', '12+32=44'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 30:[12, 2], Operations: ['34/2=17', '19-17=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[7, 17], Operations: ['19-12=7', '34/2=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,30 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[17, 7], Operations: ['34/2=17', '19-12=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,30 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[2, 27], Operations: ['19-12=7', '34-7=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[7, 32], Operations: ['19-12=7', '34-2=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,30 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[17, 31], Operations: ['34/2=17', '19+12=31'] Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,30 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[19, 5], Operations: ['34/2=17', '17-12=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,30 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[34, 5], Operations: ['19-12=7', '7-2=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[19, 29], Operations: ['34/2=17', '12+17=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[34, 9], Operations: ['19-12=7', '2+7=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,30 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,30 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 42, 66, 79, 93 ]
69
[ "93-79=14", "42/14=3", "66+3=69" ]
Current State: 69:[42, 66, 79, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [42, 66, 14] Generated Node #2: [42, 66, 14] from Operation: 93-79=14 Current State: 69:[42, 66, 14], Operations: ['93-79=14'] Exploring Operation: 42/14=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 42/14=3 Current State: 69:[66, 3], Operations: ['93-79=14', '42/14=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[42, 66, 79, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [42, 66, 14] Generated Node #0,0: 69:[42, 66, 14] Operation: 93-79=14 Exploring Operation: 93-42=51, Resulting Numbers: [66, 79, 51] Generated Node #0,1: 69:[66, 79, 51] Operation: 93-42=51 Exploring Operation: 93-66=27, Resulting Numbers: [42, 79, 27] Generated Node #0,2: 69:[42, 79, 27] Operation: 93-66=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[42, 66, 14], Operations: ['93-79=14'] Exploring Operation: 42-14=28, Resulting Numbers: [66, 28] Generated Node #0,0,0: 69:[66, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [66, 3] Generated Node #0,0,1: 69:[66, 3] Operation: 42/14=3 Exploring Operation: 66-42=24, Resulting Numbers: [14, 24] Generated Node #0,0,2: 69:[14, 24] Operation: 66-42=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[66, 3], Operations: ['93-79=14', '42/14=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[42, 66, 79, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [42, 66, 14] Generated Node #0,0: 69:[42, 66, 14] Operation: 93-79=14 Moving to Node #0,0 Current State: 69:[42, 66, 14], Operations: ['93-79=14'] Exploring Operation: 42/14=3, Resulting Numbers: [66, 3] Generated Node #0,0,1: 69:[66, 3] Operation: 42/14=3 Moving to Node #0,0,1 Current State: 69:[66, 3], Operations: ['93-79=14', '42/14=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 16, 23, 50, 49 ]
39
[ "16+23=39", "50-49=1", "39*1=39" ]
Current State: 39:[16, 23, 50, 49], Operations: [] Exploring Operation: 16+23=39, Resulting Numbers: [50, 49, 39] Generated Node #2: [50, 49, 39] from Operation: 16+23=39 Current State: 39:[50, 49, 39], Operations: ['16+23=39'] Exploring Operation: 50-49=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 50-49=1 Current State: 39:[39, 1], Operations: ['16+23=39', '50-49=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[16, 23, 50, 49], Operations: [] Exploring Operation: 50-16=34, Resulting Numbers: [23, 49, 34] Generated Node #0,0: 39:[23, 49, 34] Operation: 50-16=34 Exploring Operation: 50-49=1, Resulting Numbers: [16, 23, 1] Generated Node #0,1: 39:[16, 23, 1] Operation: 50-49=1 Exploring Operation: 16+23=39, Resulting Numbers: [50, 49, 39] Generated Node #0,2: 39:[50, 49, 39] Operation: 16+23=39 Exploring Operation: 23-16=7, Resulting Numbers: [50, 49, 7] Generated Node #0,3: 39:[50, 49, 7] Operation: 23-16=7 Moving to Node #0,1 Current State: 39:[16, 23, 1], Operations: ['50-49=1'] Exploring Operation: 23-16=7, Resulting Numbers: [1, 7] Generated Node #0,1,0: 39:[1, 7] Operation: 23-16=7 Exploring Operation: 23-1=22, Resulting Numbers: [16, 22] Generated Node #0,1,1: 39:[16, 22] Operation: 23-1=22 Exploring Operation: 16-1=15, Resulting Numbers: [23, 15] Generated Node #0,1,2: 39:[23, 15] Operation: 16-1=15 Exploring Operation: 16+23=39, Resulting Numbers: [1, 39] Generated Node #0,1,3: 39:[1, 39] Operation: 16+23=39 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[1, 39], Operations: ['50-49=1', '16+23=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[16, 23, 50, 49], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [16, 23, 1] Generated Node #0,1: 39:[16, 23, 1] Operation: 50-49=1 Moving to Node #0,1 Current State: 39:[16, 23, 1], Operations: ['50-49=1'] Exploring Operation: 16+23=39, Resulting Numbers: [1, 39] Generated Node #0,1,3: 39:[1, 39] Operation: 16+23=39 Moving to Node #0,1,3 Current State: 39:[1, 39], Operations: ['50-49=1', '16+23=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 59, 47, 84, 68 ]
46
[ "59+47=106", "84+68=152", "152-106=46" ]
Current State: 46:[59, 47, 84, 68], Operations: [] Exploring Operation: 59+47=106, Resulting Numbers: [84, 68, 106] Generated Node #2: [84, 68, 106] from Operation: 59+47=106 Current State: 46:[84, 68, 106], Operations: ['59+47=106'] Exploring Operation: 84+68=152, Resulting Numbers: [106, 152] Generated Node #3: [106, 152] from Operation: 84+68=152 Current State: 46:[106, 152], Operations: ['59+47=106', '84+68=152'] Exploring Operation: 152-106=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[59, 47, 84, 68], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [59, 47, 16] Generated Node #0,0: 46:[59, 47, 16] Operation: 84-68=16 Moving to Node #0,0 Current State: 46:[59, 47, 16], Operations: ['84-68=16'] Exploring Operation: 59-16=43, Resulting Numbers: [47, 43] Generated Node #0,0,0: 46:[47, 43] Operation: 59-16=43 Moving to Node #0,0,0 Current State: 46:[47, 43], Operations: ['84-68=16', '59-16=43'] Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,46 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 23, 87, 91, 63 ]
82
[ "23+87=110", "91-63=28", "110-28=82" ]
Current State: 82:[23, 87, 91, 63], Operations: [] Exploring Operation: 23+87=110, Resulting Numbers: [91, 63, 110] Generated Node #2: [91, 63, 110] from Operation: 23+87=110 Current State: 82:[91, 63, 110], Operations: ['23+87=110'] Exploring Operation: 91-63=28, Resulting Numbers: [110, 28] Generated Node #3: [110, 28] from Operation: 91-63=28 Current State: 82:[110, 28], Operations: ['23+87=110', '91-63=28'] Exploring Operation: 110-28=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[23, 87, 91, 63], Operations: [] Exploring Operation: 23+63=86, Resulting Numbers: [87, 91, 86] Generated Node #0,0: 82:[87, 91, 86] Operation: 23+63=86 Exploring Operation: 63-23=40, Resulting Numbers: [87, 91, 40] Generated Node #0,1: 82:[87, 91, 40] Operation: 63-23=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[87, 91, 40], Operations: ['63-23=40'] Exploring Operation: 91-87=4, Resulting Numbers: [40, 4] Generated Node #0,1,0: 82:[40, 4] Operation: 91-87=4 Exploring Operation: 87-40=47, Resulting Numbers: [91, 47] Generated Node #0,1,1: 82:[91, 47] Operation: 87-40=47 Moving to Node #0,1,0 Current State: 82:[40, 4], Operations: ['63-23=40', '91-87=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[91, 47], Operations: ['63-23=40', '87-40=47'] Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 91+47=138, Resulting Numbers: [138] 138,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:[87, 91, 86], Operations: ['23+63=86'] Exploring Operation: 91-86=5, Resulting Numbers: [87, 5] Generated Node #0,0,0: 82:[87, 5] Operation: 91-86=5 Exploring Operation: 91-87=4, Resulting Numbers: [86, 4] Generated Node #0,0,1: 82:[86, 4] Operation: 91-87=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[86, 4], Operations: ['23+63=86', '91-87=4'] Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,82 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[23, 87, 91, 63], Operations: [] Exploring Operation: 23+63=86, Resulting Numbers: [87, 91, 86] Generated Node #0,0: 82:[87, 91, 86] Operation: 23+63=86 Moving to Node #0,0 Current State: 82:[87, 91, 86], Operations: ['23+63=86'] Exploring Operation: 91-87=4, Resulting Numbers: [86, 4] Generated Node #0,0,1: 82:[86, 4] Operation: 91-87=4 Moving to Node #0,0,1 Current State: 82:[86, 4], Operations: ['23+63=86', '91-87=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 6, 6, 14, 13 ]
92
[ "13-6=7", "14*7=98", "98-6=92" ]
Current State: 92:[6, 6, 14, 13], Operations: [] Exploring Operation: 13-6=7, Resulting Numbers: [14, 7] Generated Node #2: [14, 7] from Operation: 13-6=7 Current State: 92:[14, 7], Operations: ['13-6=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,92 equal: Goal Reached Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[6, 6, 14, 13], Operations: [] Exploring Operation: 14-13=1, Resulting Numbers: [6, 6, 1] Generated Node #0,0: 92:[6, 6, 1] Operation: 14-13=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[6, 6, 1], Operations: ['14-13=1'] Exploring Operation: 6/6=1, Resulting Numbers: [1, 1] Generated Node #0,0,0: 92:[1, 1] Operation: 6/6=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[1, 1], Operations: ['14-13=1', '6/6=1'] Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 21, 14, 2 ]
61
[ "3*14=42", "21-2=19", "42+19=61" ]
Current State: 61:[3, 21, 14, 2], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [21, 2, 42] Generated Node #2: [21, 2, 42] from Operation: 3*14=42 Current State: 61:[21, 2, 42], Operations: ['3*14=42'] Exploring Operation: 21-2=19, Resulting Numbers: [42, 19] Generated Node #3: [42, 19] from Operation: 21-2=19 Current State: 61:[42, 19], Operations: ['3*14=42', '21-2=19'] Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[3, 21, 14, 2], Operations: [] Exploring Operation: 14*2=28, Resulting Numbers: [3, 21, 28] Generated Node #0,0: 61:[3, 21, 28] Operation: 14*2=28 Exploring Operation: 3*21=63, Resulting Numbers: [14, 2, 63] Generated Node #0,1: 61:[14, 2, 63] Operation: 3*21=63 Exploring Operation: 21*2=42, Resulting Numbers: [3, 14, 42] Generated Node #0,2: 61:[3, 14, 42] Operation: 21*2=42 Exploring Operation: 3*14=42, Resulting Numbers: [21, 2, 42] Generated Node #0,3: 61:[21, 2, 42] Operation: 3*14=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[14, 2, 63], Operations: ['3*21=63'] Exploring Operation: 14-2=12, Resulting Numbers: [63, 12] Generated Node #0,1,0: 61:[63, 12] Operation: 14-2=12 Exploring Operation: 63-2=61, Resulting Numbers: [14, 61] Generated Node #0,1,1: 61:[14, 61] Operation: 63-2=61 Exploring Operation: 14+2=16, Resulting Numbers: [63, 16] Generated Node #0,1,2: 61:[63, 16] Operation: 14+2=16 Exploring Operation: 14*2=28, Resulting Numbers: [63, 28] Generated Node #0,1,3: 61:[63, 28] Operation: 14*2=28 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 61:[63, 28], Operations: ['3*21=63', '14*2=28'] Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,61 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,61 unequal: No Solution Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,61 unequal: No Solution No 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: 61:[14, 61], Operations: ['3*21=63', '63-2=61'] Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,61 unequal: No Solution No 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: 61:[63, 16], Operations: ['3*21=63', '14+2=16'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,61 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,61 unequal: No Solution No 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: 61:[63, 12], Operations: ['3*21=63', '14-2=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,61 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,61 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: 61:[21, 2, 42], Operations: ['3*14=42'] Exploring Operation: 2+42=44, Resulting Numbers: [21, 44] Generated Node #0,3,0: 61:[21, 44] Operation: 2+42=44 Exploring Operation: 21+2=23, Resulting Numbers: [42, 23] Generated Node #0,3,1: 61:[42, 23] Operation: 21+2=23 Exploring Operation: 21*2=42, Resulting Numbers: [42, 42] Generated Node #0,3,2: 61:[42, 42] Operation: 21*2=42 Exploring Operation: 21-2=19, Resulting Numbers: [42, 19] Generated Node #0,3,3: 61:[42, 19] Operation: 21-2=19 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[42, 42], Operations: ['3*14=42', '21*2=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,61 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,61 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,61 unequal: No Solution No 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: 61:[21, 44], Operations: ['3*14=42', '2+42=44'] Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,61 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,61 unequal: No Solution No 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: 61:[42, 23], Operations: ['3*14=42', '21+2=23'] Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,61 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,61 unequal: No Solution No 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: 61:[42, 19], Operations: ['3*14=42', '21-2=19'] Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[3, 21, 14, 2], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [21, 2, 42] Generated Node #0,3: 61:[21, 2, 42] Operation: 3*14=42 Moving to Node #0,3 Current State: 61:[21, 2, 42], Operations: ['3*14=42'] Exploring Operation: 21-2=19, Resulting Numbers: [42, 19] Generated Node #0,3,3: 61:[42, 19] Operation: 21-2=19 Moving to Node #0,3,3 Current State: 61:[42, 19], Operations: ['3*14=42', '21-2=19'] Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_4
mult_heuristic
[ 11, 77, 36, 67 ]
37
[ "77-11=66", "36+67=103", "103-66=37" ]
Current State: 37:[11, 77, 36, 67], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [36, 67, 66] Generated Node #2: [36, 67, 66] from Operation: 77-11=66 Current State: 37:[36, 67, 66], Operations: ['77-11=66'] Exploring Operation: 36+67=103, Resulting Numbers: [66, 103] Generated Node #3: [66, 103] from Operation: 36+67=103 Current State: 37:[66, 103], Operations: ['77-11=66', '36+67=103'] Exploring Operation: 103-66=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[11, 77, 36, 67], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [36, 67, 66] Generated Node #0,0: 37:[36, 67, 66] Operation: 77-11=66 Exploring Operation: 77-67=10, Resulting Numbers: [11, 36, 10] Generated Node #0,1: 37:[11, 36, 10] Operation: 77-67=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[11, 36, 10], Operations: ['77-67=10'] Exploring Operation: 36+10=46, Resulting Numbers: [11, 46] Generated Node #0,1,0: 37:[11, 46] Operation: 36+10=46 Exploring Operation: 11+10=21, Resulting Numbers: [36, 21] Generated Node #0,1,1: 37:[36, 21] Operation: 11+10=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[36, 21], Operations: ['77-67=10', '11+10=21'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,37 unequal: No Solution No 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: 37:[11, 46], Operations: ['77-67=10', '36+10=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,37 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,37 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: 37:[36, 67, 66], Operations: ['77-11=66'] Exploring Operation: 67-36=31, Resulting Numbers: [66, 31] Generated Node #0,0,0: 37:[66, 31] Operation: 67-36=31 Exploring Operation: 66-36=30, Resulting Numbers: [67, 30] Generated Node #0,0,1: 37:[67, 30] Operation: 66-36=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[66, 31], Operations: ['77-11=66', '67-36=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,37 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,37 unequal: No Solution No 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: 37:[67, 30], Operations: ['77-11=66', '66-36=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[11, 77, 36, 67], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [36, 67, 66] Generated Node #0,0: 37:[36, 67, 66] Operation: 77-11=66 Moving to Node #0,0 Current State: 37:[36, 67, 66], Operations: ['77-11=66'] Exploring Operation: 66-36=30, Resulting Numbers: [67, 30] Generated Node #0,0,1: 37:[67, 30] Operation: 66-36=30 Moving to Node #0,0,1 Current State: 37:[67, 30], Operations: ['77-11=66', '66-36=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 36, 3, 48, 2 ]
33
[ "36/2=18", "3+48=51", "51-18=33" ]
Current State: 33:[36, 3, 48, 2], Operations: [] Exploring Operation: 36/2=18, Resulting Numbers: [3, 48, 18] Generated Node #2: [3, 48, 18] from Operation: 36/2=18 Current State: 33:[3, 48, 18], Operations: ['36/2=18'] Exploring Operation: 3+48=51, Resulting Numbers: [18, 51] Generated Node #3: [18, 51] from Operation: 3+48=51 Current State: 33:[18, 51], Operations: ['36/2=18', '3+48=51'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[36, 3, 48, 2], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [36, 2, 16] Generated Node #0,0: 33:[36, 2, 16] Operation: 48/3=16 Exploring Operation: 48-36=12, Resulting Numbers: [3, 2, 12] Generated Node #0,1: 33:[3, 2, 12] Operation: 48-36=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[3, 2, 12], Operations: ['48-36=12'] Exploring Operation: 12/3=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 33:[2, 4] Operation: 12/3=4 Exploring Operation: 12-2=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 33:[3, 10] Operation: 12-2=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[3, 10], Operations: ['48-36=12', '12-2=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,33 unequal: No Solution No 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: 33:[2, 4], Operations: ['48-36=12', '12/3=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,33 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: 33:[36, 2, 16], Operations: ['48/3=16'] Exploring Operation: 36-2=34, Resulting Numbers: [16, 34] Generated Node #0,0,0: 33:[16, 34] Operation: 36-2=34 Exploring Operation: 2*16=32, Resulting Numbers: [36, 32] Generated Node #0,0,1: 33:[36, 32] Operation: 2*16=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[36, 32], Operations: ['48/3=16', '2*16=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,33 unequal: No Solution No 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: 33:[16, 34], Operations: ['48/3=16', '36-2=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,33 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, 30, 33, 22 ]
96
[ "55+30=85", "33-22=11", "85+11=96" ]
Current State: 96:[55, 30, 33, 22], Operations: [] Exploring Operation: 55+30=85, Resulting Numbers: [33, 22, 85] Generated Node #2: [33, 22, 85] from Operation: 55+30=85 Current State: 96:[33, 22, 85], Operations: ['55+30=85'] Exploring Operation: 33-22=11, Resulting Numbers: [85, 11] Generated Node #3: [85, 11] from Operation: 33-22=11 Current State: 96:[85, 11], Operations: ['55+30=85', '33-22=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[55, 30, 33, 22], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [33, 22, 25] Generated Node #0,0: 96:[33, 22, 25] Operation: 55-30=25 Exploring Operation: 55-22=33, Resulting Numbers: [30, 33, 33] Generated Node #0,1: 96:[30, 33, 33] Operation: 55-22=33 Exploring Operation: 55-33=22, Resulting Numbers: [30, 22, 22] Generated Node #0,2: 96:[30, 22, 22] Operation: 55-33=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[33, 22, 25], Operations: ['55-30=25'] Exploring Operation: 33-25=8, Resulting Numbers: [22, 8] Generated Node #0,0,0: 96:[22, 8] Operation: 33-25=8 Exploring Operation: 25-22=3, Resulting Numbers: [33, 3] Generated Node #0,0,1: 96:[33, 3] Operation: 25-22=3 Exploring Operation: 33-22=11, Resulting Numbers: [25, 11] Generated Node #0,0,2: 96:[25, 11] Operation: 33-22=11 Moving to Node #0,0,1 Current State: 96:[33, 3], Operations: ['55-30=25', '25-22=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[22, 8], Operations: ['55-30=25', '33-25=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,96 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[25, 11], Operations: ['55-30=25', '33-22=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,96 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,96 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,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,1 Current State: 96:[30, 33, 33], Operations: ['55-22=33'] Exploring Operation: 33-30=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 96:[33, 3] Operation: 33-30=3 Exploring Operation: 33-30=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 96:[33, 3] Operation: 33-30=3 Exploring Operation: 33/33=1, Resulting Numbers: [30, 1] Generated Node #0,1,2: 96:[30, 1] Operation: 33/33=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[33, 3], Operations: ['55-22=33', '33-30=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,96 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,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:[33, 3], Operations: ['55-22=33', '33-30=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,96 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,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,2 Current State: 96:[30, 1], Operations: ['55-22=33', '33/33=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,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,2 Current State: 96:[30, 22, 22], Operations: ['55-33=22'] Exploring Operation: 30-22=8, Resulting Numbers: [22, 8] Generated Node #0,2,0: 96:[22, 8] Operation: 30-22=8 Exploring Operation: 30-22=8, Resulting Numbers: [22, 8] Generated Node #0,2,1: 96:[22, 8] Operation: 30-22=8 Exploring Operation: 22/22=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 96:[30, 1] Operation: 22/22=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[22, 8], Operations: ['55-33=22', '30-22=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,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,2,1 Current State: 96:[22, 8], Operations: ['55-33=22', '30-22=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,96 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,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,2,2 Current State: 96:[30, 1], Operations: ['55-33=22', '22/22=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,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_3
sum_heuristic
[ 17, 56, 29, 56 ]
46
[ "17+56=73", "56-29=27", "73-27=46" ]
Current State: 46:[17, 56, 29, 56], Operations: [] Exploring Operation: 17+56=73, Resulting Numbers: [29, 73] Generated Node #2: [29, 73] from Operation: 17+56=73 Current State: 46:[29, 73], Operations: ['17+56=73'] Exploring Operation: 56-29=27, Resulting Numbers: [73, 27] Generated Node #3: [73, 27] from Operation: 56-29=27 Current State: 46:[73, 27], Operations: ['17+56=73', '56-29=27'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[17, 56, 29, 56], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [17, 56, 27] Generated Node #0,0: 46:[17, 56, 27] Operation: 56-29=27 Exploring Operation: 56-56=0, Resulting Numbers: [17, 29, 0] Generated Node #0,1: 46:[17, 29, 0] Operation: 56-56=0 Exploring Operation: 17+29=46, Resulting Numbers: [56, 56, 46] Generated Node #0,2: 46:[56, 56, 46] Operation: 17+29=46 Exploring Operation: 56-29=27, Resulting Numbers: [17, 56, 27] Generated Node #0,3: 46:[17, 56, 27] Operation: 56-29=27 Exploring Operation: 56/56=1, Resulting Numbers: [17, 29, 1] Generated Node #0,4: 46:[17, 29, 1] Operation: 56/56=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[17, 29, 1], Operations: ['56/56=1'] Exploring Operation: 17+29=46, Resulting Numbers: [1, 46] Generated Node #0,4,0: 46:[1, 46] Operation: 17+29=46 Exploring Operation: 17*1=17, Resulting Numbers: [29, 17] Generated Node #0,4,1: 46:[29, 17] Operation: 17*1=17 Exploring Operation: 29-17=12, Resulting Numbers: [1, 12] Generated Node #0,4,2: 46:[1, 12] Operation: 29-17=12 Exploring Operation: 29-1=28, Resulting Numbers: [17, 28] Generated Node #0,4,3: 46:[17, 28] Operation: 29-1=28 Exploring Operation: 17+1=18, Resulting Numbers: [29, 18] Generated Node #0,4,4: 46:[29, 18] Operation: 17+1=18 Moving to Node #0,4,0 Current State: 46:[1, 46], Operations: ['56/56=1', '17+29=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[17, 56, 29, 56], Operations: [] Exploring Operation: 56/56=1, Resulting Numbers: [17, 29, 1] Generated Node #0,4: 46:[17, 29, 1] Operation: 56/56=1 Moving to Node #0,4 Current State: 46:[17, 29, 1], Operations: ['56/56=1'] Exploring Operation: 17+29=46, Resulting Numbers: [1, 46] Generated Node #0,4,0: 46:[1, 46] Operation: 17+29=46 Moving to Node #0,4,0 Current State: 46:[1, 46], Operations: ['56/56=1', '17+29=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 2, 32, 71, 10 ]
82
[ "32-10=22", "22/2=11", "71+11=82" ]
Current State: 82:[2, 32, 71, 10], Operations: [] Exploring Operation: 32-10=22, Resulting Numbers: [2, 71, 22] Generated Node #2: [2, 71, 22] from Operation: 32-10=22 Current State: 82:[2, 71, 22], Operations: ['32-10=22'] Exploring Operation: 22/2=11, Resulting Numbers: [71, 11] Generated Node #3: [71, 11] from Operation: 22/2=11 Current State: 82:[71, 11], Operations: ['32-10=22', '22/2=11'] Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[2, 32, 71, 10], Operations: [] Exploring Operation: 71+10=81, Resulting Numbers: [2, 32, 81] Generated Node #0,0: 82:[2, 32, 81] Operation: 71+10=81 Exploring Operation: 71-32=39, Resulting Numbers: [2, 10, 39] Generated Node #0,1: 82:[2, 10, 39] Operation: 71-32=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[2, 32, 81], Operations: ['71+10=81'] Exploring Operation: 2+32=34, Resulting Numbers: [81, 34] Generated Node #0,0,0: 82:[81, 34] Operation: 2+32=34 Exploring Operation: 81-32=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 82:[2, 49] Operation: 81-32=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[81, 34], Operations: ['71+10=81', '2+32=34'] Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,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,1 Current State: 82:[2, 49], Operations: ['71+10=81', '81-32=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,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:[2, 10, 39], Operations: ['71-32=39'] Exploring Operation: 10-2=8, Resulting Numbers: [39, 8] Generated Node #0,1,0: 82:[39, 8] Operation: 10-2=8 Exploring Operation: 10/2=5, Resulting Numbers: [39, 5] Generated Node #0,1,1: 82:[39, 5] Operation: 10/2=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[39, 5], Operations: ['71-32=39', '10/2=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,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,1,0 Current State: 82:[39, 8], Operations: ['71-32=39', '10-2=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 13, 55, 12, 21 ]
59
[ "13+55=68", "21-12=9", "68-9=59" ]
Current State: 59:[13, 55, 12, 21], Operations: [] Exploring Operation: 13+55=68, Resulting Numbers: [12, 21, 68] Generated Node #2: [12, 21, 68] from Operation: 13+55=68 Current State: 59:[12, 21, 68], Operations: ['13+55=68'] Exploring Operation: 21-12=9, Resulting Numbers: [68, 9] Generated Node #3: [68, 9] from Operation: 21-12=9 Current State: 59:[68, 9], Operations: ['13+55=68', '21-12=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[13, 55, 12, 21], Operations: [] Exploring Operation: 12+21=33, Resulting Numbers: [13, 55, 33] Generated Node #0,0: 59:[13, 55, 33] Operation: 12+21=33 Exploring Operation: 13+21=34, Resulting Numbers: [55, 12, 34] Generated Node #0,1: 59:[55, 12, 34] Operation: 13+21=34 Exploring Operation: 13+55=68, Resulting Numbers: [12, 21, 68] Generated Node #0,2: 59:[12, 21, 68] Operation: 13+55=68 Exploring Operation: 13+12=25, Resulting Numbers: [55, 21, 25] Generated Node #0,3: 59:[55, 21, 25] Operation: 13+12=25 Exploring Operation: 55+12=67, Resulting Numbers: [13, 21, 67] Generated Node #0,4: 59:[13, 21, 67] Operation: 55+12=67 Moving to Node #0,0 Current State: 59:[13, 55, 33], Operations: ['12+21=33'] Exploring Operation: 55+33=88, Resulting Numbers: [13, 88] Generated Node #0,0,0: 59:[13, 88] Operation: 55+33=88 Exploring Operation: 33-13=20, Resulting Numbers: [55, 20] Generated Node #0,0,1: 59:[55, 20] Operation: 33-13=20 Exploring Operation: 13+55=68, Resulting Numbers: [33, 68] Generated Node #0,0,2: 59:[33, 68] Operation: 13+55=68 Exploring Operation: 55-13=42, Resulting Numbers: [33, 42] Generated Node #0,0,3: 59:[33, 42] Operation: 55-13=42 Exploring Operation: 13+33=46, Resulting Numbers: [55, 46] Generated Node #0,0,4: 59:[55, 46] Operation: 13+33=46 Moving to Node #0,3 Current State: 59:[55, 21, 25], Operations: ['13+12=25'] Exploring Operation: 55+21=76, Resulting Numbers: [25, 76] Generated Node #0,3,0: 59:[25, 76] Operation: 55+21=76 Exploring Operation: 55-21=34, Resulting Numbers: [25, 34] Generated Node #0,3,1: 59:[25, 34] Operation: 55-21=34 Exploring Operation: 21+25=46, Resulting Numbers: [55, 46] Generated Node #0,3,2: 59:[55, 46] Operation: 21+25=46 Exploring Operation: 25-21=4, Resulting Numbers: [55, 4] Generated Node #0,3,3: 59:[55, 4] Operation: 25-21=4 Exploring Operation: 55+25=80, Resulting Numbers: [21, 80] Generated Node #0,3,4: 59:[21, 80] Operation: 55+25=80 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[55, 46], Operations: ['13+12=25', '21+25=46'] Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,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,3,0 Current State: 59:[25, 76], Operations: ['13+12=25', '55+21=76'] Exploring Operation: 25*76=1900, Resulting Numbers: [1900] 1900,59 unequal: No Solution Exploring Operation: 25+76=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,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,3,1 Current State: 59:[25, 34], Operations: ['13+12=25', '55-21=34'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,59 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[13, 55, 12, 21], Operations: [] Exploring Operation: 13+12=25, Resulting Numbers: [55, 21, 25] Generated Node #0,3: 59:[55, 21, 25] Operation: 13+12=25 Moving to Node #0,3 Current State: 59:[55, 21, 25], Operations: ['13+12=25'] Exploring Operation: 55-21=34, Resulting Numbers: [25, 34] Generated Node #0,3,1: 59:[25, 34] Operation: 55-21=34 Moving to Node #0,3,1 Current State: 59:[25, 34], Operations: ['13+12=25', '55-21=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 88, 28, 10, 44 ]
76
[ "88/44=2", "28+10=38", "2*38=76" ]
Current State: 76:[88, 28, 10, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [28, 10, 2] Generated Node #2: [28, 10, 2] from Operation: 88/44=2 Current State: 76:[28, 10, 2], Operations: ['88/44=2'] Exploring Operation: 28+10=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 28+10=38 Current State: 76:[2, 38], Operations: ['88/44=2', '28+10=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[88, 28, 10, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [28, 10, 2] Generated Node #0,0: 76:[28, 10, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 76:[28, 10, 2], Operations: ['88/44=2'] Exploring Operation: 28+10=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 76:[2, 38] Operation: 28+10=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[2, 38], Operations: ['88/44=2', '28+10=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[88, 28, 10, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [28, 10, 2] Generated Node #0,0: 76:[28, 10, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 76:[28, 10, 2], Operations: ['88/44=2'] Exploring Operation: 28+10=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 76:[2, 38] Operation: 28+10=38 Moving to Node #0,0,0 Current State: 76:[2, 38], Operations: ['88/44=2', '28+10=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 14, 36, 75, 36 ]
62
[ "75-14=61", "36/36=1", "61+1=62" ]
Current State: 62:[14, 36, 75, 36], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [36, 36, 61] Generated Node #2: [36, 36, 61] from Operation: 75-14=61 Current State: 62:[36, 36, 61], Operations: ['75-14=61'] Exploring Operation: 36/36=1, Resulting Numbers: [61, 1] Generated Node #3: [61, 1] from Operation: 36/36=1 Current State: 62:[61, 1], Operations: ['75-14=61', '36/36=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[14, 36, 75, 36], Operations: [] Exploring Operation: 75-36=39, Resulting Numbers: [14, 36, 39] Generated Node #0,0: 62:[14, 36, 39] Operation: 75-36=39 Exploring Operation: 75-14=61, Resulting Numbers: [36, 36, 61] Generated Node #0,1: 62:[36, 36, 61] Operation: 75-14=61 Exploring Operation: 36/36=1, Resulting Numbers: [14, 75, 1] Generated Node #0,2: 62:[14, 75, 1] Operation: 36/36=1 Exploring Operation: 75-36=39, Resulting Numbers: [14, 36, 39] Generated Node #0,3: 62:[14, 36, 39] Operation: 75-36=39 Exploring Operation: 36-14=22, Resulting Numbers: [75, 36, 22] Generated Node #0,4: 62:[75, 36, 22] Operation: 36-14=22 Moving to Node #0,1 Current State: 62:[36, 36, 61], Operations: ['75-14=61'] Exploring Operation: 61-36=25, Resulting Numbers: [36, 25] Generated Node #0,1,0: 62:[36, 25] Operation: 61-36=25 Exploring Operation: 36+36=72, Resulting Numbers: [61, 72] Generated Node #0,1,1: 62:[61, 72] Operation: 36+36=72 Exploring Operation: 61-36=25, Resulting Numbers: [36, 25] Generated Node #0,1,2: 62:[36, 25] Operation: 61-36=25 Exploring Operation: 36/36=1, Resulting Numbers: [61, 1] Generated Node #0,1,3: 62:[61, 1] Operation: 36/36=1 Exploring Operation: 36-36=0, Resulting Numbers: [61, 0] Generated Node #0,1,4: 62:[61, 0] Operation: 36-36=0 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[61, 1], Operations: ['75-14=61', '36/36=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,62 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[14, 36, 75, 36], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [36, 36, 61] Generated Node #0,1: 62:[36, 36, 61] Operation: 75-14=61 Moving to Node #0,1 Current State: 62:[36, 36, 61], Operations: ['75-14=61'] Exploring Operation: 36/36=1, Resulting Numbers: [61, 1] Generated Node #0,1,3: 62:[61, 1] Operation: 36/36=1 Moving to Node #0,1,3 Current State: 62:[61, 1], Operations: ['75-14=61', '36/36=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 30, 13, 14, 53 ]
33
[ "53-14=39", "39/13=3", "30+3=33" ]
Current State: 33:[30, 13, 14, 53], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [30, 13, 39] Generated Node #2: [30, 13, 39] from Operation: 53-14=39 Current State: 33:[30, 13, 39], Operations: ['53-14=39'] Exploring Operation: 39/13=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 39/13=3 Current State: 33:[30, 3], Operations: ['53-14=39', '39/13=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[30, 13, 14, 53], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [30, 14, 40] Generated Node #0,0: 33:[30, 14, 40] Operation: 53-13=40 Exploring Operation: 53-14=39, Resulting Numbers: [30, 13, 39] Generated Node #0,1: 33:[30, 13, 39] Operation: 53-14=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[30, 13, 39], Operations: ['53-14=39'] Exploring Operation: 39-30=9, Resulting Numbers: [13, 9] Generated Node #0,1,0: 33:[13, 9] Operation: 39-30=9 Exploring Operation: 39/13=3, Resulting Numbers: [30, 3] Generated Node #0,1,1: 33:[30, 3] Operation: 39/13=3 Moving to Node #0,1,1 Current State: 33:[30, 3], Operations: ['53-14=39', '39/13=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[30, 13, 14, 53], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [30, 13, 39] Generated Node #0,1: 33:[30, 13, 39] Operation: 53-14=39 Moving to Node #0,1 Current State: 33:[30, 13, 39], Operations: ['53-14=39'] Exploring Operation: 39/13=3, Resulting Numbers: [30, 3] Generated Node #0,1,1: 33:[30, 3] Operation: 39/13=3 Moving to Node #0,1,1 Current State: 33:[30, 3], Operations: ['53-14=39', '39/13=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 13, 3, 49, 24 ]
55
[ "13*24=312", "312/3=104", "104-49=55" ]
Current State: 55:[13, 3, 49, 24], Operations: [] Exploring Operation: 13*24=312, Resulting Numbers: [3, 49, 312] Generated Node #2: [3, 49, 312] from Operation: 13*24=312 Current State: 55:[3, 49, 312], Operations: ['13*24=312'] Exploring Operation: 312/3=104, Resulting Numbers: [49, 104] Generated Node #3: [49, 104] from Operation: 312/3=104 Current State: 55:[49, 104], Operations: ['13*24=312', '312/3=104'] Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[13, 3, 49, 24], Operations: [] Exploring Operation: 3+49=52, Resulting Numbers: [13, 24, 52] Generated Node #0,0: 55:[13, 24, 52] Operation: 3+49=52 Exploring Operation: 24-3=21, Resulting Numbers: [13, 49, 21] Generated Node #0,1: 55:[13, 49, 21] Operation: 24-3=21 Exploring Operation: 24/3=8, Resulting Numbers: [13, 49, 8] Generated Node #0,2: 55:[13, 49, 8] Operation: 24/3=8 Exploring Operation: 24-13=11, Resulting Numbers: [3, 49, 11] Generated Node #0,3: 55:[3, 49, 11] Operation: 24-13=11 Exploring Operation: 49-24=25, Resulting Numbers: [13, 3, 25] Generated Node #0,4: 55:[13, 3, 25] Operation: 49-24=25 Moving to Node #0,3 Current State: 55:[3, 49, 11], Operations: ['24-13=11'] Exploring Operation: 3+11=14, Resulting Numbers: [49, 14] Generated Node #0,3,0: 55:[49, 14] Operation: 3+11=14 Exploring Operation: 49+11=60, Resulting Numbers: [3, 60] Generated Node #0,3,1: 55:[3, 60] Operation: 49+11=60 Exploring Operation: 11-3=8, Resulting Numbers: [49, 8] Generated Node #0,3,2: 55:[49, 8] Operation: 11-3=8 Exploring Operation: 49-3=46, Resulting Numbers: [11, 46] Generated Node #0,3,3: 55:[11, 46] Operation: 49-3=46 Exploring Operation: 3+49=52, Resulting Numbers: [11, 52] Generated Node #0,3,4: 55:[11, 52] Operation: 3+49=52 Moving to Node #0,2 Current State: 55:[13, 49, 8], Operations: ['24/3=8'] Exploring Operation: 49-8=41, Resulting Numbers: [13, 41] Generated Node #0,2,0: 55:[13, 41] Operation: 49-8=41 Exploring Operation: 13-8=5, Resulting Numbers: [49, 5] Generated Node #0,2,1: 55:[49, 5] Operation: 13-8=5 Exploring Operation: 13+8=21, Resulting Numbers: [49, 21] Generated Node #0,2,2: 55:[49, 21] Operation: 13+8=21 Exploring Operation: 49+8=57, Resulting Numbers: [13, 57] Generated Node #0,2,3: 55:[13, 57] Operation: 49+8=57 Exploring Operation: 13+49=62, Resulting Numbers: [8, 62] Generated Node #0,2,4: 55:[8, 62] Operation: 13+49=62 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 55:[13, 57], Operations: ['24/3=8', '49+8=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,55 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[49, 5], Operations: ['24/3=8', '13-8=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,55 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 55:[8, 62], Operations: ['24/3=8', '13+49=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,55 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[13, 41], Operations: ['24/3=8', '49-8=41'] Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[49, 21], Operations: ['24/3=8', '13+8=21'] Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,55 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,55 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 55:[13, 24, 52], Operations: ['3+49=52'] Exploring Operation: 24-13=11, Resulting Numbers: [52, 11] Generated Node #0,0,0: 55:[52, 11] Operation: 24-13=11 Exploring Operation: 52-24=28, Resulting Numbers: [13, 28] Generated Node #0,0,1: 55:[13, 28] Operation: 52-24=28 Exploring Operation: 13+24=37, Resulting Numbers: [52, 37] Generated Node #0,0,2: 55:[52, 37] Operation: 13+24=37 Exploring Operation: 52/13=4, Resulting Numbers: [24, 4] Generated Node #0,0,3: 55:[24, 4] Operation: 52/13=4 Exploring Operation: 13+52=65, Resulting Numbers: [24, 65] Generated Node #0,0,4: 55:[24, 65] Operation: 13+52=65 Moving to Node #0,1 Current State: 55:[13, 49, 21], Operations: ['24-3=21'] Exploring Operation: 49+21=70, Resulting Numbers: [13, 70] Generated Node #0,1,0: 55:[13, 70] Operation: 49+21=70 Exploring Operation: 13+21=34, Resulting Numbers: [49, 34] Generated Node #0,1,1: 55:[49, 34] Operation: 13+21=34 Exploring Operation: 49-21=28, Resulting Numbers: [13, 28] Generated Node #0,1,2: 55:[13, 28] Operation: 49-21=28 Exploring Operation: 21-13=8, Resulting Numbers: [49, 8] Generated Node #0,1,3: 55:[49, 8] Operation: 21-13=8 Exploring Operation: 13+49=62, Resulting Numbers: [21, 62] Generated Node #0,1,4: 55:[21, 62] Operation: 13+49=62 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[49, 8], Operations: ['24-3=21', '21-13=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,55 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[13, 70], Operations: ['24-3=21', '49+21=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,55 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 55:[21, 62], Operations: ['24-3=21', '13+49=62'] Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,55 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[13, 28], Operations: ['24-3=21', '49-21=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[49, 34], Operations: ['24-3=21', '13+21=34'] Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,55 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 55:[13, 3, 25], Operations: ['49-24=25'] Exploring Operation: 25-3=22, Resulting Numbers: [13, 22] Generated Node #0,4,0: 55:[13, 22] Operation: 25-3=22 Exploring Operation: 25-13=12, Resulting Numbers: [3, 12] Generated Node #0,4,1: 55:[3, 12] Operation: 25-13=12 Exploring Operation: 13+25=38, Resulting Numbers: [3, 38] Generated Node #0,4,2: 55:[3, 38] Operation: 13+25=38 Exploring Operation: 13+3=16, Resulting Numbers: [25, 16] Generated Node #0,4,3: 55:[25, 16] Operation: 13+3=16 Exploring Operation: 13-3=10, Resulting Numbers: [25, 10] Generated Node #0,4,4: 55:[25, 10] Operation: 13-3=10 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 55:[3, 12], Operations: ['49-24=25', '25-13=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,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,4,0 Current State: 55:[13, 22], Operations: ['49-24=25', '25-3=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,55 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 55:[25, 10], Operations: ['49-24=25', '13-3=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,55 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 55:[3, 38], Operations: ['49-24=25', '13+25=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,55 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,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,4,3 Current State: 55:[25, 16], Operations: ['49-24=25', '13+3=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,55 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 55:[11, 52], Operations: ['24-13=11', '3+49=52'] Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,55 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[52, 11], Operations: ['3+49=52', '24-13=11'] Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,55 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[3, 60], Operations: ['24-13=11', '49+11=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,55 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[49, 14], Operations: ['24-13=11', '3+11=14'] Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 49+14=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 49*14=686, Resulting Numbers: [686] 686,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[11, 46], Operations: ['24-13=11', '49-3=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,55 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[49, 8], Operations: ['24-13=11', '11-3=8'] Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,55 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[24, 4], Operations: ['3+49=52', '52/13=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[13, 28], Operations: ['3+49=52', '52-24=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,55 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[52, 37], Operations: ['3+49=52', '13+24=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,55 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[24, 65], Operations: ['3+49=52', '13+52=65'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,55 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,55 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 22, 21, 68, 93 ]
25
[ "22-21=1", "93-68=25", "1*25=25" ]
Current State: 25:[22, 21, 68, 93], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [68, 93, 1] Generated Node #2: [68, 93, 1] from Operation: 22-21=1 Current State: 25:[68, 93, 1], Operations: ['22-21=1'] Exploring Operation: 93-68=25, Resulting Numbers: [1, 25] Generated Node #3: [1, 25] from Operation: 93-68=25 Current State: 25:[1, 25], Operations: ['22-21=1', '93-68=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[22, 21, 68, 93], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [21, 93, 46] Generated Node #0,0: 25:[21, 93, 46] Operation: 68-22=46 Exploring Operation: 93-22=71, Resulting Numbers: [21, 68, 71] Generated Node #0,1: 25:[21, 68, 71] Operation: 93-22=71 Exploring Operation: 93-68=25, Resulting Numbers: [22, 21, 25] Generated Node #0,2: 25:[22, 21, 25] Operation: 93-68=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[22, 21, 25], Operations: ['93-68=25'] Exploring Operation: 25-21=4, Resulting Numbers: [22, 4] Generated Node #0,2,0: 25:[22, 4] Operation: 25-21=4 Exploring Operation: 22-21=1, Resulting Numbers: [25, 1] Generated Node #0,2,1: 25:[25, 1] Operation: 22-21=1 Exploring Operation: 25-22=3, Resulting Numbers: [21, 3] Generated Node #0,2,2: 25:[21, 3] Operation: 25-22=3 Moving to Node #0,2,0 Current State: 25:[22, 4], Operations: ['93-68=25', '25-21=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,25 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[25, 1], Operations: ['93-68=25', '22-21=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[22, 21, 68, 93], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [22, 21, 25] Generated Node #0,2: 25:[22, 21, 25] Operation: 93-68=25 Moving to Node #0,2 Current State: 25:[22, 21, 25], Operations: ['93-68=25'] Exploring Operation: 22-21=1, Resulting Numbers: [25, 1] Generated Node #0,2,1: 25:[25, 1] Operation: 22-21=1 Moving to Node #0,2,1 Current State: 25:[25, 1], Operations: ['93-68=25', '22-21=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 38, 11, 40, 16 ]
20
[ "38-16=22", "11*40=440", "440/22=20" ]
Current State: 20:[38, 11, 40, 16], Operations: [] Exploring Operation: 38-16=22, Resulting Numbers: [11, 40, 22] Generated Node #2: [11, 40, 22] from Operation: 38-16=22 Current State: 20:[11, 40, 22], Operations: ['38-16=22'] Exploring Operation: 11*40=440, Resulting Numbers: [22, 440] Generated Node #3: [22, 440] from Operation: 11*40=440 Current State: 20:[22, 440], Operations: ['38-16=22', '11*40=440'] Exploring Operation: 440/22=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[38, 11, 40, 16], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [11, 16, 2] Generated Node #0,0: 20:[11, 16, 2] Operation: 40-38=2 Exploring Operation: 38-16=22, Resulting Numbers: [11, 40, 22] Generated Node #0,1: 20:[11, 40, 22] Operation: 38-16=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[11, 16, 2], Operations: ['40-38=2'] Exploring Operation: 16-11=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 20:[2, 5] Operation: 16-11=5 Exploring Operation: 16+2=18, Resulting Numbers: [11, 18] Generated Node #0,0,1: 20:[11, 18] Operation: 16+2=18 Moving to Node #0,0,0 Current State: 20:[2, 5], Operations: ['40-38=2', '16-11=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[11, 18], Operations: ['40-38=2', '16+2=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,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:[11, 40, 22], Operations: ['38-16=22'] Exploring Operation: 40-11=29, Resulting Numbers: [22, 29] Generated Node #0,1,0: 20:[22, 29] Operation: 40-11=29 Exploring Operation: 40-22=18, Resulting Numbers: [11, 18] Generated Node #0,1,1: 20:[11, 18] Operation: 40-22=18 Moving to Node #0,1,1 Current State: 20:[11, 18], Operations: ['38-16=22', '40-22=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[22, 29], Operations: ['38-16=22', '40-11=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,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
sum_heuristic
[ 93, 59, 95, 70 ]
48
[ "95-93=2", "59*2=118", "118-70=48" ]
Current State: 48:[93, 59, 95, 70], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [59, 70, 2] Generated Node #2: [59, 70, 2] from Operation: 95-93=2 Current State: 48:[59, 70, 2], Operations: ['95-93=2'] Exploring Operation: 59*2=118, Resulting Numbers: [70, 118] Generated Node #3: [70, 118] from Operation: 59*2=118 Current State: 48:[70, 118], Operations: ['95-93=2', '59*2=118'] Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[93, 59, 95, 70], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [59, 70, 2] Generated Node #0,0: 48:[59, 70, 2] Operation: 95-93=2 Exploring Operation: 95-70=25, Resulting Numbers: [93, 59, 25] Generated Node #0,1: 48:[93, 59, 25] Operation: 95-70=25 Moving to Node #0,0 Current State: 48:[59, 70, 2], Operations: ['95-93=2'] Exploring Operation: 70/2=35, Resulting Numbers: [59, 35] Generated Node #0,0,0: 48:[59, 35] Operation: 70/2=35 Exploring Operation: 70-59=11, Resulting Numbers: [2, 11] Generated Node #0,0,1: 48:[2, 11] Operation: 70-59=11 Moving to Node #0,1 Current State: 48:[93, 59, 25], Operations: ['95-70=25'] Exploring Operation: 93-59=34, Resulting Numbers: [25, 34] Generated Node #0,1,0: 48:[25, 34] Operation: 93-59=34 Exploring Operation: 93-25=68, Resulting Numbers: [59, 68] Generated Node #0,1,1: 48:[59, 68] Operation: 93-25=68 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[25, 34], Operations: ['95-70=25', '93-59=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,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,1,1 Current State: 48:[59, 68], Operations: ['95-70=25', '93-25=68'] Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,48 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: 48:[2, 11], Operations: ['95-93=2', '70-59=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[59, 35], Operations: ['95-93=2', '70/2=35'] Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,48 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 96, 36, 4, 64 ]
79
[ "96-36=60", "60/4=15", "64+15=79" ]
Current State: 79:[96, 36, 4, 64], Operations: [] Exploring Operation: 96-36=60, Resulting Numbers: [4, 64, 60] Generated Node #2: [4, 64, 60] from Operation: 96-36=60 Current State: 79:[4, 64, 60], Operations: ['96-36=60'] Exploring Operation: 60/4=15, Resulting Numbers: [64, 15] Generated Node #3: [64, 15] from Operation: 60/4=15 Current State: 79:[64, 15], Operations: ['96-36=60', '60/4=15'] Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[96, 36, 4, 64], Operations: [] Exploring Operation: 96-4=92, Resulting Numbers: [36, 64, 92] Generated Node #0,0: 79:[36, 64, 92] Operation: 96-4=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[36, 64, 92], Operations: ['96-4=92'] Exploring Operation: 36+64=100, Resulting Numbers: [92, 100] Generated Node #0,0,0: 79:[92, 100] Operation: 36+64=100 Moving to Node #0,0,0 Current State: 79:[92, 100], Operations: ['96-4=92', '36+64=100'] Exploring Operation: 100-92=8, Resulting Numbers: [8] 8,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 34, 56, 2, 29 ]
53
[ "56-34=22", "2+29=31", "22+31=53" ]
Current State: 53:[34, 56, 2, 29], Operations: [] Exploring Operation: 56-34=22, Resulting Numbers: [2, 29, 22] Generated Node #2: [2, 29, 22] from Operation: 56-34=22 Current State: 53:[2, 29, 22], Operations: ['56-34=22'] Exploring Operation: 2+29=31, Resulting Numbers: [22, 31] Generated Node #3: [22, 31] from Operation: 2+29=31 Current State: 53:[22, 31], Operations: ['56-34=22', '2+29=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[34, 56, 2, 29], Operations: [] Exploring Operation: 2*29=58, Resulting Numbers: [34, 56, 58] Generated Node #0,0: 53:[34, 56, 58] Operation: 2*29=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[34, 56, 58], Operations: ['2*29=58'] Exploring Operation: 58-34=24, Resulting Numbers: [56, 24] Generated Node #0,0,0: 53:[56, 24] Operation: 58-34=24 Moving to Node #0,0,0 Current State: 53:[56, 24], Operations: ['2*29=58', '58-34=24'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,53 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
[ 51, 93, 6, 29 ]
17
[ "51*29=1479", "93-6=87", "1479/87=17" ]
Current State: 17:[51, 93, 6, 29], Operations: [] Exploring Operation: 51*29=1479, Resulting Numbers: [93, 6, 1479] Generated Node #2: [93, 6, 1479] from Operation: 51*29=1479 Current State: 17:[93, 6, 1479], Operations: ['51*29=1479'] Exploring Operation: 93-6=87, Resulting Numbers: [1479, 87] Generated Node #3: [1479, 87] from Operation: 93-6=87 Current State: 17:[1479, 87], Operations: ['51*29=1479', '93-6=87'] Exploring Operation: 1479/87=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[51, 93, 6, 29], Operations: [] Exploring Operation: 93-6=87, Resulting Numbers: [51, 29, 87] Generated Node #0,0: 17:[51, 29, 87] Operation: 93-6=87 Exploring Operation: 93-29=64, Resulting Numbers: [51, 6, 64] Generated Node #0,1: 17:[51, 6, 64] Operation: 93-29=64 Exploring Operation: 51-29=22, Resulting Numbers: [93, 6, 22] Generated Node #0,2: 17:[93, 6, 22] Operation: 51-29=22 Exploring Operation: 93-51=42, Resulting Numbers: [6, 29, 42] Generated Node #0,3: 17:[6, 29, 42] Operation: 93-51=42 Exploring Operation: 51-6=45, Resulting Numbers: [93, 29, 45] Generated Node #0,4: 17:[93, 29, 45] Operation: 51-6=45 Moving to Node #0,3 Current State: 17:[6, 29, 42], Operations: ['93-51=42'] Exploring Operation: 6+29=35, Resulting Numbers: [42, 35] Generated Node #0,3,0: 17:[42, 35] Operation: 6+29=35 Exploring Operation: 42/6=7, Resulting Numbers: [29, 7] Generated Node #0,3,1: 17:[29, 7] Operation: 42/6=7 Exploring Operation: 42-29=13, Resulting Numbers: [6, 13] Generated Node #0,3,2: 17:[6, 13] Operation: 42-29=13 Exploring Operation: 42-6=36, Resulting Numbers: [29, 36] Generated Node #0,3,3: 17:[29, 36] Operation: 42-6=36 Exploring Operation: 29-6=23, Resulting Numbers: [42, 23] Generated Node #0,3,4: 17:[42, 23] Operation: 29-6=23 Moving to Node #0,2 Current State: 17:[93, 6, 22], Operations: ['51-29=22'] Exploring Operation: 93-6=87, Resulting Numbers: [22, 87] Generated Node #0,2,0: 17:[22, 87] Operation: 93-6=87 Exploring Operation: 22-6=16, Resulting Numbers: [93, 16] Generated Node #0,2,1: 17:[93, 16] Operation: 22-6=16 Exploring Operation: 93+6=99, Resulting Numbers: [22, 99] Generated Node #0,2,2: 17:[22, 99] Operation: 93+6=99 Exploring Operation: 93-22=71, Resulting Numbers: [6, 71] Generated Node #0,2,3: 17:[6, 71] Operation: 93-22=71 Exploring Operation: 6+22=28, Resulting Numbers: [93, 28] Generated Node #0,2,4: 17:[93, 28] Operation: 6+22=28 Moving to Node #0,1 Current State: 17:[51, 6, 64], Operations: ['93-29=64'] Exploring Operation: 64-6=58, Resulting Numbers: [51, 58] Generated Node #0,1,0: 17:[51, 58] Operation: 64-6=58 Exploring Operation: 6+64=70, Resulting Numbers: [51, 70] Generated Node #0,1,1: 17:[51, 70] Operation: 6+64=70 Exploring Operation: 64-51=13, Resulting Numbers: [6, 13] Generated Node #0,1,2: 17:[6, 13] Operation: 64-51=13 Exploring Operation: 51+6=57, Resulting Numbers: [64, 57] Generated Node #0,1,3: 17:[64, 57] Operation: 51+6=57 Exploring Operation: 51-6=45, Resulting Numbers: [64, 45] Generated Node #0,1,4: 17:[64, 45] Operation: 51-6=45 Moving to Node #0,0 Current State: 17:[51, 29, 87], Operations: ['93-6=87'] Exploring Operation: 51+29=80, Resulting Numbers: [87, 80] Generated Node #0,0,0: 17:[87, 80] Operation: 51+29=80 Exploring Operation: 87-51=36, Resulting Numbers: [29, 36] Generated Node #0,0,1: 17:[29, 36] Operation: 87-51=36 Exploring Operation: 51-29=22, Resulting Numbers: [87, 22] Generated Node #0,0,2: 17:[87, 22] Operation: 51-29=22 Exploring Operation: 87-29=58, Resulting Numbers: [51, 58] Generated Node #0,0,3: 17:[51, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [51, 3] Generated Node #0,0,4: 17:[51, 3] Operation: 87/29=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[29, 36], Operations: ['93-6=87', '87-51=36'] Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,17 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[51, 3], Operations: ['93-6=87', '87/29=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[51, 93, 6, 29], Operations: [] Exploring Operation: 93-6=87, Resulting Numbers: [51, 29, 87] Generated Node #0,0: 17:[51, 29, 87] Operation: 93-6=87 Moving to Node #0,0 Current State: 17:[51, 29, 87], Operations: ['93-6=87'] Exploring Operation: 87/29=3, Resulting Numbers: [51, 3] Generated Node #0,0,4: 17:[51, 3] Operation: 87/29=3 Moving to Node #0,0,4 Current State: 17:[51, 3], Operations: ['93-6=87', '87/29=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
mult_heuristic
[ 22, 57, 98, 15 ]
65
[ "22+98=120", "120/15=8", "57+8=65" ]
Current State: 65:[22, 57, 98, 15], Operations: [] Exploring Operation: 22+98=120, Resulting Numbers: [57, 15, 120] Generated Node #2: [57, 15, 120] from Operation: 22+98=120 Current State: 65:[57, 15, 120], Operations: ['22+98=120'] Exploring Operation: 120/15=8, Resulting Numbers: [57, 8] Generated Node #3: [57, 8] from Operation: 120/15=8 Current State: 65:[57, 8], Operations: ['22+98=120', '120/15=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[22, 57, 98, 15], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [22, 15, 41] Generated Node #0,0: 65:[22, 15, 41] Operation: 98-57=41 Exploring Operation: 98-22=76, Resulting Numbers: [57, 15, 76] Generated Node #0,1: 65:[57, 15, 76] Operation: 98-22=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[57, 15, 76], Operations: ['98-22=76'] Exploring Operation: 76-15=61, Resulting Numbers: [57, 61] Generated Node #0,1,0: 65:[57, 61] Operation: 76-15=61 Exploring Operation: 76-57=19, Resulting Numbers: [15, 19] Generated Node #0,1,1: 65:[15, 19] Operation: 76-57=19 Moving to Node #0,1,1 Current State: 65:[15, 19], Operations: ['98-22=76', '76-57=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[57, 61], Operations: ['98-22=76', '76-15=61'] Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,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:[22, 15, 41], Operations: ['98-57=41'] Exploring Operation: 41-22=19, Resulting Numbers: [15, 19] Generated Node #0,0,0: 65:[15, 19] Operation: 41-22=19 Exploring Operation: 22+41=63, Resulting Numbers: [15, 63] Generated Node #0,0,1: 65:[15, 63] Operation: 22+41=63 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[15, 63], Operations: ['98-57=41', '22+41=63'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,65 unequal: No Solution No 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: 65:[15, 19], Operations: ['98-57=41', '41-22=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,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_2
mult_heuristic
[ 31, 26, 91, 13 ]
24
[ "26-13=13", "91/13=7", "31-7=24" ]
Current State: 24:[31, 26, 91, 13], Operations: [] Exploring Operation: 26-13=13, Resulting Numbers: [31, 91, 13] Generated Node #2: [31, 91, 13] from Operation: 26-13=13 Current State: 24:[31, 91, 13], Operations: ['26-13=13'] Exploring Operation: 91/13=7, Resulting Numbers: [31, 7] Generated Node #3: [31, 7] from Operation: 91/13=7 Current State: 24:[31, 7], Operations: ['26-13=13', '91/13=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[31, 26, 91, 13], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [26, 13, 60] Generated Node #0,0: 24:[26, 13, 60] Operation: 91-31=60 Exploring Operation: 91-26=65, Resulting Numbers: [31, 13, 65] Generated Node #0,1: 24:[31, 13, 65] Operation: 91-26=65 Exploring Operation: 91-13=78, Resulting Numbers: [31, 26, 78] Generated Node #0,2: 24:[31, 26, 78] Operation: 91-13=78 Exploring Operation: 91/13=7, Resulting Numbers: [31, 26, 7] Generated Node #0,3: 24:[31, 26, 7] Operation: 91/13=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[31, 26, 7], Operations: ['91/13=7'] Exploring Operation: 31+7=38, Resulting Numbers: [26, 38] Generated Node #0,3,0: 24:[26, 38] Operation: 31+7=38 Exploring Operation: 31-7=24, Resulting Numbers: [26, 24] Generated Node #0,3,1: 24:[26, 24] Operation: 31-7=24 Exploring Operation: 31-26=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 24:[7, 5] Operation: 31-26=5 Exploring Operation: 26-7=19, Resulting Numbers: [31, 19] Generated Node #0,3,3: 24:[31, 19] Operation: 26-7=19 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 24:[26, 24], Operations: ['91/13=7', '31-7=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,24 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,24 unequal: No Solution No 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: 24:[7, 5], Operations: ['91/13=7', '31-26=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,24 unequal: No Solution No 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: 24:[31, 19], Operations: ['91/13=7', '26-7=19'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,24 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,24 unequal: No Solution No 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: 24:[26, 38], Operations: ['91/13=7', '31+7=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,24 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,24 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: 24:[26, 13, 60], Operations: ['91-31=60'] Exploring Operation: 60-13=47, Resulting Numbers: [26, 47] Generated Node #0,0,0: 24:[26, 47] Operation: 60-13=47 Exploring Operation: 26-13=13, Resulting Numbers: [60, 13] Generated Node #0,0,1: 24:[60, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [60, 2] Generated Node #0,0,2: 24:[60, 2] Operation: 26/13=2 Exploring Operation: 60-26=34, Resulting Numbers: [13, 34] Generated Node #0,0,3: 24:[13, 34] Operation: 60-26=34 Moving to Node #0,0,3 Current State: 24:[13, 34], Operations: ['91-31=60', '60-26=34'] Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,24 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[26, 47], Operations: ['91-31=60', '60-13=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,24 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[60, 2], Operations: ['91-31=60', '26/13=2'] Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,24 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[60, 13], Operations: ['91-31=60', '26-13=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,24 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[31, 13, 65], Operations: ['91-26=65'] Exploring Operation: 31-13=18, Resulting Numbers: [65, 18] Generated Node #0,1,0: 24:[65, 18] Operation: 31-13=18 Exploring Operation: 65-31=34, Resulting Numbers: [13, 34] Generated Node #0,1,1: 24:[13, 34] Operation: 65-31=34 Exploring Operation: 65-13=52, Resulting Numbers: [31, 52] Generated Node #0,1,2: 24:[31, 52] Operation: 65-13=52 Exploring Operation: 65/13=5, Resulting Numbers: [31, 5] Generated Node #0,1,3: 24:[31, 5] Operation: 65/13=5 Moving to Node #0,1,3 Current State: 24:[31, 5], Operations: ['91-26=65', '65/13=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,24 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[13, 34], Operations: ['91-26=65', '65-31=34'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[31, 52], Operations: ['91-26=65', '65-13=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[65, 18], Operations: ['91-26=65', '31-13=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[31, 26, 78], Operations: ['91-13=78'] Exploring Operation: 78-26=52, Resulting Numbers: [31, 52] Generated Node #0,2,0: 24:[31, 52] Operation: 78-26=52 Exploring Operation: 78/26=3, Resulting Numbers: [31, 3] Generated Node #0,2,1: 24:[31, 3] Operation: 78/26=3 Exploring Operation: 78-31=47, Resulting Numbers: [26, 47] Generated Node #0,2,2: 24:[26, 47] Operation: 78-31=47 Exploring Operation: 31-26=5, Resulting Numbers: [78, 5] Generated Node #0,2,3: 24:[78, 5] Operation: 31-26=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[31, 3], Operations: ['91-13=78', '78/26=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,24 unequal: No Solution No 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: 24:[26, 47], Operations: ['91-13=78', '78-31=47'] Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,24 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,24 unequal: No Solution No 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: 24:[31, 52], Operations: ['91-13=78', '78-26=52'] Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,24 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,24 unequal: No Solution No 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: 24:[78, 5], Operations: ['91-13=78', '31-26=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,24 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,24 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
[ 11, 90, 11, 93 ]
44
[ "93-90=3", "11*3=33", "11+33=44" ]
Current State: 44:[11, 90, 11, 93], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [11, 11, 3] Generated Node #2: [11, 11, 3] from Operation: 93-90=3 Current State: 44:[11, 11, 3], Operations: ['93-90=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,44 equal: Goal Reached Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[11, 90, 11, 93], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [11, 11, 3] Generated Node #0,0: 44:[11, 11, 3] Operation: 93-90=3 Exploring Operation: 90-11=79, Resulting Numbers: [11, 93, 79] Generated Node #0,1: 44:[11, 93, 79] Operation: 90-11=79 Exploring Operation: 93-11=82, Resulting Numbers: [90, 11, 82] Generated Node #0,2: 44:[90, 11, 82] Operation: 93-11=82 Moving to Node #0,0 Current State: 44:[11, 11, 3], Operations: ['93-90=3'] Exploring Operation: 11-11=0, Resulting Numbers: [3, 0] Generated Node #0,0,0: 44:[3, 0] Operation: 11-11=0 Exploring Operation: 11+11=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 44:[3, 22] Operation: 11+11=22 Exploring Operation: 11/11=1, Resulting Numbers: [3, 1] Generated Node #0,0,2: 44:[3, 1] Operation: 11/11=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[3, 22], Operations: ['93-90=3', '11+11=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,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:[3, 1], Operations: ['93-90=3', '11/11=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,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:[3, 0], Operations: ['93-90=3', '11-11=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,44 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: 44:[11, 93, 79], Operations: ['90-11=79'] Exploring Operation: 93-79=14, Resulting Numbers: [11, 14] Generated Node #0,1,0: 44:[11, 14] Operation: 93-79=14 Exploring Operation: 79-11=68, Resulting Numbers: [93, 68] Generated Node #0,1,1: 44:[93, 68] Operation: 79-11=68 Exploring Operation: 93-11=82, Resulting Numbers: [79, 82] Generated Node #0,1,2: 44:[79, 82] Operation: 93-11=82 Moving to Node #0,2 Current State: 44:[90, 11, 82], Operations: ['93-11=82'] Exploring Operation: 82-11=71, Resulting Numbers: [90, 71] Generated Node #0,2,0: 44:[90, 71] Operation: 82-11=71 Exploring Operation: 90-82=8, Resulting Numbers: [11, 8] Generated Node #0,2,1: 44:[11, 8] Operation: 90-82=8 Exploring Operation: 90-11=79, Resulting Numbers: [82, 79] Generated Node #0,2,2: 44:[82, 79] Operation: 90-11=79 Moving to Node #0,1,0 Current State: 44:[11, 14], Operations: ['90-11=79', '93-79=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[11, 8], Operations: ['93-11=82', '90-82=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[79, 82], Operations: ['90-11=79', '93-11=82'] Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 79*82=6478, Resulting Numbers: [6478] 6478,44 unequal: No Solution Exploring Operation: 79+82=161, Resulting Numbers: [161] 161,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[82, 79], Operations: ['93-11=82', '90-11=79'] Exploring Operation: 82+79=161, Resulting Numbers: [161] 161,44 unequal: No Solution Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 82*79=6478, Resulting Numbers: [6478] 6478,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[90, 71], Operations: ['93-11=82', '82-11=71'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 90*71=6390, Resulting Numbers: [6390] 6390,44 unequal: No Solution Exploring Operation: 90+71=161, Resulting Numbers: [161] 161,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[93, 68], Operations: ['90-11=79', '79-11=68'] Exploring Operation: 93+68=161, Resulting Numbers: [161] 161,44 unequal: No Solution Exploring Operation: 93*68=6324, Resulting Numbers: [6324] 6324,44 unequal: No Solution Exploring Operation: 93-68=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 59, 75, 20, 50 ]
26
[ "59-20=39", "50*39=1950", "1950/75=26" ]
Current State: 26:[59, 75, 20, 50], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [75, 50, 39] Generated Node #2: [75, 50, 39] from Operation: 59-20=39 Current State: 26:[75, 50, 39], Operations: ['59-20=39'] Exploring Operation: 50*39=1950, Resulting Numbers: [75, 1950] Generated Node #3: [75, 1950] from Operation: 50*39=1950 Current State: 26:[75, 1950], Operations: ['59-20=39', '50*39=1950'] Exploring Operation: 1950/75=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[59, 75, 20, 50], Operations: [] Exploring Operation: 75-59=16, Resulting Numbers: [20, 50, 16] Generated Node #0,0: 26:[20, 50, 16] Operation: 75-59=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[20, 50, 16], Operations: ['75-59=16'] Exploring Operation: 50-20=30, Resulting Numbers: [16, 30] Generated Node #0,0,0: 26:[16, 30] Operation: 50-20=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[16, 30], Operations: ['75-59=16', '50-20=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,26 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
[ 8, 72, 58, 27 ]
49
[ "8+72=80", "58-27=31", "80-31=49" ]
Current State: 49:[8, 72, 58, 27], Operations: [] Exploring Operation: 8+72=80, Resulting Numbers: [58, 27, 80] Generated Node #2: [58, 27, 80] from Operation: 8+72=80 Current State: 49:[58, 27, 80], Operations: ['8+72=80'] Exploring Operation: 58-27=31, Resulting Numbers: [80, 31] Generated Node #3: [80, 31] from Operation: 58-27=31 Current State: 49:[80, 31], Operations: ['8+72=80', '58-27=31'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[8, 72, 58, 27], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [58, 27, 9] Generated Node #0,0: 49:[58, 27, 9] Operation: 72/8=9 Exploring Operation: 72-27=45, Resulting Numbers: [8, 58, 45] Generated Node #0,1: 49:[8, 58, 45] Operation: 72-27=45 Exploring Operation: 72-58=14, Resulting Numbers: [8, 27, 14] Generated Node #0,2: 49:[8, 27, 14] Operation: 72-58=14 Moving to Node #0,1 Current State: 49:[8, 58, 45], Operations: ['72-27=45'] Exploring Operation: 58-8=50, Resulting Numbers: [45, 50] Generated Node #0,1,0: 49:[45, 50] Operation: 58-8=50 Exploring Operation: 58-45=13, Resulting Numbers: [8, 13] Generated Node #0,1,1: 49:[8, 13] Operation: 58-45=13 Exploring Operation: 8+45=53, Resulting Numbers: [58, 53] Generated Node #0,1,2: 49:[58, 53] Operation: 8+45=53 Moving to Node #0,2 Current State: 49:[8, 27, 14], Operations: ['72-58=14'] Exploring Operation: 27+14=41, Resulting Numbers: [8, 41] Generated Node #0,2,0: 49:[8, 41] Operation: 27+14=41 Exploring Operation: 27-14=13, Resulting Numbers: [8, 13] Generated Node #0,2,1: 49:[8, 13] Operation: 27-14=13 Exploring Operation: 27-8=19, Resulting Numbers: [14, 19] Generated Node #0,2,2: 49:[14, 19] Operation: 27-8=19 Moving to Node #0,0 Current State: 49:[58, 27, 9], Operations: ['72/8=9'] Exploring Operation: 58-9=49, Resulting Numbers: [27, 49] Generated Node #0,0,0: 49:[27, 49] Operation: 58-9=49 Exploring Operation: 27/9=3, Resulting Numbers: [58, 3] Generated Node #0,0,1: 49:[58, 3] Operation: 27/9=3 Exploring Operation: 58-27=31, Resulting Numbers: [9, 31] Generated Node #0,0,2: 49:[9, 31] Operation: 58-27=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[58, 3], Operations: ['72/8=9', '27/9=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,49 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[27, 49], Operations: ['72/8=9', '58-9=49'] Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,49 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[9, 31], Operations: ['72/8=9', '58-27=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,49 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: 49:[45, 50], Operations: ['72-27=45', '58-8=50'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[8, 13], Operations: ['72-27=45', '58-45=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,49 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[8, 13], Operations: ['72-58=14', '27-14=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,49 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[8, 41], Operations: ['72-58=14', '27+14=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[8, 72, 58, 27], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [8, 27, 14] Generated Node #0,2: 49:[8, 27, 14] Operation: 72-58=14 Moving to Node #0,2 Current State: 49:[8, 27, 14], Operations: ['72-58=14'] Exploring Operation: 27+14=41, Resulting Numbers: [8, 41] Generated Node #0,2,0: 49:[8, 41] Operation: 27+14=41 Moving to Node #0,2,0 Current State: 49:[8, 41], Operations: ['72-58=14', '27+14=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 58, 2, 52, 11 ]
33
[ "58-52=6", "6/2=3", "11*3=33" ]
Current State: 33:[58, 2, 52, 11], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [2, 11, 6] Generated Node #2: [2, 11, 6] from Operation: 58-52=6 Current State: 33:[2, 11, 6], Operations: ['58-52=6'] Exploring Operation: 6/2=3, Resulting Numbers: [11, 3] Generated Node #3: [11, 3] from Operation: 6/2=3 Current State: 33:[11, 3], Operations: ['58-52=6', '6/2=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[58, 2, 52, 11], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [58, 11, 26] Generated Node #0,0: 33:[58, 11, 26] Operation: 52/2=26 Exploring Operation: 58/2=29, Resulting Numbers: [52, 11, 29] Generated Node #0,1: 33:[52, 11, 29] Operation: 58/2=29 Exploring Operation: 58-52=6, Resulting Numbers: [2, 11, 6] Generated Node #0,2: 33:[2, 11, 6] Operation: 58-52=6 Exploring Operation: 52-11=41, Resulting Numbers: [58, 2, 41] Generated Node #0,3: 33:[58, 2, 41] Operation: 52-11=41 Exploring Operation: 58-11=47, Resulting Numbers: [2, 52, 47] Generated Node #0,4: 33:[2, 52, 47] Operation: 58-11=47 Moving to Node #0,2 Current State: 33:[2, 11, 6], Operations: ['58-52=6'] Exploring Operation: 2+6=8, Resulting Numbers: [11, 8] Generated Node #0,2,0: 33:[11, 8] Operation: 2+6=8 Exploring Operation: 11-6=5, Resulting Numbers: [2, 5] Generated Node #0,2,1: 33:[2, 5] Operation: 11-6=5 Exploring Operation: 6/2=3, Resulting Numbers: [11, 3] Generated Node #0,2,2: 33:[11, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [11, 4] Generated Node #0,2,3: 33:[11, 4] Operation: 6-2=4 Exploring Operation: 2*6=12, Resulting Numbers: [11, 12] Generated Node #0,2,4: 33:[11, 12] Operation: 2*6=12 Moving to Node #0,1 Current State: 33:[52, 11, 29], Operations: ['58/2=29'] Exploring Operation: 52-29=23, Resulting Numbers: [11, 23] Generated Node #0,1,0: 33:[11, 23] Operation: 52-29=23 Exploring Operation: 52+11=63, Resulting Numbers: [29, 63] Generated Node #0,1,1: 33:[29, 63] Operation: 52+11=63 Exploring Operation: 29-11=18, Resulting Numbers: [52, 18] Generated Node #0,1,2: 33:[52, 18] Operation: 29-11=18 Exploring Operation: 11+29=40, Resulting Numbers: [52, 40] Generated Node #0,1,3: 33:[52, 40] Operation: 11+29=40 Exploring Operation: 52-11=41, Resulting Numbers: [29, 41] Generated Node #0,1,4: 33:[29, 41] Operation: 52-11=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[11, 23], Operations: ['58/2=29', '52-29=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 33:[29, 41], Operations: ['58/2=29', '52-11=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,33 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[52, 18], Operations: ['58/2=29', '29-11=18'] Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,33 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[52, 40], Operations: ['58/2=29', '11+29=40'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,33 unequal: No Solution Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[29, 63], Operations: ['58/2=29', '52+11=63'] Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,33 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,33 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: 33:[58, 11, 26], Operations: ['52/2=26'] Exploring Operation: 58-26=32, Resulting Numbers: [11, 32] Generated Node #0,0,0: 33:[11, 32] Operation: 58-26=32 Exploring Operation: 58-11=47, Resulting Numbers: [26, 47] Generated Node #0,0,1: 33:[26, 47] Operation: 58-11=47 Exploring Operation: 11+26=37, Resulting Numbers: [58, 37] Generated Node #0,0,2: 33:[58, 37] Operation: 11+26=37 Exploring Operation: 58+11=69, Resulting Numbers: [26, 69] Generated Node #0,0,3: 33:[26, 69] Operation: 58+11=69 Exploring Operation: 26-11=15, Resulting Numbers: [58, 15] Generated Node #0,0,4: 33:[58, 15] Operation: 26-11=15 Moving to Node #0,3 Current State: 33:[58, 2, 41], Operations: ['52-11=41'] Exploring Operation: 58-41=17, Resulting Numbers: [2, 17] Generated Node #0,3,0: 33:[2, 17] Operation: 58-41=17 Exploring Operation: 58-2=56, Resulting Numbers: [41, 56] Generated Node #0,3,1: 33:[41, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [41, 29] Generated Node #0,3,2: 33:[41, 29] Operation: 58/2=29 Exploring Operation: 58+2=60, Resulting Numbers: [41, 60] Generated Node #0,3,3: 33:[41, 60] Operation: 58+2=60 Exploring Operation: 41-2=39, Resulting Numbers: [58, 39] Generated Node #0,3,4: 33:[58, 39] Operation: 41-2=39 Moving to Node #0,4 Current State: 33:[2, 52, 47], Operations: ['58-11=47'] Exploring Operation: 2+52=54, Resulting Numbers: [47, 54] Generated Node #0,4,0: 33:[47, 54] Operation: 2+52=54 Exploring Operation: 52-2=50, Resulting Numbers: [47, 50] Generated Node #0,4,1: 33:[47, 50] Operation: 52-2=50 Exploring Operation: 52-47=5, Resulting Numbers: [2, 5] Generated Node #0,4,2: 33:[2, 5] Operation: 52-47=5 Exploring Operation: 47-2=45, Resulting Numbers: [52, 45] Generated Node #0,4,3: 33:[52, 45] Operation: 47-2=45 Exploring Operation: 52/2=26, Resulting Numbers: [47, 26] Generated Node #0,4,4: 33:[47, 26] Operation: 52/2=26 Moving to Node #0,2,2 Current State: 33:[11, 3], Operations: ['58-52=6', '6/2=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[58, 2, 52, 11], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [2, 11, 6] Generated Node #0,2: 33:[2, 11, 6] Operation: 58-52=6 Moving to Node #0,2 Current State: 33:[2, 11, 6], Operations: ['58-52=6'] Exploring Operation: 6/2=3, Resulting Numbers: [11, 3] Generated Node #0,2,2: 33:[11, 3] Operation: 6/2=3 Moving to Node #0,2,2 Current State: 33:[11, 3], Operations: ['58-52=6', '6/2=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 40, 39, 45, 7 ]
51
[ "40-39=1", "45+7=52", "52-1=51" ]
Current State: 51:[40, 39, 45, 7], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [45, 7, 1] Generated Node #2: [45, 7, 1] from Operation: 40-39=1 Current State: 51:[45, 7, 1], Operations: ['40-39=1'] Exploring Operation: 45+7=52, Resulting Numbers: [1, 52] Generated Node #3: [1, 52] from Operation: 45+7=52 Current State: 51:[1, 52], Operations: ['40-39=1', '45+7=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[40, 39, 45, 7], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [45, 7, 1] Generated Node #0,0: 51:[45, 7, 1] Operation: 40-39=1 Moving to Node #0,0 Current State: 51:[45, 7, 1], Operations: ['40-39=1'] Exploring Operation: 45+7=52, Resulting Numbers: [1, 52] Generated Node #0,0,0: 51:[1, 52] Operation: 45+7=52 Moving to Node #0,0,0 Current State: 51:[1, 52], Operations: ['40-39=1', '45+7=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[40, 39, 45, 7], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [45, 7, 1] Generated Node #0,0: 51:[45, 7, 1] Operation: 40-39=1 Moving to Node #0,0 Current State: 51:[45, 7, 1], Operations: ['40-39=1'] Exploring Operation: 45+7=52, Resulting Numbers: [1, 52] Generated Node #0,0,0: 51:[1, 52] Operation: 45+7=52 Moving to Node #0,0,0 Current State: 51:[1, 52], Operations: ['40-39=1', '45+7=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 95, 30, 2, 49 ]
53
[ "95-49=46", "46/2=23", "30+23=53" ]
Current State: 53:[95, 30, 2, 49], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [30, 2, 46] Generated Node #2: [30, 2, 46] from Operation: 95-49=46 Current State: 53:[30, 2, 46], Operations: ['95-49=46'] Exploring Operation: 46/2=23, Resulting Numbers: [30, 23] Generated Node #3: [30, 23] from Operation: 46/2=23 Current State: 53:[30, 23], Operations: ['95-49=46', '46/2=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[95, 30, 2, 49], Operations: [] Exploring Operation: 95-2=93, Resulting Numbers: [30, 49, 93] Generated Node #0,0: 53:[30, 49, 93] Operation: 95-2=93 Exploring Operation: 95-30=65, Resulting Numbers: [2, 49, 65] Generated Node #0,1: 53:[2, 49, 65] Operation: 95-30=65 Exploring Operation: 30*2=60, Resulting Numbers: [95, 49, 60] Generated Node #0,2: 53:[95, 49, 60] Operation: 30*2=60 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[95, 49, 60], Operations: ['30*2=60'] Exploring Operation: 95-60=35, Resulting Numbers: [49, 35] Generated Node #0,2,0: 53:[49, 35] Operation: 95-60=35 Exploring Operation: 95-49=46, Resulting Numbers: [60, 46] Generated Node #0,2,1: 53:[60, 46] Operation: 95-49=46 Exploring Operation: 60-49=11, Resulting Numbers: [95, 11] Generated Node #0,2,2: 53:[95, 11] Operation: 60-49=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[60, 46], Operations: ['30*2=60', '95-49=46'] Exploring Operation: 60+46=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 60*46=2760, Resulting Numbers: [2760] 2760,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[49, 35], Operations: ['30*2=60', '95-60=35'] Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[95, 11], Operations: ['30*2=60', '60-49=11'] Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,53 unequal: No Solution Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[30, 49, 93], Operations: ['95-2=93'] Exploring Operation: 93-49=44, Resulting Numbers: [30, 44] Generated Node #0,0,0: 53:[30, 44] Operation: 93-49=44 Exploring Operation: 30+49=79, Resulting Numbers: [93, 79] Generated Node #0,0,1: 53:[93, 79] Operation: 30+49=79 Exploring Operation: 93-30=63, Resulting Numbers: [49, 63] Generated Node #0,0,2: 53:[49, 63] Operation: 93-30=63 Moving to Node #0,0,2 Current State: 53:[49, 63], Operations: ['95-2=93', '93-30=63'] Exploring Operation: 49+63=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 49*63=3087, Resulting Numbers: [3087] 3087,53 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[30, 44], Operations: ['95-2=93', '93-49=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[93, 79], Operations: ['95-2=93', '30+49=79'] Exploring Operation: 93+79=172, Resulting Numbers: [172] 172,53 unequal: No Solution Exploring Operation: 93*79=7347, Resulting Numbers: [7347] 7347,53 unequal: No Solution Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[2, 49, 65], Operations: ['95-30=65'] Exploring Operation: 65-2=63, Resulting Numbers: [49, 63] Generated Node #0,1,0: 53:[49, 63] Operation: 65-2=63 Exploring Operation: 49-2=47, Resulting Numbers: [65, 47] Generated Node #0,1,1: 53:[65, 47] Operation: 49-2=47 Exploring Operation: 2+49=51, Resulting Numbers: [65, 51] Generated Node #0,1,2: 53:[65, 51] Operation: 2+49=51 Moving to Node #0,1,0 Current State: 53:[49, 63], Operations: ['95-30=65', '65-2=63'] Exploring Operation: 49*63=3087, Resulting Numbers: [3087] 3087,53 unequal: No Solution Exploring Operation: 49+63=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[65, 51], Operations: ['95-30=65', '2+49=51'] Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,53 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[65, 47], Operations: ['95-30=65', '49-2=47'] Exploring Operation: 65+47=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 65*47=3055, Resulting Numbers: [3055] 3055,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 21, 94, 4, 23 ]
24
[ "94-21=73", "23+73=96", "96/4=24" ]
Current State: 24:[21, 94, 4, 23], Operations: [] Exploring Operation: 94-21=73, Resulting Numbers: [4, 23, 73] Generated Node #2: [4, 23, 73] from Operation: 94-21=73 Current State: 24:[4, 23, 73], Operations: ['94-21=73'] Exploring Operation: 23+73=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 23+73=96 Current State: 24:[4, 96], Operations: ['94-21=73', '23+73=96'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[21, 94, 4, 23], Operations: [] Exploring Operation: 94-21=73, Resulting Numbers: [4, 23, 73] Generated Node #0,0: 24:[4, 23, 73] Operation: 94-21=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[4, 23, 73], Operations: ['94-21=73'] Exploring Operation: 73-23=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 24:[4, 50] Operation: 73-23=50 Moving to Node #0,0,0 Current State: 24:[4, 50], Operations: ['94-21=73', '73-23=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,24 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
[ 20, 31, 62, 74 ]
47
[ "20+74=94", "62/31=2", "94/2=47" ]
Current State: 47:[20, 31, 62, 74], Operations: [] Exploring Operation: 20+74=94, Resulting Numbers: [31, 62, 94] Generated Node #2: [31, 62, 94] from Operation: 20+74=94 Current State: 47:[31, 62, 94], Operations: ['20+74=94'] Exploring Operation: 62/31=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 62/31=2 Current State: 47:[94, 2], Operations: ['20+74=94', '62/31=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[20, 31, 62, 74], Operations: [] Exploring Operation: 74-20=54, Resulting Numbers: [31, 62, 54] Generated Node #0,0: 47:[31, 62, 54] Operation: 74-20=54 Exploring Operation: 20+31=51, Resulting Numbers: [62, 74, 51] Generated Node #0,1: 47:[62, 74, 51] Operation: 20+31=51 Exploring Operation: 62-20=42, Resulting Numbers: [31, 74, 42] Generated Node #0,2: 47:[31, 74, 42] Operation: 62-20=42 Exploring Operation: 74-31=43, Resulting Numbers: [20, 62, 43] Generated Node #0,3: 47:[20, 62, 43] Operation: 74-31=43 Exploring Operation: 62-31=31, Resulting Numbers: [20, 74, 31] Generated Node #0,4: 47:[20, 74, 31] Operation: 62-31=31 Moving to Node #0,0 Current State: 47:[31, 62, 54], Operations: ['74-20=54'] Exploring Operation: 62-31=31, Resulting Numbers: [54, 31] Generated Node #0,0,0: 47:[54, 31] Operation: 62-31=31 Exploring Operation: 31+62=93, Resulting Numbers: [54, 93] Generated Node #0,0,1: 47:[54, 93] Operation: 31+62=93 Exploring Operation: 62/31=2, Resulting Numbers: [54, 2] Generated Node #0,0,2: 47:[54, 2] Operation: 62/31=2 Exploring Operation: 31+54=85, Resulting Numbers: [62, 85] Generated Node #0,0,3: 47:[62, 85] Operation: 31+54=85 Exploring Operation: 54-31=23, Resulting Numbers: [62, 23] Generated Node #0,0,4: 47:[62, 23] Operation: 54-31=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[54, 31], Operations: ['74-20=54', '62-31=31'] Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,47 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,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,0,4 Current State: 47:[62, 23], Operations: ['74-20=54', '54-31=23'] Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,47 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,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,0,2 Current State: 47:[54, 2], Operations: ['74-20=54', '62/31=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,47 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,47 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,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,0,1 Current State: 47:[54, 93], Operations: ['74-20=54', '31+62=93'] Exploring Operation: 54*93=5022, Resulting Numbers: [5022] 5022,47 unequal: No Solution Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 54+93=147, Resulting Numbers: [147] 147,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,0,3 Current State: 47:[62, 85], Operations: ['74-20=54', '31+54=85'] Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 62*85=5270, Resulting Numbers: [5270] 5270,47 unequal: No Solution Exploring Operation: 62+85=147, Resulting Numbers: [147] 147,47 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: 47:[20, 62, 43], Operations: ['74-31=43'] Exploring Operation: 20+43=63, Resulting Numbers: [62, 63] Generated Node #0,3,0: 47:[62, 63] Operation: 20+43=63 Exploring Operation: 62-20=42, Resulting Numbers: [43, 42] Generated Node #0,3,1: 47:[43, 42] Operation: 62-20=42 Exploring Operation: 20+62=82, Resulting Numbers: [43, 82] Generated Node #0,3,2: 47:[43, 82] Operation: 20+62=82 Exploring Operation: 43-20=23, Resulting Numbers: [62, 23] Generated Node #0,3,3: 47:[62, 23] Operation: 43-20=23 Exploring Operation: 62-43=19, Resulting Numbers: [20, 19] Generated Node #0,3,4: 47:[20, 19] Operation: 62-43=19 Moving to Node #0,1 Current State: 47:[62, 74, 51], Operations: ['20+31=51'] Exploring Operation: 62+51=113, Resulting Numbers: [74, 113] Generated Node #0,1,0: 47:[74, 113] Operation: 62+51=113 Exploring Operation: 62-51=11, Resulting Numbers: [74, 11] Generated Node #0,1,1: 47:[74, 11] Operation: 62-51=11 Exploring Operation: 74-51=23, Resulting Numbers: [62, 23] Generated Node #0,1,2: 47:[62, 23] Operation: 74-51=23 Exploring Operation: 74-62=12, Resulting Numbers: [51, 12] Generated Node #0,1,3: 47:[51, 12] Operation: 74-62=12 Exploring Operation: 62+74=136, Resulting Numbers: [51, 136] Generated Node #0,1,4: 47:[51, 136] Operation: 62+74=136 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[62, 23], Operations: ['20+31=51', '74-51=23'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,47 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,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,3 Current State: 47:[51, 12], Operations: ['20+31=51', '74-62=12'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,47 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,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,1 Current State: 47:[74, 11], Operations: ['20+31=51', '62-51=11'] Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,47 unequal: No Solution Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,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:[74, 113], Operations: ['20+31=51', '62+51=113'] Exploring Operation: 74*113=8362, Resulting Numbers: [8362] 8362,47 unequal: No Solution Exploring Operation: 113-74=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 74+113=187, Resulting Numbers: [187] 187,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,4 Current State: 47:[51, 136], Operations: ['20+31=51', '62+74=136'] Exploring Operation: 136-51=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 51+136=187, Resulting Numbers: [187] 187,47 unequal: No Solution Exploring Operation: 51*136=6936, Resulting Numbers: [6936] 6936,47 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: 47:[31, 74, 42], Operations: ['62-20=42'] Exploring Operation: 31+74=105, Resulting Numbers: [42, 105] Generated Node #0,2,0: 47:[42, 105] Operation: 31+74=105 Exploring Operation: 42-31=11, Resulting Numbers: [74, 11] Generated Node #0,2,1: 47:[74, 11] Operation: 42-31=11 Exploring Operation: 74-42=32, Resulting Numbers: [31, 32] Generated Node #0,2,2: 47:[31, 32] Operation: 74-42=32 Exploring Operation: 31+42=73, Resulting Numbers: [74, 73] Generated Node #0,2,3: 47:[74, 73] Operation: 31+42=73 Exploring Operation: 74-31=43, Resulting Numbers: [42, 43] Generated Node #0,2,4: 47:[42, 43] Operation: 74-31=43 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 47:[42, 43], Operations: ['62-20=42', '74-31=43'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,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,2 Current State: 47:[31, 32], Operations: ['62-20=42', '74-42=32'] Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,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,3 Current State: 47:[74, 73], Operations: ['62-20=42', '31+42=73'] Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,47 unequal: No Solution Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,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,0 Current State: 47:[42, 105], Operations: ['62-20=42', '31+74=105'] Exploring Operation: 42+105=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 42*105=4410, Resulting Numbers: [4410] 4410,47 unequal: No Solution Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,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,1 Current State: 47:[74, 11], Operations: ['62-20=42', '42-31=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,47 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: 47:[20, 74, 31], Operations: ['62-31=31'] Exploring Operation: 74-20=54, Resulting Numbers: [31, 54] Generated Node #0,4,0: 47:[31, 54] Operation: 74-20=54 Exploring Operation: 31-20=11, Resulting Numbers: [74, 11] Generated Node #0,4,1: 47:[74, 11] Operation: 31-20=11 Exploring Operation: 74-31=43, Resulting Numbers: [20, 43] Generated Node #0,4,2: 47:[20, 43] Operation: 74-31=43 Exploring Operation: 20+31=51, Resulting Numbers: [74, 51] Generated Node #0,4,3: 47:[74, 51] Operation: 20+31=51 Exploring Operation: 20+74=94, Resulting Numbers: [31, 94] Generated Node #0,4,4: 47:[31, 94] Operation: 20+74=94 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 47:[31, 54], Operations: ['62-31=31', '74-20=54'] Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,47 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,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,4,2 Current State: 47:[20, 43], Operations: ['62-31=31', '74-31=43'] Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,47 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,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,4,3 Current State: 47:[74, 51], Operations: ['62-31=31', '20+31=51'] Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,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,4,1 Current State: 47:[74, 11], Operations: ['62-31=31', '31-20=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,47 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,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,4,4 Current State: 47:[31, 94], Operations: ['62-31=31', '20+74=94'] Exploring Operation: 31*94=2914, Resulting Numbers: [2914] 2914,47 unequal: No Solution Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 31+94=125, Resulting Numbers: [125] 125,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 47:[43, 42], Operations: ['74-31=43', '62-20=42'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,47 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[62, 63], Operations: ['74-31=43', '20+43=63'] Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 62*63=3906, Resulting Numbers: [3906] 3906,47 unequal: No Solution Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[43, 82], Operations: ['74-31=43', '20+62=82'] Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[62, 23], Operations: ['74-31=43', '43-20=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[20, 19], Operations: ['74-31=43', '62-43=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,47 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,47 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 29, 29, 14, 36 ]
58
[ "29*14=406", "36-29=7", "406/7=58" ]
Current State: 58:[29, 29, 14, 36], Operations: [] Exploring Operation: 29*14=406, Resulting Numbers: [36, 406] Generated Node #2: [36, 406] from Operation: 29*14=406 Current State: 58:[36, 406], Operations: ['29*14=406'] Exploring Operation: 36-29=7, Resulting Numbers: [406, 7] Generated Node #3: [406, 7] from Operation: 36-29=7 Current State: 58:[406, 7], Operations: ['29*14=406', '36-29=7'] Exploring Operation: 406/7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[29, 29, 14, 36], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [29, 14, 7] Generated Node #0,0: 58:[29, 14, 7] Operation: 36-29=7 Exploring Operation: 14+36=50, Resulting Numbers: [29, 29, 50] Generated Node #0,1: 58:[29, 29, 50] Operation: 14+36=50 Exploring Operation: 36-14=22, Resulting Numbers: [29, 29, 22] Generated Node #0,2: 58:[29, 29, 22] Operation: 36-14=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[29, 29, 22], Operations: ['36-14=22'] Exploring Operation: 29-22=7, Resulting Numbers: [29, 7] Generated Node #0,2,0: 58:[29, 7] Operation: 29-22=7 Exploring Operation: 29-22=7, Resulting Numbers: [29, 7] Generated Node #0,2,1: 58:[29, 7] Operation: 29-22=7 Exploring Operation: 29+29=58, Resulting Numbers: [22, 58] Generated Node #0,2,2: 58:[22, 58] Operation: 29+29=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 58:[29, 7], Operations: ['36-14=22', '29-22=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,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,1 Current State: 58:[29, 7], Operations: ['36-14=22', '29-22=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,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:[22, 58], Operations: ['36-14=22', '29+29=58'] Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 22*58=1276, Resulting Numbers: [1276] 1276,58 unequal: No Solution Exploring Operation: 22+58=80, Resulting Numbers: [80] 80,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:[29, 29, 50], Operations: ['14+36=50'] Exploring Operation: 29+29=58, Resulting Numbers: [50, 58] Generated Node #0,1,0: 58:[50, 58] Operation: 29+29=58 Exploring Operation: 50-29=21, Resulting Numbers: [29, 21] Generated Node #0,1,1: 58:[29, 21] Operation: 50-29=21 Exploring Operation: 50-29=21, Resulting Numbers: [29, 21] Generated Node #0,1,2: 58:[29, 21] Operation: 50-29=21 Moving to Node #0,1,0 Current State: 58:[50, 58], Operations: ['14+36=50', '29+29=58'] Exploring Operation: 50+58=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 50*58=2900, Resulting Numbers: [2900] 2900,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[29, 21], Operations: ['14+36=50', '50-29=21'] Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,58 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[29, 21], Operations: ['14+36=50', '50-29=21'] Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,58 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[29, 14, 7], Operations: ['36-29=7'] Exploring Operation: 14+7=21, Resulting Numbers: [29, 21] Generated Node #0,0,0: 58:[29, 21] Operation: 14+7=21 Exploring Operation: 14/7=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 58:[29, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [29, 7] Generated Node #0,0,2: 58:[29, 7] Operation: 14-7=7 Moving to Node #0,0,1 Current State: 58:[29, 2], Operations: ['36-29=7', '14/7=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[29, 29, 14, 36], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [29, 14, 7] Generated Node #0,0: 58:[29, 14, 7] Operation: 36-29=7 Moving to Node #0,0 Current State: 58:[29, 14, 7], Operations: ['36-29=7'] Exploring Operation: 14/7=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 58:[29, 2] Operation: 14/7=2 Moving to Node #0,0,1 Current State: 58:[29, 2], Operations: ['36-29=7', '14/7=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 9, 24, 32, 5 ]
13
[ "9+24=33", "32+33=65", "65/5=13" ]
Current State: 13:[9, 24, 32, 5], Operations: [] Exploring Operation: 9+24=33, Resulting Numbers: [32, 5, 33] Generated Node #2: [32, 5, 33] from Operation: 9+24=33 Current State: 13:[32, 5, 33], Operations: ['9+24=33'] Exploring Operation: 32+33=65, Resulting Numbers: [5, 65] Generated Node #3: [5, 65] from Operation: 32+33=65 Current State: 13:[5, 65], Operations: ['9+24=33', '32+33=65'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[9, 24, 32, 5], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [9, 5, 8] Generated Node #0,0: 13:[9, 5, 8] Operation: 32-24=8 Exploring Operation: 32-9=23, Resulting Numbers: [24, 5, 23] Generated Node #0,1: 13:[24, 5, 23] Operation: 32-9=23 Exploring Operation: 24-9=15, Resulting Numbers: [32, 5, 15] Generated Node #0,2: 13:[32, 5, 15] Operation: 24-9=15 Exploring Operation: 24-5=19, Resulting Numbers: [9, 32, 19] Generated Node #0,3: 13:[9, 32, 19] Operation: 24-5=19 Exploring Operation: 32-5=27, Resulting Numbers: [9, 24, 27] Generated Node #0,4: 13:[9, 24, 27] Operation: 32-5=27 Moving to Node #0,0 Current State: 13:[9, 5, 8], Operations: ['32-24=8'] Exploring Operation: 9+8=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 13:[5, 17] Operation: 9+8=17 Exploring Operation: 5+8=13, Resulting Numbers: [9, 13] Generated Node #0,0,1: 13:[9, 13] Operation: 5+8=13 Exploring Operation: 9+5=14, Resulting Numbers: [8, 14] Generated Node #0,0,2: 13:[8, 14] Operation: 9+5=14 Exploring Operation: 8-5=3, Resulting Numbers: [9, 3] Generated Node #0,0,3: 13:[9, 3] Operation: 8-5=3 Exploring Operation: 9-5=4, Resulting Numbers: [8, 4] Generated Node #0,0,4: 13:[8, 4] Operation: 9-5=4 Moving to Node #0,2 Current State: 13:[32, 5, 15], Operations: ['24-9=15'] Exploring Operation: 32-5=27, Resulting Numbers: [15, 27] Generated Node #0,2,0: 13:[15, 27] Operation: 32-5=27 Exploring Operation: 5+15=20, Resulting Numbers: [32, 20] Generated Node #0,2,1: 13:[32, 20] Operation: 5+15=20 Exploring Operation: 32+5=37, Resulting Numbers: [15, 37] Generated Node #0,2,2: 13:[15, 37] Operation: 32+5=37 Exploring Operation: 15-5=10, Resulting Numbers: [32, 10] Generated Node #0,2,3: 13:[32, 10] Operation: 15-5=10 Exploring Operation: 32-15=17, Resulting Numbers: [5, 17] Generated Node #0,2,4: 13:[5, 17] Operation: 32-15=17 Moving to Node #0,4 Current State: 13:[9, 24, 27], Operations: ['32-5=27'] Exploring Operation: 27/9=3, Resulting Numbers: [24, 3] Generated Node #0,4,0: 13:[24, 3] Operation: 27/9=3 Exploring Operation: 24-9=15, Resulting Numbers: [27, 15] Generated Node #0,4,1: 13:[27, 15] Operation: 24-9=15 Exploring Operation: 27-24=3, Resulting Numbers: [9, 3] Generated Node #0,4,2: 13:[9, 3] Operation: 27-24=3 Exploring Operation: 27-9=18, Resulting Numbers: [24, 18] Generated Node #0,4,3: 13:[24, 18] Operation: 27-9=18 Exploring Operation: 9+24=33, Resulting Numbers: [27, 33] Generated Node #0,4,4: 13:[27, 33] Operation: 9+24=33 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 13:[9, 3], Operations: ['32-5=27', '27-24=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 13:[27, 15], Operations: ['32-5=27', '24-9=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,13 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 13:[24, 18], Operations: ['32-5=27', '27-9=18'] Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,13 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 13:[24, 3], Operations: ['32-5=27', '27/9=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 13:[27, 33], Operations: ['32-5=27', '9+24=33'] Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,13 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,13 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: 13:[24, 5, 23], Operations: ['32-9=23'] Exploring Operation: 24-5=19, Resulting Numbers: [23, 19] Generated Node #0,1,0: 13:[23, 19] Operation: 24-5=19 Exploring Operation: 23-5=18, Resulting Numbers: [24, 18] Generated Node #0,1,1: 13:[24, 18] Operation: 23-5=18 Exploring Operation: 24+5=29, Resulting Numbers: [23, 29] Generated Node #0,1,2: 13:[23, 29] Operation: 24+5=29 Exploring Operation: 5+23=28, Resulting Numbers: [24, 28] Generated Node #0,1,3: 13:[24, 28] Operation: 5+23=28 Exploring Operation: 24-23=1, Resulting Numbers: [5, 1] Generated Node #0,1,4: 13:[5, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[23, 19], Operations: ['32-9=23', '24-5=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,13 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,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,1 Current State: 13:[24, 18], Operations: ['32-9=23', '23-5=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,13 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 13:[5, 1], Operations: ['32-9=23', '24-23=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[23, 29], Operations: ['32-9=23', '24+5=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,13 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[24, 28], Operations: ['32-9=23', '5+23=28'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,13 unequal: No Solution Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 13:[9, 32, 19], Operations: ['24-5=19'] Exploring Operation: 32-19=13, Resulting Numbers: [9, 13] Generated Node #0,3,0: 13:[9, 13] Operation: 32-19=13 Exploring Operation: 32-9=23, Resulting Numbers: [19, 23] Generated Node #0,3,1: 13:[19, 23] Operation: 32-9=23 Exploring Operation: 9+19=28, Resulting Numbers: [32, 28] Generated Node #0,3,2: 13:[32, 28] Operation: 9+19=28 Exploring Operation: 19-9=10, Resulting Numbers: [32, 10] Generated Node #0,3,3: 13:[32, 10] Operation: 19-9=10 Exploring Operation: 9+32=41, Resulting Numbers: [19, 41] Generated Node #0,3,4: 13:[19, 41] Operation: 9+32=41 Moving to Node #0,0,1 Current State: 13:[9, 13], Operations: ['32-24=8', '5+8=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,13 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[9, 13], Operations: ['24-5=19', '32-19=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,13 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[8, 14], Operations: ['32-24=8', '9+5=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,13 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[5, 17], Operations: ['32-24=8', '9+8=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[5, 17], Operations: ['24-9=15', '32-15=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,13 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[8, 4], Operations: ['32-24=8', '9-5=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[9, 3], Operations: ['32-24=8', '8-5=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[15, 27], Operations: ['24-9=15', '32-5=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[19, 23], Operations: ['24-5=19', '32-9=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[32, 10], Operations: ['24-5=19', '19-9=10'] Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,13 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[32, 10], Operations: ['24-9=15', '15-5=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,13 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[15, 37], Operations: ['24-9=15', '32+5=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,13 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[32, 20], Operations: ['24-9=15', '5+15=20'] Exploring Operation: 32+20=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 32*20=640, Resulting Numbers: [640] 640,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[19, 41], Operations: ['24-5=19', '9+32=41'] Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 19*41=779, Resulting Numbers: [779] 779,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[32, 28], Operations: ['24-5=19', '9+19=28'] Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,13 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,13 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 63, 9, 99, 12 ]
63
[ "99/9=11", "12-11=1", "63*1=63" ]
Current State: 63:[63, 9, 99, 12], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [63, 12, 11] Generated Node #2: [63, 12, 11] from Operation: 99/9=11 Current State: 63:[63, 12, 11], Operations: ['99/9=11'] Exploring Operation: 12-11=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 12-11=1 Current State: 63:[63, 1], Operations: ['99/9=11', '12-11=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[63, 9, 99, 12], Operations: [] Exploring Operation: 99-12=87, Resulting Numbers: [63, 9, 87] Generated Node #0,0: 63:[63, 9, 87] Operation: 99-12=87 Exploring Operation: 99/9=11, Resulting Numbers: [63, 12, 11] Generated Node #0,1: 63:[63, 12, 11] Operation: 99/9=11 Exploring Operation: 99-63=36, Resulting Numbers: [9, 12, 36] Generated Node #0,2: 63:[9, 12, 36] Operation: 99-63=36 Exploring Operation: 99-9=90, Resulting Numbers: [63, 12, 90] Generated Node #0,3: 63:[63, 12, 90] Operation: 99-9=90 Exploring Operation: 9+12=21, Resulting Numbers: [63, 99, 21] Generated Node #0,4: 63:[63, 99, 21] Operation: 9+12=21 Moving to Node #0,1 Current State: 63:[63, 12, 11], Operations: ['99/9=11'] Exploring Operation: 12+11=23, Resulting Numbers: [63, 23] Generated Node #0,1,0: 63:[63, 23] Operation: 12+11=23 Exploring Operation: 63+12=75, Resulting Numbers: [11, 75] Generated Node #0,1,1: 63:[11, 75] Operation: 63+12=75 Exploring Operation: 63-12=51, Resulting Numbers: [11, 51] Generated Node #0,1,2: 63:[11, 51] Operation: 63-12=51 Exploring Operation: 12-11=1, Resulting Numbers: [63, 1] Generated Node #0,1,3: 63:[63, 1] Operation: 12-11=1 Exploring Operation: 63+11=74, Resulting Numbers: [12, 74] Generated Node #0,1,4: 63:[12, 74] Operation: 63+11=74 Moving to Node #0,2 Current State: 63:[9, 12, 36], Operations: ['99-63=36'] Exploring Operation: 36/9=4, Resulting Numbers: [12, 4] Generated Node #0,2,0: 63:[12, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [12, 27] Generated Node #0,2,1: 63:[12, 27] Operation: 36-9=27 Exploring Operation: 36/12=3, Resulting Numbers: [9, 3] Generated Node #0,2,2: 63:[9, 3] Operation: 36/12=3 Exploring Operation: 9+12=21, Resulting Numbers: [36, 21] Generated Node #0,2,3: 63:[36, 21] Operation: 9+12=21 Exploring Operation: 36-12=24, Resulting Numbers: [9, 24] Generated Node #0,2,4: 63:[9, 24] Operation: 36-12=24 Moving to Node #0,0 Current State: 63:[63, 9, 87], Operations: ['99-12=87'] Exploring Operation: 87-63=24, Resulting Numbers: [9, 24] Generated Node #0,0,0: 63:[9, 24] Operation: 87-63=24 Exploring Operation: 63/9=7, Resulting Numbers: [87, 7] Generated Node #0,0,1: 63:[87, 7] Operation: 63/9=7 Exploring Operation: 63-9=54, Resulting Numbers: [87, 54] Generated Node #0,0,2: 63:[87, 54] Operation: 63-9=54 Exploring Operation: 63+9=72, Resulting Numbers: [87, 72] Generated Node #0,0,3: 63:[87, 72] Operation: 63+9=72 Exploring Operation: 87-9=78, Resulting Numbers: [63, 78] Generated Node #0,0,4: 63:[63, 78] Operation: 87-9=78 Moving to Node #0,3 Current State: 63:[63, 12, 90], Operations: ['99-9=90'] Exploring Operation: 90-12=78, Resulting Numbers: [63, 78] Generated Node #0,3,0: 63:[63, 78] Operation: 90-12=78 Exploring Operation: 63-12=51, Resulting Numbers: [90, 51] Generated Node #0,3,1: 63:[90, 51] Operation: 63-12=51 Exploring Operation: 90-63=27, Resulting Numbers: [12, 27] Generated Node #0,3,2: 63:[12, 27] Operation: 90-63=27 Exploring Operation: 12+90=102, Resulting Numbers: [63, 102] Generated Node #0,3,3: 63:[63, 102] Operation: 12+90=102 Exploring Operation: 63+12=75, Resulting Numbers: [90, 75] Generated Node #0,3,4: 63:[90, 75] Operation: 63+12=75 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 63:[12, 27], Operations: ['99-9=90', '90-63=27'] Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,63 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[63, 78], Operations: ['99-9=90', '90-12=78'] Exploring Operation: 63*78=4914, Resulting Numbers: [4914] 4914,63 unequal: No Solution Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 63+78=141, Resulting Numbers: [141] 141,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[90, 51], Operations: ['99-9=90', '63-12=51'] Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,63 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 63:[63, 102], Operations: ['99-9=90', '12+90=102'] Exploring Operation: 63*102=6426, Resulting Numbers: [6426] 6426,63 unequal: No Solution Exploring Operation: 63+102=165, Resulting Numbers: [165] 165,63 unequal: No Solution Exploring Operation: 102-63=39, Resulting Numbers: [39] 39,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 63:[90, 75], Operations: ['99-9=90', '63+12=75'] Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,63 unequal: No Solution Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,63 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: 63:[63, 99, 21], Operations: ['9+12=21'] Exploring Operation: 99-21=78, Resulting Numbers: [63, 78] Generated Node #0,4,0: 63:[63, 78] Operation: 99-21=78 Exploring Operation: 99-63=36, Resulting Numbers: [21, 36] Generated Node #0,4,1: 63:[21, 36] Operation: 99-63=36 Exploring Operation: 63-21=42, Resulting Numbers: [99, 42] Generated Node #0,4,2: 63:[99, 42] Operation: 63-21=42 Exploring Operation: 63/21=3, Resulting Numbers: [99, 3] Generated Node #0,4,3: 63:[99, 3] Operation: 63/21=3 Exploring Operation: 63+21=84, Resulting Numbers: [99, 84] Generated Node #0,4,4: 63:[99, 84] Operation: 63+21=84 Moving to Node #0,2,2 Current State: 63:[9, 3], Operations: ['99-63=36', '36/12=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[63, 23], Operations: ['99/9=11', '12+11=23'] Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,63 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[63, 1], Operations: ['99/9=11', '12-11=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[63, 9, 99, 12], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [63, 12, 11] Generated Node #0,1: 63:[63, 12, 11] Operation: 99/9=11 Moving to Node #0,1 Current State: 63:[63, 12, 11], Operations: ['99/9=11'] Exploring Operation: 12-11=1, Resulting Numbers: [63, 1] Generated Node #0,1,3: 63:[63, 1] Operation: 12-11=1 Moving to Node #0,1,3 Current State: 63:[63, 1], Operations: ['99/9=11', '12-11=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.950521
hs_5
sum_heuristic
[ 16, 63, 86, 49 ]
84
[ "63-16=47", "86-49=37", "47+37=84" ]
Current State: 84:[16, 63, 86, 49], Operations: [] Exploring Operation: 63-16=47, Resulting Numbers: [86, 49, 47] Generated Node #2: [86, 49, 47] from Operation: 63-16=47 Current State: 84:[86, 49, 47], Operations: ['63-16=47'] Exploring Operation: 86-49=37, Resulting Numbers: [47, 37] Generated Node #3: [47, 37] from Operation: 86-49=37 Current State: 84:[47, 37], Operations: ['63-16=47', '86-49=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[16, 63, 86, 49], Operations: [] Exploring Operation: 86-63=23, Resulting Numbers: [16, 49, 23] Generated Node #0,0: 84:[16, 49, 23] Operation: 86-63=23 Exploring Operation: 63-49=14, Resulting Numbers: [16, 86, 14] Generated Node #0,1: 84:[16, 86, 14] Operation: 63-49=14 Moving to Node #0,1 Current State: 84:[16, 86, 14], Operations: ['63-49=14'] Exploring Operation: 16+14=30, Resulting Numbers: [86, 30] Generated Node #0,1,0: 84:[86, 30] Operation: 16+14=30 Exploring Operation: 16-14=2, Resulting Numbers: [86, 2] Generated Node #0,1,1: 84:[86, 2] Operation: 16-14=2 Moving to Node #0,0 Current State: 84:[16, 49, 23], Operations: ['86-63=23'] Exploring Operation: 49-23=26, Resulting Numbers: [16, 26] Generated Node #0,0,0: 84:[16, 26] Operation: 49-23=26 Exploring Operation: 49-16=33, Resulting Numbers: [23, 33] Generated Node #0,0,1: 84:[23, 33] Operation: 49-16=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[16, 26], Operations: ['86-63=23', '49-23=26'] Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[23, 33], Operations: ['86-63=23', '49-16=33'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,84 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: 84:[86, 2], Operations: ['63-49=14', '16-14=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[16, 63, 86, 49], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [16, 86, 14] Generated Node #0,1: 84:[16, 86, 14] Operation: 63-49=14 Moving to Node #0,1 Current State: 84:[16, 86, 14], Operations: ['63-49=14'] Exploring Operation: 16-14=2, Resulting Numbers: [86, 2] Generated Node #0,1,1: 84:[86, 2] Operation: 16-14=2 Moving to Node #0,1,1 Current State: 84:[86, 2], Operations: ['63-49=14', '16-14=2'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 10, 55, 7, 34 ]
47
[ "10-7=3", "34*3=102", "102-55=47" ]
Current State: 47:[10, 55, 7, 34], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [55, 34, 3] Generated Node #2: [55, 34, 3] from Operation: 10-7=3 Current State: 47:[55, 34, 3], Operations: ['10-7=3'] Exploring Operation: 34*3=102, Resulting Numbers: [55, 102] Generated Node #3: [55, 102] from Operation: 34*3=102 Current State: 47:[55, 102], Operations: ['10-7=3', '34*3=102'] Exploring Operation: 102-55=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[10, 55, 7, 34], Operations: [] Exploring Operation: 10*7=70, Resulting Numbers: [55, 34, 70] Generated Node #0,0: 47:[55, 34, 70] Operation: 10*7=70 Moving to Node #0,0 Current State: 47:[55, 34, 70], Operations: ['10*7=70'] Exploring Operation: 70-34=36, Resulting Numbers: [55, 36] Generated Node #0,0,0: 47:[55, 36] Operation: 70-34=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[55, 36], Operations: ['10*7=70', '70-34=36'] Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,47 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, 51, 46, 30 ]
90
[ "51-46=5", "24*5=120", "120-30=90" ]
Current State: 90:[24, 51, 46, 30], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [24, 30, 5] Generated Node #2: [24, 30, 5] from Operation: 51-46=5 Current State: 90:[24, 30, 5], Operations: ['51-46=5'] Exploring Operation: 24*5=120, Resulting Numbers: [30, 120] Generated Node #3: [30, 120] from Operation: 24*5=120 Current State: 90:[30, 120], Operations: ['51-46=5', '24*5=120'] Exploring Operation: 120-30=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[24, 51, 46, 30], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [24, 30, 5] Generated Node #0,0: 90:[24, 30, 5] Operation: 51-46=5 Exploring Operation: 51-24=27, Resulting Numbers: [46, 30, 27] Generated Node #0,1: 90:[46, 30, 27] Operation: 51-24=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[46, 30, 27], Operations: ['51-24=27'] Exploring Operation: 46-27=19, Resulting Numbers: [30, 19] Generated Node #0,1,0: 90:[30, 19] Operation: 46-27=19 Exploring Operation: 30-27=3, Resulting Numbers: [46, 3] Generated Node #0,1,1: 90:[46, 3] Operation: 30-27=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[30, 19], Operations: ['51-24=27', '46-27=19'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[46, 3], Operations: ['51-24=27', '30-27=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[24, 30, 5], Operations: ['51-46=5'] Exploring Operation: 24+5=29, Resulting Numbers: [30, 29] Generated Node #0,0,0: 90:[30, 29] Operation: 24+5=29 Exploring Operation: 30-24=6, Resulting Numbers: [5, 6] Generated Node #0,0,1: 90:[5, 6] Operation: 30-24=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[5, 6], Operations: ['51-46=5', '30-24=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[30, 29], Operations: ['51-46=5', '24+5=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,90 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 38, 27, 73, 80 ]
10
[ "38+27=65", "73-65=8", "80/8=10" ]
Current State: 10:[38, 27, 73, 80], Operations: [] Exploring Operation: 38+27=65, Resulting Numbers: [73, 80, 65] Generated Node #2: [73, 80, 65] from Operation: 38+27=65 Current State: 10:[73, 80, 65], Operations: ['38+27=65'] Exploring Operation: 73-65=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 73-65=8 Current State: 10:[80, 8], Operations: ['38+27=65', '73-65=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[38, 27, 73, 80], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [27, 80, 35] Generated Node #0,0: 10:[27, 80, 35] Operation: 73-38=35 Exploring Operation: 80-38=42, Resulting Numbers: [27, 73, 42] Generated Node #0,1: 10:[27, 73, 42] Operation: 80-38=42 Exploring Operation: 80-73=7, Resulting Numbers: [38, 27, 7] Generated Node #0,2: 10:[38, 27, 7] Operation: 80-73=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[38, 27, 7], Operations: ['80-73=7'] Exploring Operation: 38-27=11, Resulting Numbers: [7, 11] Generated Node #0,2,0: 10:[7, 11] Operation: 38-27=11 Exploring Operation: 27-7=20, Resulting Numbers: [38, 20] Generated Node #0,2,1: 10:[38, 20] Operation: 27-7=20 Exploring Operation: 38-7=31, Resulting Numbers: [27, 31] Generated Node #0,2,2: 10:[27, 31] Operation: 38-7=31 Moving to Node #0,2,0 Current State: 10:[7, 11], Operations: ['80-73=7', '38-27=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[38, 20], Operations: ['80-73=7', '27-7=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[27, 31], Operations: ['80-73=7', '38-7=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[27, 80, 35], Operations: ['73-38=35'] Exploring Operation: 80-27=53, Resulting Numbers: [35, 53] Generated Node #0,0,0: 10:[35, 53] Operation: 80-27=53 Exploring Operation: 35-27=8, Resulting Numbers: [80, 8] Generated Node #0,0,1: 10:[80, 8] Operation: 35-27=8 Exploring Operation: 80-35=45, Resulting Numbers: [27, 45] Generated Node #0,0,2: 10:[27, 45] Operation: 80-35=45 Moving to Node #0,0,2 Current State: 10:[27, 45], Operations: ['73-38=35', '80-35=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,10 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[35, 53], Operations: ['73-38=35', '80-27=53'] Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,10 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[80, 8], Operations: ['73-38=35', '35-27=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[38, 27, 73, 80], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [27, 80, 35] Generated Node #0,0: 10:[27, 80, 35] Operation: 73-38=35 Moving to Node #0,0 Current State: 10:[27, 80, 35], Operations: ['73-38=35'] Exploring Operation: 35-27=8, Resulting Numbers: [80, 8] Generated Node #0,0,1: 10:[80, 8] Operation: 35-27=8 Moving to Node #0,0,1 Current State: 10:[80, 8], Operations: ['73-38=35', '35-27=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
sum_heuristic
[ 88, 72, 24, 42 ]
28
[ "88-72=16", "42*16=672", "672/24=28" ]
Current State: 28:[88, 72, 24, 42], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [24, 42, 16] Generated Node #2: [24, 42, 16] from Operation: 88-72=16 Current State: 28:[24, 42, 16], Operations: ['88-72=16'] Exploring Operation: 42*16=672, Resulting Numbers: [24, 672] Generated Node #3: [24, 672] from Operation: 42*16=672 Current State: 28:[24, 672], Operations: ['88-72=16', '42*16=672'] Exploring Operation: 672/24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[88, 72, 24, 42], Operations: [] Exploring Operation: 72-42=30, Resulting Numbers: [88, 24, 30] Generated Node #0,0: 28:[88, 24, 30] Operation: 72-42=30 Exploring Operation: 88-72=16, Resulting Numbers: [24, 42, 16] Generated Node #0,1: 28:[24, 42, 16] Operation: 88-72=16 Exploring Operation: 88-42=46, Resulting Numbers: [72, 24, 46] Generated Node #0,2: 28:[72, 24, 46] Operation: 88-42=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[24, 42, 16], Operations: ['88-72=16'] Exploring Operation: 42-24=18, Resulting Numbers: [16, 18] Generated Node #0,1,0: 28:[16, 18] Operation: 42-24=18 Exploring Operation: 24-16=8, Resulting Numbers: [42, 8] Generated Node #0,1,1: 28:[42, 8] Operation: 24-16=8 Exploring Operation: 42-16=26, Resulting Numbers: [24, 26] Generated Node #0,1,2: 28:[24, 26] Operation: 42-16=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[16, 18], Operations: ['88-72=16', '42-24=18'] Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,28 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[24, 26], Operations: ['88-72=16', '42-16=26'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,28 unequal: No Solution Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[42, 8], Operations: ['88-72=16', '24-16=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[88, 24, 30], Operations: ['72-42=30'] Exploring Operation: 88-24=64, Resulting Numbers: [30, 64] Generated Node #0,0,0: 28:[30, 64] Operation: 88-24=64 Exploring Operation: 88-30=58, Resulting Numbers: [24, 58] Generated Node #0,0,1: 28:[24, 58] Operation: 88-30=58 Exploring Operation: 30-24=6, Resulting Numbers: [88, 6] Generated Node #0,0,2: 28:[88, 6] Operation: 30-24=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[24, 58], Operations: ['72-42=30', '88-30=58'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 24*58=1392, Resulting Numbers: [1392] 1392,28 unequal: No Solution Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[30, 64], Operations: ['72-42=30', '88-24=64'] Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,28 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,28 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[88, 6], Operations: ['72-42=30', '30-24=6'] Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,28 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[72, 24, 46], Operations: ['88-42=46'] Exploring Operation: 72-46=26, Resulting Numbers: [24, 26] Generated Node #0,2,0: 28:[24, 26] Operation: 72-46=26 Exploring Operation: 72/24=3, Resulting Numbers: [46, 3] Generated Node #0,2,1: 28:[46, 3] Operation: 72/24=3 Exploring Operation: 72-24=48, Resulting Numbers: [46, 48] Generated Node #0,2,2: 28:[46, 48] Operation: 72-24=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[24, 26], Operations: ['88-42=46', '72-46=26'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[46, 3], Operations: ['88-42=46', '72/24=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[46, 48], Operations: ['88-42=46', '72-24=48'] Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,28 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 84, 7, 78, 84 ]
54
[ "84+84=168", "168/7=24", "78-24=54" ]
Current State: 54:[84, 7, 78, 84], Operations: [] Exploring Operation: 84+84=168, Resulting Numbers: [7, 78, 168] Generated Node #2: [7, 78, 168] from Operation: 84+84=168 Current State: 54:[7, 78, 168], Operations: ['84+84=168'] Exploring Operation: 168/7=24, Resulting Numbers: [78, 24] Generated Node #3: [78, 24] from Operation: 168/7=24 Current State: 54:[78, 24], Operations: ['84+84=168', '168/7=24'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[84, 7, 78, 84], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [7, 78, 0] Generated Node #0,0: 54:[7, 78, 0] Operation: 84-84=0 Exploring Operation: 84/84=1, Resulting Numbers: [7, 78, 1] Generated Node #0,1: 54:[7, 78, 1] Operation: 84/84=1 Moving to Node #0,1 Current State: 54:[7, 78, 1], Operations: ['84/84=1'] Exploring Operation: 78-7=71, Resulting Numbers: [1, 71] Generated Node #0,1,0: 54:[1, 71] Operation: 78-7=71 Exploring Operation: 7-1=6, Resulting Numbers: [78, 6] Generated Node #0,1,1: 54:[78, 6] Operation: 7-1=6 Moving to Node #0,0 Current State: 54:[7, 78, 0], Operations: ['84-84=0'] Exploring Operation: 78-7=71, Resulting Numbers: [0, 71] Generated Node #0,0,0: 54:[0, 71] Operation: 78-7=71 Exploring Operation: 78*0=0, Resulting Numbers: [7, 0] Generated Node #0,0,1: 54:[7, 0] Operation: 78*0=0 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[7, 0], Operations: ['84-84=0', '78*0=0'] Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,54 unequal: No Solution No 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: 54:[0, 71], Operations: ['84-84=0', '78-7=71'] Exploring Operation: 0+71=71, Resulting Numbers: [71] 71,54 unequal: No Solution Exploring Operation: 0*71=0, Resulting Numbers: [0] 0,54 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: 54:[1, 71], Operations: ['84/84=1', '78-7=71'] Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,54 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[78, 6], Operations: ['84/84=1', '7-1=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,54 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 45, 47, 91, 79 ]
14
[ "47-45=2", "91-79=12", "2+12=14" ]
Current State: 14:[45, 47, 91, 79], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [91, 79, 2] Generated Node #2: [91, 79, 2] from Operation: 47-45=2 Current State: 14:[91, 79, 2], Operations: ['47-45=2'] Exploring Operation: 91-79=12, Resulting Numbers: [2, 12] Generated Node #3: [2, 12] from Operation: 91-79=12 Current State: 14:[2, 12], Operations: ['47-45=2', '91-79=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[45, 47, 91, 79], Operations: [] Exploring Operation: 91-47=44, Resulting Numbers: [45, 79, 44] Generated Node #0,0: 14:[45, 79, 44] Operation: 91-47=44 Exploring Operation: 79-47=32, Resulting Numbers: [45, 91, 32] Generated Node #0,1: 14:[45, 91, 32] Operation: 79-47=32 Exploring Operation: 91-79=12, Resulting Numbers: [45, 47, 12] Generated Node #0,2: 14:[45, 47, 12] Operation: 91-79=12 Moving to Node #0,2 Current State: 14:[45, 47, 12], Operations: ['91-79=12'] Exploring Operation: 47-45=2, Resulting Numbers: [12, 2] Generated Node #0,2,0: 14:[12, 2] Operation: 47-45=2 Exploring Operation: 47-12=35, Resulting Numbers: [45, 35] Generated Node #0,2,1: 14:[45, 35] Operation: 47-12=35 Exploring Operation: 45-12=33, Resulting Numbers: [47, 33] Generated Node #0,2,2: 14:[47, 33] Operation: 45-12=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[12, 2], Operations: ['91-79=12', '47-45=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[45, 47, 91, 79], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [45, 47, 12] Generated Node #0,2: 14:[45, 47, 12] Operation: 91-79=12 Moving to Node #0,2 Current State: 14:[45, 47, 12], Operations: ['91-79=12'] Exploring Operation: 47-45=2, Resulting Numbers: [12, 2] Generated Node #0,2,0: 14:[12, 2] Operation: 47-45=2 Moving to Node #0,2,0 Current State: 14:[12, 2], Operations: ['91-79=12', '47-45=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 84, 40, 85, 73 ]
33
[ "85-84=1", "73-40=33", "1*33=33" ]
Current State: 33:[84, 40, 85, 73], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [40, 73, 1] Generated Node #2: [40, 73, 1] from Operation: 85-84=1 Current State: 33:[40, 73, 1], Operations: ['85-84=1'] Exploring Operation: 73-40=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 73-40=33 Current State: 33:[1, 33], Operations: ['85-84=1', '73-40=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[84, 40, 85, 73], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [40, 73, 1] Generated Node #0,0: 33:[40, 73, 1] Operation: 85-84=1 Exploring Operation: 84-40=44, Resulting Numbers: [85, 73, 44] Generated Node #0,1: 33:[85, 73, 44] Operation: 84-40=44 Exploring Operation: 85-73=12, Resulting Numbers: [84, 40, 12] Generated Node #0,2: 33:[84, 40, 12] Operation: 85-73=12 Exploring Operation: 84-73=11, Resulting Numbers: [40, 85, 11] Generated Node #0,3: 33:[40, 85, 11] Operation: 84-73=11 Moving to Node #0,0 Current State: 33:[40, 73, 1], Operations: ['85-84=1'] Exploring Operation: 73-1=72, Resulting Numbers: [40, 72] Generated Node #0,0,0: 33:[40, 72] Operation: 73-1=72 Exploring Operation: 40-1=39, Resulting Numbers: [73, 39] Generated Node #0,0,1: 33:[73, 39] Operation: 40-1=39 Exploring Operation: 73-40=33, Resulting Numbers: [1, 33] Generated Node #0,0,2: 33:[1, 33] Operation: 73-40=33 Exploring Operation: 40*1=40, Resulting Numbers: [73, 40] Generated Node #0,0,3: 33:[73, 40] Operation: 40*1=40 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[1, 33], Operations: ['85-84=1', '73-40=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[84, 40, 85, 73], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [40, 73, 1] Generated Node #0,0: 33:[40, 73, 1] Operation: 85-84=1 Moving to Node #0,0 Current State: 33:[40, 73, 1], Operations: ['85-84=1'] Exploring Operation: 73-40=33, Resulting Numbers: [1, 33] Generated Node #0,0,2: 33:[1, 33] Operation: 73-40=33 Moving to Node #0,0,2 Current State: 33:[1, 33], Operations: ['85-84=1', '73-40=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 56, 63, 70, 79 ]
63
[ "63-56=7", "79-70=9", "7*9=63" ]
Current State: 63:[56, 63, 70, 79], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [70, 79, 7] Generated Node #2: [70, 79, 7] from Operation: 63-56=7 Current State: 63:[70, 79, 7], Operations: ['63-56=7'] Exploring Operation: 79-70=9, Resulting Numbers: [7, 9] Generated Node #3: [7, 9] from Operation: 79-70=9 Current State: 63:[7, 9], Operations: ['63-56=7', '79-70=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[56, 63, 70, 79], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [56, 63, 9] Generated Node #0,0: 63:[56, 63, 9] Operation: 79-70=9 Exploring Operation: 79-56=23, Resulting Numbers: [63, 70, 23] Generated Node #0,1: 63:[63, 70, 23] Operation: 79-56=23 Moving to Node #0,0 Current State: 63:[56, 63, 9], Operations: ['79-70=9'] Exploring Operation: 63-56=7, Resulting Numbers: [9, 7] Generated Node #0,0,0: 63:[9, 7] Operation: 63-56=7 Exploring Operation: 56+9=65, Resulting Numbers: [63, 65] Generated Node #0,0,1: 63:[63, 65] Operation: 56+9=65 Moving to Node #0,1 Current State: 63:[63, 70, 23], Operations: ['79-56=23'] Exploring Operation: 70-63=7, Resulting Numbers: [23, 7] Generated Node #0,1,0: 63:[23, 7] Operation: 70-63=7 Exploring Operation: 70-23=47, Resulting Numbers: [63, 47] Generated Node #0,1,1: 63:[63, 47] Operation: 70-23=47 Moving to Node #0,0,0 Current State: 63:[9, 7], Operations: ['79-70=9', '63-56=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[56, 63, 70, 79], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [56, 63, 9] Generated Node #0,0: 63:[56, 63, 9] Operation: 79-70=9 Moving to Node #0,0 Current State: 63:[56, 63, 9], Operations: ['79-70=9'] Exploring Operation: 63-56=7, Resulting Numbers: [9, 7] Generated Node #0,0,0: 63:[9, 7] Operation: 63-56=7 Moving to Node #0,0,0 Current State: 63:[9, 7], Operations: ['79-70=9', '63-56=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 75, 63, 3, 96 ]
42
[ "96-75=21", "63/3=21", "21+21=42" ]
Current State: 42:[75, 63, 3, 96], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [63, 3, 21] Generated Node #2: [63, 3, 21] from Operation: 96-75=21 Current State: 42:[63, 3, 21], Operations: ['96-75=21'] Exploring Operation: 63/3=21, Resulting Numbers: [21, 21] Generated Node #3: [21, 21] from Operation: 63/3=21 Current State: 42:[21, 21], Operations: ['96-75=21', '63/3=21'] Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[75, 63, 3, 96], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [3, 96, 12] Generated Node #0,0: 42:[3, 96, 12] Operation: 75-63=12 Exploring Operation: 96-63=33, Resulting Numbers: [75, 3, 33] Generated Node #0,1: 42:[75, 3, 33] Operation: 96-63=33 Exploring Operation: 96-75=21, Resulting Numbers: [63, 3, 21] Generated Node #0,2: 42:[63, 3, 21] Operation: 96-75=21 Exploring Operation: 96/3=32, Resulting Numbers: [75, 63, 32] Generated Node #0,3: 42:[75, 63, 32] Operation: 96/3=32 Moving to Node #0,2 Current State: 42:[63, 3, 21], Operations: ['96-75=21'] Exploring Operation: 63-21=42, Resulting Numbers: [3, 42] Generated Node #0,2,0: 42:[3, 42] Operation: 63-21=42 Exploring Operation: 63/3=21, Resulting Numbers: [21, 21] Generated Node #0,2,1: 42:[21, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [21, 60] Generated Node #0,2,2: 42:[21, 60] Operation: 63-3=60 Exploring Operation: 63/21=3, Resulting Numbers: [3, 3] Generated Node #0,2,3: 42:[3, 3] Operation: 63/21=3 Moving to Node #0,1 Current State: 42:[75, 3, 33], Operations: ['96-63=33'] Exploring Operation: 75-3=72, Resulting Numbers: [33, 72] Generated Node #0,1,0: 42:[33, 72] Operation: 75-3=72 Exploring Operation: 75-33=42, Resulting Numbers: [3, 42] Generated Node #0,1,1: 42:[3, 42] Operation: 75-33=42 Exploring Operation: 33/3=11, Resulting Numbers: [75, 11] Generated Node #0,1,2: 42:[75, 11] Operation: 33/3=11 Exploring Operation: 75/3=25, Resulting Numbers: [33, 25] Generated Node #0,1,3: 42:[33, 25] Operation: 75/3=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[3, 42], Operations: ['96-63=33', '75-33=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,42 unequal: No Solution No 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: 42:[33, 25], Operations: ['96-63=33', '75/3=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,42 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,42 unequal: No Solution No 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: 42:[75, 11], Operations: ['96-63=33', '33/3=11'] Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,42 unequal: No Solution Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,42 unequal: No Solution No 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: 42:[33, 72], Operations: ['96-63=33', '75-3=72'] Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,42 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,42 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: 42:[3, 96, 12], Operations: ['75-63=12'] Exploring Operation: 96-12=84, Resulting Numbers: [3, 84] Generated Node #0,0,0: 42:[3, 84] Operation: 96-12=84 Exploring Operation: 96/3=32, Resulting Numbers: [12, 32] Generated Node #0,0,1: 42:[12, 32] Operation: 96/3=32 Exploring Operation: 96/12=8, Resulting Numbers: [3, 8] Generated Node #0,0,2: 42:[3, 8] Operation: 96/12=8 Exploring Operation: 96-3=93, Resulting Numbers: [12, 93] Generated Node #0,0,3: 42:[12, 93] Operation: 96-3=93 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[3, 8], Operations: ['75-63=12', '96/12=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,42 unequal: No Solution No 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: 42:[12, 32], Operations: ['75-63=12', '96/3=32'] Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,42 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,42 unequal: No Solution No 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: 42:[3, 84], Operations: ['75-63=12', '96-12=84'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,42 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,42 unequal: No Solution No 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: 42:[12, 93], Operations: ['75-63=12', '96-3=93'] Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 12+93=105, Resulting Numbers: [105] 105,42 unequal: No Solution Exploring Operation: 12*93=1116, Resulting Numbers: [1116] 1116,42 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: 42:[75, 63, 32], Operations: ['96/3=32'] Exploring Operation: 75-32=43, Resulting Numbers: [63, 43] Generated Node #0,3,0: 42:[63, 43] Operation: 75-32=43 Exploring Operation: 63-32=31, Resulting Numbers: [75, 31] Generated Node #0,3,1: 42:[75, 31] Operation: 63-32=31 Exploring Operation: 75-63=12, Resulting Numbers: [32, 12] Generated Node #0,3,2: 42:[32, 12] Operation: 75-63=12 Exploring Operation: 75+32=107, Resulting Numbers: [63, 107] Generated Node #0,3,3: 42:[63, 107] Operation: 75+32=107 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[32, 12], Operations: ['96/3=32', '75-63=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,42 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[63, 43], Operations: ['96/3=32', '75-32=43'] Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,42 unequal: No Solution Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,42 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,42 unequal: No Solution No 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: 42:[75, 31], Operations: ['96/3=32', '63-32=31'] Exploring Operation: 75*31=2325, Resulting Numbers: [2325] 2325,42 unequal: No Solution Exploring Operation: 75+31=106, Resulting Numbers: [106] 106,42 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,42 unequal: No Solution No 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: 42:[63, 107], Operations: ['96/3=32', '75+32=107'] Exploring Operation: 63*107=6741, Resulting Numbers: [6741] 6741,42 unequal: No Solution Exploring Operation: 107-63=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 63+107=170, Resulting Numbers: [170] 170,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 42:[3, 42], Operations: ['96-75=21', '63-21=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,42 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[3, 3], Operations: ['96-75=21', '63/21=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[21, 21], Operations: ['96-75=21', '63/3=21'] Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,42 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[75, 63, 3, 96], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [63, 3, 21] Generated Node #0,2: 42:[63, 3, 21] Operation: 96-75=21 Moving to Node #0,2 Current State: 42:[63, 3, 21], Operations: ['96-75=21'] Exploring Operation: 63/3=21, Resulting Numbers: [21, 21] Generated Node #0,2,1: 42:[21, 21] Operation: 63/3=21 Moving to Node #0,2,1 Current State: 42:[21, 21], Operations: ['96-75=21', '63/3=21'] Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.936632
hs_4
mult_heuristic
[ 46, 8, 92, 99 ]
10
[ "99-92=7", "8*7=56", "56-46=10" ]
Current State: 10:[46, 8, 92, 99], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [46, 8, 7] Generated Node #2: [46, 8, 7] from Operation: 99-92=7 Current State: 10:[46, 8, 7], Operations: ['99-92=7'] Exploring Operation: 8*7=56, Resulting Numbers: [46, 56] Generated Node #3: [46, 56] from Operation: 8*7=56 Current State: 10:[46, 56], Operations: ['99-92=7', '8*7=56'] Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[46, 8, 92, 99], Operations: [] Exploring Operation: 92-46=46, Resulting Numbers: [8, 99, 46] Generated Node #0,0: 10:[8, 99, 46] Operation: 92-46=46 Exploring Operation: 99-92=7, Resulting Numbers: [46, 8, 7] Generated Node #0,1: 10:[46, 8, 7] Operation: 99-92=7 Exploring Operation: 92/46=2, Resulting Numbers: [8, 99, 2] Generated Node #0,2: 10:[8, 99, 2] Operation: 92/46=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[46, 8, 7], Operations: ['99-92=7'] Exploring Operation: 8-7=1, Resulting Numbers: [46, 1] Generated Node #0,1,0: 10:[46, 1] Operation: 8-7=1 Exploring Operation: 46-8=38, Resulting Numbers: [7, 38] Generated Node #0,1,1: 10:[7, 38] Operation: 46-8=38 Exploring Operation: 46-7=39, Resulting Numbers: [8, 39] Generated Node #0,1,2: 10:[8, 39] Operation: 46-7=39 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[7, 38], Operations: ['99-92=7', '46-8=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,10 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,10 unequal: No Solution No 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: 10:[8, 39], Operations: ['99-92=7', '46-7=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,10 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,10 unequal: No Solution No 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: 10:[46, 1], Operations: ['99-92=7', '8-7=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,10 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,10 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,10 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: 10:[8, 99, 2], Operations: ['92/46=2'] Exploring Operation: 8+2=10, Resulting Numbers: [99, 10] Generated Node #0,2,0: 10:[99, 10] Operation: 8+2=10 Exploring Operation: 99-8=91, Resulting Numbers: [2, 91] Generated Node #0,2,1: 10:[2, 91] Operation: 99-8=91 Exploring Operation: 99-2=97, Resulting Numbers: [8, 97] Generated Node #0,2,2: 10:[8, 97] Operation: 99-2=97 Moving to Node #0,2,1 Current State: 10:[2, 91], Operations: ['92/46=2', '99-8=91'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,10 unequal: No Solution Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[99, 10], Operations: ['92/46=2', '8+2=10'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 99*10=990, Resulting Numbers: [990] 990,10 unequal: No Solution Exploring Operation: 99+10=109, Resulting Numbers: [109] 109,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[8, 97], Operations: ['92/46=2', '99-2=97'] Exploring Operation: 8+97=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,10 unequal: No Solution Exploring Operation: 8*97=776, Resulting Numbers: [776] 776,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[8, 99, 46], Operations: ['92-46=46'] Exploring Operation: 99-8=91, Resulting Numbers: [46, 91] Generated Node #0,0,0: 10:[46, 91] Operation: 99-8=91 Exploring Operation: 46-8=38, Resulting Numbers: [99, 38] Generated Node #0,0,1: 10:[99, 38] Operation: 46-8=38 Exploring Operation: 99-46=53, Resulting Numbers: [8, 53] Generated Node #0,0,2: 10:[8, 53] Operation: 99-46=53 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[8, 53], Operations: ['92-46=46', '99-46=53'] Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,10 unequal: No Solution No 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: 10:[46, 91], Operations: ['92-46=46', '99-8=91'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 46*91=4186, Resulting Numbers: [4186] 4186,10 unequal: No Solution Exploring Operation: 46+91=137, Resulting Numbers: [137] 137,10 unequal: No Solution No 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: 10:[99, 38], Operations: ['92-46=46', '46-8=38'] Exploring Operation: 99+38=137, Resulting Numbers: [137] 137,10 unequal: No Solution Exploring Operation: 99*38=3762, Resulting Numbers: [3762] 3762,10 unequal: No Solution Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,10 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
[ 74, 83, 81, 2 ]
99
[ "83-74=9", "2*9=18", "81+18=99" ]
Current State: 99:[74, 83, 81, 2], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [81, 2, 9] Generated Node #2: [81, 2, 9] from Operation: 83-74=9 Current State: 99:[81, 2, 9], Operations: ['83-74=9'] Exploring Operation: 2*9=18, Resulting Numbers: [81, 18] Generated Node #3: [81, 18] from Operation: 2*9=18 Current State: 99:[81, 18], Operations: ['83-74=9', '2*9=18'] Exploring Operation: 81+18=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[74, 83, 81, 2], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [83, 2, 7] Generated Node #0,0: 99:[83, 2, 7] Operation: 81-74=7 Exploring Operation: 83-81=2, Resulting Numbers: [74, 2, 2] Generated Node #0,1: 99:[74, 2, 2] Operation: 83-81=2 Exploring Operation: 83-74=9, Resulting Numbers: [81, 2, 9] Generated Node #0,2: 99:[81, 2, 9] Operation: 83-74=9 Moving to Node #0,0 Current State: 99:[83, 2, 7], Operations: ['81-74=7'] Exploring Operation: 83+7=90, Resulting Numbers: [2, 90] Generated Node #0,0,0: 99:[2, 90] Operation: 83+7=90 Exploring Operation: 2+7=9, Resulting Numbers: [83, 9] Generated Node #0,0,1: 99:[83, 9] Operation: 2+7=9 Exploring Operation: 83+2=85, Resulting Numbers: [7, 85] Generated Node #0,0,2: 99:[7, 85] Operation: 83+2=85 Moving to Node #0,2 Current State: 99:[81, 2, 9], Operations: ['83-74=9'] Exploring Operation: 81+9=90, Resulting Numbers: [2, 90] Generated Node #0,2,0: 99:[2, 90] Operation: 81+9=90 Exploring Operation: 81+2=83, Resulting Numbers: [9, 83] Generated Node #0,2,1: 99:[9, 83] Operation: 81+2=83 Exploring Operation: 81/9=9, Resulting Numbers: [2, 9] Generated Node #0,2,2: 99:[2, 9] Operation: 81/9=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[2, 9], Operations: ['83-74=9', '81/9=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[2, 90], Operations: ['83-74=9', '81+9=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[9, 83], Operations: ['83-74=9', '81+2=83'] Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[74, 2, 2], Operations: ['83-81=2'] Exploring Operation: 74+2=76, Resulting Numbers: [2, 76] Generated Node #0,1,0: 99:[2, 76] Operation: 74+2=76 Exploring Operation: 74/2=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 99:[2, 37] Operation: 74/2=37 Exploring Operation: 74/2=37, Resulting Numbers: [2, 37] Generated Node #0,1,2: 99:[2, 37] Operation: 74/2=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[2, 37], Operations: ['83-81=2', '74/2=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,99 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[2, 37], Operations: ['83-81=2', '74/2=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[2, 76], Operations: ['83-81=2', '74+2=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,99 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,99 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: 99:[2, 90], Operations: ['81-74=7', '83+7=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,99 unequal: No Solution Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[83, 9], Operations: ['81-74=7', '2+7=9'] Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,99 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[7, 85], Operations: ['81-74=7', '83+2=85'] Exploring Operation: 7+85=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 7*85=595, Resulting Numbers: [595] 595,99 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 68, 47, 38, 43 ]
34
[ "68+47=115", "38+43=81", "115-81=34" ]
Current State: 34:[68, 47, 38, 43], Operations: [] Exploring Operation: 68+47=115, Resulting Numbers: [38, 43, 115] Generated Node #2: [38, 43, 115] from Operation: 68+47=115 Current State: 34:[38, 43, 115], Operations: ['68+47=115'] Exploring Operation: 38+43=81, Resulting Numbers: [115, 81] Generated Node #3: [115, 81] from Operation: 38+43=81 Current State: 34:[115, 81], Operations: ['68+47=115', '38+43=81'] Exploring Operation: 115-81=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[68, 47, 38, 43], Operations: [] Exploring Operation: 68-47=21, Resulting Numbers: [38, 43, 21] Generated Node #0,0: 34:[38, 43, 21] Operation: 68-47=21 Exploring Operation: 68-43=25, Resulting Numbers: [47, 38, 25] Generated Node #0,1: 34:[47, 38, 25] Operation: 68-43=25 Moving to Node #0,0 Current State: 34:[38, 43, 21], Operations: ['68-47=21'] Exploring Operation: 43-38=5, Resulting Numbers: [21, 5] Generated Node #0,0,0: 34:[21, 5] Operation: 43-38=5 Exploring Operation: 38-21=17, Resulting Numbers: [43, 17] Generated Node #0,0,1: 34:[43, 17] Operation: 38-21=17 Moving to Node #0,1 Current State: 34:[47, 38, 25], Operations: ['68-43=25'] Exploring Operation: 47-38=9, Resulting Numbers: [25, 9] Generated Node #0,1,0: 34:[25, 9] Operation: 47-38=9 Exploring Operation: 47-25=22, Resulting Numbers: [38, 22] Generated Node #0,1,1: 34:[38, 22] Operation: 47-25=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[38, 22], Operations: ['68-43=25', '47-25=22'] Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[25, 9], Operations: ['68-43=25', '47-38=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[68, 47, 38, 43], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [47, 38, 25] Generated Node #0,1: 34:[47, 38, 25] Operation: 68-43=25 Moving to Node #0,1 Current State: 34:[47, 38, 25], Operations: ['68-43=25'] Exploring Operation: 47-38=9, Resulting Numbers: [25, 9] Generated Node #0,1,0: 34:[25, 9] Operation: 47-38=9 Moving to Node #0,1,0 Current State: 34:[25, 9], Operations: ['68-43=25', '47-38=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 60, 92, 21, 52 ]
76
[ "60-52=8", "21*8=168", "168-92=76" ]
Current State: 76:[60, 92, 21, 52], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [92, 21, 8] Generated Node #2: [92, 21, 8] from Operation: 60-52=8 Current State: 76:[92, 21, 8], Operations: ['60-52=8'] Exploring Operation: 21*8=168, Resulting Numbers: [92, 168] Generated Node #3: [92, 168] from Operation: 21*8=168 Current State: 76:[92, 168], Operations: ['60-52=8', '21*8=168'] Exploring Operation: 168-92=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[60, 92, 21, 52], Operations: [] Exploring Operation: 92-60=32, Resulting Numbers: [21, 52, 32] Generated Node #0,0: 76:[21, 52, 32] Operation: 92-60=32 Exploring Operation: 92-52=40, Resulting Numbers: [60, 21, 40] Generated Node #0,1: 76:[60, 21, 40] Operation: 92-52=40 Exploring Operation: 60-52=8, Resulting Numbers: [92, 21, 8] Generated Node #0,2: 76:[92, 21, 8] Operation: 60-52=8 Moving to Node #0,1 Current State: 76:[60, 21, 40], Operations: ['92-52=40'] Exploring Operation: 60-21=39, Resulting Numbers: [40, 39] Generated Node #0,1,0: 76:[40, 39] Operation: 60-21=39 Exploring Operation: 60-40=20, Resulting Numbers: [21, 20] Generated Node #0,1,1: 76:[21, 20] Operation: 60-40=20 Exploring Operation: 60+21=81, Resulting Numbers: [40, 81] Generated Node #0,1,2: 76:[40, 81] Operation: 60+21=81 Moving to Node #0,0 Current State: 76:[21, 52, 32], Operations: ['92-60=32'] Exploring Operation: 52+32=84, Resulting Numbers: [21, 84] Generated Node #0,0,0: 76:[21, 84] Operation: 52+32=84 Exploring Operation: 21+52=73, Resulting Numbers: [32, 73] Generated Node #0,0,1: 76:[32, 73] Operation: 21+52=73 Exploring Operation: 52-32=20, Resulting Numbers: [21, 20] Generated Node #0,0,2: 76:[21, 20] Operation: 52-32=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[21, 20], Operations: ['92-60=32', '52-32=20'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,76 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[32, 73], Operations: ['92-60=32', '21+52=73'] Exploring Operation: 32+73=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 32*73=2336, Resulting Numbers: [2336] 2336,76 unequal: No Solution Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[21, 84], Operations: ['92-60=32', '52+32=84'] Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,76 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: 76:[92, 21, 8], Operations: ['60-52=8'] Exploring Operation: 92-8=84, Resulting Numbers: [21, 84] Generated Node #0,2,0: 76:[21, 84] Operation: 92-8=84 Exploring Operation: 92-21=71, Resulting Numbers: [8, 71] Generated Node #0,2,1: 76:[8, 71] Operation: 92-21=71 Exploring Operation: 21-8=13, Resulting Numbers: [92, 13] Generated Node #0,2,2: 76:[92, 13] Operation: 21-8=13 Moving to Node #0,1,0 Current State: 76:[40, 39], Operations: ['92-52=40', '60-21=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,76 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[21, 20], Operations: ['92-52=40', '60-40=20'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[40, 81], Operations: ['92-52=40', '60+21=81'] Exploring Operation: 40*81=3240, Resulting Numbers: [3240] 3240,76 unequal: No Solution Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[8, 71], Operations: ['60-52=8', '92-21=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,76 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[21, 84], Operations: ['60-52=8', '92-8=84'] Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[92, 13], Operations: ['60-52=8', '21-8=13'] Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,76 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,76 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 41, 87, 79, 64 ]
49
[ "87-79=8", "64/8=8", "41+8=49" ]
Current State: 49:[41, 87, 79, 64], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [41, 64, 8] Generated Node #2: [41, 64, 8] from Operation: 87-79=8 Current State: 49:[41, 64, 8], Operations: ['87-79=8'] Exploring Operation: 64/8=8, Resulting Numbers: [41, 8] Generated Node #3: [41, 8] from Operation: 64/8=8 Current State: 49:[41, 8], Operations: ['87-79=8', '64/8=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[41, 87, 79, 64], Operations: [] Exploring Operation: 87-41=46, Resulting Numbers: [79, 64, 46] Generated Node #0,0: 49:[79, 64, 46] Operation: 87-41=46 Exploring Operation: 79-64=15, Resulting Numbers: [41, 87, 15] Generated Node #0,1: 49:[41, 87, 15] Operation: 79-64=15 Exploring Operation: 87-79=8, Resulting Numbers: [41, 64, 8] Generated Node #0,2: 49:[41, 64, 8] Operation: 87-79=8 Exploring Operation: 87-64=23, Resulting Numbers: [41, 79, 23] Generated Node #0,3: 49:[41, 79, 23] Operation: 87-64=23 Moving to Node #0,2 Current State: 49:[41, 64, 8], Operations: ['87-79=8'] Exploring Operation: 64-41=23, Resulting Numbers: [8, 23] Generated Node #0,2,0: 49:[8, 23] Operation: 64-41=23 Exploring Operation: 64-8=56, Resulting Numbers: [41, 56] Generated Node #0,2,1: 49:[41, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [41, 8] Generated Node #0,2,2: 49:[41, 8] Operation: 64/8=8 Exploring Operation: 41+8=49, Resulting Numbers: [64, 49] Generated Node #0,2,3: 49:[64, 49] Operation: 41+8=49 Moving to Node #0,0 Current State: 49:[79, 64, 46], Operations: ['87-41=46'] Exploring Operation: 64-46=18, Resulting Numbers: [79, 18] Generated Node #0,0,0: 49:[79, 18] Operation: 64-46=18 Exploring Operation: 79-64=15, Resulting Numbers: [46, 15] Generated Node #0,0,1: 49:[46, 15] Operation: 79-64=15 Exploring Operation: 79-46=33, Resulting Numbers: [64, 33] Generated Node #0,0,2: 49:[64, 33] Operation: 79-46=33 Exploring Operation: 79+46=125, Resulting Numbers: [64, 125] Generated Node #0,0,3: 49:[64, 125] Operation: 79+46=125 Moving to Node #0,3 Current State: 49:[41, 79, 23], Operations: ['87-64=23'] Exploring Operation: 41+23=64, Resulting Numbers: [79, 64] Generated Node #0,3,0: 49:[79, 64] Operation: 41+23=64 Exploring Operation: 41-23=18, Resulting Numbers: [79, 18] Generated Node #0,3,1: 49:[79, 18] Operation: 41-23=18 Exploring Operation: 79-23=56, Resulting Numbers: [41, 56] Generated Node #0,3,2: 49:[41, 56] Operation: 79-23=56 Exploring Operation: 79-41=38, Resulting Numbers: [23, 38] Generated Node #0,3,3: 49:[23, 38] Operation: 79-41=38 Moving to Node #0,1 Current State: 49:[41, 87, 15], Operations: ['79-64=15'] Exploring Operation: 87-41=46, Resulting Numbers: [15, 46] Generated Node #0,1,0: 49:[15, 46] Operation: 87-41=46 Exploring Operation: 41+15=56, Resulting Numbers: [87, 56] Generated Node #0,1,1: 49:[87, 56] Operation: 41+15=56 Exploring Operation: 87-15=72, Resulting Numbers: [41, 72] Generated Node #0,1,2: 49:[41, 72] Operation: 87-15=72 Exploring Operation: 41-15=26, Resulting Numbers: [87, 26] Generated Node #0,1,3: 49:[87, 26] Operation: 41-15=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[15, 46], Operations: ['79-64=15', '87-41=46'] Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,49 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[41, 72], Operations: ['79-64=15', '87-15=72'] Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,49 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[87, 56], Operations: ['79-64=15', '41+15=56'] Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,49 unequal: No Solution Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[87, 26], Operations: ['79-64=15', '41-15=26'] Exploring Operation: 87*26=2262, Resulting Numbers: [2262] 2262,49 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 87+26=113, Resulting Numbers: [113] 113,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 49:[41, 8], Operations: ['87-79=8', '64/8=8'] Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,49 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[41, 87, 79, 64], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [41, 64, 8] Generated Node #0,2: 49:[41, 64, 8] Operation: 87-79=8 Moving to Node #0,2 Current State: 49:[41, 64, 8], Operations: ['87-79=8'] Exploring Operation: 64/8=8, Resulting Numbers: [41, 8] Generated Node #0,2,2: 49:[41, 8] Operation: 64/8=8 Moving to Node #0,2,2 Current State: 49:[41, 8], Operations: ['87-79=8', '64/8=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 98, 57, 80, 66 ]
64
[ "80-66=14", "98/14=7", "57+7=64" ]
Current State: 64:[98, 57, 80, 66], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [98, 57, 14] Generated Node #2: [98, 57, 14] from Operation: 80-66=14 Current State: 64:[98, 57, 14], Operations: ['80-66=14'] Exploring Operation: 98/14=7, Resulting Numbers: [57, 7] Generated Node #3: [57, 7] from Operation: 98/14=7 Current State: 64:[57, 7], Operations: ['80-66=14', '98/14=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[98, 57, 80, 66], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [57, 80, 32] Generated Node #0,0: 64:[57, 80, 32] Operation: 98-66=32 Exploring Operation: 98-57=41, Resulting Numbers: [80, 66, 41] Generated Node #0,1: 64:[80, 66, 41] Operation: 98-57=41 Exploring Operation: 98-80=18, Resulting Numbers: [57, 66, 18] Generated Node #0,2: 64:[57, 66, 18] Operation: 98-80=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[57, 66, 18], Operations: ['98-80=18'] Exploring Operation: 57-18=39, Resulting Numbers: [66, 39] Generated Node #0,2,0: 64:[66, 39] Operation: 57-18=39 Exploring Operation: 57+18=75, Resulting Numbers: [66, 75] Generated Node #0,2,1: 64:[66, 75] Operation: 57+18=75 Exploring Operation: 66-57=9, Resulting Numbers: [18, 9] Generated Node #0,2,2: 64:[18, 9] Operation: 66-57=9 Moving to Node #0,2,2 Current State: 64:[18, 9], Operations: ['98-80=18', '66-57=9'] Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[66, 39], Operations: ['98-80=18', '57-18=39'] Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,64 unequal: No Solution Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 66*39=2574, Resulting Numbers: [2574] 2574,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[66, 75], Operations: ['98-80=18', '57+18=75'] Exploring Operation: 66*75=4950, Resulting Numbers: [4950] 4950,64 unequal: No Solution Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,64 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,64 unequal: No Solution No 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: 64:[57, 80, 32], Operations: ['98-66=32'] Exploring Operation: 57-32=25, Resulting Numbers: [80, 25] Generated Node #0,0,0: 64:[80, 25] Operation: 57-32=25 Exploring Operation: 80-32=48, Resulting Numbers: [57, 48] Generated Node #0,0,1: 64:[57, 48] Operation: 80-32=48 Exploring Operation: 80-57=23, Resulting Numbers: [32, 23] Generated Node #0,0,2: 64:[32, 23] Operation: 80-57=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[32, 23], Operations: ['98-66=32', '80-57=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,64 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,64 unequal: No Solution No 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: 64:[80, 25], Operations: ['98-66=32', '57-32=25'] Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,64 unequal: No Solution Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,64 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,64 unequal: No Solution No 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: 64:[57, 48], Operations: ['98-66=32', '80-32=48'] Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,64 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[80, 66, 41], Operations: ['98-57=41'] Exploring Operation: 80-66=14, Resulting Numbers: [41, 14] Generated Node #0,1,0: 64:[41, 14] Operation: 80-66=14 Exploring Operation: 80-41=39, Resulting Numbers: [66, 39] Generated Node #0,1,1: 64:[66, 39] Operation: 80-41=39 Exploring Operation: 66-41=25, Resulting Numbers: [80, 25] Generated Node #0,1,2: 64:[80, 25] Operation: 66-41=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[66, 39], Operations: ['98-57=41', '80-41=39'] Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 66*39=2574, Resulting Numbers: [2574] 2574,64 unequal: No Solution Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,64 unequal: No Solution No 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: 64:[41, 14], Operations: ['98-57=41', '80-66=14'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,64 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,64 unequal: No Solution No 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: 64:[80, 25], Operations: ['98-57=41', '66-41=25'] Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,64 unequal: No Solution Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,64 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 11, 53, 39, 8 ]
24
[ "53-11=42", "42-39=3", "8*3=24" ]
Current State: 24:[11, 53, 39, 8], Operations: [] Exploring Operation: 53-11=42, Resulting Numbers: [39, 8, 42] Generated Node #2: [39, 8, 42] from Operation: 53-11=42 Current State: 24:[39, 8, 42], Operations: ['53-11=42'] Exploring Operation: 42-39=3, Resulting Numbers: [8, 3] Generated Node #3: [8, 3] from Operation: 42-39=3 Current State: 24:[8, 3], Operations: ['53-11=42', '42-39=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[11, 53, 39, 8], Operations: [] Exploring Operation: 53-8=45, Resulting Numbers: [11, 39, 45] Generated Node #0,0: 24:[11, 39, 45] Operation: 53-8=45 Exploring Operation: 53-39=14, Resulting Numbers: [11, 8, 14] Generated Node #0,1: 24:[11, 8, 14] Operation: 53-39=14 Exploring Operation: 39-11=28, Resulting Numbers: [53, 8, 28] Generated Node #0,2: 24:[53, 8, 28] Operation: 39-11=28 Exploring Operation: 53-11=42, Resulting Numbers: [39, 8, 42] Generated Node #0,3: 24:[39, 8, 42] Operation: 53-11=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[11, 8, 14], Operations: ['53-39=14'] Exploring Operation: 11+14=25, Resulting Numbers: [8, 25] Generated Node #0,1,0: 24:[8, 25] Operation: 11+14=25 Exploring Operation: 14-11=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 24:[8, 3] Operation: 14-11=3 Exploring Operation: 14-8=6, Resulting Numbers: [11, 6] Generated Node #0,1,2: 24:[11, 6] Operation: 14-8=6 Exploring Operation: 11-8=3, Resulting Numbers: [14, 3] Generated Node #0,1,3: 24:[14, 3] Operation: 11-8=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[8, 3], Operations: ['53-39=14', '14-11=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[11, 53, 39, 8], Operations: [] Exploring Operation: 53-39=14, Resulting Numbers: [11, 8, 14] Generated Node #0,1: 24:[11, 8, 14] Operation: 53-39=14 Moving to Node #0,1 Current State: 24:[11, 8, 14], Operations: ['53-39=14'] Exploring Operation: 14-11=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 24:[8, 3] Operation: 14-11=3 Moving to Node #0,1,1 Current State: 24:[8, 3], Operations: ['53-39=14', '14-11=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 83, 61, 1, 14 ]
37
[ "83-61=22", "1+14=15", "22+15=37" ]
Current State: 37:[83, 61, 1, 14], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [1, 14, 22] Generated Node #2: [1, 14, 22] from Operation: 83-61=22 Current State: 37:[1, 14, 22], Operations: ['83-61=22'] Exploring Operation: 1+14=15, Resulting Numbers: [22, 15] Generated Node #3: [22, 15] from Operation: 1+14=15 Current State: 37:[22, 15], Operations: ['83-61=22', '1+14=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[83, 61, 1, 14], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [1, 14, 22] Generated Node #0,0: 37:[1, 14, 22] Operation: 83-61=22 Moving to Node #0,0 Current State: 37:[1, 14, 22], Operations: ['83-61=22'] Exploring Operation: 1+14=15, Resulting Numbers: [22, 15] Generated Node #0,0,0: 37:[22, 15] Operation: 1+14=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[22, 15], Operations: ['83-61=22', '1+14=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[83, 61, 1, 14], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [1, 14, 22] Generated Node #0,0: 37:[1, 14, 22] Operation: 83-61=22 Moving to Node #0,0 Current State: 37:[1, 14, 22], Operations: ['83-61=22'] Exploring Operation: 1+14=15, Resulting Numbers: [22, 15] Generated Node #0,0,0: 37:[22, 15] Operation: 1+14=15 Moving to Node #0,0,0 Current State: 37:[22, 15], Operations: ['83-61=22', '1+14=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 82, 43, 90, 41 ]
92
[ "82-43=39", "90+41=131", "131-39=92" ]
Current State: 92:[82, 43, 90, 41], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [90, 41, 39] Generated Node #2: [90, 41, 39] from Operation: 82-43=39 Current State: 92:[90, 41, 39], Operations: ['82-43=39'] Exploring Operation: 90+41=131, Resulting Numbers: [39, 131] Generated Node #3: [39, 131] from Operation: 90+41=131 Current State: 92:[39, 131], Operations: ['82-43=39', '90+41=131'] Exploring Operation: 131-39=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[82, 43, 90, 41], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [43, 41, 8] Generated Node #0,0: 92:[43, 41, 8] Operation: 90-82=8 Exploring Operation: 82/41=2, Resulting Numbers: [43, 90, 2] Generated Node #0,1: 92:[43, 90, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [43, 90, 41] Generated Node #0,2: 92:[43, 90, 41] Operation: 82-41=41 Moving to Node #0,1 Current State: 92:[43, 90, 2], Operations: ['82/41=2'] Exploring Operation: 90-43=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 92:[2, 47] Operation: 90-43=47 Exploring Operation: 43+2=45, Resulting Numbers: [90, 45] Generated Node #0,1,1: 92:[90, 45] Operation: 43+2=45 Exploring Operation: 90+2=92, Resulting Numbers: [43, 92] Generated Node #0,1,2: 92:[43, 92] Operation: 90+2=92 Moving to Node #0,2 Current State: 92:[43, 90, 41], Operations: ['82-41=41'] Exploring Operation: 90-41=49, Resulting Numbers: [43, 49] Generated Node #0,2,0: 92:[43, 49] Operation: 90-41=49 Exploring Operation: 43-41=2, Resulting Numbers: [90, 2] Generated Node #0,2,1: 92:[90, 2] Operation: 43-41=2 Exploring Operation: 90-43=47, Resulting Numbers: [41, 47] Generated Node #0,2,2: 92:[41, 47] Operation: 90-43=47 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[90, 2], Operations: ['82-41=41', '43-41=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[82, 43, 90, 41], Operations: [] Exploring Operation: 82-41=41, Resulting Numbers: [43, 90, 41] Generated Node #0,2: 92:[43, 90, 41] Operation: 82-41=41 Moving to Node #0,2 Current State: 92:[43, 90, 41], Operations: ['82-41=41'] Exploring Operation: 43-41=2, Resulting Numbers: [90, 2] Generated Node #0,2,1: 92:[90, 2] Operation: 43-41=2 Moving to Node #0,2,1 Current State: 92:[90, 2], Operations: ['82-41=41', '43-41=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 6, 87, 5, 21 ]
77
[ "6+87=93", "21-5=16", "93-16=77" ]
Current State: 77:[6, 87, 5, 21], Operations: [] Exploring Operation: 6+87=93, Resulting Numbers: [5, 21, 93] Generated Node #2: [5, 21, 93] from Operation: 6+87=93 Current State: 77:[5, 21, 93], Operations: ['6+87=93'] Exploring Operation: 21-5=16, Resulting Numbers: [93, 16] Generated Node #3: [93, 16] from Operation: 21-5=16 Current State: 77:[93, 16], Operations: ['6+87=93', '21-5=16'] Exploring Operation: 93-16=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[6, 87, 5, 21], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [6, 5, 66] Generated Node #0,0: 77:[6, 5, 66] Operation: 87-21=66 Moving to Node #0,0 Current State: 77:[6, 5, 66], Operations: ['87-21=66'] Exploring Operation: 66/6=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 77:[5, 11] Operation: 66/6=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[5, 11], Operations: ['87-21=66', '66/6=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 17, 69, 33, 2 ]
35
[ "69-33=36", "36/2=18", "17+18=35" ]
Current State: 35:[17, 69, 33, 2], Operations: [] Exploring Operation: 69-33=36, Resulting Numbers: [17, 2, 36] Generated Node #2: [17, 2, 36] from Operation: 69-33=36 Current State: 35:[17, 2, 36], Operations: ['69-33=36'] Exploring Operation: 36/2=18, Resulting Numbers: [17, 18] Generated Node #3: [17, 18] from Operation: 36/2=18 Current State: 35:[17, 18], Operations: ['69-33=36', '36/2=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[17, 69, 33, 2], Operations: [] Exploring Operation: 69-17=52, Resulting Numbers: [33, 2, 52] Generated Node #0,0: 35:[33, 2, 52] Operation: 69-17=52 Exploring Operation: 69-33=36, Resulting Numbers: [17, 2, 36] Generated Node #0,1: 35:[17, 2, 36] Operation: 69-33=36 Moving to Node #0,1 Current State: 35:[17, 2, 36], Operations: ['69-33=36'] Exploring Operation: 17*2=34, Resulting Numbers: [36, 34] Generated Node #0,1,0: 35:[36, 34] Operation: 17*2=34 Exploring Operation: 17-2=15, Resulting Numbers: [36, 15] Generated Node #0,1,1: 35:[36, 15] Operation: 17-2=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[36, 34], Operations: ['69-33=36', '17*2=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[36, 15], Operations: ['69-33=36', '17-2=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,35 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: 35:[33, 2, 52], Operations: ['69-17=52'] Exploring Operation: 52/2=26, Resulting Numbers: [33, 26] Generated Node #0,0,0: 35:[33, 26] Operation: 52/2=26 Exploring Operation: 52-33=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 35:[2, 19] Operation: 52-33=19 Moving to Node #0,0,0 Current State: 35:[33, 26], Operations: ['69-17=52', '52/2=26'] Exploring Operation: 33+26=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[2, 19], Operations: ['69-17=52', '52-33=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,35 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 93, 10, 5, 75 ]
90
[ "93-75=18", "10-5=5", "18*5=90" ]
Current State: 90:[93, 10, 5, 75], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [10, 5, 18] Generated Node #2: [10, 5, 18] from Operation: 93-75=18 Current State: 90:[10, 5, 18], Operations: ['93-75=18'] Exploring Operation: 10-5=5, Resulting Numbers: [18, 5] Generated Node #3: [18, 5] from Operation: 10-5=5 Current State: 90:[18, 5], Operations: ['93-75=18', '10-5=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[93, 10, 5, 75], Operations: [] Exploring Operation: 75/5=15, Resulting Numbers: [93, 10, 15] Generated Node #0,0: 90:[93, 10, 15] Operation: 75/5=15 Exploring Operation: 93-75=18, Resulting Numbers: [10, 5, 18] Generated Node #0,1: 90:[10, 5, 18] Operation: 93-75=18 Exploring Operation: 5+75=80, Resulting Numbers: [93, 10, 80] Generated Node #0,2: 90:[93, 10, 80] Operation: 5+75=80 Exploring Operation: 10+75=85, Resulting Numbers: [93, 5, 85] Generated Node #0,3: 90:[93, 5, 85] Operation: 10+75=85 Moving to Node #0,1 Current State: 90:[10, 5, 18], Operations: ['93-75=18'] Exploring Operation: 10/5=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 90:[18, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [18, 5] Generated Node #0,1,1: 90:[18, 5] Operation: 10-5=5 Exploring Operation: 5*18=90, Resulting Numbers: [10, 90] Generated Node #0,1,2: 90:[10, 90] Operation: 5*18=90 Exploring Operation: 10+5=15, Resulting Numbers: [18, 15] Generated Node #0,1,3: 90:[18, 15] Operation: 10+5=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[18, 2], Operations: ['93-75=18', '10/5=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,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,1,1 Current State: 90:[18, 5], Operations: ['93-75=18', '10-5=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[93, 10, 5, 75], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [10, 5, 18] Generated Node #0,1: 90:[10, 5, 18] Operation: 93-75=18 Moving to Node #0,1 Current State: 90:[10, 5, 18], Operations: ['93-75=18'] Exploring Operation: 10-5=5, Resulting Numbers: [18, 5] Generated Node #0,1,1: 90:[18, 5] Operation: 10-5=5 Moving to Node #0,1,1 Current State: 90:[18, 5], Operations: ['93-75=18', '10-5=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 75, 20, 75, 86 ]
86
[ "75-75=0", "20*0=0", "86+0=86" ]
Current State: 86:[75, 20, 75, 86], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [20, 86, 0] Generated Node #2: [20, 86, 0] from Operation: 75-75=0 Current State: 86:[20, 86, 0], Operations: ['75-75=0'] Exploring Operation: 20*0=0, Resulting Numbers: [86, 0] Generated Node #3: [86, 0] from Operation: 20*0=0 Current State: 86:[86, 0], Operations: ['75-75=0', '20*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[75, 20, 75, 86], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [20, 86, 1] Generated Node #0,0: 86:[20, 86, 1] Operation: 75/75=1 Exploring Operation: 75+20=95, Resulting Numbers: [75, 86, 95] Generated Node #0,1: 86:[75, 86, 95] Operation: 75+20=95 Exploring Operation: 75-75=0, Resulting Numbers: [20, 86, 0] Generated Node #0,2: 86:[20, 86, 0] Operation: 75-75=0 Moving to Node #0,0 Current State: 86:[20, 86, 1], Operations: ['75/75=1'] Exploring Operation: 20*1=20, Resulting Numbers: [86, 20] Generated Node #0,0,0: 86:[86, 20] Operation: 20*1=20 Exploring Operation: 20/1=20, Resulting Numbers: [86, 20] Generated Node #0,0,1: 86:[86, 20] Operation: 20/1=20 Exploring Operation: 20-1=19, Resulting Numbers: [86, 19] Generated Node #0,0,2: 86:[86, 19] Operation: 20-1=19 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[86, 19], Operations: ['75/75=1', '20-1=19'] Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,86 unequal: No Solution Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[86, 20], Operations: ['75/75=1', '20*1=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[86, 20], Operations: ['75/75=1', '20/1=20'] Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,86 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: 86:[75, 86, 95], Operations: ['75+20=95'] Exploring Operation: 95-86=9, Resulting Numbers: [75, 9] Generated Node #0,1,0: 86:[75, 9] Operation: 95-86=9 Exploring Operation: 95-75=20, Resulting Numbers: [86, 20] Generated Node #0,1,1: 86:[86, 20] Operation: 95-75=20 Exploring Operation: 86-75=11, Resulting Numbers: [95, 11] Generated Node #0,1,2: 86:[95, 11] Operation: 86-75=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[75, 9], Operations: ['75+20=95', '95-86=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[86, 20], Operations: ['75+20=95', '95-75=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,86 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,86 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[95, 11], Operations: ['75+20=95', '86-75=11'] Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,86 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: 86:[20, 86, 0], Operations: ['75-75=0'] Exploring Operation: 20+0=20, Resulting Numbers: [86, 20] Generated Node #0,2,0: 86:[86, 20] Operation: 20+0=20 Exploring Operation: 20-0=20, Resulting Numbers: [86, 20] Generated Node #0,2,1: 86:[86, 20] Operation: 20-0=20 Exploring Operation: 20*0=0, Resulting Numbers: [86, 0] Generated Node #0,2,2: 86:[86, 0] Operation: 20*0=0 Moving to Node #0,2,2 Current State: 86:[86, 0], Operations: ['75-75=0', '20*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[75, 20, 75, 86], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [20, 86, 0] Generated Node #0,2: 86:[20, 86, 0] Operation: 75-75=0 Moving to Node #0,2 Current State: 86:[20, 86, 0], Operations: ['75-75=0'] Exploring Operation: 20*0=0, Resulting Numbers: [86, 0] Generated Node #0,2,2: 86:[86, 0] Operation: 20*0=0 Moving to Node #0,2,2 Current State: 86:[86, 0], Operations: ['75-75=0', '20*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 58, 71, 19, 84 ]
14
[ "71-58=13", "19-13=6", "84/6=14" ]
Current State: 14:[58, 71, 19, 84], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [19, 84, 13] Generated Node #2: [19, 84, 13] from Operation: 71-58=13 Current State: 14:[19, 84, 13], Operations: ['71-58=13'] Exploring Operation: 19-13=6, Resulting Numbers: [84, 6] Generated Node #3: [84, 6] from Operation: 19-13=6 Current State: 14:[84, 6], Operations: ['71-58=13', '19-13=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[58, 71, 19, 84], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [19, 84, 13] Generated Node #0,0: 14:[19, 84, 13] Operation: 71-58=13 Exploring Operation: 84-71=13, Resulting Numbers: [58, 19, 13] Generated Node #0,1: 14:[58, 19, 13] Operation: 84-71=13 Exploring Operation: 84-58=26, Resulting Numbers: [71, 19, 26] Generated Node #0,2: 14:[71, 19, 26] Operation: 84-58=26 Exploring Operation: 58-19=39, Resulting Numbers: [71, 84, 39] Generated Node #0,3: 14:[71, 84, 39] Operation: 58-19=39 Exploring Operation: 71-19=52, Resulting Numbers: [58, 84, 52] Generated Node #0,4: 14:[58, 84, 52] Operation: 71-19=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[58, 19, 13], Operations: ['84-71=13'] Exploring Operation: 19+13=32, Resulting Numbers: [58, 32] Generated Node #0,1,0: 14:[58, 32] Operation: 19+13=32 Exploring Operation: 19-13=6, Resulting Numbers: [58, 6] Generated Node #0,1,1: 14:[58, 6] Operation: 19-13=6 Exploring Operation: 58-19=39, Resulting Numbers: [13, 39] Generated Node #0,1,2: 14:[13, 39] Operation: 58-19=39 Exploring Operation: 58-13=45, Resulting Numbers: [19, 45] Generated Node #0,1,3: 14:[19, 45] Operation: 58-13=45 Exploring Operation: 58+13=71, Resulting Numbers: [19, 71] Generated Node #0,1,4: 14:[19, 71] Operation: 58+13=71 Moving to Node #0,1,2 Current State: 14:[13, 39], Operations: ['84-71=13', '58-19=39'] Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,14 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[19, 45], Operations: ['84-71=13', '58-13=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,14 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[58, 6], Operations: ['84-71=13', '19-13=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[58, 32], Operations: ['84-71=13', '19+13=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,14 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,14 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[19, 71], Operations: ['84-71=13', '58+13=71'] Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,14 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,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,2 Current State: 14:[71, 19, 26], Operations: ['84-58=26'] Exploring Operation: 26-19=7, Resulting Numbers: [71, 7] Generated Node #0,2,0: 14:[71, 7] Operation: 26-19=7 Exploring Operation: 71+19=90, Resulting Numbers: [26, 90] Generated Node #0,2,1: 14:[26, 90] Operation: 71+19=90 Exploring Operation: 71-26=45, Resulting Numbers: [19, 45] Generated Node #0,2,2: 14:[19, 45] Operation: 71-26=45 Exploring Operation: 71-19=52, Resulting Numbers: [26, 52] Generated Node #0,2,3: 14:[26, 52] Operation: 71-19=52 Exploring Operation: 71+26=97, Resulting Numbers: [19, 97] Generated Node #0,2,4: 14:[19, 97] Operation: 71+26=97 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[19, 45], Operations: ['84-58=26', '71-26=45'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,14 unequal: No Solution No 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: 14:[26, 52], Operations: ['84-58=26', '71-19=52'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,14 unequal: No Solution No 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: 14:[71, 7], Operations: ['84-58=26', '26-19=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 71*7=497, Resulting Numbers: [497] 497,14 unequal: No Solution Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,14 unequal: No Solution No 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: 14:[26, 90], Operations: ['84-58=26', '71+19=90'] Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,14 unequal: No Solution Exploring Operation: 26*90=2340, Resulting Numbers: [2340] 2340,14 unequal: No Solution No 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: 14:[19, 97], Operations: ['84-58=26', '71+26=97'] Exploring Operation: 19+97=116, Resulting Numbers: [116] 116,14 unequal: No Solution Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 19*97=1843, Resulting Numbers: [1843] 1843,14 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: 14:[19, 84, 13], Operations: ['71-58=13'] Exploring Operation: 84-19=65, Resulting Numbers: [13, 65] Generated Node #0,0,0: 14:[13, 65] Operation: 84-19=65 Exploring Operation: 84+13=97, Resulting Numbers: [19, 97] Generated Node #0,0,1: 14:[19, 97] Operation: 84+13=97 Exploring Operation: 84-13=71, Resulting Numbers: [19, 71] Generated Node #0,0,2: 14:[19, 71] Operation: 84-13=71 Exploring Operation: 19+13=32, Resulting Numbers: [84, 32] Generated Node #0,0,3: 14:[84, 32] Operation: 19+13=32 Exploring Operation: 19-13=6, Resulting Numbers: [84, 6] Generated Node #0,0,4: 14:[84, 6] Operation: 19-13=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[13, 65], Operations: ['71-58=13', '84-19=65'] Exploring Operation: 13*65=845, Resulting Numbers: [845] 845,14 unequal: No Solution Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 13+65=78, Resulting Numbers: [78] 78,14 unequal: No Solution No 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: 14:[19, 71], Operations: ['71-58=13', '84-13=71'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,14 unequal: No Solution Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,14 unequal: No Solution No 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: 14:[84, 6], Operations: ['71-58=13', '19-13=6'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,14 unequal: No Solution Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,14 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,14 unequal: No Solution Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[58, 71, 19, 84], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [19, 84, 13] Generated Node #0,0: 14:[19, 84, 13] Operation: 71-58=13 Moving to Node #0,0 Current State: 14:[19, 84, 13], Operations: ['71-58=13'] Exploring Operation: 19-13=6, Resulting Numbers: [84, 6] Generated Node #0,0,4: 14:[84, 6] Operation: 19-13=6 Moving to Node #0,0,4 Current State: 14:[84, 6], Operations: ['71-58=13', '19-13=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 78, 44, 36, 2 ]
31
[ "78/2=39", "44-36=8", "39-8=31" ]
Current State: 31:[78, 44, 36, 2], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [44, 36, 39] Generated Node #2: [44, 36, 39] from Operation: 78/2=39 Current State: 31:[44, 36, 39], Operations: ['78/2=39'] Exploring Operation: 44-36=8, Resulting Numbers: [39, 8] Generated Node #3: [39, 8] from Operation: 44-36=8 Current State: 31:[39, 8], Operations: ['78/2=39', '44-36=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[78, 44, 36, 2], Operations: [] Exploring Operation: 78-44=34, Resulting Numbers: [36, 2, 34] Generated Node #0,0: 31:[36, 2, 34] Operation: 78-44=34 Exploring Operation: 78-36=42, Resulting Numbers: [44, 2, 42] Generated Node #0,1: 31:[44, 2, 42] Operation: 78-36=42 Exploring Operation: 78/2=39, Resulting Numbers: [44, 36, 39] Generated Node #0,2: 31:[44, 36, 39] Operation: 78/2=39 Moving to Node #0,2 Current State: 31:[44, 36, 39], Operations: ['78/2=39'] Exploring Operation: 39-36=3, Resulting Numbers: [44, 3] Generated Node #0,2,0: 31:[44, 3] Operation: 39-36=3 Exploring Operation: 44-36=8, Resulting Numbers: [39, 8] Generated Node #0,2,1: 31:[39, 8] Operation: 44-36=8 Exploring Operation: 44-39=5, Resulting Numbers: [36, 5] Generated Node #0,2,2: 31:[36, 5] Operation: 44-39=5 Moving to Node #0,0 Current State: 31:[36, 2, 34], Operations: ['78-44=34'] Exploring Operation: 36-2=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 31:[34, 34] Operation: 36-2=34 Exploring Operation: 34-2=32, Resulting Numbers: [36, 32] Generated Node #0,0,1: 31:[36, 32] Operation: 34-2=32 Exploring Operation: 36+2=38, Resulting Numbers: [34, 38] Generated Node #0,0,2: 31:[34, 38] Operation: 36+2=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[34, 34], Operations: ['78-44=34', '36-2=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,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,1 Current State: 31:[36, 32], Operations: ['78-44=34', '34-2=32'] Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,31 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,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,2 Current State: 31:[34, 38], Operations: ['78-44=34', '36+2=38'] Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,31 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,31 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: 31:[44, 2, 42], Operations: ['78-36=42'] Exploring Operation: 44-2=42, Resulting Numbers: [42, 42] Generated Node #0,1,0: 31:[42, 42] Operation: 44-2=42 Exploring Operation: 42-2=40, Resulting Numbers: [44, 40] Generated Node #0,1,1: 31:[44, 40] Operation: 42-2=40 Exploring Operation: 44/2=22, Resulting Numbers: [42, 22] Generated Node #0,1,2: 31:[42, 22] Operation: 44/2=22 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[42, 22], Operations: ['78-36=42', '44/2=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,31 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,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,1,0 Current State: 31:[42, 42], Operations: ['78-36=42', '44-2=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,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,1,1 Current State: 31:[44, 40], Operations: ['78-36=42', '42-2=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,31 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 31:[39, 8], Operations: ['78/2=39', '44-36=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,31 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[78, 44, 36, 2], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [44, 36, 39] Generated Node #0,2: 31:[44, 36, 39] Operation: 78/2=39 Moving to Node #0,2 Current State: 31:[44, 36, 39], Operations: ['78/2=39'] Exploring Operation: 44-36=8, Resulting Numbers: [39, 8] Generated Node #0,2,1: 31:[39, 8] Operation: 44-36=8 Moving to Node #0,2,1 Current State: 31:[39, 8], Operations: ['78/2=39', '44-36=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 43, 40, 49, 6 ]
97
[ "49-40=9", "6*9=54", "43+54=97" ]
Current State: 97:[43, 40, 49, 6], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [43, 6, 9] Generated Node #2: [43, 6, 9] from Operation: 49-40=9 Current State: 97:[43, 6, 9], Operations: ['49-40=9'] Exploring Operation: 6*9=54, Resulting Numbers: [43, 54] Generated Node #3: [43, 54] from Operation: 6*9=54 Current State: 97:[43, 54], Operations: ['49-40=9', '6*9=54'] Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[43, 40, 49, 6], Operations: [] Exploring Operation: 43+6=49, Resulting Numbers: [40, 49, 49] Generated Node #0,0: 97:[40, 49, 49] Operation: 43+6=49 Exploring Operation: 43+49=92, Resulting Numbers: [40, 6, 92] Generated Node #0,1: 97:[40, 6, 92] Operation: 43+49=92 Exploring Operation: 43+40=83, Resulting Numbers: [49, 6, 83] Generated Node #0,2: 97:[49, 6, 83] Operation: 43+40=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[40, 49, 49], Operations: ['43+6=49'] Exploring Operation: 40+49=89, Resulting Numbers: [49, 89] Generated Node #0,0,0: 97:[49, 89] Operation: 40+49=89 Exploring Operation: 49+49=98, Resulting Numbers: [40, 98] Generated Node #0,0,1: 97:[40, 98] Operation: 49+49=98 Exploring Operation: 40+49=89, Resulting Numbers: [49, 89] Generated Node #0,0,2: 97:[49, 89] Operation: 40+49=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[49, 89], Operations: ['43+6=49', '40+49=89'] Exploring Operation: 49+89=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 49*89=4361, Resulting Numbers: [4361] 4361,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:[49, 89], Operations: ['43+6=49', '40+49=89'] Exploring Operation: 49+89=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 49*89=4361, Resulting Numbers: [4361] 4361,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,1 Current State: 97:[40, 98], Operations: ['43+6=49', '49+49=98'] Exploring Operation: 40+98=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 40*98=3920, Resulting Numbers: [3920] 3920,97 unequal: No Solution Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,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:[40, 6, 92], Operations: ['43+49=92'] Exploring Operation: 40-6=34, Resulting Numbers: [92, 34] Generated Node #0,1,0: 97:[92, 34] Operation: 40-6=34 Exploring Operation: 6+92=98, Resulting Numbers: [40, 98] Generated Node #0,1,1: 97:[40, 98] Operation: 6+92=98 Exploring Operation: 40+6=46, Resulting Numbers: [92, 46] Generated Node #0,1,2: 97:[92, 46] Operation: 40+6=46 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[92, 46], Operations: ['43+49=92', '40+6=46'] Exploring Operation: 92/46=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 92-46=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 92+46=138, Resulting Numbers: [138] 138,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,1,1 Current State: 97:[40, 98], Operations: ['43+49=92', '6+92=98'] Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 40*98=3920, Resulting Numbers: [3920] 3920,97 unequal: No Solution Exploring Operation: 40+98=138, Resulting Numbers: [138] 138,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,1,0 Current State: 97:[92, 34], Operations: ['43+49=92', '40-6=34'] Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 92+34=126, Resulting Numbers: [126] 126,97 unequal: No Solution Exploring Operation: 92*34=3128, Resulting Numbers: [3128] 3128,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,2 Current State: 97:[49, 6, 83], Operations: ['43+40=83'] Exploring Operation: 49-6=43, Resulting Numbers: [83, 43] Generated Node #0,2,0: 97:[83, 43] Operation: 49-6=43 Exploring Operation: 6+83=89, Resulting Numbers: [49, 89] Generated Node #0,2,1: 97:[49, 89] Operation: 6+83=89 Exploring Operation: 49+6=55, Resulting Numbers: [83, 55] Generated Node #0,2,2: 97:[83, 55] Operation: 49+6=55 Moving to Node #0,2,1 Current State: 97:[49, 89], Operations: ['43+40=83', '6+83=89'] Exploring Operation: 49*89=4361, Resulting Numbers: [4361] 4361,97 unequal: No Solution Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 49+89=138, Resulting Numbers: [138] 138,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[83, 55], Operations: ['43+40=83', '49+6=55'] Exploring Operation: 83+55=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 83*55=4565, Resulting Numbers: [4565] 4565,97 unequal: No Solution Exploring Operation: 83-55=28, Resulting Numbers: [28] 28,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[83, 43], Operations: ['43+40=83', '49-6=43'] Exploring Operation: 83+43=126, Resulting Numbers: [126] 126,97 unequal: No Solution Exploring Operation: 83*43=3569, Resulting Numbers: [3569] 3569,97 unequal: No Solution Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,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
[ 23, 77, 13, 55 ]
58
[ "23+77=100", "55-13=42", "100-42=58" ]
Current State: 58:[23, 77, 13, 55], Operations: [] Exploring Operation: 23+77=100, Resulting Numbers: [13, 55, 100] Generated Node #2: [13, 55, 100] from Operation: 23+77=100 Current State: 58:[13, 55, 100], Operations: ['23+77=100'] Exploring Operation: 55-13=42, Resulting Numbers: [100, 42] Generated Node #3: [100, 42] from Operation: 55-13=42 Current State: 58:[100, 42], Operations: ['23+77=100', '55-13=42'] Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[23, 77, 13, 55], Operations: [] Exploring Operation: 77-23=54, Resulting Numbers: [13, 55, 54] Generated Node #0,0: 58:[13, 55, 54] Operation: 77-23=54 Exploring Operation: 77-13=64, Resulting Numbers: [23, 55, 64] Generated Node #0,1: 58:[23, 55, 64] Operation: 77-13=64 Exploring Operation: 77-55=22, Resulting Numbers: [23, 13, 22] Generated Node #0,2: 58:[23, 13, 22] Operation: 77-55=22 Moving to Node #0,1 Current State: 58:[23, 55, 64], Operations: ['77-13=64'] Exploring Operation: 55-23=32, Resulting Numbers: [64, 32] Generated Node #0,1,0: 58:[64, 32] Operation: 55-23=32 Exploring Operation: 64-23=41, Resulting Numbers: [55, 41] Generated Node #0,1,1: 58:[55, 41] Operation: 64-23=41 Exploring Operation: 64-55=9, Resulting Numbers: [23, 9] Generated Node #0,1,2: 58:[23, 9] Operation: 64-55=9 Moving to Node #0,0 Current State: 58:[13, 55, 54], Operations: ['77-23=54'] Exploring Operation: 13+54=67, Resulting Numbers: [55, 67] Generated Node #0,0,0: 58:[55, 67] Operation: 13+54=67 Exploring Operation: 55-54=1, Resulting Numbers: [13, 1] Generated Node #0,0,1: 58:[13, 1] Operation: 55-54=1 Exploring Operation: 13+55=68, Resulting Numbers: [54, 68] Generated Node #0,0,2: 58:[54, 68] Operation: 13+55=68 Moving to Node #0,2 Current State: 58:[23, 13, 22], Operations: ['77-55=22'] Exploring Operation: 22-13=9, Resulting Numbers: [23, 9] Generated Node #0,2,0: 58:[23, 9] Operation: 22-13=9 Exploring Operation: 23-22=1, Resulting Numbers: [13, 1] Generated Node #0,2,1: 58:[13, 1] Operation: 23-22=1 Exploring Operation: 13+22=35, Resulting Numbers: [23, 35] Generated Node #0,2,2: 58:[23, 35] Operation: 13+22=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[13, 1], Operations: ['77-55=22', '23-22=1'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[23, 35], Operations: ['77-55=22', '13+22=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[23, 77, 13, 55], Operations: [] Exploring Operation: 77-55=22, Resulting Numbers: [23, 13, 22] Generated Node #0,2: 58:[23, 13, 22] Operation: 77-55=22 Moving to Node #0,2 Current State: 58:[23, 13, 22], Operations: ['77-55=22'] Exploring Operation: 13+22=35, Resulting Numbers: [23, 35] Generated Node #0,2,2: 58:[23, 35] Operation: 13+22=35 Moving to Node #0,2,2 Current State: 58:[23, 35], Operations: ['77-55=22', '13+22=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 5, 48, 28, 24 ]
47
[ "48-5=43", "28-24=4", "43+4=47" ]
Current State: 47:[5, 48, 28, 24], Operations: [] Exploring Operation: 48-5=43, Resulting Numbers: [28, 24, 43] Generated Node #2: [28, 24, 43] from Operation: 48-5=43 Current State: 47:[28, 24, 43], Operations: ['48-5=43'] Exploring Operation: 28-24=4, Resulting Numbers: [43, 4] Generated Node #3: [43, 4] from Operation: 28-24=4 Current State: 47:[43, 4], Operations: ['48-5=43', '28-24=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[5, 48, 28, 24], Operations: [] Exploring Operation: 5+28=33, Resulting Numbers: [48, 24, 33] Generated Node #0,0: 47:[48, 24, 33] Operation: 5+28=33 Exploring Operation: 5+24=29, Resulting Numbers: [48, 28, 29] Generated Node #0,1: 47:[48, 28, 29] Operation: 5+24=29 Exploring Operation: 48-5=43, Resulting Numbers: [28, 24, 43] Generated Node #0,2: 47:[28, 24, 43] Operation: 48-5=43 Exploring Operation: 5+48=53, Resulting Numbers: [28, 24, 53] Generated Node #0,3: 47:[28, 24, 53] Operation: 5+48=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[48, 24, 33], Operations: ['5+28=33'] Exploring Operation: 48-24=24, Resulting Numbers: [33, 24] Generated Node #0,0,0: 47:[33, 24] Operation: 48-24=24 Exploring Operation: 33-24=9, Resulting Numbers: [48, 9] Generated Node #0,0,1: 47:[48, 9] Operation: 33-24=9 Exploring Operation: 24+33=57, Resulting Numbers: [48, 57] Generated Node #0,0,2: 47:[48, 57] Operation: 24+33=57 Exploring Operation: 48+24=72, Resulting Numbers: [33, 72] Generated Node #0,0,3: 47:[33, 72] Operation: 48+24=72 Moving to Node #0,0,2 Current State: 47:[48, 57], Operations: ['5+28=33', '24+33=57'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[33, 24], Operations: ['5+28=33', '48-24=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,47 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[33, 72], Operations: ['5+28=33', '48+24=72'] Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,47 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[48, 9], Operations: ['5+28=33', '33-24=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,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:[48, 28, 29], Operations: ['5+24=29'] Exploring Operation: 28+29=57, Resulting Numbers: [48, 57] Generated Node #0,1,0: 47:[48, 57] Operation: 28+29=57 Exploring Operation: 48+28=76, Resulting Numbers: [29, 76] Generated Node #0,1,1: 47:[29, 76] Operation: 48+28=76 Exploring Operation: 48-28=20, Resulting Numbers: [29, 20] Generated Node #0,1,2: 47:[29, 20] Operation: 48-28=20 Exploring Operation: 48-29=19, Resulting Numbers: [28, 19] Generated Node #0,1,3: 47:[28, 19] Operation: 48-29=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[48, 57], Operations: ['5+24=29', '28+29=57'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,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:[29, 20], Operations: ['5+24=29', '48-28=20'] Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,47 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[29, 76], Operations: ['5+24=29', '48+28=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[5, 48, 28, 24], Operations: [] Exploring Operation: 5+24=29, Resulting Numbers: [48, 28, 29] Generated Node #0,1: 47:[48, 28, 29] Operation: 5+24=29 Moving to Node #0,1 Current State: 47:[48, 28, 29], Operations: ['5+24=29'] Exploring Operation: 48+28=76, Resulting Numbers: [29, 76] Generated Node #0,1,1: 47:[29, 76] Operation: 48+28=76 Moving to Node #0,1,1 Current State: 47:[29, 76], Operations: ['5+24=29', '48+28=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 7, 7, 70, 64 ]
42
[ "7*70=490", "7*64=448", "490-448=42" ]
Current State: 42:[7, 7, 70, 64], Operations: [] Exploring Operation: 7*70=490, Resulting Numbers: [64, 490] Generated Node #2: [64, 490] from Operation: 7*70=490 Current State: 42:[64, 490], Operations: ['7*70=490'] Exploring Operation: 7*64=448, Resulting Numbers: [490, 448] Generated Node #3: [490, 448] from Operation: 7*64=448 Current State: 42:[490, 448], Operations: ['7*70=490', '7*64=448'] Exploring Operation: 490-448=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[7, 7, 70, 64], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [7, 7, 6] Generated Node #0,0: 42:[7, 7, 6] Operation: 70-64=6 Exploring Operation: 70/7=10, Resulting Numbers: [7, 64, 10] Generated Node #0,1: 42:[7, 64, 10] Operation: 70/7=10 Moving to Node #0,0 Current State: 42:[7, 7, 6], Operations: ['70-64=6'] Exploring Operation: 7+7=14, Resulting Numbers: [6, 14] Generated Node #0,0,0: 42:[6, 14] Operation: 7+7=14 Exploring Operation: 7*6=42, Resulting Numbers: [7, 42] Generated Node #0,0,1: 42:[7, 42] Operation: 7*6=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[6, 14], Operations: ['70-64=6', '7+7=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,42 unequal: No Solution No 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: 42:[7, 42], Operations: ['70-64=6', '7*6=42'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,42 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: 42:[7, 64, 10], Operations: ['70/7=10'] Exploring Operation: 64-10=54, Resulting Numbers: [7, 54] Generated Node #0,1,0: 42:[7, 54] Operation: 64-10=54 Exploring Operation: 64-7=57, Resulting Numbers: [10, 57] Generated Node #0,1,1: 42:[10, 57] Operation: 64-7=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[7, 54], Operations: ['70/7=10', '64-10=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,42 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,42 unequal: No Solution No 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: 42:[10, 57], Operations: ['70/7=10', '64-7=57'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 76, 52, 8, 24 ]
19
[ "76+52=128", "24+128=152", "152/8=19" ]
Current State: 19:[76, 52, 8, 24], Operations: [] Exploring Operation: 76+52=128, Resulting Numbers: [8, 24, 128] Generated Node #2: [8, 24, 128] from Operation: 76+52=128 Current State: 19:[8, 24, 128], Operations: ['76+52=128'] Exploring Operation: 24+128=152, Resulting Numbers: [8, 152] Generated Node #3: [8, 152] from Operation: 24+128=152 Current State: 19:[8, 152], Operations: ['76+52=128', '24+128=152'] Exploring Operation: 152/8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[76, 52, 8, 24], Operations: [] Exploring Operation: 52-24=28, Resulting Numbers: [76, 8, 28] Generated Node #0,0: 19:[76, 8, 28] Operation: 52-24=28 Exploring Operation: 76-24=52, Resulting Numbers: [52, 8, 52] Generated Node #0,1: 19:[52, 8, 52] Operation: 76-24=52 Exploring Operation: 76-52=24, Resulting Numbers: [8, 24, 24] Generated Node #0,2: 19:[8, 24, 24] Operation: 76-52=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[8, 24, 24], Operations: ['76-52=24'] Exploring Operation: 24-8=16, Resulting Numbers: [24, 16] Generated Node #0,2,0: 19:[24, 16] Operation: 24-8=16 Exploring Operation: 24-8=16, Resulting Numbers: [24, 16] Generated Node #0,2,1: 19:[24, 16] Operation: 24-8=16 Exploring Operation: 8+24=32, Resulting Numbers: [24, 32] Generated Node #0,2,2: 19:[24, 32] Operation: 8+24=32 Moving to Node #0,2,0 Current State: 19:[24, 16], Operations: ['76-52=24', '24-8=16'] Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[24, 16], Operations: ['76-52=24', '24-8=16'] Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[24, 32], Operations: ['76-52=24', '8+24=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,19 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[76, 8, 28], Operations: ['52-24=28'] Exploring Operation: 76-28=48, Resulting Numbers: [8, 48] Generated Node #0,0,0: 19:[8, 48] Operation: 76-28=48 Exploring Operation: 28-8=20, Resulting Numbers: [76, 20] Generated Node #0,0,1: 19:[76, 20] Operation: 28-8=20 Exploring Operation: 76-8=68, Resulting Numbers: [28, 68] Generated Node #0,0,2: 19:[28, 68] Operation: 76-8=68 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[8, 48], Operations: ['52-24=28', '76-28=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[76, 20], Operations: ['52-24=28', '28-8=20'] Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,19 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[28, 68], Operations: ['52-24=28', '76-8=68'] Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,19 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,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,1 Current State: 19:[52, 8, 52], Operations: ['76-24=52'] Exploring Operation: 52/52=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 19:[8, 1] Operation: 52/52=1 Exploring Operation: 52-52=0, Resulting Numbers: [8, 0] Generated Node #0,1,1: 19:[8, 0] Operation: 52-52=0 Exploring Operation: 52-8=44, Resulting Numbers: [52, 44] Generated Node #0,1,2: 19:[52, 44] Operation: 52-8=44 Moving to Node #0,1,0 Current State: 19:[8, 1], Operations: ['76-24=52', '52/52=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[8, 0], Operations: ['76-24=52', '52-52=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[52, 44], Operations: ['76-24=52', '52-8=44'] Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,19 unequal: No Solution Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,19 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
[ 68, 65, 43, 32 ]
58
[ "68+65=133", "43+32=75", "133-75=58" ]
Current State: 58:[68, 65, 43, 32], Operations: [] Exploring Operation: 68+65=133, Resulting Numbers: [43, 32, 133] Generated Node #2: [43, 32, 133] from Operation: 68+65=133 Current State: 58:[43, 32, 133], Operations: ['68+65=133'] Exploring Operation: 43+32=75, Resulting Numbers: [133, 75] Generated Node #3: [133, 75] from Operation: 43+32=75 Current State: 58:[133, 75], Operations: ['68+65=133', '43+32=75'] Exploring Operation: 133-75=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[68, 65, 43, 32], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [68, 32, 22] Generated Node #0,0: 58:[68, 32, 22] Operation: 65-43=22 Exploring Operation: 68-65=3, Resulting Numbers: [43, 32, 3] Generated Node #0,1: 58:[43, 32, 3] Operation: 68-65=3 Exploring Operation: 68-43=25, Resulting Numbers: [65, 32, 25] Generated Node #0,2: 58:[65, 32, 25] Operation: 68-43=25 Moving to Node #0,2 Current State: 58:[65, 32, 25], Operations: ['68-43=25'] Exploring Operation: 32+25=57, Resulting Numbers: [65, 57] Generated Node #0,2,0: 58:[65, 57] Operation: 32+25=57 Exploring Operation: 32-25=7, Resulting Numbers: [65, 7] Generated Node #0,2,1: 58:[65, 7] Operation: 32-25=7 Exploring Operation: 65-32=33, Resulting Numbers: [25, 33] Generated Node #0,2,2: 58:[25, 33] Operation: 65-32=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[65, 57], Operations: ['68-43=25', '32+25=57'] Exploring Operation: 65*57=3705, Resulting Numbers: [3705] 3705,58 unequal: No Solution Exploring Operation: 65+57=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[25, 33], Operations: ['68-43=25', '65-32=33'] Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,58 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[68, 65, 43, 32], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [65, 32, 25] Generated Node #0,2: 58:[65, 32, 25] Operation: 68-43=25 Moving to Node #0,2 Current State: 58:[65, 32, 25], Operations: ['68-43=25'] Exploring Operation: 65-32=33, Resulting Numbers: [25, 33] Generated Node #0,2,2: 58:[25, 33] Operation: 65-32=33 Moving to Node #0,2,2 Current State: 58:[25, 33], Operations: ['68-43=25', '65-32=33'] Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 17, 86, 3, 14 ]
58
[ "86-17=69", "14-3=11", "69-11=58" ]
Current State: 58:[17, 86, 3, 14], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [3, 14, 69] Generated Node #2: [3, 14, 69] from Operation: 86-17=69 Current State: 58:[3, 14, 69], Operations: ['86-17=69'] Exploring Operation: 14-3=11, Resulting Numbers: [69, 11] Generated Node #3: [69, 11] from Operation: 14-3=11 Current State: 58:[69, 11], Operations: ['86-17=69', '14-3=11'] Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[17, 86, 3, 14], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [86, 3, 3] Generated Node #0,0: 58:[86, 3, 3] Operation: 17-14=3 Exploring Operation: 86-14=72, Resulting Numbers: [17, 3, 72] Generated Node #0,1: 58:[17, 3, 72] Operation: 86-14=72 Exploring Operation: 86-17=69, Resulting Numbers: [3, 14, 69] Generated Node #0,2: 58:[3, 14, 69] Operation: 86-17=69 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[3, 14, 69], Operations: ['86-17=69'] Exploring Operation: 69/3=23, Resulting Numbers: [14, 23] Generated Node #0,2,0: 58:[14, 23] Operation: 69/3=23 Exploring Operation: 69-14=55, Resulting Numbers: [3, 55] Generated Node #0,2,1: 58:[3, 55] Operation: 69-14=55 Exploring Operation: 14-3=11, Resulting Numbers: [69, 11] Generated Node #0,2,2: 58:[69, 11] Operation: 14-3=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[3, 55], Operations: ['86-17=69', '69-14=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[17, 86, 3, 14], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [3, 14, 69] Generated Node #0,2: 58:[3, 14, 69] Operation: 86-17=69 Moving to Node #0,2 Current State: 58:[3, 14, 69], Operations: ['86-17=69'] Exploring Operation: 69-14=55, Resulting Numbers: [3, 55] Generated Node #0,2,1: 58:[3, 55] Operation: 69-14=55 Moving to Node #0,2,1 Current State: 58:[3, 55], Operations: ['86-17=69', '69-14=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 42, 53, 24, 57 ]
72
[ "42-24=18", "57-53=4", "18*4=72" ]
Current State: 72:[42, 53, 24, 57], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [53, 57, 18] Generated Node #2: [53, 57, 18] from Operation: 42-24=18 Current State: 72:[53, 57, 18], Operations: ['42-24=18'] Exploring Operation: 57-53=4, Resulting Numbers: [18, 4] Generated Node #3: [18, 4] from Operation: 57-53=4 Current State: 72:[18, 4], Operations: ['42-24=18', '57-53=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[42, 53, 24, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [42, 24, 4] Generated Node #0,0: 72:[42, 24, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 72:[42, 24, 4], Operations: ['57-53=4'] Exploring Operation: 42-24=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 72:[4, 18] Operation: 42-24=18 Moving to Node #0,0,0 Current State: 72:[4, 18], Operations: ['57-53=4', '42-24=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[42, 53, 24, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [42, 24, 4] Generated Node #0,0: 72:[42, 24, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 72:[42, 24, 4], Operations: ['57-53=4'] Exploring Operation: 42-24=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 72:[4, 18] Operation: 42-24=18 Moving to Node #0,0,0 Current State: 72:[4, 18], Operations: ['57-53=4', '42-24=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 91, 21, 91, 98 ]
65
[ "91-21=70", "91*70=6370", "6370/98=65" ]
Current State: 65:[91, 21, 91, 98], Operations: [] Exploring Operation: 91-21=70, Resulting Numbers: [98, 70] Generated Node #2: [98, 70] from Operation: 91-21=70 Current State: 65:[98, 70], Operations: ['91-21=70'] Exploring Operation: 91*70=6370, Resulting Numbers: [98, 6370] Generated Node #3: [98, 6370] from Operation: 91*70=6370 Current State: 65:[98, 6370], Operations: ['91-21=70', '91*70=6370'] Exploring Operation: 6370/98=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[91, 21, 91, 98], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [21, 98, 1] Generated Node #0,0: 65:[21, 98, 1] Operation: 91/91=1 Exploring Operation: 98-91=7, Resulting Numbers: [91, 21, 7] Generated Node #0,1: 65:[91, 21, 7] Operation: 98-91=7 Exploring Operation: 98-91=7, Resulting Numbers: [21, 91, 7] Generated Node #0,2: 65:[21, 91, 7] Operation: 98-91=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[91, 21, 7], Operations: ['98-91=7'] Exploring Operation: 91-7=84, Resulting Numbers: [21, 84] Generated Node #0,1,0: 65:[21, 84] Operation: 91-7=84 Exploring Operation: 91-21=70, Resulting Numbers: [7, 70] Generated Node #0,1,1: 65:[7, 70] Operation: 91-21=70 Exploring Operation: 91/7=13, Resulting Numbers: [21, 13] Generated Node #0,1,2: 65:[21, 13] Operation: 91/7=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[7, 70], Operations: ['98-91=7', '91-21=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,65 unequal: No Solution No 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: 65:[21, 13], Operations: ['98-91=7', '91/7=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,65 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,65 unequal: No Solution No 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: 65:[21, 84], Operations: ['98-91=7', '91-7=84'] Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[21, 91, 7], Operations: ['98-91=7'] Exploring Operation: 91/7=13, Resulting Numbers: [21, 13] Generated Node #0,2,0: 65:[21, 13] Operation: 91/7=13 Exploring Operation: 91-21=70, Resulting Numbers: [7, 70] Generated Node #0,2,1: 65:[7, 70] Operation: 91-21=70 Exploring Operation: 21-7=14, Resulting Numbers: [91, 14] Generated Node #0,2,2: 65:[91, 14] Operation: 21-7=14 Moving to Node #0,2,1 Current State: 65:[7, 70], Operations: ['98-91=7', '91-21=70'] Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[21, 13], Operations: ['98-91=7', '91/7=13'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[91, 14], Operations: ['98-91=7', '21-7=14'] Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,65 unequal: No Solution Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,65 unequal: No Solution Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,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:[21, 98, 1], Operations: ['91/91=1'] Exploring Operation: 98-21=77, Resulting Numbers: [1, 77] Generated Node #0,0,0: 65:[1, 77] Operation: 98-21=77 Exploring Operation: 21-1=20, Resulting Numbers: [98, 20] Generated Node #0,0,1: 65:[98, 20] Operation: 21-1=20 Exploring Operation: 98-1=97, Resulting Numbers: [21, 97] Generated Node #0,0,2: 65:[21, 97] Operation: 98-1=97 Moving to Node #0,0,0 Current State: 65:[1, 77], Operations: ['91/91=1', '98-21=77'] Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[98, 20], Operations: ['91/91=1', '21-1=20'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 98+20=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 98*20=1960, Resulting Numbers: [1960] 1960,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[21, 97], Operations: ['91/91=1', '98-1=97'] Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 21+97=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 21*97=2037, Resulting Numbers: [2037] 2037,65 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
[ 9, 93, 65, 56 ]
92
[ "65-9=56", "56/56=1", "93-1=92" ]
Current State: 92:[9, 93, 65, 56], Operations: [] Exploring Operation: 65-9=56, Resulting Numbers: [93, 56, 56] Generated Node #2: [93, 56, 56] from Operation: 65-9=56 Current State: 92:[93, 56, 56], Operations: ['65-9=56'] Exploring Operation: 56/56=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 56/56=1 Current State: 92:[93, 1], Operations: ['65-9=56', '56/56=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[9, 93, 65, 56], Operations: [] Exploring Operation: 65-56=9, Resulting Numbers: [9, 93, 9] Generated Node #0,0: 92:[9, 93, 9] Operation: 65-56=9 Moving to Node #0,0 Current State: 92:[9, 93, 9], Operations: ['65-56=9'] Exploring Operation: 9/9=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 92:[93, 1] Operation: 9/9=1 Moving to Node #0,0,0 Current State: 92:[93, 1], Operations: ['65-56=9', '9/9=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[9, 93, 65, 56], Operations: [] Exploring Operation: 65-56=9, Resulting Numbers: [9, 93, 9] Generated Node #0,0: 92:[9, 93, 9] Operation: 65-56=9 Moving to Node #0,0 Current State: 92:[9, 93, 9], Operations: ['65-56=9'] Exploring Operation: 9/9=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 92:[93, 1] Operation: 9/9=1 Moving to Node #0,0,0 Current State: 92:[93, 1], Operations: ['65-56=9', '9/9=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 86, 74, 10, 20 ]
16
[ "86+74=160", "20-10=10", "160/10=16" ]
Current State: 16:[86, 74, 10, 20], Operations: [] Exploring Operation: 86+74=160, Resulting Numbers: [10, 20, 160] Generated Node #2: [10, 20, 160] from Operation: 86+74=160 Current State: 16:[10, 20, 160], Operations: ['86+74=160'] Exploring Operation: 20-10=10, Resulting Numbers: [160, 10] Generated Node #3: [160, 10] from Operation: 20-10=10 Current State: 16:[160, 10], Operations: ['86+74=160', '20-10=10'] Exploring Operation: 160/10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[86, 74, 10, 20], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [10, 20, 12] Generated Node #0,0: 16:[10, 20, 12] Operation: 86-74=12 Moving to Node #0,0 Current State: 16:[10, 20, 12], Operations: ['86-74=12'] Exploring Operation: 20-12=8, Resulting Numbers: [10, 8] Generated Node #0,0,0: 16:[10, 8] Operation: 20-12=8 Moving to Node #0,0,0 Current State: 16:[10, 8], Operations: ['86-74=12', '20-12=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,16 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 84, 81, 12, 75 ]
39
[ "84-81=3", "12*3=36", "75-36=39" ]
Current State: 39:[84, 81, 12, 75], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [12, 75, 3] Generated Node #2: [12, 75, 3] from Operation: 84-81=3 Current State: 39:[12, 75, 3], Operations: ['84-81=3'] Exploring Operation: 12*3=36, Resulting Numbers: [75, 36] Generated Node #3: [75, 36] from Operation: 12*3=36 Current State: 39:[75, 36], Operations: ['84-81=3', '12*3=36'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[84, 81, 12, 75], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [12, 75, 3] Generated Node #0,0: 39:[12, 75, 3] Operation: 84-81=3 Exploring Operation: 84/12=7, Resulting Numbers: [81, 75, 7] Generated Node #0,1: 39:[81, 75, 7] Operation: 84/12=7 Exploring Operation: 84-75=9, Resulting Numbers: [81, 12, 9] Generated Node #0,2: 39:[81, 12, 9] Operation: 84-75=9 Exploring Operation: 81-75=6, Resulting Numbers: [84, 12, 6] Generated Node #0,3: 39:[84, 12, 6] Operation: 81-75=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[12, 75, 3], Operations: ['84-81=3'] Exploring Operation: 75-12=63, Resulting Numbers: [3, 63] Generated Node #0,0,0: 39:[3, 63] Operation: 75-12=63 Exploring Operation: 12/3=4, Resulting Numbers: [75, 4] Generated Node #0,0,1: 39:[75, 4] Operation: 12/3=4 Exploring Operation: 75/3=25, Resulting Numbers: [12, 25] Generated Node #0,0,2: 39:[12, 25] Operation: 75/3=25 Exploring Operation: 75-3=72, Resulting Numbers: [12, 72] Generated Node #0,0,3: 39:[12, 72] Operation: 75-3=72 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[12, 25], Operations: ['84-81=3', '75/3=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,39 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,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,0 Current State: 39:[3, 63], Operations: ['84-81=3', '75-12=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,39 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,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,3 Current State: 39:[12, 72], Operations: ['84-81=3', '75-3=72'] Exploring Operation: 12*72=864, Resulting Numbers: [864] 864,39 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,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:[75, 4], Operations: ['84-81=3', '12/3=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,39 unequal: No Solution Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,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,2 Current State: 39:[81, 12, 9], Operations: ['84-75=9'] Exploring Operation: 81-12=69, Resulting Numbers: [9, 69] Generated Node #0,2,0: 39:[9, 69] Operation: 81-12=69 Exploring Operation: 12-9=3, Resulting Numbers: [81, 3] Generated Node #0,2,1: 39:[81, 3] Operation: 12-9=3 Exploring Operation: 81/9=9, Resulting Numbers: [12, 9] Generated Node #0,2,2: 39:[12, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [12, 72] Generated Node #0,2,3: 39:[12, 72] Operation: 81-9=72 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[12, 9], Operations: ['84-75=9', '81/9=9'] Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,39 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,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:[9, 69], Operations: ['84-75=9', '81-12=69'] Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 9*69=621, Resulting Numbers: [621] 621,39 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,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,3 Current State: 39:[12, 72], Operations: ['84-75=9', '81-9=72'] Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 12*72=864, Resulting Numbers: [864] 864,39 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,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,1 Current State: 39:[81, 3], Operations: ['84-75=9', '12-9=3'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 81*3=243, Resulting Numbers: [243] 243,39 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[84, 12, 6], Operations: ['81-75=6'] Exploring Operation: 84-12=72, Resulting Numbers: [6, 72] Generated Node #0,3,0: 39:[6, 72] Operation: 84-12=72 Exploring Operation: 84/6=14, Resulting Numbers: [12, 14] Generated Node #0,3,1: 39:[12, 14] Operation: 84/6=14 Exploring Operation: 84/12=7, Resulting Numbers: [6, 7] Generated Node #0,3,2: 39:[6, 7] Operation: 84/12=7 Exploring Operation: 84-6=78, Resulting Numbers: [12, 78] Generated Node #0,3,3: 39:[12, 78] Operation: 84-6=78 Moving to Node #0,3,1 Current State: 39:[12, 14], Operations: ['81-75=6', '84/6=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,39 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[6, 7], Operations: ['81-75=6', '84/12=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[6, 72], Operations: ['81-75=6', '84-12=72'] Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,39 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[12, 78], Operations: ['81-75=6', '84-6=78'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[81, 75, 7], Operations: ['84/12=7'] Exploring Operation: 81-75=6, Resulting Numbers: [7, 6] Generated Node #0,1,0: 39:[7, 6] Operation: 81-75=6 Exploring Operation: 81+7=88, Resulting Numbers: [75, 88] Generated Node #0,1,1: 39:[75, 88] Operation: 81+7=88 Exploring Operation: 75-7=68, Resulting Numbers: [81, 68] Generated Node #0,1,2: 39:[81, 68] Operation: 75-7=68 Exploring Operation: 81-7=74, Resulting Numbers: [75, 74] Generated Node #0,1,3: 39:[75, 74] Operation: 81-7=74 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[7, 6], Operations: ['84/12=7', '81-75=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[81, 68], Operations: ['84/12=7', '75-7=68'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,39 unequal: No Solution Exploring Operation: 81*68=5508, Resulting Numbers: [5508] 5508,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 39:[75, 74], Operations: ['84/12=7', '81-7=74'] Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 75+74=149, Resulting Numbers: [149] 149,39 unequal: No Solution Exploring Operation: 75*74=5550, Resulting Numbers: [5550] 5550,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[75, 88], Operations: ['84/12=7', '81+7=88'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 75+88=163, Resulting Numbers: [163] 163,39 unequal: No Solution Exploring Operation: 75*88=6600, Resulting Numbers: [6600] 6600,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_4
sum_heuristic
[ 31, 6, 17, 3 ]
36
[ "31-17=14", "3*14=42", "42-6=36" ]
Current State: 36:[31, 6, 17, 3], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [6, 3, 14] Generated Node #2: [6, 3, 14] from Operation: 31-17=14 Current State: 36:[6, 3, 14], Operations: ['31-17=14'] Exploring Operation: 3*14=42, Resulting Numbers: [6, 42] Generated Node #3: [6, 42] from Operation: 3*14=42 Current State: 36:[6, 42], Operations: ['31-17=14', '3*14=42'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[31, 6, 17, 3], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [6, 3, 14] Generated Node #0,0: 36:[6, 3, 14] Operation: 31-17=14 Exploring Operation: 31+3=34, Resulting Numbers: [6, 17, 34] Generated Node #0,1: 36:[6, 17, 34] Operation: 31+3=34 Exploring Operation: 31+6=37, Resulting Numbers: [17, 3, 37] Generated Node #0,2: 36:[17, 3, 37] Operation: 31+6=37 Exploring Operation: 17-6=11, Resulting Numbers: [31, 3, 11] Generated Node #0,3: 36:[31, 3, 11] Operation: 17-6=11 Moving to Node #0,0 Current State: 36:[6, 3, 14], Operations: ['31-17=14'] Exploring Operation: 14-6=8, Resulting Numbers: [3, 8] Generated Node #0,0,0: 36:[3, 8] Operation: 14-6=8 Exploring Operation: 14-3=11, Resulting Numbers: [6, 11] Generated Node #0,0,1: 36:[6, 11] Operation: 14-3=11 Exploring Operation: 6+3=9, Resulting Numbers: [14, 9] Generated Node #0,0,2: 36:[14, 9] Operation: 6+3=9 Exploring Operation: 3+14=17, Resulting Numbers: [6, 17] Generated Node #0,0,3: 36:[6, 17] Operation: 3+14=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[3, 8], Operations: ['31-17=14', '14-6=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,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:[6, 11], Operations: ['31-17=14', '14-3=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,36 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,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:[6, 17], Operations: ['31-17=14', '3+14=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,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:[14, 9], Operations: ['31-17=14', '6+3=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,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:[17, 3, 37], Operations: ['31+6=37'] Exploring Operation: 37-3=34, Resulting Numbers: [17, 34] Generated Node #0,2,0: 36:[17, 34] Operation: 37-3=34 Exploring Operation: 17-3=14, Resulting Numbers: [37, 14] Generated Node #0,2,1: 36:[37, 14] Operation: 17-3=14 Exploring Operation: 17+3=20, Resulting Numbers: [37, 20] Generated Node #0,2,2: 36:[37, 20] Operation: 17+3=20 Exploring Operation: 37-17=20, Resulting Numbers: [3, 20] Generated Node #0,2,3: 36:[3, 20] Operation: 37-17=20 Moving to Node #0,1 Current State: 36:[6, 17, 34], Operations: ['31+3=34'] Exploring Operation: 6+34=40, Resulting Numbers: [17, 40] Generated Node #0,1,0: 36:[17, 40] Operation: 6+34=40 Exploring Operation: 17-6=11, Resulting Numbers: [34, 11] Generated Node #0,1,1: 36:[34, 11] Operation: 17-6=11 Exploring Operation: 34-17=17, Resulting Numbers: [6, 17] Generated Node #0,1,2: 36:[6, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [6, 2] Generated Node #0,1,3: 36:[6, 2] Operation: 34/17=2 Moving to Node #0,3 Current State: 36:[31, 3, 11], Operations: ['17-6=11'] Exploring Operation: 11-3=8, Resulting Numbers: [31, 8] Generated Node #0,3,0: 36:[31, 8] Operation: 11-3=8 Exploring Operation: 31+3=34, Resulting Numbers: [11, 34] Generated Node #0,3,1: 36:[11, 34] Operation: 31+3=34 Exploring Operation: 31-11=20, Resulting Numbers: [3, 20] Generated Node #0,3,2: 36:[3, 20] Operation: 31-11=20 Exploring Operation: 31+11=42, Resulting Numbers: [3, 42] Generated Node #0,3,3: 36:[3, 42] Operation: 31+11=42 Moving to Node #0,1,3 Current State: 36:[6, 2], Operations: ['31+3=34', '34/17=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[6, 17], Operations: ['31+3=34', '34-17=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[3, 20], Operations: ['31+6=37', '37-17=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[3, 20], Operations: ['17-6=11', '31-11=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[34, 11], Operations: ['31+3=34', '17-6=11'] Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,36 unequal: No Solution Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[37, 14], Operations: ['31+6=37', '17-3=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,36 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[17, 34], Operations: ['31+6=37', '37-3=34'] Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,36 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,36 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[11, 34], Operations: ['17-6=11', '31+3=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,36 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[37, 20], Operations: ['31+6=37', '17+3=20'] Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 37*20=740, Resulting Numbers: [740] 740,36 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[17, 40], Operations: ['31+3=34', '6+34=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[31, 8], Operations: ['17-6=11', '11-3=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,36 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[3, 42], Operations: ['17-6=11', '31+11=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,36 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,36 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 9, 93, 11, 87 ]
93
[ "9*11=99", "93-87=6", "99-6=93" ]
Current State: 93:[9, 93, 11, 87], Operations: [] Exploring Operation: 9*11=99, Resulting Numbers: [93, 87, 99] Generated Node #2: [93, 87, 99] from Operation: 9*11=99 Current State: 93:[93, 87, 99], Operations: ['9*11=99'] Exploring Operation: 93-87=6, Resulting Numbers: [99, 6] Generated Node #3: [99, 6] from Operation: 93-87=6 Current State: 93:[99, 6], Operations: ['9*11=99', '93-87=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[9, 93, 11, 87], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [93, 87, 2] Generated Node #0,0: 93:[93, 87, 2] Operation: 11-9=2 Moving to Node #0,0 Current State: 93:[93, 87, 2], Operations: ['11-9=2'] Exploring Operation: 93-87=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 93:[2, 6] Operation: 93-87=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[2, 6], Operations: ['11-9=2', '93-87=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 81, 4, 26, 22 ]
33
[ "81-26=55", "4*22=88", "88-55=33" ]
Current State: 33:[81, 4, 26, 22], Operations: [] Exploring Operation: 81-26=55, Resulting Numbers: [4, 22, 55] Generated Node #2: [4, 22, 55] from Operation: 81-26=55 Current State: 33:[4, 22, 55], Operations: ['81-26=55'] Exploring Operation: 4*22=88, Resulting Numbers: [55, 88] Generated Node #3: [55, 88] from Operation: 4*22=88 Current State: 33:[55, 88], Operations: ['81-26=55', '4*22=88'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[81, 4, 26, 22], Operations: [] Exploring Operation: 81-26=55, Resulting Numbers: [4, 22, 55] Generated Node #0,0: 33:[4, 22, 55] Operation: 81-26=55 Exploring Operation: 81-4=77, Resulting Numbers: [26, 22, 77] Generated Node #0,1: 33:[26, 22, 77] Operation: 81-4=77 Exploring Operation: 81-22=59, Resulting Numbers: [4, 26, 59] Generated Node #0,2: 33:[4, 26, 59] Operation: 81-22=59 Exploring Operation: 26-22=4, Resulting Numbers: [81, 4, 4] Generated Node #0,3: 33:[81, 4, 4] Operation: 26-22=4 Moving to Node #0,0 Current State: 33:[4, 22, 55], Operations: ['81-26=55'] Exploring Operation: 55-4=51, Resulting Numbers: [22, 51] Generated Node #0,0,0: 33:[22, 51] Operation: 55-4=51 Exploring Operation: 4+22=26, Resulting Numbers: [55, 26] Generated Node #0,0,1: 33:[55, 26] Operation: 4+22=26 Exploring Operation: 55-22=33, Resulting Numbers: [4, 33] Generated Node #0,0,2: 33:[4, 33] Operation: 55-22=33 Exploring Operation: 22-4=18, Resulting Numbers: [55, 18] Generated Node #0,0,3: 33:[55, 18] Operation: 22-4=18 Moving to Node #0,2 Current State: 33:[4, 26, 59], Operations: ['81-22=59'] Exploring Operation: 59-26=33, Resulting Numbers: [4, 33] Generated Node #0,2,0: 33:[4, 33] Operation: 59-26=33 Exploring Operation: 4+26=30, Resulting Numbers: [59, 30] Generated Node #0,2,1: 33:[59, 30] Operation: 4+26=30 Exploring Operation: 26-4=22, Resulting Numbers: [59, 22] Generated Node #0,2,2: 33:[59, 22] Operation: 26-4=22 Exploring Operation: 59-4=55, Resulting Numbers: [26, 55] Generated Node #0,2,3: 33:[26, 55] Operation: 59-4=55 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[4, 33], Operations: ['81-22=59', '59-26=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,33 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[59, 30], Operations: ['81-22=59', '4+26=30'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,33 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[26, 55], Operations: ['81-22=59', '59-4=55'] Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,33 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[59, 22], Operations: ['81-22=59', '26-4=22'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,33 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: 33:[81, 4, 4], Operations: ['26-22=4'] Exploring Operation: 4+4=8, Resulting Numbers: [81, 8] Generated Node #0,3,0: 33:[81, 8] Operation: 4+4=8 Exploring Operation: 4/4=1, Resulting Numbers: [81, 1] Generated Node #0,3,1: 33:[81, 1] Operation: 4/4=1 Exploring Operation: 81-4=77, Resulting Numbers: [4, 77] Generated Node #0,3,2: 33:[4, 77] Operation: 81-4=77 Exploring Operation: 81-4=77, Resulting Numbers: [4, 77] Generated Node #0,3,3: 33:[4, 77] Operation: 81-4=77 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 33:[4, 77], Operations: ['26-22=4', '81-4=77'] Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,33 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[4, 77], Operations: ['26-22=4', '81-4=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[81, 1], Operations: ['26-22=4', '4/4=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,33 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,33 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[81, 8], Operations: ['26-22=4', '4+4=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,33 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 33:[26, 22, 77], Operations: ['81-4=77'] Exploring Operation: 26-22=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 33:[77, 4] Operation: 26-22=4 Exploring Operation: 26+22=48, Resulting Numbers: [77, 48] Generated Node #0,1,1: 33:[77, 48] Operation: 26+22=48 Exploring Operation: 77-26=51, Resulting Numbers: [22, 51] Generated Node #0,1,2: 33:[22, 51] Operation: 77-26=51 Exploring Operation: 77-22=55, Resulting Numbers: [26, 55] Generated Node #0,1,3: 33:[26, 55] Operation: 77-22=55 Moving to Node #0,0,2 Current State: 33:[4, 33], Operations: ['81-26=55', '55-22=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[55, 26], Operations: ['81-26=55', '4+22=26'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 55+26=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 55*26=1430, Resulting Numbers: [1430] 1430,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[26, 55], Operations: ['81-4=77', '77-22=55'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[22, 51], Operations: ['81-26=55', '55-4=51'] Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,33 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[22, 51], Operations: ['81-4=77', '77-26=51'] Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[55, 18], Operations: ['81-26=55', '22-4=18'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[77, 4], Operations: ['81-4=77', '26-22=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,33 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[77, 48], Operations: ['81-4=77', '26+22=48'] Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,33 unequal: No Solution Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,33 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 51, 48, 60, 37 ]
26
[ "51-48=3", "60-37=23", "3+23=26" ]
Current State: 26:[51, 48, 60, 37], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [60, 37, 3] Generated Node #2: [60, 37, 3] from Operation: 51-48=3 Current State: 26:[60, 37, 3], Operations: ['51-48=3'] Exploring Operation: 60-37=23, Resulting Numbers: [3, 23] Generated Node #3: [3, 23] from Operation: 60-37=23 Current State: 26:[3, 23], Operations: ['51-48=3', '60-37=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[51, 48, 60, 37], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [51, 37, 12] Generated Node #0,0: 26:[51, 37, 12] Operation: 60-48=12 Exploring Operation: 60-51=9, Resulting Numbers: [48, 37, 9] Generated Node #0,1: 26:[48, 37, 9] Operation: 60-51=9 Moving to Node #0,0 Current State: 26:[51, 37, 12], Operations: ['60-48=12'] Exploring Operation: 51-37=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 26:[12, 14] Operation: 51-37=14 Exploring Operation: 51-12=39, Resulting Numbers: [37, 39] Generated Node #0,0,1: 26:[37, 39] Operation: 51-12=39 Moving to Node #0,1 Current State: 26:[48, 37, 9], Operations: ['60-51=9'] Exploring Operation: 48-37=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 26:[9, 11] Operation: 48-37=11 Exploring Operation: 48-9=39, Resulting Numbers: [37, 39] Generated Node #0,1,1: 26:[37, 39] Operation: 48-9=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[9, 11], Operations: ['60-51=9', '48-37=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[37, 39], Operations: ['60-51=9', '48-9=39'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,26 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: 26:[12, 14], Operations: ['60-48=12', '51-37=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[51, 48, 60, 37], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [51, 37, 12] Generated Node #0,0: 26:[51, 37, 12] Operation: 60-48=12 Moving to Node #0,0 Current State: 26:[51, 37, 12], Operations: ['60-48=12'] Exploring Operation: 51-37=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 26:[12, 14] Operation: 51-37=14 Moving to Node #0,0,0 Current State: 26:[12, 14], Operations: ['60-48=12', '51-37=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 14, 38, 78, 73 ]
47
[ "14+38=52", "78-73=5", "52-5=47" ]
Current State: 47:[14, 38, 78, 73], Operations: [] Exploring Operation: 14+38=52, Resulting Numbers: [78, 73, 52] Generated Node #2: [78, 73, 52] from Operation: 14+38=52 Current State: 47:[78, 73, 52], Operations: ['14+38=52'] Exploring Operation: 78-73=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 78-73=5 Current State: 47:[52, 5], Operations: ['14+38=52', '78-73=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[14, 38, 78, 73], Operations: [] Exploring Operation: 14+38=52, Resulting Numbers: [78, 73, 52] Generated Node #0,0: 47:[78, 73, 52] Operation: 14+38=52 Exploring Operation: 78-38=40, Resulting Numbers: [14, 73, 40] Generated Node #0,1: 47:[14, 73, 40] Operation: 78-38=40 Exploring Operation: 78-14=64, Resulting Numbers: [38, 73, 64] Generated Node #0,2: 47:[38, 73, 64] Operation: 78-14=64 Exploring Operation: 73-14=59, Resulting Numbers: [38, 78, 59] Generated Node #0,3: 47:[38, 78, 59] Operation: 73-14=59 Exploring Operation: 73-38=35, Resulting Numbers: [14, 78, 35] Generated Node #0,4: 47:[14, 78, 35] Operation: 73-38=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[38, 73, 64], Operations: ['78-14=64'] Exploring Operation: 38+73=111, Resulting Numbers: [64, 111] Generated Node #0,2,0: 47:[64, 111] Operation: 38+73=111 Exploring Operation: 64-38=26, Resulting Numbers: [73, 26] Generated Node #0,2,1: 47:[73, 26] Operation: 64-38=26 Exploring Operation: 38+64=102, Resulting Numbers: [73, 102] Generated Node #0,2,2: 47:[73, 102] Operation: 38+64=102 Exploring Operation: 73-64=9, Resulting Numbers: [38, 9] Generated Node #0,2,3: 47:[38, 9] Operation: 73-64=9 Exploring Operation: 73-38=35, Resulting Numbers: [64, 35] Generated Node #0,2,4: 47:[64, 35] Operation: 73-38=35 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 47:[64, 35], Operations: ['78-14=64', '73-38=35'] Exploring Operation: 64*35=2240, Resulting Numbers: [2240] 2240,47 unequal: No Solution Exploring Operation: 64+35=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,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,2,1 Current State: 47:[73, 26], Operations: ['78-14=64', '64-38=26'] Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,47 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[14, 38, 78, 73], Operations: [] Exploring Operation: 78-14=64, Resulting Numbers: [38, 73, 64] Generated Node #0,2: 47:[38, 73, 64] Operation: 78-14=64 Moving to Node #0,2 Current State: 47:[38, 73, 64], Operations: ['78-14=64'] Exploring Operation: 64-38=26, Resulting Numbers: [73, 26] Generated Node #0,2,1: 47:[73, 26] Operation: 64-38=26 Moving to Node #0,2,1 Current State: 47:[73, 26], Operations: ['78-14=64', '64-38=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 1, 52, 86, 79 ]
44
[ "52-1=51", "86-79=7", "51-7=44" ]
Current State: 44:[1, 52, 86, 79], Operations: [] Exploring Operation: 52-1=51, Resulting Numbers: [86, 79, 51] Generated Node #2: [86, 79, 51] from Operation: 52-1=51 Current State: 44:[86, 79, 51], Operations: ['52-1=51'] Exploring Operation: 86-79=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 86-79=7 Current State: 44:[51, 7], Operations: ['52-1=51', '86-79=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[1, 52, 86, 79], Operations: [] Exploring Operation: 52-1=51, Resulting Numbers: [86, 79, 51] Generated Node #0,0: 44:[86, 79, 51] Operation: 52-1=51 Exploring Operation: 86-52=34, Resulting Numbers: [1, 79, 34] Generated Node #0,1: 44:[1, 79, 34] Operation: 86-52=34 Exploring Operation: 86-79=7, Resulting Numbers: [1, 52, 7] Generated Node #0,2: 44:[1, 52, 7] Operation: 86-79=7 Exploring Operation: 79-52=27, Resulting Numbers: [1, 86, 27] Generated Node #0,3: 44:[1, 86, 27] Operation: 79-52=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[1, 52, 7], Operations: ['86-79=7'] Exploring Operation: 1*52=52, Resulting Numbers: [7, 52] Generated Node #0,2,0: 44:[7, 52] Operation: 1*52=52 Exploring Operation: 7-1=6, Resulting Numbers: [52, 6] Generated Node #0,2,1: 44:[52, 6] Operation: 7-1=6 Exploring Operation: 52-1=51, Resulting Numbers: [7, 51] Generated Node #0,2,2: 44:[7, 51] Operation: 52-1=51 Exploring Operation: 52-7=45, Resulting Numbers: [1, 45] Generated Node #0,2,3: 44:[1, 45] Operation: 52-7=45 Moving to Node #0,2,3 Current State: 44:[1, 45], Operations: ['86-79=7', '52-7=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[1, 52, 86, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [1, 52, 7] Generated Node #0,2: 44:[1, 52, 7] Operation: 86-79=7 Moving to Node #0,2 Current State: 44:[1, 52, 7], Operations: ['86-79=7'] Exploring Operation: 52-7=45, Resulting Numbers: [1, 45] Generated Node #0,2,3: 44:[1, 45] Operation: 52-7=45 Moving to Node #0,2,3 Current State: 44:[1, 45], Operations: ['86-79=7', '52-7=45'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 61, 1, 1, 83 ]
21
[ "61+1=62", "1*83=83", "83-62=21" ]
Current State: 21:[61, 1, 1, 83], Operations: [] Exploring Operation: 61+1=62, Resulting Numbers: [83, 62] Generated Node #2: [83, 62] from Operation: 61+1=62 Current State: 21:[83, 62], Operations: ['61+1=62'] Exploring Operation: 1*83=83, Resulting Numbers: [62, 83] Generated Node #3: [62, 83] from Operation: 1*83=83 Current State: 21:[62, 83], Operations: ['61+1=62', '1*83=83'] Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[61, 1, 1, 83], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [1, 1, 22] Generated Node #0,0: 21:[1, 1, 22] Operation: 83-61=22 Exploring Operation: 61-1=60, Resulting Numbers: [1, 83, 60] Generated Node #0,1: 21:[1, 83, 60] Operation: 61-1=60 Exploring Operation: 61-1=60, Resulting Numbers: [1, 83, 60] Generated Node #0,2: 21:[1, 83, 60] Operation: 61-1=60 Exploring Operation: 1+1=2, Resulting Numbers: [61, 83, 2] Generated Node #0,3: 21:[61, 83, 2] Operation: 1+1=2 Moving to Node #0,0 Current State: 21:[1, 1, 22], Operations: ['83-61=22'] Exploring Operation: 1*1=1, Resulting Numbers: [22, 1] Generated Node #0,0,0: 21:[22, 1] Operation: 1*1=1 Exploring Operation: 22-1=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 21:[1, 21] Operation: 22-1=21 Exploring Operation: 22-1=21, Resulting Numbers: [1, 21] Generated Node #0,0,2: 21:[1, 21] Operation: 22-1=21 Exploring Operation: 1+1=2, Resulting Numbers: [22, 2] Generated Node #0,0,3: 21:[22, 2] Operation: 1+1=2 Moving to Node #0,2 Current State: 21:[1, 83, 60], Operations: ['61-1=60'] Exploring Operation: 1*83=83, Resulting Numbers: [60, 83] Generated Node #0,2,0: 21:[60, 83] Operation: 1*83=83 Exploring Operation: 60-1=59, Resulting Numbers: [83, 59] Generated Node #0,2,1: 21:[83, 59] Operation: 60-1=59 Exploring Operation: 83-60=23, Resulting Numbers: [1, 23] Generated Node #0,2,2: 21:[1, 23] Operation: 83-60=23 Exploring Operation: 83-1=82, Resulting Numbers: [60, 82] Generated Node #0,2,3: 21:[60, 82] Operation: 83-1=82 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[1, 23], Operations: ['61-1=60', '83-60=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[83, 59], Operations: ['61-1=60', '60-1=59'] Exploring Operation: 83+59=142, Resulting Numbers: [142] 142,21 unequal: No Solution Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 83*59=4897, Resulting Numbers: [4897] 4897,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[60, 82], Operations: ['61-1=60', '83-1=82'] Exploring Operation: 60+82=142, Resulting Numbers: [142] 142,21 unequal: No Solution Exploring Operation: 60*82=4920, Resulting Numbers: [4920] 4920,21 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[60, 83], Operations: ['61-1=60', '1*83=83'] Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 60+83=143, Resulting Numbers: [143] 143,21 unequal: No Solution Exploring Operation: 60*83=4980, Resulting Numbers: [4980] 4980,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 21:[1, 83, 60], Operations: ['61-1=60'] Exploring Operation: 60-1=59, Resulting Numbers: [83, 59] Generated Node #0,1,0: 21:[83, 59] Operation: 60-1=59 Exploring Operation: 83-60=23, Resulting Numbers: [1, 23] Generated Node #0,1,1: 21:[1, 23] Operation: 83-60=23 Exploring Operation: 83-1=82, Resulting Numbers: [60, 82] Generated Node #0,1,2: 21:[60, 82] Operation: 83-1=82 Exploring Operation: 1*83=83, Resulting Numbers: [60, 83] Generated Node #0,1,3: 21:[60, 83] Operation: 1*83=83 Moving to Node #0,3 Current State: 21:[61, 83, 2], Operations: ['1+1=2'] Exploring Operation: 83-2=81, Resulting Numbers: [61, 81] Generated Node #0,3,0: 21:[61, 81] Operation: 83-2=81 Exploring Operation: 61-2=59, Resulting Numbers: [83, 59] Generated Node #0,3,1: 21:[83, 59] Operation: 61-2=59 Exploring Operation: 61+2=63, Resulting Numbers: [83, 63] Generated Node #0,3,2: 21:[83, 63] Operation: 61+2=63 Exploring Operation: 83-61=22, Resulting Numbers: [2, 22] Generated Node #0,3,3: 21:[2, 22] Operation: 83-61=22 Moving to Node #0,0,1 Current State: 21:[1, 21], Operations: ['83-61=22', '22-1=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[61, 1, 1, 83], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [1, 1, 22] Generated Node #0,0: 21:[1, 1, 22] Operation: 83-61=22 Moving to Node #0,0 Current State: 21:[1, 1, 22], Operations: ['83-61=22'] Exploring Operation: 22-1=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 21:[1, 21] Operation: 22-1=21 Moving to Node #0,0,1 Current State: 21:[1, 21], Operations: ['83-61=22', '22-1=21'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 2, 9, 94, 72 ]
40
[ "2*9=18", "94-72=22", "18+22=40" ]
Current State: 40:[2, 9, 94, 72], Operations: [] Exploring Operation: 2*9=18, Resulting Numbers: [94, 72, 18] Generated Node #2: [94, 72, 18] from Operation: 2*9=18 Current State: 40:[94, 72, 18], Operations: ['2*9=18'] Exploring Operation: 94-72=22, Resulting Numbers: [18, 22] Generated Node #3: [18, 22] from Operation: 94-72=22 Current State: 40:[18, 22], Operations: ['2*9=18', '94-72=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[2, 9, 94, 72], Operations: [] Exploring Operation: 94-9=85, Resulting Numbers: [2, 72, 85] Generated Node #0,0: 40:[2, 72, 85] Operation: 94-9=85 Exploring Operation: 72/9=8, Resulting Numbers: [2, 94, 8] Generated Node #0,1: 40:[2, 94, 8] Operation: 72/9=8 Exploring Operation: 72/2=36, Resulting Numbers: [9, 94, 36] Generated Node #0,2: 40:[9, 94, 36] Operation: 72/2=36 Exploring Operation: 94/2=47, Resulting Numbers: [9, 72, 47] Generated Node #0,3: 40:[9, 72, 47] Operation: 94/2=47 Exploring Operation: 94-72=22, Resulting Numbers: [2, 9, 22] Generated Node #0,4: 40:[2, 9, 22] Operation: 94-72=22 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[2, 9, 22], Operations: ['94-72=22'] Exploring Operation: 22/2=11, Resulting Numbers: [9, 11] Generated Node #0,4,0: 40:[9, 11] Operation: 22/2=11 Exploring Operation: 2+9=11, Resulting Numbers: [22, 11] Generated Node #0,4,1: 40:[22, 11] Operation: 2+9=11 Exploring Operation: 22-2=20, Resulting Numbers: [9, 20] Generated Node #0,4,2: 40:[9, 20] Operation: 22-2=20 Exploring Operation: 22-9=13, Resulting Numbers: [2, 13] Generated Node #0,4,3: 40:[2, 13] Operation: 22-9=13 Exploring Operation: 9-2=7, Resulting Numbers: [22, 7] Generated Node #0,4,4: 40:[22, 7] Operation: 9-2=7 Moving to Node #0,4,2 Current State: 40:[9, 20], Operations: ['94-72=22', '22-2=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,40 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,4,0 Current State: 40:[9, 11], Operations: ['94-72=22', '22/2=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,40 unequal: No Solution Moving to Node #0,4,1 Current State: 40:[22, 11], Operations: ['94-72=22', '2+9=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,40 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,4,3 Current State: 40:[2, 13], Operations: ['94-72=22', '22-9=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,4,4 Current State: 40:[22, 7], Operations: ['94-72=22', '9-2=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,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,3 Current State: 40:[9, 72, 47], Operations: ['94/2=47'] Exploring Operation: 72/9=8, Resulting Numbers: [47, 8] Generated Node #0,3,0: 40:[47, 8] Operation: 72/9=8 Exploring Operation: 47-9=38, Resulting Numbers: [72, 38] Generated Node #0,3,1: 40:[72, 38] Operation: 47-9=38 Exploring Operation: 72-47=25, Resulting Numbers: [9, 25] Generated Node #0,3,2: 40:[9, 25] Operation: 72-47=25 Exploring Operation: 72-9=63, Resulting Numbers: [47, 63] Generated Node #0,3,3: 40:[47, 63] Operation: 72-9=63 Exploring Operation: 9+72=81, Resulting Numbers: [47, 81] Generated Node #0,3,4: 40:[47, 81] Operation: 9+72=81 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 40:[9, 25], Operations: ['94/2=47', '72-47=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,40 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[47, 8], Operations: ['94/2=47', '72/9=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,40 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[47, 63], Operations: ['94/2=47', '72-9=63'] Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,40 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[72, 38], Operations: ['94/2=47', '47-9=38'] Exploring Operation: 72+38=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 72*38=2736, Resulting Numbers: [2736] 2736,40 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 40:[47, 81], Operations: ['94/2=47', '9+72=81'] Exploring Operation: 47+81=128, Resulting Numbers: [128] 128,40 unequal: No Solution Exploring Operation: 47*81=3807, Resulting Numbers: [3807] 3807,40 unequal: No Solution Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[2, 94, 8], Operations: ['72/9=8'] Exploring Operation: 8/2=4, Resulting Numbers: [94, 4] Generated Node #0,1,0: 40:[94, 4] Operation: 8/2=4 Exploring Operation: 94-2=92, Resulting Numbers: [8, 92] Generated Node #0,1,1: 40:[8, 92] Operation: 94-2=92 Exploring Operation: 94-8=86, Resulting Numbers: [2, 86] Generated Node #0,1,2: 40:[2, 86] Operation: 94-8=86 Exploring Operation: 94/2=47, Resulting Numbers: [8, 47] Generated Node #0,1,3: 40:[8, 47] Operation: 94/2=47 Exploring Operation: 2+8=10, Resulting Numbers: [94, 10] Generated Node #0,1,4: 40:[94, 10] Operation: 2+8=10 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 40:[8, 47], Operations: ['72/9=8', '94/2=47'] Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,40 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[2, 86], Operations: ['72/9=8', '94-8=86'] Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,40 unequal: No Solution Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,40 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[8, 92], Operations: ['72/9=8', '94-2=92'] Exploring Operation: 8*92=736, Resulting Numbers: [736] 736,40 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 8+92=100, Resulting Numbers: [100] 100,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[94, 4], Operations: ['72/9=8', '8/2=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,40 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 40:[94, 10], Operations: ['72/9=8', '2+8=10'] Exploring Operation: 94+10=104, Resulting Numbers: [104] 104,40 unequal: No Solution Exploring Operation: 94*10=940, Resulting Numbers: [940] 940,40 unequal: No Solution Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[9, 94, 36], Operations: ['72/2=36'] Exploring Operation: 36-9=27, Resulting Numbers: [94, 27] Generated Node #0,2,0: 40:[94, 27] Operation: 36-9=27 Exploring Operation: 94-36=58, Resulting Numbers: [9, 58] Generated Node #0,2,1: 40:[9, 58] Operation: 94-36=58 Exploring Operation: 9+36=45, Resulting Numbers: [94, 45] Generated Node #0,2,2: 40:[94, 45] Operation: 9+36=45 Exploring Operation: 36/9=4, Resulting Numbers: [94, 4] Generated Node #0,2,3: 40:[94, 4] Operation: 36/9=4 Exploring Operation: 94-9=85, Resulting Numbers: [36, 85] Generated Node #0,2,4: 40:[36, 85] Operation: 94-9=85 Moving to Node #0,2,1 Current State: 40:[9, 58], Operations: ['72/2=36', '94-36=58'] Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,40 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,40 unequal: No Solution Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[36, 85], Operations: ['72/2=36', '94-9=85'] Exploring Operation: 36*85=3060, Resulting Numbers: [3060] 3060,40 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,40 unequal: No Solution Exploring Operation: 36+85=121, Resulting Numbers: [121] 121,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[94, 4], Operations: ['72/2=36', '36/9=4'] Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,40 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[94, 45], Operations: ['72/2=36', '9+36=45'] Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,40 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,40 unequal: No Solution Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[94, 27], Operations: ['72/2=36', '36-9=27'] Exploring Operation: 94*27=2538, Resulting Numbers: [2538] 2538,40 unequal: No Solution Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,40 unequal: No Solution Exploring Operation: 94+27=121, Resulting Numbers: [121] 121,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:[2, 72, 85], Operations: ['94-9=85'] Exploring Operation: 85-72=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 40:[2, 13] Operation: 85-72=13 Exploring Operation: 72-2=70, Resulting Numbers: [85, 70] Generated Node #0,0,1: 40:[85, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [85, 36] Generated Node #0,0,2: 40:[85, 36] Operation: 72/2=36 Exploring Operation: 2+72=74, Resulting Numbers: [85, 74] Generated Node #0,0,3: 40:[85, 74] Operation: 2+72=74 Exploring Operation: 85-2=83, Resulting Numbers: [72, 83] Generated Node #0,0,4: 40:[72, 83] Operation: 85-2=83 Moving to Node #0,0,0 Current State: 40:[2, 13], Operations: ['94-9=85', '85-72=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[85, 36], Operations: ['94-9=85', '72/2=36'] Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,40 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,40 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[85, 70], Operations: ['94-9=85', '72-2=70'] Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,40 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,40 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[72, 83], Operations: ['94-9=85', '85-2=83'] Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,40 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[85, 74], Operations: ['94-9=85', '2+72=74'] Exploring Operation: 85-74=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 85*74=6290, Resulting Numbers: [6290] 6290,40 unequal: No Solution Exploring Operation: 85+74=159, Resulting Numbers: [159] 159,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 52, 54, 87, 60 ]
57
[ "54-52=2", "60/2=30", "87-30=57" ]
Current State: 57:[52, 54, 87, 60], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [87, 60, 2] Generated Node #2: [87, 60, 2] from Operation: 54-52=2 Current State: 57:[87, 60, 2], Operations: ['54-52=2'] Exploring Operation: 60/2=30, Resulting Numbers: [87, 30] Generated Node #3: [87, 30] from Operation: 60/2=30 Current State: 57:[87, 30], Operations: ['54-52=2', '60/2=30'] Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[52, 54, 87, 60], Operations: [] Exploring Operation: 87-52=35, Resulting Numbers: [54, 60, 35] Generated Node #0,0: 57:[54, 60, 35] Operation: 87-52=35 Exploring Operation: 87-60=27, Resulting Numbers: [52, 54, 27] Generated Node #0,1: 57:[52, 54, 27] Operation: 87-60=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[52, 54, 27], Operations: ['87-60=27'] Exploring Operation: 54-52=2, Resulting Numbers: [27, 2] Generated Node #0,1,0: 57:[27, 2] Operation: 54-52=2 Exploring Operation: 54/27=2, Resulting Numbers: [52, 2] Generated Node #0,1,1: 57:[52, 2] Operation: 54/27=2 Moving to Node #0,1,1 Current State: 57:[52, 2], Operations: ['87-60=27', '54/27=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[27, 2], Operations: ['87-60=27', '54-52=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[54, 60, 35], Operations: ['87-52=35'] Exploring Operation: 60-35=25, Resulting Numbers: [54, 25] Generated Node #0,0,0: 57:[54, 25] Operation: 60-35=25 Exploring Operation: 54-35=19, Resulting Numbers: [60, 19] Generated Node #0,0,1: 57:[60, 19] Operation: 54-35=19 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[60, 19], Operations: ['87-52=35', '54-35=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[54, 25], Operations: ['87-52=35', '60-35=25'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 64, 71, 66, 50 ]
74
[ "71*66=4686", "50+4686=4736", "4736/64=74" ]
Current State: 74:[64, 71, 66, 50], Operations: [] Exploring Operation: 71*66=4686, Resulting Numbers: [64, 50, 4686] Generated Node #2: [64, 50, 4686] from Operation: 71*66=4686 Current State: 74:[64, 50, 4686], Operations: ['71*66=4686'] Exploring Operation: 50+4686=4736, Resulting Numbers: [64, 4736] Generated Node #3: [64, 4736] from Operation: 50+4686=4736 Current State: 74:[64, 4736], Operations: ['71*66=4686', '50+4686=4736'] Exploring Operation: 4736/64=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[64, 71, 66, 50], Operations: [] Exploring Operation: 71-66=5, Resulting Numbers: [64, 50, 5] Generated Node #0,0: 74:[64, 50, 5] Operation: 71-66=5 Exploring Operation: 64-50=14, Resulting Numbers: [71, 66, 14] Generated Node #0,1: 74:[71, 66, 14] Operation: 64-50=14 Exploring Operation: 66-50=16, Resulting Numbers: [64, 71, 16] Generated Node #0,2: 74:[64, 71, 16] Operation: 66-50=16 Exploring Operation: 66-64=2, Resulting Numbers: [71, 50, 2] Generated Node #0,3: 74:[71, 50, 2] Operation: 66-64=2 Exploring Operation: 71-64=7, Resulting Numbers: [66, 50, 7] Generated Node #0,4: 74:[66, 50, 7] Operation: 71-64=7 Moving to Node #0,3 Current State: 74:[71, 50, 2], Operations: ['66-64=2'] Exploring Operation: 50/2=25, Resulting Numbers: [71, 25] Generated Node #0,3,0: 74:[71, 25] Operation: 50/2=25 Exploring Operation: 71-2=69, Resulting Numbers: [50, 69] Generated Node #0,3,1: 74:[50, 69] Operation: 71-2=69 Exploring Operation: 50-2=48, Resulting Numbers: [71, 48] Generated Node #0,3,2: 74:[71, 48] Operation: 50-2=48 Exploring Operation: 71-50=21, Resulting Numbers: [2, 21] Generated Node #0,3,3: 74:[2, 21] Operation: 71-50=21 Exploring Operation: 71+2=73, Resulting Numbers: [50, 73] Generated Node #0,3,4: 74:[50, 73] Operation: 71+2=73 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[71, 48], Operations: ['66-64=2', '50-2=48'] Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 71*48=3408, Resulting Numbers: [3408] 3408,74 unequal: No Solution Exploring Operation: 71+48=119, Resulting Numbers: [119] 119,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 74:[50, 73], Operations: ['66-64=2', '71+2=73'] Exploring Operation: 50*73=3650, Resulting Numbers: [3650] 3650,74 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 50+73=123, Resulting Numbers: [123] 123,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[71, 25], Operations: ['66-64=2', '50/2=25'] Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[2, 21], Operations: ['66-64=2', '71-50=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[50, 69], Operations: ['66-64=2', '71-2=69'] Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 50+69=119, Resulting Numbers: [119] 119,74 unequal: No Solution Exploring Operation: 50*69=3450, Resulting Numbers: [3450] 3450,74 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: 74:[71, 66, 14], Operations: ['64-50=14'] Exploring Operation: 71-66=5, Resulting Numbers: [14, 5] Generated Node #0,1,0: 74:[14, 5] Operation: 71-66=5 Exploring Operation: 71-14=57, Resulting Numbers: [66, 57] Generated Node #0,1,1: 74:[66, 57] Operation: 71-14=57 Exploring Operation: 66-14=52, Resulting Numbers: [71, 52] Generated Node #0,1,2: 74:[71, 52] Operation: 66-14=52 Exploring Operation: 71+14=85, Resulting Numbers: [66, 85] Generated Node #0,1,3: 74:[66, 85] Operation: 71+14=85 Exploring Operation: 66+14=80, Resulting Numbers: [71, 80] Generated Node #0,1,4: 74:[71, 80] Operation: 66+14=80 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 74:[71, 80], Operations: ['64-50=14', '66+14=80'] Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 71*80=5680, Resulting Numbers: [5680] 5680,74 unequal: No Solution Exploring Operation: 71+80=151, Resulting Numbers: [151] 151,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[14, 5], Operations: ['64-50=14', '71-66=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[71, 52], Operations: ['64-50=14', '66-14=52'] Exploring Operation: 71+52=123, Resulting Numbers: [123] 123,74 unequal: No Solution Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 71*52=3692, Resulting Numbers: [3692] 3692,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[66, 85], Operations: ['64-50=14', '71+14=85'] Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 66+85=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 66*85=5610, Resulting Numbers: [5610] 5610,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[66, 57], Operations: ['64-50=14', '71-14=57'] Exploring Operation: 66*57=3762, Resulting Numbers: [3762] 3762,74 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 66+57=123, Resulting Numbers: [123] 123,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[64, 50, 5], Operations: ['71-66=5'] Exploring Operation: 50-5=45, Resulting Numbers: [64, 45] Generated Node #0,0,0: 74:[64, 45] Operation: 50-5=45 Exploring Operation: 64+5=69, Resulting Numbers: [50, 69] Generated Node #0,0,1: 74:[50, 69] Operation: 64+5=69 Exploring Operation: 64-50=14, Resulting Numbers: [5, 14] Generated Node #0,0,2: 74:[5, 14] Operation: 64-50=14 Exploring Operation: 64-5=59, Resulting Numbers: [50, 59] Generated Node #0,0,3: 74:[50, 59] Operation: 64-5=59 Exploring Operation: 50/5=10, Resulting Numbers: [64, 10] Generated Node #0,0,4: 74:[64, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[5, 14], Operations: ['71-66=5', '64-50=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[64, 45], Operations: ['71-66=5', '50-5=45'] Exploring Operation: 64*45=2880, Resulting Numbers: [2880] 2880,74 unequal: No Solution Exploring Operation: 64+45=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[50, 69], Operations: ['71-66=5', '64+5=69'] Exploring Operation: 50+69=119, Resulting Numbers: [119] 119,74 unequal: No Solution Exploring Operation: 50*69=3450, Resulting Numbers: [3450] 3450,74 unequal: No Solution Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[64, 10], Operations: ['71-66=5', '50/5=10'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,74 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,74 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[64, 71, 66, 50], Operations: [] Exploring Operation: 71-66=5, Resulting Numbers: [64, 50, 5] Generated Node #0,0: 74:[64, 50, 5] Operation: 71-66=5 Moving to Node #0,0 Current State: 74:[64, 50, 5], Operations: ['71-66=5'] Exploring Operation: 50/5=10, Resulting Numbers: [64, 10] Generated Node #0,0,4: 74:[64, 10] Operation: 50/5=10 Moving to Node #0,0,4 Current State: 74:[64, 10], Operations: ['71-66=5', '50/5=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_5
mult_heuristic
[ 85, 17, 81, 35 ]
14
[ "85+17=102", "81+35=116", "116-102=14" ]
Current State: 14:[85, 17, 81, 35], Operations: [] Exploring Operation: 85+17=102, Resulting Numbers: [81, 35, 102] Generated Node #2: [81, 35, 102] from Operation: 85+17=102 Current State: 14:[81, 35, 102], Operations: ['85+17=102'] Exploring Operation: 81+35=116, Resulting Numbers: [102, 116] Generated Node #3: [102, 116] from Operation: 81+35=116 Current State: 14:[102, 116], Operations: ['85+17=102', '81+35=116'] Exploring Operation: 116-102=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[85, 17, 81, 35], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [17, 35, 4] Generated Node #0,0: 14:[17, 35, 4] Operation: 85-81=4 Exploring Operation: 85/17=5, Resulting Numbers: [81, 35, 5] Generated Node #0,1: 14:[81, 35, 5] Operation: 85/17=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[17, 35, 4], Operations: ['85-81=4'] Exploring Operation: 35-4=31, Resulting Numbers: [17, 31] Generated Node #0,0,0: 14:[17, 31] Operation: 35-4=31 Exploring Operation: 35-17=18, Resulting Numbers: [4, 18] Generated Node #0,0,1: 14:[4, 18] Operation: 35-17=18 Moving to Node #0,0,1 Current State: 14:[4, 18], Operations: ['85-81=4', '35-17=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[85, 17, 81, 35], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [17, 35, 4] Generated Node #0,0: 14:[17, 35, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 14:[17, 35, 4], Operations: ['85-81=4'] Exploring Operation: 35-17=18, Resulting Numbers: [4, 18] Generated Node #0,0,1: 14:[4, 18] Operation: 35-17=18 Moving to Node #0,0,1 Current State: 14:[4, 18], Operations: ['85-81=4', '35-17=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 58, 3, 88, 84 ]
74
[ "88-58=30", "30/3=10", "84-10=74" ]
Current State: 74:[58, 3, 88, 84], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [3, 84, 30] Generated Node #2: [3, 84, 30] from Operation: 88-58=30 Current State: 74:[3, 84, 30], Operations: ['88-58=30'] Exploring Operation: 30/3=10, Resulting Numbers: [84, 10] Generated Node #3: [84, 10] from Operation: 30/3=10 Current State: 74:[84, 10], Operations: ['88-58=30', '30/3=10'] Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[58, 3, 88, 84], Operations: [] Exploring Operation: 84-58=26, Resulting Numbers: [3, 88, 26] Generated Node #0,0: 74:[3, 88, 26] Operation: 84-58=26 Exploring Operation: 88-58=30, Resulting Numbers: [3, 84, 30] Generated Node #0,1: 74:[3, 84, 30] Operation: 88-58=30 Exploring Operation: 88-84=4, Resulting Numbers: [58, 3, 4] Generated Node #0,2: 74:[58, 3, 4] Operation: 88-84=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[3, 84, 30], Operations: ['88-58=30'] Exploring Operation: 3+30=33, Resulting Numbers: [84, 33] Generated Node #0,1,0: 74:[84, 33] Operation: 3+30=33 Exploring Operation: 84-3=81, Resulting Numbers: [30, 81] Generated Node #0,1,1: 74:[30, 81] Operation: 84-3=81 Exploring Operation: 84/3=28, Resulting Numbers: [30, 28] Generated Node #0,1,2: 74:[30, 28] Operation: 84/3=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[84, 33], Operations: ['88-58=30', '3+30=33'] Exploring Operation: 84+33=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 84*33=2772, Resulting Numbers: [2772] 2772,74 unequal: No Solution No 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: 74:[30, 81], Operations: ['88-58=30', '84-3=81'] Exploring Operation: 30*81=2430, Resulting Numbers: [2430] 2430,74 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 30+81=111, Resulting Numbers: [111] 111,74 unequal: No Solution No 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: 74:[30, 28], Operations: ['88-58=30', '84/3=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,74 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,74 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: 74:[58, 3, 4], Operations: ['88-84=4'] Exploring Operation: 4-3=1, Resulting Numbers: [58, 1] Generated Node #0,2,0: 74:[58, 1] Operation: 4-3=1 Exploring Operation: 58+3=61, Resulting Numbers: [4, 61] Generated Node #0,2,1: 74:[4, 61] Operation: 58+3=61 Exploring Operation: 58+4=62, Resulting Numbers: [3, 62] Generated Node #0,2,2: 74:[3, 62] Operation: 58+4=62 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[3, 62], Operations: ['88-84=4', '58+4=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,74 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,74 unequal: No Solution No 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: 74:[4, 61], Operations: ['88-84=4', '58+3=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,74 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,74 unequal: No Solution No 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: 74:[58, 1], Operations: ['88-84=4', '4-3=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,74 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: 74:[3, 88, 26], Operations: ['84-58=26'] Exploring Operation: 3*26=78, Resulting Numbers: [88, 78] Generated Node #0,0,0: 74:[88, 78] Operation: 3*26=78 Exploring Operation: 88-26=62, Resulting Numbers: [3, 62] Generated Node #0,0,1: 74:[3, 62] Operation: 88-26=62 Exploring Operation: 88-3=85, Resulting Numbers: [26, 85] Generated Node #0,0,2: 74:[26, 85] Operation: 88-3=85 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[3, 62], Operations: ['84-58=26', '88-26=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,74 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,74 unequal: No Solution No 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: 74:[88, 78], Operations: ['84-58=26', '3*26=78'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,74 unequal: No Solution Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,74 unequal: No Solution No 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: 74:[26, 85], Operations: ['84-58=26', '88-3=85'] Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,74 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 33, 18, 54, 26 ]
78
[ "33+18=51", "54-51=3", "26*3=78" ]
Current State: 78:[33, 18, 54, 26], Operations: [] Exploring Operation: 33+18=51, Resulting Numbers: [54, 26, 51] Generated Node #2: [54, 26, 51] from Operation: 33+18=51 Current State: 78:[54, 26, 51], Operations: ['33+18=51'] Exploring Operation: 54-51=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 54-51=3 Current State: 78:[26, 3], Operations: ['33+18=51', '54-51=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[33, 18, 54, 26], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [33, 26, 36] Generated Node #0,0: 78:[33, 26, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [33, 26, 3] Generated Node #0,1: 78:[33, 26, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[33, 26, 3], Operations: ['54/18=3'] Exploring Operation: 33/3=11, Resulting Numbers: [26, 11] Generated Node #0,1,0: 78:[26, 11] Operation: 33/3=11 Exploring Operation: 33-26=7, Resulting Numbers: [3, 7] Generated Node #0,1,1: 78:[3, 7] Operation: 33-26=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[3, 7], Operations: ['54/18=3', '33-26=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[26, 11], Operations: ['54/18=3', '33/3=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[33, 26, 36], Operations: ['54-18=36'] Exploring Operation: 33-26=7, Resulting Numbers: [36, 7] Generated Node #0,0,0: 78:[36, 7] Operation: 33-26=7 Exploring Operation: 36-33=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 78:[26, 3] Operation: 36-33=3 Moving to Node #0,0,1 Current State: 78:[26, 3], Operations: ['54-18=36', '36-33=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[33, 18, 54, 26], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [33, 26, 36] Generated Node #0,0: 78:[33, 26, 36] Operation: 54-18=36 Moving to Node #0,0 Current State: 78:[33, 26, 36], Operations: ['54-18=36'] Exploring Operation: 36-33=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 78:[26, 3] Operation: 36-33=3 Moving to Node #0,0,1 Current State: 78:[26, 3], Operations: ['54-18=36', '36-33=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 20, 60, 40, 23 ]
39
[ "40/20=2", "60-23=37", "2+37=39" ]
Current State: 39:[20, 60, 40, 23], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [60, 23, 2] Generated Node #2: [60, 23, 2] from Operation: 40/20=2 Current State: 39:[60, 23, 2], Operations: ['40/20=2'] Exploring Operation: 60-23=37, Resulting Numbers: [2, 37] Generated Node #3: [2, 37] from Operation: 60-23=37 Current State: 39:[2, 37], Operations: ['40/20=2', '60-23=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[20, 60, 40, 23], Operations: [] Exploring Operation: 60-23=37, Resulting Numbers: [20, 40, 37] Generated Node #0,0: 39:[20, 40, 37] Operation: 60-23=37 Exploring Operation: 60/20=3, Resulting Numbers: [40, 23, 3] Generated Node #0,1: 39:[40, 23, 3] Operation: 60/20=3 Moving to Node #0,0 Current State: 39:[20, 40, 37], Operations: ['60-23=37'] Exploring Operation: 40/20=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 39:[37, 2] Operation: 40/20=2 Exploring Operation: 37-20=17, Resulting Numbers: [40, 17] Generated Node #0,0,1: 39:[40, 17] Operation: 37-20=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[37, 2], Operations: ['60-23=37', '40/20=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[20, 60, 40, 23], Operations: [] Exploring Operation: 60-23=37, Resulting Numbers: [20, 40, 37] Generated Node #0,0: 39:[20, 40, 37] Operation: 60-23=37 Moving to Node #0,0 Current State: 39:[20, 40, 37], Operations: ['60-23=37'] Exploring Operation: 40/20=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 39:[37, 2] Operation: 40/20=2 Moving to Node #0,0,0 Current State: 39:[37, 2], Operations: ['60-23=37', '40/20=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 54, 64, 84, 46 ]
67
[ "54+84=138", "138/46=3", "64+3=67" ]
Current State: 67:[54, 64, 84, 46], Operations: [] Exploring Operation: 54+84=138, Resulting Numbers: [64, 46, 138] Generated Node #2: [64, 46, 138] from Operation: 54+84=138 Current State: 67:[64, 46, 138], Operations: ['54+84=138'] Exploring Operation: 138/46=3, Resulting Numbers: [64, 3] Generated Node #3: [64, 3] from Operation: 138/46=3 Current State: 67:[64, 3], Operations: ['54+84=138', '138/46=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[54, 64, 84, 46], Operations: [] Exploring Operation: 54+46=100, Resulting Numbers: [64, 84, 100] Generated Node #0,0: 67:[64, 84, 100] Operation: 54+46=100 Exploring Operation: 54-46=8, Resulting Numbers: [64, 84, 8] Generated Node #0,1: 67:[64, 84, 8] Operation: 54-46=8 Exploring Operation: 64+46=110, Resulting Numbers: [54, 84, 110] Generated Node #0,2: 67:[54, 84, 110] Operation: 64+46=110 Exploring Operation: 84-54=30, Resulting Numbers: [64, 46, 30] Generated Node #0,3: 67:[64, 46, 30] Operation: 84-54=30 Exploring Operation: 84-46=38, Resulting Numbers: [54, 64, 38] Generated Node #0,4: 67:[54, 64, 38] Operation: 84-46=38 Moving to Node #0,4 Current State: 67:[54, 64, 38], Operations: ['84-46=38'] Exploring Operation: 54+38=92, Resulting Numbers: [64, 92] Generated Node #0,4,0: 67:[64, 92] Operation: 54+38=92 Exploring Operation: 54-38=16, Resulting Numbers: [64, 16] Generated Node #0,4,1: 67:[64, 16] Operation: 54-38=16 Exploring Operation: 64+38=102, Resulting Numbers: [54, 102] Generated Node #0,4,2: 67:[54, 102] Operation: 64+38=102 Exploring Operation: 64-38=26, Resulting Numbers: [54, 26] Generated Node #0,4,3: 67:[54, 26] Operation: 64-38=26 Exploring Operation: 54+64=118, Resulting Numbers: [38, 118] Generated Node #0,4,4: 67:[38, 118] Operation: 54+64=118 Moving to Node #0,0 Current State: 67:[64, 84, 100], Operations: ['54+46=100'] Exploring Operation: 64+100=164, Resulting Numbers: [84, 164] Generated Node #0,0,0: 67:[84, 164] Operation: 64+100=164 Exploring Operation: 100-64=36, Resulting Numbers: [84, 36] Generated Node #0,0,1: 67:[84, 36] Operation: 100-64=36 Exploring Operation: 84-64=20, Resulting Numbers: [100, 20] Generated Node #0,0,2: 67:[100, 20] Operation: 84-64=20 Exploring Operation: 64+84=148, Resulting Numbers: [100, 148] Generated Node #0,0,3: 67:[100, 148] Operation: 64+84=148 Exploring Operation: 100-84=16, Resulting Numbers: [64, 16] Generated Node #0,0,4: 67:[64, 16] Operation: 100-84=16 Moving to Node #0,3 Current State: 67:[64, 46, 30], Operations: ['84-54=30'] Exploring Operation: 46+30=76, Resulting Numbers: [64, 76] Generated Node #0,3,0: 67:[64, 76] Operation: 46+30=76 Exploring Operation: 64+30=94, Resulting Numbers: [46, 94] Generated Node #0,3,1: 67:[46, 94] Operation: 64+30=94 Exploring Operation: 46-30=16, Resulting Numbers: [64, 16] Generated Node #0,3,2: 67:[64, 16] Operation: 46-30=16 Exploring Operation: 64+46=110, Resulting Numbers: [30, 110] Generated Node #0,3,3: 67:[30, 110] Operation: 64+46=110 Exploring Operation: 64-30=34, Resulting Numbers: [46, 34] Generated Node #0,3,4: 67:[46, 34] Operation: 64-30=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[64, 76], Operations: ['84-54=30', '46+30=76'] Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,67 unequal: No Solution Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[46, 94], Operations: ['84-54=30', '64+30=94'] Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 46+94=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 46*94=4324, Resulting Numbers: [4324] 4324,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[64, 16], Operations: ['84-54=30', '46-30=16'] Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,67 unequal: No Solution Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 67:[46, 34], Operations: ['84-54=30', '64-30=34'] Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,67 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[30, 110], Operations: ['84-54=30', '64+46=110'] Exploring Operation: 110-30=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 30+110=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 30*110=3300, Resulting Numbers: [3300] 3300,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:[54, 84, 110], Operations: ['64+46=110'] Exploring Operation: 54+110=164, Resulting Numbers: [84, 164] Generated Node #0,2,0: 67:[84, 164] Operation: 54+110=164 Exploring Operation: 110-84=26, Resulting Numbers: [54, 26] Generated Node #0,2,1: 67:[54, 26] Operation: 110-84=26 Exploring Operation: 84-54=30, Resulting Numbers: [110, 30] Generated Node #0,2,2: 67:[110, 30] Operation: 84-54=30 Exploring Operation: 110-54=56, Resulting Numbers: [84, 56] Generated Node #0,2,3: 67:[84, 56] Operation: 110-54=56 Exploring Operation: 54+84=138, Resulting Numbers: [110, 138] Generated Node #0,2,4: 67:[110, 138] Operation: 54+84=138 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[84, 56], Operations: ['64+46=110', '110-54=56'] Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 84*56=4704, Resulting Numbers: [4704] 4704,67 unequal: No Solution Exploring Operation: 84+56=140, Resulting Numbers: [140] 140,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[54, 26], Operations: ['64+46=110', '110-84=26'] Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,67 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[110, 30], Operations: ['64+46=110', '84-54=30'] Exploring Operation: 110*30=3300, Resulting Numbers: [3300] 3300,67 unequal: No Solution Exploring Operation: 110-30=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 110+30=140, Resulting Numbers: [140] 140,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[84, 164], Operations: ['64+46=110', '54+110=164'] Exploring Operation: 164-84=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 84*164=13776, Resulting Numbers: [13776] 13776,67 unequal: No Solution Exploring Operation: 84+164=248, Resulting Numbers: [248] 248,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 67:[110, 138], Operations: ['64+46=110', '54+84=138'] Exploring Operation: 110+138=248, Resulting Numbers: [248] 248,67 unequal: No Solution Exploring Operation: 110*138=15180, Resulting Numbers: [15180] 15180,67 unequal: No Solution Exploring Operation: 138-110=28, Resulting Numbers: [28] 28,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 67:[64, 84, 8], Operations: ['54-46=8'] Exploring Operation: 84-8=76, Resulting Numbers: [64, 76] Generated Node #0,1,0: 67:[64, 76] Operation: 84-8=76 Exploring Operation: 84+8=92, Resulting Numbers: [64, 92] Generated Node #0,1,1: 67:[64, 92] Operation: 84+8=92 Exploring Operation: 64+8=72, Resulting Numbers: [84, 72] Generated Node #0,1,2: 67:[84, 72] Operation: 64+8=72 Exploring Operation: 64-8=56, Resulting Numbers: [84, 56] Generated Node #0,1,3: 67:[84, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [84, 8] Generated Node #0,1,4: 67:[84, 8] Operation: 64/8=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[64, 76], Operations: ['54-46=8', '84-8=76'] Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,67 unequal: No Solution Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[84, 72], Operations: ['54-46=8', '64+8=72'] Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 84+72=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 84*72=6048, Resulting Numbers: [6048] 6048,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:[64, 92], Operations: ['54-46=8', '84+8=92'] Exploring Operation: 64*92=5888, Resulting Numbers: [5888] 5888,67 unequal: No Solution Exploring Operation: 64+92=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,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,3 Current State: 67:[84, 56], Operations: ['54-46=8', '64-8=56'] Exploring Operation: 84+56=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 84*56=4704, Resulting Numbers: [4704] 4704,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 67:[84, 8], Operations: ['54-46=8', '64/8=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,67 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 67:[64, 92], Operations: ['84-46=38', '54+38=92'] Exploring Operation: 64+92=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 64*92=5888, Resulting Numbers: [5888] 5888,67 unequal: No Solution Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[84, 36], Operations: ['54+46=100', '100-64=36'] Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,67 unequal: No Solution Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,67 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[54, 102], Operations: ['84-46=38', '64+38=102'] Exploring Operation: 54+102=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 54*102=5508, Resulting Numbers: [5508] 5508,67 unequal: No Solution Exploring Operation: 102-54=48, Resulting Numbers: [48] 48,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[64, 16], Operations: ['54+46=100', '100-84=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,67 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[64, 16], Operations: ['84-46=38', '54-38=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[54, 26], Operations: ['84-46=38', '64-38=26'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[38, 118], Operations: ['84-46=38', '54+64=118'] Exploring Operation: 38+118=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 38*118=4484, Resulting Numbers: [4484] 4484,67 unequal: No Solution Exploring Operation: 118-38=80, Resulting Numbers: [80] 80,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[100, 20], Operations: ['54+46=100', '84-64=20'] Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 100*20=2000, Resulting Numbers: [2000] 2000,67 unequal: No Solution Exploring Operation: 100+20=120, Resulting Numbers: [120] 120,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[100, 148], Operations: ['54+46=100', '64+84=148'] Exploring Operation: 148-100=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 100+148=248, Resulting Numbers: [248] 248,67 unequal: No Solution Exploring Operation: 100*148=14800, Resulting Numbers: [14800] 14800,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[84, 164], Operations: ['54+46=100', '64+100=164'] Exploring Operation: 164-84=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 84*164=13776, Resulting Numbers: [13776] 13776,67 unequal: No Solution Exploring Operation: 84+164=248, Resulting Numbers: [248] 248,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic